@arcgis/charts-components 4.34.0-next.164 → 4.34.0-next.165
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/cdn/{3WYZEMF6.js → 22ORGTAJ.js} +2 -2
- package/dist/cdn/{IHVZZ33D.js → 22XY7KVR.js} +2 -2
- package/dist/cdn/{LD3FJWMJ.js → 27SAQVP7.js} +2 -2
- package/dist/cdn/{UKM3LQPC.js → 2A53VLIV.js} +2 -2
- package/dist/cdn/{RFDGFFLQ.js → 2NWUV6UT.js} +2 -2
- package/dist/cdn/{3IYGXSHY.js → 2RBTQGBE.js} +2 -2
- package/dist/cdn/{DCYKQIEW.js → 36OOY6ZY.js} +2 -2
- package/dist/cdn/{CMYYAOV7.js → 3A5KFVJF.js} +2 -2
- package/dist/cdn/{OILEOEJV.js → 3GMJZHTF.js} +2 -2
- package/dist/cdn/{7X24M7XO.js → 3KICJXM4.js} +2 -2
- package/dist/cdn/{V2WPXIOV.js → 3QBV6P7S.js} +2 -2
- package/dist/cdn/{6FX6KKLE.js → 3RUKX3TH.js} +2 -2
- package/dist/cdn/{B7QEXETV.js → 4GWTMZMI.js} +2 -2
- package/dist/cdn/{FL4EIWB5.js → 4KER7HST.js} +2 -2
- package/dist/cdn/{PV74JK2R.js → 4M6ZL7GC.js} +2 -2
- package/dist/cdn/{OHJ4A7QO.js → 5CFMTN7O.js} +2 -2
- package/dist/cdn/{QTJSBYFU.js → 5GXJC62J.js} +2 -2
- package/dist/cdn/{Q5Z6YC2Q.js → 5HBTQXVG.js} +2 -2
- package/dist/cdn/{GDKQWCAQ.js → 5Q6RMVSS.js} +2 -2
- package/dist/cdn/{GJOQRVDW.js → 5W6QYN3N.js} +2 -2
- package/dist/cdn/{6PUNKWSV.js → 63QOA2WM.js} +2 -2
- package/dist/cdn/{U27TDEN5.js → 64PUSTMP.js} +2 -2
- package/dist/cdn/{RWTVYMRB.js → 6FZW53HI.js} +1 -1
- package/dist/cdn/{XWGBH3MQ.js → 6TRF76O5.js} +2 -2
- package/dist/cdn/{47WLNVAK.js → 742NLZLO.js} +8 -8
- package/dist/cdn/{PKF6KODH.js → 7R426OGK.js} +2 -2
- package/dist/cdn/{7E5CUWBK.js → 7U4KU2BY.js} +2 -2
- package/dist/cdn/{RQTN6SQJ.js → A5S27QPS.js} +2 -2
- package/dist/cdn/{NCI6QIPY.js → A6NPXQIW.js} +2 -2
- package/dist/cdn/{DS7L3KLY.js → AFJJT25W.js} +2 -2
- package/dist/cdn/{XLJ4ZEGA.js → AJPUQ7JC.js} +2 -2
- package/dist/cdn/{KKYV5OZK.js → AKZAWZMY.js} +2 -2
- package/dist/cdn/{FMICWXM4.js → AL3DZT3A.js} +2 -2
- package/dist/cdn/{QVF7Q42I.js → ATWYKCYB.js} +2 -2
- package/dist/cdn/{FSM3HXRO.js → B4GTKSG4.js} +2 -2
- package/dist/cdn/{RLC5SWVT.js → BNCCVFI7.js} +2 -2
- package/dist/cdn/{6T6LDIDQ.js → BVYJ6XJQ.js} +2 -2
- package/dist/cdn/{Y4Q7JL65.js → BYHNPUNB.js} +2 -2
- package/dist/cdn/{2L7B4HEY.js → CSWLSCRT.js} +2 -2
- package/dist/cdn/{5V6YFCMG.js → CVOPEHGG.js} +2 -2
- package/dist/cdn/{K42EYZT2.js → D2B2S7QH.js} +2 -2
- package/dist/cdn/{COH4NZOK.js → DAHIUJDE.js} +2 -2
- package/dist/cdn/{6SOFICQV.js → DHIZ7MVR.js} +2 -2
- package/dist/cdn/{YNBF6GTT.js → DLSDLPPF.js} +2 -2
- package/dist/cdn/{RPY5MUOM.js → DP7S3TCC.js} +2 -2
- package/dist/cdn/{KIZLTTD7.js → DSXVTWNV.js} +1 -1
- package/dist/cdn/{5ZBQNO25.js → DUCOEA4Z.js} +2 -2
- package/dist/cdn/{6MEZWAVX.js → DUEB3BEX.js} +2 -2
- package/dist/cdn/{4Y7FPRS3.js → DWQOFW3P.js} +2 -2
- package/dist/cdn/{PVKZFR4X.js → E5BGLFYE.js} +2 -2
- package/dist/cdn/{OJWWKKJS.js → EIOKO6R3.js} +2 -2
- package/dist/cdn/{GD3DH3U2.js → EIRPH4VW.js} +2 -2
- package/dist/cdn/{JXKBVHHG.js → F3CLKOLX.js} +2 -2
- package/dist/cdn/{6TRSFCGU.js → FAIMZGF3.js} +2 -2
- package/dist/cdn/{GTIRULJ5.js → FMAIWUOQ.js} +2 -2
- package/dist/cdn/{ACZE3PL5.js → FMOGLRZZ.js} +2 -2
- package/dist/cdn/{FSW236GH.js → FMX7SKLD.js} +2 -2
- package/dist/cdn/{2TZNJNIO.js → FQXBL6EF.js} +2 -2
- package/dist/cdn/{BKUEQSDO.js → FS52UPW3.js} +2 -2
- package/dist/cdn/{TOW6JP2E.js → G3TWZPPR.js} +2 -2
- package/dist/cdn/{3UTMPTO5.js → G4UMHK3T.js} +2 -2
- package/dist/cdn/{QEEPKBN6.js → G65SGEMU.js} +2 -2
- package/dist/cdn/{HK2WUIYX.js → GBCRE445.js} +2 -2
- package/dist/cdn/{JWJU7AC6.js → GENFTWYC.js} +2 -2
- package/dist/cdn/{3BUE6F5V.js → GI774ANT.js} +2 -2
- package/dist/cdn/{ZU73JI6D.js → H5AQ3ZGU.js} +2 -2
- package/dist/cdn/{JUXFJGNI.js → H6WD56LD.js} +2 -2
- package/dist/cdn/{6KNDVEIQ.js → H7AKTVN3.js} +2 -2
- package/dist/cdn/{W7L3X6QN.js → HLVOIR47.js} +2 -2
- package/dist/cdn/{QKP46EW2.js → HNKXEXII.js} +2 -2
- package/dist/cdn/{ASWRFSJ5.js → HRJ3W2R6.js} +1 -1
- package/dist/cdn/{XE2FMMEM.js → I6D5TGZR.js} +2 -2
- package/dist/cdn/{MDOHASLU.js → IE4DD6C5.js} +2 -2
- package/dist/cdn/{KY4MUWUZ.js → IMXZULTJ.js} +2 -2
- package/dist/cdn/{YM436KTN.js → IP5RBDNU.js} +2 -2
- package/dist/cdn/{LI3SP6RV.js → IXFZZH6B.js} +2 -2
- package/dist/cdn/{IRK3KWEX.js → J7TT2EBP.js} +2 -2
- package/dist/cdn/{ZKQNDLDT.js → JICBZAD7.js} +2 -2
- package/dist/cdn/{DFZ7MNRS.js → JIJSWJRR.js} +2 -2
- package/dist/cdn/{H3WEBOVT.js → JIXULGLQ.js} +2 -2
- package/dist/cdn/{E6XC3KJW.js → JNDU76OR.js} +2 -2
- package/dist/cdn/{BT2S6L4E.js → JNT42AC3.js} +2 -2
- package/dist/cdn/{6X23DBMC.js → K3JC7NPW.js} +2 -2
- package/dist/cdn/{E7ZW6LB2.js → KHF3AOSG.js} +2 -2
- package/dist/cdn/{B7KYWM3K.js → KI5Q36ED.js} +2 -2
- package/dist/cdn/{PHCKOEI2.js → KLS4EKW3.js} +2 -2
- package/dist/cdn/{NZNDZAUX.js → KNSLZPQA.js} +2 -2
- package/dist/cdn/{RHSSXKKX.js → KPZNISTZ.js} +2 -2
- package/dist/cdn/{FWDYBC5V.js → KRPZ2C6G.js} +2 -2
- package/dist/cdn/{4K7QFBHP.js → KWI7BIXJ.js} +2 -2
- package/dist/cdn/{TEF3THCL.js → KXUGSNCX.js} +2 -2
- package/dist/cdn/{67KDCNK6.js → L27C2AB5.js} +2 -2
- package/dist/cdn/{JU2ZRXKF.js → LP6R3DA4.js} +2 -2
- package/dist/cdn/{746473BU.js → LUQ2VZQ3.js} +2 -2
- package/dist/cdn/{Z2ROYCIL.js → LXGMZK5O.js} +2 -2
- package/dist/cdn/{OW2RRRFB.js → M5MCZLMV.js} +2 -2
- package/dist/cdn/{QEEI3QOG.js → M5ZW4EOS.js} +2 -2
- package/dist/cdn/{2MS3X2O7.js → MXLVTJZQ.js} +2 -2
- package/dist/cdn/{BRSXDRRI.js → MYU5W6WD.js} +2 -2
- package/dist/cdn/{RYHZ7V4Y.js → MZK2UN4Q.js} +2 -2
- package/dist/cdn/{HXVR5U27.js → N3TKM7ML.js} +2 -2
- package/dist/cdn/{BN4TKP2N.js → NEDXVKOD.js} +2 -2
- package/dist/cdn/{HJLLLFTV.js → NMVBACK3.js} +1 -1
- package/dist/cdn/{MO4AKP2Z.js → NSBA6HP5.js} +2 -2
- package/dist/cdn/{5ED5NJE2.js → NX6SBA6R.js} +2 -2
- package/dist/cdn/{7TK4ZLQ5.js → NZDIUK3Z.js} +2 -2
- package/dist/cdn/{C33SHQN6.js → O2BICH7F.js} +1 -1
- package/dist/cdn/{MQDIDZZH.js → O56P52FK.js} +1 -1
- package/dist/cdn/{VLIFG6YX.js → OBVOZIDB.js} +1 -1
- package/dist/cdn/{OBGVJML2.js → OBYR4JRO.js} +2 -2
- package/dist/cdn/{ND5IGDZ5.js → OC2VGXDO.js} +2 -2
- package/dist/cdn/{OFQXDA3N.js → OENPXJ7M.js} +2 -2
- package/dist/cdn/{6HXS6DIC.js → OHC6FXJI.js} +2 -2
- package/dist/cdn/{B5YOYIR2.js → OKL355G3.js} +2 -2
- package/dist/cdn/{WZIR6JB4.js → OVRPILKI.js} +1 -1
- package/dist/cdn/{KKC43LSD.js → P2D4ROHF.js} +2 -2
- package/dist/cdn/{ICOVDPLG.js → PCECQXEO.js} +2 -2
- package/dist/cdn/{HKNQIFZB.js → PLTXV7VC.js} +2 -2
- package/dist/cdn/{IBO2KPMI.js → PMCG2EYR.js} +2 -2
- package/dist/cdn/{SGTDJJKS.js → PNYAX2ZM.js} +2 -2
- package/dist/cdn/{WQFEEIJ5.js → Q5CU3GPN.js} +2 -2
- package/dist/cdn/{JBET35FH.js → QAAFQKBC.js} +2 -2
- package/dist/cdn/{LFQ5R46P.js → QBHE73T4.js} +2 -2
- package/dist/cdn/{MHO7PY42.js → QDMPERM4.js} +2 -2
- package/dist/cdn/{HLOVXQMT.js → QHG5EDNI.js} +2 -2
- package/dist/cdn/{XDCTCNN3.js → QKLJ5OFV.js} +2 -2
- package/dist/cdn/{GUPBRYZL.js → QKVX3VN4.js} +2 -2
- package/dist/cdn/{XLWI3K2O.js → QLKXIHB4.js} +2 -2
- package/dist/cdn/{ANOPMFAP.js → QLLTB2S4.js} +2 -2
- package/dist/cdn/{3Y5KA72P.js → QPMJG246.js} +2 -2
- package/dist/cdn/{UJ4LEIF2.js → R2OVAN22.js} +2 -2
- package/dist/cdn/{KKSNIYT5.js → RG753HV3.js} +2 -2
- package/dist/cdn/{2QTHDGWF.js → RHHOXSB3.js} +2 -2
- package/dist/cdn/{LJSMD35L.js → ROXY7JF4.js} +2 -2
- package/dist/cdn/{SX3JB4MH.js → RSOCNHSE.js} +2 -2
- package/dist/cdn/{WICB6A5Q.js → RVEAY6MZ.js} +1 -1
- package/dist/cdn/{FC677RBC.js → SBZW6RZS.js} +2 -2
- package/dist/cdn/{6DCCQH2K.js → SGHUY4DN.js} +2 -2
- package/dist/cdn/{YDETIOCO.js → SNAPOM6F.js} +1 -1
- package/dist/cdn/{AUWTADYE.js → SOARJTWO.js} +2 -2
- package/dist/cdn/{FH72RWZI.js → SZ3Q66TY.js} +2 -2
- package/dist/cdn/{FEEVAGDX.js → TB5BUM5B.js} +2 -2
- package/dist/cdn/{TP6KSK5W.js → TF6RDCES.js} +2 -2
- package/dist/cdn/{VRVALDMN.js → TG7YO26J.js} +2 -2
- package/dist/cdn/{RPCIWFY5.js → TNYLQCJ5.js} +2 -2
- package/dist/cdn/{ELQTXEN2.js → TOQGTLGK.js} +2 -2
- package/dist/cdn/{7IZX4LLV.js → TPQYCKHF.js} +2 -2
- package/dist/cdn/{2UMJG7HN.js → TXIYVTSM.js} +2 -2
- package/dist/cdn/{SHRSYIIF.js → U3FFQOTI.js} +2 -2
- package/dist/cdn/{BUSXDYXO.js → U5AU5EEB.js} +2 -2
- package/dist/cdn/{XMT3VNUF.js → U65IOPLI.js} +2 -2
- package/dist/cdn/{XVEYJBQI.js → U6DLFGOA.js} +2 -2
- package/dist/cdn/{ZW4MNXA4.js → U76CFHR3.js} +2 -2
- package/dist/cdn/{3QQRG6C4.js → UDEHJ7D6.js} +2 -2
- package/dist/cdn/{GCIDRXLP.js → UG2XVE2N.js} +2 -2
- package/dist/cdn/{5CFMJHDM.js → UJRKVWQN.js} +2 -2
- package/dist/cdn/{LQ3TVIHA.js → UOXBIOZP.js} +2 -2
- package/dist/cdn/{ZRJN7HEA.js → URDITZCB.js} +2 -2
- package/dist/cdn/{IYOYI3HJ.js → VJSXL7D7.js} +2 -2
- package/dist/cdn/{PCZ52PN4.js → VKHETPSG.js} +2 -2
- package/dist/cdn/{6QIO36PI.js → VWI5ZBLZ.js} +2 -2
- package/dist/cdn/{NTN3VAND.js → WBDHZT5D.js} +2 -2
- package/dist/cdn/{GFTRYSBL.js → WFKYE6S4.js} +2 -2
- package/dist/cdn/{357J4LQQ.js → WLOPIZ2Z.js} +2 -2
- package/dist/cdn/{TN73VHA6.js → WOCTS2SI.js} +2 -2
- package/dist/cdn/{IVFWHPRV.js → WPQMT5LZ.js} +2 -2
- package/dist/cdn/{UWG6UTN3.js → WQ6SLDR3.js} +2 -2
- package/dist/cdn/{BKDMF6TK.js → WXYHBZZL.js} +2 -2
- package/dist/cdn/{V2BWVXPZ.js → XBRZI3BN.js} +2 -2
- package/dist/cdn/{3PEJJK7L.js → XEOLJJGC.js} +2 -2
- package/dist/cdn/{YIFR7BRM.js → XMBIEDVY.js} +2 -2
- package/dist/cdn/{FPSQY2ZV.js → XOPLWMH6.js} +2 -2
- package/dist/cdn/{BX7ZI3DM.js → XZEQEILS.js} +2 -2
- package/dist/cdn/{BK733CZ3.js → Y6CJYHO5.js} +2 -2
- package/dist/cdn/{SGSV7A5M.js → YPD22AGR.js} +2 -2
- package/dist/cdn/{NU6WKXUJ.js → YWLPOMGZ.js} +2 -2
- package/dist/cdn/{CFJIM2VS.js → Z2HWSBPJ.js} +2 -2
- package/dist/cdn/{RZMFGOMR.js → ZIHD3TUT.js} +2 -2
- package/dist/cdn/{7YYMHH6F.js → ZII7WBB2.js} +2 -2
- package/dist/cdn/{UBJL5YOF.js → ZJHEN75G.js} +2 -2
- package/dist/cdn/{FWEMEMWB.js → ZMZWIQFW.js} +2 -2
- package/dist/cdn/{66PXHKDQ.js → ZN3SJVQX.js} +2 -2
- package/dist/cdn/{YYU4AIPY.js → ZVNE7OAF.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/action-bar-utils.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/baseline-stacking.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/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +1 -1
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/data2.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/heat-chart-model.js +1 -1
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +1 -1
- 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 +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/interfaces3.js +1 -1
- package/dist/chunks/interfaces4.js +1 -1
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +1 -1
- package/dist/chunks/model-with-multi-axes.js +1 -1
- package/dist/chunks/model-with-rotation.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/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.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/web-component-utils.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +2 -2
- 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 +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- 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-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/model.js +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import b from"./NTN3VAND.js";import{h as O,n as te}from"./TOW6JP2E.js";import a from"./6SOFICQV.js";import{d as $,f as E,i as Y,j as Z,q as ee}from"./KIZLTTD7.js";import{b as d}from"./WICB6A5Q.js";import{a as f,h as x,v as u}from"./ASWRFSJ5.js";export default $arcgis.t(([,,,,,,,{substitute:P},{B:w,Cc:L,Fa:G,L:J,M:oe,N:ie,Qa:F,U:D,V:W,aa:se,ea:_,ib:A,mb:re,pc:le,rc:H,sc:K,z:j,zb:ne},{M:T,b:C,e:Q,g:R,h:ae,ja:ye,na:me,q:ce}])=>{var oo=(o,e)=>e?.series?.[o]?.name,io=(o,e,i)=>{let s=i;s?.series?.[e]!==void 0&&(s.series[e].name=o)},so=(o,e)=>{let i,s=e.series?.[o];return s?.type===f.BoxPlotSeries?i=s.fillSymbol?.color:s?.type===f.LineSeries&&(i=s.lineSymbol?.color),i},Fe=o=>{let e=o.series[0];return o.showMean===!0&&O(e)?e.fillSymbol?.color:void 0},ve=(o,e)=>{let i=e.series[0];e.showMean===!0&&O(i)&&(i.fillSymbol!==void 0?i.fillSymbol.color=o:i.fillSymbol={...D(),color:o})},ro=(o,e,i)=>{let s=i?.series?.[e];s?.type===f.BoxPlotSeries&&s.fillSymbol!==void 0?s.fillSymbol.color=o:s?.type===f.LineSeries&&s.lineSymbol!==void 0&&(s.lineSymbol.color=o,s.markerSymbol!==void 0&&(s.markerSymbol.color=o))},Me=o=>o.series.map(e=>e.id),Be=(o,e)=>{e?.series?.sort((i,s)=>o.findIndex(r=>i.id===r)-o.findIndex(r=>s.id===r))},no=(o,e,i)=>{let s=Me(i),[r]=s.splice(o,1);s.splice(e,0,r),Be(s,i)},lo=o=>U(o)?o.series.findIndex(e=>e.type===f.BoxPlotSeries):-1;function Ae(o,e,i){let s=be(o,e,i),r=ce(o),n=L(o);return s===r||n}function de(o,e,i){let s=k(o,e,i),r=T(1,o),n=L(o);return s===r||n}function Le(o){let{config:e,layerInfo:i,newCategory:s}=o,{layerFieldsInfo:r}=i,n=B(e),t=s!==w?F(r,n):"",l=T(0,e),a=L(e);return t===l||a||l.trim()===""}var B=o=>A(o)?.x??w,Oe=$(o=>{let e=A(o),i=e?.query?.where?.split("=")[0].trim()??"";return re(e?.query?.where)?"":i},o=>A(o)?.query?.where),fe=$(o=>ne(o?.series).filter(e=>e!==""),o=>o?.series),V=o=>{let{category:e,seriesIndex:i,y:s,commonStrings:r}=o,n={..._(r,i),x:e===void 0||e===""?w:e,y:s,query:{}};return E(n)},Ce=o=>{let{category:e,seriesIndex:i,y:s,commonStrings:r}=o,n={...se({commonStrings:r,seriesIndex:i}),x:e===void 0||e===""?w:e,y:s,query:{}};return E(n)};function ge(o){let{x:e,y:i,seriesTemplate:s,commonStrings:r}=o,{id:n,fillSymbol:t}=s??{},l=_(r),a=n??`series_${Date.now()}`;return l.id=a,l.name=a,l.x=e,l.y=i,t?l.fillSymbol=t:l.fillSymbol&&(l.fillSymbol.color=G,l.fillSymbol?.outline&&(l.fillSymbol.outline.color=G)),l}function ue(o){let{numericFields:e,config:i,layerInfo:s,category:r,commonStrings:n}=o,{layerFieldsInfo:t}=s,l=[],a=r??B(i),y=!1;if(e.length===0){let c=V({y:"",seriesIndex:0,category:a,commonStrings:n});l.push(c)}else if(a===w){let c=e.length>1?e:e[0],b=V({y:c,seriesIndex:0,category:a,commonStrings:n}),v=e.length>1?n.axisLabels.values:F(s.layerFieldsInfo,e[0]),g={...b,id:e[0],name:v,x:a},m=i.series.find(S=>Z(c,S.y)&&S.query?.where===void 0);m!==void 0&&(!i.colorMatch&&"fillSymbol"in m&&(g.fillSymbol=m.fillSymbol,y=!0),g.id=m.id,g.name=m.name),l.push(g)}else for(let c=0;c<e.length;c+=1){let b=e[c],v=V({y:b,seriesIndex:c,category:a,commonStrings:n}),g=F(t,b),m={...v,id:b,name:g,x:a},S=i.series.find(h=>b===h.y);S!==void 0&&(!i.colorMatch&&"fillSymbol"in S&&(m.fillSymbol=S.fillSymbol,y=!0),m.id=S.id,m.name=S.name),l.push(m)}return i.series.length===1&&l.length===1&&!i.colorMatch&&"fillSymbol"in i.series[0]&&(l[0].fillSymbol=i.series[0].fillSymbol,y=!0),i.colorMatch=!y,l}var Se=o=>o?.query?.where?.split("=")[1].trim().replace(/'/gu,"")??"",ke=o=>o.series.some(e=>e.type===f.LineSeries)&&o.series.some(e=>e.type===f.BoxPlotSeries);function qe(o,e,i){let s=[];return o.forEach(r=>{if(r.type===f.BoxPlotSeries){let{type:n,fillSymbol:t,...l}=r;s.push({...l,type:f.LineSeries,lineSymbol:{...J({width:j}),...t!==void 0?{color:t.color}:{}},markerSymbol:{...W(),...t!==void 0?{color:t.color}:{}}})}}),s.unshift(ge({x:o[0].x,y:o[0].y,seriesTemplate:i,commonStrings:e})),s}function De(o){let e=o.slice(1),i=[];return e.forEach(s=>{if(s.type===f.LineSeries){let{type:r,lineSymbol:n,markerSymbol:t,...l}=s,a=D();i.push({...l,type:f.BoxPlotSeries,fillSymbol:{...a,color:n?.color}})}}),i}function pe(o){let{formerSeries:e,newSeries:i,showMean:s}=o,r=i,n=a=>a.type===(s?f.LineSeries:f.BoxPlotSeries),t=e.filter(n).map(a=>a.id),l=i.filter(n).map(a=>a.id);return t.length===l.length&&JSON.stringify(t)!==JSON.stringify(l)&&(r=r.sort((a,y)=>t.findIndex(c=>c===a.id)-t.findIndex(c=>c===y.id))),r}async function Te(o){let{config:e,layerInfo:i,commonStrings:s,splitByField:r,numericFields:n,category:t}=o,{layer:l,layerFieldsInfo:a}=i,{fetchNullValues:y}=A(e)?.query??{},c=t??B(e),{categoriesArray:b,splitByFieldType:v}=await ye({config:e,layer:l,layerFieldsInfo:a,xAxisField:z(c)?void 0:c,aggregationFields:n,splitByField:r,fetchNullValues:y}),g=[],m=!1,S=ke(e);if(b.length===0){g=ue({numericFields:n,category:c,config:e,layerInfo:i,commonStrings:s});for(let h of g)h.query&&(h.query.where=`${r}=''`)}else for(let h=0;h<b.length;h+=1){let M=b[h],q={y:n,seriesIndex:h,category:c,commonStrings:s},X=S?Ce(q):V(q),he={fieldName:r,fieldValueToMatch:M??"",subtypeInfo:H(i.layer),fieldList:i.layerFieldsInfo},we=K(he),N=`${M}`,I={...X,id:N,name:we??N,x:c===void 0||c===""?w:c,query:{...X.query,where:`${r}=${v===ee.String&&M!==null?`'${M}'`:M}`}},p=e.series.find(Ie=>Se(Ie)===N);p!==void 0&&(e.colorMatch||(I.type===f.BoxPlotSeries?O(p)?I.fillSymbol=p.fillSymbol:I.fillSymbol={...D(),color:p.lineSymbol?.color}:O(p)?(I.lineSymbol={...J({width:j}),...p.fillSymbol!==void 0?{color:p.fillSymbol.color}:{}},I.markerSymbol={...W(),...p.fillSymbol!==void 0?{color:p.fillSymbol.color}:{}}):(I.lineSymbol=p.lineSymbol,I.markerSymbol=p.markerSymbol),m=!0),I.id=p.id,I.name=p.name),g.push(I)}if(g=pe({formerSeries:e.series,newSeries:g,showMean:U(e)}),e.colorMatch=!m,U(e)){let h=e.series.find(q=>q.type===f.BoxPlotSeries),M=ge({x:c,y:n,seriesTemplate:h,commonStrings:s});g.unshift(M)}return g}var to=async o=>{let{splitByField:e,numericFields:i,category:s,config:r,layerInfo:n,commonStrings:t}=o,{layerFieldsInfo:l}=n,a=Ne(s,i,e),y=le(l),c=B(r),b=Ae(r,n,t),v=de(r,n,t),g=Le({config:r,layerInfo:n,newCategory:s}),m=R(r);if(!y.includes(c)&&y.includes(s)?m=ie():y.includes(c)&&!y.includes(s)&&(m=oe()),m!==void 0&&ae(r,t,m),Ve(a?{newShowMeanLines:r.showMean,config:r,commonStrings:t}:{newShowMeanLines:!1,config:r,commonStrings:t}),r.series=a?await Te({config:r,layerInfo:n,splitByField:e,numericFields:i,category:s,commonStrings:t}):ue({numericFields:i,config:r,layerInfo:n,category:s,commonStrings:t}),g){let S=z(s)?"":F(l,s);C(r,0,S)}if(v){let S=k(r,n,t);C(r,1,S)}r?.title!==void 0&&b&&(r.title.content.text=be(r,n,t)),Q({config:r,value:null,axisIndex:1,isMax:!1}),Q({config:r,value:null,axisIndex:1,isMax:!0})},Pe=o=>o?.standardizeValues??!1;function k(o,e,i){let{layerFieldsInfo:s}=e,r=Pe(o)?i.axisLabels.standardizedValues:i.axisLabels.values,n=o?.series?.map(t=>t.y).flat();return n=[...new Set(n)],n.length===1&&(r=F(s,n[0])),r}function be(o,e,i){let{layerFieldsInfo:s}=e,r=B(o),n=fe(o),t=Oe(o),l=n.map(c=>F(s??[],c)).join(", "),a=F(s??[],r),y="";return n.length>0&&(r!==w&&t!==""?y=P(i.titleLabels.distributionOfFieldsByCategoryAndSplitBy,{valueFields:l,category:a,splitByField:t}):r!==w?y=P(i.titleLabels.distributionOfFieldsByCategory,{valueFields:l,category:a}):t!==""?y=P(i.titleLabels.distributionOfFieldsByCategory,{valueFields:l,category:t}):y=P(i.titleLabels.distributionOfField,{valueField:l})),y}var ao=o=>{let{series:e,splitByField:i,layerInfo:s,commonStrings:r}=o,n=typeof e.y=="string"?F(s.layerFieldsInfo,e.y):r.axisLabels.values;Y(i)||(n=Se(e));let t={fieldName:i,fieldValueToMatch:n??"",subtypeInfo:H(s.layer),fieldList:s.layerFieldsInfo};return n=K(t)??n,n??e.id},co=o=>o?.showOutliers??!1,yo=o=>{let{newShowOutliers:e,config:i,layerInfo:s,commonStrings:r}=o;if(i.showOutliers=e,de(i,s,r)){let n=k(i,s,r);C(i,1,n)}},mo=o=>{let{newStandardizeValues:e,config:i,layerInfo:s,commonStrings:r}=o,n=T(1,i),t=k(i,s,r),l=L(i);if(i.standardizeValues=e,n===t||l){let a=k(i,s,r);C(i,1,a)}},xe=o=>{let e=d.xAxisAsc,i=o.orderOptions?.data?.orderType??u.Category,s=o.orderOptions?.data?.orderBy??x.Ascending;switch(i){case u.Category:e=Array.isArray(s)?d.customSort:s===x.Ascending?d.xAxisAsc:d.xAxisDesc;break;case u.Mean:e=s===x.Ascending?d.meanAsc:d.meanDesc;break;case u.Median:e=s===x.Ascending?d.medianAsc:d.medianDesc;break}return e},fo=(o,e,i)=>{let s=u.Category,r=x.Ascending;if(e.orderOptions=e.orderOptions??{},o===d.customSort&&i!==void 0)e.orderOptions.data={orderType:u.Category,orderBy:i};else{switch(o){case d.xAxisAsc:{s=u.Category,r=x.Ascending;break}case d.xAxisDesc:{s=u.Category,r=x.Descending;break}case d.meanAsc:{s=u.Mean,r=x.Ascending;break}case d.meanDesc:{s=u.Mean,r=x.Descending;break}case d.medianAsc:{s=u.Median,r=x.Ascending;break}case d.medianDesc:{s=u.Median,r=x.Descending;break}}e.orderOptions.data={orderType:s,orderBy:r}}},U=o=>o.showMean??!1,Ve=o=>{let{newShowMeanLines:e=!1,config:i,commonStrings:s,previousMeanLinesBoxColor:r}=o,n=e?r:Fe(i),t=(e??!1)!==(i.showMean??!1);if(i.showMean=e,t){let l;e?l=te(i.series)?qe(i.series,s):i.series:l=De(i.series),l&&(l=pe({formerSeries:i.series,newSeries:l,showMean:e}),i.series=l)}return e&&r!==void 0&&ve(r,i),{previousMeanLinesBoxColor:n}},go=o=>{let e=[],i=o.orderOptions?.data?.orderType;return xe(o)===d.customSort&&i===u.Category&&(e=o.orderOptions?.data?.orderBy),e},uo=(o,e)=>{e.orderOptions??={};let i=e.orderOptions?.data?.orderType;xe(e)===d.customSort&&i===u.Category&&(e.orderOptions.data={orderType:u.Category,orderBy:o})},So=async(o,e)=>{let i=B(o),s=R(o)?.type,r=fe(o),n=[];return s===f.CategoryAxisFormat&&(i===w?n=r:z(i)||(n=await me({layerInfo:e,config:o,category:i}))),n},z=o=>o.trim()===""||o===w,ze=(o,e)=>e.length>1&&!z(o),Ne=(o,e,i)=>!ze(o,e)&&i!=="";return{a:oo,b:io,c:so,d:Fe,e:ve,f:ro,g:Me,h:Be,i:no,j:lo,k:B,l:Oe,m:fe,n:to,o:Pe,p:k,q:be,r:ao,s:co,t:yo,u:mo,v:xe,w:fo,x:U,y:Ve,z:go,A:uo,B:So,C:ze,D:Ne}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b)
|
|
3
|
+
v4.34.0-next.165 */
|
|
4
|
+
import b from"./WBDHZT5D.js";import{h as O,n as te}from"./G3TWZPPR.js";import a from"./DHIZ7MVR.js";import{d as $,f as E,i as Y,j as Z,q as ee}from"./DSXVTWNV.js";import{b as d}from"./RVEAY6MZ.js";import{a as f,h as x,v as u}from"./HRJ3W2R6.js";export default $arcgis.t(([,,,,,,,{substitute:P},{B:w,Cc:L,Fa:G,L:J,M:oe,N:ie,Qa:F,U:D,V:W,aa:se,ea:_,ib:A,mb:re,pc:le,rc:H,sc:K,z:j,zb:ne},{M:T,b:C,e:Q,g:R,h:ae,ja:ye,na:me,q:ce}])=>{var oo=(o,e)=>e?.series?.[o]?.name,io=(o,e,i)=>{let s=i;s?.series?.[e]!==void 0&&(s.series[e].name=o)},so=(o,e)=>{let i,s=e.series?.[o];return s?.type===f.BoxPlotSeries?i=s.fillSymbol?.color:s?.type===f.LineSeries&&(i=s.lineSymbol?.color),i},Fe=o=>{let e=o.series[0];return o.showMean===!0&&O(e)?e.fillSymbol?.color:void 0},ve=(o,e)=>{let i=e.series[0];e.showMean===!0&&O(i)&&(i.fillSymbol!==void 0?i.fillSymbol.color=o:i.fillSymbol={...D(),color:o})},ro=(o,e,i)=>{let s=i?.series?.[e];s?.type===f.BoxPlotSeries&&s.fillSymbol!==void 0?s.fillSymbol.color=o:s?.type===f.LineSeries&&s.lineSymbol!==void 0&&(s.lineSymbol.color=o,s.markerSymbol!==void 0&&(s.markerSymbol.color=o))},Me=o=>o.series.map(e=>e.id),Be=(o,e)=>{e?.series?.sort((i,s)=>o.findIndex(r=>i.id===r)-o.findIndex(r=>s.id===r))},no=(o,e,i)=>{let s=Me(i),[r]=s.splice(o,1);s.splice(e,0,r),Be(s,i)},lo=o=>U(o)?o.series.findIndex(e=>e.type===f.BoxPlotSeries):-1;function Ae(o,e,i){let s=be(o,e,i),r=ce(o),n=L(o);return s===r||n}function de(o,e,i){let s=k(o,e,i),r=T(1,o),n=L(o);return s===r||n}function Le(o){let{config:e,layerInfo:i,newCategory:s}=o,{layerFieldsInfo:r}=i,n=B(e),t=s!==w?F(r,n):"",l=T(0,e),a=L(e);return t===l||a||l.trim()===""}var B=o=>A(o)?.x??w,Oe=$(o=>{let e=A(o),i=e?.query?.where?.split("=")[0].trim()??"";return re(e?.query?.where)?"":i},o=>A(o)?.query?.where),fe=$(o=>ne(o?.series).filter(e=>e!==""),o=>o?.series),V=o=>{let{category:e,seriesIndex:i,y:s,commonStrings:r}=o,n={..._(r,i),x:e===void 0||e===""?w:e,y:s,query:{}};return E(n)},Ce=o=>{let{category:e,seriesIndex:i,y:s,commonStrings:r}=o,n={...se({commonStrings:r,seriesIndex:i}),x:e===void 0||e===""?w:e,y:s,query:{}};return E(n)};function ge(o){let{x:e,y:i,seriesTemplate:s,commonStrings:r}=o,{id:n,fillSymbol:t}=s??{},l=_(r),a=n??`series_${Date.now()}`;return l.id=a,l.name=a,l.x=e,l.y=i,t?l.fillSymbol=t:l.fillSymbol&&(l.fillSymbol.color=G,l.fillSymbol?.outline&&(l.fillSymbol.outline.color=G)),l}function ue(o){let{numericFields:e,config:i,layerInfo:s,category:r,commonStrings:n}=o,{layerFieldsInfo:t}=s,l=[],a=r??B(i),y=!1;if(e.length===0){let c=V({y:"",seriesIndex:0,category:a,commonStrings:n});l.push(c)}else if(a===w){let c=e.length>1?e:e[0],b=V({y:c,seriesIndex:0,category:a,commonStrings:n}),v=e.length>1?n.axisLabels.values:F(s.layerFieldsInfo,e[0]),g={...b,id:e[0],name:v,x:a},m=i.series.find(S=>Z(c,S.y)&&S.query?.where===void 0);m!==void 0&&(!i.colorMatch&&"fillSymbol"in m&&(g.fillSymbol=m.fillSymbol,y=!0),g.id=m.id,g.name=m.name),l.push(g)}else for(let c=0;c<e.length;c+=1){let b=e[c],v=V({y:b,seriesIndex:c,category:a,commonStrings:n}),g=F(t,b),m={...v,id:b,name:g,x:a},S=i.series.find(h=>b===h.y);S!==void 0&&(!i.colorMatch&&"fillSymbol"in S&&(m.fillSymbol=S.fillSymbol,y=!0),m.id=S.id,m.name=S.name),l.push(m)}return i.series.length===1&&l.length===1&&!i.colorMatch&&"fillSymbol"in i.series[0]&&(l[0].fillSymbol=i.series[0].fillSymbol,y=!0),i.colorMatch=!y,l}var Se=o=>o?.query?.where?.split("=")[1].trim().replace(/'/gu,"")??"",ke=o=>o.series.some(e=>e.type===f.LineSeries)&&o.series.some(e=>e.type===f.BoxPlotSeries);function qe(o,e,i){let s=[];return o.forEach(r=>{if(r.type===f.BoxPlotSeries){let{type:n,fillSymbol:t,...l}=r;s.push({...l,type:f.LineSeries,lineSymbol:{...J({width:j}),...t!==void 0?{color:t.color}:{}},markerSymbol:{...W(),...t!==void 0?{color:t.color}:{}}})}}),s.unshift(ge({x:o[0].x,y:o[0].y,seriesTemplate:i,commonStrings:e})),s}function De(o){let e=o.slice(1),i=[];return e.forEach(s=>{if(s.type===f.LineSeries){let{type:r,lineSymbol:n,markerSymbol:t,...l}=s,a=D();i.push({...l,type:f.BoxPlotSeries,fillSymbol:{...a,color:n?.color}})}}),i}function pe(o){let{formerSeries:e,newSeries:i,showMean:s}=o,r=i,n=a=>a.type===(s?f.LineSeries:f.BoxPlotSeries),t=e.filter(n).map(a=>a.id),l=i.filter(n).map(a=>a.id);return t.length===l.length&&JSON.stringify(t)!==JSON.stringify(l)&&(r=r.sort((a,y)=>t.findIndex(c=>c===a.id)-t.findIndex(c=>c===y.id))),r}async function Te(o){let{config:e,layerInfo:i,commonStrings:s,splitByField:r,numericFields:n,category:t}=o,{layer:l,layerFieldsInfo:a}=i,{fetchNullValues:y}=A(e)?.query??{},c=t??B(e),{categoriesArray:b,splitByFieldType:v}=await ye({config:e,layer:l,layerFieldsInfo:a,xAxisField:z(c)?void 0:c,aggregationFields:n,splitByField:r,fetchNullValues:y}),g=[],m=!1,S=ke(e);if(b.length===0){g=ue({numericFields:n,category:c,config:e,layerInfo:i,commonStrings:s});for(let h of g)h.query&&(h.query.where=`${r}=''`)}else for(let h=0;h<b.length;h+=1){let M=b[h],q={y:n,seriesIndex:h,category:c,commonStrings:s},X=S?Ce(q):V(q),he={fieldName:r,fieldValueToMatch:M??"",subtypeInfo:H(i.layer),fieldList:i.layerFieldsInfo},we=K(he),N=`${M}`,I={...X,id:N,name:we??N,x:c===void 0||c===""?w:c,query:{...X.query,where:`${r}=${v===ee.String&&M!==null?`'${M}'`:M}`}},p=e.series.find(Ie=>Se(Ie)===N);p!==void 0&&(e.colorMatch||(I.type===f.BoxPlotSeries?O(p)?I.fillSymbol=p.fillSymbol:I.fillSymbol={...D(),color:p.lineSymbol?.color}:O(p)?(I.lineSymbol={...J({width:j}),...p.fillSymbol!==void 0?{color:p.fillSymbol.color}:{}},I.markerSymbol={...W(),...p.fillSymbol!==void 0?{color:p.fillSymbol.color}:{}}):(I.lineSymbol=p.lineSymbol,I.markerSymbol=p.markerSymbol),m=!0),I.id=p.id,I.name=p.name),g.push(I)}if(g=pe({formerSeries:e.series,newSeries:g,showMean:U(e)}),e.colorMatch=!m,U(e)){let h=e.series.find(q=>q.type===f.BoxPlotSeries),M=ge({x:c,y:n,seriesTemplate:h,commonStrings:s});g.unshift(M)}return g}var to=async o=>{let{splitByField:e,numericFields:i,category:s,config:r,layerInfo:n,commonStrings:t}=o,{layerFieldsInfo:l}=n,a=Ne(s,i,e),y=le(l),c=B(r),b=Ae(r,n,t),v=de(r,n,t),g=Le({config:r,layerInfo:n,newCategory:s}),m=R(r);if(!y.includes(c)&&y.includes(s)?m=ie():y.includes(c)&&!y.includes(s)&&(m=oe()),m!==void 0&&ae(r,t,m),Ve(a?{newShowMeanLines:r.showMean,config:r,commonStrings:t}:{newShowMeanLines:!1,config:r,commonStrings:t}),r.series=a?await Te({config:r,layerInfo:n,splitByField:e,numericFields:i,category:s,commonStrings:t}):ue({numericFields:i,config:r,layerInfo:n,category:s,commonStrings:t}),g){let S=z(s)?"":F(l,s);C(r,0,S)}if(v){let S=k(r,n,t);C(r,1,S)}r?.title!==void 0&&b&&(r.title.content.text=be(r,n,t)),Q({config:r,value:null,axisIndex:1,isMax:!1}),Q({config:r,value:null,axisIndex:1,isMax:!0})},Pe=o=>o?.standardizeValues??!1;function k(o,e,i){let{layerFieldsInfo:s}=e,r=Pe(o)?i.axisLabels.standardizedValues:i.axisLabels.values,n=o?.series?.map(t=>t.y).flat();return n=[...new Set(n)],n.length===1&&(r=F(s,n[0])),r}function be(o,e,i){let{layerFieldsInfo:s}=e,r=B(o),n=fe(o),t=Oe(o),l=n.map(c=>F(s??[],c)).join(", "),a=F(s??[],r),y="";return n.length>0&&(r!==w&&t!==""?y=P(i.titleLabels.distributionOfFieldsByCategoryAndSplitBy,{valueFields:l,category:a,splitByField:t}):r!==w?y=P(i.titleLabels.distributionOfFieldsByCategory,{valueFields:l,category:a}):t!==""?y=P(i.titleLabels.distributionOfFieldsByCategory,{valueFields:l,category:t}):y=P(i.titleLabels.distributionOfField,{valueField:l})),y}var ao=o=>{let{series:e,splitByField:i,layerInfo:s,commonStrings:r}=o,n=typeof e.y=="string"?F(s.layerFieldsInfo,e.y):r.axisLabels.values;Y(i)||(n=Se(e));let t={fieldName:i,fieldValueToMatch:n??"",subtypeInfo:H(s.layer),fieldList:s.layerFieldsInfo};return n=K(t)??n,n??e.id},co=o=>o?.showOutliers??!1,yo=o=>{let{newShowOutliers:e,config:i,layerInfo:s,commonStrings:r}=o;if(i.showOutliers=e,de(i,s,r)){let n=k(i,s,r);C(i,1,n)}},mo=o=>{let{newStandardizeValues:e,config:i,layerInfo:s,commonStrings:r}=o,n=T(1,i),t=k(i,s,r),l=L(i);if(i.standardizeValues=e,n===t||l){let a=k(i,s,r);C(i,1,a)}},xe=o=>{let e=d.xAxisAsc,i=o.orderOptions?.data?.orderType??u.Category,s=o.orderOptions?.data?.orderBy??x.Ascending;switch(i){case u.Category:e=Array.isArray(s)?d.customSort:s===x.Ascending?d.xAxisAsc:d.xAxisDesc;break;case u.Mean:e=s===x.Ascending?d.meanAsc:d.meanDesc;break;case u.Median:e=s===x.Ascending?d.medianAsc:d.medianDesc;break}return e},fo=(o,e,i)=>{let s=u.Category,r=x.Ascending;if(e.orderOptions=e.orderOptions??{},o===d.customSort&&i!==void 0)e.orderOptions.data={orderType:u.Category,orderBy:i};else{switch(o){case d.xAxisAsc:{s=u.Category,r=x.Ascending;break}case d.xAxisDesc:{s=u.Category,r=x.Descending;break}case d.meanAsc:{s=u.Mean,r=x.Ascending;break}case d.meanDesc:{s=u.Mean,r=x.Descending;break}case d.medianAsc:{s=u.Median,r=x.Ascending;break}case d.medianDesc:{s=u.Median,r=x.Descending;break}}e.orderOptions.data={orderType:s,orderBy:r}}},U=o=>o.showMean??!1,Ve=o=>{let{newShowMeanLines:e=!1,config:i,commonStrings:s,previousMeanLinesBoxColor:r}=o,n=e?r:Fe(i),t=(e??!1)!==(i.showMean??!1);if(i.showMean=e,t){let l;e?l=te(i.series)?qe(i.series,s):i.series:l=De(i.series),l&&(l=pe({formerSeries:i.series,newSeries:l,showMean:e}),i.series=l)}return e&&r!==void 0&&ve(r,i),{previousMeanLinesBoxColor:n}},go=o=>{let e=[],i=o.orderOptions?.data?.orderType;return xe(o)===d.customSort&&i===u.Category&&(e=o.orderOptions?.data?.orderBy),e},uo=(o,e)=>{e.orderOptions??={};let i=e.orderOptions?.data?.orderType;xe(e)===d.customSort&&i===u.Category&&(e.orderOptions.data={orderType:u.Category,orderBy:o})},So=async(o,e)=>{let i=B(o),s=R(o)?.type,r=fe(o),n=[];return s===f.CategoryAxisFormat&&(i===w?n=r:z(i)||(n=await me({layerInfo:e,config:o,category:i}))),n},z=o=>o.trim()===""||o===w,ze=(o,e)=>e.length>1&&!z(o),Ne=(o,e,i)=>!ze(o,e)&&i!=="";return{a:oo,b:io,c:so,d:Fe,e:ve,f:ro,g:Me,h:Be,i:no,j:lo,k:B,l:Oe,m:fe,n:to,o:Pe,p:k,q:be,r:ao,s:co,t:yo,u:mo,v:xe,w:fo,x:U,y:Ve,z:go,A:uo,B:So,C:ze,D:Ne}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as y}from"./QKP46EW2.js";import{a as P}from"./QEEPKBN6.js";import{a as p}from"./7IZX4LLV.js";import g from"./CMYYAOV7.js";import"./V2WPXIOV.js";import{a as b}from"./OJWWKKJS.js";import f from"./E7ZW6LB2.js";import e from"./6SOFICQV.js";import"./KIZLTTD7.js";import"./RWTVYMRB.js";import"./WICB6A5Q.js";import{g as d}from"./ASWRFSJ5.js";import{A as a,B as c,D as h,F as L,g as u,h as n,l as $,y as x}from"./YDETIOCO.js";import"./C33SHQN6.js";export default $arcgis.t(([,,,,,,,{Ha:g},,{r:I}])=>{var l={topSection:"top-section",sectionLabel:"section-label",list:"list",infoIcon:"info-icon"},N=u`: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}`,C=class extends x{constructor(){super(...arguments),this._messages=b(),this.resetSeriesOriginal=()=>{this.configSeriesOpen=!1,this.selectedSeriesIndex=void 0,this.model.resetSeriesStyling(),this.seriesOrderResetCounter+=1},this.onMultipleSeriesSelect=async e=>{if(!this.shouldDisableMeanLinesOption()){let i=e.target,t=i.value??i.parentElement.value??"";this.model.showMeanLines=t===d.MeanLines}},this.seriesNameChange=e=>{if(e.detail!==null||e.detail!==void 0){let i=e.detail?.name;this.model.setSeriesName(i,this.selectedSeriesIndex??-1)}},this.seriesColorChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{color:i}=e.detail;i!==void 0&&(this.meanLinesBoxColorIsSelected?this.model.meanLinesBoxColor=i:(this.model.colorMatch=!1,this.model.setSeriesColor(i,this.selectedSeriesIndex??-1)))}},this.seriesLineStyleChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{style:i}=e.detail;i!==void 0&&this.model.setSeriesLineStyle(i,this.selectedSeriesIndex??-1)}},this.seriesLineWidthChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{width:i}=e.detail;i!==void 0&&this.model.setSeriesLineWidth(i,this.selectedSeriesIndex??-1)}},this.onCalciteListOrderChange=e=>{let i=this.model.boxPlotSeriesIndexWhenMeanLinesShown;if(e.detail!==null&&e.detail!==void 0){let{newIndex:t,oldIndex:s}=e.detail,o=s,r=t;i!==-1&&(o=s>=i?s+1:s,r=t>=i?t+1:t),this.model.moveSeries(o,r),this.seriesOrderResetCounter+=1}},this.seriesPopoverClose=()=>{this.selectedSeriesIndex=void 0,this.meanLinesBoxColorIsSelected=!1,this.configSeriesOpen=!1,this.seriesPopover=p(this.seriesPopover)},this.openSeriesPopOver=e=>{e.stopImmediatePropagation(),this.removeSeriesPopover();let i=e.target,t=i.localName==="calcite-list-item"?i:i.parentNode,s=!this.configSeriesOpen,o=this.model.getSeriesIndex(t.value);if(o!==void 0&&o!==-1)this.configSeriesOpen=this.selectedSeriesIndex===o?s:!0,this.configSeriesOpen?this.selectedSeriesIndex=o:this.selectedSeriesIndex=void 0,this.meanLinesBoxColorIsSelected=!1;else if(t.value==="box-plot-color"){let r=!this.meanLinesBoxColorIsSelected;this.configSeriesOpen=r,this.meanLinesBoxColorIsSelected=r,this.selectedSeriesIndex=void 0}},this.createTooltip=(e,i)=>{let t=e.target;this.tooltip=h(n`<calcite-tooltip style=${c({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${t} open placement=top>${i??""}</calcite-tooltip>`),document.body.appendChild(this.tooltip)},this.destroyTooltip=()=>{I(this.tooltip)},this.onModelConfigChange=()=>{this.requestUpdate()},this.meanLinesBoxColorIsSelected=!1,this.seriesOrderResetCounter=0,this.configSeriesOpen=!1,this.activeColorMatch=!1,this.popoverPlacement="leading",this.arcgisChartsConfigPopoverOpenChange=$({composed:!0,cancelable:!0,bubbles:!0})}static{this.properties={selectedSeriesIndex:16,meanLinesBoxColorIsSelected:16,seriesOrderResetCounter:16,messageOverrides:0,model:0,configSeriesOpen:5,activeColorMatch:5,popoverPlacement:1}}static{this.styles=N}load(){this.modelChange(this.model),this.onModelConfigChange()}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("selectedSeriesIndex")&&this.selectedSeriesIndexChange(),e.has("meanLinesBoxColorIsSelected")&&this.meanLinesBoxColorIsSelectedChange()}disconnectedCallback(){super.disconnectedCallback(),this.removeSeriesPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,i){i?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}selectedSeriesIndexChange(){this.selectedSeriesIndex!==void 0&&this.configSeriesOpen?this.setupSeriesPopover():this.removeSeriesPopover()}meanLinesBoxColorIsSelectedChange(){this.meanLinesBoxColorIsSelected&&this.configSeriesOpen?this.setupSeriesPopover():this.removeSeriesPopover()}removeSeriesPopover(){this.seriesPopover!==null&&this.seriesPopover!==void 0&&(this.seriesPopover.open=!1,this.seriesPopover=p(this.seriesPopover))}buildSeriesListItems(){let e=this.model.seriesLength,i=this.model.boxPlotSeriesIndexWhenMeanLinesShown,t=Array.from({length:e},(s,o)=>o);return y(t,s=>this.model.getSeriesId(s),s=>{let o=this.model.getSeriesId(s),r=this.model.getSeriesColor(s),m=this.model.getSeriesName(s),S=this.model.chartSubType,M=S===g.BoxPlotMonoField||S===g.BoxPlotMultiFields?this._messages.series:o,v="#CCCCCC",f="minus-square";if((e>1||!this.activeColorMatch)&&r!==void 0){f=this.model.showMeanLines===!0?"line-solid":"square-f";let[B,O,w,E]=[...r];v=`rgba(${B},${O},${w},${E/255})`}return i!==s?n`<calcite-list-item .label=${m??o??""} .description=${M} .value=${o} .selected=${this.selectedSeriesIndex===s} @click=${this.openSeriesPopOver}><calcite-icon slot=content-end .icon=${f} style=${c({color:v})}></calcite-icon></calcite-list-item>`:null})}buildSeriesList(){return P(this.seriesOrderResetCounter,n`<calcite-list label class=${a(l.list)} drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildSeriesListItems()}</calcite-list>`)}setupSeriesPopover(){this.removeSeriesPopover(),this.meanLinesBoxColorIsSelected?this.seriesPopover=h(n`<arcgis-charts-config-box-plot-series-popover .referenceElement=${this.el} .selectedColor=${this.model.meanLinesBoxColor} .placement=${this.popoverPlacement} open .selectedSeriesIndex=${this.selectedSeriesIndex} .labelCanBeConfigured=${!this.meanLinesBoxColorIsSelected} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigSeriesPopoverLineStyleChange=${this.seriesLineStyleChange} @arcgisChartsConfigSeriesPopoverLineWidthChange=${this.seriesLineWidthChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-box-plot-series-popover>`):this.selectedSeriesIndex!==void 0&&(this.seriesPopover=h(n`<arcgis-charts-config-box-plot-series-popover .referenceElement=${this.el} .selectedName=${this.model.getSeriesName(this.selectedSeriesIndex)} .selectedColor=${this.model.getSeriesColor(this.selectedSeriesIndex)} .selectedLineStyle=${this.model.getSeriesLineStyle(this.selectedSeriesIndex)} .selectedLineWidth=${this.model.getSeriesLineWidth(this.selectedSeriesIndex)} .isLineSymbol=${this.model.showMeanLines} .placement=${this.popoverPlacement} open .selectedSeriesIndex=${this.selectedSeriesIndex} .labelCanBeConfigured=${!this.meanLinesBoxColorIsSelected} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigSeriesPopoverLineStyleChange=${this.seriesLineStyleChange} @arcgisChartsConfigSeriesPopoverLineWidthChange=${this.seriesLineWidthChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-box-plot-series-popover>`)),this.seriesPopover&&!document.body.contains(this.seriesPopover)&&document.body.appendChild(this.seriesPopover)}shouldDisableMeanLinesOption(){return this.model.splitByField===""||this.model.splitByField===void 0}renderMeanLinesBoxColorItem(){let e="#CCCCCC",i="minus-square",t=this.model.meanLinesBoxColor;if(t!==void 0){i="square-f";let[s,o,r,m]=[...t];e=`rgba(${s},${o},${r},${m/255})`}return n`<calcite-list label class=${a(l.list)}><calcite-list-item value=box-plot-color .label=${this._messages.boxPlotColor} .selected=${this.meanLinesBoxColorIsSelected} @click=${this.openSeriesPopOver}><calcite-icon slot=content-end .icon=${i} style=${c({color:e})}></calcite-icon></calcite-list-item></calcite-list>`}renderMultipleSeriesOption(){let e=this.shouldDisableMeanLinesOption();return e?[]:[n`<div class=${`${l.sectionLabel} ${l.topSection}`}>${this._messages.displayMultipleSeries}</div>`,n`<calcite-list label class=${a(l.list)} selection-mode=single-persist selection-appearance=border @click=${this.onMultipleSeriesSelect}><calcite-list-item .label=${this._messages.sideBySide} .value=${d.Side} .selected=${this.model.showMeanLines!==!0}><calcite-icon slot=content-start scale=l icon=graph-box-side-by-side></calcite-icon><calcite-icon class=${a(l.infoIcon)} slot=actions-end icon=information scale=s flip-rtl @mouseover=${i=>this.createTooltip(i,this._messages.sideBySideTooltip??"")} @mouseout=${this.destroyTooltip}></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.meanLines} .value=${d.MeanLines} .disabled=${e} .selected=${this.model.showMeanLines===!0}><calcite-icon slot=content-start scale=l icon=graph-box-mean-lines></calcite-icon><calcite-icon class=${a(l.infoIcon)} slot=actions-end icon=information scale=s flip-rtl @mouseover=${i=>this.createTooltip(i,this._messages.meanLinesTooltip??"")} @mouseout=${this.destroyTooltip}></calcite-icon></calcite-list-item></calcite-list>`,this.model.showMeanLines===!0?this.renderMeanLinesBoxColorItem():null]}render(){return n`${this.renderMultipleSeriesOption()}<div class=${a(l.sectionLabel)}>${this._messages.series}<calcite-button @click=${this.resetSeriesOriginal} .disabled=${!this.model.resetAvailable()} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${this.buildSeriesList()}`}};L("arcgis-charts-config-box-plot-series",C);return C},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",e,f,g)
|
|
3
|
+
v4.34.0-next.165 */
|
|
4
|
+
import{a as y}from"./HNKXEXII.js";import{a as P}from"./G65SGEMU.js";import{a as p}from"./TPQYCKHF.js";import g from"./3A5KFVJF.js";import"./3QBV6P7S.js";import{a as b}from"./EIOKO6R3.js";import f from"./KHF3AOSG.js";import e from"./DHIZ7MVR.js";import"./DSXVTWNV.js";import"./6FZW53HI.js";import"./RVEAY6MZ.js";import{g as d}from"./HRJ3W2R6.js";import{A as a,B as c,D as h,F as L,g as u,h as n,l as $,y as x}from"./SNAPOM6F.js";import"./O2BICH7F.js";export default $arcgis.t(([,,,,,,,{Ha:g},,{r:I}])=>{var l={topSection:"top-section",sectionLabel:"section-label",list:"list",infoIcon:"info-icon"},N=u`: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}`,C=class extends x{constructor(){super(...arguments),this._messages=b(),this.resetSeriesOriginal=()=>{this.configSeriesOpen=!1,this.selectedSeriesIndex=void 0,this.model.resetSeriesStyling(),this.seriesOrderResetCounter+=1},this.onMultipleSeriesSelect=async e=>{if(!this.shouldDisableMeanLinesOption()){let i=e.target,t=i.value??i.parentElement.value??"";this.model.showMeanLines=t===d.MeanLines}},this.seriesNameChange=e=>{if(e.detail!==null||e.detail!==void 0){let i=e.detail?.name;this.model.setSeriesName(i,this.selectedSeriesIndex??-1)}},this.seriesColorChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{color:i}=e.detail;i!==void 0&&(this.meanLinesBoxColorIsSelected?this.model.meanLinesBoxColor=i:(this.model.colorMatch=!1,this.model.setSeriesColor(i,this.selectedSeriesIndex??-1)))}},this.seriesLineStyleChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{style:i}=e.detail;i!==void 0&&this.model.setSeriesLineStyle(i,this.selectedSeriesIndex??-1)}},this.seriesLineWidthChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{width:i}=e.detail;i!==void 0&&this.model.setSeriesLineWidth(i,this.selectedSeriesIndex??-1)}},this.onCalciteListOrderChange=e=>{let i=this.model.boxPlotSeriesIndexWhenMeanLinesShown;if(e.detail!==null&&e.detail!==void 0){let{newIndex:t,oldIndex:s}=e.detail,o=s,r=t;i!==-1&&(o=s>=i?s+1:s,r=t>=i?t+1:t),this.model.moveSeries(o,r),this.seriesOrderResetCounter+=1}},this.seriesPopoverClose=()=>{this.selectedSeriesIndex=void 0,this.meanLinesBoxColorIsSelected=!1,this.configSeriesOpen=!1,this.seriesPopover=p(this.seriesPopover)},this.openSeriesPopOver=e=>{e.stopImmediatePropagation(),this.removeSeriesPopover();let i=e.target,t=i.localName==="calcite-list-item"?i:i.parentNode,s=!this.configSeriesOpen,o=this.model.getSeriesIndex(t.value);if(o!==void 0&&o!==-1)this.configSeriesOpen=this.selectedSeriesIndex===o?s:!0,this.configSeriesOpen?this.selectedSeriesIndex=o:this.selectedSeriesIndex=void 0,this.meanLinesBoxColorIsSelected=!1;else if(t.value==="box-plot-color"){let r=!this.meanLinesBoxColorIsSelected;this.configSeriesOpen=r,this.meanLinesBoxColorIsSelected=r,this.selectedSeriesIndex=void 0}},this.createTooltip=(e,i)=>{let t=e.target;this.tooltip=h(n`<calcite-tooltip style=${c({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${t} open placement=top>${i??""}</calcite-tooltip>`),document.body.appendChild(this.tooltip)},this.destroyTooltip=()=>{I(this.tooltip)},this.onModelConfigChange=()=>{this.requestUpdate()},this.meanLinesBoxColorIsSelected=!1,this.seriesOrderResetCounter=0,this.configSeriesOpen=!1,this.activeColorMatch=!1,this.popoverPlacement="leading",this.arcgisChartsConfigPopoverOpenChange=$({composed:!0,cancelable:!0,bubbles:!0})}static{this.properties={selectedSeriesIndex:16,meanLinesBoxColorIsSelected:16,seriesOrderResetCounter:16,messageOverrides:0,model:0,configSeriesOpen:5,activeColorMatch:5,popoverPlacement:1}}static{this.styles=N}load(){this.modelChange(this.model),this.onModelConfigChange()}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("selectedSeriesIndex")&&this.selectedSeriesIndexChange(),e.has("meanLinesBoxColorIsSelected")&&this.meanLinesBoxColorIsSelectedChange()}disconnectedCallback(){super.disconnectedCallback(),this.removeSeriesPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,i){i?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}selectedSeriesIndexChange(){this.selectedSeriesIndex!==void 0&&this.configSeriesOpen?this.setupSeriesPopover():this.removeSeriesPopover()}meanLinesBoxColorIsSelectedChange(){this.meanLinesBoxColorIsSelected&&this.configSeriesOpen?this.setupSeriesPopover():this.removeSeriesPopover()}removeSeriesPopover(){this.seriesPopover!==null&&this.seriesPopover!==void 0&&(this.seriesPopover.open=!1,this.seriesPopover=p(this.seriesPopover))}buildSeriesListItems(){let e=this.model.seriesLength,i=this.model.boxPlotSeriesIndexWhenMeanLinesShown,t=Array.from({length:e},(s,o)=>o);return y(t,s=>this.model.getSeriesId(s),s=>{let o=this.model.getSeriesId(s),r=this.model.getSeriesColor(s),m=this.model.getSeriesName(s),S=this.model.chartSubType,M=S===g.BoxPlotMonoField||S===g.BoxPlotMultiFields?this._messages.series:o,v="#CCCCCC",f="minus-square";if((e>1||!this.activeColorMatch)&&r!==void 0){f=this.model.showMeanLines===!0?"line-solid":"square-f";let[B,O,w,E]=[...r];v=`rgba(${B},${O},${w},${E/255})`}return i!==s?n`<calcite-list-item .label=${m??o??""} .description=${M} .value=${o} .selected=${this.selectedSeriesIndex===s} @click=${this.openSeriesPopOver}><calcite-icon slot=content-end .icon=${f} style=${c({color:v})}></calcite-icon></calcite-list-item>`:null})}buildSeriesList(){return P(this.seriesOrderResetCounter,n`<calcite-list label class=${a(l.list)} drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildSeriesListItems()}</calcite-list>`)}setupSeriesPopover(){this.removeSeriesPopover(),this.meanLinesBoxColorIsSelected?this.seriesPopover=h(n`<arcgis-charts-config-box-plot-series-popover .referenceElement=${this.el} .selectedColor=${this.model.meanLinesBoxColor} .placement=${this.popoverPlacement} open .selectedSeriesIndex=${this.selectedSeriesIndex} .labelCanBeConfigured=${!this.meanLinesBoxColorIsSelected} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigSeriesPopoverLineStyleChange=${this.seriesLineStyleChange} @arcgisChartsConfigSeriesPopoverLineWidthChange=${this.seriesLineWidthChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-box-plot-series-popover>`):this.selectedSeriesIndex!==void 0&&(this.seriesPopover=h(n`<arcgis-charts-config-box-plot-series-popover .referenceElement=${this.el} .selectedName=${this.model.getSeriesName(this.selectedSeriesIndex)} .selectedColor=${this.model.getSeriesColor(this.selectedSeriesIndex)} .selectedLineStyle=${this.model.getSeriesLineStyle(this.selectedSeriesIndex)} .selectedLineWidth=${this.model.getSeriesLineWidth(this.selectedSeriesIndex)} .isLineSymbol=${this.model.showMeanLines} .placement=${this.popoverPlacement} open .selectedSeriesIndex=${this.selectedSeriesIndex} .labelCanBeConfigured=${!this.meanLinesBoxColorIsSelected} @arcgisChartsConfigSeriesPopoverNameChange=${this.seriesNameChange} @arcgisChartsConfigSeriesPopoverColorChange=${this.seriesColorChange} @arcgisChartsConfigSeriesPopoverLineStyleChange=${this.seriesLineStyleChange} @arcgisChartsConfigSeriesPopoverLineWidthChange=${this.seriesLineWidthChange} @arcgisChartsConfigPopoverClose=${this.seriesPopoverClose}></arcgis-charts-config-box-plot-series-popover>`)),this.seriesPopover&&!document.body.contains(this.seriesPopover)&&document.body.appendChild(this.seriesPopover)}shouldDisableMeanLinesOption(){return this.model.splitByField===""||this.model.splitByField===void 0}renderMeanLinesBoxColorItem(){let e="#CCCCCC",i="minus-square",t=this.model.meanLinesBoxColor;if(t!==void 0){i="square-f";let[s,o,r,m]=[...t];e=`rgba(${s},${o},${r},${m/255})`}return n`<calcite-list label class=${a(l.list)}><calcite-list-item value=box-plot-color .label=${this._messages.boxPlotColor} .selected=${this.meanLinesBoxColorIsSelected} @click=${this.openSeriesPopOver}><calcite-icon slot=content-end .icon=${i} style=${c({color:e})}></calcite-icon></calcite-list-item></calcite-list>`}renderMultipleSeriesOption(){let e=this.shouldDisableMeanLinesOption();return e?[]:[n`<div class=${`${l.sectionLabel} ${l.topSection}`}>${this._messages.displayMultipleSeries}</div>`,n`<calcite-list label class=${a(l.list)} selection-mode=single-persist selection-appearance=border @click=${this.onMultipleSeriesSelect}><calcite-list-item .label=${this._messages.sideBySide} .value=${d.Side} .selected=${this.model.showMeanLines!==!0}><calcite-icon slot=content-start scale=l icon=graph-box-side-by-side></calcite-icon><calcite-icon class=${a(l.infoIcon)} slot=actions-end icon=information scale=s flip-rtl @mouseover=${i=>this.createTooltip(i,this._messages.sideBySideTooltip??"")} @mouseout=${this.destroyTooltip}></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.meanLines} .value=${d.MeanLines} .disabled=${e} .selected=${this.model.showMeanLines===!0}><calcite-icon slot=content-start scale=l icon=graph-box-mean-lines></calcite-icon><calcite-icon class=${a(l.infoIcon)} slot=actions-end icon=information scale=s flip-rtl @mouseover=${i=>this.createTooltip(i,this._messages.meanLinesTooltip??"")} @mouseout=${this.destroyTooltip}></calcite-icon></calcite-list-item></calcite-list>`,this.model.showMeanLines===!0?this.renderMeanLinesBoxColorItem():null]}render(){return n`${this.renderMultipleSeriesOption()}<div class=${a(l.sectionLabel)}>${this._messages.series}<calcite-button @click=${this.resetSeriesOriginal} .disabled=${!this.model.resetAvailable()} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${this.buildSeriesList()}`}};L("arcgis-charts-config-box-plot-series",C);return C},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",e,f,g)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as C}from"./
|
|
3
|
+
v4.34.0-next.165 */
|
|
4
|
+
import{a as C}from"./HNKXEXII.js";import{a as b}from"./G65SGEMU.js";import{b as S,c as T}from"./TPQYCKHF.js";import e from"./3A5KFVJF.js";import{h as a}from"./3QBV6P7S.js";import{a as f}from"./EIOKO6R3.js";import d from"./KHF3AOSG.js";import c from"./DHIZ7MVR.js";import{j as L,q as P}from"./DSXVTWNV.js";import"./6FZW53HI.js";import{c as r}from"./RVEAY6MZ.js";import"./HRJ3W2R6.js";import{A as o,F as y,g as v,h as s,l as h,w as g,x as p,y as $}from"./SNAPOM6F.js";import"./O2BICH7F.js";export default $arcgis.t(([,,,,,,,{Qa:F,mc:w,oc:I,ya:x},,{a:D,d:u,k:d,o:E}])=>{var l={jsAppFlyout:"js-app-flyout",name:"pie-chart-data-popover",numericFieldPickList:"pie-chart-data-numeric-fields-pick-list",header:"header",fab:"fab",pickListItemLabel:"pick-list-item-label",flipClass:"sort-counter-clockwise",panel:"panel"},A=v`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.pick-list-item-label{font-size:small}.sort-icon-color{color:#000}.sort-counter-clockwise{transform:scaleX(-1)}.panel{max-height:60vh}`,k=class extends ${constructor(){super(...arguments),this._messages=f(),this.commonStrings=f({name:"common",blocking:!0}),this.picklist=g(),this.popoverElement=g(),this.placement="leading",this.offsetDistance=-200,this.pickListHasChanged=!1,this.aggregationLabels=[],this.layerFieldsInfo=[],this.arcgisChartsConfigPieChartDataPopoverChange=h(),this.arcgisChartsConfigPopoverClose=h()}static{this.properties={aggregationLabels:16,messageOverrides:0,headingTitle:3,referenceElement:2,open:7,contentKind:1,layerFieldsInfo:0,selectedContent:1}}static{this.styles=A}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(e){e.has("selectedContent")&&this.selectedContentChange(this.selectedContent,e.get("selectedContent"));let t=u.map(i=>x(i,this.commonStrings));L(this.aggregationLabels,t)||(this.aggregationLabels=t)}updated(){S(this.popoverElement.value,this.open),setTimeout(async()=>{await this.picklist.value?.setFocus()},D.PopoverTimer)}selectedContentChange(e,t){this.pickListHasChanged=T(e,t)}buildAggregationPickListItems(){return C(u,e=>e,(e,t)=>s`<calcite-list-item .label=${this.aggregationLabels[t]} .value=${e} .selected=${d(e,this.selectedContent)}></calcite-list-item>`)}buildSortOrder(){let e=Object.keys(r);return e.splice(e.indexOf(r.customSort),1),C(e,t=>t,t=>{let i="string",c="rotate",n="";switch(t){case r.labelAsc:i="string";break;case r.labelDesc:i="string",n=l.flipClass;break;case r.valueAsc:i="number";break;case r.valueDesc:i="number",n=l.flipClass;break;case r.customSort:}return s`<calcite-list-item .selected=${this.selectedContent===t} .label=${this._messages[t]} .value=${r[t]}><calcite-icon slot=content-end .icon=${i}></calcite-icon><calcite-icon class=${o(n)} slot=content-end .icon=${c}></calcite-icon></calcite-list-item>`})}buildPickListItem(e){return b(e.name,s`<calcite-list-item .label=${F(this.layerFieldsInfo,e.name)} .value=${e.name} .selected=${d(e.name,this.selectedContent)}></calcite-list-item>`)}buildPickListItems(e){let t=this.layerFieldsInfo?.length??0,i=[];switch(e){case a.numericFields:{for(let c=0;c<t;c+=1){let n=this.layerFieldsInfo[c];w(n)&&i.push(this.buildPickListItem(n))}break}case a.category:{let c=b(" ",s`<calcite-list-item label=" " value=" " .selected=${d("",this.selectedContent)}></calcite-list-item>`);i.push(c);for(let n=0;n<t;n+=1){let m=this.layerFieldsInfo[n];(I(m)||m.type===P.String)&&i.push(this.buildPickListItem(m))}break}}return i}closePopover(){if(this.contentKind===a.numericFields&&this.pickListHasChanged){let e={pickListElement:this.picklist.value,eventEmitter:this.arcgisChartsConfigPieChartDataPopoverChange,contentKind:this.contentKind};E(e)}this.arcgisChartsConfigPopoverClose.emit()}onDataContentTypeChange(e){this.pickListHasChanged=!0;let t=e.target.selectedItems;this.arcgisChartsConfigPieChartDataPopoverChange.emit({contentKind:this.contentKind,value:t.map(i=>i.value)}),this.open=!1}onNumericFieldsChange(e){e.target!==null&&(this.selectedContent=e.target.selectedItems.map(t=>t.value))}onNumericFieldSelectionDone(){this.pickListHasChanged&&this.closePopover()}renderAggregationType(){let e=this.buildAggregationPickListItems();return s`<calcite-list label class=${o(l.pickListItemLabel)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderCategory(){let e=this.buildPickListItems(a.category);return s`<calcite-list label class=${o(l.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderNumericFields(){let e=this.buildPickListItems(a.numericFields);return s`<calcite-list label class=${o(l.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${p(this.picklist)}>${e}</calcite-list>`}renderSortOrder(){let e=this.buildSortOrder();return s`<calcite-list label selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderPopoverInfo(){let e;switch(this.contentKind){case a.aggregation:e=this.renderAggregationType();break;case a.category:e=this.renderCategory();break;case a.numericFields:e=this.renderNumericFields();break;case a.sortOrder:e=this.renderSortOrder();break}return e}render(){let e;return this.contentKind===a.numericFields&&(e=s`<div slot=footer><calcite-fab class=${o(l.fab)} appearance=outline-fill kind=neutral icon .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`),s`<div class=${o(l.jsAppFlyout)}><calcite-popover class=${o(l.name)} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .offsetDistance=${this.offsetDistance} .open=${this.open} label auto-close ${p(this.popoverElement)}><calcite-panel class=${o(l.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${o(l.header)}>${this.headingTitle??""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`}};y("arcgis-charts-config-pie-chart-popover",k);return k},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",c,d,e)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{k as s}from"./
|
|
3
|
+
v4.34.0-next.165 */
|
|
4
|
+
import{k as s}from"./G3TWZPPR.js";export default $arcgis.t(([])=>{var h=(i,e)=>s(e.series?.[i])?e.series?.[i].hideOversizedSideBySideLabels:void 0,z=(i,e,r)=>{s(r.series?.[e])&&(r.series[e].hideOversizedSideBySideLabels=i)},L=(i,e)=>s(e.series?.[i])?e.series?.[i].hideOversizedStackedLabels:void 0,O=(i,e,r)=>{s(r.series?.[e])&&(r.series[e].hideOversizedStackedLabels=i)};return{a:h,b:z,c:L,d:O}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v4.34.0-next.165 */
|
|
4
|
+
import"./O2BICH7F.js";var r={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u0E04.\u0E28.",_era_bc:"\u0E01\u0E48\u0E2D\u0E19 \u0E04.\u0E28.",A:"a",P:"p",AM:"\u0E01\u0E48\u0E2D\u0E19\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07",PM:"\u0E2B\u0E25\u0E31\u0E07\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07","A.M.":"\u0E01\u0E48\u0E2D\u0E19\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07","P.M.":"\u0E2B\u0E25\u0E31\u0E07\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07",January:"\u0E21\u0E01\u0E23\u0E32\u0E04\u0E21",February:"\u0E01\u0E38\u0E21\u0E20\u0E32\u0E1E\u0E31\u0E19\u0E18\u0E4C",March:"\u0E21\u0E35\u0E19\u0E32\u0E04\u0E21",April:"\u0E40\u0E21\u0E29\u0E32\u0E22\u0E19",May:"\u0E1E\u0E24\u0E29\u0E20\u0E32\u0E04\u0E21",June:"\u0E21\u0E34\u0E16\u0E38\u0E19\u0E32\u0E22\u0E19",July:"\u0E01\u0E23\u0E01\u0E0E\u0E32\u0E04\u0E21",August:"\u0E2A\u0E34\u0E07\u0E2B\u0E32\u0E04\u0E21",September:"\u0E01\u0E31\u0E19\u0E22\u0E32\u0E22\u0E19",October:"\u0E15\u0E38\u0E25\u0E32\u0E04\u0E21",November:"\u0E1E\u0E24\u0E28\u0E08\u0E34\u0E01\u0E32\u0E22\u0E19",December:"\u0E18\u0E31\u0E19\u0E27\u0E32\u0E04\u0E21",Jan:"\u0E21.\u0E04.",Feb:"\u0E01.\u0E1E.",Mar:"\u0E21\u0E35.\u0E04.",Apr:"\u0E40\u0E21.\u0E22.","May(short)":"\u0E1E.\u0E04.",Jun:"\u0E21\u0E34.\u0E22.",Jul:"\u0E01.\u0E04.",Aug:"\u0E2A.\u0E04.",Sep:"\u0E01.\u0E22.",Oct:"\u0E15.\u0E04.",Nov:"\u0E1E.\u0E22.",Dec:"\u0E18.\u0E04.",Sunday:"\u0E27\u0E31\u0E19\u0E2D\u0E32\u0E17\u0E34\u0E15\u0E22\u0E4C",Monday:"\u0E27\u0E31\u0E19\u0E08\u0E31\u0E19\u0E17\u0E23\u0E4C",Tuesday:"\u0E27\u0E31\u0E19\u0E2D\u0E31\u0E07\u0E04\u0E32\u0E23",Wednesday:"\u0E27\u0E31\u0E19\u0E1E\u0E38\u0E18",Thursday:"\u0E27\u0E31\u0E19\u0E1E\u0E24\u0E2B\u0E31\u0E2A\u0E1A\u0E14\u0E35",Friday:"\u0E27\u0E31\u0E19\u0E28\u0E38\u0E01\u0E23\u0E4C",Saturday:"\u0E27\u0E31\u0E19\u0E40\u0E2A\u0E32\u0E23\u0E4C",Sun:"\u0E2D\u0E32.",Mon:"\u0E08.",Tue:"\u0E2D.",Wed:"\u0E1E.",Thu:"\u0E1E\u0E24.",Fri:"\u0E28.",Sat:"\u0E2A.",_dateOrd:function(_){var e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u0E02\u0E22\u0E32\u0E22",Play:"\u0E40\u0E25\u0E48\u0E19",Stop:"\u0E2B\u0E22\u0E38\u0E14",Legend:"\u0E04\u0E33\u0E2D\u0E18\u0E34\u0E1A\u0E32\u0E22\u0E2A\u0E31\u0E0D\u0E25\u0E31\u0E01\u0E29\u0E13\u0E4C","Click, tap or press ENTER to toggle":"",Loading:"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14",Home:"\u0E2B\u0E19\u0E49\u0E32\u0E2B\u0E25\u0E31\u0E01",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0E1E\u0E34\u0E21\u0E1E\u0E4C",Image:"\u0E23\u0E39\u0E1B\u0E20\u0E32\u0E1E",Data:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25",Print:"\u0E1E\u0E34\u0E21\u0E1E\u0E4C","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u0E08\u0E32\u0E01 %1 \u0E16\u0E36\u0E07 %2","From %1":"\u0E08\u0E32\u0E01 %1","To %1":"\u0E16\u0E36\u0E07 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{r as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as C}from"./7IZX4LLV.js";import e from"./CMYYAOV7.js";import"./V2WPXIOV.js";import{a as I}from"./OJWWKKJS.js";import d from"./E7ZW6LB2.js";import{d as x,f as l}from"./TOW6JP2E.js";import c from"./6SOFICQV.js";import{a as E,b as L,f as a,h as M,i as f,r as D,w as u,x as G,y as j,z as O}from"./KIZLTTD7.js";import"./RWTVYMRB.js";import{g as y,h as z,j as m,k as h,m as S,n as T,q as p}from"./JBET35FH.js";import{f as i,g as r,h as X}from"./WICB6A5Q.js";import{a as n}from"./ASWRFSJ5.js";import{A as g,D as N,F as w,g as A,h as b,x as B,y as V}from"./YDETIOCO.js";import"./C33SHQN6.js";export default $arcgis.t(([,,,,,,,,,{e:R}])=>{var P={type:u.TS,color:[1,1,1,255],font:{family:"Tahoma",size:12,decoration:O.None,style:G.Normal,weight:j.Normal}},k={type:u.SLS,color:[1,1,1,255],style:D.Solid,width:2},v={element:"chart-element",elementList:"element-list",sectionLabel:"section-label"},W=A`:host{width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.element-list{margin:var(--arcgis-charts-config-margin-minor)}.element{user-select:none}`,F=class extends V{constructor(){super(...arguments),this._messages=I(),this.formatPopover=null,this.selectableElements=[],this.textProperties=[],this.symbolProperties=[],this.symbolPropertyChange=t=>{let e=t;e.stopImmediatePropagation();let s;if(e.target?.localName==="calcite-list-item"?s=e.target?.value:s=e.target?.parentNode?.value,this.selectedTexts=[],this.selectedBackground=[],this.selectedSymbols.includes(s))this.selectedSymbols=[],this.updateSelectedElement(this.selectedSymbols);else{let o=this.getFormatValue(s);this.selectedSymbols=[s],this.initSelectedSymbols(x(o)?o:k)}this.setupFormatPopover()},this.textPropertyChange=t=>{let e=t;e.stopImmediatePropagation();let s;if(e.target?.localName==="calcite-list-item"?s=e.target?.value:s=e.target?.parentNode?.value,this.selectedSymbols=[],this.selectedBackground=[],e.shiftKey){this.selectedTexts=[];let o=this.textProperties.indexOf(this.lastSelectedText??s),c=this.textProperties.indexOf(s);this.textProperties.forEach((d,$)=>{$>=Math.min(o,c)&&$<=Math.max(o,c)&&this.selectedTexts.push(d)}),this.updateSelectedElement(this.selectedTexts),this.setupFormatPopover()}else if(e.ctrlKey)this.selectedTexts.includes(s)?(this.selectedTexts=this.selectedTexts.filter(o=>o!==s),this.updateSelectedElement(this.selectedTexts)):(this.selectedTexts=[...this.selectedTexts,s],this.updateSelectedElement(this.selectedTexts)),this.setupFormatPopover();else if(this.selectedTexts.includes(s))this.selectedTexts=[],this.updateSelectedElement(this.selectedTexts),this.setupFormatPopover();else{let o=this.getFormatValue(s);this.selectedTexts=[s],this.initSelectedTexts(l(o)?o:P),this.setupFormatPopover()}this.lastSelectedText=s},this.backgroundChange=t=>{let e=t;e.stopImmediatePropagation();let s;e.target?.localName==="calcite-list-item"?s=e.target?.value:s=e.target?.parentNode?.value,this.selectedSymbols=[],this.selectedTexts=[],this.selectedBackground.includes(s)?(this.selectedBackground=[],this.selectedElement={}):(this.selectedBackground=[s],this.selectedElement=f(this.getFormatValue(s))?void 0:this.getFormatValue(s)),this.setupFormatPopover()},this.updateSymbolProps=t=>{let e=t.detail;this.selectedSymbols.forEach(s=>{this.setFormatValue(s,e)}),this.selectedElement=a(t.target.selectedElement)},this.updateBackground=t=>{this.setFormatValue(X.Background,t.detail),this.selectedElement=t.detail},this.updateTextProps=t=>{let{font:e,color:s}=t.detail;this.selectedTexts.forEach(o=>{let c=this.getFormatValue(o),d=l(c)?c:void 0;this.setFormatValue(o,{...d,type:u.TS,font:{...d?.font,...e},color:s??d?.color})}),this.selectedElement=a(t.target.selectedElement)},this.onModelConfigChange=()=>{this.requestUpdate()},this.formatPopoverClose=t=>{this.formatPopover===t?.target&&(this.selectedTexts=[],this.selectedSymbols=[],this.selectedBackground=[],this.selectedElement={},this.removeFormatPopover())},this.mergeFormatValues=(t,e)=>{let s=!1;E(t)&&E(e)||L(t)&&L(e)?s=!0:s=t===e;let o=typeof t=="number"||typeof e=="number"?Number.NaN:"";return s?void 0:o},this.updateSelectableElements=t=>{t&&!this.selectableElements.includes(t)&&this.selectableElements.push(t)},this.selectedSymbols=[],this.selectedTexts=[],this.selectedBackground=[]}static{this.properties={selectedSymbols:16,selectedTexts:16,selectedBackground:16,selectedElement:16,messageOverrides:0,model:0}}static{this.styles=W}load(){this.modelChange(this.model)}willUpdate(t){t.has("model")&&this.modelChange(this.model,t.get("model"))}disconnectedCallback(){super.disconnectedCallback(),this.removeFormatPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(t,e){e?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),t?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}correctTextElementSelection(){for(let t of this.selectableElements){let e=this.selectedTexts.includes(t.value)||this.selectedSymbols.includes(t.value)||this.selectedBackground.includes(t.value);t.selected=e}}updateSelectedElement(t,e){if(this.selectedElement=void 0,e===void 0){let s=a(this.getFormatValue(t[0]));this.selectedElement=t?.reduce((o,c)=>{let d=this.getFormatValue(c);return M(o,d,this.mergeFormatValues)},s)}else{let s=a(e);f(e)&&(this.selectedSymbols?.length>0&&(s=a(k)),this.selectedTexts?.length>0&&(s=a(P))),this.selectedElement=s}}initSelectedTexts(t){let e=a(t);f(t)&&(e=a(P)),this.selectedElement=e}initSelectedSymbols(t){let e=a(t);f(t)&&(e=a(k)),this.selectedElement=e}setupFormatPopover(){this.formatPopover=C(this.formatPopover);let t=this.selectedElement;t?.type===u.TS||t?.type===u.SLS||Array.isArray(this.selectedElement)?(this.formatPopover=N(b`<arcgis-charts-config-format-popover .selectedElement=${this.selectedElement} .referenceElement=${this.el} @arcgisChartsConfigFormatPopoverSymbolChange=${this.updateSymbolProps} @arcgisChartsConfigFormatPopoverTextChange=${this.updateTextProps} @arcgisChartsConfigFormatPopoverColorChange=${this.updateBackground} placement=auto @arcgisChartsConfigPopoverClose=${this.formatPopoverClose} open></arcgis-charts-config-format-popover>`),this.formatPopover!==null&&!document.body.contains(this.formatPopover)&&document.body.appendChild(this.formatPopover)):this.removeFormatPopover()}removeFormatPopover(){this.formatPopover!==null&&(this.formatPopover.open=!1,this.formatPopover=C(this.formatPopover))}getFormatValue(t){switch(t){case i.Title:return this.model.titleSymbol;case i.Description:return this.model.descriptionSymbol;case i.XAxisTitle:return m(this.model)?this.model.xAxisTitleSymbol:void 0;case i.YAxisTitle:return h(this.model)?this.model.getAxisTitleSymbol(1):void 0;case i.AxisLabels:return m(this.model)?this.model.axisLabelsSymbol:void 0;case i.GuideLabels:return T(this.model)?this.model.guideLabelsSymbol:void 0;case i.LegendText:return p(this.model)?this.model.legendTextSymbol:void 0;case i.LegendTitle:return p(this.model)?this.model.legendTitleSymbol:void 0;case i.DataLabels:return S(this.model)?this.model.dataLabelsSymbol:void 0;case r.AxisLines:return m(this.model)?this.model.axisLinesSymbol:void 0;case r.GridLines:return h(this.model)?this.model.getGridLinesSymbol():void 0;case r.LeaderLines:return y(this.model)?this.model.ticksSymbol:void 0;case i.Background:return this.model.backgroundColor;default:return}}setFormatValue(t,e){switch(t){case i.Title:l(e)&&(this.model.titleSymbol=e);break;case i.Description:l(e)&&(this.model.descriptionSymbol=e);break;case i.XAxisTitle:m(this.model)&&l(e)&&(this.model.xAxisTitleSymbol=e);break;case i.YAxisTitle:h(this.model)&&l(e)&&this.model.setAxisTitleSymbol(e,1);break;case i.AxisLabels:m(this.model)&&l(e)&&(this.model.axisLabelsSymbol=e);break;case i.GuideLabels:T(this.model)&&l(e)&&(this.model.guideLabelsSymbol=e);break;case i.LegendText:p(this.model)&&l(e)&&(this.model.legendTextSymbol=e);break;case i.LegendTitle:p(this.model)&&l(e)&&(this.model.legendTitleSymbol=e);break;case i.DataLabels:S(this.model)&&l(e)&&(this.model.dataLabelsSymbol=e);break;case r.AxisLines:m(this.model)&&x(e)&&(this.model.axisLinesSymbol=e);break;case r.GridLines:if(h(this.model)&&x(e)){let s=this.model.chartType,o=[];switch(s){case n.BarSeries:case n.LineSeries:case n.ComboLineAndBarSeries:case n.HistogramSeries:case n.BoxPlotSeries:case n.RadarSeries:{o=[1];break}case n.ScatterSeries:{o=[0,1];break}}this.model.setGridLinesSymbol(e,o)}break;case r.LeaderLines:y(this.model)&&x(e)&&(this.model.ticksSymbol=e);break;case i.Background:Array.isArray(e)&&(this.model.backgroundColor=e);break}}renderFormatElements(){this.textProperties=[i.Title,...m(this.model)?[i.XAxisTitle]:[],...h(this.model)?[i.YAxisTitle]:[],...p(this.model)?[i.LegendTitle]:[],i.Description,...p(this.model)?[i.LegendText]:[],...m(this.model)?[i.AxisLabels]:[],...T(this.model)?[i.GuideLabels]:[],...S(this.model)?[i.DataLabels]:[]],z(this.model)&&(this.textProperties=this.textProperties.filter(s=>s!==i.DataLabels)),this.symbolProperties=[i.Background,...m(this.model)?[r.AxisLines]:[],...h(this.model)?[r.GridLines]:[],...y(this.model)?[r.LeaderLines]:[]];let t=this.textProperties.map(s=>this.renderTextElement(s,this.textPropertyChange)),e=this.symbolProperties.map(s=>s===i.Background?this.renderTextElement(s,this.backgroundChange):this.renderTextElement(s,this.symbolPropertyChange));return{textElements:t,symbolElements:e}}renderTextElement(t,e){let s=R(t),o=this.getFormatValue(t),c=typeof o=="string"?o:"",d=this.selectedTexts.includes(t)||this.selectedSymbols.includes(t)||this.selectedBackground.includes(t);return b`<calcite-list-item class=${g(v.element)} .label=${this._messages[t]} .description=${c} .value=${t} .selected=${d} @click=${e} ${B(this.updateSelectableElements)}>${s!==void 0?b`<calcite-icon slot=content-start scale=s .icon=${s}></calcite-icon>`:null}</calcite-list-item>`}render(){let{textElements:t,symbolElements:e}=this.renderFormatElements();return b`<div class=${g(v.sectionLabel)}>${this._messages.textElements}</div><calcite-list label class=${g(v.elementList)} selection-mode=multiple selection-appearance=border @calciteListChange=${this.correctTextElementSelection}>${t}</calcite-list><div class=${g(v.sectionLabel)}>${this._messages.symbolElements}</div><calcite-list label class=${g(v.elementList)} selection-mode=single selection-appearance=border>${e}</calcite-list>`}};w("arcgis-charts-config-format",F);return F},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",c,d,e)
|
|
3
|
+
v4.34.0-next.165 */
|
|
4
|
+
import{a as C}from"./TPQYCKHF.js";import e from"./3A5KFVJF.js";import"./3QBV6P7S.js";import{a as I}from"./EIOKO6R3.js";import d from"./KHF3AOSG.js";import{d as x,f as l}from"./G3TWZPPR.js";import c from"./DHIZ7MVR.js";import{a as E,b as L,f as a,h as M,i as f,r as D,w as u,x as G,y as j,z as O}from"./DSXVTWNV.js";import"./6FZW53HI.js";import{g as y,h as z,j as m,k as h,m as S,n as T,q as p}from"./QAAFQKBC.js";import{f as i,g as r,h as X}from"./RVEAY6MZ.js";import{a as n}from"./HRJ3W2R6.js";import{A as g,D as N,F as w,g as A,h as b,x as B,y as V}from"./SNAPOM6F.js";import"./O2BICH7F.js";export default $arcgis.t(([,,,,,,,,,{e:R}])=>{var P={type:u.TS,color:[1,1,1,255],font:{family:"Tahoma",size:12,decoration:O.None,style:G.Normal,weight:j.Normal}},k={type:u.SLS,color:[1,1,1,255],style:D.Solid,width:2},v={element:"chart-element",elementList:"element-list",sectionLabel:"section-label"},W=A`:host{width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.element-list{margin:var(--arcgis-charts-config-margin-minor)}.element{user-select:none}`,F=class extends V{constructor(){super(...arguments),this._messages=I(),this.formatPopover=null,this.selectableElements=[],this.textProperties=[],this.symbolProperties=[],this.symbolPropertyChange=t=>{let e=t;e.stopImmediatePropagation();let s;if(e.target?.localName==="calcite-list-item"?s=e.target?.value:s=e.target?.parentNode?.value,this.selectedTexts=[],this.selectedBackground=[],this.selectedSymbols.includes(s))this.selectedSymbols=[],this.updateSelectedElement(this.selectedSymbols);else{let o=this.getFormatValue(s);this.selectedSymbols=[s],this.initSelectedSymbols(x(o)?o:k)}this.setupFormatPopover()},this.textPropertyChange=t=>{let e=t;e.stopImmediatePropagation();let s;if(e.target?.localName==="calcite-list-item"?s=e.target?.value:s=e.target?.parentNode?.value,this.selectedSymbols=[],this.selectedBackground=[],e.shiftKey){this.selectedTexts=[];let o=this.textProperties.indexOf(this.lastSelectedText??s),c=this.textProperties.indexOf(s);this.textProperties.forEach((d,$)=>{$>=Math.min(o,c)&&$<=Math.max(o,c)&&this.selectedTexts.push(d)}),this.updateSelectedElement(this.selectedTexts),this.setupFormatPopover()}else if(e.ctrlKey)this.selectedTexts.includes(s)?(this.selectedTexts=this.selectedTexts.filter(o=>o!==s),this.updateSelectedElement(this.selectedTexts)):(this.selectedTexts=[...this.selectedTexts,s],this.updateSelectedElement(this.selectedTexts)),this.setupFormatPopover();else if(this.selectedTexts.includes(s))this.selectedTexts=[],this.updateSelectedElement(this.selectedTexts),this.setupFormatPopover();else{let o=this.getFormatValue(s);this.selectedTexts=[s],this.initSelectedTexts(l(o)?o:P),this.setupFormatPopover()}this.lastSelectedText=s},this.backgroundChange=t=>{let e=t;e.stopImmediatePropagation();let s;e.target?.localName==="calcite-list-item"?s=e.target?.value:s=e.target?.parentNode?.value,this.selectedSymbols=[],this.selectedTexts=[],this.selectedBackground.includes(s)?(this.selectedBackground=[],this.selectedElement={}):(this.selectedBackground=[s],this.selectedElement=f(this.getFormatValue(s))?void 0:this.getFormatValue(s)),this.setupFormatPopover()},this.updateSymbolProps=t=>{let e=t.detail;this.selectedSymbols.forEach(s=>{this.setFormatValue(s,e)}),this.selectedElement=a(t.target.selectedElement)},this.updateBackground=t=>{this.setFormatValue(X.Background,t.detail),this.selectedElement=t.detail},this.updateTextProps=t=>{let{font:e,color:s}=t.detail;this.selectedTexts.forEach(o=>{let c=this.getFormatValue(o),d=l(c)?c:void 0;this.setFormatValue(o,{...d,type:u.TS,font:{...d?.font,...e},color:s??d?.color})}),this.selectedElement=a(t.target.selectedElement)},this.onModelConfigChange=()=>{this.requestUpdate()},this.formatPopoverClose=t=>{this.formatPopover===t?.target&&(this.selectedTexts=[],this.selectedSymbols=[],this.selectedBackground=[],this.selectedElement={},this.removeFormatPopover())},this.mergeFormatValues=(t,e)=>{let s=!1;E(t)&&E(e)||L(t)&&L(e)?s=!0:s=t===e;let o=typeof t=="number"||typeof e=="number"?Number.NaN:"";return s?void 0:o},this.updateSelectableElements=t=>{t&&!this.selectableElements.includes(t)&&this.selectableElements.push(t)},this.selectedSymbols=[],this.selectedTexts=[],this.selectedBackground=[]}static{this.properties={selectedSymbols:16,selectedTexts:16,selectedBackground:16,selectedElement:16,messageOverrides:0,model:0}}static{this.styles=W}load(){this.modelChange(this.model)}willUpdate(t){t.has("model")&&this.modelChange(this.model,t.get("model"))}disconnectedCallback(){super.disconnectedCallback(),this.removeFormatPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(t,e){e?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),t?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}correctTextElementSelection(){for(let t of this.selectableElements){let e=this.selectedTexts.includes(t.value)||this.selectedSymbols.includes(t.value)||this.selectedBackground.includes(t.value);t.selected=e}}updateSelectedElement(t,e){if(this.selectedElement=void 0,e===void 0){let s=a(this.getFormatValue(t[0]));this.selectedElement=t?.reduce((o,c)=>{let d=this.getFormatValue(c);return M(o,d,this.mergeFormatValues)},s)}else{let s=a(e);f(e)&&(this.selectedSymbols?.length>0&&(s=a(k)),this.selectedTexts?.length>0&&(s=a(P))),this.selectedElement=s}}initSelectedTexts(t){let e=a(t);f(t)&&(e=a(P)),this.selectedElement=e}initSelectedSymbols(t){let e=a(t);f(t)&&(e=a(k)),this.selectedElement=e}setupFormatPopover(){this.formatPopover=C(this.formatPopover);let t=this.selectedElement;t?.type===u.TS||t?.type===u.SLS||Array.isArray(this.selectedElement)?(this.formatPopover=N(b`<arcgis-charts-config-format-popover .selectedElement=${this.selectedElement} .referenceElement=${this.el} @arcgisChartsConfigFormatPopoverSymbolChange=${this.updateSymbolProps} @arcgisChartsConfigFormatPopoverTextChange=${this.updateTextProps} @arcgisChartsConfigFormatPopoverColorChange=${this.updateBackground} placement=auto @arcgisChartsConfigPopoverClose=${this.formatPopoverClose} open></arcgis-charts-config-format-popover>`),this.formatPopover!==null&&!document.body.contains(this.formatPopover)&&document.body.appendChild(this.formatPopover)):this.removeFormatPopover()}removeFormatPopover(){this.formatPopover!==null&&(this.formatPopover.open=!1,this.formatPopover=C(this.formatPopover))}getFormatValue(t){switch(t){case i.Title:return this.model.titleSymbol;case i.Description:return this.model.descriptionSymbol;case i.XAxisTitle:return m(this.model)?this.model.xAxisTitleSymbol:void 0;case i.YAxisTitle:return h(this.model)?this.model.getAxisTitleSymbol(1):void 0;case i.AxisLabels:return m(this.model)?this.model.axisLabelsSymbol:void 0;case i.GuideLabels:return T(this.model)?this.model.guideLabelsSymbol:void 0;case i.LegendText:return p(this.model)?this.model.legendTextSymbol:void 0;case i.LegendTitle:return p(this.model)?this.model.legendTitleSymbol:void 0;case i.DataLabels:return S(this.model)?this.model.dataLabelsSymbol:void 0;case r.AxisLines:return m(this.model)?this.model.axisLinesSymbol:void 0;case r.GridLines:return h(this.model)?this.model.getGridLinesSymbol():void 0;case r.LeaderLines:return y(this.model)?this.model.ticksSymbol:void 0;case i.Background:return this.model.backgroundColor;default:return}}setFormatValue(t,e){switch(t){case i.Title:l(e)&&(this.model.titleSymbol=e);break;case i.Description:l(e)&&(this.model.descriptionSymbol=e);break;case i.XAxisTitle:m(this.model)&&l(e)&&(this.model.xAxisTitleSymbol=e);break;case i.YAxisTitle:h(this.model)&&l(e)&&this.model.setAxisTitleSymbol(e,1);break;case i.AxisLabels:m(this.model)&&l(e)&&(this.model.axisLabelsSymbol=e);break;case i.GuideLabels:T(this.model)&&l(e)&&(this.model.guideLabelsSymbol=e);break;case i.LegendText:p(this.model)&&l(e)&&(this.model.legendTextSymbol=e);break;case i.LegendTitle:p(this.model)&&l(e)&&(this.model.legendTitleSymbol=e);break;case i.DataLabels:S(this.model)&&l(e)&&(this.model.dataLabelsSymbol=e);break;case r.AxisLines:m(this.model)&&x(e)&&(this.model.axisLinesSymbol=e);break;case r.GridLines:if(h(this.model)&&x(e)){let s=this.model.chartType,o=[];switch(s){case n.BarSeries:case n.LineSeries:case n.ComboLineAndBarSeries:case n.HistogramSeries:case n.BoxPlotSeries:case n.RadarSeries:{o=[1];break}case n.ScatterSeries:{o=[0,1];break}}this.model.setGridLinesSymbol(e,o)}break;case r.LeaderLines:y(this.model)&&x(e)&&(this.model.ticksSymbol=e);break;case i.Background:Array.isArray(e)&&(this.model.backgroundColor=e);break}}renderFormatElements(){this.textProperties=[i.Title,...m(this.model)?[i.XAxisTitle]:[],...h(this.model)?[i.YAxisTitle]:[],...p(this.model)?[i.LegendTitle]:[],i.Description,...p(this.model)?[i.LegendText]:[],...m(this.model)?[i.AxisLabels]:[],...T(this.model)?[i.GuideLabels]:[],...S(this.model)?[i.DataLabels]:[]],z(this.model)&&(this.textProperties=this.textProperties.filter(s=>s!==i.DataLabels)),this.symbolProperties=[i.Background,...m(this.model)?[r.AxisLines]:[],...h(this.model)?[r.GridLines]:[],...y(this.model)?[r.LeaderLines]:[]];let t=this.textProperties.map(s=>this.renderTextElement(s,this.textPropertyChange)),e=this.symbolProperties.map(s=>s===i.Background?this.renderTextElement(s,this.backgroundChange):this.renderTextElement(s,this.symbolPropertyChange));return{textElements:t,symbolElements:e}}renderTextElement(t,e){let s=R(t),o=this.getFormatValue(t),c=typeof o=="string"?o:"",d=this.selectedTexts.includes(t)||this.selectedSymbols.includes(t)||this.selectedBackground.includes(t);return b`<calcite-list-item class=${g(v.element)} .label=${this._messages[t]} .description=${c} .value=${t} .selected=${d} @click=${e} ${B(this.updateSelectableElements)}>${s!==void 0?b`<calcite-icon slot=content-start scale=s .icon=${s}></calcite-icon>`:null}</calcite-list-item>`}render(){let{textElements:t,symbolElements:e}=this.renderFormatElements();return b`<div class=${g(v.sectionLabel)}>${this._messages.textElements}</div><calcite-list label class=${g(v.elementList)} selection-mode=multiple selection-appearance=border @calciteListChange=${this.correctTextElementSelection}>${t}</calcite-list><div class=${g(v.sectionLabel)}>${this._messages.symbolElements}</div><calcite-list label class=${g(v.elementList)} selection-mode=single selection-appearance=border>${e}</calcite-list>`}};w("arcgis-charts-config-format",F);return F},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",c,d,e)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as B}from"./
|
|
3
|
+
v4.34.0-next.165 */
|
|
4
|
+
import{a as B}from"./HNKXEXII.js";import{a as u}from"./G65SGEMU.js";import{b as E,c as T}from"./TPQYCKHF.js";import h from"./3A5KFVJF.js";import{k as a}from"./3QBV6P7S.js";import{a as I}from"./EIOKO6R3.js";import e from"./KHF3AOSG.js";import d from"./DHIZ7MVR.js";import{q as b}from"./DSXVTWNV.js";import"./6FZW53HI.js";import{b as r}from"./RVEAY6MZ.js";import"./HRJ3W2R6.js";import{A as c,B as $,D as x,F as P,g as y,h as l,l as f,w as g,x as p,y as v}from"./SNAPOM6F.js";import"./O2BICH7F.js";export default $arcgis.t(([,,,,,,,{substitute:z},{Qa:L,mc:F,oc:C},{g:w},{a:m,k:h,o:D,r:S}])=>{var o={jsAppFlyout:"js-app-flyout",name:"bar-chart-data-popover",numericFieldPickList:"bar-chart-data-numeric-fields-pick-list",header:"header",fab:"fab",pickListItemLabel:"pick-list-item-label",sortMean:"sort-mean",sortMedian:"sort-median",sortOrderPickList:"sort-order-pick-list",panel:"panel"},O=y`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.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}`,k=class extends v{constructor(){super(...arguments),this._messages=I(),this.picklist=g(),this.placement="leading",this.popoverElement=g(),this.offsetDistance=-200,this.pickListHasChanged=!1,this.layerFieldsInfo=[],this.isCustomSortDisabled=!1,this.arcgisChartsConfigBoxPlotDataPopoverChange=f(),this.arcgisChartsConfigPopoverClose=f()}static{this.properties={messageOverrides:0,headingTitle:3,referenceElement:2,open:7,contentKind:1,layerFieldsInfo:0,isCustomSortDisabled:5,selectedContent:1}}static{this.styles=O}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(e){e.has("selectedContent")&&this.selectedContentChange(this.selectedContent,e.get("selectedContent"))}async updated(){setTimeout(async()=>{typeof this.picklist.value?.setFocus=="function"&&await this.picklist.value?.setFocus()},m.PopoverTimer),E(this.popoverElement.value,this.open),this.hasUpdated||setTimeout(()=>{this.popoverElement.value?.reposition()},m.PopoverTimer)}selectedContentChange(e,t){this.pickListHasChanged=T(e,t)}closePopover(){if(this.contentKind===a.numericFields&&this.pickListHasChanged){let e={pickListElement:this.picklist.value,eventEmitter:this.arcgisChartsConfigBoxPlotDataPopoverChange,contentKind:this.contentKind};D(e)}this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}async onDataContentTypeChange(e){this.pickListHasChanged=!0;let t=e.target.selectedItems;this.arcgisChartsConfigBoxPlotDataPopoverChange.emit({contentKind:this.contentKind,value:t.map(i=>i.value)}),this.open=!1}buildPickListItem(e){return u(e.name,l`<calcite-list-item .label=${L(this.layerFieldsInfo,e.name)} .value=${e.name} .selected=${h(e.name,this.selectedContent)}></calcite-list-item>`)}buildPickListItems(e){let t=this.layerFieldsInfo?.length??0,i=[];switch(e){case a.numericFields:{for(let s=0;s<t;s+=1){let n=this.layerFieldsInfo[s];F(n)&&i.push(this.buildPickListItem(n))}break}case a.category:{let s=u(" ",l`<calcite-list-item label=" " value=" " .selected=${h("",this.selectedContent)}></calcite-list-item>`);i.push(s);for(let n=0;n<t;n+=1){let d=this.layerFieldsInfo[n];(C(d)||d.type===b.String)&&i.push(this.buildPickListItem(d))}break}case a.splitByField:{let s=u(" ",l`<calcite-list-item label=" " value=" " .selected=${h("",this.selectedContent)}></calcite-list-item>`);i.push(s);for(let n=0;n<t;n+=1){let d=this.layerFieldsInfo[n];(C(d)||d.type===b.String)&&i.push(this.buildPickListItem(d))}break}}return i}onNumericFieldsChange(e){e.target!==null&&(this.selectedContent=e.target.selectedItems.map(t=>t.value))}buildSortOrder(){let e=Object.keys(r),t;return B(e,i=>i,i=>{let s="";switch(i){case r.xAxisAsc:{t="a-z-down";break}case r.xAxisDesc:{t="a-z-up";break}case r.meanAsc:t="sort-descending",s=o.sortMean;break;case r.meanDesc:{t="sort-ascending",s=o.sortMean;break}case r.medianAsc:{t="sort-descending",s=o.sortMedian;break}case r.medianDesc:{t="sort-ascending",s=o.sortMedian;break}case r.customSort:{t="arrow-up-down";break}}return l`<calcite-list-item .disabled=${this.isCustomSortDisabled&&i===r.customSort} .label=${this._messages[i]} .selected=${this.selectedContent===i} .value=${r[i]} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}><calcite-icon class=${`sort-icon-color ${s}`} slot=content-start .icon=${t}></calcite-icon></calcite-list-item>`})}async onNumericFieldSelectionDone(){this.pickListHasChanged&&this.closePopover()}createTooltip(e){if(e.target?.label===this._messages.customSort&&this.isCustomSortDisabled){let t=e.target,i=w(t),s=new Intl.NumberFormat(i).format(m.customSortLimit),n=z(this._messages.customSortLimit??"",{totalLimit:s});this.tooltip=x(l`<calcite-tooltip style=${$({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${t} open placement=top>${n}</calcite-tooltip>`),document.body.appendChild(this.tooltip)}}destroyTooltip(){S(this.tooltip)}renderCategory(){let e=this.buildPickListItems(a.category);return l`<calcite-list label class=${c(o.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderNumericFields(){let e=this.buildPickListItems(a.numericFields);return l`<calcite-list label class=${c(o.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${p(this.picklist)}>${e}</calcite-list>`}renderSplitByField(){let e=this.buildPickListItems(a.splitByField);return l`<calcite-list label class=${c(o.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderSortOrder(){let e=this.buildSortOrder();return l`<calcite-list label class=${c(o.sortOrderPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderPopoverInfo(){let e;switch(this.contentKind){case a.category:e=this.renderCategory();break;case a.numericFields:e=this.renderNumericFields();break;case a.splitByField:e=this.renderSplitByField();break;case a.sortOrder:e=this.renderSortOrder();break}return e}render(){let e;return this.contentKind===a.numericFields&&(e=l`<div slot=footer><calcite-fab class=${c(o.fab)} appearance=outline-fill kind=neutral icon .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`),l`<div class=${c(o.jsAppFlyout)}><calcite-popover class=${c(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=${c(o.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${c(o.header)}>${this.headingTitle??""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`}};P("arcgis-charts-config-box-plot-popover",k);return k},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",d,e,h)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v4.34.0-next.165 */
|
|
4
|
+
import"./O2BICH7F.js";var r={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u0645",_era_bc:"\u0642.\u0645",A:"\u0635",P:"\u0645",AM:"\u0635",PM:"\u0645","A.M.":"\u0635","P.M.":"\u0645",January:"\u064A\u0646\u0627\u064A\u0631",February:"\u0641\u0628\u0631\u0627\u064A\u0631",March:"\u0645\u0627\u0631\u0633",April:"\u0623\u0628\u0631\u064A\u0644",May:"\u0645\u0627\u064A\u0648",June:"\u064A\u0648\u0646\u064A\u0648",July:"\u064A\u0648\u0644\u064A\u0648",August:"\u0623\u063A\u0633\u0637\u0633",September:"\u0633\u0628\u062A\u0645\u0628\u0631",October:"\u0623\u0643\u062A\u0648\u0628\u0631",November:"\u0646\u0648\u0641\u0645\u0628\u0631",December:"\u062F\u064A\u0633\u0645\u0628\u0631",Jan:"\u064A\u0646\u0627\u064A\u0631",Feb:"\u0641\u0628\u0631\u0627\u064A\u0631",Mar:"\u0645\u0627\u0631\u0633",Apr:"\u0623\u0628\u0631\u064A\u0644","May(short)":"\u0645\u0627\u064A\u0648",Jun:"\u064A\u0648\u0646\u064A\u0648",Jul:"\u064A\u0648\u0644\u064A\u0648",Aug:"\u0623\u063A\u0633\u0637\u0633",Sep:"\u0633\u0628\u062A\u0645\u0628\u0631",Oct:"\u0623\u0643\u062A\u0648\u0628\u0631",Nov:"\u0646\u0648\u0641\u0645\u0628\u0631",Dec:"\u062F\u064A\u0633\u0645\u0628\u0631",Sunday:"\u0627\u0644\u0623\u062D\u062F",Monday:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tuesday:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wednesday:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thursday:"\u0627\u0644\u062E\u0645\u064A\u0633",Friday:"\u0627\u0644\u062C\u0645\u0639\u0629",Saturday:"\u0627\u0644\u0633\u0628\u062A",Sun:"\u0627\u0644\u0623\u062D\u062F",Mon:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tue:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wed:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thu:"\u0627\u0644\u062E\u0645\u064A\u0633",Fri:"\u0627\u0644\u062C\u0645\u0639\u0629",Sat:"\u0627\u0644\u0633\u0628\u062A",_dateOrd:function(_){var e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u062A\u063A\u064A\u064A\u0631 \u0645\u0642\u064A\u0627\u0633 \u0627\u0644\u0631\u0633\u0645",Play:"\u062A\u0634\u063A\u064A\u0644",Stop:"\u0625\u064A\u0642\u0627\u0641 \u062A\u0634\u063A\u064A\u0644",Legend:"\u0648\u0633\u064A\u0644\u0629 \u0627\u0644\u0625\u064A\u0636\u0627\u062D","Click, tap or press ENTER to toggle":"",Loading:"\u062A\u062D\u0645\u064A\u0644",Home:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0637\u0628\u0627\u0639\u0629",Image:"\u0635\u0648\u0631\u0629",Data:"\u0628\u064A\u0627\u0646\u0627\u062A",Print:"\u0637\u0628\u0627\u0639\u0629","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"",'To save the image, right-click this link and choose "Save picture as..."':"",'To save the image, right-click thumbnail on the left and choose "Save picture as..."':"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u0645\u0646 %1 \u0625\u0644\u0649 %2","From %1":"\u0645\u0646 %1","To %1":"\u0625\u0644\u0649 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{r as default};
|