@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
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as o } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as u, html as h } from "lit";
|
|
3
|
-
import { b as
|
|
4
|
-
import { u as
|
|
3
|
+
import { b as p, m, s as g, c as r } from "../../chunks/chart-ui-utils2.js";
|
|
4
|
+
import { u as d } from "../../chunks/useT9n.js";
|
|
5
5
|
import { createRef as b, ref as f } from "lit/directives/ref.js";
|
|
6
|
-
import { LitElement as
|
|
6
|
+
import { LitElement as F, createEvent as v, safeClassMap as i } from "@arcgis/lumina";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
-
v5.0.0-next.
|
|
10
|
-
const
|
|
9
|
+
v5.0.0-next.125 */
|
|
10
|
+
const s = {
|
|
11
11
|
container: "container",
|
|
12
12
|
label: "label",
|
|
13
13
|
numberInput: "number-input"
|
|
14
|
-
},
|
|
15
|
-
class
|
|
14
|
+
}, C = u`.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)}.container{width:var(--arcgis-charts-config-calcite-block-width, var(--arcgis-charts-config-calcite-block-default-width));height:var(--arcgis-charts-config-calcite-block-height, var(--arcgis-charts-config-calcite-block-default-height));margin-top:.5rem}.container>.number-input{margin-bottom:.5rem;display:flex}.container>.number-input>div{width:100%}.label{display:flex;margin-bottom:.5rem;justify-content:space-between}`;
|
|
15
|
+
class I extends F {
|
|
16
16
|
constructor() {
|
|
17
|
-
super(...arguments), this._messages =
|
|
17
|
+
super(...arguments), this._messages = d(), this.decimalPlacesInputElement = b(), this.arcgisChartsConfigNumberFormatChange = v();
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
20
20
|
this.properties = { messageOverrides: 0, numberFormat: 0 };
|
|
21
21
|
}
|
|
22
22
|
static {
|
|
23
|
-
this.styles =
|
|
23
|
+
this.styles = C;
|
|
24
24
|
}
|
|
25
25
|
onDecimalPlacesChange() {
|
|
26
|
-
const t = this.decimalPlacesInputElement.value?.value, a = Math.floor(Number(t)),
|
|
27
|
-
if (t !== void 0 &&
|
|
28
|
-
const
|
|
26
|
+
const t = this.decimalPlacesInputElement.value?.value, a = Math.floor(Number(t)), n = a === Number(t) && a >= 0;
|
|
27
|
+
if (t !== void 0 && n && p(t, this.decimalPlacesInputElement.value?.min, this.decimalPlacesInputElement.value?.max)) {
|
|
28
|
+
const c = Number.parseInt(t), e = {
|
|
29
29
|
minimumFractionDigits: this.numberFormat?.minimumFractionDigits,
|
|
30
|
-
maximumFractionDigits:
|
|
30
|
+
maximumFractionDigits: c
|
|
31
31
|
};
|
|
32
32
|
e.maximumFractionDigits !== void 0 && e.minimumFractionDigits !== void 0 && e.minimumFractionDigits > e.maximumFractionDigits && (e.minimumFractionDigits = e.maximumFractionDigits);
|
|
33
|
-
const
|
|
34
|
-
this.arcgisChartsConfigNumberFormatChange.emit(
|
|
33
|
+
const l = this.getUpdatedNumberFormat(e);
|
|
34
|
+
this.arcgisChartsConfigNumberFormatChange.emit(l), this.decimalPlacesInputElement.value && m({
|
|
35
35
|
inputElement: this.decimalPlacesInputElement.value,
|
|
36
|
-
status:
|
|
36
|
+
status: r.IDLE
|
|
37
37
|
});
|
|
38
|
-
} else this.decimalPlacesInputElement.value &&
|
|
38
|
+
} else this.decimalPlacesInputElement.value && m({
|
|
39
39
|
inputElement: this.decimalPlacesInputElement.value,
|
|
40
|
-
status:
|
|
40
|
+
status: r.INVALID
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
43
|
onShowThousandsSeparatorChange(t) {
|
|
44
|
-
const a = t.target.checked,
|
|
44
|
+
const a = t.target.checked, n = this.getUpdatedNumberFormat({
|
|
45
45
|
useGrouping: a
|
|
46
46
|
});
|
|
47
|
-
this.arcgisChartsConfigNumberFormatChange.emit(
|
|
47
|
+
this.arcgisChartsConfigNumberFormatChange.emit(n);
|
|
48
48
|
}
|
|
49
49
|
getUpdatedNumberFormat(t) {
|
|
50
50
|
return {
|
|
@@ -53,10 +53,10 @@ class w extends x {
|
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return h`<div class=${i(
|
|
56
|
+
return h`<div class=${i(s.container)}><calcite-label class=${i(s.label)}>${this._messages.decimalPlaces}<calcite-input type=number class=${i(s.numberInput)} min=0 max=20 step=1 .value=${g(this.numberFormat?.maximumFractionDigits, 2)} @calciteInputInput=${this.onDecimalPlacesChange} ${f(this.decimalPlacesInputElement)}></calcite-input></calcite-label><calcite-label layout=inline-space-between class=${i(s.label)}>${this._messages.showThousandSeparators}<calcite-switch name=useGrouping .checked=${!!(this.numberFormat?.useGrouping ?? !0)} @calciteSwitchChange=${this.onShowThousandsSeparatorChange}></calcite-switch></calcite-label></div>`;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
|
|
59
|
+
o("arcgis-charts-config-number-format", I);
|
|
60
60
|
export {
|
|
61
|
-
|
|
61
|
+
I as ArcgisChartsConfigNumberFormat
|
|
62
62
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { c as C } from "../../chunks/runtime.js";
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import { isEqual as c, cloneDeep as d } from "lodash-es";
|
|
4
|
+
import "luxon";
|
|
4
5
|
import "d3-array";
|
|
5
6
|
import "../../chunks/series-types.js";
|
|
6
7
|
import { f as u } from "../../chunks/rest-js-object-literals.js";
|
|
@@ -8,6 +9,7 @@ import { bE as y, bG as I } from "../../chunks/index.js";
|
|
|
8
9
|
import "@arcgis/core/Graphic.js";
|
|
9
10
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
10
11
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
12
|
+
import "@esri/arcgis-html-sanitizer";
|
|
11
13
|
import "@arcgis/core/intl.js";
|
|
12
14
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
13
15
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -28,7 +30,7 @@ import { css as L, html as n } from "lit";
|
|
|
28
30
|
import { C as h } from "../../chunks/interfaces.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
|
const S = L`: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%}`;
|
|
33
35
|
class b extends F {
|
|
34
36
|
constructor() {
|
|
@@ -2,6 +2,7 @@ import { c as f } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { keyed as C } from "lit/directives/keyed.js";
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import "lodash-es";
|
|
5
|
+
import "luxon";
|
|
5
6
|
import "d3-array";
|
|
6
7
|
import { a as u } from "../../chunks/series-types.js";
|
|
7
8
|
import { d as c, cX as m, bJ as b } from "../../chunks/index.js";
|
|
@@ -32,7 +33,7 @@ import { LitElement as $, createEvent as p, renderElement as P, safeClassMap as
|
|
|
32
33
|
import { x as E } from "../../chunks/data.js";
|
|
33
34
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
34
35
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
35
|
-
v5.0.0-next.
|
|
36
|
+
v5.0.0-next.125 */
|
|
36
37
|
const l = {
|
|
37
38
|
label: "label",
|
|
38
39
|
fieldList: "field-list",
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as v } from "../../chunks/runtime.js";
|
|
2
2
|
import { repeat as h } from "lit/directives/repeat.js";
|
|
3
3
|
import { keyed as g } from "lit/directives/keyed.js";
|
|
4
4
|
import "@arcgis/toolkit/intl";
|
|
5
|
-
import { isEqual as
|
|
5
|
+
import { isEqual as k } from "lodash-es";
|
|
6
|
+
import "luxon";
|
|
6
7
|
import "d3-array";
|
|
7
8
|
import "../../chunks/series-types.js";
|
|
8
9
|
import { R as $ } from "../../chunks/rest-js-object-literals.js";
|
|
9
|
-
import { bq as
|
|
10
|
+
import { bq as L, cX as y, bM as P, bK as F } 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";
|
|
@@ -24,18 +25,18 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
24
25
|
import "@arcgis/core/time/TimeExtent.js";
|
|
25
26
|
import "@arcgis/core/core/promiseUtils.js";
|
|
26
27
|
import "@arcgis/toolkit/dom";
|
|
27
|
-
import { e as
|
|
28
|
+
import { e as I, p as D } from "../../chunks/popover-ui-utils.js";
|
|
28
29
|
import { P as r } from "../../chunks/common.js";
|
|
29
30
|
import { P as a } from "../../chunks/interfaces.js";
|
|
30
|
-
import { p as
|
|
31
|
-
import { u } from "../../chunks/useT9n.js";
|
|
32
|
-
import { css as
|
|
33
|
-
import { createRef as
|
|
34
|
-
import { LitElement as
|
|
31
|
+
import { p as u, U as x, i as p, e as S } from "../../chunks/chart-ui-utils2.js";
|
|
32
|
+
import { u as f } from "../../chunks/useT9n.js";
|
|
33
|
+
import { css as T, html as n } from "lit";
|
|
34
|
+
import { createRef as C, ref as d } from "lit/directives/ref.js";
|
|
35
|
+
import { LitElement as E, createEvent as b, safeClassMap as l } from "@arcgis/lumina";
|
|
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 o = {
|
|
39
40
|
jsAppFlyout: "js-app-flyout",
|
|
40
41
|
name: "pie-chart-data-popover",
|
|
41
42
|
numericFieldPickList: "pie-chart-data-numeric-fields-pick-list",
|
|
@@ -44,35 +45,35 @@ const n = {
|
|
|
44
45
|
pickListItemLabel: "pick-list-item-label",
|
|
45
46
|
flipClass: "sort-counter-clockwise",
|
|
46
47
|
panel: "panel"
|
|
47
|
-
},
|
|
48
|
-
class
|
|
48
|
+
}, A = T`.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}.fab{display:flex;justify-content:stretch}.pick-list-item-label{font-size:small}.sort-icon-color{color:#000}.sort-counter-clockwise{transform:scaleX(-1)}.panel{max-height:60vh}`;
|
|
49
|
+
class K extends E {
|
|
49
50
|
constructor() {
|
|
50
|
-
super(...arguments), this._messages =
|
|
51
|
+
super(...arguments), this._messages = f(), this.commonStrings = f({ name: "common", blocking: !0 }), this.picklist = C(), this.popoverElement = C(), this.placement = "leading", this.offsetDistance = -200, this.pickListHasChanged = !1, this.aggregationLabels = [], this.layerFieldsInfo = [], this.arcgisChartsConfigPieChartDataPopoverChange = b(), this.arcgisChartsConfigPopoverClose = b();
|
|
51
52
|
}
|
|
52
53
|
static {
|
|
53
54
|
this.properties = { aggregationLabels: 16, messageOverrides: 0, headingTitle: 1, referenceElement: 0, open: 5, contentKind: 1, layerFieldsInfo: 0, selectedContent: 1 };
|
|
54
55
|
}
|
|
55
56
|
static {
|
|
56
|
-
this.styles =
|
|
57
|
+
this.styles = A;
|
|
57
58
|
}
|
|
58
59
|
async reposition() {
|
|
59
60
|
await this.popoverElement.value?.reposition();
|
|
60
61
|
}
|
|
61
62
|
willUpdate(e) {
|
|
62
63
|
e.has("selectedContent") && this.selectedContentChange(this.selectedContent, e.get("selectedContent"));
|
|
63
|
-
const t =
|
|
64
|
-
|
|
64
|
+
const t = u.map((i) => L(i, this.commonStrings));
|
|
65
|
+
k(this.aggregationLabels, t) || (this.aggregationLabels = t);
|
|
65
66
|
}
|
|
66
67
|
updated() {
|
|
67
|
-
|
|
68
|
+
I(this.popoverElement.value, this.open), setTimeout(() => {
|
|
68
69
|
this.picklist.value?.setFocus();
|
|
69
|
-
},
|
|
70
|
+
}, x.PopoverTimer);
|
|
70
71
|
}
|
|
71
72
|
selectedContentChange(e, t) {
|
|
72
|
-
this.pickListHasChanged =
|
|
73
|
+
this.pickListHasChanged = D(e, t);
|
|
73
74
|
}
|
|
74
75
|
buildAggregationPickListItems() {
|
|
75
|
-
return h(
|
|
76
|
+
return h(u, (e) => e, (e, t) => n`<calcite-list-item .label=${this.aggregationLabels[t]} .value=${e} .selected=${p(e, this.selectedContent)}></calcite-list-item>`);
|
|
76
77
|
}
|
|
77
78
|
buildSortOrder() {
|
|
78
79
|
const e = Object.keys(r);
|
|
@@ -85,22 +86,22 @@ class A extends T {
|
|
|
85
86
|
i = "string";
|
|
86
87
|
break;
|
|
87
88
|
case r.labelDesc:
|
|
88
|
-
i = "string", s =
|
|
89
|
+
i = "string", s = o.flipClass;
|
|
89
90
|
break;
|
|
90
91
|
case r.valueAsc:
|
|
91
92
|
i = "number";
|
|
92
93
|
break;
|
|
93
94
|
case r.valueDesc:
|
|
94
|
-
i = "number", s =
|
|
95
|
+
i = "number", s = o.flipClass;
|
|
95
96
|
break;
|
|
96
97
|
// Do nothing for customSort for now
|
|
97
98
|
case r.customSort:
|
|
98
99
|
}
|
|
99
|
-
return
|
|
100
|
+
return n`<calcite-list-item .selected=${this.selectedContent === t} .label=${this._messages[t]} .value=${r[t]}><calcite-icon slot=content-end .icon=${i}></calcite-icon><calcite-icon class=${l(s)} slot=content-end .icon=${c}></calcite-icon></calcite-list-item>`;
|
|
100
101
|
});
|
|
101
102
|
}
|
|
102
103
|
buildPickListItem(e) {
|
|
103
|
-
return g(e.name,
|
|
104
|
+
return g(e.name, n`<calcite-list-item .label=${y(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${p(e.name, this.selectedContent)}></calcite-list-item>`);
|
|
104
105
|
}
|
|
105
106
|
buildPickListItems(e) {
|
|
106
107
|
const t = this.layerFieldsInfo?.length ?? 0, i = [];
|
|
@@ -113,7 +114,7 @@ class A extends T {
|
|
|
113
114
|
break;
|
|
114
115
|
}
|
|
115
116
|
case a.category: {
|
|
116
|
-
const c = g(" ",
|
|
117
|
+
const c = g(" ", n`<calcite-list-item label=" " value=" " .selected=${p("", this.selectedContent)}></calcite-list-item>`);
|
|
117
118
|
i.push(c);
|
|
118
119
|
for (let s = 0; s < t; s += 1) {
|
|
119
120
|
const m = this.layerFieldsInfo[s];
|
|
@@ -131,7 +132,7 @@ class A extends T {
|
|
|
131
132
|
eventEmitter: this.arcgisChartsConfigPieChartDataPopoverChange,
|
|
132
133
|
contentKind: this.contentKind
|
|
133
134
|
};
|
|
134
|
-
|
|
135
|
+
S(e);
|
|
135
136
|
}
|
|
136
137
|
this.arcgisChartsConfigPopoverClose.emit();
|
|
137
138
|
}
|
|
@@ -151,19 +152,19 @@ class A extends T {
|
|
|
151
152
|
}
|
|
152
153
|
renderAggregationType() {
|
|
153
154
|
const e = this.buildAggregationPickListItems();
|
|
154
|
-
return
|
|
155
|
+
return n`<calcite-list label class=${l(o.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
155
156
|
}
|
|
156
157
|
renderCategory() {
|
|
157
158
|
const e = this.buildPickListItems(a.category);
|
|
158
|
-
return
|
|
159
|
+
return n`<calcite-list label class=${l(o.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${d(this.picklist)}>${e}</calcite-list>`;
|
|
159
160
|
}
|
|
160
161
|
renderNumericFields() {
|
|
161
162
|
const e = this.buildPickListItems(a.numericFields);
|
|
162
|
-
return
|
|
163
|
+
return n`<calcite-list label class=${l(o.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${d(this.picklist)}>${e}</calcite-list>`;
|
|
163
164
|
}
|
|
164
165
|
renderSortOrder() {
|
|
165
166
|
const e = this.buildSortOrder();
|
|
166
|
-
return
|
|
167
|
+
return n`<calcite-list label selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
167
168
|
}
|
|
168
169
|
renderPopoverInfo() {
|
|
169
170
|
let e;
|
|
@@ -185,10 +186,10 @@ class A extends T {
|
|
|
185
186
|
}
|
|
186
187
|
render() {
|
|
187
188
|
let e;
|
|
188
|
-
return this.contentKind === a.numericFields && (e =
|
|
189
|
+
return this.contentKind === a.numericFields && (e = n`<div slot=footer><calcite-fab class=${l(o.fab)} appearance=outline-fill kind=neutral .icon=${void 0} .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`), n`<div class=${l(o.jsAppFlyout)}><calcite-popover class=${l(o.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .offsetDistance=${this.offsetDistance} .open=${this.open} label auto-close ${d(this.popoverElement)}><calcite-panel class=${l(o.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${l(o.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`;
|
|
189
190
|
}
|
|
190
191
|
}
|
|
191
|
-
|
|
192
|
+
v("arcgis-charts-config-pie-chart-popover", K);
|
|
192
193
|
export {
|
|
193
|
-
|
|
194
|
+
K as ArcgisChartsConfigPieChartPopover
|
|
194
195
|
};
|
|
@@ -5,11 +5,13 @@ import "../../chunks/series-types.js";
|
|
|
5
5
|
import { f as E } from "../../chunks/rest-js-object-literals.js";
|
|
6
6
|
import "@arcgis/toolkit/intl";
|
|
7
7
|
import { debounce as C, isEmpty as N, toNumber as x } from "lodash-es";
|
|
8
|
+
import "luxon";
|
|
8
9
|
import "d3-array";
|
|
9
10
|
import { bu as $, av as S } 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";
|
|
@@ -32,7 +34,7 @@ import { createRef as m, ref as p } from "lit/directives/ref.js";
|
|
|
32
34
|
import { LitElement as M, renderElement as P, safeStyleMap as u, safeClassMap as s } from "@arcgis/lumina";
|
|
33
35
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
34
36
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
35
|
-
v5.0.0-next.
|
|
37
|
+
v5.0.0-next.125 */
|
|
36
38
|
const o = {
|
|
37
39
|
sectionLabel: "section-label",
|
|
38
40
|
label: "label",
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { c } from "../../chunks/runtime.js";
|
|
1
|
+
import { c as n } 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 "luxon";
|
|
5
6
|
import "d3-array";
|
|
6
7
|
import "../../chunks/series-types.js";
|
|
7
|
-
import { ap as
|
|
8
|
+
import { ap as h } from "../../chunks/index.js";
|
|
8
9
|
import "@arcgis/core/Graphic.js";
|
|
9
10
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
10
11
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
12
|
+
import "@esri/arcgis-html-sanitizer";
|
|
11
13
|
import "@arcgis/core/intl.js";
|
|
12
14
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
13
15
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -22,33 +24,33 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
22
24
|
import "@arcgis/core/time/TimeExtent.js";
|
|
23
25
|
import "@arcgis/core/core/promiseUtils.js";
|
|
24
26
|
import "@arcgis/toolkit/dom";
|
|
25
|
-
import { e as
|
|
27
|
+
import { e as d } from "../../chunks/popover-ui-utils.js";
|
|
26
28
|
import { U as g } from "../../chunks/chart-ui-utils2.js";
|
|
27
|
-
import { u as
|
|
28
|
-
import { createRef as
|
|
29
|
+
import { u as C } from "../../chunks/useT9n.js";
|
|
30
|
+
import { createRef as v, ref as f } from "lit/directives/ref.js";
|
|
29
31
|
import { LitElement as u, createEvent as o, safeClassMap as i } from "@arcgis/lumina";
|
|
30
32
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
31
33
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
32
|
-
v5.0.0-next.
|
|
34
|
+
v5.0.0-next.125 */
|
|
33
35
|
const s = {
|
|
34
36
|
jsAppFlyout: "js-app-flyout",
|
|
35
37
|
panelChildrenContainer: "panel-children-container"
|
|
36
|
-
},
|
|
37
|
-
class
|
|
38
|
+
}, y = p`.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{overflow-y:auto;width:min-content}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}`;
|
|
39
|
+
class $ extends u {
|
|
38
40
|
constructor() {
|
|
39
|
-
super(...arguments), this._messages =
|
|
41
|
+
super(...arguments), this._messages = C(), this.popoverElement = v(), this.selectedSliceId = "", this.arcgisChartsConfigPopoverClose = o(), this.arcgisChartsConfigSlicesPopoverColorChange = o(), this.arcgisChartsConfigSlicesPopoverNameChange = o();
|
|
40
42
|
}
|
|
41
43
|
static {
|
|
42
44
|
this.properties = { messageOverrides: 0, referenceElement: 0, selectedName: 1, selectedColor: 0, selectedSliceId: 1, placement: 1, open: 5 };
|
|
43
45
|
}
|
|
44
46
|
static {
|
|
45
|
-
this.styles =
|
|
47
|
+
this.styles = y;
|
|
46
48
|
}
|
|
47
49
|
async reposition() {
|
|
48
50
|
await this.popoverElement.value?.reposition();
|
|
49
51
|
}
|
|
50
52
|
updated() {
|
|
51
|
-
|
|
53
|
+
d(this.popoverElement.value, this.open), this.hasUpdated || setTimeout(() => {
|
|
52
54
|
this.popoverElement.value?.reposition();
|
|
53
55
|
}, g.PopoverTimer);
|
|
54
56
|
}
|
|
@@ -62,17 +64,17 @@ class x extends u {
|
|
|
62
64
|
});
|
|
63
65
|
}
|
|
64
66
|
colorChange(e) {
|
|
65
|
-
const t = e instanceof CustomEvent ? e.detail : e, [
|
|
66
|
-
this.selectedColor = [
|
|
67
|
+
const t = e instanceof CustomEvent ? e.detail : e, [r, a, l] = t, c = h * 255;
|
|
68
|
+
this.selectedColor = [r, a, l, c], this.arcgisChartsConfigSlicesPopoverColorChange.emit({ color: [r, a, l, c] });
|
|
67
69
|
}
|
|
68
70
|
render() {
|
|
69
71
|
const e = this.selectedColor !== void 0 ? [...this.selectedColor] : void 0;
|
|
70
72
|
return m`<div class=${i({
|
|
71
73
|
[s.jsAppFlyout]: !0
|
|
72
|
-
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .open=${this.open} label auto-close ${
|
|
74
|
+
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .open=${this.open} label auto-close ${f(this.popoverElement)}><calcite-panel .heading=${this._messages.sliceStyle} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div class=${i(s.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${this.selectedName} @calciteInputInput=${this.sliceNameChange}></calcite-input></calcite-label></div><div class=${i(s.panelChildrenContainer)}><arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></calcite-panel></calcite-popover></div>`;
|
|
73
75
|
}
|
|
74
76
|
}
|
|
75
|
-
|
|
77
|
+
n("arcgis-charts-config-pie-chart-slices-popover", $);
|
|
76
78
|
export {
|
|
77
|
-
|
|
79
|
+
$ as ArcgisChartsConfigPieChartSlicesPopover
|
|
78
80
|
};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { c as r } from "../../chunks/runtime.js";
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import { isEqual as n } from "lodash-es";
|
|
4
|
+
import "luxon";
|
|
4
5
|
import "d3-array";
|
|
5
6
|
import "../../chunks/series-types.js";
|
|
6
7
|
import { bE as l, bG as c, cx 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";
|
|
@@ -22,19 +24,19 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
22
24
|
import "@arcgis/core/core/promiseUtils.js";
|
|
23
25
|
import { h as d } from "../../chunks/index4.js";
|
|
24
26
|
import "@arcgis/toolkit/dom";
|
|
25
|
-
import { LitElement as m, createEvent as
|
|
26
|
-
import { css as
|
|
27
|
+
import { LitElement as m, createEvent as p } from "@arcgis/lumina";
|
|
28
|
+
import { css as g, html as a } from "lit";
|
|
27
29
|
import { C as o } 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.
|
|
31
|
-
const f =
|
|
32
|
+
v5.0.0-next.125 */
|
|
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 u extends m {
|
|
33
35
|
constructor() {
|
|
34
36
|
super(...arguments), this.onModelConfigChange = async (e) => {
|
|
35
37
|
const i = e?.detail.config ?? this.model.config;
|
|
36
38
|
this.layer === void 0 && await this.updateFetchLayerFieldsInfo(i);
|
|
37
|
-
}, this.popoverPlacement = "leading", this.arcgisChartsConfigWebChartChange =
|
|
39
|
+
}, this.popoverPlacement = "leading", this.arcgisChartsConfigWebChartChange = p();
|
|
38
40
|
}
|
|
39
41
|
static {
|
|
40
42
|
this.properties = { layerFieldsInfo: 16, model: 0, popoverPlacement: 1, r2: 9, calculatedDataMinMaxBounds: 0, calculatedMinMaxBounds: 0, page: 1, layer: 0, usePopupTemplateFieldsInfo: 5 };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { c as P } from "../../chunks/runtime.js";
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
3
|
import { cloneDeep as T, isEmpty as F, toNumber as $ } from "lodash-es";
|
|
4
|
+
import "luxon";
|
|
4
5
|
import "d3-array";
|
|
5
6
|
import { W as f } from "../../chunks/series-types.js";
|
|
6
7
|
import { f as v } from "../../chunks/rest-js-object-literals.js";
|
|
7
|
-
import { bt as L, cX as
|
|
8
|
+
import { bt as L, cX as b, aC as z, ap as A } from "../../chunks/index.js";
|
|
8
9
|
import "@arcgis/core/Graphic.js";
|
|
9
10
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
10
11
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -22,17 +23,17 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
22
23
|
import "@arcgis/core/time/TimeExtent.js";
|
|
23
24
|
import "@arcgis/core/core/promiseUtils.js";
|
|
24
25
|
import "@arcgis/toolkit/dom";
|
|
25
|
-
import { r as
|
|
26
|
+
import { r as C } from "../../chunks/popover-ui-utils.js";
|
|
26
27
|
import { S as a, c as d } from "../../chunks/interfaces.js";
|
|
27
|
-
import { d as
|
|
28
|
-
import { b as S, m as g, f as
|
|
29
|
-
import { u as
|
|
28
|
+
import { d as k, s as m } from "../../chunks/store.js";
|
|
29
|
+
import { b as S, m as g, f as M, s as y, D as w, c as u } from "../../chunks/chart-ui-utils2.js";
|
|
30
|
+
import { u as x } from "../../chunks/useT9n.js";
|
|
30
31
|
import { css as V, html as r } from "lit";
|
|
31
32
|
import { createRef as h, ref as c } from "lit/directives/ref.js";
|
|
32
33
|
import { LitElement as _, createEvent as E, renderElement as D, safeClassMap as i, safeStyleMap as I } from "@arcgis/lumina";
|
|
33
34
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
34
35
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
35
|
-
v5.0.0-next.
|
|
36
|
+
v5.0.0-next.125 */
|
|
36
37
|
const l = {
|
|
37
38
|
label: "label",
|
|
38
39
|
r2: "r2",
|
|
@@ -43,10 +44,10 @@ const l = {
|
|
|
43
44
|
sectionContainer: "section-container",
|
|
44
45
|
multiInputSection: "multi-input-section",
|
|
45
46
|
dimText: "dim-text"
|
|
46
|
-
}, N = V`.hide{display:none}.am5-
|
|
47
|
+
}, N = V`.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)}:host .number-input{margin-bottom:.5rem;display:flex}:host .number-input>div{width:100%}calcite-list-item{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor)}calcite-slider{margin-top:-1.5rem}.r2{margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor)}.label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.section-container{display:flex;flex-direction:column}.icon-select{cursor:pointer}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.switch-element{margin-right:var(--arcgis-charts-config-margin-minor)}.multi-input-section{display:flex;justify-content:space-between;align-items:center}`;
|
|
47
48
|
class K extends _ {
|
|
48
49
|
constructor() {
|
|
49
|
-
super(...arguments), this._messages =
|
|
50
|
+
super(...arguments), this._messages = x(), this.commonStrings = x({ name: "common", blocking: !0 }), this.scatterplotPopover = null, this.selectColorElement = h(), this.selectTrendLineElement = h(), this.xAxisElement = h(), this.yAxisElement = h(), this.tooltipFieldElement = h(), this.sizeVariableElement = h(), this.colorModeElement = h(), this.symbolSizeModeElement = h(), this.minSizeInputElement = h(), this.maxSizeInputElement = h(), this.items = [], this.setTrendLineSymbol = (e) => {
|
|
50
51
|
const t = e.detail;
|
|
51
52
|
this.model.linearTrendSymbol = T(t);
|
|
52
53
|
}, this.setFixedSymbolRGBAColor = (e) => {
|
|
@@ -58,7 +59,7 @@ class K extends _ {
|
|
|
58
59
|
}, this.setXYField = (e) => {
|
|
59
60
|
try {
|
|
60
61
|
const t = e.detail;
|
|
61
|
-
|
|
62
|
+
k(m), this.contentKind === a.xAxisField ? this.model.xAxisField = t : this.model.yAxisField = t, this.removeScatterplotPopover();
|
|
62
63
|
} catch (t) {
|
|
63
64
|
throw t instanceof Error && this.arcgisChartsConfigDataChangeError.emit({ error: t, model: this.model }), t;
|
|
64
65
|
}
|
|
@@ -219,7 +220,7 @@ class K extends _ {
|
|
|
219
220
|
e.stopImmediatePropagation(), this.contentKind = a.sizeVariable, this.selectedElement = this.model.sizePolicy?.field ?? "";
|
|
220
221
|
}
|
|
221
222
|
setupPopover() {
|
|
222
|
-
this.scatterplotPopover =
|
|
223
|
+
this.scatterplotPopover = C(this.scatterplotPopover);
|
|
223
224
|
const e = [...this.layerFieldsInfo];
|
|
224
225
|
let t, s, o, n = "trailing";
|
|
225
226
|
switch (this.contentKind) {
|
|
@@ -248,39 +249,39 @@ class K extends _ {
|
|
|
248
249
|
this.scatterplotPopover = D(r`<arcgis-charts-config-scatter-plot-popover .headingTitle=${s} .referenceElement=${t} open .contentKind=${this.contentKind} .layerFieldsInfo=${e} .selectedContent=${o} .placement=${n} @arcgisChartsConfigPopoverClose=${this.closeScatterplotPopover} @arcgisChartsConfigScatterplotFillColorChange=${this.setFixedSymbolRGBAColor} @arcgisChartsConfigScatterplotLineStyleChange=${this.setTrendLineSymbol} @arcgisChartsConfigScatterplotXYFieldChange=${this.setXYField} @arcgisChartsConfigScatterplotSizeVariableFieldChange=${this.setSizeVariableField} @arcgisChartsConfigScatterplotAdditionalTooltipFieldChange=${this.setAdditionalTooltipField}></arcgis-charts-config-scatter-plot-popover>`), !document.body.contains(this.scatterplotPopover) && this.scatterplotPopover !== null && document.body.appendChild(this.scatterplotPopover);
|
|
249
250
|
}
|
|
250
251
|
removeScatterplotPopover() {
|
|
251
|
-
this.scatterplotPopover !== null && (this.scatterplotPopover =
|
|
252
|
+
this.scatterplotPopover !== null && (this.scatterplotPopover = C(this.scatterplotPopover)), this.selectedElement = void 0;
|
|
252
253
|
}
|
|
253
254
|
getCurrentSymbolSizeType() {
|
|
254
255
|
const e = this.model.sizePolicy;
|
|
255
256
|
return e === void 0 || e.field === "" ? d.Fixed : d.Proportional;
|
|
256
257
|
}
|
|
257
258
|
renderXVariable() {
|
|
258
|
-
return r`<arcgis-charts-config-field-select .label=${
|
|
259
|
+
return r`<arcgis-charts-config-field-select .label=${b(this.layerFieldsInfo, this.model.xAxisField ?? "")} @click=${this.onXVariableSelectChange} ${c(this.xAxisElement)}></arcgis-charts-config-field-select>`;
|
|
259
260
|
}
|
|
260
261
|
renderYVariable() {
|
|
261
|
-
return r`<arcgis-charts-config-field-select .label=${
|
|
262
|
+
return r`<arcgis-charts-config-field-select .label=${b(this.layerFieldsInfo, this.model.yAxisField ?? "")} @click=${this.onYVariableSelectChange} ${c(this.yAxisElement)}></arcgis-charts-config-field-select>`;
|
|
262
263
|
}
|
|
263
264
|
renderTooltipField() {
|
|
264
|
-
return r`<arcgis-charts-config-field-select .disabled=${this.model.dataStore.aggregated} .label=${
|
|
265
|
+
return r`<arcgis-charts-config-field-select .disabled=${this.model.dataStore.aggregated} .label=${b(this.layerFieldsInfo, this.model.additionalTooltipField?.[0] ?? "")} @click=${this.onAdditionalTooltipFieldSelectChange} ${c(this.tooltipFieldElement)}></arcgis-charts-config-field-select>`;
|
|
265
266
|
}
|
|
266
267
|
renderStatistics() {
|
|
267
268
|
const [e, t, s, o] = [...this.model.linearTrendSymbol?.color ?? z(0)];
|
|
268
|
-
return r`<div class=${i(l.sectionContainer)}><calcite-label class=${i(l.label)} layout=inline-space-between>${this._messages.showLinearTrend}<calcite-switch class=${i(l.switchElement)} .checked=${this.model.showLinearTrend} @calciteSwitchChange=${this.setShowTrendLine}></calcite-switch></calcite-label><calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .label=${this._messages.trendLineStyle} value=selectTrendLine .hidden=${!this.model.showLinearTrend} .selected=${this.selectedElement?.type === v.SLS} @click=${this.changeElementStyle} ${c(this.selectTrendLineElement)}><calcite-icon slot=content-end icon=line-solid style=${I({ color: `rgba(${e},${t},${s},${o / 255})` })} class=${i(l.iconSelect)} @click=${this.changeElementStyle}></calcite-icon></calcite-list-item></calcite-list><div class=${i(l.r2)} .hidden=${!this.model.showLinearTrend}>${`${this._messages.r2}: ${Number.isNaN(this.r2) ? this.defaultR2Label :
|
|
269
|
+
return r`<div class=${i(l.sectionContainer)}><calcite-label class=${i(l.label)} layout=inline-space-between>${this._messages.showLinearTrend}<calcite-switch class=${i(l.switchElement)} .checked=${this.model.showLinearTrend} @calciteSwitchChange=${this.setShowTrendLine}></calcite-switch></calcite-label><calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .label=${this._messages.trendLineStyle} value=selectTrendLine .hidden=${!this.model.showLinearTrend} .selected=${this.selectedElement?.type === v.SLS} @click=${this.changeElementStyle} ${c(this.selectTrendLineElement)}><calcite-icon slot=content-end icon=line-solid style=${I({ color: `rgba(${e},${t},${s},${o / 255})` })} class=${i(l.iconSelect)} @click=${this.changeElementStyle}></calcite-icon></calcite-list-item></calcite-list><div class=${i(l.r2)} .hidden=${!this.model.showLinearTrend}>${`${this._messages.r2}: ${Number.isNaN(this.r2) ? this.defaultR2Label : M(this.r2, w)}`}</div></div>`;
|
|
269
270
|
}
|
|
270
271
|
renderFixedSymbol() {
|
|
271
|
-
return r`<calcite-label class=${i(l.label)}>${this._messages.size}<calcite-input type=number name=fixed-symbol-size class=${i(l.numberInput)} min=1 max=100 step=1 .value=${
|
|
272
|
+
return r`<calcite-label class=${i(l.label)}>${this._messages.size}<calcite-input type=number name=fixed-symbol-size class=${i(l.numberInput)} min=1 max=100 step=1 .value=${y(this.model.fixedMarkerSymbol?.size)} @calciteInputInput=${this.symbolSizeChange}></calcite-input></calcite-label>`;
|
|
272
273
|
}
|
|
273
274
|
renderSizeVariable() {
|
|
274
|
-
return r`<arcgis-charts-config-field-select .label=${
|
|
275
|
+
return r`<arcgis-charts-config-field-select .label=${b(this.layerFieldsInfo, this.model.sizePolicy?.field ?? "")} .invalid=${this.layerFieldsInfo.find((e) => e.name === this.model.sizePolicy?.field) === void 0} @click=${this.onSizeVariableSelectChange} ${c(this.sizeVariableElement)}></arcgis-charts-config-field-select>`;
|
|
275
276
|
}
|
|
276
277
|
renderMinSizeInput() {
|
|
277
|
-
return r`<calcite-input type=number name=proportional-symbol-min-size class=${i(l.numberInput)} min=1 .max=${this.model.sizePolicy?.maxSize ?? 100} step=1 .value=${
|
|
278
|
+
return r`<calcite-input type=number name=proportional-symbol-min-size class=${i(l.numberInput)} min=1 .max=${this.model.sizePolicy?.maxSize ?? 100} step=1 .value=${y(this.model.sizePolicy?.minSize)} @calciteInputInput=${this.symbolSizeChange} ${c(this.minSizeInputElement)}></calcite-input>`;
|
|
278
279
|
}
|
|
279
280
|
renderMaxSizeInput() {
|
|
280
|
-
return r`<calcite-input type=number name=proportional-symbol-max-size class=${i(l.numberInput)} .min=${this.model.sizePolicy?.minSize ?? 1} max=100 step=1 .value=${
|
|
281
|
+
return r`<calcite-input type=number name=proportional-symbol-max-size class=${i(l.numberInput)} .min=${this.model.sizePolicy?.minSize ?? 1} max=100 step=1 .value=${y(this.model.sizePolicy?.maxSize)} @calciteInputInput=${this.symbolSizeChange} ${c(this.maxSizeInputElement)}></calcite-input>`;
|
|
281
282
|
}
|
|
282
283
|
renderProportionalSymbol() {
|
|
283
|
-
return r`<div class=${i(l.sectionContainer)}><calcite-label class=${i(l.label)}>${this._messages.numberRequired}${this.renderSizeVariable()}</calcite-label><div class=${i(l.multiInputSection)}><calcite-label class=${i(l.label)}>${this._messages.minSize}${this.renderMinSizeInput()}</calcite-label><calcite-label class=${i(l.label)}>${this._messages.maxSize}${this.renderMaxSizeInput()}</calcite-label></div><calcite-label><calcite-slider min=1 max=100 .minValue=${$(
|
|
284
|
+
return r`<div class=${i(l.sectionContainer)}><calcite-label class=${i(l.label)}>${this._messages.numberRequired}${this.renderSizeVariable()}</calcite-label><div class=${i(l.multiInputSection)}><calcite-label class=${i(l.label)}>${this._messages.minSize}${this.renderMinSizeInput()}</calcite-label><calcite-label class=${i(l.label)}>${this._messages.maxSize}${this.renderMaxSizeInput()}</calcite-label></div><calcite-label><calcite-slider min=1 max=100 .minValue=${$(y(this.model.sizePolicy?.minSize))} .maxValue=${$(y(this.model.sizePolicy?.maxSize))} step=1 @calciteSliderInput=${this.symbolSizeRangeSliderInput}></calcite-slider></calcite-label></div>`;
|
|
284
285
|
}
|
|
285
286
|
renderSymbolSizeType() {
|
|
286
287
|
return r`<calcite-label class=${i(l.label)}>${this._messages.size}<calcite-segmented-control name=symbolSizeType layout=horizontal scale=s @calciteSegmentedControlChange=${this.changeSymbolSizeTypeToggle} ${c(this.symbolSizeModeElement)}><calcite-segmented-control-item .value=${d.Fixed} .checked=${d.Fixed === this.selectedSizeType} ${c(this.segmentedControlRef)}>${this._messages.fixed}</calcite-segmented-control-item><calcite-segmented-control-item .value=${d.Proportional} .checked=${d.Proportional === this.selectedSizeType} ${c(this.segmentedControlRef)}>${this._messages.proportional}</calcite-segmented-control-item></calcite-segmented-control></calcite-label>`;
|