@arcgis/charts-components 5.0.0-next.124 → 5.0.0-next.126
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/{OYHNC2SA.js → 25XRK74L.js} +2 -2
- package/dist/cdn/{7EW6LYPG.js → 26KI2VVZ.js} +2 -2
- package/dist/cdn/{2D5EDHYN.js → 27UHYAD7.js} +2 -2
- package/dist/cdn/{3PPWCDCJ.js → 2A6TTXMX.js} +2 -2
- package/dist/cdn/{QNFRQUY2.js → 2AIIJ3EU.js} +2 -2
- package/dist/cdn/{YUS4PQGH.js → 35E2DSUF.js} +2 -2
- package/dist/cdn/{JI5RWIXQ.js → 3HUEAOWU.js} +2 -2
- package/dist/cdn/{6CTF3LVX.js → 4AWFYOB3.js} +2 -2
- package/dist/cdn/{6RWCW3UO.js → 4CBCYV7Y.js} +2 -2
- package/dist/cdn/{HVR7IPTU.js → 4IWVBMMV.js} +2 -2
- package/dist/cdn/{ISNET2BC.js → 4VMPZYRR.js} +2 -2
- package/dist/cdn/{DMHAI37D.js → 4XRFREWJ.js} +2 -2
- package/dist/cdn/{2YH4S6R2.js → 5EZEK2B3.js} +2 -2
- package/dist/cdn/{YGWW67SB.js → 5O4AS63P.js} +2 -2
- package/dist/cdn/{QDNHFVAT.js → 5SPR4WU7.js} +2 -2
- package/dist/cdn/{PXWSFT73.js → 5V4WL3KB.js} +2 -2
- package/dist/cdn/{VSOUQS2X.js → 5YB6JGO6.js} +2 -2
- package/dist/cdn/{4C222VDK.js → 5YVVRQGX.js} +2 -2
- package/dist/cdn/{EGZMAYNW.js → 643TZRTV.js} +2 -2
- package/dist/cdn/6HVKSH55.js +4 -0
- package/dist/cdn/{ATHPEPG3.js → 6NFJLX4R.js} +2 -2
- package/dist/cdn/{BGA7WGKS.js → 6PWOZ6DX.js} +2 -2
- package/dist/cdn/{B7CIWHRP.js → 6W2SH2IX.js} +2 -2
- package/dist/cdn/{QOZYNDKK.js → 74R27GEX.js} +2 -2
- package/dist/cdn/{SJVORS7J.js → 76MEZSBP.js} +2 -2
- package/dist/cdn/77JNABH4.js +4 -0
- package/dist/cdn/{S5ELHZKG.js → 7CRANVFJ.js} +2 -2
- package/dist/cdn/{LTFM5NKH.js → 7DZEHEYQ.js} +2 -2
- package/dist/cdn/{RUZY3A2W.js → 7E3AMLJV.js} +1 -1
- package/dist/cdn/{YUUP7TFJ.js → 7H276RRF.js} +1 -1
- package/dist/cdn/{5PC6AV3A.js → 7UVCY2XW.js} +2 -2
- package/dist/cdn/{6XX34RTG.js → ABRNTTB5.js} +2 -2
- package/dist/cdn/{FE33CRUK.js → AEVMNV6D.js} +2 -2
- package/dist/cdn/{GNNDUEVI.js → AFR2NZEW.js} +2 -2
- package/dist/cdn/{I7GCNDDT.js → AHTZFNZ4.js} +2 -2
- package/dist/cdn/{BM2LI7QH.js → AOLCF6PF.js} +2 -2
- package/dist/cdn/{YTQZKWA6.js → AZZEZCTO.js} +2 -2
- package/dist/cdn/{GBSVT554.js → B5NYZJPC.js} +2 -2
- package/dist/cdn/{3YX74DF2.js → BIMLXGQH.js} +1 -1
- package/dist/cdn/BSDD4JGM.js +4 -0
- package/dist/cdn/BUDJ5KJ4.js +4 -0
- package/dist/cdn/{QNMYBOGS.js → C7ZOIOKQ.js} +2 -2
- package/dist/cdn/{TTGW7K5G.js → CF76W6BX.js} +2 -2
- package/dist/cdn/{S3UD7LY2.js → CY4JRAZ2.js} +2 -2
- package/dist/cdn/{3X7QLZLE.js → D776AYHH.js} +2 -2
- package/dist/cdn/{BZPIEEDJ.js → DEGKE72A.js} +2 -2
- package/dist/cdn/{WKJSDXQI.js → DMUPFMGF.js} +2 -2
- package/dist/cdn/DOMFMDO6.js +4 -0
- package/dist/cdn/{YVMTYOW2.js → ELGNG2Q4.js} +2 -2
- package/dist/cdn/{ML67VUPG.js → ELTMKHI5.js} +2 -2
- package/dist/cdn/{ULU4K6SN.js → EOPCIELT.js} +2 -2
- package/dist/cdn/{7RH3XZWT.js → ERETYZHP.js} +2 -2
- package/dist/cdn/{UEM3MUED.js → ERWS266O.js} +2 -2
- package/dist/cdn/{V64AI4RB.js → EWSIWHZX.js} +2 -2
- package/dist/cdn/{655OVJFP.js → FLCOLBWB.js} +2 -2
- package/dist/cdn/{GR3U6ZIK.js → FNBTHB56.js} +2 -2
- package/dist/cdn/{RXXCTZJV.js → G2GFLPJY.js} +2 -2
- package/dist/cdn/{D34QFF3X.js → GBPLKUWL.js} +2 -2
- package/dist/cdn/GMQMQ6A7.js +4 -0
- package/dist/cdn/{VSNSRQWP.js → GV7LTNSB.js} +2 -2
- package/dist/cdn/{5VUKOFOE.js → H7BCCLBI.js} +2 -2
- package/dist/cdn/{VWQJJEWQ.js → HFBS6K2E.js} +2 -2
- package/dist/cdn/{RUEIU24U.js → HM7YEGEB.js} +2 -2
- package/dist/cdn/{5X46EGJ4.js → HRI7QMSC.js} +2 -2
- package/dist/cdn/{RSPHI4BO.js → I4NTX3Z2.js} +2 -2
- package/dist/cdn/{ZV37BEXJ.js → ID67GG4Z.js} +2 -2
- package/dist/cdn/{O2GMJWE4.js → IMG3QRKF.js} +2 -2
- package/dist/cdn/{JLHG2CB2.js → ITJ33NKU.js} +1 -1
- package/dist/cdn/{JTYNPEFS.js → IWLVXYOY.js} +2 -2
- package/dist/cdn/{4WWFFD7Q.js → J4AA7FRW.js} +2 -2
- package/dist/cdn/{SUJSBDM5.js → J7JFKQW2.js} +2 -2
- package/dist/cdn/{4JNZBZMT.js → JCQLF7EV.js} +2 -2
- package/dist/cdn/{IGM4UGTH.js → JDKSA2FX.js} +2 -2
- package/dist/cdn/{DWPKUBVW.js → JRSPZ6SO.js} +2 -2
- package/dist/cdn/{5IZCBNLA.js → JVGBT7HW.js} +2 -2
- package/dist/cdn/{R2YNWG73.js → JWN3NIZB.js} +2 -2
- package/dist/cdn/{FMALP4BH.js → KEADQABA.js} +2 -2
- package/dist/cdn/{TMNXZ2P2.js → KICNQRS5.js} +2 -2
- package/dist/cdn/{57CI5J4N.js → KNME6EGI.js} +2 -2
- package/dist/cdn/{WJ4LHER2.js → KOCW5WYZ.js} +2 -2
- package/dist/cdn/KUJSVFE4.js +4 -0
- package/dist/cdn/{G3HDHYLX.js → KZPAVR5Z.js} +2 -2
- package/dist/cdn/{QTD73XWY.js → KZY7SNZU.js} +2 -2
- package/dist/cdn/{XELT5Y3X.js → LAQ7APAM.js} +2 -2
- package/dist/cdn/{KHD7ZZ3C.js → LCKMPGM7.js} +2 -2
- package/dist/cdn/{FT3ZXFJE.js → LUPA3H3J.js} +2 -2
- package/dist/cdn/{BYMWEK3G.js → M2OM5DNU.js} +2 -2
- package/dist/cdn/{OMIIGK3F.js → M3HUJD7E.js} +2 -2
- package/dist/cdn/MCXWNKHE.js +4 -0
- package/dist/cdn/{3GNZ6W5K.js → MF5ZAJP4.js} +2 -2
- package/dist/cdn/{OLETCYC4.js → MJSWOREC.js} +2 -2
- package/dist/cdn/{7SRXBXPZ.js → MKNAFOVQ.js} +1 -1
- package/dist/cdn/{NXLS44FO.js → MN5E7EBK.js} +2 -2
- package/dist/cdn/{RBSOFFDG.js → MNFUQLWB.js} +2 -2
- package/dist/cdn/{3KHBL2HS.js → MS5H6NVL.js} +2 -2
- package/dist/cdn/{R6OITWD5.js → MZCCJESV.js} +2 -2
- package/dist/cdn/{2MS2UCMT.js → N7JRXCWF.js} +2 -2
- package/dist/cdn/{DJYAEAGR.js → NGOD7QYS.js} +2 -2
- package/dist/cdn/{FZ4SJYZ6.js → NL6TNMOY.js} +2 -2
- package/dist/cdn/NND3FLIE.js +4 -0
- package/dist/cdn/{MC3M3JDB.js → NTCZKQRC.js} +2 -2
- package/dist/cdn/{STA72KQH.js → OGDDMNLP.js} +2 -2
- package/dist/cdn/{ZPTBU5IU.js → OMQMS2VP.js} +2 -2
- package/dist/cdn/{IMQFKMPS.js → OQLTXWUU.js} +2 -2
- package/dist/cdn/{G3GVJVSG.js → OSUI5UAL.js} +2 -2
- package/dist/cdn/{P2EORQVS.js → OV6TE6ES.js} +2 -2
- package/dist/cdn/OZLDJIIO.js +4 -0
- package/dist/cdn/{HHH22MZL.js → P5JWGION.js} +2 -2
- package/dist/cdn/PAZTQIFU.js +4 -0
- package/dist/cdn/PGM6GEJ6.js +4 -0
- package/dist/cdn/{D5SH6HG6.js → PHDC7IS6.js} +2 -2
- package/dist/cdn/{6QNIVBNW.js → PIK4YDLO.js} +2 -2
- package/dist/cdn/{55FUE6UE.js → PIM7HXP7.js} +2 -2
- package/dist/cdn/{USGO4QRN.js → PTIDPN5X.js} +2 -2
- package/dist/cdn/{T4N4JEIW.js → PURVTUAP.js} +2 -2
- package/dist/cdn/{ZZJJZZFN.js → Q4EJXZA6.js} +2 -2
- package/dist/cdn/Q5UJ2NHS.js +4 -0
- package/dist/cdn/{KLP7IYTM.js → QIKABDKN.js} +2 -2
- package/dist/cdn/QLA6BHOG.js +4 -0
- package/dist/cdn/QMGZNANC.js +4 -0
- package/dist/cdn/{C7OKJYN7.js → QQUULICL.js} +2 -2
- package/dist/cdn/{JKVFIMBB.js → QWA2NXWE.js} +1 -1
- package/dist/cdn/{THVLXND3.js → QXDLE5IZ.js} +2 -2
- package/dist/cdn/QXMUMSJD.js +4 -0
- package/dist/cdn/{EZ2LYGYL.js → RCNHXERV.js} +2 -2
- package/dist/cdn/{M5R5MFMW.js → REQJ5VKC.js} +2 -2
- package/dist/cdn/{EQEQE67W.js → RK6CCTOG.js} +1 -1
- package/dist/cdn/{KW7WUR52.js → RM65CKH5.js} +2 -2
- package/dist/cdn/{GO4C26OI.js → ROPL32VZ.js} +2 -2
- package/dist/cdn/{RWZIWFW2.js → ROTLJPTM.js} +2 -2
- package/dist/cdn/{44SCILTL.js → RPIBXVWC.js} +2 -2
- package/dist/cdn/{AOX55UWJ.js → RXV7TMD3.js} +2 -2
- package/dist/cdn/{N7MCHAWE.js → RXY7BYXO.js} +2 -2
- package/dist/cdn/{OL36EBBK.js → RZGZRQIF.js} +2 -2
- package/dist/cdn/{MI7MLBEV.js → S7KXCJNQ.js} +2 -2
- package/dist/cdn/SAQUHIN6.js +4 -0
- package/dist/cdn/{YS2FXGAU.js → SK6EMQF2.js} +2 -2
- package/dist/cdn/{ESRJRU26.js → SKIPJVXR.js} +2 -2
- package/dist/cdn/{RATBUCY6.js → SLGHP6TN.js} +2 -2
- package/dist/cdn/{OMBNC7SB.js → SOBBK6GJ.js} +2 -2
- package/dist/cdn/{CX4D6GWY.js → SYCMKNIB.js} +2 -2
- package/dist/cdn/{GZRGFME2.js → TEP2J466.js} +2 -2
- package/dist/cdn/{GRRFZGXJ.js → TLV7DUO6.js} +2 -2
- package/dist/cdn/{KPS2S4MH.js → TNQLQVSX.js} +2 -2
- package/dist/cdn/{RMU2CIGT.js → TP2X6PFS.js} +2 -2
- package/dist/cdn/{KWCCDTNA.js → TSM7CFL5.js} +2 -2
- package/dist/cdn/{CZ4QFJN6.js → TWXQBB4I.js} +2 -2
- package/dist/cdn/{IN6PWUNI.js → U5ZB3ZOZ.js} +2 -2
- package/dist/cdn/{N4ZQJQAW.js → UFBER3XV.js} +2 -2
- package/dist/cdn/{OCKE7CUE.js → UOFAIACY.js} +2 -2
- package/dist/cdn/{N4SMAGEG.js → UQWXXVPP.js} +2 -2
- package/dist/cdn/{KS4HIDA2.js → UU5ZVLCU.js} +2 -2
- package/dist/cdn/VIVZZ62F.js +4 -0
- package/dist/cdn/{HXUD4YD5.js → VL3YMZBP.js} +2 -2
- package/dist/cdn/VLY2GYOK.js +4 -0
- package/dist/cdn/VRHSLUQS.js +4 -0
- package/dist/cdn/{PD4Q6GZE.js → VV3EOVSC.js} +2 -2
- package/dist/cdn/{V4C25BVV.js → VXUVRDZ7.js} +2 -2
- package/dist/cdn/{DCCED6GZ.js → W3E753E5.js} +2 -2
- package/dist/cdn/{RHEZNEQE.js → W6CJEKZF.js} +2 -2
- package/dist/cdn/{K5CBCSDB.js → W6WAGCUD.js} +2 -2
- package/dist/cdn/{ZOQ5F4KQ.js → WCFDKS47.js} +2 -2
- package/dist/cdn/{O47JQDR4.js → WD2HWPCM.js} +4 -4
- package/dist/cdn/{XUAJX5PS.js → WKOWQ475.js} +2 -2
- package/dist/cdn/{JWMIS654.js → WNAGAO6Z.js} +2 -2
- package/dist/cdn/{76LO3EHS.js → WU7OX373.js} +2 -2
- package/dist/cdn/{UX5AAEZQ.js → XB3GAQIJ.js} +2 -2
- package/dist/cdn/XCWR4PVE.js +4 -0
- package/dist/cdn/{MEKRZZV7.js → XCYWE7EO.js} +2 -2
- package/dist/cdn/{SC76G3QP.js → XETVTEXP.js} +2 -2
- package/dist/cdn/XFGSO5RQ.js +4 -0
- package/dist/cdn/{CNO7MVUY.js → XKI443WC.js} +2 -2
- package/dist/cdn/{4HCLTLQ4.js → XLGKD4VN.js} +2 -2
- package/dist/cdn/{ITRLHIN6.js → XSVXNSOZ.js} +2 -2
- package/dist/cdn/{YZZRXAD4.js → Y5HMOZRL.js} +2 -2
- package/dist/cdn/{HGRXTY54.js → YB3HEDVK.js} +2 -2
- package/dist/cdn/YIKQZM3J.js +4 -0
- package/dist/cdn/{NJS62ZQP.js → YKSNOZ55.js} +2 -2
- package/dist/cdn/Z2UL3XYG.js +4 -0
- package/dist/cdn/{ZTT6BCX2.js → ZELMXADS.js} +2 -2
- package/dist/cdn/ZIJIFME2.js +4 -0
- package/dist/cdn/{ZFDJUSVB.js → ZKKNEX53.js} +2 -2
- package/dist/cdn/{43UQ4RML.js → ZN7ILHG6.js} +2 -2
- package/dist/cdn/{JGPXA4KQ.js → ZNHWCDWX.js} +35 -35
- package/dist/cdn/{BGQBSD5V.js → ZNO4DZ3P.js} +2 -2
- package/dist/cdn/{C4OWDLDM.js → ZQC5FUSI.js} +2 -2
- package/dist/cdn/ZXQ6YK42.js +4 -0
- package/dist/cdn/{NWAGI43Q.js → ZZCFXZ2V.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 +1 -1
- 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 +1 -1
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/generate-x-axis-title.js +1 -1
- package/dist/chunks/heat-chart-model.js +2 -2
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +36 -35
- package/dist/chunks/index2.js +1 -1
- 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 +1 -1
- package/dist/chunks/model-with-multi-axes.js +1 -1
- package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +1 -1
- 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 +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/chunks/x-axis-labels-visibility.js +1 -1
- package/dist/components/arcgis-chart/customElement.d.ts +12 -5
- package/dist/components/arcgis-chart/customElement.js +6518 -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 +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +18 -18
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +15 -15
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +20 -20
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +30 -30
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +20 -20
- package/dist/components/arcgis-charts-config-category-format/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +19 -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 +1 -1
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +18 -18
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-guide/customElement.js +35 -35
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +48 -48
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.d.ts +2 -2
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +29 -29
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +29 -29
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +13 -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 +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +15 -15
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +22 -22
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +18 -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 +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +34 -34
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +20 -20
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +22 -22
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +14 -14
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -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/layer/query-parser/index.d.ts +2 -2
- package/dist/utils/types/index.d.ts +1 -0
- package/package.json +3 -3
- 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/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/O4QFRRKK.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/V2RBEV67.js +0 -4
|
@@ -1,9 +1,9 @@
|
|
|
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
7
|
import "d3-array";
|
|
8
8
|
import { aw as d, cY as S, cX as g } from "../../chunks/index.js";
|
|
9
9
|
import "@arcgis/core/Graphic.js";
|
|
@@ -26,16 +26,16 @@ import "@arcgis/toolkit/dom";
|
|
|
26
26
|
import { r as p } from "../../chunks/popover-ui-utils.js";
|
|
27
27
|
import { repeat as v } from "lit/directives/repeat.js";
|
|
28
28
|
import { a as l, f as m } from "../../chunks/interfaces.js";
|
|
29
|
-
import { d as $, s as
|
|
30
|
-
import { U as
|
|
29
|
+
import { d as $, s as F } from "../../chunks/store.js";
|
|
30
|
+
import { U as x } from "../../chunks/chart-ui-utils2.js";
|
|
31
31
|
import { u as I } from "../../chunks/useT9n.js";
|
|
32
|
-
import { css as
|
|
32
|
+
import { css as B, nothing as P, html as a } from "lit";
|
|
33
33
|
import { createRef as h, ref as u } from "lit/directives/ref.js";
|
|
34
|
-
import { LitElement as
|
|
35
|
-
import { x as
|
|
34
|
+
import { LitElement as O, createEvent as L, safeClassMap as o, renderElement as w } from "@arcgis/lumina";
|
|
35
|
+
import { x as E } from "../../chunks/data.js";
|
|
36
36
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
37
37
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
38
|
-
v5.0.0-next.
|
|
38
|
+
v5.0.0-next.126 */
|
|
39
39
|
const r = {
|
|
40
40
|
label: "label",
|
|
41
41
|
fieldList: "field-list",
|
|
@@ -43,8 +43,8 @@ const r = {
|
|
|
43
43
|
dimText: "dim-text",
|
|
44
44
|
list: "list",
|
|
45
45
|
customSortButtons: "custom-sort-buttons"
|
|
46
|
-
},
|
|
47
|
-
class D extends
|
|
46
|
+
}, 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)}`;
|
|
47
|
+
class D extends O {
|
|
48
48
|
constructor() {
|
|
49
49
|
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
50
|
this.requestUpdate();
|
|
@@ -54,7 +54,7 @@ class D extends P {
|
|
|
54
54
|
try {
|
|
55
55
|
if (t.detail !== null && t.detail?.value !== void 0) {
|
|
56
56
|
const { contentKind: e } = t.detail, s = [...t.detail.value];
|
|
57
|
-
switch ($(
|
|
57
|
+
switch ($(F), e) {
|
|
58
58
|
case l.category: {
|
|
59
59
|
const i = s[0]?.trim() || d;
|
|
60
60
|
if (this.model.category = i, this.model.getSortOrder() === c.customSort) {
|
|
@@ -96,19 +96,19 @@ class D extends P {
|
|
|
96
96
|
throw e instanceof Error && this.arcgisChartsConfigDataChangeError.emit({ error: e, model: this.model }), e;
|
|
97
97
|
}
|
|
98
98
|
this.requestUpdate();
|
|
99
|
-
}, this.selectedCustomSortItemId = "", this.sortOrderResetCounter = 0, this.layerFieldsInfo = [], this.arcgisChartsConfigDataChangeError =
|
|
99
|
+
}, this.selectedCustomSortItemId = "", this.sortOrderResetCounter = 0, this.layerFieldsInfo = [], this.arcgisChartsConfigDataChangeError = L();
|
|
100
100
|
}
|
|
101
101
|
static {
|
|
102
102
|
this.properties = { selectedCustomSortItemId: 16, sortOrderResetCounter: 16, messageOverrides: 0, model: 0, layerFieldsInfo: 0 };
|
|
103
103
|
}
|
|
104
104
|
static {
|
|
105
|
-
this.styles =
|
|
105
|
+
this.styles = k;
|
|
106
106
|
}
|
|
107
107
|
load() {
|
|
108
108
|
this.modelChange(this.model), this.onModelConfigChange(), this.currentDataFilter = this.model.getDataFilters(), this.updateCustomSortProps();
|
|
109
109
|
}
|
|
110
110
|
willUpdate(t) {
|
|
111
|
-
t.has("model") && this.modelChange(this.model, t.get("model")),
|
|
111
|
+
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
112
|
}
|
|
113
113
|
disconnectedCallback() {
|
|
114
114
|
super.disconnectedCallback(), this.boxPlotPopover = p(this.boxPlotPopover), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
@@ -135,7 +135,7 @@ class D extends P {
|
|
|
135
135
|
buildCustomSortListItems() {
|
|
136
136
|
return v(this.model.orderByList, (e) => e, (e) => {
|
|
137
137
|
const s = S(this.layerFieldsInfo, e);
|
|
138
|
-
return a`<calcite-list-item id=${e ??
|
|
138
|
+
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
139
|
});
|
|
140
140
|
}
|
|
141
141
|
buildCustomSortList() {
|
|
@@ -157,7 +157,7 @@ class D extends P {
|
|
|
157
157
|
async updateCustomSortProps() {
|
|
158
158
|
const t = await this.model.getCustomSortValues();
|
|
159
159
|
this.originalCustomSortLabels = [...t];
|
|
160
|
-
const e = t.length >
|
|
160
|
+
const e = t.length > x.customSortLimit;
|
|
161
161
|
return e && (this.sortOrderElement.value && (this.sortOrderElement.value.label = this._messages.xAxisAsc), this.model.setSortOrder(c.xAxisAsc)), this.isCustomSortDisabled = e, t;
|
|
162
162
|
}
|
|
163
163
|
onStandardizeValuesChange(t) {
|
|
@@ -189,7 +189,7 @@ class D extends P {
|
|
|
189
189
|
e = this.sortOrderElement.value, s = this._messages.selectSortOrder, i = this.model.getSortOrder(), n = this.isCustomSortDisabled;
|
|
190
190
|
break;
|
|
191
191
|
}
|
|
192
|
-
this.boxPlotPopover =
|
|
192
|
+
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
193
|
}
|
|
194
194
|
onAddNumericFields(t) {
|
|
195
195
|
this.contentKind = l.numericFields, this.setupPopover(t);
|
|
@@ -198,7 +198,7 @@ class D extends P {
|
|
|
198
198
|
return this.model.splitByField?.trim() === "" ? "" : g(this.layerFieldsInfo, this.model.splitByField);
|
|
199
199
|
}
|
|
200
200
|
getCorrectedCategoryValue() {
|
|
201
|
-
return
|
|
201
|
+
return E({
|
|
202
202
|
fieldName: this.model.category,
|
|
203
203
|
fieldList: this.layerFieldsInfo
|
|
204
204
|
}) ? "" : g(this.layerFieldsInfo, this.model.category);
|
|
@@ -208,7 +208,7 @@ class D extends P {
|
|
|
208
208
|
}
|
|
209
209
|
renderCustomSortUI() {
|
|
210
210
|
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=${
|
|
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=${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
212
|
}
|
|
213
213
|
renderNumericFields(t) {
|
|
214
214
|
const e = [];
|
|
@@ -232,7 +232,7 @@ class D extends P {
|
|
|
232
232
|
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
233
|
}
|
|
234
234
|
}
|
|
235
|
-
|
|
235
|
+
b("arcgis-charts-config-box-plot-data", D);
|
|
236
236
|
export {
|
|
237
237
|
D as ArcgisChartsConfigBoxPlotData
|
|
238
238
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
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
9
|
import "d3-array";
|
|
10
|
-
import { cX as
|
|
10
|
+
import { cX as $, bM as g, bK as y, cM as F } from "../../chunks/index.js";
|
|
11
11
|
import "@arcgis/core/Graphic.js";
|
|
12
12
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
13
13
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
14
|
-
import { substitute as
|
|
14
|
+
import { substitute as L } from "@arcgis/core/intl.js";
|
|
15
15
|
import "@arcgis/core/layers/support/FeatureFilter.js";
|
|
16
16
|
import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
17
17
|
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
@@ -24,16 +24,16 @@ import "@arcgis/core/rest/support/Query.js";
|
|
|
24
24
|
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
25
25
|
import "@arcgis/core/time/TimeExtent.js";
|
|
26
26
|
import "@arcgis/core/core/promiseUtils.js";
|
|
27
|
-
import { e as
|
|
27
|
+
import { e as P, p as I } from "../../chunks/popover-ui-utils.js";
|
|
28
28
|
import { a as l } from "../../chunks/interfaces.js";
|
|
29
|
-
import { U as h, e as
|
|
29
|
+
import { U as h, e as x, i as u, d as D } from "../../chunks/chart-ui-utils2.js";
|
|
30
30
|
import { u as S } from "../../chunks/useT9n.js";
|
|
31
|
-
import { css as
|
|
32
|
-
import { createRef as b, ref as
|
|
33
|
-
import { LitElement as
|
|
31
|
+
import { css as T, html as n } from "lit";
|
|
32
|
+
import { createRef as b, ref as p } from "lit/directives/ref.js";
|
|
33
|
+
import { LitElement as E, createEvent as C, renderElement as w, safeStyleMap as B, safeClassMap as m } from "@arcgis/lumina";
|
|
34
34
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
35
35
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
36
|
-
v5.0.0-next.
|
|
36
|
+
v5.0.0-next.126 */
|
|
37
37
|
const o = {
|
|
38
38
|
jsAppFlyout: "js-app-flyout",
|
|
39
39
|
name: "bar-chart-data-popover",
|
|
@@ -45,8 +45,8 @@ const o = {
|
|
|
45
45
|
sortMedian: "sort-median",
|
|
46
46
|
sortOrderPickList: "sort-order-pick-list",
|
|
47
47
|
panel: "panel"
|
|
48
|
-
}, M =
|
|
49
|
-
class
|
|
48
|
+
}, 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}`;
|
|
49
|
+
class K extends E {
|
|
50
50
|
constructor() {
|
|
51
51
|
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
52
|
}
|
|
@@ -65,12 +65,12 @@ class z extends T {
|
|
|
65
65
|
updated() {
|
|
66
66
|
setTimeout(() => {
|
|
67
67
|
typeof this.picklist.value?.setFocus == "function" && this.picklist.value?.setFocus();
|
|
68
|
-
}, h.PopoverTimer),
|
|
68
|
+
}, h.PopoverTimer), P(this.popoverElement.value, this.open), this.hasUpdated || setTimeout(() => {
|
|
69
69
|
this.popoverElement.value?.reposition();
|
|
70
70
|
}, h.PopoverTimer);
|
|
71
71
|
}
|
|
72
72
|
selectedContentChange(e, t) {
|
|
73
|
-
this.pickListHasChanged =
|
|
73
|
+
this.pickListHasChanged = I(e, t);
|
|
74
74
|
}
|
|
75
75
|
closePopover() {
|
|
76
76
|
if (this.contentKind === l.numericFields && this.pickListHasChanged) {
|
|
@@ -79,7 +79,7 @@ class z extends T {
|
|
|
79
79
|
eventEmitter: this.arcgisChartsConfigBoxPlotDataPopoverChange,
|
|
80
80
|
contentKind: this.contentKind
|
|
81
81
|
};
|
|
82
|
-
|
|
82
|
+
x(e);
|
|
83
83
|
}
|
|
84
84
|
this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
85
85
|
}
|
|
@@ -92,7 +92,7 @@ class z extends T {
|
|
|
92
92
|
}), this.open = !1;
|
|
93
93
|
}
|
|
94
94
|
buildPickListItem(e) {
|
|
95
|
-
return
|
|
95
|
+
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
96
|
}
|
|
97
97
|
buildPickListItems(e) {
|
|
98
98
|
const t = this.layerFieldsInfo?.length ?? 0, i = [];
|
|
@@ -100,25 +100,25 @@ class z extends T {
|
|
|
100
100
|
case l.numericFields: {
|
|
101
101
|
for (let s = 0; s < t; s += 1) {
|
|
102
102
|
const a = this.layerFieldsInfo[s];
|
|
103
|
-
|
|
103
|
+
y(a) && i.push(this.buildPickListItem(a));
|
|
104
104
|
}
|
|
105
105
|
break;
|
|
106
106
|
}
|
|
107
107
|
case l.category: {
|
|
108
|
-
const s =
|
|
108
|
+
const s = d(" ", n`<calcite-list-item label=" " value=" " .selected=${u("", this.selectedContent)}></calcite-list-item>`);
|
|
109
109
|
i.push(s);
|
|
110
110
|
for (let a = 0; a < t; a += 1) {
|
|
111
111
|
const c = this.layerFieldsInfo[a];
|
|
112
|
-
(g(c) || c.type ===
|
|
112
|
+
(g(c) || c.type === f.String) && i.push(this.buildPickListItem(c));
|
|
113
113
|
}
|
|
114
114
|
break;
|
|
115
115
|
}
|
|
116
116
|
case l.splitByField: {
|
|
117
|
-
const s =
|
|
117
|
+
const s = d(" ", n`<calcite-list-item label=" " value=" " .selected=${u("", this.selectedContent)}></calcite-list-item>`);
|
|
118
118
|
i.push(s);
|
|
119
119
|
for (let a = 0; a < t; a += 1) {
|
|
120
120
|
const c = this.layerFieldsInfo[a];
|
|
121
|
-
(g(c) || c.type ===
|
|
121
|
+
(g(c) || c.type === f.String) && i.push(this.buildPickListItem(c));
|
|
122
122
|
}
|
|
123
123
|
break;
|
|
124
124
|
}
|
|
@@ -170,10 +170,10 @@ class z extends T {
|
|
|
170
170
|
}
|
|
171
171
|
createTooltip(e) {
|
|
172
172
|
if (e.target?.label === this._messages.customSort && this.isCustomSortDisabled) {
|
|
173
|
-
const t = e.target, i =
|
|
173
|
+
const t = e.target, i = F(t), a = new Intl.NumberFormat(i).format(h.customSortLimit), c = L(this._messages.customSortLimit ?? "", {
|
|
174
174
|
totalLimit: a
|
|
175
175
|
});
|
|
176
|
-
this.tooltip =
|
|
176
|
+
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
177
|
}
|
|
178
178
|
}
|
|
179
179
|
destroyTooltip() {
|
|
@@ -181,19 +181,19 @@ class z extends T {
|
|
|
181
181
|
}
|
|
182
182
|
renderCategory() {
|
|
183
183
|
const e = this.buildPickListItems(l.category);
|
|
184
|
-
return n`<calcite-list label class=${
|
|
184
|
+
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
185
|
}
|
|
186
186
|
renderNumericFields() {
|
|
187
187
|
const e = this.buildPickListItems(l.numericFields);
|
|
188
|
-
return n`<calcite-list label class=${
|
|
188
|
+
return n`<calcite-list label class=${m(o.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${p(this.picklist)}>${e}</calcite-list>`;
|
|
189
189
|
}
|
|
190
190
|
renderSplitByField() {
|
|
191
191
|
const e = this.buildPickListItems(l.splitByField);
|
|
192
|
-
return n`<calcite-list label class=${
|
|
192
|
+
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
193
|
}
|
|
194
194
|
renderSortOrder() {
|
|
195
195
|
const e = this.buildSortOrder();
|
|
196
|
-
return n`<calcite-list label class=${
|
|
196
|
+
return n`<calcite-list label class=${m(o.sortOrderPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
197
197
|
}
|
|
198
198
|
renderPopoverInfo() {
|
|
199
199
|
let e;
|
|
@@ -215,10 +215,10 @@ class z extends T {
|
|
|
215
215
|
}
|
|
216
216
|
render() {
|
|
217
217
|
let e;
|
|
218
|
-
return this.contentKind === l.numericFields && (e = n`<div slot=footer><calcite-fab class=${
|
|
218
|
+
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
219
|
}
|
|
220
220
|
}
|
|
221
|
-
k("arcgis-charts-config-box-plot-popover",
|
|
221
|
+
k("arcgis-charts-config-box-plot-popover", K);
|
|
222
222
|
export {
|
|
223
|
-
|
|
223
|
+
K as ArcgisChartsConfigBoxPlotPopover
|
|
224
224
|
};
|
|
@@ -30,7 +30,7 @@ import { LitElement as O, renderElement as h, safeStyleMap as m, safeClassMap as
|
|
|
30
30
|
import { d as w } from "../../chunks/chart-ui-utils2.js";
|
|
31
31
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
32
32
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
33
|
-
v5.0.0-next.
|
|
33
|
+
v5.0.0-next.126 */
|
|
34
34
|
const l = {
|
|
35
35
|
topSection: "top-section",
|
|
36
36
|
sectionLabel: "section-label",
|
|
@@ -1,7 +1,7 @@
|
|
|
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
5
|
import "d3-array";
|
|
6
6
|
import "../../chunks/series-types.js";
|
|
7
7
|
import { f as v } from "../../chunks/rest-js-object-literals.js";
|
|
@@ -23,35 +23,35 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
23
23
|
import "@arcgis/core/time/TimeExtent.js";
|
|
24
24
|
import "@arcgis/core/core/promiseUtils.js";
|
|
25
25
|
import "@arcgis/toolkit/dom";
|
|
26
|
-
import { e as
|
|
27
|
-
import { U as
|
|
28
|
-
import { u as
|
|
29
|
-
import { createRef as
|
|
30
|
-
import { LitElement as
|
|
26
|
+
import { e as y } from "../../chunks/popover-ui-utils.js";
|
|
27
|
+
import { U as u } from "../../chunks/chart-ui-utils2.js";
|
|
28
|
+
import { u as S } from "../../chunks/useT9n.js";
|
|
29
|
+
import { createRef as b, ref as $ } from "lit/directives/ref.js";
|
|
30
|
+
import { LitElement as P, createEvent as a, safeClassMap as n } from "@arcgis/lumina";
|
|
31
31
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
32
32
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
33
|
-
v5.0.0-next.
|
|
33
|
+
v5.0.0-next.126 */
|
|
34
34
|
const c = {
|
|
35
35
|
jsAppFlyout: "js-app-flyout",
|
|
36
36
|
panelChildrenContainer: "panel-children-container"
|
|
37
|
-
},
|
|
38
|
-
class
|
|
37
|
+
}, 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}`;
|
|
38
|
+
class x extends P {
|
|
39
39
|
constructor() {
|
|
40
|
-
super(...arguments), this._messages =
|
|
40
|
+
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
41
|
}
|
|
42
42
|
static {
|
|
43
43
|
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
44
|
}
|
|
45
45
|
static {
|
|
46
|
-
this.styles =
|
|
46
|
+
this.styles = L;
|
|
47
47
|
}
|
|
48
48
|
async reposition() {
|
|
49
49
|
await this.popoverElement.value?.reposition();
|
|
50
50
|
}
|
|
51
51
|
updated() {
|
|
52
|
-
|
|
52
|
+
y(this.popoverElement.value, this.open), this.hasUpdated || setTimeout(() => {
|
|
53
53
|
this.popoverElement.value?.reposition();
|
|
54
|
-
},
|
|
54
|
+
}, u.PopoverTimer);
|
|
55
55
|
}
|
|
56
56
|
seriesNameChange(e) {
|
|
57
57
|
const t = e.target.value;
|
|
@@ -66,7 +66,7 @@ class L extends $ {
|
|
|
66
66
|
}
|
|
67
67
|
lineSymbolChange(e) {
|
|
68
68
|
const { lineStyle: t } = e.target, { color: s, style: i, width: o } = t;
|
|
69
|
-
if (s !== void 0 && !
|
|
69
|
+
if (s !== void 0 && !f(s, this.selectedColor)) {
|
|
70
70
|
const [r, p, h] = s, m = d * 255;
|
|
71
71
|
this.selectedColor = [r, p, h, m], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [r, p, h, m] });
|
|
72
72
|
}
|
|
@@ -74,17 +74,17 @@ class L extends $ {
|
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
76
|
const e = this.selectedColor;
|
|
77
|
-
return
|
|
77
|
+
return l`<div class=${n({
|
|
78
78
|
[c.jsAppFlyout]: !0
|
|
79
|
-
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${
|
|
79
|
+
})}><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
80
|
type: v.SLS,
|
|
81
81
|
style: this.selectedLineStyle,
|
|
82
82
|
width: this.selectedLineWidth,
|
|
83
83
|
color: e
|
|
84
|
-
}} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.lineSymbolChange}></arcgis-charts-config-line-style>` :
|
|
84
|
+
}} @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
85
|
}
|
|
86
86
|
}
|
|
87
|
-
g("arcgis-charts-config-box-plot-series-popover",
|
|
87
|
+
g("arcgis-charts-config-box-plot-series-popover", x);
|
|
88
88
|
export {
|
|
89
|
-
|
|
89
|
+
x as ArcgisChartsConfigBoxPlotSeriesPopover
|
|
90
90
|
};
|
|
@@ -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.126 */
|
|
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,6 +1,6 @@
|
|
|
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
4
|
import "d3-array";
|
|
5
5
|
import "../../chunks/series-types.js";
|
|
6
6
|
import "../../chunks/index.js";
|
|
@@ -21,30 +21,30 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
21
21
|
import "@arcgis/core/time/TimeExtent.js";
|
|
22
22
|
import "@arcgis/core/core/promiseUtils.js";
|
|
23
23
|
import "@arcgis/toolkit/dom";
|
|
24
|
-
import { e as
|
|
25
|
-
import { m as p, c as
|
|
24
|
+
import { e as c } from "../../chunks/popover-ui-utils.js";
|
|
25
|
+
import { m as p, c as s } from "../../chunks/chart-ui-utils2.js";
|
|
26
26
|
import { u as h } from "../../chunks/useT9n.js";
|
|
27
|
-
import { css as d, html as
|
|
28
|
-
import { createRef as
|
|
29
|
-
import { LitElement as
|
|
27
|
+
import { css as d, html as u } from "lit";
|
|
28
|
+
import { createRef as n, ref as r } from "lit/directives/ref.js";
|
|
29
|
+
import { LitElement as g, createEvent as o, safeClassMap as i } from "@arcgis/lumina";
|
|
30
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
31
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
32
|
-
v5.0.0-next.
|
|
32
|
+
v5.0.0-next.126 */
|
|
33
33
|
const e = {
|
|
34
34
|
jsAppFlyout: "js-app-flyout",
|
|
35
35
|
chartRenameComponent: "chart-rename-component",
|
|
36
36
|
renameLabelContainer: "rename-label-container",
|
|
37
37
|
renamePanel: "rename-panel"
|
|
38
|
-
},
|
|
39
|
-
class
|
|
38
|
+
}, 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)}`;
|
|
39
|
+
class C extends g {
|
|
40
40
|
constructor() {
|
|
41
|
-
super(...arguments), this._messages = h(), this.characterLimitInputElement =
|
|
41
|
+
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
42
|
}
|
|
43
43
|
static {
|
|
44
44
|
this.properties = { isChartTitleInvalid: 16, changedName: 16, messageOverrides: 0, name: 1, open: 5, referenceElement: 0 };
|
|
45
45
|
}
|
|
46
46
|
static {
|
|
47
|
-
this.styles =
|
|
47
|
+
this.styles = v;
|
|
48
48
|
}
|
|
49
49
|
async reposition() {
|
|
50
50
|
await this.popoverElement.value?.reposition();
|
|
@@ -53,13 +53,13 @@ class v extends u {
|
|
|
53
53
|
t.has("name") && (this.changedName = this.name);
|
|
54
54
|
}
|
|
55
55
|
updated() {
|
|
56
|
-
this.popoverElement.value?.reposition(),
|
|
56
|
+
this.popoverElement.value?.reposition(), c(this.popoverElement.value, this.open);
|
|
57
57
|
}
|
|
58
58
|
onNameChange(t) {
|
|
59
|
-
const
|
|
60
|
-
this.changedName =
|
|
59
|
+
const a = t.target.value;
|
|
60
|
+
this.changedName = a, this.isChartTitleInvalid = m(a.trim()), this.characterLimitInputElement.value && p({
|
|
61
61
|
inputElement: this.characterLimitInputElement.value,
|
|
62
|
-
status: this.isChartTitleInvalid ?
|
|
62
|
+
status: this.isChartTitleInvalid ? s.INVALID : s.IDLE
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
65
|
onCancelClick() {
|
|
@@ -72,13 +72,13 @@ class v extends u {
|
|
|
72
72
|
this.changedName = this.name, this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
|
-
return
|
|
75
|
+
return u`<div class=${i({
|
|
76
76
|
[e.chartRenameComponent]: !0,
|
|
77
77
|
[e.jsAppFlyout]: !0
|
|
78
|
-
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label auto-close ${
|
|
78
|
+
})}><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
79
|
}
|
|
80
80
|
}
|
|
81
|
-
l("arcgis-charts-config-chart-rename-popover",
|
|
81
|
+
l("arcgis-charts-config-chart-rename-popover", C);
|
|
82
82
|
export {
|
|
83
|
-
|
|
83
|
+
C as ArcgisChartsConfigChartRenamePopover
|
|
84
84
|
};
|