@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,16 +1,16 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import { u as
|
|
4
|
-
import { LitElement as
|
|
1
|
+
import { c as s } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as o, html as a } from "lit";
|
|
3
|
+
import { u as l } from "../../chunks/useT9n.js";
|
|
4
|
+
import { LitElement as i, createEvent as t, safeClassMap as r } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.125 */
|
|
8
8
|
const n = {
|
|
9
9
|
colorStyleContainer: "color-style-container"
|
|
10
|
-
}, c =
|
|
11
|
-
class
|
|
10
|
+
}, c = o`.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}:host calcite-panel .color-style-container{display:flex;padding:0 1rem;margin-top:1rem}:host calcite-panel .color-style-container calcite-label{flex:1 1 0px;display:flex;width:0px}.color-styling-panel>.panel-body{padding:var(--arcgis-charts-panel-padding);margin-top:var(--arcgis-charts-inter-section-margin)}`;
|
|
11
|
+
class h extends i {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this._messages =
|
|
13
|
+
super(...arguments), this._messages = l(), this.enableClose = !1, this.arcgisChartsConfigColorStyleChange = t(), this.arcgisChartsConfigColorStyleClose = t();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.properties = { messageOverrides: 0, header: 1, selectedColor: 0, open: 5, enableClose: 5 };
|
|
@@ -25,10 +25,10 @@ class d extends l {
|
|
|
25
25
|
this.selectedColor = e.detail, this.arcgisChartsConfigColorStyleChange.emit(this.selectedColor);
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return
|
|
28
|
+
return a`<calcite-panel .heading=${this.header ?? this._messages.header} .closed=${this.open === !1} .closable=${this.enableClose} @calcitePanelClose=${this.closePanel}><div class=${r(n.colorStyleContainer)}><arcgis-charts-config-colors @arcgisColorSelect=${this.colorChange} .rgba=${this.selectedColor}></arcgis-charts-config-colors></div></calcite-panel>`;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
|
|
31
|
+
s("arcgis-charts-config-color-style", h);
|
|
32
32
|
export {
|
|
33
|
-
|
|
33
|
+
h as ArcgisChartsConfigColorStyle
|
|
34
34
|
};
|
|
@@ -5,7 +5,7 @@ import { u as h } from "../../chunks/useT9n.js";
|
|
|
5
5
|
import { LitElement as m, createEvent as n } from "@arcgis/lumina";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
8
|
-
v5.0.0-next.
|
|
8
|
+
v5.0.0-next.125 */
|
|
9
9
|
const u = "arcgis-charts-config-storage-colors", v = l`:host{--calcite-color-border-1: transparent}.color-header{margin-bottom:.5rem}`;
|
|
10
10
|
class b extends m {
|
|
11
11
|
constructor() {
|
|
@@ -6,7 +6,8 @@ import { b as S, a as b, g as _, r as v, l as T } from "../../chunks/type-guards
|
|
|
6
6
|
import { i as H } from "../../chunks/rotated-state.js";
|
|
7
7
|
import "@arcgis/toolkit/intl";
|
|
8
8
|
import { isEqual as w } from "lodash-es";
|
|
9
|
-
import
|
|
9
|
+
import "luxon";
|
|
10
|
+
import { Z as D, dc as k, c_ as F, di as z, dk as O, af as R } from "../../chunks/index.js";
|
|
10
11
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
11
12
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
12
13
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -30,8 +31,8 @@ import { C as f } from "../../chunks/index5.js";
|
|
|
30
31
|
import { a as L } from "../../chunks/chart-ui-utils.js";
|
|
31
32
|
import { r as G } from "../../chunks/popover-ui-utils.js";
|
|
32
33
|
import { C as l } from "../../chunks/interfaces.js";
|
|
33
|
-
import { LitElement as X, createEvent as y, renderElement as I, safeStyleMap as
|
|
34
|
-
import { css as
|
|
34
|
+
import { LitElement as X, createEvent as y, renderElement as I, safeStyleMap as K, safeClassMap as d } from "@arcgis/lumina";
|
|
35
|
+
import { css as j, html as h } from "lit";
|
|
35
36
|
import { createRef as q, ref as Y } from "lit/directives/ref.js";
|
|
36
37
|
import { u as P } from "../../chunks/useT9n.js";
|
|
37
38
|
import { a as Q, s as x, b as J } from "../../chunks/store.js";
|
|
@@ -40,7 +41,7 @@ import { A as ae } from "../../chunks/axis-model-wrapper.js";
|
|
|
40
41
|
import { d as ie } from "../../chunks/chart-ui-utils2.js";
|
|
41
42
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
42
43
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
43
|
-
v5.0.0-next.
|
|
44
|
+
v5.0.0-next.125 */
|
|
44
45
|
const m = {
|
|
45
46
|
chartUIComponent: "chart-ui-component",
|
|
46
47
|
tabBar: "tab-bar",
|
|
@@ -97,7 +98,7 @@ function ne(p, e) {
|
|
|
97
98
|
}), i.charts = t;
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
|
-
const ce =
|
|
101
|
+
const ce = j`:host{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;height:inherit;max-height:100%}.chart-ui-component{overflow-y:auto;overflow-x:hidden}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.text{display:flex;margin-left:1rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:scroll}.row{padding:.5rem}.bin-count-container{display:flex;width:calc(100% - 1rem);padding:.5rem}.bin-count-slider{margin-left:1rem;width:calc(90% - 1rem)}.bin-count-input{margin-left:1rem;height:2rem;width:2rem}.bin-row{padding:.5rem 0 .5rem .5rem}.tab-bar{display:flex}.tab{flex:1;height:2.5rem}`;
|
|
101
102
|
class he extends X {
|
|
102
103
|
constructor() {
|
|
103
104
|
super(), this.selectChartTypePopover = null, this.chartsListFlowItem = q(), this.supportedChartTypes = [
|
|
@@ -395,7 +396,7 @@ class he extends X {
|
|
|
395
396
|
t = "";
|
|
396
397
|
break;
|
|
397
398
|
}
|
|
398
|
-
this.tooltip = I(h`<calcite-tooltip style=${
|
|
399
|
+
this.tooltip = I(h`<calcite-tooltip style=${K({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${i} open placement=top>${t}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
399
400
|
}
|
|
400
401
|
destroyTooltip() {
|
|
401
402
|
ie(this.tooltip);
|
|
@@ -3,7 +3,7 @@ import { css as l, html as c } from "lit";
|
|
|
3
3
|
import { LitElement as a, safeClassMap as t } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
6
|
+
v5.0.0-next.125 */
|
|
7
7
|
const e = {
|
|
8
8
|
fieldSelectButtonSection: "field-select-btn-section",
|
|
9
9
|
fieldSelectButton: "field-select-btn",
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
1
|
+
import { c as y } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as S, html as l } from "lit";
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
4
|
import { merge as i } from "lodash-es";
|
|
5
|
+
import "luxon";
|
|
5
6
|
import "d3-array";
|
|
6
7
|
import "../../chunks/series-types.js";
|
|
7
8
|
import { f as u, h as s, g as c, i as r } from "../../chunks/rest-js-object-literals.js";
|
|
8
|
-
import { aG as
|
|
9
|
+
import { aG as d } 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";
|
|
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";
|
|
@@ -23,14 +25,14 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
23
25
|
import "@arcgis/core/time/TimeExtent.js";
|
|
24
26
|
import "@arcgis/core/core/promiseUtils.js";
|
|
25
27
|
import "@arcgis/toolkit/dom";
|
|
26
|
-
import { b as g, m, s as b, c as
|
|
28
|
+
import { b as g, m, s as b, c as h } from "../../chunks/chart-ui-utils2.js";
|
|
27
29
|
import { u as v } from "../../chunks/useT9n.js";
|
|
28
|
-
import { createRef as C, ref as
|
|
29
|
-
import { LitElement as
|
|
30
|
+
import { createRef as C, ref as $ } from "lit/directives/ref.js";
|
|
31
|
+
import { LitElement as E, createEvent as p, safeClassMap as n } 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.
|
|
33
|
-
const
|
|
34
|
+
v5.0.0-next.125 */
|
|
35
|
+
const I = {
|
|
34
36
|
arial: "Arial",
|
|
35
37
|
arialBlack: "Arial Black",
|
|
36
38
|
bookman: "Bookman",
|
|
@@ -50,18 +52,18 @@ const w = {
|
|
|
50
52
|
font: "font",
|
|
51
53
|
numberInput: "number-input",
|
|
52
54
|
inputLabel: "input-label"
|
|
53
|
-
},
|
|
54
|
-
class
|
|
55
|
+
}, x = S`.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}:host calcite-panel .font-style-container{display:flex;padding:0 1rem}:host calcite-panel .font-style-container .input-label{--calcite-label-margin-bottom: var(--arcgis-charts-intra-section-margin) !important}:host calcite-panel .font-style-container .number-input{margin-bottom:.5rem;display:flex}:host calcite-panel .font-style-container .number-input>div{width:100%}:host calcite-panel .font-style-container calcite-action,:host calcite-panel .font-style-container calcite-label{flex:1 1 0px;display:flex;flex-grow:inherit;width:80px}:host calcite-panel .font-style-container calcite-label{flex-grow:2}:host calcite-panel calcite-label.font{display:block;margin-top:1rem}`;
|
|
56
|
+
class z extends E {
|
|
55
57
|
constructor() {
|
|
56
58
|
super(...arguments), this._messages = v(), this.fontSizeInputElement = C(), this.fontStyle = {
|
|
57
59
|
type: u.TS
|
|
58
|
-
}, this.arcgisChartsConfigFontStyleChange =
|
|
60
|
+
}, this.arcgisChartsConfigFontStyleChange = p(), this.arcgisChartsConfigFontStyleClose = p();
|
|
59
61
|
}
|
|
60
62
|
static {
|
|
61
63
|
this.properties = { messageOverrides: 0, fontStyle: 0, header: 1, open: 5, enableClose: 5 };
|
|
62
64
|
}
|
|
63
65
|
static {
|
|
64
|
-
this.styles =
|
|
66
|
+
this.styles = x;
|
|
65
67
|
}
|
|
66
68
|
closePanel(t) {
|
|
67
69
|
t.target.closed && this.enableClose === !0 && (this.open = !1, this.arcgisChartsConfigFontStyleClose.emit());
|
|
@@ -83,11 +85,11 @@ class I extends $ {
|
|
|
83
85
|
};
|
|
84
86
|
this.isNewFontProperty("size", e) && (this.fontStyle = i(this.fontStyle, { font: e }), this.emitFontStyleEvent({ font: e })), this.fontSizeInputElement.value && m({
|
|
85
87
|
inputElement: this.fontSizeInputElement.value,
|
|
86
|
-
status:
|
|
88
|
+
status: h.IDLE
|
|
87
89
|
});
|
|
88
90
|
} else this.fontSizeInputElement.value && m({
|
|
89
91
|
inputElement: this.fontSizeInputElement.value,
|
|
90
|
-
status:
|
|
92
|
+
status: h.INVALID
|
|
91
93
|
});
|
|
92
94
|
}
|
|
93
95
|
boldSelect() {
|
|
@@ -119,14 +121,14 @@ class I extends $ {
|
|
|
119
121
|
return this.fontStyle?.font?.[t] !== e[t];
|
|
120
122
|
}
|
|
121
123
|
renderFonts() {
|
|
122
|
-
const t = Object.values(
|
|
124
|
+
const t = Object.values(I).map((e) => l`<calcite-option .value=${e} .selected=${e === this.fontStyle?.font?.family || e === d().font?.family?.split(",")[0] && this.fontStyle?.font?.family === void 0}>${e}</calcite-option>`);
|
|
123
125
|
return this.fontStyle?.font?.family === "" && t.push(l`<calcite-option value selected></calcite-option>`), t;
|
|
124
126
|
}
|
|
125
127
|
render() {
|
|
126
|
-
return l`<calcite-panel .heading=${this.header ?? this._messages.header} .closed=${this.open === !1} .closable=${this.enableClose ?? !1} @calcitePanelClose=${this.closePanel}><div class=${n(o.fontStyleContainer)}><calcite-label class=${n(o.font)}>${this._messages.font}<calcite-select .label=${this._messages.font ?? ""} @calciteSelectChange=${this.fontChange}>${this.renderFonts()}</calcite-select></calcite-label></div><div class=${n(o.fontStyleContainer)}><calcite-label class=${n(o.inputLabel)}>${this._messages.size}<calcite-input class=${n(o.numberInput)} type=number min=6 max=40 step=1 .value=${b(this.fontStyle?.font?.size)} @calciteInputInput=${this.fontSizeChange} ${
|
|
128
|
+
return l`<calcite-panel .heading=${this.header ?? this._messages.header} .closed=${this.open === !1} .closable=${this.enableClose ?? !1} @calcitePanelClose=${this.closePanel}><div class=${n(o.fontStyleContainer)}><calcite-label class=${n(o.font)}>${this._messages.font}<calcite-select .label=${this._messages.font ?? ""} @calciteSelectChange=${this.fontChange}>${this.renderFonts()}</calcite-select></calcite-label></div><div class=${n(o.fontStyleContainer)}><calcite-label class=${n(o.inputLabel)}>${this._messages.size}<calcite-input class=${n(o.numberInput)} type=number min=6 max=40 step=1 .value=${b(this.fontStyle?.font?.size)} @calciteInputInput=${this.fontSizeChange} ${$(this.fontSizeInputElement)}></calcite-input></calcite-label><calcite-action appearance=transparent .text=${this._messages.bold ?? ""} @click=${this.boldSelect} scale=l .active=${this.fontStyle?.font?.weight === s.Bold}><calcite-icon scale=s icon=bold></calcite-icon></calcite-action><calcite-action appearance=transparent .text=${this._messages.italic ?? ""} @click=${this.italicSelect} scale=l .active=${this.fontStyle?.font?.style === c.Italic}><calcite-icon scale=s icon=italicize></calcite-icon></calcite-action><calcite-action appearance=transparent .text=${this._messages.underline ?? ""} @click=${this.underlineSelect} scale=l .active=${this.fontStyle?.font?.decoration === r.Underline}><calcite-icon scale=s icon=underline></calcite-icon></calcite-action></div><div class=${n(o.fontStyleContainer)}><arcgis-charts-config-colors .rgba=${this.fontStyle?.color ?? void 0} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></calcite-panel>`;
|
|
127
129
|
}
|
|
128
130
|
}
|
|
129
|
-
|
|
131
|
+
y("arcgis-charts-config-font-style", z);
|
|
130
132
|
export {
|
|
131
|
-
|
|
133
|
+
z as ArcgisChartsConfigFontStyle
|
|
132
134
|
};
|
|
@@ -8,11 +8,13 @@ import { i as L } from "../../chunks/data-labels-symbol.js";
|
|
|
8
8
|
import { i as E, c as P, d as C } from "../../chunks/axis-lines-symbol.js";
|
|
9
9
|
import "@arcgis/toolkit/intl";
|
|
10
10
|
import { isEmpty as f, cloneDeep as r, isArray as F, isObject as A, mergeWith as R } from "lodash-es";
|
|
11
|
+
import "luxon";
|
|
11
12
|
import "d3-array";
|
|
12
13
|
import "../../chunks/index.js";
|
|
13
14
|
import "@arcgis/core/Graphic.js";
|
|
14
15
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
15
16
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
17
|
+
import "@esri/arcgis-html-sanitizer";
|
|
16
18
|
import "@arcgis/core/intl.js";
|
|
17
19
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
18
20
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -35,7 +37,7 @@ import { css as X, html as S } from "lit";
|
|
|
35
37
|
import { LitElement as _, renderElement as j, safeClassMap as p } from "@arcgis/lumina";
|
|
36
38
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
37
39
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
38
|
-
v5.0.0-next.
|
|
40
|
+
v5.0.0-next.125 */
|
|
39
41
|
const v = {
|
|
40
42
|
type: b.TS,
|
|
41
43
|
color: [1, 1, 1, 255],
|
|
@@ -2,6 +2,7 @@ import { c as i } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { css as a, html as o } 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
8
|
import { f as r } from "../../chunks/rest-js-object-literals.js";
|
|
@@ -9,6 +10,7 @@ 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";
|
|
@@ -24,18 +26,18 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
24
26
|
import "@arcgis/core/core/promiseUtils.js";
|
|
25
27
|
import "@arcgis/toolkit/dom";
|
|
26
28
|
import { e as l } from "../../chunks/popover-ui-utils.js";
|
|
27
|
-
import { u as
|
|
28
|
-
import { createRef as
|
|
29
|
-
import { LitElement as
|
|
29
|
+
import { u as p } from "../../chunks/useT9n.js";
|
|
30
|
+
import { createRef as n, ref as m } from "lit/directives/ref.js";
|
|
31
|
+
import { LitElement as c, createEvent as s, safeClassMap as h } 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 g = {
|
|
34
36
|
jsAppFlyout: "js-app-flyout"
|
|
35
37
|
}, C = a``;
|
|
36
|
-
class f extends
|
|
38
|
+
class f extends c {
|
|
37
39
|
constructor() {
|
|
38
|
-
super(...arguments), this._messages =
|
|
40
|
+
super(...arguments), this._messages = p(), this.popoverElement = n(), this.placement = "leading", this.arcgisChartsConfigFormatPopoverColorChange = s(), this.arcgisChartsConfigFormatPopoverSymbolChange = s(), this.arcgisChartsConfigFormatPopoverTextChange = s(), this.arcgisChartsConfigPopoverClose = s();
|
|
39
41
|
}
|
|
40
42
|
static {
|
|
41
43
|
this.properties = { messageOverrides: 0, selectedElement: 0, referenceElement: 0, placement: 1, open: 5 };
|
|
@@ -63,7 +65,7 @@ class f extends m {
|
|
|
63
65
|
}
|
|
64
66
|
render() {
|
|
65
67
|
const e = this.selectedElement, t = this.selectedElement;
|
|
66
|
-
return o`<div class=${h(g.jsAppFlyout)}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} label @calcitePopoverClose=${this.closePopover} pointer-disabled auto-close ${
|
|
68
|
+
return o`<div class=${h(g.jsAppFlyout)}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} label @calcitePopoverClose=${this.closePopover} pointer-disabled auto-close ${m(this.popoverElement)}>${Array.isArray(e) ? o`<arcgis-charts-config-color-style .header=${this._messages.backgroundElement} enable-close .open=${this.open} .selectedColor=${e} @arcgisChartsConfigColorStyleClose=${this.closePopover} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>` : null}${t?.type === r.SLS ? o`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close .lineStyle=${t} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>` : null}${t?.type === r.TS ? o`<arcgis-charts-config-font-style .header=${this._messages.textStyle} .open=${this.open} enable-close .fontStyle=${t} @arcgisChartsConfigFontStyleClose=${this.closePopover} @arcgisChartsConfigFontStyleChange=${this.updateTextProperties}></arcgis-charts-config-font-style>` : null}</calcite-popover></div>`;
|
|
67
69
|
}
|
|
68
70
|
}
|
|
69
71
|
i("arcgis-charts-config-format-popover", f);
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import { c as b } from "../../chunks/runtime.js";
|
|
2
|
-
import { l as n, h, r as c } from "../../chunks/type-guards.js";
|
|
2
|
+
import { l as n, h as d, r as c } from "../../chunks/type-guards.js";
|
|
3
3
|
import { i as r, c as m, d as g } from "../../chunks/generate-x-axis-title.js";
|
|
4
4
|
import { d as l } from "../../chunks/series-types.js";
|
|
5
|
-
import { isEmpty as
|
|
6
|
-
import { m as
|
|
5
|
+
import { isEmpty as T } from "lodash-es";
|
|
6
|
+
import { m as x, c as p } from "../../chunks/chart-ui-utils2.js";
|
|
7
7
|
import { u } from "../../chunks/useT9n.js";
|
|
8
|
-
import { css as
|
|
9
|
-
import { createRef as
|
|
8
|
+
import { css as C, html as a } from "lit";
|
|
9
|
+
import { createRef as f, ref as $ } from "lit/directives/ref.js";
|
|
10
10
|
import { LitElement as v, safeClassMap as i } from "@arcgis/lumina";
|
|
11
11
|
import "@arcgis/toolkit/intl";
|
|
12
|
+
import "luxon";
|
|
12
13
|
import "d3-array";
|
|
13
14
|
import { Z as y } from "../../chunks/index.js";
|
|
14
15
|
import "@arcgis/core/Graphic.js";
|
|
15
16
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
16
17
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
18
|
+
import "@esri/arcgis-html-sanitizer";
|
|
17
19
|
import "@arcgis/core/intl.js";
|
|
18
20
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
19
21
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
@@ -30,16 +32,16 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
30
32
|
import "@arcgis/toolkit/dom";
|
|
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 s = {
|
|
35
37
|
textInput: "text-input",
|
|
36
38
|
label: "label",
|
|
37
39
|
labelContainer: "label-container",
|
|
38
40
|
select: "select"
|
|
39
|
-
}, A =
|
|
40
|
-
class
|
|
41
|
+
}, A = C`.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;margin-top:var(--arcgis-charts-top-section-margin)}.text-input,.select{margin-bottom:var(--arcgis-charts-inter-section-margin)}.label{display:flex;justify-content:space-between}.label-container{display:flex;flex-direction:column;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}`;
|
|
42
|
+
class I extends v {
|
|
41
43
|
constructor() {
|
|
42
|
-
super(...arguments), this._messages = u(), this.characterLimitInputElement =
|
|
44
|
+
super(...arguments), this._messages = u(), this.characterLimitInputElement = f(), this.onModelConfigChange = () => {
|
|
43
45
|
this.requestUpdate();
|
|
44
46
|
}, this.resetChartTitleToBeDynamic = () => {
|
|
45
47
|
const e = this.model.generateChartTitle();
|
|
@@ -52,7 +54,7 @@ class w extends v {
|
|
|
52
54
|
this.disableResetButtonForXAxisTitle = !1;
|
|
53
55
|
}, this.resetYAxisTitleToBeDynamic = () => {
|
|
54
56
|
if (n(this.model)) {
|
|
55
|
-
const e =
|
|
57
|
+
const e = d(this.model) ? this.model.getDefaultXAxisTitleText() : this.model.generateYAxisTitle();
|
|
56
58
|
this.model.setAxisTitleText(e, 1);
|
|
57
59
|
}
|
|
58
60
|
this.disableResetButtonForYAxisTitle = !1;
|
|
@@ -77,12 +79,12 @@ class w extends v {
|
|
|
77
79
|
this.isPartialConfig = y(this.model.config);
|
|
78
80
|
const e = this.model.generateChartTitle(), t = this.model.titleText;
|
|
79
81
|
if (this.disableResetButtonForChartTitle = this.isPartialConfig || e === t, r(this.model) && m(this.model)) {
|
|
80
|
-
const o = this.model.generateXAxisTitle(),
|
|
81
|
-
this.disableResetButtonForXAxisTitle = this.isPartialConfig || o ===
|
|
82
|
+
const o = this.model.generateXAxisTitle(), h = this.model.xAxisTitleText;
|
|
83
|
+
this.disableResetButtonForXAxisTitle = this.isPartialConfig || o === h;
|
|
82
84
|
}
|
|
83
85
|
if (n(this.model)) {
|
|
84
|
-
const o =
|
|
85
|
-
this.disableResetButtonForYAxisTitle = this.isPartialConfig || o ===
|
|
86
|
+
const o = d(this.model) ? this.model.getDefaultXAxisTitleText() : this.model.generateYAxisTitle(), h = this.model.getAxisTitleText(1);
|
|
87
|
+
this.disableResetButtonForYAxisTitle = this.isPartialConfig || o === h;
|
|
86
88
|
}
|
|
87
89
|
}
|
|
88
90
|
modelChange(e, t) {
|
|
@@ -90,7 +92,7 @@ class w extends v {
|
|
|
90
92
|
}
|
|
91
93
|
setChartTitle(e) {
|
|
92
94
|
const { value: t } = e.target;
|
|
93
|
-
this.isChartTitleInvalid =
|
|
95
|
+
this.isChartTitleInvalid = T(t.trim()), this.characterLimitInputElement.value && x({
|
|
94
96
|
inputElement: this.characterLimitInputElement.value,
|
|
95
97
|
status: this.isChartTitleInvalid ? p.INVALID : p.IDLE
|
|
96
98
|
}), this.isChartTitleInvalid || (this.model.titleText = t);
|
|
@@ -150,7 +152,7 @@ class w extends v {
|
|
|
150
152
|
] : null}${c(this.model) ? a`<div class=${i(s.labelContainer)}><calcite-label layout=inline-space-between class=${i(s.label)}>${this._messages.legendTitle}<calcite-switch .checked=${this.model.legendTitleVisibility} @calciteSwitchChange=${this.enableLegendTitle}></calcite-switch></calcite-label><calcite-input class=${i(s.textInput)} type=text .disabled=${!this.model.legendTitleVisibility} .value=${this.model.legendTitleText} @calciteInputInput=${this.setChartLegendTitle}></calcite-input></div>` : null}<div class=${i(s.labelContainer)}><calcite-label layout=inline-space-between class=${i(s.label)}>${this._messages.legendPosition}</calcite-label><calcite-combobox clear-disabled label class=${i(s.select)} @calciteComboboxChange=${this.legendPositionChange} selection-mode=single>${this.renderLegendPositions()}</calcite-combobox></div><div class=${i(s.labelContainer)}><calcite-label layout=inline-space-between class=${i(s.label)}>${this._messages.description}<calcite-switch .checked=${this.model.descriptionVisibility} @calciteSwitchChange=${this.enableDescription}></calcite-switch></calcite-label><calcite-text-area .disabled=${!this.model.descriptionVisibility} .value=${this.model.descriptionText} @calciteTextAreaInput=${this.setChartDescription}></calcite-text-area></div>`;
|
|
151
153
|
}
|
|
152
154
|
}
|
|
153
|
-
b("arcgis-charts-config-general",
|
|
155
|
+
b("arcgis-charts-config-general", I);
|
|
154
156
|
export {
|
|
155
|
-
|
|
157
|
+
I as ArcgisChartsConfigGeneral
|
|
156
158
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { c as R } from "../../chunks/runtime.js";
|
|
2
2
|
import { keyed as X } from "lit/directives/keyed.js";
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
|
-
import { cloneDeep as
|
|
4
|
+
import { cloneDeep as E } from "lodash-es";
|
|
5
|
+
import "luxon";
|
|
5
6
|
import "d3-array";
|
|
6
|
-
import { i as p, cI as
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
7
|
+
import { i as p, cI as N, cJ as k, cK as F, aI as Z } from "../../chunks/index.js";
|
|
8
|
+
import "@esri/arcgis-html-sanitizer";
|
|
9
|
+
import { W as q } from "../../chunks/series-types.js";
|
|
10
|
+
import { f as u, a as z } from "../../chunks/rest-js-object-literals.js";
|
|
9
11
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
10
12
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
11
13
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -15,29 +17,29 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
15
17
|
import "@arcgis/core/request.js";
|
|
16
18
|
import { c as g, b as O } from "../../chunks/index4.js";
|
|
17
19
|
import { r as V } from "../../chunks/popover-ui-utils.js";
|
|
18
|
-
import { m as
|
|
20
|
+
import { m as G, d as W, g as U, k as L, c as S } from "../../chunks/chart-ui-utils2.js";
|
|
19
21
|
import { d as M } from "../../chunks/default.js";
|
|
20
22
|
import { g as Y } from "../../chunks/resource.js";
|
|
21
23
|
import { u as j } from "../../chunks/useT9n.js";
|
|
22
|
-
import { css as H, html as
|
|
24
|
+
import { css as H, html as c } from "lit";
|
|
23
25
|
import { createRef as h, ref as m } from "lit/directives/ref.js";
|
|
24
26
|
import { LitElement as J, createEvent as K, renderElement as A, safeStyleMap as _, safeClassMap as o } from "@arcgis/lumina";
|
|
25
|
-
import { G as
|
|
27
|
+
import { G as b } from "../../chunks/common.js";
|
|
26
28
|
import { l as Q, p as ee, q as te } from "../../chunks/type-guards.js";
|
|
27
29
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
28
30
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
29
|
-
v5.0.0-next.
|
|
31
|
+
v5.0.0-next.125 */
|
|
30
32
|
const n = {
|
|
31
33
|
row: "row",
|
|
32
34
|
column: "column",
|
|
33
35
|
colorPicker: "color-picker"
|
|
34
|
-
}, ie = H`.hide{display:none}.am5-
|
|
36
|
+
}, ie = H`.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}.row{display:flex;flex-direction:row;column-gap:var(--arcgis-charts-inter-section-margin)}.column{display:flex;flex-direction:column;flex-wrap:wrap;flex-grow:1}.column>calcite-input{margin-bottom:.5rem;flex-grow:2}.column>calcite-input[type=number]{margin-bottom:.5rem}input{padding:.5rem}.label{display:flex;flex-direction:row;justify-content:space-between;margin-bottom:var(--arcgis-charts-intra-section-margin);flex-grow:1}.color-picker{border:1px solid var(--calcite-color-border-2);box-shadow:none;margin-bottom:var(--arcgis-charts-inter-section-margin)}.delete-guide{display:flex;flex-direction:row-reverse;height:2rem;margin:0 1rem;font-weight:550}.delete-guide:dir(rtl){flex-direction:row}`;
|
|
35
37
|
class se extends J {
|
|
36
38
|
constructor() {
|
|
37
39
|
super(...arguments), this._messages = j(), this.startCalciteInput = h(), this.endCalciteInput = h(), this.startDateCalciteInput = h(), this.endDateCalciteInput = h(), this.startTimeCalciteInput = h(), this.endTimeCalciteInput = h(), this.colorElement = h(), this.colorChange = (e) => {
|
|
38
40
|
const t = e.detail, i = this.model.getGuideStart(this.index, this.orientation), a = this.model.getGuideEnd(this.index, this.orientation);
|
|
39
41
|
if (p(i, a) === u.SLS) {
|
|
40
|
-
const l =
|
|
42
|
+
const l = E(M.style), s = this.model.getGuideStyle(this.index, this.orientation), r = {
|
|
41
43
|
...l,
|
|
42
44
|
...g(s) ? s : {},
|
|
43
45
|
color: t
|
|
@@ -48,7 +50,7 @@ class se extends J {
|
|
|
48
50
|
}, this.symbolChange = (e) => {
|
|
49
51
|
const t = e?.detail, i = this.model.getGuideStart(this.index, this.orientation), a = this.model.getGuideEnd(this.index, this.orientation);
|
|
50
52
|
if (p(i, a) === u.SLS) {
|
|
51
|
-
const l =
|
|
53
|
+
const l = E(M.style), s = this.model.getGuideStyle(this.index, this.orientation), r = {
|
|
52
54
|
...l,
|
|
53
55
|
...g(s) ? s : {},
|
|
54
56
|
...g(t) ? t : {}
|
|
@@ -66,7 +68,7 @@ class se extends J {
|
|
|
66
68
|
this.styles = ie;
|
|
67
69
|
}
|
|
68
70
|
get isXAxisDateField() {
|
|
69
|
-
return this.orientation ===
|
|
71
|
+
return this.orientation === b.X && Q(this.model) && this.model.getAxisValueFormat(0)?.type === q.DateAxisFormat;
|
|
70
72
|
}
|
|
71
73
|
load() {
|
|
72
74
|
this.modelChange(this.model);
|
|
@@ -88,16 +90,16 @@ class se extends J {
|
|
|
88
90
|
}
|
|
89
91
|
setGuideStart(e) {
|
|
90
92
|
const { value: t } = e.target;
|
|
91
|
-
this.startCalciteInput.value !== void 0 && (t === "" ?
|
|
93
|
+
this.startCalciteInput.value !== void 0 && (t === "" ? G({
|
|
92
94
|
inputElement: this.startCalciteInput.value,
|
|
93
|
-
status:
|
|
95
|
+
status: S.INVALID
|
|
94
96
|
}) : (this.model.setGuideStart(t, this.index, this.orientation), this.symbolChange(), this.arcgisChartsConfigGuideChange.emit({
|
|
95
97
|
index: this.index,
|
|
96
98
|
orientation: this.orientation,
|
|
97
99
|
isDelete: !1
|
|
98
|
-
}),
|
|
100
|
+
}), G({
|
|
99
101
|
inputElement: this.startCalciteInput.value,
|
|
100
|
-
status:
|
|
102
|
+
status: S.IDLE
|
|
101
103
|
}))), this.guidePopover?.open === !0 && this.removeGuidePopover();
|
|
102
104
|
}
|
|
103
105
|
setGuideEnd(e) {
|
|
@@ -106,23 +108,23 @@ class se extends J {
|
|
|
106
108
|
index: this.index,
|
|
107
109
|
orientation: this.orientation,
|
|
108
110
|
isDelete: !1
|
|
109
|
-
}),
|
|
111
|
+
}), G({
|
|
110
112
|
inputElement: this.endCalciteInput.value,
|
|
111
|
-
status:
|
|
113
|
+
status: S.IDLE
|
|
112
114
|
})), this.guidePopover?.open === !0 && this.removeGuidePopover();
|
|
113
115
|
}
|
|
114
116
|
setGuideDateTimeRange() {
|
|
115
|
-
const e = this.calculatedMinMaxBounds?.find((
|
|
116
|
-
let
|
|
117
|
-
if (!Array.isArray(
|
|
118
|
-
const
|
|
119
|
-
this.model.setGuideStart(
|
|
117
|
+
const e = this.calculatedMinMaxBounds?.find((d) => d.isXAxis)?.minimum, t = this.calculatedMinMaxBounds?.find((d) => d.isXAxis)?.maximum, i = typeof e == "number" ? new Date(e) : /* @__PURE__ */ new Date(), a = typeof t == "number" ? new Date(t) : /* @__PURE__ */ new Date(), l = new window.Intl.DateTimeFormat().resolvedOptions().timeZone, s = N(this.timeZone) ?? l, r = k(i, s), v = F(i, s), f = k(a, s), B = F(a, s), T = this.startDateCalciteInput.value?.value ?? "", C = T === "" ? r : T, D = this.startTimeCalciteInput.value?.value ?? "", I = D === "" ? v : D, x = this.endDateCalciteInput.value?.value ?? "", y = x === "" ? f : x, w = this.endTimeCalciteInput.value?.value ?? "", P = w === "" ? B : w;
|
|
118
|
+
let $ = !1;
|
|
119
|
+
if (!Array.isArray(C) && C !== void 0 && I !== void 0) {
|
|
120
|
+
const d = `${C}T${I}`;
|
|
121
|
+
this.model.setGuideStart(d, this.index, this.orientation), $ = !0;
|
|
120
122
|
}
|
|
121
|
-
if (!Array.isArray(y) && y !== void 0 &&
|
|
122
|
-
const
|
|
123
|
-
this.model.setGuideEnd(
|
|
123
|
+
if (!Array.isArray(y) && y !== void 0 && P !== void 0) {
|
|
124
|
+
const d = x === "" ? void 0 : `${y}T${P}`;
|
|
125
|
+
this.model.setGuideEnd(d, this.index, this.orientation), $ = !0;
|
|
124
126
|
}
|
|
125
|
-
|
|
127
|
+
$ && (this.symbolChange(), this.arcgisChartsConfigGuideChange.emit({
|
|
126
128
|
index: this.index,
|
|
127
129
|
orientation: this.orientation,
|
|
128
130
|
isDelete: !1
|
|
@@ -169,13 +171,13 @@ class se extends J {
|
|
|
169
171
|
let l;
|
|
170
172
|
p(i, a) === u.SLS ? l = g(t) ? t : void 0 : l = t?.color;
|
|
171
173
|
const s = this.colorElement.value;
|
|
172
|
-
Array.isArray(t?.color) ? (this.guidePopover = A(
|
|
174
|
+
Array.isArray(t?.color) ? (this.guidePopover = A(c`<arcgis-charts-config-guide-popover .referenceElement=${s} open .selectedElement=${l} @arcgisChartsConfigGuidePopoverColorChange=${this.colorChange} @arcgisChartsConfigGuidePopoverSymbolChange=${this.symbolChange} @arcgisChartsConfigPopoverClose=${this.removeGuidePopover}></arcgis-charts-config-guide-popover>`), this.guidePopover !== void 0 && !document.body.contains(this.guidePopover) && document.body.appendChild(this.guidePopover)) : this.removeGuidePopover();
|
|
173
175
|
}
|
|
174
176
|
removeGuidePopover() {
|
|
175
177
|
this.guidePopover !== null && this.guidePopover !== void 0 && (this.guidePopover = V(this.guidePopover));
|
|
176
178
|
}
|
|
177
179
|
setColor(e) {
|
|
178
|
-
const t =
|
|
180
|
+
const t = Z({ opacity: 0 }), i = this.model.getGuideStyle(this.index, this.orientation), a = {
|
|
179
181
|
...O(i) ? i : {},
|
|
180
182
|
type: u.SFS,
|
|
181
183
|
color: e,
|
|
@@ -208,7 +210,7 @@ class se extends J {
|
|
|
208
210
|
i = this._messages.deleteGuide ?? "";
|
|
209
211
|
break;
|
|
210
212
|
}
|
|
211
|
-
this.tooltip = A(
|
|
213
|
+
this.tooltip = A(c`<calcite-tooltip style=${_({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${i}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
212
214
|
}
|
|
213
215
|
toggleGuide() {
|
|
214
216
|
const e = this.model.getGuideVisibility(this.index, this.orientation);
|
|
@@ -218,22 +220,22 @@ class se extends J {
|
|
|
218
220
|
W(this.tooltip);
|
|
219
221
|
}
|
|
220
222
|
deleteGuide() {
|
|
221
|
-
this.destroyTooltip(), this.orientation ===
|
|
223
|
+
this.destroyTooltip(), this.orientation === b.X && ee(this.model) ? this.model.deleteXAxisGuide(this.index) : this.orientation === b.Y && te(this.model) && this.model.deleteYAxisGuide(this.index), this.arcgisChartsConfigGuideChange.emit({
|
|
222
224
|
index: this.index,
|
|
223
225
|
orientation: this.orientation,
|
|
224
226
|
isDelete: !0
|
|
225
227
|
});
|
|
226
228
|
}
|
|
227
229
|
renderColorElement() {
|
|
228
|
-
const e = this.model.getGuideStyle(this.index, this.orientation), [t, i, a, l] = [...e?.color ?? [1, 1, 1, 255]], s = this.model.getGuideStart(this.index, this.orientation), r = this.model.getGuideEnd(this.index, this.orientation),
|
|
229
|
-
return
|
|
230
|
+
const e = this.model.getGuideStyle(this.index, this.orientation), [t, i, a, l] = [...e?.color ?? [1, 1, 1, 255]], s = this.model.getGuideStart(this.index, this.orientation), r = this.model.getGuideEnd(this.index, this.orientation), v = g(e) ? U(e.style) : z.Solid, f = p(s, r) === u.SLS ? `line-${v}` : "square-f";
|
|
231
|
+
return c`<calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .value=${this._messages.style} class=${o(n.colorPicker)} .label=${this._messages.style} .selected=${this.guidePopover?.open} @click=${this.onColorElementSelect} ${m(this.colorElement)}><calcite-icon slot=content-end .icon=${f} style=${_({ color: `rgba(${t},${i},${a},${l / 255})` })}></calcite-icon></calcite-list-item></calcite-list>`;
|
|
230
232
|
}
|
|
231
233
|
render() {
|
|
232
234
|
const e = this.model.getGuideStart(this.index, this.orientation), t = this.model.getGuideEnd(this.index, this.orientation), i = this.model.getGuideName(this.index, this.orientation), a = this.model.getGuideLabelText(this.index, this.orientation), l = this.model.getGuideAbove(this.index, this.orientation), s = this.model.getGuideVisibility(this.index, this.orientation), r = this.isXAxisDateField;
|
|
233
|
-
return
|
|
235
|
+
return c`<calcite-block .heading=${i ?? ""} .expanded=${this.latestGuidePosition === Y(this.index, this.orientation, this.model)} collapsible .messageOverrides=${{
|
|
234
236
|
expand: this._messages.expand,
|
|
235
237
|
collapse: this._messages.collapse
|
|
236
|
-
}}><calcite-action slot=control text .icon=${s ? "view-visible" : "view-hide"} @click=${this.toggleGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><calcite-action slot=control text icon=trash @click=${this.deleteGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.start}${r ?
|
|
238
|
+
}}><calcite-action slot=control text .icon=${s ? "view-visible" : "view-hide"} @click=${this.toggleGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><calcite-action slot=control text icon=trash @click=${this.deleteGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.start}${r ? c`<calcite-input-date-picker .value=${this.getDateStringFromBound(e)} required scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${m(this.startDateCalciteInput)}></calcite-input-date-picker>` : c`<calcite-input type=number required @calciteInputInput=${this.setGuideStart} @keydown=${L} number-button-type=none .value=${e?.toString()} ${m(this.startCalciteInput)}></calcite-input>`}</calcite-label><calcite-label class=${o(n.column)}>${this._messages.end}${r ? c`<calcite-input-date-picker .value=${this.getDateStringFromBound(t)} scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${m(this.endDateCalciteInput)}></calcite-input-date-picker>` : c`<calcite-input type=number @calciteInputInput=${this.setGuideEnd} @keydown=${L} number-button-type=none .value=${t?.toString()} ${m(this.endCalciteInput)}></calcite-input>`}</calcite-label></div>${r ? X("time-picker-row", c`<div class=${o(n.row)}>${e != null ? c`<calcite-label class=${o(n.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(e)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${m(this.startTimeCalciteInput)}></calcite-input-time-picker></calcite-label>` : null}${t != null ? c`<calcite-label class=${o(n.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(t)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${m(this.endTimeCalciteInput)}></calcite-input-time-picker></calcite-label>` : null}</div>`) : null}<div class=${o(n.row)}><div class=${o(n.column)}>${this.renderColorElement()}</div></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.guideName}<calcite-input type=text .value=${i} @calciteInputInput=${this.setGuideName}></calcite-input></calcite-label></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.guideLabel}<calcite-input type=text .value=${a} @calciteInputInput=${this.setGuideLabel}></calcite-input></calcite-label></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.display}<calcite-segmented-control @calciteSegmentedControlChange=${this.setGuideRendered} scale=s><calcite-segmented-control-item .checked=${l} .value=${this._messages.inFront}>${this._messages.inFront}</calcite-segmented-control-item><calcite-segmented-control-item .checked=${!l} .value=${this._messages.inBack}>${this._messages.inBack}</calcite-segmented-control-item></calcite-segmented-control></calcite-label></div></calcite-block>`;
|
|
237
239
|
}
|
|
238
240
|
}
|
|
239
241
|
R("arcgis-charts-config-guide", se);
|