@arcgis/charts-components 5.2.0-next.8 → 5.2.0-next.85
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/LICENSE.md +4 -2
- package/README.md +2 -2
- package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/{5MEQANMY.js → 26DDVOQ7.js} +1 -1
- package/dist/cdn/2BA2QD2A.js +3 -0
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/2MF442VT.js +2 -0
- package/dist/cdn/{VY3KBD6N.js → 2YDNWOWT.js} +1 -1
- package/dist/cdn/3AYNHY7J.js +2 -0
- package/dist/cdn/{DCZWZOPF.js → 3FFCWEMV.js} +1 -1
- package/dist/cdn/3H3PFQTD.js +2 -0
- package/dist/cdn/3KDTVBIG.js +2 -0
- package/dist/cdn/3SSQPYQA.js +2 -0
- package/dist/cdn/{JRHMUFED.js → 3YPGCLG4.js} +1 -1
- package/dist/cdn/{Y7HBWU3M.js → 3ZKNY2GI.js} +1 -1
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/4KF7SUJE.js +2 -0
- package/dist/cdn/{MVHQR4FJ.js → 4U2HIMOR.js} +1 -1
- package/dist/cdn/52NR6B2J.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/5DHMYPPF.js +2 -0
- package/dist/cdn/5NGIGJYR.js +2 -0
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/62GSQDTE.js +2 -0
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/{CLXVAIQX.js → 6AXYQGBN.js} +1 -1
- package/dist/cdn/6LV3ASGE.js +2 -0
- package/dist/cdn/6SQNRMJG.js +2 -0
- package/dist/cdn/{ETKPMU7Z.js → 6U6VAS2O.js} +1 -1
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → 6WWEQU3O.js} +1 -1
- package/dist/cdn/72KEQM4K.js +2 -0
- package/dist/cdn/72VGCAR5.js +2 -0
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/7CZMR2WF.js +2 -0
- package/dist/cdn/7JA63ENU.js +45 -0
- package/dist/cdn/7P3FHJUU.js +2 -0
- package/dist/cdn/7SIKOCYK.js +4 -0
- package/dist/cdn/7ZAT46VE.js +2 -0
- package/dist/cdn/{A5AECJXP.js → A2KSCV2I.js} +1 -1
- package/dist/cdn/ACMHG3RB.js +2 -0
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/{E7OAEGSE.js → AF2GUPVE.js} +1 -1
- package/dist/cdn/{AJWYIBGC.js → AS3QP77N.js} +1 -1
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{LFQGH44F.js → B5Z7FBO7.js} +1 -1
- package/dist/cdn/{2HUAW34Q.js → B7J5YIWF.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/BGOWDCTO.js +2 -0
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BV7UUWYI.js +2 -0
- package/dist/cdn/{N6AOFBBX.js → BWR5ONE2.js} +1 -1
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/{AWF4R7WL.js → C2ZX67U4.js} +1 -1
- package/dist/cdn/C5UI5MYS.js +2 -0
- package/dist/cdn/C7F4AVQU.js +104 -0
- package/dist/cdn/{EXXLJVGS.js → CFOB77PI.js} +1 -1
- package/dist/cdn/CSOYZJU5.js +2 -0
- package/dist/cdn/CVWT6DGY.js +2 -0
- package/dist/cdn/CXWBQG5O.js +2 -0
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/{L4G6FO7A.js → DDNOUE2T.js} +1 -1
- package/dist/cdn/DE3CJJG3.js +2 -0
- package/dist/cdn/DKC4NIUA.js +2 -0
- package/dist/cdn/DW5NK2B3.js +2 -0
- package/dist/cdn/DZWIVB6V.js +2 -0
- package/dist/cdn/EMOHROY3.js +2 -0
- package/dist/cdn/{HVO4LIXR.js → EQTI5Z4G.js} +1 -1
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/EYYTKCXM.js +2 -0
- package/dist/cdn/EZLKMWI5.js +2 -0
- package/dist/cdn/F3LVXDV4.js +2 -0
- package/dist/cdn/FBU4ODQE.js +2 -0
- package/dist/cdn/{A4GEWIPY.js → FFJTVPE4.js} +1 -1
- package/dist/cdn/FQKGQHVK.js +2 -0
- package/dist/cdn/{JCH3RDLR.js → FRTPDJGW.js} +1 -1
- package/dist/cdn/{WASEMNYV.js → G45UKTNI.js} +1 -1
- package/dist/cdn/GDGYKODO.js +2 -0
- package/dist/cdn/GX64OP3A.js +2 -0
- package/dist/cdn/GZEVPH4Y.js +2 -0
- package/dist/cdn/{XE3FKQFA.js → H2DUFQAG.js} +1 -1
- package/dist/cdn/{JJIGLOJA.js → HABS63VB.js} +1 -1
- package/dist/cdn/HDIBDW52.js +2 -0
- package/dist/cdn/HOASAQAB.js +2 -0
- package/dist/cdn/HQ2JPCTQ.js +2 -0
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/I3BMYY7N.js +2 -0
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/IN2IL6T2.js +2 -0
- package/dist/cdn/IVM37XFX.js +2 -0
- package/dist/cdn/{DKAHZ7IX.js → J3BB5KXD.js} +1 -1
- package/dist/cdn/JMMNRCD4.js +2 -0
- package/dist/cdn/JQM5R6XW.js +2 -0
- package/dist/cdn/{XW4PBQNW.js → JUFBIV44.js} +1 -1
- package/dist/cdn/JUU3BZT7.js +2 -0
- package/dist/cdn/KAQ5XSCQ.js +2 -0
- package/dist/cdn/KG574LAE.js +2 -0
- package/dist/cdn/KHJC5P5T.js +2 -0
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/{QOOBNATX.js → KTYFDFMQ.js} +1 -1
- package/dist/cdn/{CHQDKVVQ.js → KWN3N6VE.js} +1 -1
- package/dist/cdn/KYOBS7XL.js +2 -0
- package/dist/cdn/KZSCAJDG.js +2 -0
- package/dist/cdn/L4BZX57U.js +2 -0
- package/dist/cdn/L5JZ5COY.js +2 -0
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LCTDNI27.js +2 -0
- package/dist/cdn/LM6VCILT.js +2 -0
- package/dist/cdn/LMTSW3JM.js +2 -0
- package/dist/cdn/LPS3VU35.js +2 -0
- package/dist/cdn/{6XTKJ7DO.js → LXZXXY7V.js} +1 -1
- package/dist/cdn/M6OCFMDB.js +2 -0
- package/dist/cdn/MITW5XKW.js +2 -0
- package/dist/cdn/MJHVSD5B.js +2 -0
- package/dist/cdn/MNYNXHXE.js +2 -0
- package/dist/cdn/NH2A5QEU.js +2 -0
- package/dist/cdn/NIDXK3GN.js +2 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/{YOT6DVSU.js → NNHJ75EA.js} +1 -1
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/{TF7TE7K5.js → NWQ2L7IJ.js} +1 -1
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
- package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
- package/dist/cdn/OMORDJT2.js +2 -0
- package/dist/cdn/{DEGBVJ76.js → OMU647X3.js} +1 -1
- package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/{AM2TOTX6.js → OXPXA3PS.js} +1 -1
- package/dist/cdn/OYXDCECZ.js +2 -0
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{KDJ5RVHA.js → P3AYFJRV.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/{BJDRJUEJ.js → P7FI5QUW.js} +1 -1
- package/dist/cdn/{KZ7LPNX3.js → PCFEAGXP.js} +1 -1
- package/dist/cdn/PF6QOHZR.js +2 -0
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/{GDQBQQUP.js → PMTNALXO.js} +1 -1
- package/dist/cdn/PWJBGZPW.js +2 -0
- package/dist/cdn/{ZXOO3X5P.js → PZP57FJ2.js} +1 -1
- package/dist/cdn/{QMSINFQX.js → Q466K37N.js} +1 -1
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/QIG7WTJF.js +2 -0
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/QXQC4CH5.js +2 -0
- package/dist/cdn/QYRHZJH3.js +2 -0
- package/dist/cdn/{7FZC3RZK.js → R5LIRRMK.js} +1 -1
- package/dist/cdn/R5VDQBUH.js +2 -0
- package/dist/cdn/RCAPTQFV.js +2 -0
- package/dist/cdn/{K3GNHGEW.js → RHUEVXMR.js} +1 -1
- package/dist/cdn/{IPM2XKST.js → RMIIDRGC.js} +1 -1
- package/dist/cdn/RPUEIRTH.js +2 -0
- package/dist/cdn/S2HIF3ZX.js +2 -0
- package/dist/cdn/{KFONSKQF.js → S4NQCINT.js} +1 -1
- package/dist/cdn/SC26LLWP.js +2 -0
- package/dist/cdn/{ML3A3MYV.js → SILDOKXS.js} +1 -1
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/{FF4DUQDZ.js → SVLOD3HQ.js} +1 -1
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/TBW6K2TY.js +2 -0
- package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
- package/dist/cdn/{5XTQQOTT.js → TJ2NRLF6.js} +1 -1
- package/dist/cdn/{KUZR6CGB.js → TOCBEPNS.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/TSU6UVTL.js +2 -0
- package/dist/cdn/U3542JBJ.js +2 -0
- package/dist/cdn/U7GQGHZY.js +2 -0
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/UYDDYD3O.js +2 -0
- package/dist/cdn/V3ITNIER.js +2 -0
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/VQU2TVX7.js +3 -0
- package/dist/cdn/VSPKBQS6.js +2 -0
- package/dist/cdn/WC22SRVJ.js +2 -0
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/XBRRJQVR.js +2 -0
- package/dist/cdn/XFCDAI5T.js +2 -0
- package/dist/cdn/XHZAAQMF.js +2 -0
- package/dist/cdn/{SBYD2EKR.js → XR4O3AQ6.js} +1 -1
- package/dist/cdn/{7HGVEE7A.js → XU7TGV75.js} +1 -1
- package/dist/cdn/XVCBLLWW.js +2 -0
- package/dist/cdn/YAWW63A5.js +2 -0
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/{JBHGSSHS.js → Z5EJIWAY.js} +1 -1
- package/dist/cdn/{GV3TT7L5.js → ZARYZFJ4.js} +1 -1
- package/dist/cdn/ZDUW3TBJ.js +2 -0
- package/dist/cdn/ZGIM53IQ.js +2 -0
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/{ZFZ5AEUQ.js → ZVOX72AF.js} +1 -1
- package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +52 -22
- package/dist/chunks/{type-guards3.js → action-bar-utils.js} +37 -45
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +42 -38
- package/dist/chunks/box-plot-data.js +270 -279
- package/dist/chunks/box-plot-model.js +159 -144
- package/dist/chunks/chart-model.js +182 -150
- package/dist/chunks/chart-object-literals.js +26 -25
- package/dist/chunks/chart-ui-utils.js +148 -66
- package/dist/chunks/chart-ui-utils2.js +68 -149
- package/dist/chunks/class-breaks.js +24 -24
- package/dist/chunks/combo-bar-line-chart-model.js +48 -40
- package/dist/chunks/data-labels-symbol.js +39 -24
- package/dist/chunks/data-labels-visibility.js +8 -8
- package/dist/chunks/data.js +68 -68
- package/dist/chunks/default.js +6 -6
- package/dist/chunks/gauge-model.js +61 -61
- package/dist/chunks/generate-x-axis-title.js +15 -15
- package/dist/chunks/heat-chart-model.js +95 -66
- package/dist/chunks/histogram-data.js +23 -23
- package/dist/chunks/histogram-model.js +9 -9
- package/dist/chunks/index.js +9363 -1079
- package/dist/chunks/index2.js +852 -8752
- package/dist/chunks/index3.js +1169 -847
- package/dist/chunks/index4.js +315 -86
- package/dist/chunks/index5.js +63 -100
- package/dist/chunks/interfaces.js +9 -9
- package/dist/chunks/line-chart-model.js +18 -18
- package/dist/chunks/model-setter.js +57 -34
- package/dist/chunks/model-types.js +1 -1
- package/dist/chunks/model-with-line-marker-styling.js +18 -9
- package/dist/chunks/model-with-y-guides.js +52 -67
- package/dist/chunks/negative-values-stacked-to-baseline.js +40 -36
- package/dist/chunks/pie-chart-data.js +175 -193
- package/dist/chunks/pie-chart-model.js +388 -320
- package/dist/chunks/radar-chart-model.js +397 -46
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +10 -10
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +73 -0
- package/dist/chunks/scatterplot-model.js +12 -12
- package/dist/chunks/serial-chart-data.js +868 -748
- package/dist/chunks/serial-chart-model.js +145 -123
- package/dist/chunks/series-length.js +17 -17
- package/dist/chunks/series-types.js +22 -18
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +16 -12
- package/dist/chunks/type-guards2.js +61 -52
- package/dist/chunks/utils.js +101 -91
- package/dist/chunks/utils2.js +9 -9
- package/dist/chunks/web-component-utils.js +591 -540
- package/dist/chunks/x-bounds.js +98 -97
- package/dist/components/arcgis-chart/customElement.d.ts +628 -254
- package/dist/components/arcgis-chart/customElement.js +10420 -10099
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +8 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +34 -31
- package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +29 -29
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +31 -39
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +26 -28
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -20
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +244 -230
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
- package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-format/customElement.js +94 -87
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +21 -22
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +10 -13
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +65 -77
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +58 -59
- package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +35 -36
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +42 -44
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -8
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +41 -48
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +56 -57
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +66 -67
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +80 -80
- package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
- package/dist/components/arcgis-charts-info-modal/customElement.js +7 -7
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +61 -61
- package/dist/index.js +476 -463
- package/dist/interfaces.d.ts +9 -11
- package/dist/json-schema/index.d.ts +211 -6
- package/dist/loader.js +2 -2
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
- package/dist/model/box-plot-model/box-plot-model.d.ts +7 -1
- package/dist/model/chart-model/chart-model-base.d.ts +10 -0
- package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +19 -7
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/mixins/model-with-guides.d.ts +1 -1
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +16 -7
- package/dist/model/mixins/model-with-multi-axes.d.ts +62 -99
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +61 -2
- package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
- package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
- package/dist/model/properties/rounded-corners.d.ts +18 -0
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -1
- package/dist/model/shared/type-guards.d.ts +38 -22
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/data-source.d.ts +17 -3
- package/dist/spec/rest-js-types.d.ts +22 -8
- package/dist/spec/web-chart.d.ts +42 -6
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +3 -3
- package/dist/utils/chart-config/converter/index.js +210 -191
- package/dist/utils/chart-config/utils/index.d.ts +58 -8
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +4 -3
- package/dist/utils/components/interfaces.d.ts +2 -0
- package/dist/utils/cursor/interfaces.d.ts +21 -0
- package/dist/utils/data/categorical-data/index.d.ts +1 -1
- package/dist/utils/data/index.d.ts +28 -22
- package/dist/utils/data/interfaces.d.ts +4 -3
- package/dist/utils/defaults/index.d.ts +31 -6
- package/dist/utils/defaults/interfaces.d.ts +73 -4
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +6 -3
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/interfaces.d.ts +2 -1
- package/dist/utils/layer/query-features/index.d.ts +8 -3
- package/dist/utils/layer/query-parser/index.d.ts +10 -6
- package/dist/utils/localization/interfaces.d.ts +8 -0
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/misc/interfaces.d.ts +1 -0
- package/dist/utils/type-guards/chart-types.d.ts +10 -0
- package/dist/utils/type-guards/series-types.d.ts +9 -2
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +7 -8
- package/dist/cdn/24RLLXS6.js +0 -2
- package/dist/cdn/32FR66QO.js +0 -2
- package/dist/cdn/3EIVHDDK.js +0 -2
- package/dist/cdn/3NUNWPAR.js +0 -2
- package/dist/cdn/4ACX3XOE.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/5YJNENER.js +0 -2
- package/dist/cdn/6AF2OTL6.js +0 -2
- package/dist/cdn/6C6AH4LL.js +0 -2
- package/dist/cdn/6CFIKYKR.js +0 -2
- package/dist/cdn/6GLTSMOR.js +0 -2
- package/dist/cdn/7OF2IANH.js +0 -2
- package/dist/cdn/7VN3A7S2.js +0 -2
- package/dist/cdn/7YWZG3ZS.js +0 -2
- package/dist/cdn/A5GIBV5W.js +0 -2
- package/dist/cdn/ADGMA3ST.js +0 -3
- package/dist/cdn/ADPDJISV.js +0 -2
- package/dist/cdn/AWKELFV6.js +0 -2
- package/dist/cdn/B4KAJRUJ.js +0 -2
- package/dist/cdn/BBUPTHPL.js +0 -2
- package/dist/cdn/BBURKBKE.js +0 -2
- package/dist/cdn/C2FOUUEM.js +0 -2
- package/dist/cdn/CBNT3DO7.js +0 -2
- package/dist/cdn/CJPEW4LJ.js +0 -142
- package/dist/cdn/CVU3UPPF.js +0 -2
- package/dist/cdn/CZ5XRXCE.js +0 -2
- package/dist/cdn/D73VV2AZ.js +0 -2
- package/dist/cdn/DF5P34HK.js +0 -2
- package/dist/cdn/DJACBOFO.js +0 -2
- package/dist/cdn/DPNTYHTH.js +0 -2
- package/dist/cdn/EGISZTGB.js +0 -2
- package/dist/cdn/EP34TF4L.js +0 -2
- package/dist/cdn/EZD3FBJU.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/FDFYTCDO.js +0 -2
- package/dist/cdn/G72TNKCS.js +0 -2
- package/dist/cdn/GQ5QBLRO.js +0 -2
- package/dist/cdn/HWJGWDU3.js +0 -2
- package/dist/cdn/HZR4NSZV.js +0 -2
- package/dist/cdn/IXRBZPQL.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/JPPGHHIA.js +0 -2
- package/dist/cdn/JS2KOBA2.js +0 -2
- package/dist/cdn/JTTJ455Y.js +0 -2
- package/dist/cdn/JWO5WVTZ.js +0 -2
- package/dist/cdn/JWPAMNU4.js +0 -2
- package/dist/cdn/K4WI2SGM.js +0 -2
- package/dist/cdn/KCMZSNBL.js +0 -2
- package/dist/cdn/KLHZFPYK.js +0 -2
- package/dist/cdn/KVUFR34S.js +0 -2
- package/dist/cdn/LTQRSPSC.js +0 -2
- package/dist/cdn/MBVTB42G.js +0 -2
- package/dist/cdn/MRTKZZTF.js +0 -2
- package/dist/cdn/NNEDF6G4.js +0 -2
- package/dist/cdn/NSOZIR5F.js +0 -2
- package/dist/cdn/NTSTL3FK.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/O5A25X5K.js +0 -2
- package/dist/cdn/OAAJ6CIN.js +0 -2
- package/dist/cdn/OGYY2Y22.js +0 -2
- package/dist/cdn/OJIUI56Z.js +0 -2
- package/dist/cdn/OSNA56IW.js +0 -4
- package/dist/cdn/P3YHDWG2.js +0 -2
- package/dist/cdn/P4HSSZRL.js +0 -2
- package/dist/cdn/PAIRUVLU.js +0 -2
- package/dist/cdn/PBWZYX5M.js +0 -58
- package/dist/cdn/PPGRM3VJ.js +0 -2
- package/dist/cdn/PRGFNLY7.js +0 -2
- package/dist/cdn/PRMN6W5R.js +0 -2
- package/dist/cdn/PROSIXIF.js +0 -2
- package/dist/cdn/Q5JDSPJA.js +0 -2
- package/dist/cdn/QJC3FDWG.js +0 -2
- package/dist/cdn/R75MHIRF.js +0 -2
- package/dist/cdn/RDA5NV6M.js +0 -2
- package/dist/cdn/RG3DO2OE.js +0 -2
- package/dist/cdn/RPNZL6AC.js +0 -2
- package/dist/cdn/S5UDCCRH.js +0 -2
- package/dist/cdn/SCAZDS2G.js +0 -2
- package/dist/cdn/SRPOC65M.js +0 -2
- package/dist/cdn/TCTQ4LMU.js +0 -2
- package/dist/cdn/TDHHWIIC.js +0 -2
- package/dist/cdn/THTYR6IL.js +0 -2
- package/dist/cdn/TJMPLGQI.js +0 -2
- package/dist/cdn/TJMTF45U.js +0 -3
- package/dist/cdn/U2CYVAIC.js +0 -102
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/UZEMSOA2.js +0 -2
- package/dist/cdn/VBHQFV2H.js +0 -2
- package/dist/cdn/VOTZAPI3.js +0 -2
- package/dist/cdn/VQU6N5HX.js +0 -2
- package/dist/cdn/VZTLODMQ.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/WNKDEOFZ.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/cdn/XCUXUZXY.js +0 -2
- package/dist/cdn/XG3WW5GG.js +0 -2
- package/dist/cdn/XJFVSX2E.js +0 -2
- package/dist/cdn/Y3CXVO2M.js +0 -2
- package/dist/cdn/YEZL5KRS.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/cdn/ZS6EP5BD.js +0 -2
- package/dist/chunks/bar-chart-series.js +0 -15
- package/dist/chunks/index6.js +0 -66
- package/dist/chunks/time-zone.js +0 -38
- package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
- /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
- /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
|
@@ -3,14 +3,14 @@ import { c } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css as p, html as h } from "lit";
|
|
4
4
|
import { u as m } from "../../chunks/useT9n.js";
|
|
5
5
|
import { createRef as d, ref as g } from "lit/directives/ref.js";
|
|
6
|
-
import { LitElement as C, createEvent as s, safeClassMap as
|
|
6
|
+
import { LitElement as C, createEvent as s, safeClassMap as l } from "@arcgis/lumina";
|
|
7
7
|
import { e as v } from "../../chunks/popover-ui-utils.js";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
import { r as f } from "../../chunks/index3.js";
|
|
9
|
+
import { ap as u } from "../../chunks/index.js";
|
|
10
|
+
const n = {
|
|
11
11
|
panelChildrenContainer: "panel-children-container"
|
|
12
|
-
},
|
|
13
|
-
class
|
|
12
|
+
}, y = p`.hide{visibility:hidden}.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}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}.panel-children-container{padding:0 1rem;margin-top:1rem}`;
|
|
13
|
+
class x extends C {
|
|
14
14
|
constructor() {
|
|
15
15
|
super(...arguments), this._messages = m(), this.popoverElement = d(), this.open = !1, this.arcgisChartsConfigPopoverClose = s(), this.arcgisChartsConfigSeriesPopoverColorChange = s(), this.arcgisChartsConfigSeriesPopoverNameChange = s();
|
|
16
16
|
}
|
|
@@ -18,7 +18,7 @@ class y extends C {
|
|
|
18
18
|
this.properties = { messageOverrides: 0, referenceElement: 0, selectedName: 1, selectedColor: 0, selectedSeriesIndex: 9, placement: 1, open: 5, nullCategory: 0 };
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
|
-
this.styles =
|
|
21
|
+
this.styles = y;
|
|
22
22
|
}
|
|
23
23
|
async reposition() {
|
|
24
24
|
await this.popoverElement.value?.reposition();
|
|
@@ -36,17 +36,15 @@ class y extends C {
|
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
colorChange(e) {
|
|
39
|
-
const t = e instanceof CustomEvent ? e.detail : e, [
|
|
40
|
-
this.selectedColor = [
|
|
39
|
+
const t = e instanceof CustomEvent ? e.detail : e, [o, i, r] = t, a = f * 255;
|
|
40
|
+
this.selectedColor = [o, i, r, a], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [o, i, r, a] });
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
const e = this.nullCategory?.
|
|
44
|
-
return h`<div class=${
|
|
45
|
-
[i.jsAppFlyout]: !0
|
|
46
|
-
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${g(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div class=${o(i.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${t} @calciteInputInput=${this.seriesNameChange}></calcite-input></calcite-label></div><div class=${o(i.panelChildrenContainer)}><arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></calcite-panel></calcite-popover></div>`;
|
|
43
|
+
const e = u(this.nullCategory)?.color ?? this.selectedColor, t = this.nullCategory?.text ?? this.selectedName;
|
|
44
|
+
return h`<div><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${g(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div class=${l(n.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${t} @calciteInputInput=${this.seriesNameChange}></calcite-input></calcite-label></div><div class=${l(n.panelChildrenContainer)}><arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></calcite-panel></calcite-popover></div>`;
|
|
47
45
|
}
|
|
48
46
|
}
|
|
49
|
-
c("arcgis-charts-config-bar-chart-series-popover",
|
|
47
|
+
c("arcgis-charts-config-bar-chart-series-popover", x);
|
|
50
48
|
export {
|
|
51
|
-
|
|
49
|
+
x as ArcgisChartsConfigBarChartSeriesPopover
|
|
52
50
|
};
|
|
@@ -1,80 +1,72 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as r } from "../../chunks/runtime.js";
|
|
3
3
|
import { LitElement as n } from "@arcgis/lumina";
|
|
4
|
-
import { css as
|
|
5
|
-
import { isEqual as
|
|
4
|
+
import { css as c, html as t } from "lit";
|
|
5
|
+
import { isEqual as l } from "lodash-es";
|
|
6
6
|
import { C as a } from "../../chunks/interfaces.js";
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class p extends n {
|
|
7
|
+
import { bC as d, bD as h, t as f } from "../../chunks/index.js";
|
|
8
|
+
const g = c`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
9
|
+
class m extends n {
|
|
11
10
|
constructor() {
|
|
12
11
|
super(...arguments), this.onModelConfigChange = async (e) => {
|
|
13
|
-
const
|
|
14
|
-
this.layer === void 0 && await this.updateFetchLayerFieldsInfo(
|
|
12
|
+
const i = e?.detail.config ?? this.model.config;
|
|
13
|
+
this.layer === void 0 && await this.updateFetchLayerFieldsInfo(i);
|
|
15
14
|
}, this.activeColorMatch = !1, this.popoverPlacement = "leading", this.usePopupTemplateFieldsInfo = !1;
|
|
16
15
|
}
|
|
17
16
|
static {
|
|
18
17
|
this.properties = { layerFieldsInfo: 16, activeColorMatch: 16, model: 0, popoverPlacement: 1, seriesColor: 0, page: 1, calculatedMinMaxBounds: 0, layer: 0, usePopupTemplateFieldsInfo: 5, popupTemplateFieldInfosEnabled: 5 };
|
|
19
18
|
}
|
|
20
19
|
static {
|
|
21
|
-
this.styles =
|
|
20
|
+
this.styles = g;
|
|
22
21
|
}
|
|
23
22
|
async load() {
|
|
24
|
-
this.seriesColor !== void 0 && this.seriesColorChange(this.seriesColor), await this.updateFetchLayerFieldsInfo(this.model?.config), this.modelChange(this.model)
|
|
23
|
+
this.seriesColor !== void 0 && this.seriesColorChange(this.seriesColor), await this.updateFetchLayerFieldsInfo(this.model?.config), this.modelChange(this.model);
|
|
25
24
|
}
|
|
26
25
|
willUpdate(e) {
|
|
27
|
-
let
|
|
28
|
-
e.has("model") && this.modelChange(this.model, e.get("model")), e.has("layer") && this.layer !== void 0 && !
|
|
26
|
+
let o = !1;
|
|
27
|
+
e.has("model") && this.modelChange(this.model, e.get("model")), e.has("layer") && this.layer !== void 0 && !l(e.get("layer"), this.layer) && (o = !0), (e.has("usePopupTemplateFieldsInfo") && this.usePopupTemplateFieldsInfo !== e.get("usePopupTemplateFieldsInfo") || e.has("popupTemplateFieldInfosEnabled") && this.popupTemplateFieldInfosEnabled !== e.get("popupTemplateFieldInfosEnabled")) && (o = !0), e.has("seriesColor") && this.seriesColorChange(this.seriesColor), this.layerFieldsInfo === void 0 && (o = !0), o && this.updateFetchLayerFieldsInfo();
|
|
29
28
|
}
|
|
30
29
|
disconnectedCallback() {
|
|
31
30
|
super.disconnectedCallback(), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
32
31
|
}
|
|
33
|
-
modelChange(e,
|
|
34
|
-
|
|
32
|
+
modelChange(e, o) {
|
|
33
|
+
o?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
35
34
|
}
|
|
36
35
|
seriesColorChange(e) {
|
|
37
|
-
this.activeColorMatch = e?.get(0) === void 0, this.model.colorMatch && e?.forEach((
|
|
38
|
-
let
|
|
39
|
-
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
async updateDataFilters() {
|
|
43
|
-
const e = this.model.getDataFilters(), i = e?.where, o = this.layer?.definitionExpression ?? void 0;
|
|
44
|
-
r(i, o) || await this.model.setDataFilters({
|
|
45
|
-
...e,
|
|
46
|
-
where: o ?? void 0
|
|
36
|
+
this.activeColorMatch = e?.get(0) === void 0, this.model.colorMatch && e?.forEach((o, i) => {
|
|
37
|
+
let s;
|
|
38
|
+
o && ("fillSymbol" in o ? s = o.fillSymbol?.color : "lineSymbol" in o && (s = o.lineSymbol.color)), e?.get(0) !== void 0 && s !== void 0 && !l(this.model.getSeriesColor(i), s) && this.model.setSeriesColor(s, i);
|
|
47
39
|
});
|
|
48
40
|
}
|
|
49
41
|
async updateFetchLayerFieldsInfo(e) {
|
|
50
|
-
const
|
|
51
|
-
let
|
|
52
|
-
if (!
|
|
53
|
-
const
|
|
54
|
-
|
|
42
|
+
const o = e ?? this.model.config;
|
|
43
|
+
let i = this.layer;
|
|
44
|
+
if (!i) {
|
|
45
|
+
const s = d(o) ? o.iLayer : void 0;
|
|
46
|
+
s && (i = await h(s));
|
|
55
47
|
}
|
|
56
|
-
|
|
48
|
+
i && (await i.load(), this.layerFieldsInfo = f(i, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled));
|
|
57
49
|
}
|
|
58
50
|
render() {
|
|
59
51
|
let e;
|
|
60
52
|
switch (this.page) {
|
|
61
53
|
case a.Data:
|
|
62
|
-
e =
|
|
54
|
+
e = t`<arcgis-charts-config-box-plot-data .model=${this.model} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-box-plot-data>`;
|
|
63
55
|
break;
|
|
64
56
|
case a.Series:
|
|
65
|
-
e =
|
|
57
|
+
e = t`<arcgis-charts-config-box-plot-series .model=${this.model} .activeColorMatch=${this.activeColorMatch} .popoverPlacement=${this.popoverPlacement}></arcgis-charts-config-box-plot-series>`;
|
|
66
58
|
break;
|
|
67
59
|
case a.Axes:
|
|
68
|
-
e =
|
|
60
|
+
e = t`<arcgis-charts-config-axes .model=${this.model} show-min-y-bound-option show-max-y-bound-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-axes>`;
|
|
69
61
|
break;
|
|
70
62
|
case a.Guides:
|
|
71
|
-
e =
|
|
63
|
+
e = t`<arcgis-charts-config-guides .model=${this.model} enable-y-axis-guide></arcgis-charts-config-guides>`;
|
|
72
64
|
break;
|
|
73
65
|
case a.Format:
|
|
74
|
-
e =
|
|
66
|
+
e = t`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;
|
|
75
67
|
break;
|
|
76
68
|
case a.General:
|
|
77
|
-
e =
|
|
69
|
+
e = t`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;
|
|
78
70
|
break;
|
|
79
71
|
default:
|
|
80
72
|
e = "";
|
|
@@ -83,7 +75,7 @@ class p extends n {
|
|
|
83
75
|
return e;
|
|
84
76
|
}
|
|
85
77
|
}
|
|
86
|
-
|
|
78
|
+
r("arcgis-charts-config-box-plot", m);
|
|
87
79
|
export {
|
|
88
|
-
|
|
80
|
+
m as ArcgisChartsConfigBoxPlot
|
|
89
81
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as C } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
4
|
-
import { isEqual as
|
|
4
|
+
import { isEqual as b } from "lodash-es";
|
|
5
5
|
import { repeat as y } from "lit/directives/repeat.js";
|
|
6
|
-
import {
|
|
6
|
+
import { b as l, a as d } from "../../chunks/interfaces.js";
|
|
7
7
|
import { d as S, a as v } from "../../chunks/store.js";
|
|
8
|
-
import { b as $ } from "../../chunks/chart-ui-
|
|
8
|
+
import { b as $ } from "../../chunks/chart-ui-utils.js";
|
|
9
9
|
import { u as F } from "../../chunks/useT9n.js";
|
|
10
10
|
import { css as x, nothing as I, html as a } from "lit";
|
|
11
11
|
import { createRef as m, ref as h } from "lit/directives/ref.js";
|
|
12
12
|
import { LitElement as B, createEvent as P, safeClassMap as o, renderElement as O } from "@arcgis/lumina";
|
|
13
13
|
import { x as L } from "../../chunks/data.js";
|
|
14
14
|
import { B as c } from "../../chunks/common.js";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
15
|
+
import { l as u } from "../../chunks/index3.js";
|
|
16
|
+
import { o as w, b as g } from "../../chunks/index2.js";
|
|
17
17
|
import { r as p } from "../../chunks/popover-ui-utils.js";
|
|
18
|
-
import {
|
|
18
|
+
import { a as k } from "../../chunks/chart-object-literals.js";
|
|
19
19
|
const r = {
|
|
20
20
|
label: "label",
|
|
21
21
|
fieldList: "field-list",
|
|
@@ -23,7 +23,7 @@ const r = {
|
|
|
23
23
|
dimText: "dim-text",
|
|
24
24
|
list: "list",
|
|
25
25
|
customSortButtons: "custom-sort-buttons"
|
|
26
|
-
},
|
|
26
|
+
}, E = x`.hide{visibility:hidden}.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);max-height:400px;overflow-y:auto}.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)}`;
|
|
27
27
|
class D extends B {
|
|
28
28
|
constructor() {
|
|
29
29
|
super(...arguments), this._messages = F(), this.boxPlotPopover = null, this.categoryElement = m(), this.numericFieldsElement = m(), this.splitByFieldElement = m(), this.sortOrderElement = m(), this.originalCustomSortLabels = [], this.isCustomSortDisabled = !1, this.onModelConfigChange = () => {
|
|
@@ -82,13 +82,13 @@ class D extends B {
|
|
|
82
82
|
this.properties = { selectedCustomSortItemId: 16, sortOrderResetCounter: 16, messageOverrides: 0, model: 0, layerFieldsInfo: 0 };
|
|
83
83
|
}
|
|
84
84
|
static {
|
|
85
|
-
this.styles =
|
|
85
|
+
this.styles = E;
|
|
86
86
|
}
|
|
87
87
|
load() {
|
|
88
88
|
this.modelChange(this.model), this.onModelConfigChange(), this.currentDataFilter = this.model.getDataFilters(), this.updateCustomSortProps();
|
|
89
89
|
}
|
|
90
90
|
willUpdate(e) {
|
|
91
|
-
e.has("model") && this.modelChange(this.model, e.get("model")),
|
|
91
|
+
e.has("model") && this.modelChange(this.model, e.get("model")), b(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 !== u;
|
|
92
92
|
}
|
|
93
93
|
disconnectedCallback() {
|
|
94
94
|
super.disconnectedCallback(), this.boxPlotPopover = p(this.boxPlotPopover), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
@@ -99,7 +99,7 @@ class D extends B {
|
|
|
99
99
|
onCalciteListOrderChange(e) {
|
|
100
100
|
if (e.detail !== null && e.detail !== void 0) {
|
|
101
101
|
const { newIndex: t, oldIndex: s } = e.detail;
|
|
102
|
-
this.model.moveCustomSortValuesInOrderByList(s, t);
|
|
102
|
+
this.model.moveCustomSortValuesInOrderByList(s ?? 0, t ?? s ?? 0);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
onCustomSortItemSelected(e) {
|
|
@@ -188,7 +188,7 @@ class D extends B {
|
|
|
188
188
|
}
|
|
189
189
|
renderCustomSortUI() {
|
|
190
190
|
const e = this.model.getSortOrder(), t = this.model.getAxisValueFormat(0)?.type, s = this.model.orderByList.indexOf(this.selectedCustomSortItemId);
|
|
191
|
-
return t ===
|
|
191
|
+
return t === k.CategoryAxisFormat && e === 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=${d.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=${d.Down} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button></div><calcite-button @click=${this.resetToOriginalCustomSortLabels} .disabled=${b(this.model.orderByList, this.originalCustomSortLabels)} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${this.model.category === u ? this._messages.values : this._messages.category}${this.buildCustomSortList()}</calcite-label>` : null;
|
|
192
192
|
}
|
|
193
193
|
renderNumericFields(e) {
|
|
194
194
|
const t = [];
|
|
@@ -198,21 +198,21 @@ class D extends B {
|
|
|
198
198
|
}
|
|
199
199
|
renderCategory() {
|
|
200
200
|
const e = this.getCorrectedCategoryValue(), t = this.model.numericFields.length === 0 || (this.model.numericFields ?? []).length > 1 && this.model.splitByField !== "";
|
|
201
|
-
return a`<arcgis-charts-config-field-
|
|
201
|
+
return a`<arcgis-charts-config-field-picker .label=${e} .disabled=${t} @click=${this.onCategorySelect} ${h(this.categoryElement)}></arcgis-charts-config-field-picker>`;
|
|
202
202
|
}
|
|
203
203
|
renderSplitBy() {
|
|
204
204
|
const e = this.getCorrectedSplitByValue();
|
|
205
|
-
return a`<arcgis-charts-config-field-
|
|
205
|
+
return a`<arcgis-charts-config-field-picker .label=${e} .disabled=${this.disableSplitBy} @click=${this.onSplitBySelect} ${h(this.splitByFieldElement)}></arcgis-charts-config-field-picker>`;
|
|
206
206
|
}
|
|
207
207
|
renderSorting() {
|
|
208
|
-
return a`<arcgis-charts-config-field-
|
|
208
|
+
return a`<arcgis-charts-config-field-picker .label=${this._messages[this.model.getSortOrder()]} @click=${this.onSortOrderSelect} ${h(this.sortOrderElement)}></arcgis-charts-config-field-picker>`;
|
|
209
209
|
}
|
|
210
210
|
render() {
|
|
211
211
|
const e = this.renderCategory(), t = this.renderNumericFields([...this.model.numericFields ?? []]), s = this.renderSplitBy(), i = this.renderSorting(), n = this.renderCustomSortUI();
|
|
212
212
|
return a`<calcite-label class=${o(r.label)}>${this._messages.numericFields}${t}</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>${e}</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}`;
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
|
-
|
|
215
|
+
C("arcgis-charts-config-box-plot-data", D);
|
|
216
216
|
export {
|
|
217
217
|
D as ArcgisChartsConfigBoxPlotData
|
|
218
218
|
};
|
|
@@ -4,7 +4,7 @@ import "@esri/calcite-components/components/calcite-list";
|
|
|
4
4
|
import "../arcgis-charts-config-box-plot-popover/index.js";
|
|
5
5
|
import "@esri/calcite-components/components/calcite-label";
|
|
6
6
|
import "@esri/calcite-components/components/calcite-button";
|
|
7
|
-
import "../arcgis-charts-config-field-
|
|
7
|
+
import "../arcgis-charts-config-field-picker/index.js";
|
|
8
8
|
import "@esri/calcite-components/components/calcite-fab";
|
|
9
9
|
import "@esri/calcite-components/components/calcite-switch";
|
|
10
10
|
export * from "./customElement.js";
|
|
@@ -1,34 +1,32 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as v } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as p } from "lit/directives/keyed.js";
|
|
4
|
-
import { repeat as
|
|
4
|
+
import { repeat as k } from "lit/directives/repeat.js";
|
|
5
5
|
import { substitute as $ } from "@arcgis/core/intl.js";
|
|
6
|
-
import {
|
|
7
|
-
import { b as
|
|
8
|
-
import { u as
|
|
9
|
-
import { css as
|
|
10
|
-
import { createRef as
|
|
11
|
-
import { LitElement as
|
|
6
|
+
import { b as l } from "../../chunks/interfaces.js";
|
|
7
|
+
import { b as f, f as y, e as h, a as P } from "../../chunks/chart-ui-utils.js";
|
|
8
|
+
import { u as F } from "../../chunks/useT9n.js";
|
|
9
|
+
import { css as L, html as n } from "lit";
|
|
10
|
+
import { createRef as u, ref as m } from "lit/directives/ref.js";
|
|
11
|
+
import { LitElement as x, createEvent as g, renderElement as I, safeStyleMap as D, safeClassMap as d } from "@arcgis/lumina";
|
|
12
12
|
import { B as r } from "../../chunks/common.js";
|
|
13
13
|
import { e as S, p as T } from "../../chunks/popover-ui-utils.js";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
14
|
+
import { bB as b, aO as E, D as w } from "../../chunks/index.js";
|
|
15
|
+
import { b as B } from "../../chunks/index2.js";
|
|
16
|
+
import { d as C } from "../../chunks/rest-js-object-literals.js";
|
|
17
17
|
const o = {
|
|
18
|
-
jsAppFlyout: "js-app-flyout",
|
|
19
18
|
name: "bar-chart-data-popover",
|
|
20
|
-
numericFieldPickList: "bar-chart-data-numeric-fields-pick-list",
|
|
21
19
|
header: "header",
|
|
22
20
|
fab: "fab",
|
|
23
|
-
|
|
21
|
+
popoverPickList: "popover-pick-list",
|
|
24
22
|
sortMean: "sort-mean",
|
|
25
23
|
sortMedian: "sort-median",
|
|
26
24
|
sortOrderPickList: "sort-order-pick-list",
|
|
27
25
|
panel: "panel"
|
|
28
|
-
}, N =
|
|
29
|
-
class K extends
|
|
26
|
+
}, N = L`.hide{visibility:hidden}.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}.popover-pick-list{font-size:small;max-width:var(--arcgis-charts-config-popover-pick-list-max-width)}.sort-icon-color{color:#000}.sort-mean,.sort-median{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}`;
|
|
27
|
+
class K extends x {
|
|
30
28
|
constructor() {
|
|
31
|
-
super(...arguments), this._messages =
|
|
29
|
+
super(...arguments), this._messages = F(), this.picklist = u(), this.placement = "leading", this.popoverElement = u(), this.offsetDistance = -200, this.pickListHasChanged = !1, this.open = !1, this.layerFieldsInfo = [], this.isCustomSortDisabled = !1, this.arcgisChartsConfigBoxPlotDataPopoverChange = g(), this.arcgisChartsConfigPopoverClose = g();
|
|
32
30
|
}
|
|
33
31
|
static {
|
|
34
32
|
this.properties = { messageOverrides: 0, headingTitle: 1, referenceElement: 0, open: 5, contentKind: 1, layerFieldsInfo: 0, isCustomSortDisabled: 5, selectedContent: 1 };
|
|
@@ -45,7 +43,7 @@ class K extends I {
|
|
|
45
43
|
updated() {
|
|
46
44
|
setTimeout(() => {
|
|
47
45
|
typeof this.picklist.value?.setFocus == "function" && this.picklist.value?.setFocus();
|
|
48
|
-
},
|
|
46
|
+
}, f.PopoverTimer), S(this.popoverElement.value, this.open);
|
|
49
47
|
}
|
|
50
48
|
selectedContentChange(e, t) {
|
|
51
49
|
this.pickListHasChanged = T(e, t);
|
|
@@ -109,7 +107,7 @@ class K extends I {
|
|
|
109
107
|
buildSortOrder() {
|
|
110
108
|
const e = Object.keys(r);
|
|
111
109
|
let t;
|
|
112
|
-
return
|
|
110
|
+
return k(e, (i) => i, (i) => {
|
|
113
111
|
let s = "";
|
|
114
112
|
switch (i) {
|
|
115
113
|
case r.xAxisAsc: {
|
|
@@ -148,30 +146,30 @@ class K extends I {
|
|
|
148
146
|
}
|
|
149
147
|
createTooltip(e) {
|
|
150
148
|
if (e.target?.label === this._messages.customSort && this.isCustomSortDisabled) {
|
|
151
|
-
const t = e.target, i = w(t), a = new Intl.NumberFormat(i).format(
|
|
149
|
+
const t = e.target, i = w(t), a = new Intl.NumberFormat(i).format(f.customSortLimit), c = $(this._messages.customSortLimit ?? "", {
|
|
152
150
|
totalLimit: a
|
|
153
151
|
});
|
|
154
|
-
this.tooltip =
|
|
152
|
+
this.tooltip = I(n`<calcite-tooltip style=${D({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${c}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
155
153
|
}
|
|
156
154
|
}
|
|
157
155
|
destroyTooltip() {
|
|
158
|
-
|
|
156
|
+
P(this.tooltip);
|
|
159
157
|
}
|
|
160
158
|
renderCategory() {
|
|
161
159
|
const e = this.buildPickListItems(l.category);
|
|
162
|
-
return n`<calcite-list label class=${d(o.
|
|
160
|
+
return n`<calcite-list label class=${d(o.popoverPickList)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${m(this.picklist)}>${e}</calcite-list>`;
|
|
163
161
|
}
|
|
164
162
|
renderNumericFields() {
|
|
165
163
|
const e = this.buildPickListItems(l.numericFields);
|
|
166
|
-
return n`<calcite-list label class=${d(o.
|
|
164
|
+
return n`<calcite-list label class=${d(o.popoverPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${m(this.picklist)}>${e}</calcite-list>`;
|
|
167
165
|
}
|
|
168
166
|
renderSplitByField() {
|
|
169
167
|
const e = this.buildPickListItems(l.splitByField);
|
|
170
|
-
return n`<calcite-list label class=${d(o.
|
|
168
|
+
return n`<calcite-list label class=${d(o.popoverPickList)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${m(this.picklist)}>${e}</calcite-list>`;
|
|
171
169
|
}
|
|
172
170
|
renderSortOrder() {
|
|
173
171
|
const e = this.buildSortOrder();
|
|
174
|
-
return n`<calcite-list label class=${
|
|
172
|
+
return n`<calcite-list label class=${`${o.popoverPickList} ${o.sortOrderPickList}`} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
175
173
|
}
|
|
176
174
|
renderPopoverInfo() {
|
|
177
175
|
let e;
|
|
@@ -193,10 +191,10 @@ class K extends I {
|
|
|
193
191
|
}
|
|
194
192
|
render() {
|
|
195
193
|
let e;
|
|
196
|
-
return this.contentKind === l.numericFields && (e = n`<div slot=footer><calcite-fab class=${d(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
|
|
194
|
+
return this.contentKind === l.numericFields && (e = n`<div slot=footer><calcite-fab class=${d(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><calcite-popover class=${d(o.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${m(this.popoverElement)}><calcite-panel class=${d(o.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${d(o.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`;
|
|
197
195
|
}
|
|
198
196
|
}
|
|
199
|
-
|
|
197
|
+
v("arcgis-charts-config-box-plot-popover", K);
|
|
200
198
|
export {
|
|
201
199
|
K as ArcgisChartsConfigBoxPlotPopover
|
|
202
200
|
};
|
|
@@ -5,16 +5,16 @@ import { keyed as y } from "lit/directives/keyed.js";
|
|
|
5
5
|
import { repeat as M } from "lit/directives/repeat.js";
|
|
6
6
|
import { u as B } from "../../chunks/useT9n.js";
|
|
7
7
|
import { LitElement as O, renderElement as d, safeStyleMap as h, safeClassMap as a } from "@arcgis/lumina";
|
|
8
|
-
import { a as w } from "../../chunks/chart-ui-
|
|
9
|
-
import {
|
|
8
|
+
import { a as w } from "../../chunks/chart-ui-utils.js";
|
|
9
|
+
import { a as S } from "../../chunks/index2.js";
|
|
10
10
|
import { r as f } from "../../chunks/popover-ui-utils.js";
|
|
11
|
-
import {
|
|
11
|
+
import { p as m } from "../../chunks/chart-object-literals.js";
|
|
12
12
|
const l = {
|
|
13
13
|
topSection: "top-section",
|
|
14
14
|
sectionLabel: "section-label",
|
|
15
15
|
list: "list",
|
|
16
16
|
infoIcon: "info-icon"
|
|
17
|
-
}, T = P
|
|
17
|
+
}, T = P`.hide{visibility:hidden}.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)}.top-section{margin-top:var(--arcgis-charts-config-margin-minor)}.section-label{display:flex;margin-bottom:var(--arcgis-charts-config-margin-major);margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.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)}.info-icon{margin:auto 1rem;pointer-events:auto}`;
|
|
18
18
|
class N extends O {
|
|
19
19
|
constructor() {
|
|
20
20
|
super(...arguments), this._messages = B(), this.resetSeriesOriginal = () => {
|
|
@@ -4,17 +4,16 @@ import { css as C, html as a } from "lit";
|
|
|
4
4
|
import { isEqual as f } from "lodash-es";
|
|
5
5
|
import { u as v } from "../../chunks/useT9n.js";
|
|
6
6
|
import { createRef as y, ref as S } from "lit/directives/ref.js";
|
|
7
|
-
import { LitElement as
|
|
8
|
-
import { e as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
const
|
|
12
|
-
jsAppFlyout: "js-app-flyout",
|
|
7
|
+
import { LitElement as b, createEvent as n, safeClassMap as p } from "@arcgis/lumina";
|
|
8
|
+
import { e as u } from "../../chunks/popover-ui-utils.js";
|
|
9
|
+
import { r as m } from "../../chunks/index3.js";
|
|
10
|
+
import { b as $ } from "../../chunks/rest-js-object-literals.js";
|
|
11
|
+
const d = {
|
|
13
12
|
panelChildrenContainer: "panel-children-container"
|
|
14
|
-
}, L = C`.hide{visibility:hidden}.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
|
|
15
|
-
class P extends
|
|
13
|
+
}, L = C`.hide{visibility:hidden}.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}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}.panel-children-container{padding:0 1rem;margin-top:1rem}`;
|
|
14
|
+
class P extends b {
|
|
16
15
|
constructor() {
|
|
17
|
-
super(...arguments), this._messages = v(), this.popoverElement = y(), this.isLineSymbol = !1, this.open = !1, this.labelCanBeConfigured = !1, this.arcgisChartsConfigPopoverClose =
|
|
16
|
+
super(...arguments), this._messages = v(), this.popoverElement = y(), this.isLineSymbol = !1, this.open = !1, this.labelCanBeConfigured = !1, this.arcgisChartsConfigPopoverClose = n(), this.arcgisChartsConfigSeriesPopoverColorChange = n(), this.arcgisChartsConfigSeriesPopoverLineStyleChange = n(), this.arcgisChartsConfigSeriesPopoverLineWidthChange = n(), this.arcgisChartsConfigSeriesPopoverNameChange = n();
|
|
18
17
|
}
|
|
19
18
|
static {
|
|
20
19
|
this.properties = { messageOverrides: 0, referenceElement: 0, selectedName: 1, selectedColor: 0, selectedLineStyle: 1, selectedLineWidth: 9, selectedSeriesIndex: 9, isLineSymbol: 5, placement: 1, open: 5, labelCanBeConfigured: 5 };
|
|
@@ -26,7 +25,7 @@ class P extends u {
|
|
|
26
25
|
await this.popoverElement.value?.reposition();
|
|
27
26
|
}
|
|
28
27
|
updated() {
|
|
29
|
-
|
|
28
|
+
u(this.popoverElement.value, this.open);
|
|
30
29
|
}
|
|
31
30
|
seriesNameChange(e) {
|
|
32
31
|
const i = e.target.value;
|
|
@@ -36,22 +35,20 @@ class P extends u {
|
|
|
36
35
|
this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
37
36
|
}
|
|
38
37
|
colorChange(e) {
|
|
39
|
-
const i = e instanceof CustomEvent ? e.detail : e, [o, t, s] = i,
|
|
40
|
-
this.selectedColor = [o, t, s,
|
|
38
|
+
const i = e instanceof CustomEvent ? e.detail : e, [o, t, s] = i, r = m * 255;
|
|
39
|
+
this.selectedColor = [o, t, s, r], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [o, t, s, r] });
|
|
41
40
|
}
|
|
42
41
|
lineSymbolChange(e) {
|
|
43
42
|
const { lineStyle: i } = e.target, { color: o, style: t, width: s } = i;
|
|
44
43
|
if (o !== void 0 && !f(o, this.selectedColor)) {
|
|
45
|
-
const [
|
|
46
|
-
this.selectedColor = [
|
|
44
|
+
const [r, l, c] = o, h = m * 255;
|
|
45
|
+
this.selectedColor = [r, l, c, h], this.arcgisChartsConfigSeriesPopoverColorChange.emit({ color: [r, l, c, h] });
|
|
47
46
|
}
|
|
48
47
|
t !== void 0 && t !== this.selectedLineStyle && (this.selectedLineStyle = t, this.arcgisChartsConfigSeriesPopoverLineStyleChange.emit({ style: t })), s !== void 0 && s !== this.selectedLineWidth && (this.selectedLineWidth = s, this.arcgisChartsConfigSeriesPopoverLineWidthChange.emit({ width: s }));
|
|
49
48
|
}
|
|
50
49
|
render() {
|
|
51
50
|
const e = this.selectedColor;
|
|
52
|
-
return a`<div class=${
|
|
53
|
-
[c.jsAppFlyout]: !0
|
|
54
|
-
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${S(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}>${this.labelCanBeConfigured ? a`<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(this.isLineSymbol ? "" : c.panelChildrenContainer)}>${this.isLineSymbol ? a`<arcgis-charts-config-line-style .open=${this.open} enable-close .lineStyle=${{
|
|
51
|
+
return a`<div><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${S(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}>${this.labelCanBeConfigured ? a`<div class=${p(d.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${this.selectedName} @calciteInputInput=${this.seriesNameChange}></calcite-input></calcite-label></div>` : null}<div class=${p(this.isLineSymbol ? "" : d.panelChildrenContainer)}>${this.isLineSymbol ? a`<arcgis-charts-config-line-style .open=${this.open} enable-close .lineStyle=${{
|
|
55
52
|
type: $.SLS,
|
|
56
53
|
style: this.selectedLineStyle,
|
|
57
54
|
width: this.selectedLineWidth,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as m } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as o, html as l } from "lit";
|
|
4
|
-
import { i as h, m as r,
|
|
4
|
+
import { i as h, m as r, U as s, s as u } from "../../chunks/chart-ui-utils.js";
|
|
5
5
|
import { u as p } from "../../chunks/useT9n.js";
|
|
6
6
|
import { createRef as g, ref as d } from "lit/directives/ref.js";
|
|
7
7
|
import { LitElement as f, createEvent as b, safeClassMap as e } from "@arcgis/lumina";
|
|
@@ -1,42 +1,41 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as o } from "../../chunks/runtime.js";
|
|
3
3
|
import { isEmpty as c } from "lodash-es";
|
|
4
|
-
import { m as h, U as
|
|
4
|
+
import { m as h, U as n } from "../../chunks/chart-ui-utils.js";
|
|
5
5
|
import { u as m } from "../../chunks/useT9n.js";
|
|
6
6
|
import { css as p, html as d } from "lit";
|
|
7
|
-
import { createRef as
|
|
8
|
-
import { LitElement as
|
|
9
|
-
import { e as
|
|
10
|
-
const
|
|
11
|
-
jsAppFlyout: "js-app-flyout",
|
|
7
|
+
import { createRef as s, ref as l } from "lit/directives/ref.js";
|
|
8
|
+
import { LitElement as g, createEvent as r, safeClassMap as t } from "@arcgis/lumina";
|
|
9
|
+
import { e as v } from "../../chunks/popover-ui-utils.js";
|
|
10
|
+
const a = {
|
|
12
11
|
chartRenameComponent: "chart-rename-component",
|
|
13
12
|
renameLabelContainer: "rename-label-container",
|
|
14
13
|
renamePanel: "rename-panel"
|
|
15
|
-
},
|
|
16
|
-
class C extends
|
|
14
|
+
}, u = p`.hide{visibility:hidden}.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}.rename-label-container calcite-label{flex:1 1 0px;display:flex;width:0px}.rename-label-container{padding:0 1rem;margin-top:1rem}.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)}`;
|
|
15
|
+
class C extends g {
|
|
17
16
|
constructor() {
|
|
18
|
-
super(...arguments), this._messages = m(), this.characterLimitInputElement =
|
|
17
|
+
super(...arguments), this._messages = m(), this.characterLimitInputElement = s(), this.popoverElement = s(), this.isChartTitleInvalid = !1, this.changedName = "", this.name = "", this.open = !1, this.arcgisChartsConfigChartRenamePopoverChange = r(), this.arcgisChartsConfigPopoverClose = r();
|
|
19
18
|
}
|
|
20
19
|
static {
|
|
21
20
|
this.properties = { isChartTitleInvalid: 16, changedName: 16, messageOverrides: 0, name: 1, open: 5, referenceElement: 0 };
|
|
22
21
|
}
|
|
23
22
|
static {
|
|
24
|
-
this.styles =
|
|
23
|
+
this.styles = u;
|
|
25
24
|
}
|
|
26
25
|
async reposition() {
|
|
27
26
|
await this.popoverElement.value?.reposition();
|
|
28
27
|
}
|
|
29
|
-
willUpdate(
|
|
30
|
-
|
|
28
|
+
willUpdate(e) {
|
|
29
|
+
e.has("name") && (this.changedName = this.name);
|
|
31
30
|
}
|
|
32
31
|
updated() {
|
|
33
|
-
this.popoverElement.value?.reposition(),
|
|
32
|
+
this.popoverElement.value?.reposition(), v(this.popoverElement.value, this.open);
|
|
34
33
|
}
|
|
35
|
-
onNameChange(
|
|
36
|
-
const i =
|
|
34
|
+
onNameChange(e) {
|
|
35
|
+
const i = e.target.value;
|
|
37
36
|
this.changedName = i, this.isChartTitleInvalid = c(i.trim()), this.characterLimitInputElement.value && h({
|
|
38
37
|
inputElement: this.characterLimitInputElement.value,
|
|
39
|
-
status: this.isChartTitleInvalid ?
|
|
38
|
+
status: this.isChartTitleInvalid ? n.INVALID : n.IDLE
|
|
40
39
|
});
|
|
41
40
|
}
|
|
42
41
|
onCancelClick() {
|
|
@@ -49,10 +48,9 @@ class C extends u {
|
|
|
49
48
|
this.changedName = this.name, this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
|
|
50
49
|
}
|
|
51
50
|
render() {
|
|
52
|
-
return d`<div class=${
|
|
53
|
-
[
|
|
54
|
-
|
|
55
|
-
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label auto-close ${l(this.popoverElement)}><calcite-panel class=${a(e.renamePanel)} closable .closed=${!this.open} @calcitePanelClose=${this.popoverClose} .heading=${this._messages.renameChart}><div class=${a(e.renameLabelContainer)}><calcite-label>${this._messages.chartName}<calcite-input required type=text .value=${this.changedName} @calciteInputInput=${this.onNameChange} ${l(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>`;
|
|
51
|
+
return d`<div class=${t({
|
|
52
|
+
[a.chartRenameComponent]: !0
|
|
53
|
+
})}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label auto-close ${l(this.popoverElement)}><calcite-panel class=${t(a.renamePanel)} closable .closed=${!this.open} @calcitePanelClose=${this.popoverClose} .heading=${this._messages.renameChart}><div class=${t(a.renameLabelContainer)}><calcite-label>${this._messages.chartName}<calcite-input required type=text .value=${this.changedName} @calciteInputInput=${this.onNameChange} ${l(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>`;
|
|
56
54
|
}
|
|
57
55
|
}
|
|
58
56
|
o("arcgis-charts-config-chart-rename-popover", C);
|