@arcgis/charts-components 5.0.0-next.49 → 5.0.0-next.50
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/{Q2LSJM72.js → 26O4C2SO.js} +2 -2
- package/dist/cdn/{VZMFLEGQ.js → 2FE3CP67.js} +2 -2
- package/dist/cdn/{KWUMAKW7.js → 2LAOCG4N.js} +2 -2
- package/dist/cdn/{WZIR52Z3.js → 2ODVQ2TW.js} +2 -2
- package/dist/cdn/{3YNM5CH4.js → 2SKE46H5.js} +2 -2
- package/dist/cdn/{QMKR53K3.js → 2UF7W2T3.js} +2 -2
- package/dist/cdn/{X2QEQMJI.js → 36TKGWFT.js} +2 -2
- package/dist/cdn/{CTSWYWQL.js → 3ECNP5BW.js} +2 -2
- package/dist/cdn/{5Z4LDTZV.js → 3JW7C2KJ.js} +2 -2
- package/dist/cdn/{W7VIPCI6.js → 3KDD376T.js} +2 -2
- package/dist/cdn/{7KE6Q2CY.js → 3NS77WJE.js} +2 -2
- package/dist/cdn/{HEYSWWG6.js → 3P55YTJS.js} +2 -2
- package/dist/cdn/{6YFDB5YK.js → 3SJCXTQK.js} +2 -2
- package/dist/cdn/{JOBDQ5AI.js → 3XISGM2S.js} +2 -2
- package/dist/cdn/{KCJJPDZU.js → 4FRYL5DA.js} +2 -2
- package/dist/cdn/{LODRV7OB.js → 4FV6KG4R.js} +2 -2
- package/dist/cdn/{HPILSZT2.js → 4GSGKAK7.js} +2 -2
- package/dist/cdn/{XHQBBSXL.js → 4ISZVQHR.js} +2 -2
- package/dist/cdn/{RRXGZBNW.js → 5A5MDDRN.js} +2 -2
- package/dist/cdn/{APJEFIKK.js → 5MD76I6Q.js} +2 -2
- package/dist/cdn/{6KIQRXWQ.js → 5NG7VBHF.js} +2 -2
- package/dist/cdn/{C2ATBUQD.js → 5X5UWROJ.js} +2 -2
- package/dist/cdn/{KJ74X7Q4.js → 5XFQLBWZ.js} +2 -2
- package/dist/cdn/{BCQHUEAM.js → 6AOOCWYY.js} +2 -2
- package/dist/cdn/{46RDUB6B.js → 6CKIKBY5.js} +2 -2
- package/dist/cdn/{BDHHZU7A.js → 6DJROXGW.js} +2 -2
- package/dist/cdn/{GF6LLFNM.js → 6LFBGWK7.js} +2 -2
- package/dist/cdn/{CKMHWDT2.js → 6QWPIUYA.js} +2 -2
- package/dist/cdn/{RDRHP4HI.js → 6ZHAZO7H.js} +2 -2
- package/dist/cdn/{KWHDVK2N.js → 76RU34IE.js} +2 -2
- package/dist/cdn/{T4CW7573.js → 7KSA32K2.js} +2 -2
- package/dist/cdn/{PTZVMOD4.js → 7MG3HYCG.js} +2 -2
- package/dist/cdn/{IUMZCQOV.js → 7NCXWQXT.js} +2 -2
- package/dist/cdn/{MIFDJEWN.js → 7OCEHGAB.js} +2 -2
- package/dist/cdn/{W4LTKCNZ.js → 7PRYAUGL.js} +2 -2
- package/dist/cdn/{J2S4IV22.js → 7SFWISKR.js} +1 -1
- package/dist/cdn/{WMPWKRBS.js → 7YJCBZVH.js} +2 -2
- package/dist/cdn/{XORSUFFQ.js → 7YON7NDZ.js} +2 -2
- package/dist/cdn/{UGKHW7WX.js → A27QZJUY.js} +2 -2
- package/dist/cdn/{5IE7OMFM.js → AJS6JW3K.js} +2 -2
- package/dist/cdn/{KL6QIPPK.js → AMKUDXZY.js} +2 -2
- package/dist/cdn/{BRDIFOQW.js → AN5SQLHN.js} +2 -2
- package/dist/cdn/{GCYQ4NYH.js → AOFBOMXC.js} +2 -2
- package/dist/cdn/{2RQKRPPE.js → AOO6GDEC.js} +2 -2
- package/dist/cdn/{NQWKTE5T.js → AXRVOVBF.js} +2 -2
- package/dist/cdn/{GLFH573M.js → AZDA3Q2L.js} +2 -2
- package/dist/cdn/{H54OYXG3.js → BD7IJWF7.js} +2 -2
- package/dist/cdn/{AX2ENIPX.js → BIH53AYJ.js} +2 -2
- package/dist/cdn/{6LGRPOPC.js → BOTWZKUQ.js} +2 -2
- package/dist/cdn/{T4TIU2UD.js → BTHTBV5A.js} +2 -2
- package/dist/cdn/{QPZR4HBD.js → BVJI3LIY.js} +2 -2
- package/dist/cdn/{7YURSP6G.js → C45XVNR2.js} +2 -2
- package/dist/cdn/{BU2XHUR5.js → C5IRQG7G.js} +2 -2
- package/dist/cdn/{A3JXRNFJ.js → C5S2ZIN3.js} +2 -2
- package/dist/cdn/{NPX2Z5HT.js → CCP7ZN73.js} +2 -2
- package/dist/cdn/{M7WGOCEO.js → CQULMEMV.js} +2 -2
- package/dist/cdn/{XD74YD4T.js → CSFHHFSM.js} +2 -2
- package/dist/cdn/{UXPMI55U.js → D4ZMBCJK.js} +2 -2
- package/dist/cdn/{YIDOUYGU.js → D544FYGH.js} +2 -2
- package/dist/cdn/{PMZ44O6H.js → DBSN6SJG.js} +2 -2
- package/dist/cdn/{ZJCJWG3G.js → DFZCEOPG.js} +2 -2
- package/dist/cdn/{X6YLCZ5C.js → DKXEMIHS.js} +2 -2
- package/dist/cdn/{NMJ6NHGY.js → DOFYJLXE.js} +2 -2
- package/dist/cdn/{RB2TFATT.js → DUFXKWI7.js} +2 -2
- package/dist/cdn/{AJFYMIKY.js → E7BSRTNI.js} +2 -2
- package/dist/cdn/{LAV32NBF.js → EBR2XG3M.js} +2 -2
- package/dist/cdn/{AZAH2NDC.js → EMC4KVH3.js} +2 -2
- package/dist/cdn/{6V3BRHZS.js → ET5OYNFV.js} +2 -2
- package/dist/cdn/{AFK6RKZ3.js → EXG3NG37.js} +2 -2
- package/dist/cdn/{HR5U7LKU.js → F2EHEE5T.js} +2 -2
- package/dist/cdn/{R5BZ7B7G.js → FH3K3YGY.js} +2 -2
- package/dist/cdn/{IK74QPHY.js → FQCCQHYM.js} +2 -2
- package/dist/cdn/{Q2RAZWLB.js → G6WMNXMR.js} +2 -2
- package/dist/cdn/{ZRLLZOSF.js → GDZI66P7.js} +2 -2
- package/dist/cdn/{B6KAQ5GI.js → GIAD4DDM.js} +2 -2
- package/dist/cdn/{RQK377XG.js → GN4S6TFX.js} +1 -1
- package/dist/cdn/{IJQWVCLU.js → GOAOMN4Q.js} +2 -2
- package/dist/cdn/{EDTITOJ5.js → HCAPGUEP.js} +2 -2
- package/dist/cdn/{Q3GOFYZN.js → HDBLEFJX.js} +2 -2
- package/dist/cdn/{UWPBI75R.js → HITL5LVQ.js} +2 -2
- package/dist/cdn/{XTRZX5XR.js → HJY4LABK.js} +2 -2
- package/dist/cdn/{RXK35T3R.js → HT4B4H7L.js} +2 -2
- package/dist/cdn/{TQXKZQUC.js → HTZ6HUE7.js} +2 -2
- package/dist/cdn/{AFCYJCQ4.js → HV5MTLXN.js} +2 -2
- package/dist/cdn/{YQXR2BS3.js → HZDHFDAV.js} +2 -2
- package/dist/cdn/{3QOUDH7Q.js → I6RRJ5CJ.js} +2 -2
- package/dist/cdn/{66SVNGID.js → IJVHVDJA.js} +2 -2
- package/dist/cdn/{SPUSKRWS.js → J2JD62SN.js} +2 -2
- package/dist/cdn/{DNHZFLZP.js → J3MGLAAR.js} +2 -2
- package/dist/cdn/{XMJ2Y2GB.js → JDMFTBMI.js} +2 -2
- package/dist/cdn/{3VK7J5BL.js → JQNYKK6B.js} +2 -2
- package/dist/cdn/{O4JG2BP5.js → JU2I4345.js} +1 -1
- package/dist/cdn/{PAGSLZBC.js → JUFMUQ4P.js} +2 -2
- package/dist/cdn/{WUXFDAM3.js → K2I7YI56.js} +2 -2
- package/dist/cdn/{AS5QHTAI.js → K74PJ4WB.js} +2 -2
- package/dist/cdn/{2Q7BGSEP.js → KCWJIC4Q.js} +2 -2
- package/dist/cdn/{ZQXVZW34.js → KHDU2R4A.js} +2 -2
- package/dist/cdn/{5Q34WARS.js → KK5H47SG.js} +2 -2
- package/dist/cdn/{LCYDZ5MO.js → KOCUEKJS.js} +2 -2
- package/dist/cdn/{7Q4LPW7Z.js → KWSBNUGE.js} +2 -2
- package/dist/cdn/{ZVJTSTWI.js → LMUCXDI6.js} +2 -2
- package/dist/cdn/{3ADKWFFM.js → LRSCMZ3N.js} +2 -2
- package/dist/cdn/{4NNFIZWY.js → LTULSJDN.js} +2 -2
- package/dist/cdn/{EZGHZOMG.js → M3IZDP6V.js} +2 -2
- package/dist/cdn/{5CZFGB66.js → M6LOBOBS.js} +2 -2
- package/dist/cdn/{XZYHAWFC.js → MCOJRSYJ.js} +2 -2
- package/dist/cdn/{CA4AEDBN.js → MGBNPUZA.js} +2 -2
- package/dist/cdn/{MISOKWBP.js → MHAYB3PH.js} +2 -2
- package/dist/cdn/{Y4H3VXW6.js → MIWUKL6J.js} +2 -2
- package/dist/cdn/{GNIIQSHN.js → N7KTRJ45.js} +2 -2
- package/dist/cdn/{K2ZN4ZFF.js → NARPXZA3.js} +2 -2
- package/dist/cdn/{W5QKHMC2.js → NBX37BVN.js} +1 -1
- package/dist/cdn/{CLVKQ4FQ.js → NDO7DPFW.js} +2 -2
- package/dist/cdn/{IZCO4F3W.js → NEKBCXVV.js} +1 -1
- package/dist/cdn/{DYDMXIKC.js → NHJESRHO.js} +2 -2
- package/dist/cdn/{NUVDQXKP.js → NUBOWP55.js} +7 -7
- package/dist/cdn/{CEYL42WA.js → OI7F6IK6.js} +2 -2
- package/dist/cdn/{LYFODGQZ.js → OIDFNHHC.js} +2 -2
- package/dist/cdn/{VJ5X27YW.js → OSV2I4IK.js} +2 -2
- package/dist/cdn/{WVMX464F.js → P25EJVKO.js} +2 -2
- package/dist/cdn/{LG5AQVEY.js → P3PTEKXY.js} +2 -2
- package/dist/cdn/{STNYI3SF.js → P7NG5ZCK.js} +1 -1
- package/dist/cdn/{UQLT5N6P.js → PBFPIYFR.js} +2 -2
- package/dist/cdn/{6CUMFTDO.js → PJDJY6QO.js} +2 -2
- package/dist/cdn/{QI7WBUY6.js → PKU63745.js} +2 -2
- package/dist/cdn/{ZPYNOLJD.js → PKUDLYDH.js} +2 -2
- package/dist/cdn/{G32WV5WX.js → PRFA2BDM.js} +2 -2
- package/dist/cdn/{4BASKC2W.js → PU7XJKMM.js} +2 -2
- package/dist/cdn/{QZFW6RZJ.js → QB2ZPNI4.js} +2 -2
- package/dist/cdn/{M6OWKMN4.js → QEAILQVT.js} +2 -2
- package/dist/cdn/{HRI7AQKC.js → QEITA5KF.js} +2 -2
- package/dist/cdn/{HIBBF3GA.js → QFX2SGPL.js} +2 -2
- package/dist/cdn/{EXAY7VSU.js → QHMU4PPD.js} +2 -2
- package/dist/cdn/{2I6PLW5K.js → QPBSNNTL.js} +2 -2
- package/dist/cdn/{GWCPIQDU.js → QSJ5TL3F.js} +2 -2
- package/dist/cdn/{GEUXJYTP.js → RAUJYZVX.js} +2 -2
- package/dist/cdn/{JPMRMVMR.js → RI66GGYU.js} +2 -2
- package/dist/cdn/{PHVBXTMF.js → S5JPO4P5.js} +2 -2
- package/dist/cdn/{KIZGJ2ZS.js → S6A6FEOD.js} +2 -2
- package/dist/cdn/{LD6LOZBI.js → S6CRYKAL.js} +2 -2
- package/dist/cdn/{J4LG4CYI.js → SGFDMYNP.js} +2 -2
- package/dist/cdn/{CACAW2TL.js → SN4QWSTF.js} +2 -2
- package/dist/cdn/{FBFROWSY.js → SNEW25J3.js} +2 -2
- package/dist/cdn/{YVZ7XNML.js → SNQHYAG3.js} +2 -2
- package/dist/cdn/{G546SJWR.js → SRVZNUFX.js} +2 -2
- package/dist/cdn/{WGWCNZX4.js → SXD252OF.js} +1 -1
- package/dist/cdn/{MVRHS6DJ.js → TBD3E63C.js} +2 -2
- package/dist/cdn/{V5BHKW65.js → TC3FQIMZ.js} +2 -2
- package/dist/cdn/{LTQYDAYE.js → TOUJIM3U.js} +2 -2
- package/dist/cdn/{JWG44FZJ.js → TQKLOLSZ.js} +2 -2
- package/dist/cdn/{UZI543NQ.js → TWNGAOG7.js} +2 -2
- package/dist/cdn/{AIZQZ6DL.js → TY5UH5KL.js} +2 -2
- package/dist/cdn/{ED4SR2DO.js → U22LBSRH.js} +2 -2
- package/dist/cdn/{SR4V6SHB.js → U3JCE5EV.js} +2 -2
- package/dist/cdn/{C3H5RVNI.js → UCSCW4TP.js} +2 -2
- package/dist/cdn/{SKQQCL57.js → UDV5BQ27.js} +2 -2
- package/dist/cdn/{2T7CC4ZX.js → UESZUDON.js} +2 -2
- package/dist/cdn/{LQBMKNPL.js → UGMLNPIU.js} +2 -2
- package/dist/cdn/{ANIW3Y7Z.js → UJOCZ6ZC.js} +2 -2
- package/dist/cdn/{44MJ2VQZ.js → UQAFLBKM.js} +2 -2
- package/dist/cdn/{KVVBUWG3.js → VAUIOWOR.js} +2 -2
- package/dist/cdn/{MGP6SHNH.js → VBHLUHLE.js} +2 -2
- package/dist/cdn/{DRC4O5GL.js → VH3JYV73.js} +1 -1
- package/dist/cdn/{CBJCSCG4.js → VKBB4QVJ.js} +2 -2
- package/dist/cdn/{WQTV32FX.js → VMNQXSMJ.js} +2 -2
- package/dist/cdn/{EWYR33KH.js → VYV5RLAJ.js} +2 -2
- package/dist/cdn/{GC7FCJS2.js → WDE7QD7R.js} +2 -2
- package/dist/cdn/{5QGVWW2U.js → WIMVMWPQ.js} +2 -2
- package/dist/cdn/{FJDP7R3P.js → WYOKKG3C.js} +2 -2
- package/dist/cdn/{FBQN7K2O.js → WYQLU6FO.js} +2 -2
- package/dist/cdn/{PMG6EM6H.js → XOJUQ6ZN.js} +2 -2
- package/dist/cdn/{L234DVKF.js → XOYESNHD.js} +2 -2
- package/dist/cdn/{NJT4CKNN.js → XVVLJOIO.js} +2 -2
- package/dist/cdn/{T6S6LTFH.js → Y57PLYO3.js} +2 -2
- package/dist/cdn/{APLVIUZ3.js → YCFOY7IW.js} +2 -2
- package/dist/cdn/{ZTOSZ23S.js → YDXWEUMD.js} +2 -2
- package/dist/cdn/{E6O5AA4G.js → YIZOHZ5W.js} +1 -1
- package/dist/cdn/{D73DPH6C.js → YPB6ZOPZ.js} +2 -2
- package/dist/cdn/{GFAVYZJO.js → YWWSLYQZ.js} +2 -2
- package/dist/cdn/{EEJGEFXK.js → ZQS57AFK.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/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/interfaces.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-data.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 +1 -1
- 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/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{a as K,b as X,g as ee}from"./KCJJPDZU.js";import a from"./PMZ44O6H.js";import{f as s,i as g}from"./W5QKHMC2.js";import{d as I}from"./IZCO4F3W.js";import{a as c,b,d as E,h as v,k as S,p as w,q as L,v as B,w as T}from"./E6O5AA4G.js";export default $arcgis.t(([{Ba:W,D:G,E:j,Fb:h,Gc:x,Ic:C,Lc:q,Mc:$,Nc:R,Qc:Y,Rc:J,Tc:O,Vc:Q,b:N,c:P,h:U,ma:V,nb:l,nd:Z,oc:_,uc:z,vc:H,zb:A}])=>{var M=(i=>(i.NONE="none",i.ROTATE="rotate",i.STAGGER="stagger",i.WRAP="wrap",i))(M||{});function he(i){let{configToUpdate:e,chartContainer:r,layer:t}=i,o=s(e);if(o.series[0]?.type===c.HeatSeries&&t?.capabilities?.queryAttributeBins?.supportsFirstDayOfWeek===!0&&(!("firstDayOfWeek"in e)||e.firstDayOfWeek===void 0||e.firstDayOfWeek===null)){let{lang:n}=I(r??document.documentElement);try{o.firstDayOfWeek=U.local().setLocale(n.replaceAll("_","-")).startOf("week",{useLocaleWeeks:!0}).weekday}catch{}}return o}function Oe(i){let e=s(i);return g(i.axes)||(e.axes=i.axes?.map(r=>{let t=r;return delete t.calculateAutomaticMaximum,delete t.calculateAutomaticMinimum,t.title?.content.font?.style!==void 0&&(t.title.content.font.style=t.title.content.font.style.toLowerCase()),t})),e}function Fe(i){let e=s(i);return g(i.series)||(e.series=i.series.map((r,t)=>{let o=r;r.id===void 0&&(o.id=`Series ${Date.now()}-${t}`);let n=T(i.series,t);return(n===c.BarSeries||n===c.LineSeries||n===c.RadarSeries)&&o.query?.outStatistics?.[0]?.statisticType==="median"&&(o.query.outStatistics[0].statisticType=b.ContinuousPercentile),n===c.BarSeries&&o.multipleBarType!==void 0&&(o.stackedType=o.multipleBarType,delete o.multipleBarType),n===c.PieSeries&&o.sliceGrouping!==void 0&&(o.sliceGrouping.sliceId=G.defaultGroupOfSlicesId,o.sliceGrouping.groupName!==void 0&&(o.sliceGrouping={...o.sliceGrouping,label:o.sliceGrouping.groupName},delete o.sliceGrouping.groupName),o.sliceGrouping.groupSliceSymbol!==void 0&&(o.sliceGrouping={...o.sliceGrouping,fillSymbol:o.sliceGrouping.groupSliceSymbol},delete o.sliceGrouping.groupSliceSymbol)),o})),e}async function te(i,e){let r=[];return await Promise.all(i.map(async t=>{if(!A(t)){let o=h(t,!1);if(o.fieldToSort!==void 0){let n=await x({queryObject:e,fieldToMatch:o.fieldToSort});n!==void 0&&r.push(o.orderBy===void 0?n:`${n} ${o.orderBy}`)}}})),r}async function ke(i,e){let r={...i},t=e;if(!t){let o=ee(i)?i.iLayer:i.dataSource?.layer;o&&(t=await H(o))}if(t){let o=O(r.series),n=T(r.series),y=r.series&&r.series.length>0&&r.series[0].x.trim()===""||n===c.GaugeSeries&&!Z(i)||o===l.PieFromFields||o===l.BarAndLineFromFields||o===l.BoxPlotMonoField||o===l.BoxPlotMonoFieldAndSplitBy||o===l.BoxPlotMultiFields||o===l.BoxPlotMultiFieldsAndSplitBy,u=n===c.ScatterSeries||o===l.BarAndLineNoAggregation||o===l.BarAndLineSplitByNoAggregation||o===l.BoxPlotMonoField||o===l.BoxPlotMonoFieldAndSplitBy||o===l.BoxPlotMonoFieldAndCategory||o===l.BoxPlotMonoFieldAndCategoryAndSplitBy||o===l.PieNoAggregation;if(r.series=await Promise.all(i.series.map(async d=>{let a={...d};if(y||(a.x=await x({queryObject:t,fieldToMatch:d.x})),"y"in a&&u){let p=a.y;if(Array.isArray(p)){let f=await C({fieldsList:p,queryObject:t});f!==void 0&&"y"in a&&(a.y=f)}else"y"in a&&typeof p=="string"&&(a.y=await x({queryObject:t,fieldToMatch:p}))}if(d.query!==void 0){let{where:p,groupByFieldsForStatistics:f,outStatistics:m}=d.query;if(f=await C({fieldsList:f,queryObject:t}),m!==void 0&&(m=await Promise.all(m.map(async F=>{let k={...F};return k.onStatisticField=await x({queryObject:t,fieldToMatch:F.onStatisticField}),k}))),p!==void 0&&o===l.BarAndLineSplitBy){let F=Y(d.query?.where),k=J({where:d.query?.where,normalize:!1,escape:!1});p=`${await x({queryObject:t,fieldToMatch:F})}=${k}`}a.query!==void 0&&(p!==void 0&&(a.query.where=p),f!==void 0&&(a.query.groupByFieldsForStatistics=f),m!==void 0&&(a.query.outStatistics=m))}return a})),r.series[0]?.query!==void 0){let d=r.series[0].query,{orderByFields:a}=d;a!==void 0&&a.length>0&&(a=await te(a,t),a.length>0&&d.orderByFields!==void 0&&(r.series[0].query.orderByFields=a))}if(r.orderOptions?.orderByFields!==void 0){let{orderByFields:d}=r.orderOptions;d!==void 0&&d.length>0&&(d=await te(d,t),d.length>0&&(r.orderOptions.orderByFields=d))}if(n===c.GaugeSeries&&i.axes?.[0]!==void 0){let{minimumFromField:d,maximumFromField:a}=i.axes[0];if(d!==void 0){let p=typeof d=="string"?d:d.onStatisticField,f=await x({queryObject:t,fieldToMatch:p}),m=d;typeof i.axes[0].minimumFromField=="string"?m=f:typeof d=="object"&&(m={...d,onStatisticField:f}),i.axes[0].minimumFromField=m}if(a!==void 0){let p=typeof a=="string"?a:a.onStatisticField,f=await x({queryObject:t,fieldToMatch:p}),m=a;typeof i.axes[0].maximumFromField=="string"?m=f:typeof a=="object"&&(m={...a,onStatisticField:f}),i.axes[0].maximumFromField=m}}}return r}function Pe(i){let e=s(i);if(!g(i.series)&&T(i.series)===c.BoxPlotSeries){let r=e.series[0];r&&(r.showOutliers!==void 0&&(i.showOutliers===void 0&&(e.showOutliers=r.showOutliers),delete r.showOutliers),r.standardizeValues!==void 0&&(i.standardizeValues===void 0&&(e.standardizeValues=r.standardizeValues),delete r.standardizeValues),r.showMean!==void 0&&(i.showMean===void 0&&(e.showMean=r.showMean),delete r.showMean))}return e}function we(i){let e={orderType:B.Category,orderBy:v.Ascending},r=i.query?.orderByFields?.[0];if(r!==void 0){let{outStatisticFieldName:t,statisticType:o}=i.query?.outStatistics?.[0]??{},n=h(r);t!==void 0&&n.fieldToSort===t&&o!==void 0&&(o===b.Average||o==="mean"?e.orderType=B.Mean:o===b.ContinuousPercentile&&(e.orderType=B.Median)),e.orderBy=n.orderBy??v.Ascending}return e}function Le(i){let e=!1,r=Array.from(new Set(i.series.map(t=>t.type)));return r.length===2&&r.includes(c.BoxPlotSeries)&&r.includes(c.LineSeries)&&(e=i.series.find(t=>t.type===c.LineSeries)?.query?.outStatistics?.[0]!==void 0),e}function Ae(i){let e=s(i);if(!g(e.series)&&T(i.series)===c.BoxPlotSeries){if(e.orderOptions?.data===void 0){let r=we(i.series[0]);r.orderType!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:r.orderType,orderBy:r.orderBy})}if(e.series=i.series.map(r=>{let t=r;return g(t.x?.trim())&&(t.x=j),delete t.query?.orderByFields,t}),Le(e)){e.showMean=!0;let r=e.series.find(t=>t.type===c.BoxPlotSeries);e.series.forEach(t=>{t.type===c.LineSeries&&(delete t.query?.groupByFieldsForStatistics,delete t.query?.outStatistics,delete t.query?.orderByFields,r&&(t.y=r.y))})}e.series=i.series.map(r=>{let t=r;return delete t.query?.outStatistics,t})}return e}function Ce(i){let e=s(i);return e.legend!==void 0&&!Number.isFinite(e.legend.maxHeight)&&(e.legend.maxHeight=Number.NaN),e}function qe(i){let e=s(i);return"dataSource"in e&&e.dataSource.layer&&(e.iLayer=e.dataSource.layer,delete e.dataSource),e}function Me(i){let e=s(i),r=new Set,t=e.id??"";return r.add(t),e.series.forEach(o=>{let n=o.id;r.has(n)&&(n=`${n}_${Date.now()}`,o.id=n),r.add(n)}),e}async function De(i){let{configToUpdate:e,layer:r,chartContainer:t}=i,o=s(e);return o=Oe(o),o=Fe(o),o=await ke(o,r),o=Pe(o),o=Ae(o),o=Ce(o),o=Me(o),o=he({configToUpdate:o,chartContainer:t,layer:r}),o}function Ee(i){let e=s(i);return e?.orderOptions?.orderByFields!==void 0&&O(i.series)===l.PieFromFields&&(e.orderOptions.orderByFields=i?.orderOptions?.orderByFields?.map(r=>{let t=s(r);return r!==void 0&&r.includes("arcgis_charts_pie_category_from_fields_name")&&(t=r.replace("arcgis_charts_pie_category_from_fields_name",P)),t})),e}function Ie(i){let e=s(i);if(!g(i.series)&&e.axes?.[0]!==void 0&&T(i.series)===c.GaugeSeries&&i.axes?.[0]!==void 0){let r=i.axes[0];r.ticks!==void 0&&Object.hasOwn(r.ticks,"spacing")&&delete r.ticks.spacing,e.axes[0]=r}return e}function Ne(i){let e=s(i),{extent:r}=e.series[0]?.query??{};return r!==void 0&&(e.dataFilters={...e.dataFilters,geometry:r},e.series.forEach(t=>{"query"in t&&"extent"in t.query&&delete t.query.extent})),e}function xe(i){let e=s(i);return g(i.series)||(K(i)&&i.rotated===void 0&&(e.rotated=i.series[0].rotated??V()),e.series.forEach(r=>{r.rotated!==void 0&&delete r.rotated})),e}function Ue(i){let e=s(i),r=i.dataSource;return"dataSource"in e&&!g(r)&&(r.type==="featureLayer"&&e.dataSource!==void 0&&(e.dataSource.type="layer"),"featureLayer"in r&&(e.dataSource.layer=r.featureLayer,delete e.dataSource.featureLayer)),e}function Ge(i){let e=s(i);if("dataSource"in i){let r=i.dataSource;if(r.filter!==void 0&&r.filter.trim()!==""){let t=z([r.filter,e.dataFilters?.where]);e.dataFilters={...e.dataFilters,where:t},delete e.dataSource.filter}}return e}function je(i){return i!=="originalValue"}function be(i){let e;switch(i){case"mean":e=B.Mean;break;case"median":e=B.Median;break;case"category":e=B.Category;break}return e}function Ve(i){let e=s(i);if(!g(i.series)&&T(i.series)===c.PieSeries){let r=e.series[0];if(r){if(r.sortLabelsBy==="originalValue")e.sortLabelsBy=r.sortLabelsBy;else if(r.sortLabelsBy!==void 0&&e.orderOptions?.data===void 0){let t=D(e);t!==void 0&&(e.orderOptions??={},e.orderOptions.data=t)}r.sortLabelsBy&&delete r.sortLabelsBy}}return e}function We(i){let e=s(i);return g(i.series)||(X(i)&&i.stackedType===void 0&&(e.stackedType=i.series[0].stackedType??W()),e.series.forEach(r=>{"stackedType"in r&&delete r.stackedType})),e}function _e(i){let e=s(i),r=i.sortOptions?.sortSeriesBy;return e.orderOptions===void 0&&typeof r=="string"&&(e.orderOptions??={},e.orderOptions.series={orderBy:r==="DESC"?v.Descending:v.Ascending}),e}function ze(i){let e=s(i);return e.colorMatch===void 0&&e.series[0]?.colorType!==void 0&&(e.colorMatch=e.series[0]?.colorType===E.Match),e.series.forEach(r=>{r.colorType!==void 0&&delete r.colorType}),e}function He(i){let e=s(i);if(e.sortDataBy!==void 0){if(e.orderOptions?.data===void 0){let r=i.sortDataBy,t=be(r?.sortType);t!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:t,orderBy:r?.sortOrder??v.Ascending})}delete e.sortDataBy}return e}function $e(i){let e=s(i);return e.axes?.forEach(r=>{r!==void 0&&r.scrollbarVisible!==void 0&&r.scrollbar?.visible===void 0&&(r.scrollbar={...r.scrollbar,visible:r.scrollbarVisible},delete r.scrollbarVisible)}),e}function Re(i){let e=s(i),r=e.series[0]?.query?.orderByFields;if(r!==void 0&&r.length>0&&e.orderOptions?.orderByFields===void 0){e.orderOptions??={};let t=!0;if(r.length===1){let{fieldToSort:o,orderBy:n}=h(r[0]),y;o===i.series[0].x||o===P?y=B.Category:"y"in i.series[0]&&o===i.series[0].y&&(y=B.YValue),y!==void 0&&(t=!1,e.orderOptions.data===void 0&&(e.orderOptions.data={orderType:y,orderBy:n?.toUpperCase()==="DESC"?v.Descending:v.Ascending}))}t&&(e.orderOptions.orderByFields=r)}return e.series.forEach(t=>{delete t.query?.orderByFields}),e}function D(i){let e,r=i.orderOptions?.orderByFields?.[0];if(i.series?.length>0){let t=T(i.series),o=O(i.series);if(t!==c.PieSeries&&o!==l.BarAndLineFromFields&&(r=r??i.series[0].x),r&&!A(r)){let{fieldToSort:n,orderBy:y}=h(r),u;n===i.series[0].x||n===P?u=B.Category:"y"in i.series[0]&&n===i.series[0].y&&(u=B.YValue),u!==void 0&&(e={orderType:u,orderBy:y?.toUpperCase()==="DESC"?v.Descending:v.Ascending})}}return e}function Ye(i){let e=s(i),r=i,t=i,o=i,n=i,y=i;if(e){if(e.orderOptions?.series===void 0&&r.sortOptions?.sortSeriesBy!==void 0&&(e.orderOptions??={},e.orderOptions.series={preferLabel:je(t.sortLabelsBy??r.sortOptions.sortSeriesBy.sortType),orderBy:r.sortOptions.sortSeriesBy.sortOrder??v.Ascending}),t.sortLabelsBy==="originalValue"||n.orderOptions?.data?.preferDataLabel===!1||y.orderOptions?.data?.preferLabel===!1)e.orderOptions?.data&&delete e.orderOptions.data;else if(e.orderOptions?.data===void 0)if(T(e.series)===c.BoxPlotSeries){if(t.sortLabelsBy||o.sortOptions?.sortDataBy!==void 0){let u=be(o.sortOptions?.sortDataBy?.sortType);u!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:u,orderBy:o.sortOptions?.sortDataBy?.sortOrder??v.Ascending})}}else{let u=D(e);u!==void 0&&(e.orderOptions??={},e.orderOptions.data=u)}"sortLabelsBy"in e&&delete e.sortLabelsBy,"sortOptions"in e&&delete e.sortOptions}return e}function Je(i){let e=s(i);if(e){let r=O(e.series);if((r===l.BarAndLineFromFields||r===l.PieFromFields)&&e.orderOptions?.data===void 0&&e.orderOptions?.orderByFields!==void 0){let t=D(e);t!==void 0&&(e.orderOptions??={},e.orderOptions.data=t,delete e.orderOptions.orderByFields)}}return e}function Qe(i){let e=s(i);return e.horizontalAxisLabelsBehavior===M.NONE&&(e.horizontalAxisLabelsBehavior=w.Hide),e.verticalAxisLabelsBehavior===M.NONE&&(e.verticalAxisLabelsBehavior=w.Hide),e}function Ze(i){let e=s(i),r=e.series[0];if(r&&!r.temporalBinning&&Q(e.series[0])&&("timeIntervalSize"in r||"timeIntervalUnits"in r||"timeAggregationType"in r||"trimIncompleteTimeInterval"in r||"nullPolicy"in r)){if(r.temporalBinning={},r.timeIntervalSize!==void 0&&(r.temporalBinning.size=r.timeIntervalSize,delete r.timeIntervalSize),r.timeIntervalUnits){let t;switch(r.timeIntervalUnits){case"esriTimeUnitsSeconds":t=S.Second;break;case"esriTimeUnitsMinutes":t=S.Minute;break;case"esriTimeUnitsHours":t=S.Hour;break;case"esriTimeUnitsDays":t=S.Day;break;case"esriTimeUnitsWeeks":t=S.Week;break;case"esriTimeUnitsMonths":t=S.Month;break;case"esriTimeUnitsYears":t=S.Year;break}t!==void 0&&(r.temporalBinning.unit=t),delete r.timeIntervalUnits}r.timeAggregationType&&(r.temporalBinning.timeAggregationType=r.timeAggregationType,delete r.timeAggregationType),r.trimIncompleteTimeInterval!==void 0&&(r.temporalBinning.trimIncompleteTimeInterval=r.trimIncompleteTimeInterval,delete r.trimIncompleteTimeInterval),r.nullPolicy&&(r.temporalBinning.nullPolicy=r.nullPolicy,delete r.nullPolicy)}return e}function Ke(i){let e=s(i);return e.series.forEach(r=>{r.query?.outStatistics?.forEach(t=>{t.statisticType==="percentile_cont"?t.statisticType=b.ContinuousPercentile:t.statisticType==="percentile_disc"&&(t.statisticType=b.DiscretePercentile)})}),e}function Xe(i){let e=s(i);return e.subtitle===void 0&&e.subTitle&&(e.subtitle=e.subTitle),delete e.subTitle,e}function et(i){let e=s(i),r=e.series[0];return r?.temporalBinning&&delete r.temporalBinning?.type,e}function tt(i){let e=s(i);return e=Ee(e),e}function ie(i){let e=s(i);return e=Ie(e),e}function re(i){let e=s(i);return e=Ne(e),e}function oe(i){let e=s(i);return e=xe(e),e}function se(i){let e=s(i);return e=Ue(e),e}function ne(i){let e=s(i);return e=Ge(e),e}function ae(i){let e=s(i);return e=Ve(e),e}function de(i){let e=s(i);return e=_e(e),e}function ce(i){let e=s(i);return e=ze(e),e}function le(i){return $e(i)}function ue(i){let e=s(i);return i.series[0]?.type===c.BoxPlotSeries&&(e=He(e)),e}function ye(i){return We(i)}function pe(i){return Ye(i)}function fe(i){return qe(i)}function me(i){return Je(i)}function ve(i){return Qe(i)}function ge(i){return Ze(i)}function Be(i){return Ke(i)}function Te(i){let e=s(i);return e=xe(e),Xe(e)}function Se(i){let e=s(i);return e=et(e),e}function it(i){let{versionsToConvert:e=[],configToUpdate:r}=i,t=s(r);return e.length>0&&t!==void 0&&(t=Re(t),e.includes(q)||e.includes($)?(t=tt(t),t=ie(t),t=re(t),t=oe(t),t=se(t),t=ne(t),t=ae(t),t=de(t),t=ce(t),t=le(t),t=ue(t),t=ye(t),t=pe(t),t=fe(t),t=me(t),t=ve(t),t=ge(t),t=Be(t),t=Te(t),t=Se(t)):e.forEach(o=>{if(t!==void 0)switch(o){case"1.0.1":t=ie(t);break;case"3.4.0":t=re(t);break;case"4.0.0":t=oe(t);break;case"4.0.1":t=se(t);break;case"6.4.0":t=ne(t);break;case"7.5.1":t=ae(t);break;case"8.0.0":t=de(t);break;case"9.2.0":t=ce(t);break;case"9.7.0":t=le(t);break;case"10.0.0":t=ue(t);break;case"11.0.0":t=ye(t);break;case"14.0.1":t=pe(t);break;case"16.0.0":t=fe(t);break;case"16.1.0":t=me(t);break;case"18.1.3":t=ve(t);break;case"20.1.0":t=ge(t);break;case"21.0.0":t=Be(t);break;case"23.2.0":t=Te(t);break;case"24.4.0":t=Se(t);break}}),t.version=N),t}async function dt(i,e,r){let t=i;if(i){let o=_(e);t=await De({configToUpdate:i,layer:o,chartContainer:r});let n=i.version??q,{versionStatus:y,versions:u}=R(n);(y===L.Older||y===L.Unrecognized)&&(t=it({versionsToConvert:u,configToUpdate:t}))}return t}return dt},a)
|
|
3
|
+
v5.0.0-next.50 */
|
|
4
|
+
import{a as K,b as X,g as ee}from"./4FRYL5DA.js";import a from"./DBSN6SJG.js";import{f as s,i as g}from"./NBX37BVN.js";import{d as I}from"./NEKBCXVV.js";import{a as c,b,d as E,h as v,k as S,p as w,q as L,v as B,w as T}from"./YIZOHZ5W.js";export default $arcgis.t(([{Ba:W,D:G,E:j,Fb:h,Gc:x,Ic:C,Lc:q,Mc:$,Nc:R,Qc:Y,Rc:J,Tc:O,Vc:Q,b:N,c:P,h:U,ma:V,nb:l,nd:Z,oc:_,uc:z,vc:H,zb:A}])=>{var M=(i=>(i.NONE="none",i.ROTATE="rotate",i.STAGGER="stagger",i.WRAP="wrap",i))(M||{});function he(i){let{configToUpdate:e,chartContainer:r,layer:t}=i,o=s(e);if(o.series[0]?.type===c.HeatSeries&&t?.capabilities?.queryAttributeBins?.supportsFirstDayOfWeek===!0&&(!("firstDayOfWeek"in e)||e.firstDayOfWeek===void 0||e.firstDayOfWeek===null)){let{lang:n}=I(r??document.documentElement);try{o.firstDayOfWeek=U.local().setLocale(n.replaceAll("_","-")).startOf("week",{useLocaleWeeks:!0}).weekday}catch{}}return o}function Oe(i){let e=s(i);return g(i.axes)||(e.axes=i.axes?.map(r=>{let t=r;return delete t.calculateAutomaticMaximum,delete t.calculateAutomaticMinimum,t.title?.content.font?.style!==void 0&&(t.title.content.font.style=t.title.content.font.style.toLowerCase()),t})),e}function Fe(i){let e=s(i);return g(i.series)||(e.series=i.series.map((r,t)=>{let o=r;r.id===void 0&&(o.id=`Series ${Date.now()}-${t}`);let n=T(i.series,t);return(n===c.BarSeries||n===c.LineSeries||n===c.RadarSeries)&&o.query?.outStatistics?.[0]?.statisticType==="median"&&(o.query.outStatistics[0].statisticType=b.ContinuousPercentile),n===c.BarSeries&&o.multipleBarType!==void 0&&(o.stackedType=o.multipleBarType,delete o.multipleBarType),n===c.PieSeries&&o.sliceGrouping!==void 0&&(o.sliceGrouping.sliceId=G.defaultGroupOfSlicesId,o.sliceGrouping.groupName!==void 0&&(o.sliceGrouping={...o.sliceGrouping,label:o.sliceGrouping.groupName},delete o.sliceGrouping.groupName),o.sliceGrouping.groupSliceSymbol!==void 0&&(o.sliceGrouping={...o.sliceGrouping,fillSymbol:o.sliceGrouping.groupSliceSymbol},delete o.sliceGrouping.groupSliceSymbol)),o})),e}async function te(i,e){let r=[];return await Promise.all(i.map(async t=>{if(!A(t)){let o=h(t,!1);if(o.fieldToSort!==void 0){let n=await x({queryObject:e,fieldToMatch:o.fieldToSort});n!==void 0&&r.push(o.orderBy===void 0?n:`${n} ${o.orderBy}`)}}})),r}async function ke(i,e){let r={...i},t=e;if(!t){let o=ee(i)?i.iLayer:i.dataSource?.layer;o&&(t=await H(o))}if(t){let o=O(r.series),n=T(r.series),y=r.series&&r.series.length>0&&r.series[0].x.trim()===""||n===c.GaugeSeries&&!Z(i)||o===l.PieFromFields||o===l.BarAndLineFromFields||o===l.BoxPlotMonoField||o===l.BoxPlotMonoFieldAndSplitBy||o===l.BoxPlotMultiFields||o===l.BoxPlotMultiFieldsAndSplitBy,u=n===c.ScatterSeries||o===l.BarAndLineNoAggregation||o===l.BarAndLineSplitByNoAggregation||o===l.BoxPlotMonoField||o===l.BoxPlotMonoFieldAndSplitBy||o===l.BoxPlotMonoFieldAndCategory||o===l.BoxPlotMonoFieldAndCategoryAndSplitBy||o===l.PieNoAggregation;if(r.series=await Promise.all(i.series.map(async d=>{let a={...d};if(y||(a.x=await x({queryObject:t,fieldToMatch:d.x})),"y"in a&&u){let p=a.y;if(Array.isArray(p)){let f=await C({fieldsList:p,queryObject:t});f!==void 0&&"y"in a&&(a.y=f)}else"y"in a&&typeof p=="string"&&(a.y=await x({queryObject:t,fieldToMatch:p}))}if(d.query!==void 0){let{where:p,groupByFieldsForStatistics:f,outStatistics:m}=d.query;if(f=await C({fieldsList:f,queryObject:t}),m!==void 0&&(m=await Promise.all(m.map(async F=>{let k={...F};return k.onStatisticField=await x({queryObject:t,fieldToMatch:F.onStatisticField}),k}))),p!==void 0&&o===l.BarAndLineSplitBy){let F=Y(d.query?.where),k=J({where:d.query?.where,normalize:!1,escape:!1});p=`${await x({queryObject:t,fieldToMatch:F})}=${k}`}a.query!==void 0&&(p!==void 0&&(a.query.where=p),f!==void 0&&(a.query.groupByFieldsForStatistics=f),m!==void 0&&(a.query.outStatistics=m))}return a})),r.series[0]?.query!==void 0){let d=r.series[0].query,{orderByFields:a}=d;a!==void 0&&a.length>0&&(a=await te(a,t),a.length>0&&d.orderByFields!==void 0&&(r.series[0].query.orderByFields=a))}if(r.orderOptions?.orderByFields!==void 0){let{orderByFields:d}=r.orderOptions;d!==void 0&&d.length>0&&(d=await te(d,t),d.length>0&&(r.orderOptions.orderByFields=d))}if(n===c.GaugeSeries&&i.axes?.[0]!==void 0){let{minimumFromField:d,maximumFromField:a}=i.axes[0];if(d!==void 0){let p=typeof d=="string"?d:d.onStatisticField,f=await x({queryObject:t,fieldToMatch:p}),m=d;typeof i.axes[0].minimumFromField=="string"?m=f:typeof d=="object"&&(m={...d,onStatisticField:f}),i.axes[0].minimumFromField=m}if(a!==void 0){let p=typeof a=="string"?a:a.onStatisticField,f=await x({queryObject:t,fieldToMatch:p}),m=a;typeof i.axes[0].maximumFromField=="string"?m=f:typeof a=="object"&&(m={...a,onStatisticField:f}),i.axes[0].maximumFromField=m}}}return r}function Pe(i){let e=s(i);if(!g(i.series)&&T(i.series)===c.BoxPlotSeries){let r=e.series[0];r&&(r.showOutliers!==void 0&&(i.showOutliers===void 0&&(e.showOutliers=r.showOutliers),delete r.showOutliers),r.standardizeValues!==void 0&&(i.standardizeValues===void 0&&(e.standardizeValues=r.standardizeValues),delete r.standardizeValues),r.showMean!==void 0&&(i.showMean===void 0&&(e.showMean=r.showMean),delete r.showMean))}return e}function we(i){let e={orderType:B.Category,orderBy:v.Ascending},r=i.query?.orderByFields?.[0];if(r!==void 0){let{outStatisticFieldName:t,statisticType:o}=i.query?.outStatistics?.[0]??{},n=h(r);t!==void 0&&n.fieldToSort===t&&o!==void 0&&(o===b.Average||o==="mean"?e.orderType=B.Mean:o===b.ContinuousPercentile&&(e.orderType=B.Median)),e.orderBy=n.orderBy??v.Ascending}return e}function Le(i){let e=!1,r=Array.from(new Set(i.series.map(t=>t.type)));return r.length===2&&r.includes(c.BoxPlotSeries)&&r.includes(c.LineSeries)&&(e=i.series.find(t=>t.type===c.LineSeries)?.query?.outStatistics?.[0]!==void 0),e}function Ae(i){let e=s(i);if(!g(e.series)&&T(i.series)===c.BoxPlotSeries){if(e.orderOptions?.data===void 0){let r=we(i.series[0]);r.orderType!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:r.orderType,orderBy:r.orderBy})}if(e.series=i.series.map(r=>{let t=r;return g(t.x?.trim())&&(t.x=j),delete t.query?.orderByFields,t}),Le(e)){e.showMean=!0;let r=e.series.find(t=>t.type===c.BoxPlotSeries);e.series.forEach(t=>{t.type===c.LineSeries&&(delete t.query?.groupByFieldsForStatistics,delete t.query?.outStatistics,delete t.query?.orderByFields,r&&(t.y=r.y))})}e.series=i.series.map(r=>{let t=r;return delete t.query?.outStatistics,t})}return e}function Ce(i){let e=s(i);return e.legend!==void 0&&!Number.isFinite(e.legend.maxHeight)&&(e.legend.maxHeight=Number.NaN),e}function qe(i){let e=s(i);return"dataSource"in e&&e.dataSource.layer&&(e.iLayer=e.dataSource.layer,delete e.dataSource),e}function Me(i){let e=s(i),r=new Set,t=e.id??"";return r.add(t),e.series.forEach(o=>{let n=o.id;r.has(n)&&(n=`${n}_${Date.now()}`,o.id=n),r.add(n)}),e}async function De(i){let{configToUpdate:e,layer:r,chartContainer:t}=i,o=s(e);return o=Oe(o),o=Fe(o),o=await ke(o,r),o=Pe(o),o=Ae(o),o=Ce(o),o=Me(o),o=he({configToUpdate:o,chartContainer:t,layer:r}),o}function Ee(i){let e=s(i);return e?.orderOptions?.orderByFields!==void 0&&O(i.series)===l.PieFromFields&&(e.orderOptions.orderByFields=i?.orderOptions?.orderByFields?.map(r=>{let t=s(r);return r!==void 0&&r.includes("arcgis_charts_pie_category_from_fields_name")&&(t=r.replace("arcgis_charts_pie_category_from_fields_name",P)),t})),e}function Ie(i){let e=s(i);if(!g(i.series)&&e.axes?.[0]!==void 0&&T(i.series)===c.GaugeSeries&&i.axes?.[0]!==void 0){let r=i.axes[0];r.ticks!==void 0&&Object.hasOwn(r.ticks,"spacing")&&delete r.ticks.spacing,e.axes[0]=r}return e}function Ne(i){let e=s(i),{extent:r}=e.series[0]?.query??{};return r!==void 0&&(e.dataFilters={...e.dataFilters,geometry:r},e.series.forEach(t=>{"query"in t&&"extent"in t.query&&delete t.query.extent})),e}function xe(i){let e=s(i);return g(i.series)||(K(i)&&i.rotated===void 0&&(e.rotated=i.series[0].rotated??V()),e.series.forEach(r=>{r.rotated!==void 0&&delete r.rotated})),e}function Ue(i){let e=s(i),r=i.dataSource;return"dataSource"in e&&!g(r)&&(r.type==="featureLayer"&&e.dataSource!==void 0&&(e.dataSource.type="layer"),"featureLayer"in r&&(e.dataSource.layer=r.featureLayer,delete e.dataSource.featureLayer)),e}function Ge(i){let e=s(i);if("dataSource"in i){let r=i.dataSource;if(r.filter!==void 0&&r.filter.trim()!==""){let t=z([r.filter,e.dataFilters?.where]);e.dataFilters={...e.dataFilters,where:t},delete e.dataSource.filter}}return e}function je(i){return i!=="originalValue"}function be(i){let e;switch(i){case"mean":e=B.Mean;break;case"median":e=B.Median;break;case"category":e=B.Category;break}return e}function Ve(i){let e=s(i);if(!g(i.series)&&T(i.series)===c.PieSeries){let r=e.series[0];if(r){if(r.sortLabelsBy==="originalValue")e.sortLabelsBy=r.sortLabelsBy;else if(r.sortLabelsBy!==void 0&&e.orderOptions?.data===void 0){let t=D(e);t!==void 0&&(e.orderOptions??={},e.orderOptions.data=t)}r.sortLabelsBy&&delete r.sortLabelsBy}}return e}function We(i){let e=s(i);return g(i.series)||(X(i)&&i.stackedType===void 0&&(e.stackedType=i.series[0].stackedType??W()),e.series.forEach(r=>{"stackedType"in r&&delete r.stackedType})),e}function _e(i){let e=s(i),r=i.sortOptions?.sortSeriesBy;return e.orderOptions===void 0&&typeof r=="string"&&(e.orderOptions??={},e.orderOptions.series={orderBy:r==="DESC"?v.Descending:v.Ascending}),e}function ze(i){let e=s(i);return e.colorMatch===void 0&&e.series[0]?.colorType!==void 0&&(e.colorMatch=e.series[0]?.colorType===E.Match),e.series.forEach(r=>{r.colorType!==void 0&&delete r.colorType}),e}function He(i){let e=s(i);if(e.sortDataBy!==void 0){if(e.orderOptions?.data===void 0){let r=i.sortDataBy,t=be(r?.sortType);t!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:t,orderBy:r?.sortOrder??v.Ascending})}delete e.sortDataBy}return e}function $e(i){let e=s(i);return e.axes?.forEach(r=>{r!==void 0&&r.scrollbarVisible!==void 0&&r.scrollbar?.visible===void 0&&(r.scrollbar={...r.scrollbar,visible:r.scrollbarVisible},delete r.scrollbarVisible)}),e}function Re(i){let e=s(i),r=e.series[0]?.query?.orderByFields;if(r!==void 0&&r.length>0&&e.orderOptions?.orderByFields===void 0){e.orderOptions??={};let t=!0;if(r.length===1){let{fieldToSort:o,orderBy:n}=h(r[0]),y;o===i.series[0].x||o===P?y=B.Category:"y"in i.series[0]&&o===i.series[0].y&&(y=B.YValue),y!==void 0&&(t=!1,e.orderOptions.data===void 0&&(e.orderOptions.data={orderType:y,orderBy:n?.toUpperCase()==="DESC"?v.Descending:v.Ascending}))}t&&(e.orderOptions.orderByFields=r)}return e.series.forEach(t=>{delete t.query?.orderByFields}),e}function D(i){let e,r=i.orderOptions?.orderByFields?.[0];if(i.series?.length>0){let t=T(i.series),o=O(i.series);if(t!==c.PieSeries&&o!==l.BarAndLineFromFields&&(r=r??i.series[0].x),r&&!A(r)){let{fieldToSort:n,orderBy:y}=h(r),u;n===i.series[0].x||n===P?u=B.Category:"y"in i.series[0]&&n===i.series[0].y&&(u=B.YValue),u!==void 0&&(e={orderType:u,orderBy:y?.toUpperCase()==="DESC"?v.Descending:v.Ascending})}}return e}function Ye(i){let e=s(i),r=i,t=i,o=i,n=i,y=i;if(e){if(e.orderOptions?.series===void 0&&r.sortOptions?.sortSeriesBy!==void 0&&(e.orderOptions??={},e.orderOptions.series={preferLabel:je(t.sortLabelsBy??r.sortOptions.sortSeriesBy.sortType),orderBy:r.sortOptions.sortSeriesBy.sortOrder??v.Ascending}),t.sortLabelsBy==="originalValue"||n.orderOptions?.data?.preferDataLabel===!1||y.orderOptions?.data?.preferLabel===!1)e.orderOptions?.data&&delete e.orderOptions.data;else if(e.orderOptions?.data===void 0)if(T(e.series)===c.BoxPlotSeries){if(t.sortLabelsBy||o.sortOptions?.sortDataBy!==void 0){let u=be(o.sortOptions?.sortDataBy?.sortType);u!==void 0&&(e.orderOptions??={},e.orderOptions.data={orderType:u,orderBy:o.sortOptions?.sortDataBy?.sortOrder??v.Ascending})}}else{let u=D(e);u!==void 0&&(e.orderOptions??={},e.orderOptions.data=u)}"sortLabelsBy"in e&&delete e.sortLabelsBy,"sortOptions"in e&&delete e.sortOptions}return e}function Je(i){let e=s(i);if(e){let r=O(e.series);if((r===l.BarAndLineFromFields||r===l.PieFromFields)&&e.orderOptions?.data===void 0&&e.orderOptions?.orderByFields!==void 0){let t=D(e);t!==void 0&&(e.orderOptions??={},e.orderOptions.data=t,delete e.orderOptions.orderByFields)}}return e}function Qe(i){let e=s(i);return e.horizontalAxisLabelsBehavior===M.NONE&&(e.horizontalAxisLabelsBehavior=w.Hide),e.verticalAxisLabelsBehavior===M.NONE&&(e.verticalAxisLabelsBehavior=w.Hide),e}function Ze(i){let e=s(i),r=e.series[0];if(r&&!r.temporalBinning&&Q(e.series[0])&&("timeIntervalSize"in r||"timeIntervalUnits"in r||"timeAggregationType"in r||"trimIncompleteTimeInterval"in r||"nullPolicy"in r)){if(r.temporalBinning={},r.timeIntervalSize!==void 0&&(r.temporalBinning.size=r.timeIntervalSize,delete r.timeIntervalSize),r.timeIntervalUnits){let t;switch(r.timeIntervalUnits){case"esriTimeUnitsSeconds":t=S.Second;break;case"esriTimeUnitsMinutes":t=S.Minute;break;case"esriTimeUnitsHours":t=S.Hour;break;case"esriTimeUnitsDays":t=S.Day;break;case"esriTimeUnitsWeeks":t=S.Week;break;case"esriTimeUnitsMonths":t=S.Month;break;case"esriTimeUnitsYears":t=S.Year;break}t!==void 0&&(r.temporalBinning.unit=t),delete r.timeIntervalUnits}r.timeAggregationType&&(r.temporalBinning.timeAggregationType=r.timeAggregationType,delete r.timeAggregationType),r.trimIncompleteTimeInterval!==void 0&&(r.temporalBinning.trimIncompleteTimeInterval=r.trimIncompleteTimeInterval,delete r.trimIncompleteTimeInterval),r.nullPolicy&&(r.temporalBinning.nullPolicy=r.nullPolicy,delete r.nullPolicy)}return e}function Ke(i){let e=s(i);return e.series.forEach(r=>{r.query?.outStatistics?.forEach(t=>{t.statisticType==="percentile_cont"?t.statisticType=b.ContinuousPercentile:t.statisticType==="percentile_disc"&&(t.statisticType=b.DiscretePercentile)})}),e}function Xe(i){let e=s(i);return e.subtitle===void 0&&e.subTitle&&(e.subtitle=e.subTitle),delete e.subTitle,e}function et(i){let e=s(i),r=e.series[0];return r?.temporalBinning&&delete r.temporalBinning?.type,e}function tt(i){let e=s(i);return e=Ee(e),e}function ie(i){let e=s(i);return e=Ie(e),e}function re(i){let e=s(i);return e=Ne(e),e}function oe(i){let e=s(i);return e=xe(e),e}function se(i){let e=s(i);return e=Ue(e),e}function ne(i){let e=s(i);return e=Ge(e),e}function ae(i){let e=s(i);return e=Ve(e),e}function de(i){let e=s(i);return e=_e(e),e}function ce(i){let e=s(i);return e=ze(e),e}function le(i){return $e(i)}function ue(i){let e=s(i);return i.series[0]?.type===c.BoxPlotSeries&&(e=He(e)),e}function ye(i){return We(i)}function pe(i){return Ye(i)}function fe(i){return qe(i)}function me(i){return Je(i)}function ve(i){return Qe(i)}function ge(i){return Ze(i)}function Be(i){return Ke(i)}function Te(i){let e=s(i);return e=xe(e),Xe(e)}function Se(i){let e=s(i);return e=et(e),e}function it(i){let{versionsToConvert:e=[],configToUpdate:r}=i,t=s(r);return e.length>0&&t!==void 0&&(t=Re(t),e.includes(q)||e.includes($)?(t=tt(t),t=ie(t),t=re(t),t=oe(t),t=se(t),t=ne(t),t=ae(t),t=de(t),t=ce(t),t=le(t),t=ue(t),t=ye(t),t=pe(t),t=fe(t),t=me(t),t=ve(t),t=ge(t),t=Be(t),t=Te(t),t=Se(t)):e.forEach(o=>{if(t!==void 0)switch(o){case"1.0.1":t=ie(t);break;case"3.4.0":t=re(t);break;case"4.0.0":t=oe(t);break;case"4.0.1":t=se(t);break;case"6.4.0":t=ne(t);break;case"7.5.1":t=ae(t);break;case"8.0.0":t=de(t);break;case"9.2.0":t=ce(t);break;case"9.7.0":t=le(t);break;case"10.0.0":t=ue(t);break;case"11.0.0":t=ye(t);break;case"14.0.1":t=pe(t);break;case"16.0.0":t=fe(t);break;case"16.1.0":t=me(t);break;case"18.1.3":t=ve(t);break;case"20.1.0":t=ge(t);break;case"21.0.0":t=Be(t);break;case"23.2.0":t=Te(t);break;case"24.4.0":t=Se(t);break}}),t.version=N),t}async function dt(i,e,r){let t=i;if(i){let o=_(e);t=await De({configToUpdate:i,layer:o,chartContainer:r});let n=i.version??q,{versionStatus:y,versions:u}=R(n);(y===L.Older||y===L.Unrecognized)&&(t=it({versionsToConvert:u,configToUpdate:t}))}return t}return dt},a)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.50 */
|
|
4
|
+
import"./GN4S6TFX.js";var r={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:"%",_percentSuffix:null,_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:"MS",_era_bc:"M\xD6",A:"\xF6\xF6",P:"\xF6s",AM:"\xD6\xD6",PM:"\xD6S","A.M.":"\xD6\xD6","P.M.":"\xD6S",January:"Ocak",February:"\u015Eubat",March:"Mart",April:"Nisan",May:"May\u0131s",June:"Haziran",July:"Temmuz",August:"A\u011Fustos",September:"Eyl\xFCl",October:"Ekim",November:"Kas\u0131m",December:"Aral\u0131k",Jan:"Oca",Feb:"\u015Eub",Mar:"Mar",Apr:"Nis","May(short)":"May",Jun:"Haz",Jul:"Tem",Aug:"A\u011Fu",Sep:"Eyl",Oct:"Eki",Nov:"Kas",Dec:"Ara",Sunday:"Pazar",Monday:"Pazartesi",Tuesday:"Sal\u0131",Wednesday:"\xC7ar\u015Famba",Thursday:"Per\u015Fembe",Friday:"Cuma",Saturday:"Cumartesi",Sun:"Paz",Mon:"Pzt",Tue:"Sal",Wed:"\xC7ar",Thu:"Per",Fri:"Cum",Sat:"Cmt",_dateOrd:function(a){var e="th";if(a<11||a>13)switch(a%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Yak\u0131nla\u015Ft\u0131r",Play:"Oynat",Stop:"Durdur",Legend:"G\xF6sterge","Click, tap or press ENTER to toggle":"",Loading:"Y\xFCkleniyor",Home:"Giri\u015F Sayfas\u0131",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:"Yazd\u0131r",Image:"G\xF6r\xFCnt\xFC",Data:"Veri",Print:"Yazd\u0131r","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":"Kaynak %1 hedef %2","From %1":"Kaynak %1","To %1":"Hedef %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/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.50 */
|
|
4
|
+
import"./GN4S6TFX.js";var t={_decimalSeparator:",",_thousandSeparator:"\xA0",_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:"jKr.",_era_bc:"eKr.",A:"ap.",P:"ip.",AM:"ap.",PM:"ip.","A.M.":"ap.","P.M.":"ip.",January:"tammikuuta",February:"helmikuuta",March:"maaliskuuta",April:"huhtikuuta",May:"toukokuuta",June:"kes\xE4kuuta",July:"hein\xE4kuuta",August:"elokuuta",September:"syyskuuta",October:"lokakuuta",November:"marraskuuta",December:"joulukuuta",Jan:"tammik.",Feb:"helmik.",Mar:"maalisk.",Apr:"huhtik.","May(short)":"toukok.",Jun:"kes\xE4k.",Jul:"hein\xE4k.",Aug:"elok.",Sep:"syysk.",Oct:"lokak.",Nov:"marrask.",Dec:"jouluk.",Sunday:"sunnuntaina",Monday:"maanantaina",Tuesday:"tiistaina",Wednesday:"keskiviikkona",Thursday:"torstaina",Friday:"perjantaina",Saturday:"lauantaina",Sun:"su",Mon:"ma",Tue:"ti",Wed:"ke",Thu:"to",Fri:"pe",Sat:"la",_dateOrd:function(a){var e="th";if(a<11||a>13)switch(a%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Tarkennus",Play:"Toista",Stop:"Lopeta",Legend:"Selite","Click, tap or press ENTER to toggle":"",Loading:"Ladataan",Home:"Aloitussivu",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:"Tulosta",Image:"kuva",Data:"Data",Print:"Tulosta","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":"Mist\xE4 %1 mihin %2","From %1":"Mist\xE4 %1","To %1":"Mihin %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{t 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/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{b as g}from"./
|
|
3
|
+
v5.0.0-next.50 */
|
|
4
|
+
import{b as g}from"./D544FYGH.js";import d from"./WIMVMWPQ.js";import"./HZDHFDAV.js";import{a as m}from"./7YJCBZVH.js";import b from"./DBSN6SJG.js";import"./NBX37BVN.js";import"./NEKBCXVV.js";import{j as e}from"./SXD252OF.js";import"./YIZOHZ5W.js";import{E as h,g as c,h as i,l as a,w as r,x as p,y as n,z as o}from"./P7NG5ZCK.js";import"./GN4S6TFX.js";export default $arcgis.t(([,,,,,,,,,,,,,,,,{a:d}])=>{var s={selectChartComponent:"select-chart-component",jsAppFlyout:"js-app-flyout",panel:"panel"},f=c`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.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)}.select-chart-component{width:var(--arcgis-charts-config-panel-width);height:var(--arcgis-charts-config-panel-height)}calcite-block{width:var(--arcgis-charts-config-calcite-block-default-width);height:var(--arcgis-charts-config-calcite-block-default-height);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.header{margin:0}.panel{max-height:60vh}`,l=class extends n{constructor(){super(...arguments),this._messages=m(),this.selectChartTypePopover=r(),this.arcgisChartsConfigPopoverClose=a(),this.arcgisChartsConfigSelectChartTypeChange=a()}static{this.properties={messageOverrides:0,headerTitle:1,layerId:1,open:5,referenceElement:0,popoverPlacement:1,selectedModelType:1}}static{this.styles=f}async reposition(){await this.selectChartTypePopover.value?.reposition()}updated(){g(this.selectChartTypePopover.value,this.open),this.hasUpdated||setTimeout(()=>{this.selectChartTypePopover.value?.reposition()},d.PopoverTimer)}buildChartTypesList(){return i`<calcite-list label @click=${this.onChartTypeClick}><calcite-list-item .label=${this._messages.barChart} .value=${e.BarChart} .selected=${this.selectedModelType===e.BarChart}><calcite-icon slot=content-start icon=graph-bar></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.lineChart} .value=${e.LineChart} .selected=${this.selectedModelType===e.LineChart}><calcite-icon slot=content-start icon=graph-time-series></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.pieChart} .value=${e.PieChart} .selected=${this.selectedModelType===e.PieChart}><calcite-icon slot=content-start icon=pie-chart></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.histogram} .value=${e.Histogram} .selected=${this.selectedModelType===e.Histogram}><calcite-icon slot=content-start icon=graph-histogram></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.scatterplot} .value=${e.Scatterplot} .selected=${this.selectedModelType===e.Scatterplot}><calcite-icon slot=content-start icon=graph-scatter-plot></calcite-icon></calcite-list-item><calcite-list-item .label=${this._messages.boxPlot} .value=${e.BoxPlot} .selected=${this.selectedModelType===e.BoxPlot}><calcite-icon slot=content-start icon=box-chart></calcite-icon></calcite-list-item></calcite-list>`}onChartTypeClick(t){t.target?.localName==="calcite-list-item"?this.selectedModelType=t.target?.value:this.selectedModelType=t.target?.parentNode?.value,this.arcgisChartsConfigSelectChartTypeChange.emit()}popoverOpen(){setTimeout(()=>{this.selectChartTypePopover.value?.setFocus()},250)}popoverClose(){this.open=!1,this.arcgisChartsConfigPopoverClose.emit(),setTimeout(()=>{this.referenceElement?.setFocus()},250)}render(){return i`<div class=${o({[s.selectChartComponent]:!0,[s.jsAppFlyout]:!0})}><calcite-popover .referenceElement=${this.referenceElement??document.body} .placement=${this.popoverPlacement} .flipPlacements=${["top","bottom"]} @calcitePopoverOpen=${this.popoverOpen} @calcitePopoverClose=${this.popoverClose} .open=${this.open} auto-close label ${p(this.selectChartTypePopover)}><calcite-panel class=${o(s.panel)} .heading=${this.headerTitle??this._messages.chooseChartType} closable @calcitePanelClose=${this.popoverClose} .closed=${!this.open}>${this.buildChartTypesList()}</calcite-panel></calcite-popover></div>`}};h("arcgis-charts-config-select-chart-type-popover",l);return l},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",b,d)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.50 */
|
|
4
|
+
import"./GN4S6TFX.js";var o={_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_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - dd MMM",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - dd MMM",_date_day:"dd MMM",_date_day_full:"dd MMM",_date_week:"ww",_date_week_full:"dd MMM",_date_month:"MMM",_date_month_full:"MMM, yyyy",_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:"AD",_era_bc:"BC",A:"A",P:"P",AM:"AM",PM:"PM","A.M.":"A.M.","P.M.":"P.M.",January:"Janvier",February:"F\xE9vrier",March:"Mars",April:"Avril",May:"Mai",June:"Juin",July:"Juillet",August:"Ao\xFBt",September:"Septembre",October:"Octobre",November:"Novembre",December:"D\xE9cembre",Jan:"Jan",Feb:"F\xE9v",Mar:"Mar",Apr:"Avr","May(short)":"Mai",Jun:"Jui",Jul:"Jul",Aug:"Ao\xFB",Sep:"Sep",Oct:"Oct",Nov:"Nov",Dec:"D\xE9c",Sunday:"Dimanche",Monday:"Lundi",Tuesday:"Mardi",Wednesday:"Mercredi",Thursday:"Jeudi",Friday:"Vendredi",Saturday:"Samedi",Sun:"Dim",Mon:"Lun",Tue:"Mar",Wed:"Mer",Thu:"Jeu",Fri:"Ven",Sat:"Sam",_dateOrd:function(e){let r="e";if(e<11||e>13)switch(e%10){case 1:r="er";break}return r},"Zoom Out":"Zoom Arri\xE8re",Play:"Joue",Stop:"Arr\xEAte",Legend:"L\xE9gende","Press ENTER to toggle":"cliquez, appuyez ou appuyez sur entr\xE9e pour basculer",Loading:"Charger",Home:"Accueil",Chart:"Graphique","Serial chart":"Graphique s\xE9rial","X/Y chart":"Graphique X/Y","Pie chart":"Camembert","Gauge chart":"Jauge graphique","Radar chart":"Carte radar","Sankey diagram":"Graphique Sankey","Flow diagram":"repr\xE9sentation sch\xE9matique","Chord diagram":"diagramme d'accord","TreeMap chart":"carte de l'arbre","Sliced chart":"graphique en tranches",Series:"S\xE9ries","Candlestick Series":"S\xE9ries chandelier","OHLC Series":"S\xE9ries OHLC","Column Series":"S\xE9ries de colonnes","Line Series":"S\xE9rie de lignes","Pie Slice Series":"Tarte tranche S\xE9ries","Funnel Series":"S\xE9ries d'entonnoir","Pyramid Series":"S\xE9ries pyramidale","X/Y Series":"S\xE9ries X/Y",Map:"Mappe","Press ENTER to zoom in":"Appuyez sur ENTER pour zoomer","Press ENTER to zoom out":"Appuyez sur ENTER pour effectuer un zoom arri\xE8re","Use arrow keys to zoom in and out":"Utilisez les touches fl\xE9ch\xE9es pour zoomer et d\xE9zoomer","Use plus and minus keys on your keyboard to zoom in and out":"Utilisez les touches plus et moins de votre clavier pour effectuer un zoom avant ou arri\xE8re",Export:"Exporter",Image:"Image",Data:"Data",Print:"Imprimer","Press ENTER to open":"Cliquez, appuyez ou appuyez sur ENTER pour ouvrir","Press ENTER to print.":"Cliquez, appuyez ou appuyez sur ENTER pour imprimer","Press ENTER to export as %1.":"Cliquez, appuyez ou appuyez sur ENTER pour exporter comme %1","(Press ESC to close this message)":"(Appuyez sur ESC pour fermer ce message)","Image Export Complete":"Exportation d'image termin\xE9e","Export operation took longer than expected. Something might have gone wrong.":"L'exportation a pris plus de temps que pr\xE9vu. Quelque chose aurait mal tourn\xE9.","Saved from":"Enregistr\xE9 de",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Utilisez la touche TAB pour s\xE9lectionner les boutons des poign\xE9es ou les fl\xE8ches gauche et droite pour modifier la s\xE9lection.","Use left and right arrows to move selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection","Use left and right arrows to move left selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection gauche","Use left and right arrows to move right selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection droite","Use TAB select grip buttons or up and down arrows to change selection":"Utilisez les boutons de s\xE9lection TAB ou les fl\xE8ches vers le haut et le bas pour modifier la s\xE9lection.","Use up and down arrows to move selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection","Use up and down arrows to move lower selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection inf\xE9rieure","Use up and down arrows to move upper selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection sup\xE9rieure","From %1 to %2":"De %1 \xE0 %2","From %1":"De %1","To %1":"\xE0 %1","No parser available for file: %1":"Aucun analyseur disponible pour le fichier: %1","Error parsing file: %1":"Erreur d'analyse du fichier: %1","Unable to load file: %1":"Impossible de charger le fichier: %1","Invalid date":"Date invalide",Close:"",Minimize:"",Confirm:""};export{o 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/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.50 */
|
|
4
|
+
import"./GN4S6TFX.js";var a={_decimalSeparator:",",_thousandSeparator:"\xA0",_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_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_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:"n.e.",_era_bc:"p.n.e.",A:"a",P:"p",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"stycznia",February:"lutego",March:"marca",April:"kwietnia",May:"maja",June:"czerwca",July:"lipca",August:"sierpnia",September:"wrze\u015Bnia",October:"pa\u017Adziernika",November:"listopada",December:"grudnia",Jan:"sty",Feb:"lut",Mar:"mar",Apr:"kwi","May(short)":"maj",Jun:"cze",Jul:"lip",Aug:"sie",Sep:"wrz",Oct:"pa\u017A",Nov:"lis",Dec:"gru",Sunday:"niedziela",Monday:"poniedzia\u0142ek",Tuesday:"wtorek",Wednesday:"\u015Broda",Thursday:"czwartek",Friday:"pi\u0105tek",Saturday:"sobota",Sun:"niedz.",Mon:"pon.",Tue:"wt.",Wed:"\u015Br.",Thu:"czw.",Fri:"pt.",Sat:"sob.",_dateOrd:function(_){let 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":"Zmiana skali",Play:"Odtwarzanie",Stop:"Zatrzymaj",Legend:"Legenda","Press ENTER to toggle":"",Loading:"Wczytywanie",Home:"Strona g\u0142\xF3wna",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:"Drukuj",Image:"Obraz",Data:"Dane",Print:"Drukuj","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(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:"",HTML:"","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":"Od %1 do %2","From %1":"Od %1","To %1":"Do %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{a 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/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import e from"./
|
|
3
|
+
v5.0.0-next.50 */
|
|
4
|
+
import e from"./WIMVMWPQ.js";import"./HZDHFDAV.js";import{a as b}from"./7YJCBZVH.js";import c from"./DBSN6SJG.js";import"./NBX37BVN.js";import"./NEKBCXVV.js";import"./SXD252OF.js";import"./YIZOHZ5W.js";import{E as g,g as o,h as l,l as u,w as h,x as d,y as p,z as a}from"./P7NG5ZCK.js";import"./GN4S6TFX.js";export default $arcgis.t(([,{f:f,g:x,h:r,i:m}])=>{var n={container:"container",label:"label",numberInput:"number-input"},w=o`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.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)}.container{width:var(--arcgis-charts-config-calcite-block-width, var(--arcgis-charts-config-calcite-block-default-width));height:var(--arcgis-charts-config-calcite-block-height, var(--arcgis-charts-config-calcite-block-default-height));margin-top:.5rem}.container>.number-input{margin-bottom:.5rem;display:flex}.container>.number-input>div{width:100%}.label{display:flex;margin-bottom:.5rem;justify-content:space-between}`,c=class extends p{constructor(){super(...arguments),this._messages=b(),this.decimalPlacesInputElement=h(),this.arcgisChartsConfigNumberFormatChange=u()}static{this.properties={messageOverrides:0,numberFormat:0}}static{this.styles=w}onDecimalPlacesChange(){let t=this.decimalPlacesInputElement.value?.value,i=Math.floor(Number(t)),s=i===Number(t)&&i>=0;if(t!==void 0&&s&&f(t,this.decimalPlacesInputElement.value?.min,this.decimalPlacesInputElement.value?.max)){let v=Number.parseInt(t),e={minimumFractionDigits:this.numberFormat?.minimumFractionDigits,maximumFractionDigits:v};e.maximumFractionDigits!==void 0&&e.minimumFractionDigits!==void 0&&e.minimumFractionDigits>e.maximumFractionDigits&&(e.minimumFractionDigits=e.maximumFractionDigits);let F=this.getUpdatedNumberFormat(e);this.arcgisChartsConfigNumberFormatChange.emit(F),this.decimalPlacesInputElement.value&&r({inputElement:this.decimalPlacesInputElement.value,status:m.IDLE})}else this.decimalPlacesInputElement.value&&r({inputElement:this.decimalPlacesInputElement.value,status:m.INVALID})}onShowThousandsSeparatorChange(t){let i=t.target.checked,s=this.getUpdatedNumberFormat({useGrouping:i});this.arcgisChartsConfigNumberFormatChange.emit(s)}getUpdatedNumberFormat(t){return{...this.numberFormat,...t}}render(){return l`<div class=${a(n.container)}><calcite-label class=${a(n.label)}>${this._messages.decimalPlaces}<calcite-input type=number class=${a(n.numberInput)} min=0 max=20 step=1 .value=${x(this.numberFormat?.maximumFractionDigits,2)} @calciteInputInput=${this.onDecimalPlacesChange} ${d(this.decimalPlacesInputElement)}></calcite-input></calcite-label><calcite-label layout=inline-space-between class=${a(n.label)}>${this._messages.showThousandSeparators}<calcite-switch name=useGrouping .checked=${!!(this.numberFormat?.useGrouping??!0)} @calciteSwitchChange=${this.onShowThousandsSeparatorChange}></calcite-switch></calcite-label></div>`}};g("arcgis-charts-config-number-format",c);return c},c,e)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{a as t,b as r,c as n}from"./
|
|
3
|
+
v5.0.0-next.50 */
|
|
4
|
+
import{a as t,b as r,c as n}from"./OI7F6IK6.js";import{j as i}from"./SXD252OF.js";async function Y(s){let o="config"in s?r(s.config):s.chartType,e;if(!("layer"in s)&&!("iLayer"in s)&&"config"in s&&s.config.iLayer===void 0)throw new Error("The source is missing. You can provide it to createModel through either `iLayer`, `layer`, or by setting the `config.iLayer` property.");switch(o){case i.LineChart:{let{LineChartModel:a}=await import("./PBFPIYFR.js").then(m=>m.default.then(e=>({LineChartModel:e})));e=new a;break}case i.ComboBarLineChart:{let{ComboBarLineChartModel:a}=await import("./XOJUQ6ZN.js").then(m=>m.default.then(e=>({ComboBarLineChartModel:e})));e=new a;break}case i.PieChart:{let{PieChartModel:a}=await import("./BIH53AYJ.js").then(m=>m.default.then(e=>({PieChartModel:e})));e=new a;break}case i.Histogram:{let{HistogramModel:a}=await import("./UGMLNPIU.js").then(m=>m.default.then(e=>({HistogramModel:e})));e=new a;break}case i.Scatterplot:{let{ScatterplotModel:a}=await import("./UDV5BQ27.js").then(m=>m.default.then(e=>({ScatterplotModel:e})));e=new a;break}case i.BoxPlot:{let{BoxPlotModel:a}=await import("./LTULSJDN.js").then(m=>m.default.then(e=>({BoxPlotModel:e})));e=new a;break}case i.Gauge:{let{GaugeModel:a}=await import("./QB2ZPNI4.js").then(m=>m.default.then(e=>({GaugeModel:e})));e=new a;break}case i.RadarChart:{let{RadarChartModel:a}=await import("./S5JPO4P5.js").then(m=>m.default.then(e=>({RadarChartModel:e})));e=new a;break}case i.HeatChart:{let{HeatChartModel:a}=await import("./3JW7C2KJ.js").then(m=>m.default.then(e=>({HeatChartModel:e})));e=new a;break}case i.BarChart:default:{let{BarChartModel:a}=await import("./NARPXZA3.js").then(m=>m.default.then(e=>({BarChartModel:e})));e=new a;break}}if(await e?.setup({layer:"layer"in s?s.layer:void 0,iLayer:"iLayer"in s?s.iLayer:void 0,config:"config"in s?s.config:void 0}),o!==void 0&&n(e,o))return e;{let a=t(e.chartType);throw new Error(`Please check the arguments provided to \`createModel\`. The generated model's type (\`${a}\`) does not match the type specified by either the \`chartType\` or the \`config\` argument (\`${o}\`).`)}}export{Y as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{j as r,p as s,q as i,t as o}from"./
|
|
3
|
+
v5.0.0-next.50 */
|
|
4
|
+
import{j as r,p as s,q as i,t as o}from"./P7NG5ZCK.js";var u=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,m]){return e!==this.key&&(o(t),this.key=e),m}});export{u as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.50 */
|
|
4
|
+
import"./GN4S6TFX.js";var o={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_date_millisecond:"mm::ss SSS",_date_second:"hh:mm:ss a",_date_minute:"hh:mm a",_date_hour:"hh:mm a",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"",February:"",March:"",April:"",May:"",June:"",July:"",August:"",September:"",October:"",November:"",December:"",Jan:"",Feb:"",Mar:"",Apr:"","May(short)":"May",Jun:"",Jul:"",Aug:"",Sep:"",Oct:"",Nov:"",Dec:"",Sunday:"",Monday:"",Tuesday:"",Wednesday:"",Thursday:"",Friday:"",Saturday:"",Sun:"",Mon:"",Tue:"",Wed:"",Thu:"",Fri:"",Sat:"",_dateOrd:function(a){var e="th";if(a<11||a>13)switch(a%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},Play:"",Stop:"","Zoom Out":"",Legend:"","Click, tap or press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Chord diagram":"","Flow diagram":"","TreeMap chart":"",Series:"","Candlestick Series":"","Column Series":"","Line Series":"","Pie Slice 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:"",Image:"",Data:"",Print:"","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":"","From %1":"","To %1":"","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{o as default};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.50 */
|
|
4
|
+
import"./GN4S6TFX.js";var G=function(o,e){return(G=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,s){t.__proto__=s}||function(t,s){for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(t[r]=s[r])})(o,e)};function u(o,e){function t(){this.constructor=o}G(o,e),o.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}function H(o,e,t,s){return new(t||(t=Promise))(function(r,i){function n(p){try{c(s.next(p))}catch(l){i(l)}}function a(p){try{c(s.throw(p))}catch(l){i(l)}}function c(p){var l;p.done?r(p.value):(l=p.value,l instanceof t?l:new t(function(d){d(l)})).then(n,a)}c((s=s.apply(o,e||[])).next())})}function z(o,e){var t,s,r,i,n={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(c){return function(p){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;n;)try{if(t=1,s&&(r=2&l[0]?s.return:l[0]?s.throw||((r=s.return)&&r.call(s),0):s.next)&&!(r=r.call(s,l[1])).done)return r;switch(s=0,r&&(l=[2&l[0],r.value]),l[0]){case 0:case 1:r=l;break;case 4:return n.label++,{value:l[1],done:!1};case 5:n.label++,s=l[1],l=[0];continue;case 7:l=n.ops.pop(),n.trys.pop();continue;default:if(r=n.trys,!((r=r.length>0&&r[r.length-1])||l[0]!==6&&l[0]!==2)){n=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){n.label=l[1];break}if(l[0]===6&&n.label<r[1]){n.label=r[1],r=l;break}if(r&&n.label<r[2]){n.label=r[2],n.ops.push(l);break}r[2]&&n.ops.pop(),n.trys.pop();continue}l=e.call(o,n)}catch(d){l=[6,d],s=0}finally{t=r=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([c,p])}}}function E(){for(var o=0,e=0,t=arguments.length;e<t;e++)o+=arguments[e].length;var s=Array(o),r=0;for(e=0;e<t;e++)for(var i=arguments[e],n=0,a=i.length;n<a;n++,r++)s[r]=i[n];return s}var h=function(){function o(){}return o.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},o.setAttributes=function(e,t){for(var s=0,r=t;s<r.length;s++){var i=r[s],n=i[0],a=i[1];e.setAttribute(n,a)}},o.createRect=function(e,t,s){var r=document.createElementNS("http://www.w3.org/2000/svg","rect");return r.setAttribute("width",e.toString()),r.setAttribute("height",t.toString()),s&&o.setAttributes(r,s),r},o.createLine=function(e,t,s,r,i){var n=document.createElementNS("http://www.w3.org/2000/svg","line");return n.setAttribute("x1",e.toString()),n.setAttribute("y1",t.toString()),n.setAttribute("x2",s.toString()),n.setAttribute("y2",r.toString()),i&&o.setAttributes(n,i),n},o.createPolygon=function(e,t){var s=document.createElementNS("http://www.w3.org/2000/svg","polygon");return s.setAttribute("points",e),t&&o.setAttributes(s,t),s},o.createCircle=function(e,t){var s=document.createElementNS("http://www.w3.org/2000/svg","circle");return s.setAttribute("cx",(e/2).toString()),s.setAttribute("cy",(e/2).toString()),s.setAttribute("r",e.toString()),t&&o.setAttributes(s,t),s},o.createEllipse=function(e,t,s){var r=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return r.setAttribute("cx",(e/2).toString()),r.setAttribute("cy",(t/2).toString()),r.setAttribute("rx",(e/2).toString()),r.setAttribute("ry",(t/2).toString()),s&&o.setAttributes(r,s),r},o.createGroup=function(e){var t=document.createElementNS("http://www.w3.org/2000/svg","g");return e&&o.setAttributes(t,e),t},o.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},o.createMarker=function(e,t,s,r,i,n,a){var c=document.createElementNS("http://www.w3.org/2000/svg","marker");return o.setAttributes(c,[["id",e],["orient",t],["markerWidth",s.toString()],["markerHeight",r.toString()],["refX",i.toString()],["refY",n.toString()]]),c.appendChild(a),c},o.createText=function(e){var t=document.createElementNS("http://www.w3.org/2000/svg","text");return t.setAttribute("x","0"),t.setAttribute("y","0"),e&&o.setAttributes(t,e),t},o.createTSpan=function(e,t){var s=document.createElementNS("http://www.w3.org/2000/svg","tspan");return s.textContent=e,t&&o.setAttributes(s,t),s},o.createImage=function(e){var t=document.createElementNS("http://www.w3.org/2000/svg","image");return e&&o.setAttributes(t,e),t},o.createPoint=function(e,t){var s=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return s.x=e,s.y=t,s},o.createPath=function(e,t){var s=document.createElementNS("http://www.w3.org/2000/svg","path");return s.setAttribute("d",e),t&&o.setAttributes(s,t),s},o}(),R=function(){function o(){}return o.addKey=function(e){o.key=e},Object.defineProperty(o,"isLicensed",{get:function(){return!!o.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(o.key)},enumerable:!1,configurable:!0}),o}(),J=function(){function o(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return o.prototype.rasterize=function(e,t,s){var r=this;return new Promise(function(i){var n=s!==void 0?s:document.createElement("canvas");e===null&&(r.markersOnly=!0,r.naturalSize=!1);var a=document.createElementNS("http://www.w3.org/2000/svg","svg");a.setAttribute("xmlns","http://www.w3.org/2000/svg"),a.setAttribute("width",t.width.baseVal.valueAsString),a.setAttribute("height",t.height.baseVal.valueAsString),a.setAttribute("viewBox","0 0 "+t.viewBox.baseVal.width.toString()+" "+t.viewBox.baseVal.height.toString()),a.innerHTML=t.innerHTML,r.naturalSize===!0?(a.width.baseVal.value=e.naturalWidth,a.height.baseVal.value=e.naturalHeight):r.width!==void 0&&r.height!==void 0&&(a.width.baseVal.value=r.width,a.height.baseVal.value=r.height),n.width=a.width.baseVal.value,n.height=a.height.baseVal.value;var c=a.outerHTML,p=n.getContext("2d");r.markersOnly!==!0&&p.drawImage(e,0,0,n.width,n.height);var l=window.URL,d=new Image(n.width,n.height);d.setAttribute("crossOrigin","anonymous");var f=new Blob([c],{type:"image/svg+xml"}),C=l.createObjectURL(f);d.onload=function(){p.drawImage(d,0,0),l.revokeObjectURL(C);var K=n.toDataURL(r.imageType,r.imageQuality);i(K)},d.src=C})},o}(),O=function(){},Q=function(){function o(e){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+e+"_"}return Object.defineProperty(o.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"defaultSettings",{get:function(){return{canvasBackgroundColor:"#ffffff",toolbarBackgroundColor:"#111111",toolbarBackgroundHoverColor:"#333333",toolbarColor:"#eeeeee",toolbarHeight:40,toolboxColor:"#eeeeee",toolboxAccentColor:"#3080c3",undoButtonVisible:!0,redoButtonVisible:!1,zoomButtonVisible:!1,zoomOutButtonVisible:!1,clearButtonVisible:!1,resultButtonBlockVisible:!0,logoPosition:"left"}},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),o.prototype.addClass=function(e){return this.styleSheet===void 0&&this.addStyleSheet(),e.name=""+this.classNamePrefix+e.localName,this.classes.push(e),this.styleSheet.sheet.insertRule("."+e.name+" {"+e.style+"}",this.styleSheet.sheet.cssRules.length),e},o.prototype.addRule=function(e){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(e),this.styleSheet.sheet.insertRule(e.selector+" {"+e.style+"}",this.styleSheet.sheet.cssRules.length)},o.prototype.addStyleSheet=function(){var e;this.styleSheet=document.createElement("style"),((e=this.styleSheetRoot)!==null&&e!==void 0?e:document.head).appendChild(this.styleSheet),this.addRule(new m("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new m("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
|
|
5
5
|
from {
|
|
6
6
|
opacity: 0;
|
|
7
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{a as p}from"./DRC4O5GL.js";import{a as I,b as E}from"./O4JG2BP5.js";import b from"./5QGVWW2U.js";import"./YQXR2BS3.js";import{a as c}from"./WMPWKRBS.js";import a from"./PMZ44O6H.js";import{g as m}from"./W5QKHMC2.js";import"./IZCO4F3W.js";import"./WGWCNZX4.js";import{a as l}from"./E6O5AA4G.js";import{C as v,E as C,g as f,h as n,w as h,x as r,y as N,z as o}from"./STNYI3SF.js";import"./RQK377XG.js";export default $arcgis.t(([,{a:g,f:M,g:x,h:B,i:i}])=>{var d={linkContainer:"link-container",label:"label",mb2:"mb-2"},L=f`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.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)}calcite-block{width:var(--arcgis-charts-config-calcite-block-width, var(--arcgis-charts-config-calcite-block-default-width));height:var(--arcgis-charts-config-calcite-block-height, var(--arcgis-charts-config-calcite-block-default-height));border:0px;-webkit-box-shadow:0 0 0 0;box-shadow:0 0}.label{display:flex;justify-content:space-between}.mb-2{margin-bottom:var(--arcgis-charts-config-margin-minor)}.link-container{display:flex;justify-content:flex-end;margin-top:-.75rem}`,b=class extends N{constructor(){super(...arguments),this._messages=c(),this.commonStrings=c({name:"common",blocking:!0}),this.axisModel=new p,this.minBoundInputElement=h(),this.maxBoundInputElement=h(),this.showLogScaleSwitch=h(),this.defaultMinBound=Number.NaN,this.defaultMaxBound=Number.NaN,this.onMaxBoundsChange=()=>{let e=this.maxBoundInputElement.value?.value,t=this.maxBoundInputElement.value?.status;if(e!==void 0&&e!==""){let s=this.maxBoundInputElement.value?.min===void 0?this.axisModel.getMinBound():Math.max(this.maxBoundInputElement.value.min,this.axisModel.getMinBound()),a=Number.parseFloat(e);if(a!==this.axisModel.getMinBound()&&M(a,s,this.maxBoundInputElement.value?.max)){if(a!==this.axisModel.getMaxBound()){this.axisModel.setMaxBound(a);let u=this.getAxisBoundsFromStateStore();u&&(u.currMaxBound=a)}t=i.IDLE}else t=i.INVALID}else t=i.IDLE;this.maxBoundInputElement.value&&B({inputElement:this.maxBoundInputElement.value,status:t}),t!==i.INVALID&&this.minBoundInputElement.value?.status===i.INVALID&&this.onMinBoundsChange(),this.requestUpdate()},this.onMaxBoundsChangeDebounced=m(this.onMaxBoundsChange,g.DebounceTimer),this.onMinBoundsChange=()=>{let e=this.minBoundInputElement.value?.value,t=this.minBoundInputElement.value?.status;if(e!==void 0&&e!==""){let s=this.minBoundInputElement.value?.max===void 0?this.axisModel.getMaxBound():Math.min(this.minBoundInputElement.value.max,this.axisModel.getMaxBound()),a=Number.parseFloat(e);if(a!==this.axisModel.getMaxBound()&&M(a,this.minBoundInputElement.value?.min,s)){if(a!==this.axisModel.getMinBound()){this.axisModel.setMinBound(a);let u=this.getAxisBoundsFromStateStore();u&&(u.currMinBound=a)}t=i.IDLE}else t=i.INVALID}else t=i.IDLE;this.minBoundInputElement.value&&B({inputElement:this.minBoundInputElement.value,status:t}),t!==i.INVALID&&this.maxBoundInputElement.value?.status===i.INVALID&&this.onMaxBoundsChange(),this.updateEnableLogarithmic(this.axisModel.getLogarithmic()&&(this.dataMinValue??Number.NaN)>0),this.requestUpdate()},this.onMinBoundsChangeDebounced=m(this.onMinBoundsChange,g.DebounceTimer),this.onModelConfigChange=()=>{this.requestUpdate()},this.disableMaxBoundResetBtn=!0,this.disableMinBoundResetBtn=!0,this.isXAxis=!1,this.axisTitle=""}static{this.properties={disableMaxBoundResetBtn:16,disableMinBoundResetBtn:16,messageOverrides:0,model:0,isXAxis:5,axisTitle:1,maxBoundMaxLimit:9,maxBoundMinLimit:9,minBoundMinLimit:9,minBoundMaxLimit:9,showMaxBoundOption:5,showMinBoundOption:5,showEnableLogOption:5,dataMaxValue:9,dataMinValue:9,initialMaxBound:9,initialMinBound:9}}static{this.styles=L}load(){this.modelChange(this.model),this.dataMinValue!==void 0&&this.dataMinValueChange(this.dataMinValue,Number.NaN),this.dataMaxValue!==void 0&&this.dataMaxValueChange(this.dataMaxValue,Number.NaN)}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("dataMinValue")&&this.dataMinValueChange(this.dataMinValue??Number.NaN,e.get("dataMinValue")),e.has("dataMaxValue")&&this.dataMaxValueChange(this.dataMaxValue??Number.NaN,e.get("dataMaxValue")),e.has("initialMaxBound")&&this.initialMaxBoundChange(),e.has("initialMinBound")&&this.initialMinBoundChange()}updated(){this.disableResetButtons()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,t){this.axisModel=new p(this.model,this.isXAxis),t?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}dataMinValueChange(e,t){Number.isNaN(t)&&!Number.isNaN(e)&&(this.defaultMinBound=e)}dataMaxValueChange(e,t){Number.isNaN(t)&&!Number.isNaN(e)&&(this.defaultMaxBound=e)}initialMaxBoundChange(){Number.isNaN(this.axisModel.getMaxBound())||this.axisModel.setMaxBound(this.axisModel.getMaxBound())}initialMinBoundChange(){Number.isNaN(this.axisModel.getMinBound())||this.axisModel.setMinBound(this.axisModel.getMinBound())}getAxisBoundsFromStateStore(){let e,t=I.chartAxesBoundDataMap,s=this.model.chartId;if(s){let a=E({chartId:s,isXAxis:this.isXAxis,isLogarithmic:this.axisModel.getLogarithmic()});e=t[s]?.[a]}return e}disableResetButtons(){let e=this.getAxisBoundsFromStateStore();e&&(this.disableMaxBoundResetBtn=e.defaultMaxBound===e.currMaxBound,this.disableMinBoundResetBtn=e.defaultMinBound===e.currMinBound)}onShowLogScaleMouseEnter(){this.showLogScaleTooltip?.remove(),this.showLogScaleSwitch.value?.disabled&&(this.showLogScaleTooltip=v(n`<calcite-tooltip .referenceElement=${this.showLogScaleSwitch.value??document.body} open>${this.commonStrings.utilsStrings.tooltips?.logDisabled??""}</calcite-tooltip>`),document.body.appendChild(this.showLogScaleTooltip))}onShowLogScaleMouseLeave(){this.showLogScaleTooltip?.remove()}onCategoryFormatChange(e){this.axisModel.setValueFormat(e.target.categoryFormat)}updateEnableLogarithmic(e){e!==this.axisModel.getLogarithmic()&&(this.axisModel.setLogarithmic(e),this.requestUpdate())}onNumberFormatChange(e){this.axisModel.setValueFormat({type:l.NumberAxisFormat,intlOptions:e.detail}),this.requestUpdate()}onRevertMaxBoundsToDefault(){if(this.maxBoundInputElement.value?.status===i.INVALID||this.axisModel.getMaxBound()!==this.defaultMaxBound){let e=this.getAxisBoundsFromStateStore();this.axisModel.getMinBound()>this.defaultMaxBound&&this.axisModel.setMinBound(e?.defaultMinBound??Number.NaN),this.axisModel.setMaxBound(e?.defaultMaxBound??Number.NaN),this.requestUpdate()}}onRevertMinBoundsToDefault(){(this.minBoundInputElement.value?.status===i.INVALID||this.axisModel.getMinBound()!==this.defaultMinBound)&&(this.axisModel.getMaxBound()<this.defaultMinBound&&this.axisModel.setMaxBound(Number.NaN),this.axisModel.setMinBound(Number.NaN),this.requestUpdate())}enableLogScale(e){let{checked:t}=e.target;this.axisModel.setLogarithmic(t&&(this.dataMinValue??Number.NaN)>0),this.requestUpdate()}render(){return n`<calcite-block .hidden=${this.axisModel.getValueFormat()?.type===l.DateAxisFormat} expanded .heading=${this.axisTitle}>${this.renderAxis()}</calcite-block>`}renderAxis(){let e=null,t={...this.axisModel.getValueFormat()};switch(this.axisModel.getValueFormat()?.type){case l.CategoryAxisFormat:e=n`<arcgis-charts-config-category-format .categoryFormat=${t} @arcgisChartsConfigCategoryFormatChange=${this.onCategoryFormatChange}></arcgis-charts-config-category-format>`;break;case l.NumberAxisFormat:e=n`<div>${this.renderShowLogScale()}${this.renderMinBound()}${this.renderMaxBound()}<arcgis-charts-config-number-format .numberFormat=${{...t.intlOptions}} @arcgisChartsConfigNumberFormatChange=${this.onNumberFormatChange}></arcgis-charts-config-number-format></div>`;break;case l.DateAxisFormat:e=null;break}return e}renderMaxBound(){let e;if(!this.showMaxBoundOption)e=null;else{let t=x(this.axisModel.getMaxBound(),this.initialMaxBound);e=n`<div><calcite-label class=${o(d.label)}>${this._messages.maxBounds}<calcite-input type=number number-button-type=none .min=${this.maxBoundMinLimit??Number.MIN_SAFE_INTEGER} .max=${this.maxBoundMaxLimit??Number.MAX_SAFE_INTEGER} step=any .value=${t} @calciteInputInput=${this.onMaxBoundsChangeDebounced} ${r(this.maxBoundInputElement)}></calcite-input></calcite-label><div class=${o(d.linkContainer)}><calcite-button .disabled=${this.disableMaxBoundResetBtn} @click=${this.onRevertMaxBoundsToDefault} appearance=transparent icon-end=reset>${this._messages.revertToDefault}</calcite-button></div></div>`}return e}renderMinBound(){let e;if(!this.showMinBoundOption)e=null;else{let t=x(this.axisModel.getMinBound(),this.initialMinBound??void 0);e=n`<div><calcite-label class=${o(d.label)}>${this._messages.minBounds}<calcite-input type=number number-button-type=none .min=${this.minBoundMinLimit??Number.MIN_SAFE_INTEGER} .max=${this.minBoundMaxLimit??Number.MAX_SAFE_INTEGER} step=any .value=${t} @calciteInputInput=${this.onMinBoundsChangeDebounced} ${r(this.minBoundInputElement)}></calcite-input></calcite-label><div class=${o(d.linkContainer)}><calcite-button .disabled=${this.disableMinBoundResetBtn} appearance=transparent icon-end=reset @click=${this.onRevertMinBoundsToDefault}>${this._messages.revertToDefault}</calcite-button></div></div>`}return e}renderShowLogScale(){let e;return this.showEnableLogOption&&(e=n`<calcite-label layout=inline-space-between class=${o({[d.label]:!0,[d.mb2]:!0})}>${this._messages.logScale}<div @mouseenter=${this.onShowLogScaleMouseEnter} @mouseleave=${this.onShowLogScaleMouseLeave}><calcite-switch .checked=${this.axisModel.getLogarithmic()&&(this.dataMinValue??Number.NaN)>0} .disabled=${(this.dataMinValue??Number.NaN)<=0} @calciteSwitchChange=${this.enableLogScale} ${r(this.showLogScaleSwitch)}></calcite-switch></div></calcite-label>`),e}};C("arcgis-charts-config-axis",b);return b},a,b)
|
|
3
|
+
v5.0.0-next.50 */
|
|
4
|
+
import{a as p}from"./VH3JYV73.js";import{a as I,b as E}from"./JU2I4345.js";import b from"./WIMVMWPQ.js";import"./HZDHFDAV.js";import{a as c}from"./7YJCBZVH.js";import a from"./DBSN6SJG.js";import{g as m}from"./NBX37BVN.js";import"./NEKBCXVV.js";import"./SXD252OF.js";import{a as l}from"./YIZOHZ5W.js";import{C as v,E as C,g as f,h as n,w as h,x as r,y as N,z as o}from"./P7NG5ZCK.js";import"./GN4S6TFX.js";export default $arcgis.t(([,{a:g,f:M,g:x,h:B,i:i}])=>{var d={linkContainer:"link-container",label:"label",mb2:"mb-2"},L=f`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.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)}calcite-block{width:var(--arcgis-charts-config-calcite-block-width, var(--arcgis-charts-config-calcite-block-default-width));height:var(--arcgis-charts-config-calcite-block-height, var(--arcgis-charts-config-calcite-block-default-height));border:0px;-webkit-box-shadow:0 0 0 0;box-shadow:0 0}.label{display:flex;justify-content:space-between}.mb-2{margin-bottom:var(--arcgis-charts-config-margin-minor)}.link-container{display:flex;justify-content:flex-end;margin-top:-.75rem}`,b=class extends N{constructor(){super(...arguments),this._messages=c(),this.commonStrings=c({name:"common",blocking:!0}),this.axisModel=new p,this.minBoundInputElement=h(),this.maxBoundInputElement=h(),this.showLogScaleSwitch=h(),this.defaultMinBound=Number.NaN,this.defaultMaxBound=Number.NaN,this.onMaxBoundsChange=()=>{let e=this.maxBoundInputElement.value?.value,t=this.maxBoundInputElement.value?.status;if(e!==void 0&&e!==""){let s=this.maxBoundInputElement.value?.min===void 0?this.axisModel.getMinBound():Math.max(this.maxBoundInputElement.value.min,this.axisModel.getMinBound()),a=Number.parseFloat(e);if(a!==this.axisModel.getMinBound()&&M(a,s,this.maxBoundInputElement.value?.max)){if(a!==this.axisModel.getMaxBound()){this.axisModel.setMaxBound(a);let u=this.getAxisBoundsFromStateStore();u&&(u.currMaxBound=a)}t=i.IDLE}else t=i.INVALID}else t=i.IDLE;this.maxBoundInputElement.value&&B({inputElement:this.maxBoundInputElement.value,status:t}),t!==i.INVALID&&this.minBoundInputElement.value?.status===i.INVALID&&this.onMinBoundsChange(),this.requestUpdate()},this.onMaxBoundsChangeDebounced=m(this.onMaxBoundsChange,g.DebounceTimer),this.onMinBoundsChange=()=>{let e=this.minBoundInputElement.value?.value,t=this.minBoundInputElement.value?.status;if(e!==void 0&&e!==""){let s=this.minBoundInputElement.value?.max===void 0?this.axisModel.getMaxBound():Math.min(this.minBoundInputElement.value.max,this.axisModel.getMaxBound()),a=Number.parseFloat(e);if(a!==this.axisModel.getMaxBound()&&M(a,this.minBoundInputElement.value?.min,s)){if(a!==this.axisModel.getMinBound()){this.axisModel.setMinBound(a);let u=this.getAxisBoundsFromStateStore();u&&(u.currMinBound=a)}t=i.IDLE}else t=i.INVALID}else t=i.IDLE;this.minBoundInputElement.value&&B({inputElement:this.minBoundInputElement.value,status:t}),t!==i.INVALID&&this.maxBoundInputElement.value?.status===i.INVALID&&this.onMaxBoundsChange(),this.updateEnableLogarithmic(this.axisModel.getLogarithmic()&&(this.dataMinValue??Number.NaN)>0),this.requestUpdate()},this.onMinBoundsChangeDebounced=m(this.onMinBoundsChange,g.DebounceTimer),this.onModelConfigChange=()=>{this.requestUpdate()},this.disableMaxBoundResetBtn=!0,this.disableMinBoundResetBtn=!0,this.isXAxis=!1,this.axisTitle=""}static{this.properties={disableMaxBoundResetBtn:16,disableMinBoundResetBtn:16,messageOverrides:0,model:0,isXAxis:5,axisTitle:1,maxBoundMaxLimit:9,maxBoundMinLimit:9,minBoundMinLimit:9,minBoundMaxLimit:9,showMaxBoundOption:5,showMinBoundOption:5,showEnableLogOption:5,dataMaxValue:9,dataMinValue:9,initialMaxBound:9,initialMinBound:9}}static{this.styles=L}load(){this.modelChange(this.model),this.dataMinValue!==void 0&&this.dataMinValueChange(this.dataMinValue,Number.NaN),this.dataMaxValue!==void 0&&this.dataMaxValueChange(this.dataMaxValue,Number.NaN)}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("dataMinValue")&&this.dataMinValueChange(this.dataMinValue??Number.NaN,e.get("dataMinValue")),e.has("dataMaxValue")&&this.dataMaxValueChange(this.dataMaxValue??Number.NaN,e.get("dataMaxValue")),e.has("initialMaxBound")&&this.initialMaxBoundChange(),e.has("initialMinBound")&&this.initialMinBoundChange()}updated(){this.disableResetButtons()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,t){this.axisModel=new p(this.model,this.isXAxis),t?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}dataMinValueChange(e,t){Number.isNaN(t)&&!Number.isNaN(e)&&(this.defaultMinBound=e)}dataMaxValueChange(e,t){Number.isNaN(t)&&!Number.isNaN(e)&&(this.defaultMaxBound=e)}initialMaxBoundChange(){Number.isNaN(this.axisModel.getMaxBound())||this.axisModel.setMaxBound(this.axisModel.getMaxBound())}initialMinBoundChange(){Number.isNaN(this.axisModel.getMinBound())||this.axisModel.setMinBound(this.axisModel.getMinBound())}getAxisBoundsFromStateStore(){let e,t=I.chartAxesBoundDataMap,s=this.model.chartId;if(s){let a=E({chartId:s,isXAxis:this.isXAxis,isLogarithmic:this.axisModel.getLogarithmic()});e=t[s]?.[a]}return e}disableResetButtons(){let e=this.getAxisBoundsFromStateStore();e&&(this.disableMaxBoundResetBtn=e.defaultMaxBound===e.currMaxBound,this.disableMinBoundResetBtn=e.defaultMinBound===e.currMinBound)}onShowLogScaleMouseEnter(){this.showLogScaleTooltip?.remove(),this.showLogScaleSwitch.value?.disabled&&(this.showLogScaleTooltip=v(n`<calcite-tooltip .referenceElement=${this.showLogScaleSwitch.value??document.body} open>${this.commonStrings.utilsStrings.tooltips?.logDisabled??""}</calcite-tooltip>`),document.body.appendChild(this.showLogScaleTooltip))}onShowLogScaleMouseLeave(){this.showLogScaleTooltip?.remove()}onCategoryFormatChange(e){this.axisModel.setValueFormat(e.target.categoryFormat)}updateEnableLogarithmic(e){e!==this.axisModel.getLogarithmic()&&(this.axisModel.setLogarithmic(e),this.requestUpdate())}onNumberFormatChange(e){this.axisModel.setValueFormat({type:l.NumberAxisFormat,intlOptions:e.detail}),this.requestUpdate()}onRevertMaxBoundsToDefault(){if(this.maxBoundInputElement.value?.status===i.INVALID||this.axisModel.getMaxBound()!==this.defaultMaxBound){let e=this.getAxisBoundsFromStateStore();this.axisModel.getMinBound()>this.defaultMaxBound&&this.axisModel.setMinBound(e?.defaultMinBound??Number.NaN),this.axisModel.setMaxBound(e?.defaultMaxBound??Number.NaN),this.requestUpdate()}}onRevertMinBoundsToDefault(){(this.minBoundInputElement.value?.status===i.INVALID||this.axisModel.getMinBound()!==this.defaultMinBound)&&(this.axisModel.getMaxBound()<this.defaultMinBound&&this.axisModel.setMaxBound(Number.NaN),this.axisModel.setMinBound(Number.NaN),this.requestUpdate())}enableLogScale(e){let{checked:t}=e.target;this.axisModel.setLogarithmic(t&&(this.dataMinValue??Number.NaN)>0),this.requestUpdate()}render(){return n`<calcite-block .hidden=${this.axisModel.getValueFormat()?.type===l.DateAxisFormat} expanded .heading=${this.axisTitle}>${this.renderAxis()}</calcite-block>`}renderAxis(){let e=null,t={...this.axisModel.getValueFormat()};switch(this.axisModel.getValueFormat()?.type){case l.CategoryAxisFormat:e=n`<arcgis-charts-config-category-format .categoryFormat=${t} @arcgisChartsConfigCategoryFormatChange=${this.onCategoryFormatChange}></arcgis-charts-config-category-format>`;break;case l.NumberAxisFormat:e=n`<div>${this.renderShowLogScale()}${this.renderMinBound()}${this.renderMaxBound()}<arcgis-charts-config-number-format .numberFormat=${{...t.intlOptions}} @arcgisChartsConfigNumberFormatChange=${this.onNumberFormatChange}></arcgis-charts-config-number-format></div>`;break;case l.DateAxisFormat:e=null;break}return e}renderMaxBound(){let e;if(!this.showMaxBoundOption)e=null;else{let t=x(this.axisModel.getMaxBound(),this.initialMaxBound);e=n`<div><calcite-label class=${o(d.label)}>${this._messages.maxBounds}<calcite-input type=number number-button-type=none .min=${this.maxBoundMinLimit??Number.MIN_SAFE_INTEGER} .max=${this.maxBoundMaxLimit??Number.MAX_SAFE_INTEGER} step=any .value=${t} @calciteInputInput=${this.onMaxBoundsChangeDebounced} ${r(this.maxBoundInputElement)}></calcite-input></calcite-label><div class=${o(d.linkContainer)}><calcite-button .disabled=${this.disableMaxBoundResetBtn} @click=${this.onRevertMaxBoundsToDefault} appearance=transparent icon-end=reset>${this._messages.revertToDefault}</calcite-button></div></div>`}return e}renderMinBound(){let e;if(!this.showMinBoundOption)e=null;else{let t=x(this.axisModel.getMinBound(),this.initialMinBound??void 0);e=n`<div><calcite-label class=${o(d.label)}>${this._messages.minBounds}<calcite-input type=number number-button-type=none .min=${this.minBoundMinLimit??Number.MIN_SAFE_INTEGER} .max=${this.minBoundMaxLimit??Number.MAX_SAFE_INTEGER} step=any .value=${t} @calciteInputInput=${this.onMinBoundsChangeDebounced} ${r(this.minBoundInputElement)}></calcite-input></calcite-label><div class=${o(d.linkContainer)}><calcite-button .disabled=${this.disableMinBoundResetBtn} appearance=transparent icon-end=reset @click=${this.onRevertMinBoundsToDefault}>${this._messages.revertToDefault}</calcite-button></div></div>`}return e}renderShowLogScale(){let e;return this.showEnableLogOption&&(e=n`<calcite-label layout=inline-space-between class=${o({[d.label]:!0,[d.mb2]:!0})}>${this._messages.logScale}<div @mouseenter=${this.onShowLogScaleMouseEnter} @mouseleave=${this.onShowLogScaleMouseLeave}><calcite-switch .checked=${this.axisModel.getLogarithmic()&&(this.dataMinValue??Number.NaN)>0} .disabled=${(this.dataMinValue??Number.NaN)<=0} @calciteSwitchChange=${this.enableLogScale} ${r(this.showLogScaleSwitch)}></calcite-switch></div></calcite-label>`),e}};C("arcgis-charts-config-axis",b);return b},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/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{a as b}from"./BCQHUEAM.js";import{a as P}from"./YIDOUYGU.js";import c from"./5QGVWW2U.js";import"./YQXR2BS3.js";import{a as M}from"./WMPWKRBS.js";import a from"./PMZ44O6H.js";import{c as x,g as S,i as _,w as G}from"./W5QKHMC2.js";import"./IZCO4F3W.js";import{e as h}from"./WGWCNZX4.js";import"./E6O5AA4G.js";import{A as g,C,E as N,g as E,h as d,w as m,x as p,y as T,z as s}from"./STNYI3SF.js";import"./RQK377XG.js";export default $arcgis.t(([,,,,,,,,,,,,,,,{D:f,Da:I},{a:y,g:u,r:z}])=>{var a={sectionLabel:"section-label",label:"label",sliceList:"slice-list",radioGroup:"radio-group",pieDonutLabelsContainer:"pie-donut-labels-container",sliderInputContainer:"slider-input-container",groupingLabelContainer:"grouping-label-container",numberInput:"number-input"},k=E`:host{display:flex;flex-direction:column;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)}.label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.label .grouping-label-container{display:flex;justify-content:space-between}.label .slider-input-container{display:flex}.label .slider-input-container calcite-slider{--calcite-label-margin-bottom: var(--arcgis-charts-intra-section-margin) !important;margin-right:var(--arcgis-charts-config-margin-minor);flex-grow:1}.label .slider-input-container .number-input{width:8rem}.slice-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)}.radio-group{margin-top:var(--arcgis-charts-config-margin-minor)}.pie-donut-labels-container{display:flex;justify-content:space-between;margin-top:calc(var(--arcgis-charts-config-margin-minor) * -3)}`,L=class extends T{constructor(){super(...arguments),this._messages=M(),this.slicesPopover=null,this.donutSizeSliderElement=m(),this.groupingThresholdElement=m(),this.groupingThresholdSliderElement=m(),this.labelCharacterLimitElement=m(),this.decimalPlacesElement=m(),this.open=!1,this.onDonutSizeSliderChange=S(()=>{this.donutSizeSliderElement.value&&Number.isInteger(this.donutSizeSliderElement.value?.value)&&(this.model.innerRadiusSize=this.donutSizeSliderElement.value.value??I)},y.SliderTimer),this.onGroupingThresholdSliderChange=S(()=>{let e=this.groupingThresholdSliderElement.value?.value;e!==void 0&&!Number.isNaN(e)?(this.groupingThresholdElement?.value&&(this.groupingThresholdElement.value.value=e.toString()),this.groupingThresholdSliderElement.value&&(this.groupingThresholdSliderElement.value.value=e),this.model.groupingThreshold=e):this.model.groupingThreshold=0},y.SliderTimer),this.sliceNameChange=e=>{if(e.detail!==null||e.detail!==void 0){let l=e.detail?.name,i=this.model.slices?.findIndex(r=>r.sliceId===this.selectedSliceId),t=this.model.sliceGrouping;i!=null&&i>=0?this.model.setSliceName(l,i):t?.sliceId===this.selectedSliceId&&t!==void 0&&(this.model.sliceGrouping={...t,label:l})}},this.sliceColorChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{color:l}=e.detail,i=this.model.slices?.findIndex(r=>r.sliceId===this.selectedSliceId),t=this.model.sliceGrouping;i!=null&&i>=0?(this.model.colorMatch=!1,this.model.setSliceColor(l,i)):t?.sliceId===this.selectedSliceId&&t!==void 0&&(this.model.colorMatch=!1,this.model.sliceGrouping={...t,fillSymbol:{...t.fillSymbol,type:G.SFS,color:l}})}},this.slicesPopoverClose=e=>{let{selectedSliceId:l}=e.detail;l===this.selectedSliceId&&(this.selectedSliceId=void 0,this.slicesPopover=P(this.slicesPopover))},this.onModelConfigChange=()=>{this.requestUpdate()},this.popoverPlacement="leading"}static{this.properties={selectedSliceId:16,messageOverrides:0,model:0,popoverPlacement:1,chartData:0}}static{this.styles=k}load(){this.modelChange(this.model),this.onModelConfigChange()}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("selectedSliceId")&&this.selectedSliceIdChange()}disconnectedCallback(){super.disconnectedCallback(),this.removeSlicesPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,l){l?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}selectedSliceIdChange(){if(!_(this.selectedSliceId)){let e=this.model.slices,l=this.model.sliceGrouping,i,t;if(this.selectedSliceId===l?.sliceId)i=l?.label,t=l?.fillSymbol?.color;else if(e!==void 0){let r=e.findIndex(n=>n.sliceId===this.selectedSliceId);i=this.model.getSliceName(r),t=this.model.getSliceColor(r)}this.slicesPopover=C(d`<arcgis-charts-config-pie-chart-slices-popover .referenceElement=${this.el} .placement=${this.popoverPlacement} .open=${this.open} .selectedSliceId=${this.selectedSliceId} .selectedName=${i} .selectedColor=${t} @arcgisChartsConfigSlicesPopoverColorChange=${this.sliceColorChange} @arcgisChartsConfigSlicesPopoverNameChange=${this.sliceNameChange} @arcgisChartsConfigPopoverClose=${this.slicesPopoverClose}></arcgis-charts-config-pie-chart-slices-popover>`),this.slicesPopover&&!document.body.contains(this.slicesPopover)&&document.body.appendChild(this.slicesPopover)}}removeSlicesPopover(){this.slicesPopover!==void 0&&this.slicesPopover!==null&&(this.slicesPopover.open=!1,this.slicesPopover.selectedName=void 0,this.slicesPopover.selectedColor=void 0,this.slicesPopover=P(this.slicesPopover))}buildSliceListItem(){let e="#CCCCCC",l="minus-square",i=[],t=this.model.slices,r=this.chartData?.dataItems;r&&(t=t?.filter(o=>r?.findIndex(c=>c.arcgis_charts_slice_id===o.sliceId)!==-1)),t?.forEach(o=>{if(o.fillSymbol?.color!==void 0){l="square-f";let[c,v,$,w]=[...o.fillSymbol.color];e=`rgba(${c},${v},${$},${w/255})`}if(o!==void 0&&!this.model.groupedSliceIds.includes(o.sliceId)){let c=o.sliceId;c===f.emptySliceId?c=this._messages.emptySlice??"":c===f.nullSliceId&&(c=this._messages.nullSlice??""),i?.push(b(o.sliceId,d`<calcite-list-item .label=${o.label??o.sliceId} .description=${c} .value=${o.sliceId} .selected=${this.selectedSliceId===o.sliceId} @click=${this.openSlicesPopover}><calcite-icon slot=content-end .icon=${l} style=${g({color:e})}></calcite-icon></calcite-list-item>`))}});let n=this.model.sliceGrouping;if(n?.fillSymbol?.color!==void 0){l="square-f";let[o,c,v,$]=[...n.fillSymbol.color];e=`rgba(${o},${c},${v},${$/255})`}return this.model.groupedSliceIds.length>0&&i?.push(b(n?.sliceId,d`<calcite-list-item .label=${n?.label??n?.sliceId??""} .description=${this._messages.groupedSlices} .value=${n?.sliceId??""} .selected=${this.selectedSliceId===n?.sliceId} @click=${this.openSlicesPopover}><calcite-icon slot=content-end .icon=${l} style=${g({color:e})}></calcite-icon></calcite-list-item>`)),i}buildGroupedSlicesListItem(){let e="#CCCCCC",l="minus-square",i=[];return this.model.slices?.forEach(t=>{if(t.fillSymbol?.color!==void 0){l="square-f";let[r,n,o,c]=[...t.fillSymbol.color];e=`rgba(${r},${n},${o},${c/255})`}t!==void 0&&this.model.groupedSliceIds.includes(t.sliceId)&&i?.push(b(t.sliceId,d`<calcite-list-item .label=${t.label??t.sliceId} .description=${t.sliceId} .value=${t.sliceId} .selected=${this.selectedSliceId===t.sliceId} @click=${this.openSlicesPopover}><calcite-icon slot=content-end .icon=${l} style=${g({color:e})}></calcite-icon></calcite-list-item>`))}),i}buildSliceList(){return d`<calcite-list label class=${s(a.sliceList)} selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildSliceListItem()}</calcite-list>`}buildGroupedSliceList(){return d`<calcite-list label class=${s(a.sliceList)} selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildGroupedSlicesListItem()}</calcite-list>`}onGroupingThresholdChange(e){let l=e.target.value,i=Number.parseInt(l);i>100?i=100:i<0&&(i=0),Number.isNaN(i)?this.model.groupingThreshold=0:(this.groupingThresholdElement?.value&&(this.groupingThresholdElement.value.value=i.toString()),this.model.groupingThreshold=i,this.groupingThresholdSliderElement.value&&(this.groupingThresholdSliderElement.value.value=i))}onLabelCharacterLimitChange(e){let l=e.target.value,i=Number.parseInt(l);i<1&&(i=1),Number.isNaN(i)?this.model.labelCharacterLimit=null:(this.labelCharacterLimitElement.value&&(this.labelCharacterLimitElement.value.value=i.toString()),this.model.labelCharacterLimit=i)}onDecimalPlacesChange(e){let l=e.target.value,i=Number.parseInt(l);i<0?i=0:i>20&&(i=20),Number.isNaN(i)?this.model.decimalPlaces=0:(this.decimalPlacesElement.value&&(this.decimalPlacesElement.value.value=i.toString()),this.model.decimalPlaces=i)}onDisplayTypeChange(e){let l=e.target.selectedItem;this.model.displayType=l.value}resetSlicesOriginal(){this.selectedSliceId=void 0,this.model.colorMatch=!0,this.model.resetSlices()}onCalciteListOrderChange(e){if(e.detail!==null&&e.detail!==void 0){let{newIndex:l,oldIndex:i}=e.detail;this.model.moveSeries(i,l)}}openSlicesPopover(e){e.stopImmediatePropagation(),this.removeSlicesPopover();let l=e.target,i=l.localName==="calcite-list-item"?l:l.parentNode;i.value===this.model.sliceGrouping?.sliceId?this.selectedSliceId=this.model.sliceGrouping?.sliceId:this.selectedSliceId=i.value,this.open=!0}createTooltip(e){let l=e.target;this.tooltip=C(d`<calcite-tooltip style=${g({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${l} open placement=top .innerHTML=${this._messages.groupingInfo??""??""}></calcite-tooltip>`),document.body.appendChild(this.tooltip)}destroyTooltip(){z(this.tooltip)}render(){return d`<div class=${s(a.sectionLabel)}>${this._messages.settings}</div><calcite-label class=${s(a.label)}>${this._messages.shape}<calcite-slider min=0 max=100 step=1 snap .value=${this.model.innerRadiusSize??I} @calciteSliderChange=${this.onDonutSizeSliderChange} ${p(this.donutSizeSliderElement)}></calcite-slider></calcite-label><div class=${s(a.pieDonutLabelsContainer)}><calcite-label class=${s(a.label)}>${this._messages.pie}</calcite-label><calcite-label class=${s(a.label)}>${this._messages.donut}</calcite-label></div><calcite-label class=${s(a.label)}><div class=${s(a.groupingLabelContainer)}><div>${this._messages.groupingPercent}</div><calcite-icon icon=information scale=s flip-rtl @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-icon></div><div class=${s(a.sliderInputContainer)}><calcite-slider min=0 max=50 step=1 snap .value=${x(u(this.model.groupingThreshold??0))} @calciteSliderChange=${this.onGroupingThresholdSliderChange} ${p(this.groupingThresholdSliderElement)}></calcite-slider><calcite-input class=${s(a.numberInput)} type=number min=0 max=100 step=1 suffix-text=% .value=${u(this.model.groupingThreshold??0)} @calciteInputInput=${this.onGroupingThresholdChange} @click=${e=>{e.stopPropagation()}} ${p(this.groupingThresholdElement)}></calcite-input></div></calcite-label><div class=${s(a.sectionLabel)}>${this._messages.labels}</div><calcite-label class=${s(a.label)}>${this._messages.labelCharacterLimit}<calcite-input type=number min=1 step=1 .value=${u(this.model.labelCharacterLimit)} @calciteInputInput=${this.onLabelCharacterLimitChange} ${p(this.labelCharacterLimitElement)}></calcite-input></calcite-label><calcite-label class=${s(a.label)}>${this._messages.decimalPlaces}<calcite-input type=number min=0 max=20 step=1 .value=${u(this.model.decimalPlaces)} @calciteInputInput=${this.onDecimalPlacesChange} ${p(this.decimalPlacesElement)}></calcite-input></calcite-label><calcite-label class=${s(a.label)}>${this._messages.display}<calcite-radio-button-group class=${s(a.radioGroup)} name=display layout=vertical @calciteRadioButtonGroupChange=${this.onDisplayTypeChange}><calcite-label layout=inline><calcite-radio-button .value=${h.Value} .checked=${this.model.displayType===h.Value}></calcite-radio-button>${this._messages.value}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${h.Percentage} .checked=${this.model.displayType===h.Percentage}></calcite-radio-button>${this._messages.percentage}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${h.Both} .checked=${this.model.displayType===h.Both}></calcite-radio-button>${this._messages.both}</calcite-label></calcite-radio-button-group></calcite-label><div class=${s(a.sectionLabel)}>${this._messages.slices}<calcite-button @click=${this.resetSlicesOriginal} .disabled=${!this.model.resetAvailable()} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${this.buildSliceList()}<div class=${s(a.sectionLabel)}>${this._messages.groupedSlices}</div>${this.buildGroupedSliceList()}`}};N("arcgis-charts-config-pie-chart-slices",L);return L},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,c)
|
|
3
|
+
v5.0.0-next.50 */
|
|
4
|
+
import{a as b}from"./6AOOCWYY.js";import{a as P}from"./D544FYGH.js";import c from"./WIMVMWPQ.js";import"./HZDHFDAV.js";import{a as M}from"./7YJCBZVH.js";import a from"./DBSN6SJG.js";import{c as x,g as S,i as _,w as G}from"./NBX37BVN.js";import"./NEKBCXVV.js";import{e as h}from"./SXD252OF.js";import"./YIZOHZ5W.js";import{A as g,C,E as N,g as E,h as d,w as m,x as p,y as T,z as s}from"./P7NG5ZCK.js";import"./GN4S6TFX.js";export default $arcgis.t(([,,,,,,,,,,,,,,,{D:f,Da:I},{a:y,g:u,r:z}])=>{var a={sectionLabel:"section-label",label:"label",sliceList:"slice-list",radioGroup:"radio-group",pieDonutLabelsContainer:"pie-donut-labels-container",sliderInputContainer:"slider-input-container",groupingLabelContainer:"grouping-label-container",numberInput:"number-input"},k=E`:host{display:flex;flex-direction:column;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)}.label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.label .grouping-label-container{display:flex;justify-content:space-between}.label .slider-input-container{display:flex}.label .slider-input-container calcite-slider{--calcite-label-margin-bottom: var(--arcgis-charts-intra-section-margin) !important;margin-right:var(--arcgis-charts-config-margin-minor);flex-grow:1}.label .slider-input-container .number-input{width:8rem}.slice-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)}.radio-group{margin-top:var(--arcgis-charts-config-margin-minor)}.pie-donut-labels-container{display:flex;justify-content:space-between;margin-top:calc(var(--arcgis-charts-config-margin-minor) * -3)}`,L=class extends T{constructor(){super(...arguments),this._messages=M(),this.slicesPopover=null,this.donutSizeSliderElement=m(),this.groupingThresholdElement=m(),this.groupingThresholdSliderElement=m(),this.labelCharacterLimitElement=m(),this.decimalPlacesElement=m(),this.open=!1,this.onDonutSizeSliderChange=S(()=>{this.donutSizeSliderElement.value&&Number.isInteger(this.donutSizeSliderElement.value?.value)&&(this.model.innerRadiusSize=this.donutSizeSliderElement.value.value??I)},y.SliderTimer),this.onGroupingThresholdSliderChange=S(()=>{let e=this.groupingThresholdSliderElement.value?.value;e!==void 0&&!Number.isNaN(e)?(this.groupingThresholdElement?.value&&(this.groupingThresholdElement.value.value=e.toString()),this.groupingThresholdSliderElement.value&&(this.groupingThresholdSliderElement.value.value=e),this.model.groupingThreshold=e):this.model.groupingThreshold=0},y.SliderTimer),this.sliceNameChange=e=>{if(e.detail!==null||e.detail!==void 0){let l=e.detail?.name,i=this.model.slices?.findIndex(r=>r.sliceId===this.selectedSliceId),t=this.model.sliceGrouping;i!=null&&i>=0?this.model.setSliceName(l,i):t?.sliceId===this.selectedSliceId&&t!==void 0&&(this.model.sliceGrouping={...t,label:l})}},this.sliceColorChange=e=>{if(e.detail!==null&&e.detail!==void 0){let{color:l}=e.detail,i=this.model.slices?.findIndex(r=>r.sliceId===this.selectedSliceId),t=this.model.sliceGrouping;i!=null&&i>=0?(this.model.colorMatch=!1,this.model.setSliceColor(l,i)):t?.sliceId===this.selectedSliceId&&t!==void 0&&(this.model.colorMatch=!1,this.model.sliceGrouping={...t,fillSymbol:{...t.fillSymbol,type:G.SFS,color:l}})}},this.slicesPopoverClose=e=>{let{selectedSliceId:l}=e.detail;l===this.selectedSliceId&&(this.selectedSliceId=void 0,this.slicesPopover=P(this.slicesPopover))},this.onModelConfigChange=()=>{this.requestUpdate()},this.popoverPlacement="leading"}static{this.properties={selectedSliceId:16,messageOverrides:0,model:0,popoverPlacement:1,chartData:0}}static{this.styles=k}load(){this.modelChange(this.model),this.onModelConfigChange()}willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("selectedSliceId")&&this.selectedSliceIdChange()}disconnectedCallback(){super.disconnectedCallback(),this.removeSlicesPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,l){l?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}selectedSliceIdChange(){if(!_(this.selectedSliceId)){let e=this.model.slices,l=this.model.sliceGrouping,i,t;if(this.selectedSliceId===l?.sliceId)i=l?.label,t=l?.fillSymbol?.color;else if(e!==void 0){let r=e.findIndex(n=>n.sliceId===this.selectedSliceId);i=this.model.getSliceName(r),t=this.model.getSliceColor(r)}this.slicesPopover=C(d`<arcgis-charts-config-pie-chart-slices-popover .referenceElement=${this.el} .placement=${this.popoverPlacement} .open=${this.open} .selectedSliceId=${this.selectedSliceId} .selectedName=${i} .selectedColor=${t} @arcgisChartsConfigSlicesPopoverColorChange=${this.sliceColorChange} @arcgisChartsConfigSlicesPopoverNameChange=${this.sliceNameChange} @arcgisChartsConfigPopoverClose=${this.slicesPopoverClose}></arcgis-charts-config-pie-chart-slices-popover>`),this.slicesPopover&&!document.body.contains(this.slicesPopover)&&document.body.appendChild(this.slicesPopover)}}removeSlicesPopover(){this.slicesPopover!==void 0&&this.slicesPopover!==null&&(this.slicesPopover.open=!1,this.slicesPopover.selectedName=void 0,this.slicesPopover.selectedColor=void 0,this.slicesPopover=P(this.slicesPopover))}buildSliceListItem(){let e="#CCCCCC",l="minus-square",i=[],t=this.model.slices,r=this.chartData?.dataItems;r&&(t=t?.filter(o=>r?.findIndex(c=>c.arcgis_charts_slice_id===o.sliceId)!==-1)),t?.forEach(o=>{if(o.fillSymbol?.color!==void 0){l="square-f";let[c,v,$,w]=[...o.fillSymbol.color];e=`rgba(${c},${v},${$},${w/255})`}if(o!==void 0&&!this.model.groupedSliceIds.includes(o.sliceId)){let c=o.sliceId;c===f.emptySliceId?c=this._messages.emptySlice??"":c===f.nullSliceId&&(c=this._messages.nullSlice??""),i?.push(b(o.sliceId,d`<calcite-list-item .label=${o.label??o.sliceId} .description=${c} .value=${o.sliceId} .selected=${this.selectedSliceId===o.sliceId} @click=${this.openSlicesPopover}><calcite-icon slot=content-end .icon=${l} style=${g({color:e})}></calcite-icon></calcite-list-item>`))}});let n=this.model.sliceGrouping;if(n?.fillSymbol?.color!==void 0){l="square-f";let[o,c,v,$]=[...n.fillSymbol.color];e=`rgba(${o},${c},${v},${$/255})`}return this.model.groupedSliceIds.length>0&&i?.push(b(n?.sliceId,d`<calcite-list-item .label=${n?.label??n?.sliceId??""} .description=${this._messages.groupedSlices} .value=${n?.sliceId??""} .selected=${this.selectedSliceId===n?.sliceId} @click=${this.openSlicesPopover}><calcite-icon slot=content-end .icon=${l} style=${g({color:e})}></calcite-icon></calcite-list-item>`)),i}buildGroupedSlicesListItem(){let e="#CCCCCC",l="minus-square",i=[];return this.model.slices?.forEach(t=>{if(t.fillSymbol?.color!==void 0){l="square-f";let[r,n,o,c]=[...t.fillSymbol.color];e=`rgba(${r},${n},${o},${c/255})`}t!==void 0&&this.model.groupedSliceIds.includes(t.sliceId)&&i?.push(b(t.sliceId,d`<calcite-list-item .label=${t.label??t.sliceId} .description=${t.sliceId} .value=${t.sliceId} .selected=${this.selectedSliceId===t.sliceId} @click=${this.openSlicesPopover}><calcite-icon slot=content-end .icon=${l} style=${g({color:e})}></calcite-icon></calcite-list-item>`))}),i}buildSliceList(){return d`<calcite-list label class=${s(a.sliceList)} selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildSliceListItem()}</calcite-list>`}buildGroupedSliceList(){return d`<calcite-list label class=${s(a.sliceList)} selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildGroupedSlicesListItem()}</calcite-list>`}onGroupingThresholdChange(e){let l=e.target.value,i=Number.parseInt(l);i>100?i=100:i<0&&(i=0),Number.isNaN(i)?this.model.groupingThreshold=0:(this.groupingThresholdElement?.value&&(this.groupingThresholdElement.value.value=i.toString()),this.model.groupingThreshold=i,this.groupingThresholdSliderElement.value&&(this.groupingThresholdSliderElement.value.value=i))}onLabelCharacterLimitChange(e){let l=e.target.value,i=Number.parseInt(l);i<1&&(i=1),Number.isNaN(i)?this.model.labelCharacterLimit=null:(this.labelCharacterLimitElement.value&&(this.labelCharacterLimitElement.value.value=i.toString()),this.model.labelCharacterLimit=i)}onDecimalPlacesChange(e){let l=e.target.value,i=Number.parseInt(l);i<0?i=0:i>20&&(i=20),Number.isNaN(i)?this.model.decimalPlaces=0:(this.decimalPlacesElement.value&&(this.decimalPlacesElement.value.value=i.toString()),this.model.decimalPlaces=i)}onDisplayTypeChange(e){let l=e.target.selectedItem;this.model.displayType=l.value}resetSlicesOriginal(){this.selectedSliceId=void 0,this.model.colorMatch=!0,this.model.resetSlices()}onCalciteListOrderChange(e){if(e.detail!==null&&e.detail!==void 0){let{newIndex:l,oldIndex:i}=e.detail;this.model.moveSeries(i,l)}}openSlicesPopover(e){e.stopImmediatePropagation(),this.removeSlicesPopover();let l=e.target,i=l.localName==="calcite-list-item"?l:l.parentNode;i.value===this.model.sliceGrouping?.sliceId?this.selectedSliceId=this.model.sliceGrouping?.sliceId:this.selectedSliceId=i.value,this.open=!0}createTooltip(e){let l=e.target;this.tooltip=C(d`<calcite-tooltip style=${g({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${l} open placement=top .innerHTML=${this._messages.groupingInfo??""??""}></calcite-tooltip>`),document.body.appendChild(this.tooltip)}destroyTooltip(){z(this.tooltip)}render(){return d`<div class=${s(a.sectionLabel)}>${this._messages.settings}</div><calcite-label class=${s(a.label)}>${this._messages.shape}<calcite-slider min=0 max=100 step=1 snap .value=${this.model.innerRadiusSize??I} @calciteSliderChange=${this.onDonutSizeSliderChange} ${p(this.donutSizeSliderElement)}></calcite-slider></calcite-label><div class=${s(a.pieDonutLabelsContainer)}><calcite-label class=${s(a.label)}>${this._messages.pie}</calcite-label><calcite-label class=${s(a.label)}>${this._messages.donut}</calcite-label></div><calcite-label class=${s(a.label)}><div class=${s(a.groupingLabelContainer)}><div>${this._messages.groupingPercent}</div><calcite-icon icon=information scale=s flip-rtl @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-icon></div><div class=${s(a.sliderInputContainer)}><calcite-slider min=0 max=50 step=1 snap .value=${x(u(this.model.groupingThreshold??0))} @calciteSliderChange=${this.onGroupingThresholdSliderChange} ${p(this.groupingThresholdSliderElement)}></calcite-slider><calcite-input class=${s(a.numberInput)} type=number min=0 max=100 step=1 suffix-text=% .value=${u(this.model.groupingThreshold??0)} @calciteInputInput=${this.onGroupingThresholdChange} @click=${e=>{e.stopPropagation()}} ${p(this.groupingThresholdElement)}></calcite-input></div></calcite-label><div class=${s(a.sectionLabel)}>${this._messages.labels}</div><calcite-label class=${s(a.label)}>${this._messages.labelCharacterLimit}<calcite-input type=number min=1 step=1 .value=${u(this.model.labelCharacterLimit)} @calciteInputInput=${this.onLabelCharacterLimitChange} ${p(this.labelCharacterLimitElement)}></calcite-input></calcite-label><calcite-label class=${s(a.label)}>${this._messages.decimalPlaces}<calcite-input type=number min=0 max=20 step=1 .value=${u(this.model.decimalPlaces)} @calciteInputInput=${this.onDecimalPlacesChange} ${p(this.decimalPlacesElement)}></calcite-input></calcite-label><calcite-label class=${s(a.label)}>${this._messages.display}<calcite-radio-button-group class=${s(a.radioGroup)} name=display layout=vertical @calciteRadioButtonGroupChange=${this.onDisplayTypeChange}><calcite-label layout=inline><calcite-radio-button .value=${h.Value} .checked=${this.model.displayType===h.Value}></calcite-radio-button>${this._messages.value}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${h.Percentage} .checked=${this.model.displayType===h.Percentage}></calcite-radio-button>${this._messages.percentage}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${h.Both} .checked=${this.model.displayType===h.Both}></calcite-radio-button>${this._messages.both}</calcite-label></calcite-radio-button-group></calcite-label><div class=${s(a.sectionLabel)}>${this._messages.slices}<calcite-button @click=${this.resetSlicesOriginal} .disabled=${!this.model.resetAvailable()} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${this.buildSliceList()}<div class=${s(a.sectionLabel)}>${this._messages.groupedSlices}</div>${this.buildGroupedSliceList()}`}};N("arcgis-charts-config-pie-chart-slices",L);return L},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,c)
|