@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,9 +1,10 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as b } from "../../chunks/runtime.js";
|
|
2
2
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
3
3
|
import { B as c } from "../../chunks/common.js";
|
|
4
4
|
import { W as y } from "../../chunks/series-types.js";
|
|
5
5
|
import "@arcgis/toolkit/intl";
|
|
6
|
-
import { isEqual as
|
|
6
|
+
import { isEqual as C } from "lodash-es";
|
|
7
|
+
import "luxon";
|
|
7
8
|
import "d3-array";
|
|
8
9
|
import { aw as d, cY as S, cX as g } from "../../chunks/index.js";
|
|
9
10
|
import "@arcgis/core/Graphic.js";
|
|
@@ -26,16 +27,16 @@ import "@arcgis/toolkit/dom";
|
|
|
26
27
|
import { r as p } from "../../chunks/popover-ui-utils.js";
|
|
27
28
|
import { repeat as v } from "lit/directives/repeat.js";
|
|
28
29
|
import { a as l, f as m } from "../../chunks/interfaces.js";
|
|
29
|
-
import { d as $, s as
|
|
30
|
-
import { U as
|
|
30
|
+
import { d as $, s as F } from "../../chunks/store.js";
|
|
31
|
+
import { U as x } from "../../chunks/chart-ui-utils2.js";
|
|
31
32
|
import { u as I } from "../../chunks/useT9n.js";
|
|
32
|
-
import { css as
|
|
33
|
+
import { css as B, nothing as P, html as a } from "lit";
|
|
33
34
|
import { createRef as h, ref as u } from "lit/directives/ref.js";
|
|
34
|
-
import { LitElement as
|
|
35
|
-
import { x as
|
|
35
|
+
import { LitElement as O, createEvent as L, safeClassMap as o, renderElement as w } from "@arcgis/lumina";
|
|
36
|
+
import { x as E } from "../../chunks/data.js";
|
|
36
37
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
37
38
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
38
|
-
v5.0.0-next.
|
|
39
|
+
v5.0.0-next.125 */
|
|
39
40
|
const r = {
|
|
40
41
|
label: "label",
|
|
41
42
|
fieldList: "field-list",
|
|
@@ -43,8 +44,8 @@ const r = {
|
|
|
43
44
|
dimText: "dim-text",
|
|
44
45
|
list: "list",
|
|
45
46
|
customSortButtons: "custom-sort-buttons"
|
|
46
|
-
},
|
|
47
|
-
class D extends
|
|
47
|
+
}, k = B`.hide{display:none}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin);margin-top:var(--arcgis-charts-top-section-margin)}.label,.disabled-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}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:1.5rem;justify-content:center}.list{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major)}.custom-sort-buttons{display:flex;justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}`;
|
|
48
|
+
class D extends O {
|
|
48
49
|
constructor() {
|
|
49
50
|
super(...arguments), this._messages = I(), this.boxPlotPopover = null, this.categoryElement = h(), this.numericFieldsElement = h(), this.splitByFieldElement = h(), this.sortOrderElement = h(), this.originalCustomSortLabels = [], this.isCustomSortDisabled = !1, this.onModelConfigChange = () => {
|
|
50
51
|
this.requestUpdate();
|
|
@@ -54,7 +55,7 @@ class D extends P {
|
|
|
54
55
|
try {
|
|
55
56
|
if (t.detail !== null && t.detail?.value !== void 0) {
|
|
56
57
|
const { contentKind: e } = t.detail, s = [...t.detail.value];
|
|
57
|
-
switch ($(
|
|
58
|
+
switch ($(F), e) {
|
|
58
59
|
case l.category: {
|
|
59
60
|
const i = s[0]?.trim() || d;
|
|
60
61
|
if (this.model.category = i, this.model.getSortOrder() === c.customSort) {
|
|
@@ -96,19 +97,19 @@ class D extends P {
|
|
|
96
97
|
throw e instanceof Error && this.arcgisChartsConfigDataChangeError.emit({ error: e, model: this.model }), e;
|
|
97
98
|
}
|
|
98
99
|
this.requestUpdate();
|
|
99
|
-
}, this.selectedCustomSortItemId = "", this.sortOrderResetCounter = 0, this.layerFieldsInfo = [], this.arcgisChartsConfigDataChangeError =
|
|
100
|
+
}, this.selectedCustomSortItemId = "", this.sortOrderResetCounter = 0, this.layerFieldsInfo = [], this.arcgisChartsConfigDataChangeError = L();
|
|
100
101
|
}
|
|
101
102
|
static {
|
|
102
103
|
this.properties = { selectedCustomSortItemId: 16, sortOrderResetCounter: 16, messageOverrides: 0, model: 0, layerFieldsInfo: 0 };
|
|
103
104
|
}
|
|
104
105
|
static {
|
|
105
|
-
this.styles =
|
|
106
|
+
this.styles = k;
|
|
106
107
|
}
|
|
107
108
|
load() {
|
|
108
109
|
this.modelChange(this.model), this.onModelConfigChange(), this.currentDataFilter = this.model.getDataFilters(), this.updateCustomSortProps();
|
|
109
110
|
}
|
|
110
111
|
willUpdate(t) {
|
|
111
|
-
t.has("model") && this.modelChange(this.model, t.get("model")),
|
|
112
|
+
t.has("model") && this.modelChange(this.model, t.get("model")), C(this.model.getDataFilters(), this.currentDataFilter) || (this.updateCustomSortProps(), this.currentDataFilter = this.model.getDataFilters()), this.disableSplitBy = this.model.numericFields.length === 0 || this.model.numericFields.length > 1 && this.model.category !== d;
|
|
112
113
|
}
|
|
113
114
|
disconnectedCallback() {
|
|
114
115
|
super.disconnectedCallback(), this.boxPlotPopover = p(this.boxPlotPopover), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
@@ -135,7 +136,7 @@ class D extends P {
|
|
|
135
136
|
buildCustomSortListItems() {
|
|
136
137
|
return v(this.model.orderByList, (e) => e, (e) => {
|
|
137
138
|
const s = S(this.layerFieldsInfo, e);
|
|
138
|
-
return a`<calcite-list-item id=${e ??
|
|
139
|
+
return a`<calcite-list-item id=${e ?? P} .label=${e ?? ""} .description=${s} .value=${e} .selected=${this.selectedCustomSortItemId === e} @calciteListItemSelect=${this.onCustomSortItemSelected}><calcite-icon slot=content-end></calcite-icon></calcite-list-item>`;
|
|
139
140
|
});
|
|
140
141
|
}
|
|
141
142
|
buildCustomSortList() {
|
|
@@ -157,7 +158,7 @@ class D extends P {
|
|
|
157
158
|
async updateCustomSortProps() {
|
|
158
159
|
const t = await this.model.getCustomSortValues();
|
|
159
160
|
this.originalCustomSortLabels = [...t];
|
|
160
|
-
const e = t.length >
|
|
161
|
+
const e = t.length > x.customSortLimit;
|
|
161
162
|
return e && (this.sortOrderElement.value && (this.sortOrderElement.value.label = this._messages.xAxisAsc), this.model.setSortOrder(c.xAxisAsc)), this.isCustomSortDisabled = e, t;
|
|
162
163
|
}
|
|
163
164
|
onStandardizeValuesChange(t) {
|
|
@@ -189,7 +190,7 @@ class D extends P {
|
|
|
189
190
|
e = this.sortOrderElement.value, s = this._messages.selectSortOrder, i = this.model.getSortOrder(), n = this.isCustomSortDisabled;
|
|
190
191
|
break;
|
|
191
192
|
}
|
|
192
|
-
this.boxPlotPopover =
|
|
193
|
+
this.boxPlotPopover = w(a`<arcgis-charts-config-box-plot-popover .headingTitle=${s} .referenceElement=${e} open .contentKind=${this.contentKind} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${i} .isCustomSortDisabled=${n} @arcgisChartsConfigBoxPlotDataPopoverChange=${this.onBoxPlotDataChange} @arcgisChartsConfigPopoverClose=${this.popoverClose}></arcgis-charts-config-box-plot-popover>`), !document.body.contains(this.boxPlotPopover) && this.boxPlotPopover !== null && document.body.appendChild(this.boxPlotPopover);
|
|
193
194
|
}
|
|
194
195
|
onAddNumericFields(t) {
|
|
195
196
|
this.contentKind = l.numericFields, this.setupPopover(t);
|
|
@@ -198,7 +199,7 @@ class D extends P {
|
|
|
198
199
|
return this.model.splitByField?.trim() === "" ? "" : g(this.layerFieldsInfo, this.model.splitByField);
|
|
199
200
|
}
|
|
200
201
|
getCorrectedCategoryValue() {
|
|
201
|
-
return
|
|
202
|
+
return E({
|
|
202
203
|
fieldName: this.model.category,
|
|
203
204
|
fieldList: this.layerFieldsInfo
|
|
204
205
|
}) ? "" : g(this.layerFieldsInfo, this.model.category);
|
|
@@ -208,7 +209,7 @@ class D extends P {
|
|
|
208
209
|
}
|
|
209
210
|
renderCustomSortUI() {
|
|
210
211
|
const t = this.model.getSortOrder(), e = this.model.getAxisValueFormat(0)?.type, s = this.model.orderByList.indexOf(this.selectedCustomSortItemId);
|
|
211
|
-
return e === y.CategoryAxisFormat && t === c.customSort && !this.isCustomSortDisabled ? a`<calcite-label class=${o(r.label)}><div class=${o(r.customSortButtons)}><div><calcite-button appearance=transparent .disabled=${s === 0 || s === -1 || this.selectedCustomSortItemId.trim() === ""} icon-start=arrow-bold-up id=${m.Up} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button><calcite-button appearance=transparent .disabled=${s === -1 || s === this.model.orderByList.length - 1 || this.selectedCustomSortItemId.trim() === ""} icon-start=arrow-bold-down id=${m.Down} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button></div><calcite-button @click=${this.resetToOriginalCustomSortLabels} .disabled=${
|
|
212
|
+
return e === y.CategoryAxisFormat && t === c.customSort && !this.isCustomSortDisabled ? a`<calcite-label class=${o(r.label)}><div class=${o(r.customSortButtons)}><div><calcite-button appearance=transparent .disabled=${s === 0 || s === -1 || this.selectedCustomSortItemId.trim() === ""} icon-start=arrow-bold-up id=${m.Up} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button><calcite-button appearance=transparent .disabled=${s === -1 || s === this.model.orderByList.length - 1 || this.selectedCustomSortItemId.trim() === ""} icon-start=arrow-bold-down id=${m.Down} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button></div><calcite-button @click=${this.resetToOriginalCustomSortLabels} .disabled=${C(this.model.orderByList, this.originalCustomSortLabels)} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${this.model.category === d ? this._messages.values : this._messages.category}${this.buildCustomSortList()}</calcite-label>` : null;
|
|
212
213
|
}
|
|
213
214
|
renderNumericFields(t) {
|
|
214
215
|
const e = [];
|
|
@@ -232,7 +233,7 @@ class D extends P {
|
|
|
232
233
|
return a`<calcite-label class=${o(r.label)}>${this._messages.numericFields}${e}</calcite-label><div class=${o(r.fab)}><calcite-fab appearance=outline-fill kind=neutral scale=m .label=${this._messages.selectNumericFields} text-enabled .text=${this._messages.selectNumericFields} icon=plus @click=${this.onAddNumericFields}></calcite-fab></div><calcite-label class=${o(r.label)}><div>${this._messages.category} <span class=${o(r.dimText)}>(${this._messages.optional})</span></div>${t}</calcite-label><calcite-label class=${o(r.label)}><div class=${o(this.disableSplitBy ? r.dimText : "")}>${this._messages.splitBy} <span class=${o(r.dimText)}>(${this._messages.optional})</span></div>${s}</calcite-label><div>${(this.model.numericFields ?? []).length > 1 ? a`<calcite-label class=${o(r.label)} layout=inline-space-between>${this._messages.standardizeValues}<calcite-switch .checked=${this.model.standardizeValues} @calciteSwitchChange=${this.onStandardizeValuesChange}></calcite-switch></calcite-label>` : null}</div><calcite-label class=${o(r.label)} layout=inline-space-between>${this._messages.showOutliers}<calcite-switch .checked=${this.model.showOutliers} @calciteSwitchChange=${this.onShowOutliersChange}></calcite-switch></calcite-label><calcite-label class=${o(r.label)}>${this._messages.sortOrder}${i}</calcite-label>${n}`;
|
|
233
234
|
}
|
|
234
235
|
}
|
|
235
|
-
|
|
236
|
+
b("arcgis-charts-config-box-plot-data", D);
|
|
236
237
|
export {
|
|
237
238
|
D as ArcgisChartsConfigBoxPlotData
|
|
238
239
|
};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { c as k } from "../../chunks/runtime.js";
|
|
2
|
-
import { keyed as
|
|
2
|
+
import { keyed as d } from "lit/directives/keyed.js";
|
|
3
3
|
import { repeat as v } from "lit/directives/repeat.js";
|
|
4
4
|
import { B as r } from "../../chunks/common.js";
|
|
5
5
|
import "../../chunks/series-types.js";
|
|
6
|
-
import { R as
|
|
6
|
+
import { R as f } from "../../chunks/rest-js-object-literals.js";
|
|
7
7
|
import "@arcgis/toolkit/intl";
|
|
8
8
|
import "lodash-es";
|
|
9
|
+
import "luxon";
|
|
9
10
|
import "d3-array";
|
|
10
|
-
import { cX as
|
|
11
|
+
import { cX as $, bM as g, bK as y, cM as F } from "../../chunks/index.js";
|
|
11
12
|
import "@arcgis/core/Graphic.js";
|
|
12
13
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
13
14
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
14
|
-
import { substitute as
|
|
15
|
+
import { substitute as L } from "@arcgis/core/intl.js";
|
|
15
16
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
16
17
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
17
18
|
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
@@ -24,16 +25,16 @@ import "@arcgis/core/rest/support/Query.js";
|
|
|
24
25
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
25
26
|
import "@arcgis/core/time/TimeExtent.js";
|
|
26
27
|
import "@arcgis/core/core/promiseUtils.js";
|
|
27
|
-
import { e as
|
|
28
|
+
import { e as P, p as I } from "../../chunks/popover-ui-utils.js";
|
|
28
29
|
import { a as l } from "../../chunks/interfaces.js";
|
|
29
|
-
import { U as h, e as
|
|
30
|
+
import { U as h, e as x, i as u, d as D } from "../../chunks/chart-ui-utils2.js";
|
|
30
31
|
import { u as S } from "../../chunks/useT9n.js";
|
|
31
|
-
import { css as
|
|
32
|
-
import { createRef as b, ref as
|
|
33
|
-
import { LitElement as
|
|
32
|
+
import { css as T, html as n } from "lit";
|
|
33
|
+
import { createRef as b, ref as p } from "lit/directives/ref.js";
|
|
34
|
+
import { LitElement as E, createEvent as C, renderElement as w, safeStyleMap as B, safeClassMap as m } from "@arcgis/lumina";
|
|
34
35
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
35
36
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
36
|
-
v5.0.0-next.
|
|
37
|
+
v5.0.0-next.125 */
|
|
37
38
|
const o = {
|
|
38
39
|
jsAppFlyout: "js-app-flyout",
|
|
39
40
|
name: "bar-chart-data-popover",
|
|
@@ -45,8 +46,8 @@ const o = {
|
|
|
45
46
|
sortMedian: "sort-median",
|
|
46
47
|
sortOrderPickList: "sort-order-pick-list",
|
|
47
48
|
panel: "panel"
|
|
48
|
-
}, M =
|
|
49
|
-
class
|
|
49
|
+
}, M = 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-mean,.sort-median{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}`;
|
|
50
|
+
class K extends E {
|
|
50
51
|
constructor() {
|
|
51
52
|
super(...arguments), this._messages = S(), this.picklist = b(), this.placement = "leading", this.popoverElement = b(), this.offsetDistance = -200, this.pickListHasChanged = !1, this.layerFieldsInfo = [], this.isCustomSortDisabled = !1, this.arcgisChartsConfigBoxPlotDataPopoverChange = C(), this.arcgisChartsConfigPopoverClose = C();
|
|
52
53
|
}
|
|
@@ -65,12 +66,12 @@ class z extends T {
|
|
|
65
66
|
updated() {
|
|
66
67
|
setTimeout(() => {
|
|
67
68
|
typeof this.picklist.value?.setFocus == "function" && this.picklist.value?.setFocus();
|
|
68
|
-
}, h.PopoverTimer),
|
|
69
|
+
}, h.PopoverTimer), P(this.popoverElement.value, this.open), this.hasUpdated || setTimeout(() => {
|
|
69
70
|
this.popoverElement.value?.reposition();
|
|
70
71
|
}, h.PopoverTimer);
|
|
71
72
|
}
|
|
72
73
|
selectedContentChange(e, t) {
|
|
73
|
-
this.pickListHasChanged =
|
|
74
|
+
this.pickListHasChanged = I(e, t);
|
|
74
75
|
}
|
|
75
76
|
closePopover() {
|
|
76
77
|
if (this.contentKind === l.numericFields && this.pickListHasChanged) {
|
|
@@ -79,7 +80,7 @@ class z extends T {
|
|
|
79
80
|
eventEmitter: this.arcgisChartsConfigBoxPlotDataPopoverChange,
|
|
80
81
|
contentKind: this.contentKind
|
|
81
82
|
};
|
|
82
|
-
|
|
83
|
+
x(e);
|
|
83
84
|
}
|
|
84
85
|
this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
85
86
|
}
|
|
@@ -92,7 +93,7 @@ class z extends T {
|
|
|
92
93
|
}), this.open = !1;
|
|
93
94
|
}
|
|
94
95
|
buildPickListItem(e) {
|
|
95
|
-
return
|
|
96
|
+
return d(e.name, n`<calcite-list-item .label=${$(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${u(e.name, this.selectedContent)}></calcite-list-item>`);
|
|
96
97
|
}
|
|
97
98
|
buildPickListItems(e) {
|
|
98
99
|
const t = this.layerFieldsInfo?.length ?? 0, i = [];
|
|
@@ -100,25 +101,25 @@ class z extends T {
|
|
|
100
101
|
case l.numericFields: {
|
|
101
102
|
for (let s = 0; s < t; s += 1) {
|
|
102
103
|
const a = this.layerFieldsInfo[s];
|
|
103
|
-
|
|
104
|
+
y(a) && i.push(this.buildPickListItem(a));
|
|
104
105
|
}
|
|
105
106
|
break;
|
|
106
107
|
}
|
|
107
108
|
case l.category: {
|
|
108
|
-
const s =
|
|
109
|
+
const s = d(" ", n`<calcite-list-item label=" " value=" " .selected=${u("", this.selectedContent)}></calcite-list-item>`);
|
|
109
110
|
i.push(s);
|
|
110
111
|
for (let a = 0; a < t; a += 1) {
|
|
111
112
|
const c = this.layerFieldsInfo[a];
|
|
112
|
-
(g(c) || c.type ===
|
|
113
|
+
(g(c) || c.type === f.String) && i.push(this.buildPickListItem(c));
|
|
113
114
|
}
|
|
114
115
|
break;
|
|
115
116
|
}
|
|
116
117
|
case l.splitByField: {
|
|
117
|
-
const s =
|
|
118
|
+
const s = d(" ", n`<calcite-list-item label=" " value=" " .selected=${u("", this.selectedContent)}></calcite-list-item>`);
|
|
118
119
|
i.push(s);
|
|
119
120
|
for (let a = 0; a < t; a += 1) {
|
|
120
121
|
const c = this.layerFieldsInfo[a];
|
|
121
|
-
(g(c) || c.type ===
|
|
122
|
+
(g(c) || c.type === f.String) && i.push(this.buildPickListItem(c));
|
|
122
123
|
}
|
|
123
124
|
break;
|
|
124
125
|
}
|
|
@@ -170,10 +171,10 @@ class z extends T {
|
|
|
170
171
|
}
|
|
171
172
|
createTooltip(e) {
|
|
172
173
|
if (e.target?.label === this._messages.customSort && this.isCustomSortDisabled) {
|
|
173
|
-
const t = e.target, i =
|
|
174
|
+
const t = e.target, i = F(t), a = new Intl.NumberFormat(i).format(h.customSortLimit), c = L(this._messages.customSortLimit ?? "", {
|
|
174
175
|
totalLimit: a
|
|
175
176
|
});
|
|
176
|
-
this.tooltip =
|
|
177
|
+
this.tooltip = w(n`<calcite-tooltip style=${B({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${c}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
177
178
|
}
|
|
178
179
|
}
|
|
179
180
|
destroyTooltip() {
|
|
@@ -181,19 +182,19 @@ class z extends T {
|
|
|
181
182
|
}
|
|
182
183
|
renderCategory() {
|
|
183
184
|
const e = this.buildPickListItems(l.category);
|
|
184
|
-
return n`<calcite-list label class=${
|
|
185
|
+
return n`<calcite-list label class=${m(o.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`;
|
|
185
186
|
}
|
|
186
187
|
renderNumericFields() {
|
|
187
188
|
const e = this.buildPickListItems(l.numericFields);
|
|
188
|
-
return n`<calcite-list label class=${
|
|
189
|
+
return n`<calcite-list label class=${m(o.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${p(this.picklist)}>${e}</calcite-list>`;
|
|
189
190
|
}
|
|
190
191
|
renderSplitByField() {
|
|
191
192
|
const e = this.buildPickListItems(l.splitByField);
|
|
192
|
-
return n`<calcite-list label class=${
|
|
193
|
+
return n`<calcite-list label class=${m(o.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`;
|
|
193
194
|
}
|
|
194
195
|
renderSortOrder() {
|
|
195
196
|
const e = this.buildSortOrder();
|
|
196
|
-
return n`<calcite-list label class=${
|
|
197
|
+
return n`<calcite-list label class=${m(o.sortOrderPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
197
198
|
}
|
|
198
199
|
renderPopoverInfo() {
|
|
199
200
|
let e;
|
|
@@ -215,10 +216,10 @@ class z extends T {
|
|
|
215
216
|
}
|
|
216
217
|
render() {
|
|
217
218
|
let e;
|
|
218
|
-
return this.contentKind === l.numericFields && (e = n`<div slot=footer><calcite-fab class=${
|
|
219
|
+
return this.contentKind === l.numericFields && (e = n`<div slot=footer><calcite-fab class=${m(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=${m(o.jsAppFlyout)}><calcite-popover class=${m(o.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${p(this.popoverElement)}><calcite-panel class=${m(o.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${m(o.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`;
|
|
219
220
|
}
|
|
220
221
|
}
|
|
221
|
-
k("arcgis-charts-config-box-plot-popover",
|
|
222
|
+
k("arcgis-charts-config-box-plot-popover", K);
|
|
222
223
|
export {
|
|
223
|
-
|
|
224
|
+
K as ArcgisChartsConfigBoxPlotPopover
|
|
224
225
|
};
|
|
@@ -3,12 +3,14 @@ import { css as P, html as n } from "lit";
|
|
|
3
3
|
import { keyed as y } from "lit/directives/keyed.js";
|
|
4
4
|
import "@arcgis/toolkit/intl";
|
|
5
5
|
import "lodash-es";
|
|
6
|
+
import "luxon";
|
|
6
7
|
import "d3-array";
|
|
7
8
|
import { f as d } from "../../chunks/series-types.js";
|
|
8
9
|
import { de as S } 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";
|
|
@@ -30,7 +32,7 @@ import { LitElement as O, renderElement as h, safeStyleMap as m, safeClassMap as
|
|
|
30
32
|
import { d as w } from "../../chunks/chart-ui-utils2.js";
|
|
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 l = {
|
|
35
37
|
topSection: "top-section",
|
|
36
38
|
sectionLabel: "section-label",
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { c as g } from "../../chunks/runtime.js";
|
|
2
|
-
import { css as
|
|
2
|
+
import { css as C, html as l } from "lit";
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
|
-
import { isEqual as
|
|
4
|
+
import { isEqual as f } from "lodash-es";
|
|
5
|
+
import "luxon";
|
|
5
6
|
import "d3-array";
|
|
6
7
|
import "../../chunks/series-types.js";
|
|
7
8
|
import { f as v } from "../../chunks/rest-js-object-literals.js";
|
|
@@ -9,6 +10,7 @@ import { ap 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,35 +25,35 @@ 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 { e as
|
|
27
|
-
import { U as
|
|
28
|
-
import { u as
|
|
29
|
-
import { createRef as
|
|
30
|
-
import { LitElement as
|
|
28
|
+
import { e as y } from "../../chunks/popover-ui-utils.js";
|
|
29
|
+
import { U as u } from "../../chunks/chart-ui-utils2.js";
|
|
30
|
+
import { u as S } from "../../chunks/useT9n.js";
|
|
31
|
+
import { createRef as b, ref as $ } from "lit/directives/ref.js";
|
|
32
|
+
import { LitElement as P, createEvent as a, safeClassMap as n } from "@arcgis/lumina";
|
|
31
33
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
32
34
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
33
|
-
v5.0.0-next.
|
|
35
|
+
v5.0.0-next.125 */
|
|
34
36
|
const c = {
|
|
35
37
|
jsAppFlyout: "js-app-flyout",
|
|
36
38
|
panelChildrenContainer: "panel-children-container"
|
|
37
|
-
},
|
|
38
|
-
class
|
|
39
|
+
}, L = 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{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}`;
|
|
40
|
+
class x extends P {
|
|
39
41
|
constructor() {
|
|
40
|
-
super(...arguments), this._messages =
|
|
42
|
+
super(...arguments), this._messages = S(), this.popoverElement = b(), this.isLineSymbol = !1, this.arcgisChartsConfigPopoverClose = a(), this.arcgisChartsConfigSeriesPopoverColorChange = a(), this.arcgisChartsConfigSeriesPopoverLineStyleChange = a(), this.arcgisChartsConfigSeriesPopoverLineWidthChange = a(), this.arcgisChartsConfigSeriesPopoverNameChange = a();
|
|
41
43
|
}
|
|
42
44
|
static {
|
|
43
45
|
this.properties = { messageOverrides: 0, referenceElement: 0, selectedName: 1, selectedColor: 0, selectedLineStyle: 1, selectedLineWidth: 9, selectedSeriesIndex: 9, isLineSymbol: 5, placement: 1, open: 5, labelCanBeConfigured: 5 };
|
|
44
46
|
}
|
|
45
47
|
static {
|
|
46
|
-
this.styles =
|
|
48
|
+
this.styles = L;
|
|
47
49
|
}
|
|
48
50
|
async reposition() {
|
|
49
51
|
await this.popoverElement.value?.reposition();
|
|
50
52
|
}
|
|
51
53
|
updated() {
|
|
52
|
-
|
|
54
|
+
y(this.popoverElement.value, this.open), this.hasUpdated || setTimeout(() => {
|
|
53
55
|
this.popoverElement.value?.reposition();
|
|
54
|
-
},
|
|
56
|
+
}, u.PopoverTimer);
|
|
55
57
|
}
|
|
56
58
|
seriesNameChange(e) {
|
|
57
59
|
const t = e.target.value;
|
|
@@ -66,7 +68,7 @@ class L extends $ {
|
|
|
66
68
|
}
|
|
67
69
|
lineSymbolChange(e) {
|
|
68
70
|
const { lineStyle: t } = e.target, { color: s, style: i, width: o } = t;
|
|
69
|
-
if (s !== void 0 && !
|
|
71
|
+
if (s !== void 0 && !f(s, this.selectedColor)) {
|
|
70
72
|
const [r, p, h] = s, m = d * 255;
|
|
71
73
|
this.selectedColor = [r, p, h, m], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [r, p, h, m] });
|
|
72
74
|
}
|
|
@@ -74,17 +76,17 @@ class L extends $ {
|
|
|
74
76
|
}
|
|
75
77
|
render() {
|
|
76
78
|
const e = this.selectedColor;
|
|
77
|
-
return
|
|
79
|
+
return l`<div class=${n({
|
|
78
80
|
[c.jsAppFlyout]: !0
|
|
79
|
-
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${
|
|
81
|
+
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${$(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}>${this.labelCanBeConfigured ? l`<div class=${n(c.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${this.selectedName} @calciteInputInput=${this.seriesNameChange}></calcite-input></calcite-label></div>` : null}<div class=${n(c.panelChildrenContainer)}>${this.isLineSymbol ? l`<arcgis-charts-config-line-style .open=${this.open} enable-close .lineStyle=${{
|
|
80
82
|
type: v.SLS,
|
|
81
83
|
style: this.selectedLineStyle,
|
|
82
84
|
width: this.selectedLineWidth,
|
|
83
85
|
color: e
|
|
84
|
-
}} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.lineSymbolChange}></arcgis-charts-config-line-style>` :
|
|
86
|
+
}} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.lineSymbolChange}></arcgis-charts-config-line-style>` : l`<arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors>`}</div></calcite-panel></calcite-popover></div>`;
|
|
85
87
|
}
|
|
86
88
|
}
|
|
87
|
-
g("arcgis-charts-config-box-plot-series-popover",
|
|
89
|
+
g("arcgis-charts-config-box-plot-series-popover", x);
|
|
88
90
|
export {
|
|
89
|
-
|
|
91
|
+
x as ArcgisChartsConfigBoxPlotSeriesPopover
|
|
90
92
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import { b as h, m as r, s as u, c as
|
|
1
|
+
import { c as m } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as o, html as l } from "lit";
|
|
3
|
+
import { b as h, m as r, s as u, c as s } from "../../chunks/chart-ui-utils2.js";
|
|
4
4
|
import { u as p } from "../../chunks/useT9n.js";
|
|
5
|
-
import { createRef as
|
|
6
|
-
import { LitElement as f, createEvent as b, safeClassMap as
|
|
5
|
+
import { createRef as g, ref as d } from "lit/directives/ref.js";
|
|
6
|
+
import { LitElement as f, createEvent as b, safeClassMap as e } 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 a = {
|
|
11
11
|
container: "container",
|
|
12
12
|
label: "label",
|
|
13
13
|
numberInput: "number-input"
|
|
14
|
-
}, y =
|
|
15
|
-
class
|
|
14
|
+
}, y = 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)}.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))}.container>.number-input{margin-bottom:.5rem;display:flex}.container>.number-input>div{width:100%}.label{display:flex;margin-bottom:.5rem}`;
|
|
15
|
+
class C extends f {
|
|
16
16
|
constructor() {
|
|
17
|
-
super(...arguments), this._messages = p(), this.characterLimitInputElement =
|
|
17
|
+
super(...arguments), this._messages = p(), this.characterLimitInputElement = g(), this.arcgisChartsConfigCategoryFormatChange = b();
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
20
20
|
this.properties = { messageOverrides: 0, categoryFormat: 0 };
|
|
@@ -23,16 +23,16 @@ class v extends f {
|
|
|
23
23
|
this.styles = y;
|
|
24
24
|
}
|
|
25
25
|
onCharacterLimitChange() {
|
|
26
|
-
const t = this.characterLimitInputElement.value?.value, i = Math.floor(Number(t)),
|
|
27
|
-
if (t !== void 0 &&
|
|
28
|
-
const
|
|
29
|
-
this.updateCategoryFormat({ type: this.categoryFormat.type, characterLimit:
|
|
26
|
+
const t = this.characterLimitInputElement.value?.value, i = Math.floor(Number(t)), c = i === Number(t) && i >= 0;
|
|
27
|
+
if (t !== void 0 && c && h(t, this.characterLimitInputElement.value?.min, this.characterLimitInputElement.value?.max)) {
|
|
28
|
+
const n = Number.parseInt(t);
|
|
29
|
+
this.updateCategoryFormat({ type: this.categoryFormat.type, characterLimit: n }), this.arcgisChartsConfigCategoryFormatChange.emit(), this.characterLimitInputElement.value && r({
|
|
30
30
|
inputElement: this.characterLimitInputElement.value,
|
|
31
|
-
status:
|
|
31
|
+
status: s.IDLE
|
|
32
32
|
});
|
|
33
33
|
} else this.characterLimitInputElement.value && r({
|
|
34
34
|
inputElement: this.characterLimitInputElement.value,
|
|
35
|
-
status:
|
|
35
|
+
status: s.INVALID
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
updateCategoryFormat(t) {
|
|
@@ -42,10 +42,10 @@ class v extends f {
|
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return
|
|
45
|
+
return l`<div class=${e(a.container)}><calcite-label class=${e(a.label)}>${this._messages.labelCharacterLmt}<calcite-input type=number class=${e(a.numberInput)} min=1 max=100 step=1 .value=${u(this.categoryFormat?.characterLimit, 11)} @calciteInputInput=${this.onCharacterLimitChange} ${d(this.characterLimitInputElement)}></calcite-input></calcite-label></div>`;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
|
|
48
|
+
m("arcgis-charts-config-category-format", C);
|
|
49
49
|
export {
|
|
50
|
-
|
|
50
|
+
C as ArcgisChartsConfigCategoryFormat
|
|
51
51
|
};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { c as l } from "../../chunks/runtime.js";
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
|
-
import { isEmpty as
|
|
3
|
+
import { isEmpty as m } from "lodash-es";
|
|
4
|
+
import "luxon";
|
|
4
5
|
import "d3-array";
|
|
5
6
|
import "../../chunks/series-types.js";
|
|
6
7
|
import "../../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";
|
|
@@ -21,30 +23,30 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
21
23
|
import "@arcgis/core/time/TimeExtent.js";
|
|
22
24
|
import "@arcgis/core/core/promiseUtils.js";
|
|
23
25
|
import "@arcgis/toolkit/dom";
|
|
24
|
-
import { e as
|
|
25
|
-
import { m as p, c as
|
|
26
|
+
import { e as c } from "../../chunks/popover-ui-utils.js";
|
|
27
|
+
import { m as p, c as s } from "../../chunks/chart-ui-utils2.js";
|
|
26
28
|
import { u as h } from "../../chunks/useT9n.js";
|
|
27
|
-
import { css as d, html as
|
|
28
|
-
import { createRef as
|
|
29
|
-
import { LitElement as
|
|
29
|
+
import { css as d, html as u } from "lit";
|
|
30
|
+
import { createRef as n, ref as r } from "lit/directives/ref.js";
|
|
31
|
+
import { LitElement as g, 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 e = {
|
|
34
36
|
jsAppFlyout: "js-app-flyout",
|
|
35
37
|
chartRenameComponent: "chart-rename-component",
|
|
36
38
|
renameLabelContainer: "rename-label-container",
|
|
37
39
|
renamePanel: "rename-panel"
|
|
38
|
-
},
|
|
39
|
-
class
|
|
40
|
+
}, v = d`.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)}.chart-rename-component{width:var(--arcgis-charts-config-panel-width-medium);height:var(--arcgis-charts-config-panel-height)}:host{overflow-y:auto;width:min-content}.rename-label-container{display:flex;padding:0 1rem;margin-top:1rem}.rename-label-container calcite-label{flex:1 1 0px;display:flex;width:0px}.rename-panel{width:calc(var(--calcite-panel-width-multiplier) * 20vw);max-width:calc(var(--calcite-panel-width-multiplier) * 420px);min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}`;
|
|
41
|
+
class C extends g {
|
|
40
42
|
constructor() {
|
|
41
|
-
super(...arguments), this._messages = h(), this.characterLimitInputElement =
|
|
43
|
+
super(...arguments), this._messages = h(), this.characterLimitInputElement = n(), this.popoverElement = n(), this.isChartTitleInvalid = !1, this.changedName = "", this.name = "", this.arcgisChartsConfigChartRenamePopoverChange = o(), this.arcgisChartsConfigPopoverClose = o();
|
|
42
44
|
}
|
|
43
45
|
static {
|
|
44
46
|
this.properties = { isChartTitleInvalid: 16, changedName: 16, messageOverrides: 0, name: 1, open: 5, referenceElement: 0 };
|
|
45
47
|
}
|
|
46
48
|
static {
|
|
47
|
-
this.styles =
|
|
49
|
+
this.styles = v;
|
|
48
50
|
}
|
|
49
51
|
async reposition() {
|
|
50
52
|
await this.popoverElement.value?.reposition();
|
|
@@ -53,13 +55,13 @@ class v extends u {
|
|
|
53
55
|
t.has("name") && (this.changedName = this.name);
|
|
54
56
|
}
|
|
55
57
|
updated() {
|
|
56
|
-
this.popoverElement.value?.reposition(),
|
|
58
|
+
this.popoverElement.value?.reposition(), c(this.popoverElement.value, this.open);
|
|
57
59
|
}
|
|
58
60
|
onNameChange(t) {
|
|
59
|
-
const
|
|
60
|
-
this.changedName =
|
|
61
|
+
const a = t.target.value;
|
|
62
|
+
this.changedName = a, this.isChartTitleInvalid = m(a.trim()), this.characterLimitInputElement.value && p({
|
|
61
63
|
inputElement: this.characterLimitInputElement.value,
|
|
62
|
-
status: this.isChartTitleInvalid ?
|
|
64
|
+
status: this.isChartTitleInvalid ? s.INVALID : s.IDLE
|
|
63
65
|
});
|
|
64
66
|
}
|
|
65
67
|
onCancelClick() {
|
|
@@ -72,13 +74,13 @@ class v extends u {
|
|
|
72
74
|
this.changedName = this.name, this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
73
75
|
}
|
|
74
76
|
render() {
|
|
75
|
-
return
|
|
77
|
+
return u`<div class=${i({
|
|
76
78
|
[e.chartRenameComponent]: !0,
|
|
77
79
|
[e.jsAppFlyout]: !0
|
|
78
|
-
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label auto-close ${
|
|
80
|
+
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label auto-close ${r(this.popoverElement)}><calcite-panel class=${i(e.renamePanel)} closable .closed=${!this.open} @calcitePanelClose=${this.popoverClose} .heading=${this._messages.renameChart}><div class=${i(e.renameLabelContainer)}><calcite-label>${this._messages.chartName}<calcite-input required type=text .value=${this.changedName} @calciteInputInput=${this.onNameChange} ${r(this.characterLimitInputElement)}></calcite-input><arcgis-charts-config-invalid-input-message .invalidInputMessage=${this._messages.emptyChartTitle} .isInvalid=${this.isChartTitleInvalid}></arcgis-charts-config-invalid-input-message></calcite-label></div><calcite-button slot=footer appearance=solid scale=m width=half @click=${this.onSubmitClick}>${this._messages.submit}</calcite-button><calcite-button slot=footer appearance=outline-fill scale=m width=half @click=${this.onCancelClick}>${this._messages.cancel}</calcite-button></calcite-panel></calcite-popover></div>`;
|
|
79
81
|
}
|
|
80
82
|
}
|
|
81
|
-
l("arcgis-charts-config-chart-rename-popover",
|
|
83
|
+
l("arcgis-charts-config-chart-rename-popover", C);
|
|
82
84
|
export {
|
|
83
|
-
|
|
85
|
+
C as ArcgisChartsConfigChartRenamePopover
|
|
84
86
|
};
|