@arcgis/charts-components 5.0.0-next.124 → 5.0.0-next.125
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/assets/styles/resources.d.ts +3 -0
- package/dist/cdn/{CZ4QFJN6.js → 2B6UWPMD.js} +2 -2
- package/dist/cdn/{JKVFIMBB.js → 2I4NMCJM.js} +1 -1
- package/dist/cdn/{KWCCDTNA.js → 2KELOPK4.js} +2 -2
- package/dist/cdn/{ESRJRU26.js → 2LQXVN7G.js} +2 -2
- package/dist/cdn/{C4OWDLDM.js → 2LTVPFPF.js} +2 -2
- package/dist/cdn/{IMQFKMPS.js → 2MRGDCFV.js} +2 -2
- package/dist/cdn/{S3UD7LY2.js → 2PDIETAN.js} +2 -2
- package/dist/cdn/{OYHNC2SA.js → 2PWSALNC.js} +2 -2
- package/dist/cdn/{FT3ZXFJE.js → 2SGXMCVL.js} +2 -2
- package/dist/cdn/{4JNZBZMT.js → 2UHNLVK7.js} +2 -2
- package/dist/cdn/{MC3M3JDB.js → 2UUPFZ24.js} +2 -2
- package/dist/cdn/{RXXCTZJV.js → 3CAUGXCH.js} +2 -2
- package/dist/cdn/{7RH3XZWT.js → 3IEF7654.js} +2 -2
- package/dist/cdn/{IN6PWUNI.js → 3XYPJWRV.js} +2 -2
- package/dist/cdn/{GNNDUEVI.js → 3ZZTXABT.js} +2 -2
- package/dist/cdn/43WPT2SK.js +4 -0
- package/dist/cdn/44BSRIB6.js +245 -0
- package/dist/cdn/{CX4D6GWY.js → 4BAOAVTV.js} +2 -2
- package/dist/cdn/{T4N4JEIW.js → 4CVVITN3.js} +2 -2
- package/dist/cdn/{QNMYBOGS.js → 4FCU4T4F.js} +2 -2
- package/dist/cdn/{RMU2CIGT.js → 4KI5OFSF.js} +2 -2
- package/dist/cdn/{MI7MLBEV.js → 4USEFVIV.js} +2 -2
- package/dist/cdn/{ML67VUPG.js → 5BZJKKFO.js} +2 -2
- package/dist/cdn/5CF5O7W2.js +4 -0
- package/dist/cdn/{3KHBL2HS.js → 5PTRTPXN.js} +2 -2
- package/dist/cdn/{N4SMAGEG.js → 5SBKXNIJ.js} +2 -2
- package/dist/cdn/{DJYAEAGR.js → 5XTLD4ND.js} +2 -2
- package/dist/cdn/6AUDZSD5.js +4 -0
- package/dist/cdn/{EQEQE67W.js → 6IMUN5WE.js} +1 -1
- package/dist/cdn/{ZV37BEXJ.js → 6TD55U5W.js} +2 -2
- package/dist/cdn/{5VUKOFOE.js → 6UFHESWW.js} +2 -2
- package/dist/cdn/773SLUAU.js +4 -0
- package/dist/cdn/{LTFM5NKH.js → 7I6QAKJK.js} +2 -2
- package/dist/cdn/7YRMN6FC.js +4 -0
- package/dist/cdn/{HHH22MZL.js → A2QWLSU5.js} +2 -2
- package/dist/cdn/{PD4Q6GZE.js → A5MQFJCG.js} +2 -2
- package/dist/cdn/{5X46EGJ4.js → ACRFCMZF.js} +2 -2
- package/dist/cdn/{DMHAI37D.js → AES3M3OQ.js} +2 -2
- package/dist/cdn/{UEM3MUED.js → AX4ONOMV.js} +2 -2
- package/dist/cdn/{4WWFFD7Q.js → AYZ4LRKS.js} +2 -2
- package/dist/cdn/{RWZIWFW2.js → B6QRZCAE.js} +2 -2
- package/dist/cdn/{XUAJX5PS.js → B7UMPK76.js} +2 -2
- package/dist/cdn/{EGZMAYNW.js → BG2DUOSS.js} +2 -2
- package/dist/cdn/{7SRXBXPZ.js → BL4EYCMZ.js} +1 -1
- package/dist/cdn/{QNFRQUY2.js → BNN7PTTZ.js} +2 -2
- package/dist/cdn/{G3HDHYLX.js → BOLNHMOP.js} +2 -2
- package/dist/cdn/{BYMWEK3G.js → BYSX2EIQ.js} +2 -2
- package/dist/cdn/{WJ4LHER2.js → C5XXT4VZ.js} +2 -2
- package/dist/cdn/CC257L24.js +4 -0
- package/dist/cdn/{I7GCNDDT.js → CLLDLCEJ.js} +2 -2
- package/dist/cdn/{IGM4UGTH.js → CMKZ6XOF.js} +2 -2
- package/dist/cdn/COHERSWA.js +4 -0
- package/dist/cdn/{TTGW7K5G.js → CWXJVSVT.js} +2 -2
- package/dist/cdn/{FE33CRUK.js → D4SJBKZ4.js} +2 -2
- package/dist/cdn/{ZZJJZZFN.js → DED55HMQ.js} +2 -2
- package/dist/cdn/{BGQBSD5V.js → DEF4TQWY.js} +2 -2
- package/dist/cdn/DHBJS5NJ.js +4 -0
- package/dist/cdn/{ZPTBU5IU.js → DIUM3TFV.js} +2 -2
- package/dist/cdn/{6RWCW3UO.js → DLE4EZOK.js} +2 -2
- package/dist/cdn/DSZTAPXJ.js +4 -0
- package/dist/cdn/DT66DLSE.js +4 -0
- package/dist/cdn/{2MS2UCMT.js → DU5SVVLI.js} +2 -2
- package/dist/cdn/{4HCLTLQ4.js → DVJM3AT3.js} +2 -2
- package/dist/cdn/{43UQ4RML.js → E33IDGU5.js} +2 -2
- package/dist/cdn/{GZRGFME2.js → EBSQVUXC.js} +2 -2
- package/dist/cdn/{NJS62ZQP.js → EN7Y6CV5.js} +2 -2
- package/dist/cdn/{DCCED6GZ.js → EOUUUTTB.js} +2 -2
- package/dist/cdn/ESS4UIZK.js +4 -0
- package/dist/cdn/{OL36EBBK.js → FDN6SE3C.js} +2 -2
- package/dist/cdn/{3GNZ6W5K.js → G737PJCD.js} +2 -2
- package/dist/cdn/{SC76G3QP.js → GATMFQG6.js} +2 -2
- package/dist/cdn/{YUS4PQGH.js → GC3WTLQM.js} +2 -2
- package/dist/cdn/GKJBQ2ZU.js +4 -0
- package/dist/cdn/GQGJGBFJ.js +4 -0
- package/dist/cdn/H3MNH24G.js +4 -0
- package/dist/cdn/{BM2LI7QH.js → H4PSKESH.js} +2 -2
- package/dist/cdn/{N7MCHAWE.js → H6647Z7Y.js} +2 -2
- package/dist/cdn/{VWQJJEWQ.js → H6MU6GK5.js} +2 -2
- package/dist/cdn/H6ORA3L7.js +4 -0
- package/dist/cdn/{OMIIGK3F.js → H7F7PI2K.js} +2 -2
- package/dist/cdn/{KPS2S4MH.js → HBFJSLS4.js} +2 -2
- package/dist/cdn/HL56VPJ3.js +6 -0
- package/dist/cdn/{QOZYNDKK.js → HN3LSRQP.js} +2 -2
- package/dist/cdn/{2YH4S6R2.js → HOD3KVCU.js} +2 -2
- package/dist/cdn/{EZ2LYGYL.js → HUBIN2SA.js} +2 -2
- package/dist/cdn/{44SCILTL.js → HUEQQAZM.js} +2 -2
- package/dist/cdn/{V4C25BVV.js → HX7GF55U.js} +2 -2
- package/dist/cdn/I7KJMJCU.js +34 -0
- package/dist/cdn/{ZFDJUSVB.js → IJOOPQ5X.js} +2 -2
- package/dist/cdn/{TMNXZ2P2.js → ILN2V7GR.js} +2 -2
- package/dist/cdn/{55FUE6UE.js → IPFD7PH3.js} +2 -2
- package/dist/cdn/{6XX34RTG.js → IPXUQQCD.js} +2 -2
- package/dist/cdn/IUPUQORP.js +4 -0
- package/dist/cdn/{2D5EDHYN.js → IXEY7HKA.js} +2 -2
- package/dist/cdn/{D34QFF3X.js → JPKJS3FN.js} +2 -2
- package/dist/cdn/{C7OKJYN7.js → JPWTV7B4.js} +2 -2
- package/dist/cdn/{RUEIU24U.js → JX7PJJNB.js} +2 -2
- package/dist/cdn/{R2YNWG73.js → JZKKWQRU.js} +2 -2
- package/dist/cdn/{WKJSDXQI.js → KBC76MEC.js} +2 -2
- package/dist/cdn/{N4ZQJQAW.js → KJUZDK2D.js} +2 -2
- package/dist/cdn/KK5UHTO7.js +4 -0
- package/dist/cdn/{76LO3EHS.js → L7ACHSLT.js} +2 -2
- package/dist/cdn/{KW7WUR52.js → LFKCISGF.js} +2 -2
- package/dist/cdn/{USGO4QRN.js → LJZFZDEC.js} +2 -2
- package/dist/cdn/LLOLEX7C.js +4 -0
- package/dist/cdn/{ISNET2BC.js → LNTJQ4PT.js} +2 -2
- package/dist/cdn/{SUJSBDM5.js → M27PLE77.js} +2 -2
- package/dist/cdn/{ATHPEPG3.js → M3UO5ZNP.js} +2 -2
- package/dist/cdn/{5IZCBNLA.js → M6KNLPXZ.js} +2 -2
- package/dist/cdn/MATDRUV6.js +4 -0
- package/dist/cdn/{JGPXA4KQ.js → MCIXYYI5.js} +34 -32
- package/dist/cdn/{GRRFZGXJ.js → MFJZJ723.js} +2 -2
- package/dist/cdn/{AOX55UWJ.js → MN7TE7J3.js} +2 -2
- package/dist/cdn/MQSG7WEI.js +4 -0
- package/dist/cdn/{6QNIVBNW.js → NBJVHS5U.js} +2 -2
- package/dist/cdn/{UX5AAEZQ.js → O3BXP2DT.js} +2 -2
- package/dist/cdn/{S5ELHZKG.js → O54U6YLP.js} +2 -2
- package/dist/cdn/{SJVORS7J.js → OA2K4UWK.js} +2 -2
- package/dist/cdn/{KS4HIDA2.js → OASHUINP.js} +2 -2
- package/dist/cdn/{CNO7MVUY.js → OOSHBMX5.js} +2 -2
- package/dist/cdn/{RUZY3A2W.js → OWDVPSSR.js} +1 -1
- package/dist/cdn/{3PPWCDCJ.js → P3TK25F2.js} +2 -2
- package/dist/cdn/{YGWW67SB.js → P46WL4Y5.js} +2 -2
- package/dist/cdn/{V64AI4RB.js → P5QKGMQO.js} +2 -2
- package/dist/cdn/{QDNHFVAT.js → PAYFC7OD.js} +2 -2
- package/dist/cdn/{VSOUQS2X.js → PTHW47NY.js} +2 -2
- package/dist/cdn/{ZOQ5F4KQ.js → PTOOXS5S.js} +2 -2
- package/dist/cdn/{YVMTYOW2.js → PTWQ6CF5.js} +2 -2
- package/dist/cdn/{ZTT6BCX2.js → PUMKNG45.js} +2 -2
- package/dist/cdn/{BZPIEEDJ.js → PWRENCSV.js} +2 -2
- package/dist/cdn/{NXLS44FO.js → Q2QPG7WZ.js} +2 -2
- package/dist/cdn/{STA72KQH.js → QEZIUUCD.js} +2 -2
- package/dist/cdn/{B7CIWHRP.js → QNDRCTVT.js} +2 -2
- package/dist/cdn/{RSPHI4BO.js → QP2QZCNB.js} +2 -2
- package/dist/cdn/{KHD7ZZ3C.js → QPAXNSXB.js} +2 -2
- package/dist/cdn/{GR3U6ZIK.js → QVHNPDOR.js} +2 -2
- package/dist/cdn/{K5CBCSDB.js → RXPLJ2VL.js} +2 -2
- package/dist/cdn/{FMALP4BH.js → S5OVTDF5.js} +2 -2
- package/dist/cdn/{HVR7IPTU.js → S6ZYUC5L.js} +2 -2
- package/dist/cdn/{FZ4SJYZ6.js → SG3MKIUY.js} +2 -2
- package/dist/cdn/SH5GRFNI.js +4 -0
- package/dist/cdn/{M5R5MFMW.js → SHZYUWJ7.js} +2 -2
- package/dist/cdn/SIPDJXUH.js +4 -0
- package/dist/cdn/{JLHG2CB2.js → SPG5VNM4.js} +1 -1
- package/dist/cdn/{MEKRZZV7.js → SRVGYCDN.js} +2 -2
- package/dist/cdn/ST45DTBG.js +4 -0
- package/dist/cdn/{JI5RWIXQ.js → STROHUPK.js} +2 -2
- package/dist/cdn/{JTYNPEFS.js → TRPCVKW2.js} +2 -2
- package/dist/cdn/{GBSVT554.js → TXZ6GEZY.js} +2 -2
- package/dist/cdn/{OLETCYC4.js → U7RKUUEN.js} +2 -2
- package/dist/cdn/{RATBUCY6.js → UCEM2GPV.js} +2 -2
- package/dist/cdn/{HXUD4YD5.js → UCL3FKAM.js} +2 -2
- package/dist/cdn/UNYJ6IDT.js +4 -0
- package/dist/cdn/{NWAGI43Q.js → URYEO57Y.js} +2 -2
- package/dist/cdn/{O2GMJWE4.js → USQFX3ZM.js} +2 -2
- package/dist/cdn/{G3GVJVSG.js → UWMVQFYE.js} +2 -2
- package/dist/cdn/{R6OITWD5.js → UWN3XR4Z.js} +2 -2
- package/dist/cdn/{VSNSRQWP.js → UWXM6Y25.js} +2 -2
- package/dist/cdn/{57CI5J4N.js → V4KBZEWQ.js} +2 -2
- package/dist/cdn/{5PC6AV3A.js → VCJ7DICK.js} +2 -2
- package/dist/cdn/{RHEZNEQE.js → VGOUIXEO.js} +2 -2
- package/dist/cdn/{YS2FXGAU.js → VNQVEXX5.js} +2 -2
- package/dist/cdn/{YZZRXAD4.js → W3YH7KZB.js} +2 -2
- package/dist/cdn/{ITRLHIN6.js → W4GG3SGX.js} +2 -2
- package/dist/cdn/{655OVJFP.js → W4YSPSPE.js} +3 -3
- package/dist/cdn/{4C222VDK.js → WEQ723FX.js} +2 -2
- package/dist/cdn/{YUUP7TFJ.js → WJQVASCC.js} +1 -1
- package/dist/cdn/{P2EORQVS.js → WP2OACMH.js} +2 -2
- package/dist/cdn/{PXWSFT73.js → WS6SXD3R.js} +2 -2
- package/dist/cdn/WSAGKXYY.js +4 -0
- package/dist/cdn/{7EW6LYPG.js → X34EUJLQ.js} +2 -2
- package/dist/cdn/{QTD73XWY.js → X3OWAHLN.js} +2 -2
- package/dist/cdn/{RBSOFFDG.js → XEPH2OHB.js} +2 -2
- package/dist/cdn/{BGA7WGKS.js → XKIVT5P5.js} +2 -2
- package/dist/cdn/{HGRXTY54.js → XM6RU2SR.js} +2 -2
- package/dist/cdn/XOB2UPL7.js +4 -0
- package/dist/cdn/XT2WM2WV.js +4 -0
- package/dist/cdn/{GO4C26OI.js → XVQ7NWCK.js} +2 -2
- package/dist/cdn/{OCKE7CUE.js → XWWZN4I2.js} +2 -2
- package/dist/cdn/{THVLXND3.js → XXBQXUPL.js} +2 -2
- package/dist/cdn/{XELT5Y3X.js → YBO4GXDB.js} +2 -2
- package/dist/cdn/{6CTF3LVX.js → YFTUIQ7I.js} +2 -2
- package/dist/cdn/{DWPKUBVW.js → YY5WG5C6.js} +2 -2
- package/dist/cdn/{JWMIS654.js → Z4DJDNXY.js} +2 -2
- package/dist/cdn/Z6XRR3S5.js +4 -0
- package/dist/cdn/{YTQZKWA6.js → ZLTVASUM.js} +2 -2
- package/dist/cdn/{KLP7IYTM.js → ZNQEQAFZ.js} +2 -2
- package/dist/cdn/{3X7QLZLE.js → ZUDUROA4.js} +2 -2
- package/dist/cdn/assets/common/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chart-rendering/common/events/index.d.ts +7 -8
- package/dist/chart-rendering/common/events/interfaces.d.ts +1 -0
- package/dist/chart-rendering/common/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/loading-indicator/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/loading-indicator/index.d.ts +1 -22
- package/dist/chart-rendering/next/chart-library-elements/loading-indicator/interfaces.d.ts +0 -7
- package/dist/chart-rendering/next/utils/chart-modal/index.d.ts +4 -52
- package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/index.d.ts +1 -19
- package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/interfaces.d.ts +0 -5
- package/dist/chart-rendering/stable/index.d.ts +4 -1
- package/dist/chart-rendering/stable/interfaces.d.ts +0 -4
- package/dist/chart-rendering/stable/utils/error-modal/index.d.ts +2 -37
- package/dist/chunks/action-bar-utils.js +10 -9
- package/dist/chunks/axis-lines-symbol.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +10 -8
- package/dist/chunks/bar-chart-series.js +12 -10
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +61 -59
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +40 -39
- package/dist/chunks/class-breaks.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +14 -12
- package/dist/chunks/data.js +12 -10
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +50 -48
- package/dist/chunks/generate-x-axis-title.js +10 -9
- package/dist/chunks/heat-chart-model.js +2 -2
- package/dist/chunks/histogram-data.js +36 -35
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +4624 -10957
- package/dist/chunks/index2.js +18 -17
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +14 -13
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-setter.js +14 -12
- package/dist/chunks/model-with-multi-axes.js +21 -19
- package/dist/chunks/negative-values-stacked-to-baseline.js +3 -1
- package/dist/chunks/pie-chart-data.js +12 -11
- package/dist/chunks/pie-chart-model.js +3 -1
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +3 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/rotated-state.js +4 -3
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +2 -1
- package/dist/chunks/serial-chart-data.js +203 -201
- package/dist/chunks/serial-chart-model.js +1 -1
- 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 +34 -33
- package/dist/chunks/utils2.js +14 -12
- package/dist/chunks/web-component-utils.js +2 -2
- package/dist/chunks/x-axis-labels-visibility.js +1 -1
- package/dist/components/arcgis-chart/customElement.d.ts +12 -5
- package/dist/components/arcgis-chart/customElement.js +6520 -6760
- package/dist/components/arcgis-chart/index.d.ts +2 -0
- package/dist/components/arcgis-chart/index.js +2 -0
- 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 +22 -22
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +7 -5
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +21 -20
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +19 -18
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +4 -2
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +19 -17
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +6 -4
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +21 -20
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +31 -30
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +3 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +22 -20
- package/dist/components/arcgis-charts-config-category-format/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +21 -19
- package/dist/components/arcgis-charts-config-color-style/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +7 -6
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +20 -18
- package/dist/components/arcgis-charts-config-format/customElement.js +3 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +9 -7
- package/dist/components/arcgis-charts-config-general/customElement.js +19 -17
- package/dist/components/arcgis-charts-config-guide/customElement.js +37 -35
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +6 -4
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +3 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +3 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +40 -39
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +10 -9
- package/dist/components/arcgis-charts-config-histogram/customElement.js +3 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +30 -29
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +14 -13
- package/dist/components/arcgis-charts-config-info-modal/customElement.d.ts +12 -0
- package/dist/components/arcgis-charts-config-info-modal/customElement.js +25 -0
- package/dist/components/arcgis-charts-config-info-modal/index.d.ts +1 -0
- package/dist/components/arcgis-charts-config-info-modal/index.js +1 -0
- package/dist/components/arcgis-charts-config-info-modal/resource.d.ts +3 -0
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +3 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +16 -15
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +23 -22
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +3 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +20 -18
- package/dist/components/arcgis-charts-config-line-style/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-number-format/customElement.js +24 -24
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +3 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +2 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +35 -34
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +3 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +18 -16
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +7 -5
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +21 -20
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +23 -22
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +16 -14
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +3 -1
- package/dist/docs/api.json +178 -26
- package/dist/docs/docs.json +157 -19
- package/dist/docs/vscode.html-custom-data.json +25 -1
- package/dist/docs/web-types.json +58 -2
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -1
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +1 -1
- package/dist/model.js +1 -1
- package/dist/types/lumina.d.ts +6 -0
- package/dist/types/preact.d.ts +7 -0
- package/dist/types/react.d.ts +8 -0
- package/dist/types/stencil.d.ts +6 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +1 -0
- package/dist/utils/components/error-modal-utils.d.ts +22 -0
- package/dist/utils/types/index.d.ts +1 -0
- package/package.json +6 -4
- package/dist/cdn/3YX74DF2.js +0 -6
- package/dist/cdn/5IQIHGWP.js +0 -4
- package/dist/cdn/5ZQNHXXD.js +0 -4
- package/dist/cdn/6HRJYONF.js +0 -4
- package/dist/cdn/7IJWGHYS.js +0 -4
- package/dist/cdn/AOKVSUIH.js +0 -4
- package/dist/cdn/D5SH6HG6.js +0 -4
- package/dist/cdn/F7NRRR3T.js +0 -4
- package/dist/cdn/GIZYIH77.js +0 -4
- package/dist/cdn/HZPY6DNK.js +0 -4
- package/dist/cdn/IMDCZRKX.js +0 -4
- package/dist/cdn/IVBO3UZX.js +0 -4
- package/dist/cdn/JJS3F6GU.js +0 -4
- package/dist/cdn/LRKUFVPM.js +0 -4
- package/dist/cdn/LSHWTF42.js +0 -4
- package/dist/cdn/O47JQDR4.js +0 -34
- package/dist/cdn/O4QFRRKK.js +0 -4
- package/dist/cdn/OMBNC7SB.js +0 -4
- package/dist/cdn/OPI3SGBW.js +0 -4
- package/dist/cdn/OXDG56YL.js +0 -4
- package/dist/cdn/QT5UYLQ4.js +0 -4
- package/dist/cdn/QU4A7QPE.js +0 -4
- package/dist/cdn/R36AM327.js +0 -4
- package/dist/cdn/RQ6S74GA.js +0 -4
- package/dist/cdn/SDYHRUT5.js +0 -4
- package/dist/cdn/SMRIUQDY.js +0 -4
- package/dist/cdn/THZM3X2A.js +0 -4
- package/dist/cdn/UCWBWNTL.js +0 -4
- package/dist/cdn/ULU4K6SN.js +0 -244
- package/dist/cdn/V2RBEV67.js +0 -4
|
@@ -4,11 +4,13 @@ import "../../chunks/series-types.js";
|
|
|
4
4
|
import { f as p } from "../../chunks/rest-js-object-literals.js";
|
|
5
5
|
import "@arcgis/toolkit/intl";
|
|
6
6
|
import "lodash-es";
|
|
7
|
+
import "luxon";
|
|
7
8
|
import "d3-array";
|
|
8
9
|
import "../../chunks/index.js";
|
|
9
10
|
import "@arcgis/core/Graphic.js";
|
|
10
11
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
12
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
13
|
+
import "@esri/arcgis-html-sanitizer";
|
|
12
14
|
import "@arcgis/core/intl.js";
|
|
13
15
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
14
16
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -26,17 +28,17 @@ import "@arcgis/toolkit/dom";
|
|
|
26
28
|
import { e as a } from "../../chunks/popover-ui-utils.js";
|
|
27
29
|
import { g as i } from "../../chunks/default.js";
|
|
28
30
|
import { u as n } from "../../chunks/useT9n.js";
|
|
29
|
-
import { createRef as
|
|
31
|
+
import { createRef as m, ref as c } from "lit/directives/ref.js";
|
|
30
32
|
import { LitElement as h, createEvent as s, safeClassMap as g } from "@arcgis/lumina";
|
|
31
33
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
32
34
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
33
|
-
v5.0.0-next.
|
|
35
|
+
v5.0.0-next.125 */
|
|
34
36
|
const C = {
|
|
35
37
|
jsAppFlyout: "js-app-flyout"
|
|
36
38
|
}, d = l``;
|
|
37
39
|
class f extends h {
|
|
38
40
|
constructor() {
|
|
39
|
-
super(...arguments), this._messages = n(), this.popoverElement =
|
|
41
|
+
super(...arguments), this._messages = n(), this.popoverElement = m(), this.placement = "leading", this.arcgisChartsConfigGuidePopoverColorChange = s(), this.arcgisChartsConfigGuidePopoverSymbolChange = s(), this.arcgisChartsConfigPopoverClose = s();
|
|
40
42
|
}
|
|
41
43
|
static {
|
|
42
44
|
this.properties = { messageOverrides: 0, selectedElement: 0, referenceElement: 0, placement: 1, open: 5 };
|
|
@@ -63,7 +65,7 @@ class f extends h {
|
|
|
63
65
|
}
|
|
64
66
|
render() {
|
|
65
67
|
const t = this.selectedElement, e = this.selectedElement;
|
|
66
|
-
return o`<div class=${g(C.jsAppFlyout)}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} offset-distance=20 offset-skidding=60 label pointer-disabled @calcitePopoverClose=${this.guidePopoverClose} auto-close ${
|
|
68
|
+
return o`<div class=${g(C.jsAppFlyout)}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} offset-distance=20 offset-skidding=60 label pointer-disabled @calcitePopoverClose=${this.guidePopoverClose} auto-close ${c(this.popoverElement)}>${Array.isArray(t) && o`<arcgis-charts-config-color-style .header=${this._messages.fillStyle} enable-close .open=${this.open} .selectedColor=${t} @arcgisChartsConfigColorStyleClose=${this.guidePopoverClose} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>` || ""}${e?.type === p.SLS && o`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close .lineStyle=${e} @arcgisChartsConfigLineStyleClose=${this.guidePopoverClose} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>` || ""}</calcite-popover></div>`;
|
|
67
69
|
}
|
|
68
70
|
}
|
|
69
71
|
r("arcgis-charts-config-guide-popover", f);
|
|
@@ -11,7 +11,7 @@ import { p as h, q as u } from "../../chunks/type-guards.js";
|
|
|
11
11
|
import "../../chunks/series-types.js";
|
|
12
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
14
|
-
v5.0.0-next.
|
|
14
|
+
v5.0.0-next.125 */
|
|
15
15
|
const P = A`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.add-guide{display:flex;justify-content:center;padding:.5rem}.add-guide-btn{width:100%}.no-guides{border-radius:2rem}.no-messages{text-align:center}.guide-icon{padding-left:.5rem;padding-top:.5rem;width:1.5rem;height:1.5rem}`;
|
|
16
16
|
class $ extends v {
|
|
17
17
|
constructor() {
|
|
@@ -5,12 +5,14 @@ import { u as o } from "../../chunks/useT9n.js";
|
|
|
5
5
|
import { createRef as r, ref as a } from "lit/directives/ref.js";
|
|
6
6
|
import "@arcgis/toolkit/intl";
|
|
7
7
|
import "lodash-es";
|
|
8
|
+
import "luxon";
|
|
8
9
|
import "d3-array";
|
|
9
10
|
import "../../chunks/series-types.js";
|
|
10
11
|
import "../../chunks/index.js";
|
|
11
12
|
import "@arcgis/core/Graphic.js";
|
|
12
13
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
13
14
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
15
|
+
import "@esri/arcgis-html-sanitizer";
|
|
14
16
|
import "@arcgis/core/intl.js";
|
|
15
17
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
16
18
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -28,7 +30,7 @@ import "@arcgis/toolkit/dom";
|
|
|
28
30
|
import { e as p } from "../../chunks/popover-ui-utils.js";
|
|
29
31
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
30
32
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
31
|
-
v5.0.0-next.
|
|
33
|
+
v5.0.0-next.125 */
|
|
32
34
|
class l extends s {
|
|
33
35
|
constructor() {
|
|
34
36
|
super(...arguments), this._messages = o(), this.popoverElement = r(), this.onAddXGuide = () => {
|
|
@@ -4,12 +4,14 @@ import { css as n, html as a } from "lit";
|
|
|
4
4
|
import { C as o } from "../../chunks/interfaces.js";
|
|
5
5
|
import "@arcgis/toolkit/intl";
|
|
6
6
|
import { isEqual as h } from "lodash-es";
|
|
7
|
+
import "luxon";
|
|
7
8
|
import "d3-array";
|
|
8
9
|
import "../../chunks/series-types.js";
|
|
9
10
|
import { bE as m, bG as c } from "../../chunks/index.js";
|
|
10
11
|
import "@arcgis/core/Graphic.js";
|
|
11
12
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
12
13
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
14
|
+
import "@esri/arcgis-html-sanitizer";
|
|
13
15
|
import "@arcgis/core/intl.js";
|
|
14
16
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
15
17
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -27,7 +29,7 @@ import { h as d } from "../../chunks/index4.js";
|
|
|
27
29
|
import "@arcgis/toolkit/dom";
|
|
28
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
29
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
30
|
-
v5.0.0-next.
|
|
32
|
+
v5.0.0-next.125 */
|
|
31
33
|
const f = n`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
32
34
|
class p extends l {
|
|
33
35
|
static {
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as x } from "../../chunks/runtime.js";
|
|
2
2
|
import { LitElement as R, createEvent as T, renderElement as S, safeClassMap as n, safeStyleMap as k } from "@arcgis/lumina";
|
|
3
3
|
import { u as v } from "../../chunks/useT9n.js";
|
|
4
4
|
import { css as A, html as o } from "lit";
|
|
5
5
|
import { l as f, j as p, W as r, v as u, a as y, u as D } from "../../chunks/series-types.js";
|
|
6
|
-
import { f as
|
|
7
|
-
import { x as
|
|
6
|
+
import { f as E, j as M } from "../../chunks/rest-js-object-literals.js";
|
|
7
|
+
import { x as I } from "../../chunks/data.js";
|
|
8
8
|
import "@arcgis/toolkit/intl";
|
|
9
|
-
import { cloneDeep as
|
|
9
|
+
import { cloneDeep as P, isEqual as w, parseInt as _, camelCase as O } from "lodash-es";
|
|
10
|
+
import "luxon";
|
|
10
11
|
import "d3-array";
|
|
11
|
-
import { bq as H,
|
|
12
|
+
import { bq as H, dj as L, ax as b, cX as F, d6 as N, di as U } from "../../chunks/index.js";
|
|
12
13
|
import "@arcgis/core/intl.js";
|
|
13
14
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
14
15
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -25,18 +26,18 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
25
26
|
import { b as V } from "../../chunks/index3.js";
|
|
26
27
|
import "@arcgis/toolkit/dom";
|
|
27
28
|
import { r as W } from "../../chunks/popover-ui-utils.js";
|
|
28
|
-
import { createRef as h, ref as
|
|
29
|
-
import { e as l, W as
|
|
30
|
-
import { j as
|
|
29
|
+
import { createRef as h, ref as m } from "lit/directives/ref.js";
|
|
30
|
+
import { e as l, W as $ } from "../../chunks/interfaces.js";
|
|
31
|
+
import { j as B, s as K } from "../../chunks/chart-ui-utils2.js";
|
|
31
32
|
import * as q from "@arcgis/core/smartMapping/symbology/support/colorRamps.js";
|
|
32
|
-
import { g as
|
|
33
|
+
import { g as j, e as z, c as X } from "../../chunks/class-breaks.js";
|
|
33
34
|
import { createClassBreaksRenderer as Y } from "@arcgis/core/smartMapping/renderers/color.js";
|
|
34
35
|
import { getSchemes as G } from "@arcgis/core/smartMapping/symbology/color.js";
|
|
35
36
|
import { i as J } from "../../chunks/utils.js";
|
|
36
37
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
37
38
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
38
|
-
v5.0.0-next.
|
|
39
|
-
const Q = A`.hide{display:none}.am5-
|
|
39
|
+
v5.0.0-next.125 */
|
|
40
|
+
const Q = A`.hide{display:none}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin);margin-top:var(--arcgis-charts-top-section-margin)}.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}.color-ramp{width:100%;height:20px;overflow:hidden;border-radius:0}.color-ramp-segment{height:100%;display:inline-block}.list{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major)}`, c = {
|
|
40
41
|
label: "label",
|
|
41
42
|
colorRamp: "color-ramp",
|
|
42
43
|
colorRampSegment: "color-ramp-segment",
|
|
@@ -60,7 +61,7 @@ class Z extends R {
|
|
|
60
61
|
break;
|
|
61
62
|
case l.calendarType: {
|
|
62
63
|
switch (t) {
|
|
63
|
-
case
|
|
64
|
+
case $.YearByMonthAndDayOfMonth: {
|
|
64
65
|
const s = {
|
|
65
66
|
type: r.CalendarDateParts,
|
|
66
67
|
unit: p.DayOfMonth
|
|
@@ -77,7 +78,7 @@ class Z extends R {
|
|
|
77
78
|
});
|
|
78
79
|
break;
|
|
79
80
|
}
|
|
80
|
-
case
|
|
81
|
+
case $.WeekByDayOfWeekAndHourOfDay: {
|
|
81
82
|
const s = {
|
|
82
83
|
type: r.CalendarDateParts,
|
|
83
84
|
unit: p.HourOfDay
|
|
@@ -138,7 +139,7 @@ class Z extends R {
|
|
|
138
139
|
...t,
|
|
139
140
|
symbol: {
|
|
140
141
|
...t?.symbol,
|
|
141
|
-
type:
|
|
142
|
+
type: E.SFS,
|
|
142
143
|
color: a,
|
|
143
144
|
outline: t?.symbol?.outline && { ...t.symbol.outline, color: a }
|
|
144
145
|
}
|
|
@@ -160,7 +161,7 @@ class Z extends R {
|
|
|
160
161
|
this.modelChange(this.model), this.onModelConfigChange();
|
|
161
162
|
}
|
|
162
163
|
willUpdate(e) {
|
|
163
|
-
e.has("model") && this.modelChange(this.model, e.get("model")), this.aggregationLabel = H(this.model.aggregationType, this.commonStrings), e.has("chartData") && (this.updateChartRenderer = this.model.chartRenderer === void 0 || L(this.model.chartRenderer) ===
|
|
164
|
+
e.has("model") && this.modelChange(this.model, e.get("model")), this.aggregationLabel = H(this.model.aggregationType, this.commonStrings), e.has("chartData") && (this.updateChartRenderer = this.model.chartRenderer === void 0 || L(this.model.chartRenderer) === M.ClassBreaks);
|
|
164
165
|
}
|
|
165
166
|
updated(e) {
|
|
166
167
|
e.has("updateChartRenderer") && this.updateChartRenderer && this.generateAndUpdateClassBreaks();
|
|
@@ -174,24 +175,24 @@ class Z extends R {
|
|
|
174
175
|
}
|
|
175
176
|
generateColorsForExistingBreaks(e) {
|
|
176
177
|
const a = this.model.breaksCount;
|
|
177
|
-
return
|
|
178
|
+
return j({
|
|
178
179
|
numberOfClassBreaks: a,
|
|
179
180
|
selectedColorRamp: e,
|
|
180
181
|
colorRamp: this.model.chartRenderer?.classBreakInfos?.map((s) => s.symbol?.color)
|
|
181
182
|
});
|
|
182
183
|
}
|
|
183
184
|
normalizeClassBreakInfosForCompare(e, a) {
|
|
184
|
-
return (e ?? []).map(({ classMinValue: t, classMaxValue: s, label: i, symbol:
|
|
185
|
+
return (e ?? []).map(({ classMinValue: t, classMaxValue: s, label: i, symbol: d }) => ({
|
|
185
186
|
classMinValue: t,
|
|
186
187
|
classMaxValue: s,
|
|
187
188
|
label: i,
|
|
188
|
-
symbol: a ? void 0 :
|
|
189
|
+
symbol: a ? void 0 : d
|
|
189
190
|
}));
|
|
190
191
|
}
|
|
191
192
|
async generateAndUpdateClassBreaks() {
|
|
192
193
|
let e = [];
|
|
193
194
|
if (this.model.classificationMethod === u.manual && this.model.chartRenderer?.classBreakInfos.length > 0 && this.selectedColorRamp) {
|
|
194
|
-
e =
|
|
195
|
+
e = P(this.model.chartRenderer?.classBreakInfos) ?? [];
|
|
195
196
|
const s = this.generateColorsForExistingBreaks(this.selectedColorRamp);
|
|
196
197
|
for (let i = 0; i < e.length && i < s.length; i++)
|
|
197
198
|
e[i].symbol && (e[i].symbol.color = s[i]);
|
|
@@ -203,7 +204,7 @@ class Z extends R {
|
|
|
203
204
|
inlineData: this.chartData
|
|
204
205
|
});
|
|
205
206
|
if (s.layer && this.model.layer) {
|
|
206
|
-
const
|
|
207
|
+
const d = G({
|
|
207
208
|
geometryType: "point",
|
|
208
209
|
theme: "high-to-low"
|
|
209
210
|
})?.primaryScheme, g = await Y({
|
|
@@ -211,9 +212,9 @@ class Z extends R {
|
|
|
211
212
|
field: b.valueField,
|
|
212
213
|
classificationMethod: this.model.classificationMethod,
|
|
213
214
|
numClasses: this.model.breaksCount,
|
|
214
|
-
colorScheme:
|
|
215
|
+
colorScheme: d
|
|
215
216
|
});
|
|
216
|
-
e =
|
|
217
|
+
e = z({
|
|
217
218
|
classBreaksRendererResult: g,
|
|
218
219
|
numberOfClassBreaks: this.model.breaksCount,
|
|
219
220
|
selectedColorRamp: this.selectedColorRamp,
|
|
@@ -222,7 +223,7 @@ class Z extends R {
|
|
|
222
223
|
});
|
|
223
224
|
}
|
|
224
225
|
}
|
|
225
|
-
const a = !this.updateClassBreaksColor, t = !
|
|
226
|
+
const a = !this.updateClassBreaksColor, t = !w(this.normalizeClassBreakInfosForCompare(this.model.chartRenderer?.classBreakInfos, a), this.normalizeClassBreakInfosForCompare(e, a));
|
|
226
227
|
this.updateChartRenderer && t && (this.model.chartRenderer = {
|
|
227
228
|
type: "classBreaks",
|
|
228
229
|
// TODO (heat-chart) use the correct type
|
|
@@ -234,10 +235,10 @@ class Z extends R {
|
|
|
234
235
|
a?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
235
236
|
}
|
|
236
237
|
getCorrectedXAxisFieldValue() {
|
|
237
|
-
return
|
|
238
|
+
return I({
|
|
238
239
|
fieldName: this.model.xAxisField,
|
|
239
240
|
fieldList: this.layerFieldsInfo
|
|
240
|
-
}) ? "" :
|
|
241
|
+
}) ? "" : F(this.layerFieldsInfo, this.model.xAxisField);
|
|
241
242
|
}
|
|
242
243
|
onXAxisFieldSelect(e) {
|
|
243
244
|
this.contentKind = l.xAxisField, this.setupPopover(e);
|
|
@@ -282,7 +283,7 @@ class Z extends R {
|
|
|
282
283
|
a = this.numericFieldsElement.value, t = this._messages.numericFieldOptional, s = this.model.numericFields?.[0];
|
|
283
284
|
break;
|
|
284
285
|
case l.calendarType:
|
|
285
|
-
a = this.calendarTypeElement.value, t = this._messages.calendarType, s =
|
|
286
|
+
a = this.calendarTypeElement.value, t = this._messages.calendarType, s = B(this.model);
|
|
286
287
|
break;
|
|
287
288
|
case l.calendarViewType:
|
|
288
289
|
a = this.calendarViewTypeElement.value, t = this._messages.viewType, s = this.model.viewType;
|
|
@@ -323,21 +324,21 @@ class Z extends R {
|
|
|
323
324
|
}
|
|
324
325
|
renderXAxisFieldSelect() {
|
|
325
326
|
const e = this.getCorrectedXAxisFieldValue();
|
|
326
|
-
return o`<arcgis-charts-config-field-select .label=${e} @click=${this.onXAxisFieldSelect} ${
|
|
327
|
+
return o`<arcgis-charts-config-field-select .label=${e} @click=${this.onXAxisFieldSelect} ${m(this.xAxisFieldElement)}></arcgis-charts-config-field-select>`;
|
|
327
328
|
}
|
|
328
329
|
renderAggregation() {
|
|
329
|
-
return o`<arcgis-charts-config-field-select .label=${this.model.aggregationType === y.NoAggregation ? this._messages.noAggregation : this.aggregationLabel} @click=${this.onAggregationSelect} ${
|
|
330
|
+
return o`<arcgis-charts-config-field-select .label=${this.model.aggregationType === y.NoAggregation ? this._messages.noAggregation : this.aggregationLabel} @click=${this.onAggregationSelect} ${m(this.aggregationElement)}></arcgis-charts-config-field-select>`;
|
|
330
331
|
}
|
|
331
332
|
renderNumericFieldsSelect() {
|
|
332
|
-
const e = this.model.numericFields?.[0] === this.model.layer?.objectIdField ? "" :
|
|
333
|
-
return o`<arcgis-charts-config-field-select .label=${e} @click=${this.onNumericFieldSelect} ${
|
|
333
|
+
const e = this.model.numericFields?.[0] === this.model.layer?.objectIdField ? "" : F(this.layerFieldsInfo, this.model.numericFields?.[0]);
|
|
334
|
+
return o`<arcgis-charts-config-field-select .label=${e} @click=${this.onNumericFieldSelect} ${m(this.numericFieldsElement)}></arcgis-charts-config-field-select>`;
|
|
334
335
|
}
|
|
335
336
|
renderCalendarTypeSelect() {
|
|
336
|
-
const e =
|
|
337
|
+
const e = B(this.model) ?? "", a = {
|
|
337
338
|
weekByDayOfWeekAndHourOfDay: this._messages.weekByDayOfWeekAndHourOfDay,
|
|
338
339
|
yearByMonthAndDayOfMonth: this._messages.yearByMonthAndDayOfMonth
|
|
339
340
|
}, t = e ? a[e] ?? "" : "";
|
|
340
|
-
return o`<arcgis-charts-config-field-select .label=${t} @click=${this.onCalendarTypeSelect} ${
|
|
341
|
+
return o`<arcgis-charts-config-field-select .label=${t} @click=${this.onCalendarTypeSelect} ${m(this.calendarTypeElement)}></arcgis-charts-config-field-select>`;
|
|
341
342
|
}
|
|
342
343
|
renderClassBreakMethodSelect() {
|
|
343
344
|
const e = {
|
|
@@ -346,29 +347,29 @@ class Z extends R {
|
|
|
346
347
|
naturalBreaks: this._messages.classBreaksMethod?.naturalBreaks,
|
|
347
348
|
quantile: this._messages.classBreaksMethod?.quantile
|
|
348
349
|
}, a = this.model.classificationMethod ? e[O(this.model.classificationMethod)] ?? "" : "";
|
|
349
|
-
return o`<arcgis-charts-config-field-select .label=${a} @click=${this.onClassBreakMethodSelect} ${
|
|
350
|
+
return o`<arcgis-charts-config-field-select .label=${a} @click=${this.onClassBreakMethodSelect} ${m(this.classBreakMethodElement)}></arcgis-charts-config-field-select>`;
|
|
350
351
|
}
|
|
351
352
|
renderColorRampSelect() {
|
|
352
353
|
const e = this.model.chartRenderer?.classBreakInfos?.map((a) => {
|
|
353
354
|
const t = a !== void 0 ? X(a.symbol.color) : "#FFFFFF";
|
|
354
355
|
return o`<div class=${n(c.colorRampSegment)} style=${k({ backgroundColor: t, width: `${100 / this.model.breaksCount}%` })}></div>`;
|
|
355
356
|
});
|
|
356
|
-
return o`<arcgis-charts-config-field-select label @click=${this.onColorSchemeSelect} ${
|
|
357
|
+
return o`<arcgis-charts-config-field-select label @click=${this.onColorSchemeSelect} ${m(this.colorSchemeElement)}><div slot=fieldSelectSlot class=${n(c.colorRamp)}>${e}</div></arcgis-charts-config-field-select>`;
|
|
357
358
|
}
|
|
358
359
|
renderClassBreaksTable() {
|
|
359
360
|
const e = this.model.chartRenderer?.classBreakInfos ?? [];
|
|
360
361
|
return o`<calcite-table caption="Simple table"><calcite-table-row slot=table-header><calcite-table-header .heading=${this._messages.symbol}></calcite-table-header><calcite-table-header .heading=${this._messages.upperValue}></calcite-table-header></calcite-table-row>${e.map((a) => o`<calcite-table-row><calcite-table-cell><calcite-swatch label scale=m .color=${`rgba(${a.symbol.color?.[0]}, ${a.symbol.color?.[1]}, ${a.symbol.color?.[2]}, ${a.symbol.color?.[3] / 255})`}></calcite-swatch></calcite-table-cell><calcite-table-cell>${a.label}</calcite-table-cell></calcite-table-row>`)}</calcite-table>`;
|
|
361
362
|
}
|
|
362
363
|
renderNullUI() {
|
|
363
|
-
const e = this.model.emptyCell, a = this._messages.null, t = e?.symbol?.color ?? U.grayColor, [s, i,
|
|
364
|
-
return o`<calcite-list label class=${n(c.list)} selection-mode=none ${
|
|
364
|
+
const e = this.model.emptyCell, a = this._messages.null, t = e?.symbol?.color ?? U.grayColor, [s, i, d, g] = [...t], C = `rgba(${s},${i},${d},${g / 255})`;
|
|
365
|
+
return o`<calcite-list label class=${n(c.list)} selection-mode=none ${m(this.nullElement)}><calcite-list-item .label=${a} .value=${a} @calciteListItemSelect=${this.onNullSelect}><calcite-icon icon=square-f style=${k({ color: C })} slot=content-end></calcite-icon></calcite-list-item></calcite-list>`;
|
|
365
366
|
}
|
|
366
367
|
render() {
|
|
367
|
-
const e = this.renderXAxisFieldSelect(), a = this.renderAggregation(), t = this.renderNumericFieldsSelect(), s = this.renderCalendarTypeSelect(), i = this.renderClassBreakMethodSelect(),
|
|
368
|
-
return o`<calcite-label class=${n(c.label)}>${this._messages.dateRequired}${e}</calcite-label><calcite-label class=${n(c.label)}>${this._messages.calendarType}${s}</calcite-label><calcite-label class=${n(c.label)}>${this._messages.aggregation}${a}</calcite-label><calcite-label class=${n(c.label)}>${this._messages.numericFieldOptional}${t}</calcite-label><calcite-label class=${n(c.label)}>${this._messages.method}${i}</calcite-label><calcite-label class=${n(c.label)}>${this._messages.numberOfClasses}<calcite-input type=number min=1 .disabled=${this.model.classificationMethod === void 0 || this.model.classificationMethod === u.manual} step=1 .value=${K(this.model.breaksCount, 5)} @calciteInputInput=${this.onBreaksCountChange} ${
|
|
368
|
+
const e = this.renderXAxisFieldSelect(), a = this.renderAggregation(), t = this.renderNumericFieldsSelect(), s = this.renderCalendarTypeSelect(), i = this.renderClassBreakMethodSelect(), d = this.renderColorRampSelect(), g = this.renderClassBreaksTable(), C = this.renderNullUI();
|
|
369
|
+
return o`<calcite-label class=${n(c.label)}>${this._messages.dateRequired}${e}</calcite-label><calcite-label class=${n(c.label)}>${this._messages.calendarType}${s}</calcite-label><calcite-label class=${n(c.label)}>${this._messages.aggregation}${a}</calcite-label><calcite-label class=${n(c.label)}>${this._messages.numericFieldOptional}${t}</calcite-label><calcite-label class=${n(c.label)}>${this._messages.method}${i}</calcite-label><calcite-label class=${n(c.label)}>${this._messages.numberOfClasses}<calcite-input type=number min=1 .disabled=${this.model.classificationMethod === void 0 || this.model.classificationMethod === u.manual} step=1 .value=${K(this.model.breaksCount, 5)} @calciteInputInput=${this.onBreaksCountChange} ${m(this.breaksCountElement)}></calcite-input></calcite-label><calcite-label class=${n(c.label)}>${this._messages.colorScheme}${d}</calcite-label>${C}<calcite-accordion appearance=transparent selection-mode=single><calcite-accordion-item .heading=${this._messages.classBreaks}>${g}</calcite-accordion-item></calcite-accordion><calcite-label class=${n(c.label)} layout=inline-space-between>${this._messages.includeLeapDay}<calcite-switch .checked=${this.model.includeLeapDay} @calciteSwitchChange=${this.onIncludeLeapDayChange}></calcite-switch></calcite-label>`;
|
|
369
370
|
}
|
|
370
371
|
}
|
|
371
|
-
|
|
372
|
+
x("arcgis-charts-config-heat-chart-data", Z);
|
|
372
373
|
export {
|
|
373
374
|
Z as ArcgisChartsConfigHeatChartData
|
|
374
375
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as w } from "../../chunks/runtime.js";
|
|
2
2
|
import { repeat as m } from "lit/directives/repeat.js";
|
|
3
3
|
import { css as I, html as o } from "lit";
|
|
4
4
|
import { keyed as L } from "lit/directives/keyed.js";
|
|
@@ -7,8 +7,9 @@ import { LitElement as T, createEvent as d, safeClassMap as l, nothing as g, saf
|
|
|
7
7
|
import { u as f, v as C } from "../../chunks/series-types.js";
|
|
8
8
|
import "@arcgis/toolkit/intl";
|
|
9
9
|
import { isEqual as P } from "lodash-es";
|
|
10
|
+
import "luxon";
|
|
10
11
|
import "d3-array";
|
|
11
|
-
import { bq as S, cX as E, bL as A, bK as D,
|
|
12
|
+
import { bq as S, cX as E, bL as A, bK as D, di as b, ap as _ } from "../../chunks/index.js";
|
|
12
13
|
import "@arcgis/core/Graphic.js";
|
|
13
14
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
14
15
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -34,8 +35,8 @@ import { C as x, a as k } from "../../chunks/class-breaks.js";
|
|
|
34
35
|
import N from "@arcgis/core/Color.js";
|
|
35
36
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
36
37
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
37
|
-
v5.0.0-next.
|
|
38
|
-
const
|
|
38
|
+
v5.0.0-next.125 */
|
|
39
|
+
const H = I`.hide{display:none}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.pick-list-item-label{font-size:small}.panel{max-height:60vh}.color-ramp-popover{display:flex;flex-direction:column;gap:.75rem;min-width:320px;max-width:480px}.color-ramp-toolbar{display:flex;gap:.5rem;align-items:center;padding:5px 5px 0}.ramp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.5rem;max-height:300px;overflow:auto;padding:.25rem}.ramp-item{display:flex;flex-direction:column;border:1px solid var(--calcite-color-foreground-3);background:var(--calcite-color-foreground-1);cursor:pointer;box-shadow:inset 0 0 0 1px transparent;transition:box-shadow .12s;border-radius:2px;min-height:56px;padding:4px}.ramp-item:hover{box-shadow:inset 0 0 0 1px var(--calcite-color-foreground-3)}.ramp-name{font-size:.625rem;line-height:1;padding:2px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-color-text-3)}.ramp-item.selected{background-color:var(--calcite-color-brand)!important;border-color:var(--calcite-color-brand)!important;outline:2px solid var(--calcite-color-brand)!important;color:var(--calcite-color-foreground-1)}.ramp-item.selected .ramp-name{color:var(--calcite-color-foreground-1)}.ramp-item.selected .ramp-strip{box-shadow:none;border:none}.ramp-strips{display:flex;flex:1;height:28px;width:100%;overflow:hidden}.ramp-strip{flex:1;min-width:0}.ramp-strip-fallback{background:repeating-linear-gradient(45deg,var(--calcite-color-foreground-3) 0,var(--calcite-color-foreground-3) 5px,var(--calcite-color-foreground-2) 5px,var(--calcite-color-foreground-2) 10px)}.ramp-empty{grid-column:1/-1;font-size:.75rem;color:var(--calcite-color-text-3)}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}.color-ramp-popover-footer{display:flex;padding:.5rem}.color-ramp-popover-footer calcite-button{flex:1}`, s = {
|
|
39
40
|
jsAppFlyout: "js-app-flyout",
|
|
40
41
|
name: "bar-chart-data-popover",
|
|
41
42
|
header: "header",
|
|
@@ -53,7 +54,7 @@ const j = I`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolu
|
|
|
53
54
|
panelChildrenContainer: "panel-children-container",
|
|
54
55
|
colorRampPopoverFooter: "color-ramp-popover-footer"
|
|
55
56
|
};
|
|
56
|
-
class
|
|
57
|
+
class j extends T {
|
|
57
58
|
constructor() {
|
|
58
59
|
super(...arguments), this._messages = u(), this.commonStrings = u({ name: "common", blocking: !0 }), this.picklist = v(), this.popoverElement = v(), this.placement = "leading", this.offsetDistance = -200, this.availableColorRamps = [], this.selectedCategory = x.all, this.isFlipped = !1, this.aggregationLabels = [], this.layerFieldsInfo = [], this.arcgisChartsConfigHeatChartColorRampChange = d(), this.arcgisChartsConfigHeatChartDataPopoverChange = d(), this.arcgisChartsConfigPopoverClose = d(), this.arcgisChartsConfigPopoverEmptyCellColorChange = d(), this.arcgisChartsConfigPopoverEmptyCellNameChange = d();
|
|
59
60
|
}
|
|
@@ -61,7 +62,7 @@ class H extends T {
|
|
|
61
62
|
this.properties = { availableColorRamps: 16, selectedColorRampName: 16, selectedCategory: 16, isFlipped: 16, aggregationLabels: 16, model: 0, messageOverrides: 0, headingTitle: 1, referenceElement: 0, open: 5, contentKind: 1, layerFieldsInfo: 0, selectedContent: 1, colorRamps: 0 };
|
|
62
63
|
}
|
|
63
64
|
static {
|
|
64
|
-
this.styles =
|
|
65
|
+
this.styles = H;
|
|
65
66
|
}
|
|
66
67
|
async reposition() {
|
|
67
68
|
await this.popoverElement.value?.reposition();
|
|
@@ -137,7 +138,7 @@ class H extends T {
|
|
|
137
138
|
typeof a == "string" && a.length && (t = a);
|
|
138
139
|
} else if (Array.isArray(e)) {
|
|
139
140
|
const [a, i, r, n] = e;
|
|
140
|
-
[a, i, r].every((
|
|
141
|
+
[a, i, r].every((R) => typeof R == "number") && (t = `rgba(${a},${i},${r},${n ?? 1})`);
|
|
141
142
|
} else if (typeof e == "object" && e) {
|
|
142
143
|
const { r: a, g: i, b: r, a: n } = e;
|
|
143
144
|
if (a != null && i != null && r != null)
|
|
@@ -282,7 +283,7 @@ class H extends T {
|
|
|
282
283
|
return o`<div class=${l(s.jsAppFlyout)}><calcite-popover class=${l(s.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${p(this.popoverElement)}><calcite-panel class=${l(s.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${l(s.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${void 0}</calcite-panel></calcite-popover></div>`;
|
|
283
284
|
}
|
|
284
285
|
}
|
|
285
|
-
|
|
286
|
+
w("arcgis-charts-config-heat-chart-popover", j);
|
|
286
287
|
export {
|
|
287
|
-
|
|
288
|
+
j as ArcgisChartsConfigHeatChartPopover
|
|
288
289
|
};
|
|
@@ -1,12 +1,14 @@
|
|
|
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 "luxon";
|
|
4
5
|
import "d3-array";
|
|
5
6
|
import "../../chunks/series-types.js";
|
|
6
7
|
import { bE as n, bG as h } from "../../chunks/index.js";
|
|
7
8
|
import "@arcgis/core/Graphic.js";
|
|
8
9
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
9
10
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
11
|
+
import "@esri/arcgis-html-sanitizer";
|
|
10
12
|
import "@arcgis/core/intl.js";
|
|
11
13
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
12
14
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -27,7 +29,7 @@ import { css as g, html as i } from "lit";
|
|
|
27
29
|
import { C as s } from "../../chunks/interfaces.js";
|
|
28
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
29
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
30
|
-
v5.0.0-next.
|
|
32
|
+
v5.0.0-next.125 */
|
|
31
33
|
const f = g`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
32
34
|
class p extends d {
|
|
33
35
|
constructor() {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { keyed as
|
|
1
|
+
import { c as I } from "../../chunks/runtime.js";
|
|
2
|
+
import { keyed as y } from "lit/directives/keyed.js";
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
|
-
import { debounce as
|
|
4
|
+
import { debounce as f } from "lodash-es";
|
|
5
|
+
import "luxon";
|
|
5
6
|
import "d3-array";
|
|
6
|
-
import { b as
|
|
7
|
-
import { f as
|
|
8
|
-
import { cX as
|
|
7
|
+
import { b as u } from "../../chunks/series-types.js";
|
|
8
|
+
import { f as k } from "../../chunks/rest-js-object-literals.js";
|
|
9
|
+
import { cX as L, aE as V, aC as T } from "../../chunks/index.js";
|
|
9
10
|
import "@arcgis/core/Graphic.js";
|
|
10
11
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
11
12
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -23,17 +24,17 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
23
24
|
import "@arcgis/core/time/TimeExtent.js";
|
|
24
25
|
import "@arcgis/core/core/promiseUtils.js";
|
|
25
26
|
import "@arcgis/toolkit/dom";
|
|
26
|
-
import { r as
|
|
27
|
+
import { r as P } from "../../chunks/popover-ui-utils.js";
|
|
27
28
|
import { H as m, d as a, b as d } from "../../chunks/interfaces.js";
|
|
28
|
-
import { b as
|
|
29
|
+
import { b as x, m as C, U as S, f as N, s as F, c as D, D as B } from "../../chunks/chart-ui-utils2.js";
|
|
29
30
|
import { d as _, s as H } from "../../chunks/store.js";
|
|
30
31
|
import { u as K } from "../../chunks/useT9n.js";
|
|
31
|
-
import { css as
|
|
32
|
+
import { css as A, html as r } from "lit";
|
|
32
33
|
import { createRef as b, ref as v } from "lit/directives/ref.js";
|
|
33
|
-
import { LitElement as
|
|
34
|
+
import { LitElement as U, createEvent as $, renderElement as z, safeStyleMap as O, safeClassMap as s } from "@arcgis/lumina";
|
|
34
35
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
35
36
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
36
|
-
v5.0.0-next.
|
|
37
|
+
v5.0.0-next.125 */
|
|
37
38
|
const o = {
|
|
38
39
|
label: "label",
|
|
39
40
|
row: "row",
|
|
@@ -42,16 +43,16 @@ const o = {
|
|
|
42
43
|
sectionLabel: "section-label",
|
|
43
44
|
binTextPadding: "bin-text-padding",
|
|
44
45
|
histogramStatsList: "histogram-stats-list"
|
|
45
|
-
}, j =
|
|
46
|
-
class q extends
|
|
46
|
+
}, j = A`.hide{display:none}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}: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)}`;
|
|
47
|
+
class q extends U {
|
|
47
48
|
constructor() {
|
|
48
|
-
super(...arguments), this._messages = K(), this.numericalFieldSelectionElement = b(), this.transformationSelectionElement = b(), this.histogramPopover = null, this.binColorSectionElement = b(), this.binSliderElement = b(), this.binInputElement = b(), this.popoverHeading = "", this.onBinCountChange =
|
|
49
|
+
super(...arguments), this._messages = K(), this.numericalFieldSelectionElement = b(), this.transformationSelectionElement = b(), this.histogramPopover = null, this.binColorSectionElement = b(), this.binSliderElement = b(), this.binInputElement = b(), this.popoverHeading = "", this.onBinCountChange = f(() => {
|
|
49
50
|
const e = this.binInputElement.value?.value;
|
|
50
|
-
e !== void 0 &&
|
|
51
|
+
e !== void 0 && x(e, this.binInputElement.value?.min, this.binInputElement.value?.max) ? this.binCountChange(e) : this.binInputElement.value && C({
|
|
51
52
|
inputElement: this.binInputElement.value,
|
|
52
53
|
status: D.INVALID
|
|
53
54
|
});
|
|
54
|
-
}, S.DebounceTimer), this.onBinCountSliderChange =
|
|
55
|
+
}, S.DebounceTimer), this.onBinCountSliderChange = f(() => {
|
|
55
56
|
this.binCountChange(this.binSliderElement.value?.value?.toString() ?? "");
|
|
56
57
|
}, S.DebounceTimer), this.onNormalDistColorSelect = (e) => {
|
|
57
58
|
e.stopImmediatePropagation(), this.onColorElementSelect(this.model.normalDistSymbol, this._messages.normalDistStyle ?? "", this.normalDistOverlayElement);
|
|
@@ -69,7 +70,7 @@ class q extends A {
|
|
|
69
70
|
const { contentKind: t } = e.detail, { value: i } = e.detail;
|
|
70
71
|
switch (_(H), t) {
|
|
71
72
|
case m.transformation:
|
|
72
|
-
this.model.dataTransformationType = i ??
|
|
73
|
+
this.model.dataTransformationType = i ?? u.None;
|
|
73
74
|
break;
|
|
74
75
|
case m.numericFields:
|
|
75
76
|
this.model.numericField = i ?? "";
|
|
@@ -129,18 +130,18 @@ class q extends A {
|
|
|
129
130
|
t?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
130
131
|
}
|
|
131
132
|
removeHistogramDataPopover() {
|
|
132
|
-
this.histogramPopover !== null && (this.histogramPopover =
|
|
133
|
+
this.histogramPopover !== null && (this.histogramPopover = P(this.histogramPopover));
|
|
133
134
|
}
|
|
134
135
|
getDataTransformationLabel() {
|
|
135
136
|
let e;
|
|
136
137
|
switch (this.model.dataTransformationType) {
|
|
137
|
-
case
|
|
138
|
+
case u.None:
|
|
138
139
|
e = this._messages.none ?? "";
|
|
139
140
|
break;
|
|
140
|
-
case
|
|
141
|
+
case u.Log:
|
|
141
142
|
e = this._messages.log ?? "";
|
|
142
143
|
break;
|
|
143
|
-
case
|
|
144
|
+
case u.Sqrt:
|
|
144
145
|
e = this._messages.sqRt ?? "";
|
|
145
146
|
break;
|
|
146
147
|
default:
|
|
@@ -193,7 +194,7 @@ class q extends A {
|
|
|
193
194
|
}));
|
|
194
195
|
}
|
|
195
196
|
onColorElementSelect(e, t, i) {
|
|
196
|
-
this.binColorSelected = i === void 0, e.type ===
|
|
197
|
+
this.binColorSelected = i === void 0, e.type === k.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();
|
|
197
198
|
}
|
|
198
199
|
onNumericFieldSelect(e) {
|
|
199
200
|
e.stopImmediatePropagation(), this.selectedNumericalField = this.model.numericField, this.contentKind = m.numericFields, this.setupPopover();
|
|
@@ -244,20 +245,20 @@ class q extends A {
|
|
|
244
245
|
this.selectedOverlayKind = this.overlaySectionElement?.value, t = this.overlaySectionElement, g = this.selectedOverlaySymbol, i = this.popoverHeading, h = void 0, l = void 0, n = void 0;
|
|
245
246
|
break;
|
|
246
247
|
}
|
|
247
|
-
this.histogramPopover =
|
|
248
|
+
this.histogramPopover = z(r`<arcgis-charts-config-histogram-popover .headingTitle=${i} .referenceElement=${t} open .contentKind=${this.contentKind} .layerFieldsInfo=${e} .placement=${c} .selectedNumericField=${n} .selectedTransformationType=${l} .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);
|
|
248
249
|
}
|
|
249
250
|
renderFieldSelect() {
|
|
250
|
-
return r`<arcgis-charts-config-field-select .label=${
|
|
251
|
+
return r`<arcgis-charts-config-field-select .label=${L(this.layerFieldsInfo, this.model.numericField)} @click=${this.onNumericFieldSelect} ${v(this.numericalFieldSelectionElement)}></arcgis-charts-config-field-select>`;
|
|
251
252
|
}
|
|
252
253
|
renderDataTransformationType() {
|
|
253
254
|
return r`<arcgis-charts-config-field-select .label=${this.getDataTransformationLabel()} @click=${this.onTransformationSelect} ${v(this.transformationSelectionElement)}></arcgis-charts-config-field-select>`;
|
|
254
255
|
}
|
|
255
256
|
renderColorListItem(e) {
|
|
256
|
-
const { textLabel: t, key: i, value: c, selected: l, ref: n, colorAction: h, color: g } = e, [
|
|
257
|
-
return
|
|
257
|
+
const { textLabel: t, key: i, value: c, selected: l, ref: n, colorAction: h, color: g } = e, [p, E, w, M] = [...g ?? V()];
|
|
258
|
+
return y(i, r`<calcite-list-item .label=${t ?? ""} .value=${c} .selected=${l} ${v(n ?? void 0)}><calcite-action text=color slot=actions-end appearance=transparent @click=${h}><calcite-icon icon=line-solid style=${O(p !== void 0 ? { color: `rgba(${p},${E},${w},${(M ?? 0) / 255})` } : {})}></calcite-icon></calcite-action></calcite-list-item>`);
|
|
258
259
|
}
|
|
259
260
|
renderBinColorElement() {
|
|
260
|
-
const [e, t, i, c] = [...this.model.binSymbol?.color ??
|
|
261
|
+
const [e, t, i, c] = [...this.model.binSymbol?.color ?? T(0)];
|
|
261
262
|
return r`<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=${O({ color: `rgba(${e},${t},${i},${c / 255})` })} class=${s(o.iconSelect)}></calcite-icon></calcite-list-item></calcite-list>`;
|
|
262
263
|
}
|
|
263
264
|
renderNormalDistOverlay() {
|
|
@@ -319,7 +320,7 @@ class q extends A {
|
|
|
319
320
|
return r`<calcite-list label selection-mode=multiple @calciteListChange=${this.onOverlayListChange}>${this.renderNormalDistOverlay()}${this.renderMeanOverlay()}${this.renderMedianOverlay()}${this.renderStandardDevOverlay()}</calcite-list>`;
|
|
320
321
|
}
|
|
321
322
|
renderStatItem(e) {
|
|
322
|
-
return
|
|
323
|
+
return y(e, r`<calcite-list-item .label=${this._messages[e]} .description=${this.getStatValue(e)} .value=${e}></calcite-list-item>`);
|
|
323
324
|
}
|
|
324
325
|
renderStats() {
|
|
325
326
|
const e = Object.values(d);
|
|
@@ -336,7 +337,7 @@ class q extends A {
|
|
|
336
337
|
return r`<div class=${s(o.sectionLabel)}>${this._messages.variables}</div><calcite-label class=${s(o.label)}>${this._messages.number}${e}</calcite-label><calcite-label class=${s(o.label)}>${this._messages.withTransformation}${t}</calcite-label><div class=${s(o.sectionLabel)}>${this._messages.bins}</div><p class=${s(o.binTextPadding)}>${this._messages.numberOfBins}</p>${this.renderBinsSection()}${this.renderBinColorElement()}<div class=${s(o.sectionLabel)}>${this._messages.overlays}</div>${this.renderOverlayList()}${this.renderShowDataLabels()}<div class=${s(o.sectionLabel)}>${this._messages.statistics}</div>${this.renderStats()}`;
|
|
337
338
|
}
|
|
338
339
|
}
|
|
339
|
-
|
|
340
|
+
I("arcgis-charts-config-histogram-data", q);
|
|
340
341
|
export {
|
|
341
342
|
q as ArcgisChartsConfigHistogramData
|
|
342
343
|
};
|