@arcgis/charts-components 4.34.0-next.135 → 4.34.0-next.137
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/{HCET7FYW.js → 23A35FGI.js} +2 -2
- package/dist/cdn/{ZNGQN35L.js → 2GM3JRET.js} +2 -2
- package/dist/cdn/{SEBKBBIX.js → 2IUXXBNE.js} +2 -2
- package/dist/cdn/{HE5RWJWX.js → 2MV6WAUW.js} +2 -2
- package/dist/cdn/{3VYK42NN.js → 2N7KPE3X.js} +2 -2
- package/dist/cdn/{43W3ZJRE.js → 2TG2EZ7L.js} +2 -2
- package/dist/cdn/{5PJZBKPM.js → 35XS4G7U.js} +2 -2
- package/dist/cdn/{KGPG7OGG.js → 3EKBIFG2.js} +2 -2
- package/dist/cdn/{52KPYCQ4.js → 3IJG35MT.js} +2 -2
- package/dist/cdn/{7WJMVJ4B.js → 3O2NKJMU.js} +2 -2
- package/dist/cdn/{DUIQLDZF.js → 3SZRGL74.js} +2 -2
- package/dist/cdn/{42W55GCW.js → 3UHMFXPL.js} +2 -2
- package/dist/cdn/{UAX7FAJH.js → 3XSLT5D7.js} +2 -2
- package/dist/cdn/{CSG5I7NK.js → 3YVN7ZEL.js} +2 -2
- package/dist/cdn/{ILRFGZ2A.js → 4GEYKPPZ.js} +2 -2
- package/dist/cdn/{S6EQN7GT.js → 4HXNMDS6.js} +2 -2
- package/dist/cdn/{7VERVLWZ.js → 4IFQQ22Q.js} +2 -2
- package/dist/cdn/{LHKZAEBS.js → 56ZMW6ZT.js} +2 -2
- package/dist/cdn/{LWIGNVIU.js → 57WE222S.js} +2 -2
- package/dist/cdn/{IE5PTDLR.js → 5DAAXFKZ.js} +2 -2
- package/dist/cdn/{DSU7ACAT.js → 5GFYJO4N.js} +2 -2
- package/dist/cdn/{PXSEM2XY.js → 5HKR2XQN.js} +2 -2
- package/dist/cdn/{KRMTXU7Z.js → 5O7OVSZS.js} +2 -2
- package/dist/cdn/{MQO7DPWV.js → 64E35VZF.js} +2 -2
- package/dist/cdn/{IZZIWQHM.js → 6LYUL32L.js} +2 -2
- package/dist/cdn/{OCE34YHW.js → 6NGUSG6Z.js} +2 -2
- package/dist/cdn/{TG45OYF4.js → 6NHNZUMU.js} +2 -2
- package/dist/cdn/{2YEWMJDN.js → 7EPB7NUQ.js} +2 -2
- package/dist/cdn/{5D7B2I23.js → 7K6HWWFH.js} +2 -2
- package/dist/cdn/{QVZS6V36.js → 7L4GCMKU.js} +2 -2
- package/dist/cdn/{DOBU53QK.js → 7NKXAXRK.js} +2 -2
- package/dist/cdn/{OVCB6NRH.js → 7QI2TCHJ.js} +2 -2
- package/dist/cdn/{FBLTW5TS.js → 7TD3DUVR.js} +2 -2
- package/dist/cdn/{2HRMOKCS.js → A4NWMBYH.js} +2 -2
- package/dist/cdn/{SCBM5HM6.js → AD6UTPKO.js} +2 -2
- package/dist/cdn/{CXMLDESN.js → ADGH33XA.js} +2 -2
- package/dist/cdn/{R2X3Y27P.js → AV4VWOKJ.js} +2 -2
- package/dist/cdn/{2EWZJIWX.js → AZUJU64Z.js} +2 -2
- package/dist/cdn/{B3LFLJWP.js → BDE437TR.js} +2 -2
- package/dist/cdn/{OEJGJYIN.js → BPBJ6HHB.js} +2 -2
- package/dist/cdn/{DMDGZRQU.js → C4SSBI7M.js} +2 -2
- package/dist/cdn/{ZO2XCEIF.js → C5T6VUHW.js} +2 -2
- package/dist/cdn/{3QUB7RZS.js → CKFADYI3.js} +2 -2
- package/dist/cdn/{NIJQYV6Y.js → COL4BR4N.js} +2 -2
- package/dist/cdn/{AU3GYBM3.js → CTXK6J6A.js} +2 -2
- package/dist/cdn/{GUVOMQCE.js → CYA55SRQ.js} +2 -2
- package/dist/cdn/{2XYLOSAV.js → DBD7TXON.js} +2 -2
- package/dist/cdn/DCYBICHJ.css +1 -0
- package/dist/cdn/{34BALNYC.js → DN7HLW7R.js} +2 -2
- package/dist/cdn/{2APD22WQ.js → E6WS2PNI.js} +2 -2
- package/dist/cdn/{RD7FMGRU.js → EIEO534N.js} +2 -2
- package/dist/cdn/{SGZNSH26.js → EKKUUTLJ.js} +2 -2
- package/dist/cdn/{HFSLBC7U.js → EUKYYHZX.js} +2 -2
- package/dist/cdn/{3J4NCFPS.js → EX4JU7GR.js} +2 -2
- package/dist/cdn/{7UTVXUNN.js → F67CMYND.js} +2 -2
- package/dist/cdn/{G43ISF47.js → FF64YKHU.js} +2 -2
- package/dist/cdn/{TKMP6UB2.js → FP4XIAZA.js} +1 -1
- package/dist/cdn/{5GI6HVM7.js → GEDBEOAB.js} +2 -2
- package/dist/cdn/{IK3WBYTQ.js → GEWDU66X.js} +1 -1
- package/dist/cdn/{DEWPDZTY.js → GRCBC7FY.js} +2 -2
- package/dist/cdn/{YL2ERGLW.js → GVEJNJ6W.js} +2 -2
- package/dist/cdn/{BIFFLNFU.js → GWU5GX73.js} +2 -2
- package/dist/cdn/{OBIOEUHI.js → H4ABW5RH.js} +2 -2
- package/dist/cdn/{PA746DRH.js → H4EKWUGZ.js} +2 -2
- package/dist/cdn/{4UYBZY2J.js → H57THMT5.js} +2 -2
- package/dist/cdn/{XKU5QAZ3.js → HB26JJPI.js} +2 -2
- package/dist/cdn/{KABSXFED.js → HF7QUOV2.js} +2 -2
- package/dist/cdn/{HFTDSA2J.js → HXA66IKK.js} +2 -2
- package/dist/cdn/I7JRXIX6.js +4 -0
- package/dist/cdn/{JWQUKXIM.js → IJG2RPEH.js} +2 -2
- package/dist/cdn/{OWBX6OGP.js → IJM7TMTX.js} +2 -2
- package/dist/cdn/{I3OWQWOT.js → IUKN5SK3.js} +2 -2
- package/dist/cdn/{5TONTZ6Z.js → IZXEJUQ7.js} +2 -2
- package/dist/cdn/{WC6G5BE2.js → J2GDDFON.js} +1 -1
- package/dist/cdn/{N5QYNOOD.js → JNJRBTCS.js} +2 -2
- package/dist/cdn/{C7A3PBZE.js → K5EUTDCW.js} +2 -2
- package/dist/cdn/{D3CQF3GZ.js → KB5VDJXS.js} +2 -2
- package/dist/cdn/{5ZKEOCTX.js → KUH3QJNM.js} +2 -2
- package/dist/cdn/{7R3UPBLM.js → KWGVVBCK.js} +2 -2
- package/dist/cdn/{RSJUYWG4.js → L3IDJWBE.js} +2 -2
- package/dist/cdn/{DH6LIHLZ.js → LCGCWNCV.js} +2 -2
- package/dist/cdn/{TJCCGGLL.js → LCLE2R6O.js} +2 -2
- package/dist/cdn/{66CIKW6T.js → LPF7LCEV.js} +2 -2
- package/dist/cdn/{D5RLYLA3.js → LTNPY5NM.js} +2 -2
- package/dist/cdn/{COC65LSG.js → LUZ7IF6Q.js} +2 -2
- package/dist/cdn/{7D2TXP3B.js → MIMRBYW2.js} +2 -2
- package/dist/cdn/{3L4COBW6.js → MN5BI7ZH.js} +2 -2
- package/dist/cdn/{AKU36HPB.js → MPNJZTIJ.js} +2 -2
- package/dist/cdn/{IJLMWXGM.js → MS4XYPSC.js} +2 -2
- package/dist/cdn/{EK3WQC6E.js → MSYZQUPK.js} +2 -2
- package/dist/cdn/{GQIPPPEB.js → MWP5HKFH.js} +2 -2
- package/dist/cdn/{XOIUGTL7.js → N46QLWTZ.js} +2 -2
- package/dist/cdn/{JID6SRDI.js → NI233ASE.js} +1 -1
- package/dist/cdn/{PMOIMY45.js → NL5HWOSB.js} +2 -2
- package/dist/cdn/{AQ2VJJPS.js → NLCHH3PA.js} +2 -2
- package/dist/cdn/{XTAVRIDH.js → NQWOGRFC.js} +2 -2
- package/dist/cdn/{JKEHFPGK.js → NS7LIL7G.js} +2 -2
- package/dist/cdn/{U76SQB6Y.js → NWAAWZP2.js} +2 -2
- package/dist/cdn/{MRGBM5A7.js → NWANFRQZ.js} +1 -1
- package/dist/cdn/{2GJPTIYV.js → NWVFHYJ4.js} +2 -2
- package/dist/cdn/{FACNXVZB.js → OAPUV56D.js} +2 -2
- package/dist/cdn/{EZ3CLDSJ.js → OBOJISEC.js} +2 -2
- package/dist/cdn/{2KJTMG3A.js → OE57TPY4.js} +2 -2
- package/dist/cdn/{OL3CKHVS.js → OHM2J36S.js} +2 -2
- package/dist/cdn/{DDMGR7SZ.js → OIJHYUNL.js} +2 -2
- package/dist/cdn/{2QIUBUC4.js → OO43JSJR.js} +2 -2
- package/dist/cdn/{YXZFUZQG.js → ORC6TL5X.js} +2 -2
- package/dist/cdn/{VJFX4B27.js → OUSZB3WZ.js} +2 -2
- package/dist/cdn/{V473GUCP.js → P73CI4UI.js} +1 -1
- package/dist/cdn/{WUV3RKZ7.js → PD4XSNEZ.js} +2 -2
- package/dist/cdn/{WN4W5TZE.js → PIYYGBED.js} +2 -2
- package/dist/cdn/{J2QYDXEQ.js → PQVQD6CJ.js} +2 -2
- package/dist/cdn/{ACKJCBJU.js → PSZTKTH5.js} +2 -2
- package/dist/cdn/{DJEJBPDH.js → PXQRFZG3.js} +2 -2
- package/dist/cdn/{T5VFLRQQ.js → QCPXEY3Y.js} +2 -2
- package/dist/cdn/{MI3HX7OO.js → QGCTZUSE.js} +2 -2
- package/dist/cdn/{TTYGPYLD.js → QLWFJ26E.js} +20 -20
- package/dist/cdn/{WEXEJ55M.js → QR6Z5QK5.js} +2 -2
- package/dist/cdn/{ICUUE3G4.js → QSU6IIFW.js} +2 -2
- package/dist/cdn/{QYPJVEHE.js → QSXKJ4UY.js} +2 -2
- package/dist/cdn/{CVRDHYZM.js → QUOXLAGO.js} +1 -1
- package/dist/cdn/{QD5JSXP3.js → QVELZ5IY.js} +2 -2
- package/dist/cdn/{Y4QMHYTV.js → QYM3POIV.js} +2 -2
- package/dist/cdn/{IIRY35YD.js → QYNI75XR.js} +2 -2
- package/dist/cdn/{GEWN3YDW.js → R7FHXTD7.js} +2 -2
- package/dist/cdn/{TIOHI6DE.js → RHDN6GIU.js} +2 -2
- package/dist/cdn/{3KNXV7VH.js → RM2JGKYW.js} +2 -2
- package/dist/cdn/{42B2EZMV.js → RO5T5LR7.js} +2 -2
- package/dist/cdn/{HENC6OK6.js → RP7TFTPB.js} +2 -2
- package/dist/cdn/{XUZ55WP6.js → RPXGXESV.js} +2 -2
- package/dist/cdn/{B75H6UE3.js → RQ6P2WIA.js} +1 -1
- package/dist/cdn/{EBEGUMMJ.js → RTVALPS6.js} +2 -2
- package/dist/cdn/{2NBCHSBH.js → RUVABNP7.js} +2 -2
- package/dist/cdn/{Y7KNCOZK.js → RYW5RMKR.js} +2 -2
- package/dist/cdn/{NGBKDWGU.js → SB4GITO4.js} +2 -2
- package/dist/cdn/{FM7HKU3C.js → SLDAVWPQ.js} +2 -2
- package/dist/cdn/{5S3LTW7U.js → SSTWJRPL.js} +2 -2
- package/dist/cdn/{JVYFDFLV.js → T2KMQVDW.js} +2 -2
- package/dist/cdn/{H2A2PHZZ.js → T7RKBO5R.js} +2 -2
- package/dist/cdn/{RXGCU7NT.js → TCOATTAO.js} +2 -2
- package/dist/cdn/{4QDXCRER.js → TD53ETQ2.js} +2 -2
- package/dist/cdn/{GUTL45HE.js → TQCCKX5J.js} +2 -2
- package/dist/cdn/{FP6K77VL.js → TY4AACIT.js} +2 -2
- package/dist/cdn/{MCB4VPUO.js → U5O5DU3K.js} +2 -2
- package/dist/cdn/{FNPT3W7W.js → UMRBGDBL.js} +2 -2
- package/dist/cdn/{NP243INC.js → UOBY6NVK.js} +2 -2
- package/dist/cdn/{PBOTA6E5.js → UOCK6NRQ.js} +2 -2
- package/dist/cdn/{AE2W5PJV.js → UUXEUOIF.js} +2 -2
- package/dist/cdn/{GZ6DH63G.js → UVMNH23P.js} +2 -2
- package/dist/cdn/{K4M2R55A.js → UWTLLLGA.js} +2 -2
- package/dist/cdn/{FKUN2GQ4.js → VSCLREOC.js} +2 -2
- package/dist/cdn/{ETEGRUQO.js → W3VDAH5Z.js} +2 -2
- package/dist/cdn/{ZDLLP34I.js → W67II2AQ.js} +2 -2
- package/dist/cdn/{QBTWO37T.js → WB5LCPZU.js} +2 -2
- package/dist/cdn/{AJ4DRL25.js → WBHCQ35R.js} +2 -2
- package/dist/cdn/{2E6WVY5S.js → WFJWDHVE.js} +2 -2
- package/dist/cdn/{DEBHVPYV.js → WKW2EY33.js} +2 -2
- package/dist/cdn/{AYP72U4Z.js → WO5AZSNE.js} +2 -2
- package/dist/cdn/{X3DNEYCJ.js → WS7UNU26.js} +2 -2
- package/dist/cdn/{VTBSTR3R.js → WX6MHA4C.js} +2 -2
- package/dist/cdn/{VPX3GOC2.js → WXUZD5V2.js} +2 -2
- package/dist/cdn/{XMRY7DIB.js → XEU72CT2.js} +2 -2
- package/dist/cdn/{REKKWWVU.js → XLS2ZIO5.js} +2 -2
- package/dist/cdn/{YDFPFNOE.js → XWI545BD.js} +2 -2
- package/dist/cdn/{KHK32PCZ.js → YONNDJAA.js} +2 -2
- package/dist/cdn/{GZ7U4KHN.js → YRIZNPRL.js} +2 -2
- package/dist/cdn/{EACHZH6T.js → YWFIAFI5.js} +2 -2
- package/dist/cdn/{HVVJSJAX.js → Z3GHWLXO.js} +2 -2
- package/dist/cdn/{Q2UOXBFT.js → Z3ILN5GE.js} +2 -2
- package/dist/cdn/{ZD3SZJRG.js → Z4IW4CZO.js} +2 -2
- package/dist/cdn/{2RBBEYCN.js → Z6LDW5WG.js} +2 -2
- package/dist/cdn/{F2KNV5VE.js → Z75YNMRA.js} +2 -2
- package/dist/cdn/{U4L4K2HD.js → ZF4MRQ56.js} +2 -2
- package/dist/cdn/{SQN5HONG.js → ZGKEHJ64.js} +2 -2
- package/dist/cdn/{WXAZIEEF.js → ZKTHH2D2.js} +2 -2
- package/dist/cdn/{QR2SRBI2.js → ZRGIW4IF.js} +2 -2
- package/dist/cdn/{32KJOC4H.js → ZUP7EB7A.js} +1 -1
- package/dist/cdn/{KEMDFEWP.js → ZVMXU72W.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/stdin.css +1 -1
- package/dist/chart-rendering/common/data/selection/index.d.ts +6 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/index.d.ts +13 -1
- package/dist/chart-rendering/common/events/index.d.ts +1 -1
- 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/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/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 +3 -3
- package/dist/chunks/model-with-rotation.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +2821 -2780
- 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 +2 -2
- 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 +2 -2
- 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/chart-model/chart-model.d.ts +1 -1
- package/dist/model.js +1 -1
- package/dist/utils/data/time-binning/interfaces.d.ts +2 -2
- package/package.json +4 -4
- package/dist/cdn/EUQKRNOO.css +0 -1
- package/dist/cdn/FMGVE7KP.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import e from"./
|
|
3
|
+
v4.34.0-next.137 */
|
|
4
|
+
import e from"./H4EKWUGZ.js";import"./AD6UTPKO.js";import{a as b}from"./T7RKBO5R.js";import c from"./NL5HWOSB.js";import"./NWANFRQZ.js";import"./J2GDDFON.js";import"./QUOXLAGO.js";import"./FP4XIAZA.js";import{A as a,F as g,g as o,h as l,l as u,w as h,x as d,y as p}from"./NI233ASE.js";import"./ZUP7EB7A.js";export default $arcgis.t(([,{m:f,n:v,o:r,p:c}])=>{var s={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-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}`,m=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)),n=i===Number(t)&&i>=0;if(t!==void 0&&n&&f(t,this.decimalPlacesInputElement.value?.min,this.decimalPlacesInputElement.value?.max)){let x=Number.parseInt(t),e={minimumFractionDigits:this.numberFormat?.minimumFractionDigits,maximumFractionDigits:x};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:c.IDLE})}else this.decimalPlacesInputElement.value&&r({inputElement:this.decimalPlacesInputElement.value,status:c.INVALID})}onShowThousandsSeparatorChange(t){let i=t.target.checked,n=this.getUpdatedNumberFormat({useGrouping:i});this.arcgisChartsConfigNumberFormatChange.emit(n)}getUpdatedNumberFormat(t){return{...this.numberFormat,...t}}render(){return l`<div><div class=${a(s.container)}><calcite-label class=${a(s.label)}>${this._messages.decimalPlaces}<calcite-input type=number class=${a(s.numberInput)} min=0 max=20 step=1 .value=${v(this.numberFormat?.maximumFractionDigits,2)} @calciteInputInput=${this.onDecimalPlacesChange} ${d(this.decimalPlacesInputElement)}></calcite-input></calcite-label><calcite-label layout=inline-space-between class=${a(s.label)}>${this._messages.showThousandSeparators}<calcite-switch name=useGrouping .checked=${!!(this.numberFormat?.useGrouping??!0)} @calciteSwitchChange=${this.onShowThousandsSeparatorChange}></calcite-switch></calcite-label></div></div>`}};g("arcgis-charts-config-number-format",m);return m},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/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v4.34.0-next.137 */
|
|
4
|
+
import"./ZUP7EB7A.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/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import b from"./QBTWO37T.js";import{h as C,n as fe}from"./YDFPFNOE.js";import a from"./PMOIMY45.js";import{d as W,f as _,i as ae,j as te,q as re}from"./MRGBM5A7.js";import{c as D,d as E}from"./WC6G5BE2.js";import{c as d}from"./CVRDHYZM.js";import{a as m,h as w,v as f}from"./TKMP6UB2.js";import{G as q}from"./JID6SRDI.js";export default $arcgis.t(([,,,,,,,{substitute:N},{$:ce,A:p,Da:U,K:K,L:le,M:ne,Oa:I,T:P,U:Q,da:R,gb:O,kb:ye,kc:me,mc:X,nc:Y,wb:de,wc:k,y:G},{L:V,b:M,e:A,g:ue,h:ge,ma:Se,p:pe,qa:be}])=>{var si=(i,e)=>e?.series?.[i]?.name,oi=(i,e,s)=>{let o=s;o?.series?.[e]!==void 0&&(o.series[e].name=i)},ai=(i,e)=>{let s,o=e.series?.[i];return o?.type===m.BoxPlotSeries?s=o.fillSymbol?.color:o?.type===m.LineSeries&&(s=o.lineSymbol?.color),s},Ae=i=>{let e=i.series[0];return i.showMean===!0&&C(e)?e.fillSymbol?.color:void 0},Le=(i,e)=>{let s=e.series[0];e.showMean===!0&&C(s)&&(s.fillSymbol!==void 0?s.fillSymbol.color=i:s.fillSymbol={...P(),color:i})},ti=(i,e,s)=>{let o=s?.series?.[e];o?.type===m.BoxPlotSeries&&o.fillSymbol!==void 0?o.fillSymbol.color=i:o?.type===m.LineSeries&&o.lineSymbol!==void 0&&(o.lineSymbol.color=i,o.markerSymbol!==void 0&&(o.markerSymbol.color=i))},Oe=i=>i.series.map(e=>e.id),ke=(i,e)=>{e?.series?.sort((s,o)=>i.findIndex(a=>s.id===a)-i.findIndex(a=>o.id===a))},ri=(i,e,s)=>{let o=Oe(s),[a]=o.splice(i,1);o.splice(e,0,a),ke(o,s)},li=i=>Z(i)?i.series.findIndex(e=>e.type===m.BoxPlotSeries):-1;async function ee(i,e){let s=await J(i,e),o=pe(i),a=k(i);return s===o||a}async function z(i,e){let s=await L(i,e),o=V(1,i),a=k(i);return s===o||a}function Ce(i){let{config:e,layerInfo:s,newCategory:o}=i,{layerFieldsInfo:a}=s,t=F(e),r=o!==p?I(a,t):"",l=V(0,e),n=k(e);return r===l||n||l.trim()===""}var F=i=>O(i)?.x??p,ie=W(i=>{let e=O(i),s=e?.query?.where?.split("=")[0].trim()??"";return ye(e?.query?.where)?"":s},i=>O(i)?.query?.where),j=W(i=>de(i?.series).filter(e=>e!==""),i=>i?.series),$=async i=>{let{category:e,seriesIndex:s,y:o}=i,a={...await R(s),x:e===void 0||e===""?p:e,y:o,query:{}};return _(a)},Te=async i=>{let{category:e,seriesIndex:s,y:o}=i,a={...await ce({seriesIndex:s}),x:e===void 0||e===""?p:e,y:o,query:{}};return _(a)};async function xe(i){let{x:e,y:s,seriesTemplate:o}=i,{id:a,fillSymbol:t}=o??{},r=await R(),l=a??`series_${Date.now()}`;return r.id=l,r.name=l,r.x=e,r.y=s,t?r.fillSymbol=t:r.fillSymbol&&(r.fillSymbol.color=U,r.fillSymbol?.outline&&(r.fillSymbol.outline.color=U)),r}async function we(i){let{numericFields:e,config:s,layerInfo:o,category:a}=i,{layerFieldsInfo:t}=o,r=[],l=a??F(s),n=!1;if(e.length===0){let c=await $({y:"",seriesIndex:0,category:l});r.push(c)}else if(l===p){let c=await D(E(document.documentElement).t9nLocale,q("./assets/common/t9n"),"messages."),y=e.length>1?e:e[0],v=await $({y,seriesIndex:0,category:l}),u=e.length>1?c.axisLabels.values:I(o.layerFieldsInfo,e[0]),x={...v,id:e[0],name:u,x:l},S=s.series.find(g=>te(y,g.y)&&g.query?.where===void 0);S!==void 0&&(!s.colorMatch&&"fillSymbol"in S&&(x.fillSymbol=S.fillSymbol,n=!0),x.id=S.id,x.name=S.name),r.push(x)}else for(let c=0;c<e.length;c+=1){let y=e[c],v=await $({y,seriesIndex:c,category:l}),u=I(t,y),x={...v,id:y,name:u,x:l},S=s.series.find(g=>y===g.y);S!==void 0&&(!s.colorMatch&&"fillSymbol"in S&&(x.fillSymbol=S.fillSymbol,n=!0),x.id=S.id,x.name=S.name),r.push(x)}return s.series.length===1&&r.length===1&&!s.colorMatch&&"fillSymbol"in s.series[0]&&(r[0].fillSymbol=s.series[0].fillSymbol,n=!0),s.colorMatch=!n,r}var he=i=>i?.query?.where?.split("=")[1].trim().replace(/'/gu,"")??"",qe=i=>i.series.some(e=>e.type===m.LineSeries)&&i.series.some(e=>e.type===m.BoxPlotSeries);async function De(i,e){let s=[];return i.forEach(o=>{if(o.type===m.BoxPlotSeries){let{type:a,fillSymbol:t,...r}=o;s.push({...r,type:m.LineSeries,lineSymbol:{...K({width:G}),...t!==void 0?{color:t.color}:{}},markerSymbol:{...Q(),...t!==void 0?{color:t.color}:{}}})}}),s.unshift(await xe({x:i[0].x,y:i[0].y,seriesTemplate:e})),s}function Ee(i){let e=i.slice(1),s=[];return e.forEach(o=>{if(o.type===m.LineSeries){let{type:a,lineSymbol:t,markerSymbol:r,...l}=o,n=P();s.push({...l,type:m.BoxPlotSeries,fillSymbol:{...n,color:t?.color}})}}),s}function Ie(i){let{formerSeries:e,newSeries:s,showMean:o}=i,a=s,t=n=>n.type===(o?m.LineSeries:m.BoxPlotSeries),r=e.filter(t).map(n=>n.id),l=s.filter(t).map(n=>n.id);return r.length===l.length&&JSON.stringify(r)!==JSON.stringify(l)&&(a=a.sort((n,c)=>r.findIndex(y=>y===n.id)-r.findIndex(y=>y===c.id))),a}async function Pe(i){let{config:e,layerInfo:s,splitByField:o,numericFields:a,category:t}=i,{layer:r,layerFieldsInfo:l}=s,{fetchNullValues:n}=O(e)?.query??{},c=t??F(e),{categoriesArray:y,splitByFieldType:v}=await Se({config:e,layer:r,layerFieldsInfo:l,xAxisField:c!==p?c:void 0,aggregationFields:a,splitByField:o,fetchNullValues:n}),u=[],x=!1,S=qe(e);if(y.length===0){u=await we({numericFields:a,category:c,config:e,layerInfo:s});for(let g of u)g.query&&(g.query.where=`${o}=''`)}else for(let g=0;g<y.length;g+=1){let B=y[g],T={y:a,seriesIndex:g,category:c},oe=S?await Te(T):await $(T),ve={fieldName:o,fieldValueToMatch:B??"",subtypeInfo:X(s.layer),fieldList:s.layerFieldsInfo},Be=Y(ve),H=`${B}`,h={...oe,id:H,name:Be??H,x:c===void 0||c===""?p:c,query:{...oe.query,where:`${o}=${v===re.String&&B!==null?`'${B}'`:B}`}},b=e.series.find(Me=>he(Me)===H);b!==void 0&&(e.colorMatch||(h.type===m.BoxPlotSeries?C(b)?h.fillSymbol=b.fillSymbol:h.fillSymbol={...P(),color:b.lineSymbol?.color}:C(b)?(h.lineSymbol={...K({width:G}),...b.fillSymbol!==void 0?{color:b.fillSymbol.color}:{}},h.markerSymbol={...Q(),...b.fillSymbol!==void 0?{color:b.fillSymbol.color}:{}}):(h.lineSymbol=b.lineSymbol,h.markerSymbol=b.markerSymbol),x=!0),h.id=b.id,h.name=b.name),u.push(h)}if(u=Ie({formerSeries:e.series,newSeries:u,showMean:Z(e)}),e.colorMatch=!x,Z(e)){let g=e.series.find(T=>T.type===m.BoxPlotSeries),B=await xe({x:c,y:a,seriesTemplate:g});u.unshift(B)}return u}var se=async i=>{let{splitByField:e,numericFields:s,category:o,config:a,layerInfo:t}=i,r=!(s.length>1&&o!==p)&&e!=="";Ne(r?a.showMean:!1,a),a.series=r?await Pe({config:a,layerInfo:t,splitByField:e,numericFields:s,category:o}):await we({numericFields:s,config:a,layerInfo:t,category:o})},Ve=i=>i?.standardizeValues??!1;async function L(i,e){let{layerFieldsInfo:s}=e,o=Ve(i),a=await D(E(document.documentElement).t9nLocale,q("./assets/common/t9n"),"messages."),t=o?a.axisLabels.standardizedValues:a.axisLabels.values,r=i?.series?.map(l=>l.y).flat();return r=[...new Set(r)],r.length===1&&(t=I(s,r[0])),t}async function J(i,e){let{layerFieldsInfo:s}=e,o=F(i),a=j(i),t=ie(i),r=a.map(y=>I(s??[],y)).join(", "),l=I(s??[],o),n="",c=await D(E(document.documentElement).t9nLocale,q("./assets/common/t9n"),"messages.");return a.length>0&&(o!==p&&t!==""?n=N(c.titleLabels.distributionOfFieldsByCategoryAndSplitBy,{valueFields:r,category:l,splitByField:t}):o!==p?n=N(c.titleLabels.distributionOfFieldsByCategory,{valueFields:r,category:l}):t!==""?n=N(c.titleLabels.distributionOfFieldsByCategory,{valueFields:r,category:t}):n=N(c.titleLabels.distributionOfField,{valueField:r})),n}var ni=async(i,e,s)=>{let{layerFieldsInfo:o}=s,a=F(e),t=ie(e),r=j(e),l=me(o),n,c=await ee(e,s),y=await z(e,s),v=Ce({config:e,layerInfo:s,newCategory:i});if(!l.includes(a)&&l.includes(i)?n=ne():l.includes(a)&&!l.includes(i)&&(n=le()),n!==void 0&&ge(e,n),await se({splitByField:t,numericFields:r,category:i,config:e,layerInfo:s}),v){let u=i!==p?I(o,i):"";M(e,0,u)}if(y){let u=await L(e,s);M(e,1,u)}e?.title!==void 0&&c&&(e.title.content.text=await J(e,s)),A({config:e,value:null,axisIndex:1,isMax:!1}),A({config:e,value:null,axisIndex:1,isMax:!0})},ci=async(i,e,s)=>{let o=F(e),a=ie(e),t=await ee(e,s),r=await z(e,s);if(await se({splitByField:a,numericFields:i,category:o,config:e,layerInfo:s}),r){let l=await L(e,s);M(e,1,l)}e.title&&t&&(e.title.content.text=await J(e,s)),A({config:e,value:null,axisIndex:1,isMax:!1}),A({config:e,value:null,axisIndex:1,isMax:!0})},yi=i=>{let{series:e,splitByField:s,layerInfo:o,commonStrings:a}=i,t=typeof e.y=="string"?I(o.layerFieldsInfo,e.y):a.axisLabels.values;ae(s)||(t=he(e));let r={fieldName:s,fieldValueToMatch:t??"",subtypeInfo:X(o.layer),fieldList:o.layerFieldsInfo};return t=Y(r)??t,t??e.id},di=async(i,e,s)=>{let o=F(e),a=j(e),t=await ee(e,s),r=await z(e,s);if(await se({splitByField:i,numericFields:a,category:o,config:e,layerInfo:s}),r){let l=await L(e,s);M(e,1,l)}e.title&&t&&(e.title.content.text=await J(e,s)),A({config:e,value:null,axisIndex:1,isMax:!1}),A({config:e,value:null,axisIndex:1,isMax:!0})},mi=i=>i?.showOutliers??!1,fi=async(i,e,s)=>{if(e.showOutliers=i,await z(e,s)){let o=await L(e,s);M(e,1,o)}},ui=async(i,e,s)=>{let o=V(1,e),a=await L(e,s),t=k(e);if(e.standardizeValues=i,o===a||t){let r=await L(e,s);M(e,1,r)}},Fe=i=>{let e=d.xAxisAsc,s=i.orderOptions?.data?.orderType??f.Category,o=i.orderOptions?.data?.orderBy??w.Ascending;switch(s){case f.Category:e=Array.isArray(o)?d.customSort:o===w.Ascending?d.xAxisAsc:d.xAxisDesc;break;case f.Mean:e=o===w.Ascending?d.meanAsc:d.meanDesc;break;case f.Median:e=o===w.Ascending?d.medianAsc:d.medianDesc;break}return e},gi=(i,e,s)=>{let o=f.Category,a=w.Ascending;if(e.orderOptions=e.orderOptions??{},i===d.customSort&&s!==void 0)e.orderOptions.data={orderType:f.Category,orderBy:s};else{switch(i){case d.xAxisAsc:{o=f.Category,a=w.Ascending;break}case d.xAxisDesc:{o=f.Category,a=w.Descending;break}case d.meanAsc:{o=f.Mean,a=w.Ascending;break}case d.meanDesc:{o=f.Mean,a=w.Descending;break}case d.medianAsc:{o=f.Median,a=w.Ascending;break}case d.medianDesc:{o=f.Median,a=w.Descending;break}}e.orderOptions.data={orderType:o,orderBy:a}}},Z=i=>i.showMean??!1,Ne=async(i=!1,e,s)=>{let o=i?s:Ae(e),a=(i??!1)!==(e.showMean??!1);if(e.showMean=i,a){let t;i?t=fe(e.series)?await De(e.series):e.series:t=Ee(e.series),t&&(t=Ie({formerSeries:e.series,newSeries:t,showMean:i}),e.series=t)}return i&&s!==void 0&&Le(s,e),{previousMeanLinesBoxColor:o}},pi=i=>{let e=[],s=i.orderOptions?.data?.orderType;return Fe(i)===d.customSort&&s===f.Category&&(e=i.orderOptions?.data?.orderBy),e},Si=(i,e)=>{e.orderOptions??={};let s=e.orderOptions?.data?.orderType;Fe(e)===d.customSort&&s===f.Category&&(e.orderOptions.data={orderType:f.Category,orderBy:i})},bi=async(i,e)=>{let s=F(i),o=ue(i)?.type,a=j(i),t=[];return o===m.CategoryAxisFormat&&(s===p?t=a:s.trim()!==""&&s!==p&&(t=await be({layerInfo:e,config:i,category:s}))),t};return{a:si,b:oi,c:ai,d:Ae,e:Le,f:ti,g:Oe,h:ke,i:ri,j:li,k:F,l:ie,m:j,n:se,o:Ve,p:L,q:J,r:ni,s:ci,t:yi,u:di,v:mi,w:fi,x:ui,y:Fe,z:gi,A:Z,B:Ne,C:pi,D:Si,E:bi}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b)
|
|
3
|
+
v4.34.0-next.137 */
|
|
4
|
+
import b from"./WB5LCPZU.js";import{h as C,n as fe}from"./XWI545BD.js";import a from"./NL5HWOSB.js";import{d as W,f as _,i as ae,j as te,q as re}from"./NWANFRQZ.js";import{c as D,d as E}from"./J2GDDFON.js";import{c as d}from"./QUOXLAGO.js";import{a as m,h as w,v as f}from"./FP4XIAZA.js";import{G as q}from"./NI233ASE.js";export default $arcgis.t(([,,,,,,,{substitute:N},{$:ce,A:p,Da:U,K:K,L:le,M:ne,Oa:I,T:P,U:Q,da:R,gb:O,kb:ye,kc:me,mc:X,nc:Y,wb:de,wc:k,y:G},{L:V,b:M,e:A,g:ue,h:ge,ma:Se,p:pe,qa:be}])=>{var si=(i,e)=>e?.series?.[i]?.name,oi=(i,e,s)=>{let o=s;o?.series?.[e]!==void 0&&(o.series[e].name=i)},ai=(i,e)=>{let s,o=e.series?.[i];return o?.type===m.BoxPlotSeries?s=o.fillSymbol?.color:o?.type===m.LineSeries&&(s=o.lineSymbol?.color),s},Ae=i=>{let e=i.series[0];return i.showMean===!0&&C(e)?e.fillSymbol?.color:void 0},Le=(i,e)=>{let s=e.series[0];e.showMean===!0&&C(s)&&(s.fillSymbol!==void 0?s.fillSymbol.color=i:s.fillSymbol={...P(),color:i})},ti=(i,e,s)=>{let o=s?.series?.[e];o?.type===m.BoxPlotSeries&&o.fillSymbol!==void 0?o.fillSymbol.color=i:o?.type===m.LineSeries&&o.lineSymbol!==void 0&&(o.lineSymbol.color=i,o.markerSymbol!==void 0&&(o.markerSymbol.color=i))},Oe=i=>i.series.map(e=>e.id),ke=(i,e)=>{e?.series?.sort((s,o)=>i.findIndex(a=>s.id===a)-i.findIndex(a=>o.id===a))},ri=(i,e,s)=>{let o=Oe(s),[a]=o.splice(i,1);o.splice(e,0,a),ke(o,s)},li=i=>Z(i)?i.series.findIndex(e=>e.type===m.BoxPlotSeries):-1;async function ee(i,e){let s=await J(i,e),o=pe(i),a=k(i);return s===o||a}async function z(i,e){let s=await L(i,e),o=V(1,i),a=k(i);return s===o||a}function Ce(i){let{config:e,layerInfo:s,newCategory:o}=i,{layerFieldsInfo:a}=s,t=F(e),r=o!==p?I(a,t):"",l=V(0,e),n=k(e);return r===l||n||l.trim()===""}var F=i=>O(i)?.x??p,ie=W(i=>{let e=O(i),s=e?.query?.where?.split("=")[0].trim()??"";return ye(e?.query?.where)?"":s},i=>O(i)?.query?.where),j=W(i=>de(i?.series).filter(e=>e!==""),i=>i?.series),$=async i=>{let{category:e,seriesIndex:s,y:o}=i,a={...await R(s),x:e===void 0||e===""?p:e,y:o,query:{}};return _(a)},Te=async i=>{let{category:e,seriesIndex:s,y:o}=i,a={...await ce({seriesIndex:s}),x:e===void 0||e===""?p:e,y:o,query:{}};return _(a)};async function xe(i){let{x:e,y:s,seriesTemplate:o}=i,{id:a,fillSymbol:t}=o??{},r=await R(),l=a??`series_${Date.now()}`;return r.id=l,r.name=l,r.x=e,r.y=s,t?r.fillSymbol=t:r.fillSymbol&&(r.fillSymbol.color=U,r.fillSymbol?.outline&&(r.fillSymbol.outline.color=U)),r}async function we(i){let{numericFields:e,config:s,layerInfo:o,category:a}=i,{layerFieldsInfo:t}=o,r=[],l=a??F(s),n=!1;if(e.length===0){let c=await $({y:"",seriesIndex:0,category:l});r.push(c)}else if(l===p){let c=await D(E(document.documentElement).t9nLocale,q("./assets/common/t9n"),"messages."),y=e.length>1?e:e[0],v=await $({y,seriesIndex:0,category:l}),u=e.length>1?c.axisLabels.values:I(o.layerFieldsInfo,e[0]),x={...v,id:e[0],name:u,x:l},S=s.series.find(g=>te(y,g.y)&&g.query?.where===void 0);S!==void 0&&(!s.colorMatch&&"fillSymbol"in S&&(x.fillSymbol=S.fillSymbol,n=!0),x.id=S.id,x.name=S.name),r.push(x)}else for(let c=0;c<e.length;c+=1){let y=e[c],v=await $({y,seriesIndex:c,category:l}),u=I(t,y),x={...v,id:y,name:u,x:l},S=s.series.find(g=>y===g.y);S!==void 0&&(!s.colorMatch&&"fillSymbol"in S&&(x.fillSymbol=S.fillSymbol,n=!0),x.id=S.id,x.name=S.name),r.push(x)}return s.series.length===1&&r.length===1&&!s.colorMatch&&"fillSymbol"in s.series[0]&&(r[0].fillSymbol=s.series[0].fillSymbol,n=!0),s.colorMatch=!n,r}var he=i=>i?.query?.where?.split("=")[1].trim().replace(/'/gu,"")??"",qe=i=>i.series.some(e=>e.type===m.LineSeries)&&i.series.some(e=>e.type===m.BoxPlotSeries);async function De(i,e){let s=[];return i.forEach(o=>{if(o.type===m.BoxPlotSeries){let{type:a,fillSymbol:t,...r}=o;s.push({...r,type:m.LineSeries,lineSymbol:{...K({width:G}),...t!==void 0?{color:t.color}:{}},markerSymbol:{...Q(),...t!==void 0?{color:t.color}:{}}})}}),s.unshift(await xe({x:i[0].x,y:i[0].y,seriesTemplate:e})),s}function Ee(i){let e=i.slice(1),s=[];return e.forEach(o=>{if(o.type===m.LineSeries){let{type:a,lineSymbol:t,markerSymbol:r,...l}=o,n=P();s.push({...l,type:m.BoxPlotSeries,fillSymbol:{...n,color:t?.color}})}}),s}function Ie(i){let{formerSeries:e,newSeries:s,showMean:o}=i,a=s,t=n=>n.type===(o?m.LineSeries:m.BoxPlotSeries),r=e.filter(t).map(n=>n.id),l=s.filter(t).map(n=>n.id);return r.length===l.length&&JSON.stringify(r)!==JSON.stringify(l)&&(a=a.sort((n,c)=>r.findIndex(y=>y===n.id)-r.findIndex(y=>y===c.id))),a}async function Pe(i){let{config:e,layerInfo:s,splitByField:o,numericFields:a,category:t}=i,{layer:r,layerFieldsInfo:l}=s,{fetchNullValues:n}=O(e)?.query??{},c=t??F(e),{categoriesArray:y,splitByFieldType:v}=await Se({config:e,layer:r,layerFieldsInfo:l,xAxisField:c!==p?c:void 0,aggregationFields:a,splitByField:o,fetchNullValues:n}),u=[],x=!1,S=qe(e);if(y.length===0){u=await we({numericFields:a,category:c,config:e,layerInfo:s});for(let g of u)g.query&&(g.query.where=`${o}=''`)}else for(let g=0;g<y.length;g+=1){let B=y[g],T={y:a,seriesIndex:g,category:c},oe=S?await Te(T):await $(T),ve={fieldName:o,fieldValueToMatch:B??"",subtypeInfo:X(s.layer),fieldList:s.layerFieldsInfo},Be=Y(ve),H=`${B}`,h={...oe,id:H,name:Be??H,x:c===void 0||c===""?p:c,query:{...oe.query,where:`${o}=${v===re.String&&B!==null?`'${B}'`:B}`}},b=e.series.find(Me=>he(Me)===H);b!==void 0&&(e.colorMatch||(h.type===m.BoxPlotSeries?C(b)?h.fillSymbol=b.fillSymbol:h.fillSymbol={...P(),color:b.lineSymbol?.color}:C(b)?(h.lineSymbol={...K({width:G}),...b.fillSymbol!==void 0?{color:b.fillSymbol.color}:{}},h.markerSymbol={...Q(),...b.fillSymbol!==void 0?{color:b.fillSymbol.color}:{}}):(h.lineSymbol=b.lineSymbol,h.markerSymbol=b.markerSymbol),x=!0),h.id=b.id,h.name=b.name),u.push(h)}if(u=Ie({formerSeries:e.series,newSeries:u,showMean:Z(e)}),e.colorMatch=!x,Z(e)){let g=e.series.find(T=>T.type===m.BoxPlotSeries),B=await xe({x:c,y:a,seriesTemplate:g});u.unshift(B)}return u}var se=async i=>{let{splitByField:e,numericFields:s,category:o,config:a,layerInfo:t}=i,r=!(s.length>1&&o!==p)&&e!=="";Ne(r?a.showMean:!1,a),a.series=r?await Pe({config:a,layerInfo:t,splitByField:e,numericFields:s,category:o}):await we({numericFields:s,config:a,layerInfo:t,category:o})},Ve=i=>i?.standardizeValues??!1;async function L(i,e){let{layerFieldsInfo:s}=e,o=Ve(i),a=await D(E(document.documentElement).t9nLocale,q("./assets/common/t9n"),"messages."),t=o?a.axisLabels.standardizedValues:a.axisLabels.values,r=i?.series?.map(l=>l.y).flat();return r=[...new Set(r)],r.length===1&&(t=I(s,r[0])),t}async function J(i,e){let{layerFieldsInfo:s}=e,o=F(i),a=j(i),t=ie(i),r=a.map(y=>I(s??[],y)).join(", "),l=I(s??[],o),n="",c=await D(E(document.documentElement).t9nLocale,q("./assets/common/t9n"),"messages.");return a.length>0&&(o!==p&&t!==""?n=N(c.titleLabels.distributionOfFieldsByCategoryAndSplitBy,{valueFields:r,category:l,splitByField:t}):o!==p?n=N(c.titleLabels.distributionOfFieldsByCategory,{valueFields:r,category:l}):t!==""?n=N(c.titleLabels.distributionOfFieldsByCategory,{valueFields:r,category:t}):n=N(c.titleLabels.distributionOfField,{valueField:r})),n}var ni=async(i,e,s)=>{let{layerFieldsInfo:o}=s,a=F(e),t=ie(e),r=j(e),l=me(o),n,c=await ee(e,s),y=await z(e,s),v=Ce({config:e,layerInfo:s,newCategory:i});if(!l.includes(a)&&l.includes(i)?n=ne():l.includes(a)&&!l.includes(i)&&(n=le()),n!==void 0&&ge(e,n),await se({splitByField:t,numericFields:r,category:i,config:e,layerInfo:s}),v){let u=i!==p?I(o,i):"";M(e,0,u)}if(y){let u=await L(e,s);M(e,1,u)}e?.title!==void 0&&c&&(e.title.content.text=await J(e,s)),A({config:e,value:null,axisIndex:1,isMax:!1}),A({config:e,value:null,axisIndex:1,isMax:!0})},ci=async(i,e,s)=>{let o=F(e),a=ie(e),t=await ee(e,s),r=await z(e,s);if(await se({splitByField:a,numericFields:i,category:o,config:e,layerInfo:s}),r){let l=await L(e,s);M(e,1,l)}e.title&&t&&(e.title.content.text=await J(e,s)),A({config:e,value:null,axisIndex:1,isMax:!1}),A({config:e,value:null,axisIndex:1,isMax:!0})},yi=i=>{let{series:e,splitByField:s,layerInfo:o,commonStrings:a}=i,t=typeof e.y=="string"?I(o.layerFieldsInfo,e.y):a.axisLabels.values;ae(s)||(t=he(e));let r={fieldName:s,fieldValueToMatch:t??"",subtypeInfo:X(o.layer),fieldList:o.layerFieldsInfo};return t=Y(r)??t,t??e.id},di=async(i,e,s)=>{let o=F(e),a=j(e),t=await ee(e,s),r=await z(e,s);if(await se({splitByField:i,numericFields:a,category:o,config:e,layerInfo:s}),r){let l=await L(e,s);M(e,1,l)}e.title&&t&&(e.title.content.text=await J(e,s)),A({config:e,value:null,axisIndex:1,isMax:!1}),A({config:e,value:null,axisIndex:1,isMax:!0})},mi=i=>i?.showOutliers??!1,fi=async(i,e,s)=>{if(e.showOutliers=i,await z(e,s)){let o=await L(e,s);M(e,1,o)}},ui=async(i,e,s)=>{let o=V(1,e),a=await L(e,s),t=k(e);if(e.standardizeValues=i,o===a||t){let r=await L(e,s);M(e,1,r)}},Fe=i=>{let e=d.xAxisAsc,s=i.orderOptions?.data?.orderType??f.Category,o=i.orderOptions?.data?.orderBy??w.Ascending;switch(s){case f.Category:e=Array.isArray(o)?d.customSort:o===w.Ascending?d.xAxisAsc:d.xAxisDesc;break;case f.Mean:e=o===w.Ascending?d.meanAsc:d.meanDesc;break;case f.Median:e=o===w.Ascending?d.medianAsc:d.medianDesc;break}return e},gi=(i,e,s)=>{let o=f.Category,a=w.Ascending;if(e.orderOptions=e.orderOptions??{},i===d.customSort&&s!==void 0)e.orderOptions.data={orderType:f.Category,orderBy:s};else{switch(i){case d.xAxisAsc:{o=f.Category,a=w.Ascending;break}case d.xAxisDesc:{o=f.Category,a=w.Descending;break}case d.meanAsc:{o=f.Mean,a=w.Ascending;break}case d.meanDesc:{o=f.Mean,a=w.Descending;break}case d.medianAsc:{o=f.Median,a=w.Ascending;break}case d.medianDesc:{o=f.Median,a=w.Descending;break}}e.orderOptions.data={orderType:o,orderBy:a}}},Z=i=>i.showMean??!1,Ne=async(i=!1,e,s)=>{let o=i?s:Ae(e),a=(i??!1)!==(e.showMean??!1);if(e.showMean=i,a){let t;i?t=fe(e.series)?await De(e.series):e.series:t=Ee(e.series),t&&(t=Ie({formerSeries:e.series,newSeries:t,showMean:i}),e.series=t)}return i&&s!==void 0&&Le(s,e),{previousMeanLinesBoxColor:o}},pi=i=>{let e=[],s=i.orderOptions?.data?.orderType;return Fe(i)===d.customSort&&s===f.Category&&(e=i.orderOptions?.data?.orderBy),e},Si=(i,e)=>{e.orderOptions??={};let s=e.orderOptions?.data?.orderType;Fe(e)===d.customSort&&s===f.Category&&(e.orderOptions.data={orderType:f.Category,orderBy:i})},bi=async(i,e)=>{let s=F(i),o=ue(i)?.type,a=j(i),t=[];return o===m.CategoryAxisFormat&&(s===p?t=a:s.trim()!==""&&s!==p&&(t=await be({layerInfo:e,config:i,category:s}))),t};return{a:si,b:oi,c:ai,d:Ae,e:Le,f:ti,g:Oe,h:ke,i:ri,j:li,k:F,l:ie,m:j,n:se,o:Ve,p:L,q:J,r:ni,s:ci,t:yi,u:di,v:mi,w:fi,x:ui,y:Fe,z:gi,A:Z,B:Ne,C:pi,D:Si,E:bi}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v4.34.0-next.137 */
|
|
4
|
+
import"./ZUP7EB7A.js";var e={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_date_millisecond:"mm:ss SSS",_date_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"dd MMM",_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:"DC",_era_bc:"AC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"Janeiro",February:"Fevereiro",March:"Mar\xE7o",April:"Abril",May:"Maio",June:"Junho",July:"Julho",August:"Agosto",September:"Setembro",October:"Outubro",November:"Novembro",December:"Dezembro",Jan:"Jan",Feb:"Fev",Mar:"Mar",Apr:"Abr","May(short)":"Mai",Jun:"Jun",Jul:"Jul",Aug:"Ago",Sep:"Set",Oct:"Out",Nov:"Nov",Dec:"Dez",Sunday:"Domingo",Monday:"Segunda-feira",Tuesday:"Ter\xE7a-feira",Wednesday:"Quarta-feira",Thursday:"Quinta-feira",Friday:"Sexta-feira",Saturday:"S\xE1bado",Sun:"Dom",Mon:"Seg",Tue:"Ter",Wed:"Qua",Thu:"Qui",Fri:"Sex",Sat:"S\xE1b",_dateOrd:function(a){return"\xBA"},"Zoom Out":"Reduzir Zoom",Play:"Play",Stop:"Parar",Legend:"Legenda","Click, tap or press ENTER to toggle":"Clique, toque ou pressione ENTER para alternar",Loading:"Carregando",Home:"In\xEDcio",Chart:"Gr\xE1fico","Serial chart":"Gr\xE1fico Serial","X/Y chart":"Gr\xE1fico XY","Pie chart":"Gr\xE1fico de Pizza","Gauge chart":"Gr\xE1fico Indicador","Radar chart":"Gr\xE1fico de Radar","Sankey diagram":"Diagrama Sankey","Chord diagram":"Diagram Chord","Flow diagram":"Diagrama Flow","TreeMap chart":"Gr\xE1fico de Mapa de \xC1rvore",Series:"S\xE9ries","Candlestick Series":"S\xE9ries do Candlestick","Column Series":"S\xE9ries de Colunas","Line Series":"S\xE9ries de Linhas","Pie Slice Series":"S\xE9ries de Fatias de Pizza","X/Y Series":"S\xE9ries de XY",Map:"Mapa","Press ENTER to zoom in":"Pressione ENTER para aumentar o zoom","Press ENTER to zoom out":"Pressione ENTER para diminuir o zoom","Use arrow keys to zoom in and out":"Use as setas para diminuir ou aumentar o zoom","Use plus and minus keys on your keyboard to zoom in and out":"Use as teclas mais ou menos no seu teclado para diminuir ou aumentar o zoom",Export:"Exportar",Image:"Imagem",Data:"Dados",Print:"Imprimir","Click, tap or press ENTER to open":"Clique, toque ou pressione ENTER para abrir","Click, tap or press ENTER to print.":"Clique, toque ou pressione ENTER para imprimir","Click, tap or press ENTER to export as %1.":"Clique, toque ou pressione ENTER para exportar como %1.",'To save the image, right-click this link and choose "Save picture as..."':'Para salvar a imagem, clique no link com o bot\xE3o da direira e escolha "Salvar imagem como..."','To save the image, right-click thumbnail on the left and choose "Save picture as..."':'Para salvar, clique na imagem \xE0 esquerda com o bot\xE3o direito e escolha "Salvar imagem como..."',"(Press ESC to close this message)":"(Pressione ESC para fechar esta mensagem)","Image Export Complete":"A exporta\xE7\xE3o da imagem foi completada","Export operation took longer than expected. Something might have gone wrong.":"A exporta\xE7\xE3o da imagem demorou mais do que o experado. Algo deve ter dado errado.","Saved from":"Salvo de",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"Use TAB para selecionar os bot\xF5es ou setas para a direita ou esquerda para mudar a sele\xE7\xE3o","Use left and right arrows to move selection":"Use as setas para a esquerda ou direita para mover a sele\xE7\xE3o","Use left and right arrows to move left selection":"Use as setas para a esquerda ou direita para mover a sele\xE7\xE3o da esquerda","Use left and right arrows to move right selection":"Use as setas para a esquerda ou direita para mover a sele\xE7\xE3o da direita","Use TAB select grip buttons or up and down arrows to change selection":"Use TAB para selecionar os bot\xF5es ou setas para cima ou para baixo para mudar a sele\xE7\xE3o","Use up and down arrows to move selection":"Use as setas para cima ou para baixo para mover a sele\xE7\xE3o","Use up and down arrows to move lower selection":"Use as setas para cima ou para baixo para mover a sele\xE7\xE3o de baixo","Use up and down arrows to move upper selection":"Use as setas para cima ou para baixo para mover a sele\xE7\xE3o de cima","From %1 to %2":"De %1 at\xE9 %2","From %1":"De %1","To %1":"At\xE9 %1","No parser available for file: %1":"Nenhum interpretador est\xE1 dispon\xEDvel para este arquivo: %1","Error parsing file: %1":"Erro ao analizar o arquivo: %1","Unable to load file: %1":"O arquivo n\xE3o p\xF4de ser carregado: %1","Invalid date":"Data inv\xE1lida"};export{e as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v4.34.0-next.137 */
|
|
4
|
+
import"./ZUP7EB7A.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_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:"n. e.",_era_bc:"p. n. e.",A:"prijepodne",P:"popodne",AM:"AM",PM:"PM","A.M.":"prijepodne","P.M.":"popodne",January:"januar",February:"februar",March:"mart",April:"april",May:"maj",June:"juni",July:"juli",August:"august",September:"septembar",October:"oktobar",November:"novembar",December:"decembar",Jan:"jan",Feb:"feb",Mar:"mar",Apr:"apr","May(short)":"maj",Jun:"jun",Jul:"jul",Aug:"aug",Sep:"sep",Oct:"okt",Nov:"nov",Dec:"dec",Sunday:"nedjelja",Monday:"ponedjeljak",Tuesday:"utorak",Wednesday:"srijeda",Thursday:"\u010Detvrtak",Friday:"petak",Saturday:"subota",Sun:"ned",Mon:"pon",Tue:"uto",Wed:"sri",Thu:"\u010Det",Fri:"pet",Sat:"sub",_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":"Pove\u0107aj",Play:"Reproduciraj",Stop:"Zaustavi",Legend:"Legenda","Click, tap or press ENTER to toggle":"",Loading:"U\u010Ditavanje",Home:"Po\u010Detna",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:"Ispis",Image:"Slika",Data:"Podaci",Print:"Ispis","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":"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":""};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/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v4.34.0-next.137 */
|
|
4
|
+
import"./ZUP7EB7A.js";var r={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date:"yyyy-MM-dd",_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:"AD",_era_bc:"BC",A:"AM",P:"PM",AM:"AM",PM:"PM","A.M.":"\uC624\uC804","P.M.":"\uC624\uD6C4",January:"1\uC6D4",February:"2\uC6D4",March:"3\uC6D4",April:"4\uC6D4",May:"5\uC6D4",June:"6\uC6D4",July:"7\uC6D4",August:"8\uC6D4",September:"9\uC6D4",October:"10\uC6D4",November:"11\uC6D4",December:"12\uC6D4",Jan:"1\uC6D4",Feb:"2\uC6D4",Mar:"3\uC6D4",Apr:"4\uC6D4","May(short)":"5\uC6D4",Jun:"6\uC6D4",Jul:"7\uC6D4",Aug:"8\uC6D4",Sep:"9\uC6D4",Oct:"10\uC6D4",Nov:"11\uC6D4",Dec:"12\uC6D4",Sunday:"\uC77C\uC694\uC77C",Monday:"\uC6D4\uC694\uC77C",Tuesday:"\uD654\uC694\uC77C",Wednesday:"\uC218\uC694\uC77C",Thursday:"\uBAA9\uC694\uC77C",Friday:"\uAE08\uC694\uC77C",Saturday:"\uD1A0\uC694\uC77C",Sun:"\uC77C",Mon:"\uC6D4",Tue:"\uD654",Wed:"\uC218",Thu:"\uBAA9",Fri:"\uAE08",Sat:"\uD1A0",_dateOrd:function(_){var e="\uC77C";if(_<11||_>13)switch(_%10){case 1:e="\uC77C";break;case 2:e="\uC77C";break;case 3:e="\uC77C";break}return e},"Zoom Out":"\uCD95\uC18C",Play:"\uC2DC\uC791",Stop:"\uC815\uC9C0",Legend:"\uBC94\uB840","Click, tap or press ENTER to toggle":"\uCF1C\uACE0 \uB044\uB824\uBA74 \uD074\uB9AD, \uD0ED \uD639\uC740 \uC5D4\uD130\uB97C \uB20C\uB7EC\uC8FC\uC138\uC694.",Loading:"\uBD88\uB7EC\uC624\uB294 \uC911",Home:"\uD648",Chart:"\uCC28\uD2B8","Serial chart":"\uC2DC\uB9AC\uC5BC \uCC28\uD2B8","X/Y chart":"X/Y \uCC28\uD2B8","Pie chart":"\uD30C\uC774 \uCC28\uD2B8","Gauge chart":"\uAC8C\uC774\uC9C0 \uCC28\uD2B8","Radar chart":"\uB808\uC774\uB354 \uCC28\uD2B8","Sankey diagram":"\uC0DD\uD0A4 \uB2E4\uC774\uC5B4\uADF8\uB7A8","Flow diagram":"\uD50C\uB85C\uC6B0 \uB2E4\uC774\uC5B4\uADF8\uB7A8","Chord diagram":"\uCF54\uB4DC \uB2E4\uC774\uC5B4\uADF8\uB7A8","TreeMap chart":"\uD2B8\uB9AC\uB9F5 \uCC28\uD2B8","Force directed tree":"\uD3EC\uC2A4 \uB514\uB809\uD2F0\uB4DC \uD2B8\uB9AC","Sliced chart":"\uC2AC\uB77C\uC774\uC2A4 \uCC28\uD2B8",Series:"\uC2DC\uB9AC\uC988","Candlestick Series":"\uCE94\uB4E4\uC2A4\uD2F1 \uC2DC\uB9AC\uC988","OHLC Series":"OHLC \uC2DC\uB9AC\uC988","Column Series":"\uCEEC\uB7FC \uC2DC\uB9AC\uC988","Line Series":"\uB77C\uC778 \uC2DC\uB9AC\uC988","Pie Slice Series":"\uD30C\uC774 \uC2AC\uB77C\uC774\uC2A4 \uC2DC\uB9AC\uC988","Funnel Series":"\uD37C\uB110 \uC2DC\uB9AC\uC988","Pyramid Series":"\uD53C\uB77C\uBBF8\uB4DC \uC2DC\uB9AC\uC988","X/Y Series":"X/Y \uC2DC\uB9AC\uC988",Map:"\uB9F5","Press ENTER to zoom in":"\uD655\uB300\uD558\uB824\uBA74 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","Press ENTER to zoom out":"\uCD95\uC18C\uD558\uB824\uBA74 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","Use arrow keys to zoom in and out":"\uD655\uB300 \uD639\uC740 \uCD95\uC18C\uD558\uB824\uBA74 \uBC29\uD5A5\uD0A4\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use plus and minus keys on your keyboard to zoom in and out":"\uD655\uB300 \uD639\uC740 \uCD95\uC18C\uD558\uB824\uBA74 \uD0A4\uBCF4\uB4DC\uC758 +/- \uD0A4\uB97C \uC774\uC6A9\uD558\uC138\uC694.",Export:"\uB0B4\uBCF4\uB0B4\uAE30",Image:"\uC774\uBBF8\uC9C0",Data:"\uB370\uC774\uD130",Print:"\uC778\uC1C4","Click, tap or press ENTER to open":"\uC5F4\uB824\uBA74, \uD074\uB9AD, \uD0ED \uB610\uB294 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","Click, tap or press ENTER to print.":"\uCD9C\uB825\uD558\uB824\uBA74, \uD074\uB9AD, \uD0ED \uB610\uB294 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.","Click, tap or press ENTER to export as %1.":"%1(\uC73C)\uB85C \uB0B4\uBCF4\uB0B4\uB824\uBA74 \uD074\uB9AD, \uD0ED \uB610\uB294 \uC5D4\uD130\uB97C \uB204\uB974\uC138\uC694.",'To save the image, right-click this link and choose "Save picture as..."':'\uC774\uBBF8\uC9C0\uB97C \uC800\uC7A5\uD558\uB824\uBA74, \uC774 \uB9C1\uD06C\uB97C \uB9C8\uC6B0\uC2A4\uB85C \uC6B0\uD074\uB9AD\uD558\uC5EC "\uB2E4\uB978 \uC774\uB984\uC73C\uB85C \uC800\uC7A5"\uC744 \uC120\uD0DD\uD558\uC138\uC694.','To save the image, right-click thumbnail on the left and choose "Save picture as..."':'\uC774\uBBF8\uC9C0\uB97C \uC800\uC7A5\uD558\uB824\uBA74, \uC88C\uCE21 \uC378\uB124\uC77C\uC744 \uB9C8\uC6B0\uC2A4\uB85C \uC6B0\uD074\uB9AD\uD558\uC5EC "\uB2E4\uB978 \uC774\uB984\uC73C\uB85C \uC800\uC7A5"\uC744 \uC120\uD0DD\uD558\uC138\uC694.',"(Press ESC to close this message)":"(\uC774 \uBA54\uC2DC\uC9C0\uB97C \uB044\uB824\uBA74 ESC\uB97C \uB204\uB974\uC138\uC694.)","Image Export Complete":"\uC774\uBBF8\uC9C0 \uB0B4\uBCF4\uB0B4\uAE30 \uC644\uB8CC","Export operation took longer than expected. Something might have gone wrong.":"\uB0B4\uBCF4\uB0B4\uAE30\uAC00 \uC9C0\uC5F0\uB418\uACE0 \uC788\uC2B5\uB2C8\uB2E4. \uBB38\uC81C\uAC00 \uC5C6\uB294\uC9C0 \uD655\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4.","Saved from":"\uB2E4\uC74C\uC73C\uB85C\uBD80\uD130 \uC800\uC7A5\uB428: ",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"\uC120\uD0DD \uBC94\uC704\uB97C \uBCC0\uACBD\uD558\uB824\uBA74 \uC120\uD0DD \uBC84\uD2BC\uC774\uB098 \uC88C\uC6B0 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use left and right arrows to move selection":"\uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC88C\uC6B0 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use left and right arrows to move left selection":"\uC67C\uCABD \uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC88C\uC6B0 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use left and right arrows to move right selection":"\uC624\uB978\uCABD \uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC88C\uC6B0 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use TAB select grip buttons or up and down arrows to change selection":"\uC120\uD0DD \uBC94\uC704\uB97C \uBCC0\uACBD\uD558\uB824\uBA74 \uC120\uD0DD \uBC84\uD2BC\uC774\uB098 \uC0C1\uD558 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use up and down arrows to move selection":"\uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC0C1\uD558 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use up and down arrows to move lower selection":"\uD558\uB2E8 \uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC0C1\uD558 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","Use up and down arrows to move upper selection":"\uC0C1\uB2E8 \uC120\uD0DD \uBC94\uC704\uB97C \uC6C0\uC9C1\uC774\uB824\uBA74 \uC0C1\uD558 \uD654\uC0B4\uD45C\uB97C \uC774\uC6A9\uD558\uC138\uC694.","From %1 to %2":"%1 \uBD80\uD130 %2 \uAE4C\uC9C0","From %1":"%1 \uBD80\uD130","To %1":"%1 \uAE4C\uC9C0","No parser available for file: %1":"\uD30C\uC77C \uD30C\uC2F1 \uBD88\uAC00\uB2A5: %1","Error parsing file: %1":"\uD30C\uC77C \uD30C\uC2F1 \uC624\uB958: %1","Unable to load file: %1":"\uD30C\uC77C \uB85C\uB4DC \uBD88\uAC00\uB2A5: %1","Invalid date":"\uB0A0\uC9DC \uC62C\uBC14\uB974\uC9C0 \uC54A\uC74C"};export{r as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import c from"./
|
|
3
|
+
v4.34.0-next.137 */
|
|
4
|
+
import c from"./H4EKWUGZ.js";import"./AD6UTPKO.js";import b from"./NL5HWOSB.js";import"./NWANFRQZ.js";import"./J2GDDFON.js";import"./QUOXLAGO.js";import"./FP4XIAZA.js";import{A as t,F as n,g as i,h as a,y as e}from"./NI233ASE.js";import"./ZUP7EB7A.js";export default $arcgis.t(([,{p:l}])=>{var o={invalidMessageColor:"invalid-message-color"},r=i`:host{display:block}.invalid-message-color{color:red}`,s=class extends e{constructor(){super(...arguments),this.isInvalid=!1}static{this.properties={invalidInputMessage:3,isInvalid:5}}static{this.styles=r}render(){return this.isInvalid?a`<calcite-input-message .status=${l.INVALID} icon=exclamationMarkTriangle .hidden=${!this.isInvalid} class=${t(o.invalidMessageColor)}>${this.invalidInputMessage}</calcite-input-message>`:null}};n("arcgis-charts-config-invalid-input-message",s);return s},b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{k as s}from"./
|
|
3
|
+
v4.34.0-next.137 */
|
|
4
|
+
import{k as s}from"./XWI545BD.js";export default $arcgis.t(([])=>{var h=(i,e)=>s(e.series?.[i])?e.series?.[i].hideOversizedSideBySideLabels:void 0,z=(i,e,r)=>{s(r.series?.[e])&&(r.series[e].hideOversizedSideBySideLabels=i)},L=(i,e)=>s(e.series?.[i])?e.series?.[i].hideOversizedStackedLabels:void 0,O=(i,e,r)=>{s(r.series?.[e])&&(r.series[e].hideOversizedStackedLabels=i)};return{a:h,b:z,c:L,d:O}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import n from"./
|
|
3
|
+
v4.34.0-next.137 */
|
|
4
|
+
import n from"./XEU72CT2.js";import k from"./ZKTHH2D2.js";import j from"./EKKUUTLJ.js";import i from"./DN7HLW7R.js";import g from"./3YVN7ZEL.js";import e from"./56ZMW6ZT.js";import d from"./I7JRXIX6.js";import c from"./LUZ7IF6Q.js";import b from"./WB5LCPZU.js";import"./XWI545BD.js";import a from"./NL5HWOSB.js";import"./NWANFRQZ.js";import{c as h,d as f}from"./J2GDDFON.js";import"./QUOXLAGO.js";import{a as m}from"./FP4XIAZA.js";import{G as l}from"./NI233ASE.js";import"./ZUP7EB7A.js";export default $arcgis.t(([,,,,,,,,{D:c,aa:r,ma:d,v:S},{Ba:a,pa:y},,,,,,{a:g,b:p,c:u},{b:b,d:I,f:v,h:k,j:_},{a:w,b:F}])=>{var n=class extends u{constructor(){super(...arguments),this._chartType=m.RadarSeries}async setup(t){await this.loadConfigFromLayer(t),this.commonStrings=await h(f(document.documentElement).t9nLocale,l("./assets/common/t9n"),"messages."),t.config!==void 0&&this.updateSeriesFromLayerFilter(),await this.initDefaultSeries(),typeof this.resolveSetup=="function"&&this.resolveSetup()}async generateDefaultConfig(){let t=await d();return t.series=[await r({objectIDField:this.layerInfo?.objectIdField})],t}async initDefaultSeries(){this.defaultSeries=await r({objectIDField:this.layerInfo?.objectIdField})}resetSeriesStyling(){let t=this.getSeriesLength();for(let e=0;e<t;e+=1){let o=c({colorIndex:e,opacity:S});if(p(o,e,this._config),v(o,e,this._config),this.layerInfo!==void 0){let i=this.getSeriesId(e),s=a({config:this._config,seriesIndex:e,layerInfo:this.layerInfo,commonStrings:this.commonStrings});s!==this.layerInfo.objectIdField&&g(s??i,e,this._config)}b(this.defaultSeries?.lineSymbol?.style,e,this._config),I(this.defaultSeries?.lineSymbol?.width,e,this._config),k(this.defaultSeries?.markerSymbol?.style,e,this._config),_(this.defaultSeries?.markerSymbol?.size,e,this._config)}this._config.colorMatch=!0,this.emitConfigUpdate("resetSeriesStyling")}resetAvailable(){let t=!this.getColorMatch(),e=!1;if(!t){let o=this.getSeriesLength();for(let i=0;i<o;i+=1){if(this.layerInfo!==void 0){let s=a({config:this._config,seriesIndex:i,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),L=this.getSeriesName(i);s!==void 0&&s!==this.layerInfo.objectIdField&&s!==L&&(e=!0)}if(this.defaultSeries?.lineSymbol?.style!==void 0&&this.defaultSeries?.lineSymbol.style!==this.getSeriesLineStyle(i)||this.defaultSeries?.lineSymbol?.width!==void 0&&this.defaultSeries?.lineSymbol.width!==this.getSeriesLineWidth(i)||this.defaultSeries?.markerSymbol?.style!==void 0&&this.defaultSeries?.markerSymbol?.style!==this.getSeriesMarkerStyle(i)||this.defaultSeries?.markerSymbol?.size!==void 0&&this.defaultSeries?.markerSymbol?.size!==this.getSeriesMarkerSize(i)){e=!0;break}}}return t||e}};y(n,[F,w]);return n},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",a,b,c,d,e,g,i,j,k,n)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v4.34.0-next.137 */
|
|
4
|
+
import"./ZUP7EB7A.js";var r={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_second:"HH:mm:ss",_date_minute:"HH:mm",_date_hour:"HH:mm",_date_day:"MMM dd",_date_week:"ww",_date_month:"MMM",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u897F\u66A6",_era_bc:"\u7D00\u5143\u524D",A:"\u5348\u524D",P:"\u5348\u5F8C",AM:"\u5348\u524D",PM:"\u5348\u5F8C","A.M.":"\u5348\u524D","P.M.":"\u5348\u5F8C",January:"1\u6708",February:"2\u6708",March:"3\u6708",April:"4\u6708",May:"5\u6708",June:"6\u6708",July:"7\u6708",August:"8\u6708",September:"9\u6708",October:"10\u6708",November:"11\u6708",December:"12\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u65E5\u66DC\u65E5",Monday:"\u6708\u66DC\u65E5",Tuesday:"\u706B\u66DC\u65E5",Wednesday:"\u6C34\u66DC\u65E5",Thursday:"\u6728\u66DC\u65E5",Friday:"\u91D1\u66DC\u65E5",Saturday:"\u571F\u66DC\u65E5",Sun:"\u65E5",Mon:"\u6708",Tue:"\u706B",Wed:"\u6C34",Thu:"\u6728",Fri:"\u91D1",Sat:"\u571F",_dateOrd:function(_){var e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u30BA\u30FC\u30E0",Play:"\u518D\u751F",Stop:"\u505C\u6B62",Legend:"\u51E1\u4F8B","Click, tap or press ENTER to toggle":"",Loading:"\u8AAD\u307F\u8FBC\u3093\u3067\u3044\u307E\u3059",Home:"\u30DB\u30FC\u30E0",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:"\u5370\u5237",Image:"\u30A4\u30E1\u30FC\u30B8",Data:"\u30C7\u30FC\u30BF",Print:"\u5370\u5237","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":"\u59CB\u70B9 %1 \u7D42\u70B9 %2","From %1":"\u59CB\u70B9 %1","To %1":"\u7D42\u70B9 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{r as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as B}from"./
|
|
3
|
+
v4.34.0-next.137 */
|
|
4
|
+
import{a as B}from"./MWP5HKFH.js";import{a as u}from"./F67CMYND.js";import{b as E,c as T}from"./MS4XYPSC.js";import e from"./H4EKWUGZ.js";import{k as a}from"./AD6UTPKO.js";import{a as I}from"./T7RKBO5R.js";import d from"./NL5HWOSB.js";import{q as b}from"./NWANFRQZ.js";import"./J2GDDFON.js";import{c as r}from"./QUOXLAGO.js";import"./FP4XIAZA.js";import{A as c,B as $,D as x,F as P,g as y,h as l,l as f,w as g,x as p,y as v}from"./NI233ASE.js";import"./ZUP7EB7A.js";export default $arcgis.t(([,,,,,,,{substitute:z},{Oa:L,hc:F,jc:C},{g:w,h:m,r:h,v:D,y:S}])=>{var o={jsAppFlyout:"js-app-flyout",name:"bar-chart-data-popover",numericFieldPickList:"bar-chart-data-numeric-fields-pick-list",header:"header",fab:"fab",pickListItemLabel:"pick-list-item-label",sortMean:"sort-mean",sortMedian:"sort-median",sortOrderPickList:"sort-order-pick-list",panel:"panel"},O=y`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.pick-list-item-label{font-size:small}.sort-icon-color{color:#000}.sort-mean,.sort-median{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}`,k=class extends v{constructor(){super(...arguments),this._messages=I(),this.picklist=g(),this.placement="leading",this.popoverElement=g(),this.offsetDistance=-200,this.pickListHasChanged=!1,this.layerFieldsInfo=[],this.isCustomSortDisabled=!1,this.arcgisChartsConfigBoxPlotDataPopoverChange=f(),this.arcgisChartsConfigPopoverClose=f()}static{this.properties={messageOverrides:0,headingTitle:3,referenceElement:2,open:7,contentKind:1,layerFieldsInfo:0,isCustomSortDisabled:5,selectedContent:1}}static{this.styles=O}async reposition(){await this.popoverElement.value?.reposition()}willUpdate(e){e.has("selectedContent")&&this.selectedContentChange(this.selectedContent,e.get("selectedContent"))}async updated(){setTimeout(async()=>{typeof this.picklist.value?.setFocus=="function"&&await this.picklist.value?.setFocus()},m.PopoverTimer),E(this.popoverElement.value,this.open),this.hasUpdated||setTimeout(()=>{this.popoverElement.value?.reposition()},m.PopoverTimer)}selectedContentChange(e,t){this.pickListHasChanged=T(e,t)}closePopover(){if(this.contentKind===a.numericFields&&this.pickListHasChanged){let e={pickListElement:this.picklist.value,eventEmitter:this.arcgisChartsConfigBoxPlotDataPopoverChange,contentKind:this.contentKind};D(e)}this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}async onDataContentTypeChange(e){this.pickListHasChanged=!0;let t=e.target.selectedItems;this.arcgisChartsConfigBoxPlotDataPopoverChange.emit({contentKind:this.contentKind,value:t.map(i=>i.value)}),this.open=!1}buildPickListItem(e){return u(e.name,l`<calcite-list-item .label=${L(this.layerFieldsInfo,e.name)} .value=${e.name} .selected=${h(e.name,this.selectedContent)}></calcite-list-item>`)}buildPickListItems(e){let t=this.layerFieldsInfo?.length??0,i=[];switch(e){case a.numericFields:{for(let s=0;s<t;s+=1){let n=this.layerFieldsInfo[s];F(n)&&i.push(this.buildPickListItem(n))}break}case a.category:{let s=u(" ",l`<calcite-list-item label=" " value=" " .selected=${h("",this.selectedContent)}></calcite-list-item>`);i.push(s);for(let n=0;n<t;n+=1){let d=this.layerFieldsInfo[n];(C(d)||d.type===b.String)&&i.push(this.buildPickListItem(d))}break}case a.splitByField:{let s=u(" ",l`<calcite-list-item label=" " value=" " .selected=${h("",this.selectedContent)}></calcite-list-item>`);i.push(s);for(let n=0;n<t;n+=1){let d=this.layerFieldsInfo[n];(C(d)||d.type===b.String)&&i.push(this.buildPickListItem(d))}break}}return i}onNumericFieldsChange(e){e.target!==null&&(this.selectedContent=e.target.selectedItems.map(t=>t.value))}buildSortOrder(){let e=Object.keys(r),t;return B(e,i=>i,i=>{let s="";switch(i){case r.xAxisAsc:{t="a-z-down";break}case r.xAxisDesc:{t="a-z-up";break}case r.meanAsc:t="sort-descending",s=o.sortMean;break;case r.meanDesc:{t="sort-ascending",s=o.sortMean;break}case r.medianAsc:{t="sort-descending",s=o.sortMedian;break}case r.medianDesc:{t="sort-ascending",s=o.sortMedian;break}case r.customSort:{t="arrow-up-down";break}}return l`<calcite-list-item .disabled=${this.isCustomSortDisabled&&i===r.customSort} .label=${this._messages[i]} .selected=${this.selectedContent===i} .value=${r[i]} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}><calcite-icon class=${`sort-icon-color ${s}`} slot=content-start .icon=${t}></calcite-icon></calcite-list-item>`})}async onNumericFieldSelectionDone(){this.pickListHasChanged&&this.closePopover()}createTooltip(e){if(e.target?.label===this._messages.customSort&&this.isCustomSortDisabled){let t=e.target,i=w(t),s=new Intl.NumberFormat(i).format(m.customSortLimit),n=z(this._messages.customSortLimit??"",{totalLimit:s});this.tooltip=x(l`<calcite-tooltip style=${$({opacity:1,zIndex:"var(--calcite-floating-ui-z-index)"})} .referenceElement=${t} open placement=top>${n}</calcite-tooltip>`),document.body.appendChild(this.tooltip)}}destroyTooltip(){S(this.tooltip)}renderCategory(){let e=this.buildPickListItems(a.category);return l`<calcite-list label class=${c(o.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderNumericFields(){let e=this.buildPickListItems(a.numericFields);return l`<calcite-list label class=${c(o.numericFieldPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${p(this.picklist)}>${e}</calcite-list>`}renderSplitByField(){let e=this.buildPickListItems(a.splitByField);return l`<calcite-list label class=${c(o.pickListItemLabel)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`}renderSortOrder(){let e=this.buildSortOrder();return l`<calcite-list label class=${c(o.sortOrderPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`}renderPopoverInfo(){let e;switch(this.contentKind){case a.category:e=this.renderCategory();break;case a.numericFields:e=this.renderNumericFields();break;case a.splitByField:e=this.renderSplitByField();break;case a.sortOrder:e=this.renderSortOrder();break}return e}render(){let e;return this.contentKind===a.numericFields&&(e=l`<div slot=footer><calcite-fab class=${c(o.fab)} appearance=outline-fill kind=neutral icon .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`),l`<div class=${c(o.jsAppFlyout)}><calcite-popover class=${c(o.name)} .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${p(this.popoverElement)}><calcite-panel class=${c(o.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${c(o.header)}>${this.headingTitle??""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`}};P("arcgis-charts-config-box-plot-popover",k);return k},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","intl",d,e)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v4.34.0-next.137 */
|
|
4
|
+
import"./ZUP7EB7A.js";var _={_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:"i. sz.",_era_bc:"i. e.",A:"de.",P:"du.",AM:"de.",PM:"du.","A.M.":"de.","P.M.":"du.",January:"janu\xE1r",February:"febru\xE1r",March:"m\xE1rcius",April:"\xE1prilis",May:"m\xE1jus",June:"j\xFAnius",July:"j\xFAlius",August:"augusztus",September:"szeptember",October:"okt\xF3ber",November:"november",December:"december",Jan:"jan.",Feb:"febr.",Mar:"m\xE1rc.",Apr:"\xE1pr.","May(short)":"m\xE1j.",Jun:"j\xFAn.",Jul:"j\xFAl.",Aug:"aug.",Sep:"szept.",Oct:"okt.",Nov:"nov.",Dec:"dec.",Sunday:"vas\xE1rnap",Monday:"h\xE9tf\u0151",Tuesday:"kedd",Wednesday:"szerda",Thursday:"cs\xFCt\xF6rt\xF6k",Friday:"p\xE9ntek",Saturday:"szombat",Sun:"V",Mon:"H",Tue:"K",Wed:"Sze",Thu:"Cs",Fri:"P",Sat:"Szo",_dateOrd:function(r){var e="th";if(r<11||r>13)switch(r%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Nagy\xEDt\xE1s/kicsiny\xEDt\xE9s",Play:"Lej\xE1tsz\xE1s",Stop:"Meg\xE1ll\xF3",Legend:"Jelmagyar\xE1zat","Click, tap or press ENTER to toggle":"",Loading:"Bet\xF6lt\xE9s",Home:"Kezd\u0151lap",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:"Nyomtat\xE1s",Image:"K\xE9p",Data:"Adatok",Print:"Nyomtat\xE1s","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":"Ett\u0151l %1 eddig %2","From %1":"Ett\u0151l %1","To %1":"Eddig %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{_ as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{i as A,j as h,k as C,l as Ue,m as Xe,o as Re}from"./YDFPFNOE.js";import a from"./PMOIMY45.js";import{d as ye,e as z,f as W,i as Ae,q as ue,w as he}from"./MRGBM5A7.js";import{c as ie,d as te}from"./WC6G5BE2.js";import{b as v,e as Ke}from"./CVRDHYZM.js";import{a as S,b as p,f as Se,h as N,k as H,n as ee,o as Te,v as w,w as K}from"./TKMP6UB2.js";import{G}from"./JID6SRDI.js";export default $arcgis.t(([{substitute:E},,,,,,,,{$:Oe,$b:me,A:Ce,Fa:V,H:L,J:q,K:Le,Ka:ke,L:se,M:qe,Mb:oe,N:Ne,Oa:j,Sa:De,Wb:_e,Z:Me,aa:$e,ca:je,cb:Ee,j:Be,jb:ae,jc:xe,k:P,kb:Ve,kc:ze,l:we,lc:Pe,mb:U,mc:ne,nc:re,ob:M,p:T,wa:fe,wc:le}])=>{async function pe(i){let{queryObject:e,queryConfig:t,category:s,splitByField:a,chartLimits:o,abortKey:c}=i,n=a!==void 0,d=s!==Ce?[s]:[];n&&d.push(a);let l=oe(e),m={...t,groupByFieldsForStatistics:Array.from(new Set(d)),outStatistics:[{statisticType:p.Count,onStatisticField:l.objectIdField,outStatisticFieldName:`${p.Count}_OBJECTID`}],orderByFields:void 0,num:o?.maxBarThreePlusSeriesCountTotal},g=await _e({queryObject:e,featureCount:1,queryConfig:m,abortKey:c});return Array.from(new Set(g.map(f=>f.attributes[n?a:s]))).sort((f,r)=>typeof f=="string"&&typeof r=="string"?f.localeCompare(r):Number(f)-Number(r))}function Y(i,e,t){let s=i?.axes?.[e];s?.title!==void 0?s.title.content.text=t:s!==void 0&&(s.title=q({text:t,visible:!0,font:L(T.AxisTitle)}))}async function J(i){let{config:e,layerInfo:t,numericFields:s,aggregationType:a}=i,o="";if(e){let c=ke(e)===Se.Stacked100,n=await ie(te(document.documentElement).t9nLocale,G("./assets/common/t9n"),"messages.");if(c)o=n.utilsStrings.statistics.percent;else{let d=await fe(a);if(s.length===1){let l=j(t.layerFieldsInfo,s[0]);a===p.NoAggregation?o=l:a===p.Count&&s[0]===t.objectIdField?o=n.utilsStrings.statistics.count:o=E(n.axisLabels.aggregationOfFieldName,{aggregation:d,fieldName:l})}else s.length>1&&(a===p.NoAggregation?o=n.axisLabels.values:o=E(n.axisLabels.aggregationOfValues,{aggregation:d}))}}return o}var Ye=async(i,e)=>i.axes?.[e]??(await Me(i.type))[e],Ze=i=>{let{config:e,axis:t,axisIndex:s}=i;e.axes!==void 0&&(e.axes[s]=t)},Pi=i=>{let{config:e,axisIndex:t,isMax:s}=i,a=Number.NaN;return s?a=e.axes?.[t]?.maximum:a=e.axes?.[t]?.minimum,a??Number.NaN},b=i=>{let{config:e,value:t,axisIndex:s,isMax:a}=i,o=e?.axes?.[s];o!==void 0&&(a?o.maximum=t:o.minimum=t)},Ui=(i,e)=>{b({config:i,value:e,axisIndex:0,isMax:!1})},ii=i=>i.axes?.[0]?.valueFormat??se(),ti=async(i,e)=>{let t=await Ye(i,0);if(t!==void 0&&e!==void 0){let s={...t,valueFormat:e};Ze({config:i,axis:s,axisIndex:0})}},We=(i,e,t)=>{let s=i.axes?.[e];s!==void 0&&(s.integerOnlyValues=t)},si=i=>{let e=K(i.series);return e===S.BarSeries||e===S.ComboLineAndBarSeries||e===S.LineSeries},ai=i=>{let{axisIndex:e,config:t,isMultiAxis:s}=i,a=!1;return e===0||e===1&&s?a=!0:e===2&&(a=si(t)),a},Xi=i=>{let{axisIndex:e,func:t,config:s}=i;return ai({axisIndex:e,config:s,isMultiAxis:!0})?t(e):void 0},Ri=(i,e)=>{let t,s=e.axes?.[i]?.valueFormat;return(i===0||i>=1&&Re(s))&&(t=s),t},Ki=async i=>{let{config:e,valueFormat:t,axisIndex:s=0}=i,a=await Ye(e,s);if(a!==void 0&&t!==void 0){let o={...a,valueFormat:t};Ze({config:e,axis:o,axisIndex:s})}},Wi=(i,e)=>i.axes?.[e]?.isLogarithmic??!1,Yi=i=>{let{config:e,isLogarithmic:t,axisIndex:s}=i,a=e.axes?.[s];a&&(a.isLogarithmic=t,b({config:e,value:null,axisIndex:s,isMax:!0}),b({config:e,value:null,axisIndex:s,isMax:!1}))},Zi=i=>{let{config:e,scrollbar:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].scrollbar=t)},oi=i=>i.title?.content.text??"",Ji=(i,e)=>{e.title!==void 0?e.title.content.text=i:e.title===void 0&&i!==void 0&&(e.title=q({text:i,visible:!0,font:L(T.ChartTitle)}))},Qi=i=>i.subtitle?.content.text??"",Gi=(i,e)=>{e.subtitle!==void 0?e.subtitle.content.text=i:e.subtitle===void 0&&i!==void 0&&(e.subtitle=q({text:i,visible:!0,font:L(T.ChartSubtitle)}))},Hi=i=>i.footer?.content.text??"",et=(i,e)=>{e.footer!==void 0?e.footer.content.text=i:e.footer===void 0&&i!==void 0&&(e.footer=q({text:i,visible:!0,font:L(T.DescriptionText)}))},it=i=>i.title?i.title.visible??!0:!1,tt=(i,e)=>{e.title!==void 0?e.title.visible=i:e.title===void 0&&(e.title=q({text:"",visible:i,font:L(T.ChartTitle)}))},st=i=>i.subtitle?i.subtitle.visible??!0:!1,at=(i,e)=>{e.subtitle!==void 0?e.subtitle.visible=i:e.subtitle===void 0&&(e.subtitle=q({text:"",visible:i,font:L(T.ChartSubtitle)}))},ni=i=>i.footer?.visible??!1,ot=(i,e)=>{e.footer!==void 0?e.footer.visible=i:e.footer===void 0&&i!==ni(e)&&(e.footer=q({text:"",visible:!0,font:L(T.DescriptionText)}))},nt=i=>i.chartRenderer,rt=(i,e)=>{e.chartRenderer=i},lt=(i,e)=>i.axes?.[e]?.title?.content,ct=i=>{let{config:e,axisIndex:t,symbol:s}=i,a=e.axes?.[t];if(a!==void 0){let o=a.title?.content.text;(a.title===void 0||s===void 0)&&(a.title=q({text:"",visible:!0,font:L(T.AxisTitle),type:T.AxisTitle})),s!==void 0&&(a.title.content=s),a.title.content.text=o}},dt=i=>{for(let e of i.axes??[])if(e?.labels!==void 0)return e.labels.content},gt=(i,e)=>{for(let t of e.axes??[])if(t!==void 0){let s=t.labels?.content.text;i===void 0?t.labels=q({text:"",visible:!0,font:L(T.AxisLabels),type:T.AxisLabels}):t.labels.content=W(i),t.labels.content.text=s}},yt=i=>{for(let e of i.axes??[])if(e?.lineSymbol!==void 0)return e.lineSymbol},ut=(i,e)=>{for(let t of e.axes??[])t!==void 0&&(t.lineSymbol=W(i)??Le())},ft=i=>{for(let e of i.axes??[])if(e?.grid!==void 0)return e.grid},mt=(i,e,t)=>{let s=e.axes;t.forEach(a=>{s?.[a]!==void 0&&(s[a].grid=W(i))})},be=(i,e)=>e.axes?.[i]?.title?.content.text??"",xt=(i,e,t)=>{let s=t.axes?.[e];s?.title!==void 0?s.title.content.text=i:s!==void 0&&s?.title===void 0&&(s.title=q({text:i,visible:!0,font:L(T.AxisTitle)}))},pt=(i,e)=>e.axes?.[i]?.title?.visible??!1,bt=(i,e,t)=>{let s=t.axes?.[e];s?.title!==void 0?s.title.visible=i:s!==void 0&&s?.title===void 0&&(s.title=q({text:be(e,t),visible:i,font:L(T.AxisTitle)}))},Ft=(i,e)=>i.axes?.[e]?.displayZeroLine??!1,vt=(i,e,t)=>{i.axes?.[t]!==void 0&&(i.axes[t].displayZeroLine=e)},It=(i,e)=>i.axes?.[e]?.displayCursorTooltip??!1,St=i=>{let{config:e,displayCursorTooltip:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].displayCursorTooltip=t)},Tt=(i,e)=>i.axes?.[e]?.buffer??!1,At=i=>{let{config:e,buffer:t,axisIndex:s}=i,a=e.axes?.[s];a!==void 0&&(a.buffer=t)},ht=(i,e)=>i.axes?.[e]?.tickSpacing,Bt=i=>{let{config:e,tickSpacing:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].tickSpacing=t)},wt=(i,e)=>i.axes?.[e]?.integerOnlyValues??!1,Ct=i=>{let{config:e,integerOnlyValues:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].integerOnlyValues=t)},ri=i=>{let e=v.xAxisAsc,t=i.orderOptions?.data?.orderType??w.Category,s=i.orderOptions?.data?.orderBy??N.Ascending;return t===w.Category&&Array.isArray(s)?e=v.customSort:t===w.Category?s===N.Ascending?e=v.xAxisAsc:e=v.xAxisDesc:s===N.Ascending?e=v.yAxisAsc:e=v.yAxisDesc,e},li=i=>{let e=K(i.series),t=!1;return(e===S.BarSeries||e===S.LineSeries)&&(t=ri(i)===v.customSort),t},Lt=i=>{let e=[],t=i.orderOptions?.data?.orderType;return li(i)&&t===w.Category&&(e=i.orderOptions?.data?.orderBy),e},qt=(i,e,t)=>{let s=w.Category,a=N.Ascending,o=K(e.series);e.orderOptions??={},i===v.customSort&&t!==void 0?(a=[...t],e.orderOptions.data={orderType:s,orderBy:a}):(o===S.BarSeries||o===S.LineSeries)&&(s=i===v.xAxisAsc||i===v.xAxisDesc?w.Category:w.YValue,a=i===v.xAxisAsc||i===v.yAxisAsc?N.Ascending:N.Descending,e.orderOptions.data={orderType:s,orderBy:a})},_=i=>i?.series?.[0]?.x??"",Fe=i=>{let{config:e,numericFields:t,aggregationType:s,mode:a,layer:o,numericFieldIndex:c,seriesIndex:n,splitByField:d=""}=i,l=K(e.series),m=U(e.series),g=o?oe(o).objectIdField:"FID",f=_(e),r=t.length===1&&t[0]===g,y="y",u="y";switch(l){case S.PieSeries:{s!==p.NoAggregation?a===Ke.Category?(y=`${s}_${t[0]}_0`.toUpperCase(),u=r?z(p.Count):z(`${s} of ${t[0]}`)):y=Be:y=t[0];break}case S.BarSeries:case S.LineSeries:case S.ComboLineAndBarSeries:case S.RadarSeries:{if(d===""||t.length>1)f===P||f===void 0||f.trim()===""||m===V.BarAndLineFromFields?y=we:(y=`${s}_${t[c??0]}_${c??0}`.toUpperCase(),u=r?z(p.Count):z(`${s} of ${t[c??0]}`));else{let x=t[0];y=`${s}_${x}_${n??0}`.toUpperCase(),u=r?z(p.Count):z(`${s} of ${x}`)}break}}return{name:y,description:u}},ci=i=>{let e,t=i.series[0];return M(t)&&(e=t.temporalBinning?.size),e},di=i=>{let e,t=i.series[0];return M(t)&&(e=t.temporalBinning?.unit),e},gi=i=>{let e,t=i.series[0];return M(t)&&(e=t.temporalBinning?.timeAggregationType),e},yi=i=>{let e,t=i.series[0];return M(t)&&(e=t.temporalBinning?.trimIncompleteTimeInterval),e},ui=i=>{let e,t=i.series[0];return M(t)&&(e=t.temporalBinning?.nullPolicy),e},Je=(i,e)=>{e?.series?.forEach(t=>{M(t)&&(t.temporalBinning??={},t.temporalBinning.size=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},fi=(i,e)=>{e?.series?.forEach(t=>{M(t)&&(t.temporalBinning??={},t.temporalBinning.nullPolicy=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},Nt=(i,e)=>{e.series?.forEach(t=>{M(t)&&(t.temporalBinning??={},t.temporalBinning.unit=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},Mt=(i,e)=>{e.series?.forEach(t=>{M(t)&&(t.temporalBinning??={},t.temporalBinning.timeAggregationType=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},Ot=(i,e)=>{e.series?.forEach(t=>{M(t)&&(t.temporalBinning??={},t.temporalBinning.trimIncompleteTimeInterval=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},$t=i=>{Je(0,i)};async function mi(i){let{config:e,layer:t,xAxisField:s,splitByField:a,layerFieldsInfo:o,aggregationFields:c,fetchNullValues:n}=i,d=o.filter(x=>x.name===a)[0]?.type,l=n!==!0?`${a} IS NOT NULL`:"",m=s&&n!==!0?`${s} IS NOT NULL`:"",{where:g}=e?.dataFilters??{},f={where:me([g,l,m]),orderByFields:De(a)?[]:[`${a} ${N.Ascending}`],geometry:e?.dataFilters?.geometry},r=t,y="";c.length===0?y=r?.objectIdField??"":[y]=c;let u=await pe({queryObject:r,category:e?.series[0].x??"",splitByField:a,queryConfig:f});if(e){let x=e?.series.map(F=>ae({where:F.query?.where})?.toString()??"").filter(F=>F!==void 0&&F!=="");u=Ee({arrayA:u,arrayB:x,getKey:F=>F.toString()})}return{categoriesArray:u,splitByFieldType:d,numericalField:y}}function jt(i,e){let t=e==="";for(let s of i)if(e===s.name){t=!0;break}return t}function kt(i,e){let t=Pe(i),s=e.length===0,a=0;for(let o of e){for(let c of t)if(o===c&&(a+=1),a===e.length){s=!0;break}if(s)break}return s}function Dt(i,e){e.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(s=>{Object.defineProperty(i.prototype,s,Object.getOwnPropertyDescriptor(t.prototype,s)||Object.create(null))})})}async function xi(i){let{layerInfo:e,config:t,category:s}=i,{layer:a}=e,{where:o}=t?.dataFilters??{},{fetchNullValues:c}=t?.series?.[0]?.query??{},n=c!==!0?`${s} IS NOT NULL`:"",d={where:me([o,n]),orderByFields:[],geometry:t?.dataFilters?.geometry},l=ne(a);return(await pe({queryObject:a,category:s,queryConfig:d})).map(m=>{let g=String(m);return re({fieldName:s,fieldValueToMatch:g,subtypeInfo:l,fieldList:e.layerFieldsInfo})??g})}async function Z(i){let{seriesIndex:e,config:t,layerInfo:s}=i,{objectIdField:a}=s??{},o,c=t.series[e??0],n=!1,d=!1;if(c===void 0){let r=t.series;n=r.slice(0,e).every(y=>A(y)),d=r.slice(0,e).every(y=>h(y))}else n=A(c),d=h(c);n?o=await Oe({seriesIndex:e,objectIDField:a}):d?o=await $e({seriesIndex:e,objectIDField:a}):o=await je({seriesIndex:e,objectIDField:a});let l=_(t),m=t.series[0]?.dataLabels?.visible??!1,g={...o,x:l,y:"",dataLabels:{...o.dataLabels,type:o.dataLabels?.type??S.Text,content:o.dataLabels?.content??{type:he.TS},visible:m}},f=k(t);if(g.query={groupByFieldsForStatistics:[l]},f!==p.NoAggregation&&a!==void 0){let r=`${f}_${a}_0`.toUpperCase();g.y=r,g.query.outStatistics=[{statisticType:f,onStatisticField:a,outStatisticFieldName:r}]}if(A(g)||h(g)||C(g)&&t.series[0]?.binTemporalData){let r;if(t?.series?.[0]!==void 0&&(r=U(t.series)),r!==V.BarAndLineNoAggregation&&r!==V.BarAndLineSplitByNoAggregation){let y=di(t);y===H.Quarter&&(y=H.Month),g.temporalBinning={size:ci(t),unit:y,timeAggregationType:gi(t),trimIncompleteTimeInterval:yi(t),nullPolicy:ui(t)}}}return W(g)}async function Q(i,e){let{layerFieldsInfo:t,objectIdField:s}=e,a=_(i),o=U(i.series),c=O(i),n=k(i),d=X(i),l=c.length===0||c.includes(s),m=await fe(n),g=l?"":c.map(I=>j(t??[],I)).join(", "),f=j(t??[],a),r=j(t??[],d),y=i.series.some(I=>C(I)),u=y?"category":"xAxisField",x=f,F="",$=await ie(te(document.documentElement).t9nLocale,G("./assets/common/t9n"),"messages.");if(o===V.BarAndLineFromFields)F=E($.titleLabels.aggrTypeOfAggrFields,{aggregationType:m,aggregationFields:g});else if(n===p.NoAggregation){let I=l?s:g;if(d===""){let R=y?"aggrTypeCategory":"aggrTypeXAxisField";F=E($.titleLabels[R],{aggregationType:I,[u]:x})}else{let R=y?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";F=E($.titleLabels[R],{aggregationType:I,[u]:x,splitByField:r})}}else if(n===p.Count)if(d===""){let I=y?"aggrTypeCategory":"aggrTypeXAxisField";F=E($.titleLabels[I],{aggregationType:m,[u]:x})}else{let I=y?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";F=E($.titleLabels[I],{aggregationType:m,[u]:x,splitByField:r})}else if(d!==""){let I=y?"aggrTypeOfAggrFieldByCategoryBySplitByField":"aggrTypeOfAggrFieldByXAxisFieldBySplitByField";F=E($.titleLabels[I],{aggregationType:m,aggregationField:g,[u]:x,splitByField:r})}else if(c.length>0){let I=y?"aggrTypeOfAggrFieldsByCategory":"aggrTypeOfAggrFieldsByXAxisField";F=E($.titleLabels[I],{aggregationType:m,aggregationFields:g,[u]:x})}return F}var Qe=i=>ae({where:i.query?.where,normalize:!1,escape:!1})??"",k=i=>i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType??p.NoAggregation,Et=async(i,e,t)=>{let s=O(e),a=X(e),o=await ce(e,t),c=await de(e,t);if(await Ie({splitByField:a,numericFields:s,aggregationType:i,config:e,layerInfo:t}),c){let n=await J({config:e,layerInfo:t,numericFields:O(e),aggregationType:k(e)});Y(e,1,n)}e.title&&o&&(e.title.content.text=await Q(e,t)),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0}),ve(e,t)},X=ye(i=>{let e=i?.series?.[0]?.query?.where?.split("=")[0].trim()??"";return Ve(i?.series?.[0]?.query?.where)?"":e},i=>i?.series?.[0]?.query?.where),Vt=async(i,e,t)=>{let s=O(e),a=k(e),o=await ce(e,t),c=await de(e,t);if(await Ie({splitByField:i,numericFields:s,aggregationType:a,config:e,layerInfo:t}),c){let n=await J({config:e,layerInfo:t,numericFields:O(e),aggregationType:k(e)});Y(e,1,n)}e.title&&o&&(e.title.content.text=await Q(e,t)),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},O=ye(i=>{let e=[];if(X(i)==="")e=i?.series.map(t=>{let s=t.query?.outStatistics?.map(a=>a.onStatisticField)??[];return s?.length>0?s:t.y}).flat()??[];else{let t=i?.series?.[0],s=t?.query?.outStatistics?.[0]?.onStatisticField??[t?.y].flat()[0];e=s!==void 0?[s]:[]}return[...new Set(e.filter(t=>t!==""))]},i=>i?.series),pi=async(i,e,t)=>{let{objectIdField:s}=t,a=k(e),o=await ce(e,t),c=await de(e,t);i.length===0?(i.push(s),a=p.Count):a===p.Count&&i.length>=1&&!i.includes(s)&&(a=p.Sum);let n=X(e);if(await Ie({splitByField:n,numericFields:i,aggregationType:a,config:e,layerInfo:t}),c){let d=await J({config:e,layerInfo:t,numericFields:O(e),aggregationType:k(e)});Y(e,1,d)}e.title&&o&&(e.title.content.text=await Q(e,t)),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0}),ve(e,t)},_t=async(i,e,t)=>{let{layerFieldsInfo:s}=t??{},a=e?.series?.length??0,o=_(e),c=await ce(e,t),n=await de(e,t),d=await Ii(e,t),l,m=e.series.some(r=>C(r)),g=Ue(e.series),f=Xe(e.series);if(s!==void 0){let r=ze(s);!r.includes(o)&&r.includes(i)?l=qe():r.includes(o)&&!r.includes(i)&&(m?l=se():l=Ne()),s.find(y=>y.name===i)?.type===ue.String&&(l=se()),l!==void 0&&await ti(e,l)}if(a===0&&(e.series=[await Z({config:e,layerInfo:t})]),e.series.forEach(r=>{r.x=i,r.query!==void 0&&(r.query.groupByFieldsForStatistics=[i])}),d){let r=j(s,i);Y(e,0,r)}if(t!==void 0){if(n){let y=await J({config:e,layerInfo:t,numericFields:O(e),aggregationType:k(e)});Y(e,1,y)}e.title&&c&&(e.title.content.text=await Q(e,t)),ve(e,t);let r=O(e);await pi(r,e,t)}if(b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0}),g||f){b({config:e,value:null,axisIndex:0,isMax:!1}),b({config:e,value:null,axisIndex:0,isMax:!0}),Je(0,e);let r=l?.type===S.DateAxisFormat?ee.Null:ee.Interpolate;fi(r,e)}};function ve(i,e){let t=!1,s=k(i),a=O(i);s===p.Count?t=!0:s===p.NoAggregation&&(t=a.every(n=>{let d=e.layerFieldsInfo.find(l=>l.name===n);return d!==void 0?xe(d):!1})),We(i,1,t);let o=i.series.some(n=>A(n)),c=i.series.some(n=>h(n));if(o||c){let n=_(i),d=e.layerFieldsInfo.find(m=>m.name===n),l=d!==void 0&&xe(d);We(i,0,l)}}var bi=i=>{let e=v.xAxisAsc,t=i.orderOptions?.data?.orderType??w.Category,s=i.orderOptions?.data?.orderBy??N.Ascending;return t===w.Category&&Array.isArray(s)?e=v.customSort:t===w.Category?s===N.Ascending?e=v.xAxisAsc:e=v.xAxisDesc:s===N.Ascending?e=v.yAxisAsc:e=v.yAxisDesc,e};async function Fi(i){let{numericFields:e,aggregationType:t,config:s,layerInfo:a}=i,o=!1,c=await Z({config:s,layerInfo:a,seriesIndex:0}),n=await ie(te(document.documentElement).t9nLocale,G("./assets/common/t9n"),"messages."),d=Fe({config:s,numericFields:e,aggregationType:t,layer:a.layer}).name,l={...c,id:`series_${Date.now()}`,name:n.axisLabels.values,x:P,y:d},m=[];for(let f of e)m.push({onStatisticField:f,outStatisticFieldName:`${f}_0`.toUpperCase(),statisticType:t});l.query={outStatistics:m};let g=s.series[0];return g!==void 0&&(l.id=g.id,s.colorMatch||(C(g)&&C(l)?l.fillSymbol=g.fillSymbol:(A(l)&&A(g)||h(l)&&h(g))&&(l.lineSymbol=g.lineSymbol,l.markerSymbol=g.markerSymbol),o=!0),l.id=g.id,g.name!==c.name&&(l.name=g.name)),s.series.length===1&&!s.colorMatch&&(C(l)?l.fillSymbol=s.series[0].fillSymbol:(A(l)||h(l))&&(l.lineSymbol=s.series[0].lineSymbol,l.markerSymbol=s.series[0].markerSymbol),o=!0),s.colorMatch=!o,[l]}async function Ge(i){let{numericFields:e,aggregationType:t,config:s,layerInfo:a}=i,{layerFieldsInfo:o,objectIdField:c}=a,n=[],d=!1;for(let l=0;l<e.length;l+=1){let m=await Z({config:s,layerInfo:a,seriesIndex:l}),g=Fe({config:s,numericFields:e,aggregationType:t,layer:a.layer,numericFieldIndex:l}).name,f=e[l],r={...m,query:{...m.query}};f!==c&&(r={...r,id:f,name:j(o,f)});let y=f;r.query!==void 0&&(t!==p.NoAggregation?(y=g,r.query.outStatistics=[{...m.query?.outStatistics?.[0]??{},onStatisticField:f,outStatisticFieldName:g,statisticType:t}]):delete r.query.outStatistics),r.y=y;let u=s.series.find(x=>x.query?.outStatistics?.[0]?.onStatisticField===f&&x.query.where===void 0);if(u!==void 0&&typeof u.y=="string"&&u.y.trim()!==""){s.colorMatch||(C(r)&&C(u)?r.fillSymbol=u.fillSymbol:(A(r)&&A(u)||h(r)&&h(u))&&(r.lineSymbol=u.lineSymbol,r.markerSymbol=u.markerSymbol),d=!0);let x=await Z({config:s,layerInfo:a,seriesIndex:l});r.id=u.id,u.id!==x.id&&u.name!==x.name&&(r.id=u.id,r.name=u.name)}n.push(r)}return s.series.length===1&&n.length===1&&!s.colorMatch&&(C(s.series[0])&&C(n[0])?n[0].fillSymbol=s.series[0].fillSymbol:(A(s.series[0])&&A(n[0])||h(s.series[0])&&h(n[0]))&&(n[0].lineSymbol=s.series[0].lineSymbol,n[0].markerSymbol=s.series[0].markerSymbol),d=!0),s.colorMatch=!d,n}async function vi(i){let{splitByField:e,numericFields:t,aggregationType:s,config:a,layerInfo:o}=i,{layer:c,layerFieldsInfo:n}=o,{fetchNullValues:d}=a?.series?.[0]?.query??{},l=_(a),m=l!==P?l:void 0,{categoriesArray:g,splitByFieldType:f,numericalField:r}=await mi({config:a,layer:c,layerFieldsInfo:n,xAxisField:m,aggregationFields:t,splitByField:e,fetchNullValues:d}),y=[],u=!1;if(g.length===0){y=await Ge({numericFields:t,aggregationType:s,config:a,layerInfo:o});for(let x of y)x.query&&(x.query.where=`${e}=''`)}else for(let x=0;x<g.length;x+=1){let F=g[x],$=Fe({config:a,numericFields:t,aggregationType:s,layer:o.layer,seriesIndex:x,splitByField:e}).name,I=await Z({config:a,layerInfo:o,seriesIndex:x}),R={fieldName:e,fieldValueToMatch:F??"",subtypeInfo:ne(o.layer),fieldList:o.layerFieldsInfo},He=re(R),ge=`${F}`,B={...I,id:ge,name:He??ge,y:$,query:{...I.query,where:`${e}=${f===ue.String&&F!==null?`'${F}'`:F}`,outStatistics:s!==p.NoAggregation?[{...I.query?.outStatistics?.[0]??{},onStatisticField:r,outStatisticFieldName:$,statisticType:s}]:void 0}};s===p.NoAggregation&&(B.query!==void 0&&(delete B.query.outStatistics,delete B.query.groupByFieldsForStatistics),B.y=r);let D=a.series.find(ei=>String(Qe(ei)).trim().replace(/'/gu,"")===ge);D!==void 0&&(a.colorMatch||(C(B)&&C(D)?B.fillSymbol=D.fillSymbol:(A(B)&&A(D)||h(B)&&h(D))&&(B.lineSymbol=D.lineSymbol,B.markerSymbol=D.markerSymbol),u=!0),B.id=D.id,B.name=D.name),y.push(B)}return a.colorMatch=!u,y}var Ie=async i=>{let{splitByField:e,numericFields:t,aggregationType:s,config:a,layerInfo:o}=i,{x:c}=a.series[0],n=U(a.series);e===""||t.length>1?c===P||c===void 0||c.trim()===""||n===V.BarAndLineFromFields?a.series=await Fi({config:a,layerInfo:o,numericFields:t,aggregationType:s}):a.series=await Ge({config:a,layerInfo:o,numericFields:t,aggregationType:s}):a.series=await vi({config:a,layerInfo:o,splitByField:e,numericFields:t,aggregationType:s})},zt=i=>{let{config:e,seriesIndex:t,layerInfo:s,commonStrings:a}=i,o=e.series?.[t],c=X(e),n;if(U(e.series)===V.BarAndLineFromFields)n=a.axisLabels.values;else if(Ae(c)){let d=o.query?.outStatistics?.[0]?.onStatisticField;d!==void 0&&d!==s.objectIdField&&(n=j(s.layerFieldsInfo,d))}else{let d=String(Qe(o)).trim().replace(/'/gu,""),l={fieldName:X(e),fieldValueToMatch:d??"",subtypeInfo:ne(s.layer),fieldList:s.layerFieldsInfo};n=re(l)??d}return n??o.id},Pt=(i,e)=>{e.orderOptions??={};let t=e.orderOptions?.data?.orderType;bi(e)===v.customSort&&t===w.Category&&(e.orderOptions.data={orderType:w.Category,orderBy:[...i]})},Ut=async(i,e)=>{let t=_(i),s=ii(i)?.type,a=O(i),o=U(i.series),c=[];return s===S.CategoryAxisFormat&&(o===V.BarAndLineFromFields||t===P?c=a.map(n=>j(e?.layerFieldsInfo,n)):t.trim()!==""&&t!==P&&e!==void 0&&(c=await xi({layerInfo:e,config:i,category:t}))),c};async function ce(i,e){let t=await Q(i,e),s=oi(i),a=le(i);return t===s||a}async function de(i,e){let t=await J({config:i,layerInfo:e,numericFields:O(i),aggregationType:k(i)}),s=be(1,i),a=le(i);return t===s||a}async function Ii(i,e){let t=j(e.layerFieldsInfo,_(i)),s=be(0,i),a=le(i);return t===s||a}function Xt(i){return i?.series?.[0]?.binTemporalData??!1}function Rt(i,e){e?.series.forEach(t=>{t.binTemporalData=i,i?t.temporalBinning={unit:H.Day,size:0,timeAggregationType:Te.Start,trimIncompleteTimeInterval:!0,nullPolicy:ee.Null}:delete t.temporalBinning})}var Kt=(i,e)=>{e.series.forEach(t=>{t.query&&(t.query.fetchNullValues=i)})},Wt=i=>i.series.some(e=>e.query?.fetchNullValues),Yt=i=>i.series.map(e=>String(ae({where:e.query?.where}))).filter(e=>e!==void 0&&e.trim()!==""),Zt=i=>i.dataFilters,Jt=(i,e)=>{i!==void 0?e.dataFilters=i:delete e.dataFilters};return{a:pe,b:Y,c:J,d:Pi,e:b,f:Ui,g:ii,h:ti,i:We,j:Xi,k:Ri,l:Ki,m:Wi,n:Yi,o:Zi,p:oi,q:Ji,r:Qi,s:Gi,t:Hi,u:et,v:it,w:tt,x:st,y:at,z:ni,A:ot,B:nt,C:rt,D:lt,E:ct,F:dt,G:gt,H:yt,I:ut,J:ft,K:mt,L:be,M:xt,N:pt,O:bt,P:Ft,Q:vt,R:It,S:St,T:Tt,U:At,V:ht,W:Bt,X:wt,Y:Ct,Z:Lt,_:qt,$:_,aa:Fe,ba:ci,ca:di,da:gi,ea:yi,fa:ui,ga:Je,ha:fi,ia:Nt,ja:Mt,ka:Ot,la:$t,ma:mi,na:jt,oa:kt,pa:Dt,qa:xi,ra:Q,sa:k,ta:Et,ua:X,va:Vt,wa:O,xa:pi,ya:_t,za:bi,Aa:Ie,Ba:zt,Ca:Pt,Da:Ut,Ea:Xt,Fa:Rt,Ga:Kt,Ha:Wt,Ia:Yt,Ja:Zt,Ka:Jt}},"intl","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a)
|
|
3
|
+
v4.34.0-next.137 */
|
|
4
|
+
import{i as A,j as h,k as C,l as Ue,m as Xe,o as Re}from"./XWI545BD.js";import a from"./NL5HWOSB.js";import{d as ye,e as z,f as W,i as Ae,q as ue,w as he}from"./NWANFRQZ.js";import{c as ie,d as te}from"./J2GDDFON.js";import{b as v,e as Ke}from"./QUOXLAGO.js";import{a as S,b as p,f as Se,h as N,k as H,n as ee,o as Te,v as w,w as K}from"./FP4XIAZA.js";import{G}from"./NI233ASE.js";export default $arcgis.t(([{substitute:E},,,,,,,,{$:Oe,$b:me,A:Ce,Fa:V,H:L,J:q,K:Le,Ka:ke,L:se,M:qe,Mb:oe,N:Ne,Oa:j,Sa:De,Wb:_e,Z:Me,aa:$e,ca:je,cb:Ee,j:Be,jb:ae,jc:xe,k:P,kb:Ve,kc:ze,l:we,lc:Pe,mb:U,mc:ne,nc:re,ob:M,p:T,wa:fe,wc:le}])=>{async function pe(i){let{queryObject:e,queryConfig:t,category:s,splitByField:a,chartLimits:o,abortKey:c}=i,n=a!==void 0,d=s!==Ce?[s]:[];n&&d.push(a);let l=oe(e),m={...t,groupByFieldsForStatistics:Array.from(new Set(d)),outStatistics:[{statisticType:p.Count,onStatisticField:l.objectIdField,outStatisticFieldName:`${p.Count}_OBJECTID`}],orderByFields:void 0,num:o?.maxBarThreePlusSeriesCountTotal},g=await _e({queryObject:e,featureCount:1,queryConfig:m,abortKey:c});return Array.from(new Set(g.map(f=>f.attributes[n?a:s]))).sort((f,r)=>typeof f=="string"&&typeof r=="string"?f.localeCompare(r):Number(f)-Number(r))}function Y(i,e,t){let s=i?.axes?.[e];s?.title!==void 0?s.title.content.text=t:s!==void 0&&(s.title=q({text:t,visible:!0,font:L(T.AxisTitle)}))}async function J(i){let{config:e,layerInfo:t,numericFields:s,aggregationType:a}=i,o="";if(e){let c=ke(e)===Se.Stacked100,n=await ie(te(document.documentElement).t9nLocale,G("./assets/common/t9n"),"messages.");if(c)o=n.utilsStrings.statistics.percent;else{let d=await fe(a);if(s.length===1){let l=j(t.layerFieldsInfo,s[0]);a===p.NoAggregation?o=l:a===p.Count&&s[0]===t.objectIdField?o=n.utilsStrings.statistics.count:o=E(n.axisLabels.aggregationOfFieldName,{aggregation:d,fieldName:l})}else s.length>1&&(a===p.NoAggregation?o=n.axisLabels.values:o=E(n.axisLabels.aggregationOfValues,{aggregation:d}))}}return o}var Ye=async(i,e)=>i.axes?.[e]??(await Me(i.type))[e],Ze=i=>{let{config:e,axis:t,axisIndex:s}=i;e.axes!==void 0&&(e.axes[s]=t)},Pi=i=>{let{config:e,axisIndex:t,isMax:s}=i,a=Number.NaN;return s?a=e.axes?.[t]?.maximum:a=e.axes?.[t]?.minimum,a??Number.NaN},b=i=>{let{config:e,value:t,axisIndex:s,isMax:a}=i,o=e?.axes?.[s];o!==void 0&&(a?o.maximum=t:o.minimum=t)},Ui=(i,e)=>{b({config:i,value:e,axisIndex:0,isMax:!1})},ii=i=>i.axes?.[0]?.valueFormat??se(),ti=async(i,e)=>{let t=await Ye(i,0);if(t!==void 0&&e!==void 0){let s={...t,valueFormat:e};Ze({config:i,axis:s,axisIndex:0})}},We=(i,e,t)=>{let s=i.axes?.[e];s!==void 0&&(s.integerOnlyValues=t)},si=i=>{let e=K(i.series);return e===S.BarSeries||e===S.ComboLineAndBarSeries||e===S.LineSeries},ai=i=>{let{axisIndex:e,config:t,isMultiAxis:s}=i,a=!1;return e===0||e===1&&s?a=!0:e===2&&(a=si(t)),a},Xi=i=>{let{axisIndex:e,func:t,config:s}=i;return ai({axisIndex:e,config:s,isMultiAxis:!0})?t(e):void 0},Ri=(i,e)=>{let t,s=e.axes?.[i]?.valueFormat;return(i===0||i>=1&&Re(s))&&(t=s),t},Ki=async i=>{let{config:e,valueFormat:t,axisIndex:s=0}=i,a=await Ye(e,s);if(a!==void 0&&t!==void 0){let o={...a,valueFormat:t};Ze({config:e,axis:o,axisIndex:s})}},Wi=(i,e)=>i.axes?.[e]?.isLogarithmic??!1,Yi=i=>{let{config:e,isLogarithmic:t,axisIndex:s}=i,a=e.axes?.[s];a&&(a.isLogarithmic=t,b({config:e,value:null,axisIndex:s,isMax:!0}),b({config:e,value:null,axisIndex:s,isMax:!1}))},Zi=i=>{let{config:e,scrollbar:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].scrollbar=t)},oi=i=>i.title?.content.text??"",Ji=(i,e)=>{e.title!==void 0?e.title.content.text=i:e.title===void 0&&i!==void 0&&(e.title=q({text:i,visible:!0,font:L(T.ChartTitle)}))},Qi=i=>i.subtitle?.content.text??"",Gi=(i,e)=>{e.subtitle!==void 0?e.subtitle.content.text=i:e.subtitle===void 0&&i!==void 0&&(e.subtitle=q({text:i,visible:!0,font:L(T.ChartSubtitle)}))},Hi=i=>i.footer?.content.text??"",et=(i,e)=>{e.footer!==void 0?e.footer.content.text=i:e.footer===void 0&&i!==void 0&&(e.footer=q({text:i,visible:!0,font:L(T.DescriptionText)}))},it=i=>i.title?i.title.visible??!0:!1,tt=(i,e)=>{e.title!==void 0?e.title.visible=i:e.title===void 0&&(e.title=q({text:"",visible:i,font:L(T.ChartTitle)}))},st=i=>i.subtitle?i.subtitle.visible??!0:!1,at=(i,e)=>{e.subtitle!==void 0?e.subtitle.visible=i:e.subtitle===void 0&&(e.subtitle=q({text:"",visible:i,font:L(T.ChartSubtitle)}))},ni=i=>i.footer?.visible??!1,ot=(i,e)=>{e.footer!==void 0?e.footer.visible=i:e.footer===void 0&&i!==ni(e)&&(e.footer=q({text:"",visible:!0,font:L(T.DescriptionText)}))},nt=i=>i.chartRenderer,rt=(i,e)=>{e.chartRenderer=i},lt=(i,e)=>i.axes?.[e]?.title?.content,ct=i=>{let{config:e,axisIndex:t,symbol:s}=i,a=e.axes?.[t];if(a!==void 0){let o=a.title?.content.text;(a.title===void 0||s===void 0)&&(a.title=q({text:"",visible:!0,font:L(T.AxisTitle),type:T.AxisTitle})),s!==void 0&&(a.title.content=s),a.title.content.text=o}},dt=i=>{for(let e of i.axes??[])if(e?.labels!==void 0)return e.labels.content},gt=(i,e)=>{for(let t of e.axes??[])if(t!==void 0){let s=t.labels?.content.text;i===void 0?t.labels=q({text:"",visible:!0,font:L(T.AxisLabels),type:T.AxisLabels}):t.labels.content=W(i),t.labels.content.text=s}},yt=i=>{for(let e of i.axes??[])if(e?.lineSymbol!==void 0)return e.lineSymbol},ut=(i,e)=>{for(let t of e.axes??[])t!==void 0&&(t.lineSymbol=W(i)??Le())},ft=i=>{for(let e of i.axes??[])if(e?.grid!==void 0)return e.grid},mt=(i,e,t)=>{let s=e.axes;t.forEach(a=>{s?.[a]!==void 0&&(s[a].grid=W(i))})},be=(i,e)=>e.axes?.[i]?.title?.content.text??"",xt=(i,e,t)=>{let s=t.axes?.[e];s?.title!==void 0?s.title.content.text=i:s!==void 0&&s?.title===void 0&&(s.title=q({text:i,visible:!0,font:L(T.AxisTitle)}))},pt=(i,e)=>e.axes?.[i]?.title?.visible??!1,bt=(i,e,t)=>{let s=t.axes?.[e];s?.title!==void 0?s.title.visible=i:s!==void 0&&s?.title===void 0&&(s.title=q({text:be(e,t),visible:i,font:L(T.AxisTitle)}))},Ft=(i,e)=>i.axes?.[e]?.displayZeroLine??!1,vt=(i,e,t)=>{i.axes?.[t]!==void 0&&(i.axes[t].displayZeroLine=e)},It=(i,e)=>i.axes?.[e]?.displayCursorTooltip??!1,St=i=>{let{config:e,displayCursorTooltip:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].displayCursorTooltip=t)},Tt=(i,e)=>i.axes?.[e]?.buffer??!1,At=i=>{let{config:e,buffer:t,axisIndex:s}=i,a=e.axes?.[s];a!==void 0&&(a.buffer=t)},ht=(i,e)=>i.axes?.[e]?.tickSpacing,Bt=i=>{let{config:e,tickSpacing:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].tickSpacing=t)},wt=(i,e)=>i.axes?.[e]?.integerOnlyValues??!1,Ct=i=>{let{config:e,integerOnlyValues:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].integerOnlyValues=t)},ri=i=>{let e=v.xAxisAsc,t=i.orderOptions?.data?.orderType??w.Category,s=i.orderOptions?.data?.orderBy??N.Ascending;return t===w.Category&&Array.isArray(s)?e=v.customSort:t===w.Category?s===N.Ascending?e=v.xAxisAsc:e=v.xAxisDesc:s===N.Ascending?e=v.yAxisAsc:e=v.yAxisDesc,e},li=i=>{let e=K(i.series),t=!1;return(e===S.BarSeries||e===S.LineSeries)&&(t=ri(i)===v.customSort),t},Lt=i=>{let e=[],t=i.orderOptions?.data?.orderType;return li(i)&&t===w.Category&&(e=i.orderOptions?.data?.orderBy),e},qt=(i,e,t)=>{let s=w.Category,a=N.Ascending,o=K(e.series);e.orderOptions??={},i===v.customSort&&t!==void 0?(a=[...t],e.orderOptions.data={orderType:s,orderBy:a}):(o===S.BarSeries||o===S.LineSeries)&&(s=i===v.xAxisAsc||i===v.xAxisDesc?w.Category:w.YValue,a=i===v.xAxisAsc||i===v.yAxisAsc?N.Ascending:N.Descending,e.orderOptions.data={orderType:s,orderBy:a})},_=i=>i?.series?.[0]?.x??"",Fe=i=>{let{config:e,numericFields:t,aggregationType:s,mode:a,layer:o,numericFieldIndex:c,seriesIndex:n,splitByField:d=""}=i,l=K(e.series),m=U(e.series),g=o?oe(o).objectIdField:"FID",f=_(e),r=t.length===1&&t[0]===g,y="y",u="y";switch(l){case S.PieSeries:{s!==p.NoAggregation?a===Ke.Category?(y=`${s}_${t[0]}_0`.toUpperCase(),u=r?z(p.Count):z(`${s} of ${t[0]}`)):y=Be:y=t[0];break}case S.BarSeries:case S.LineSeries:case S.ComboLineAndBarSeries:case S.RadarSeries:{if(d===""||t.length>1)f===P||f===void 0||f.trim()===""||m===V.BarAndLineFromFields?y=we:(y=`${s}_${t[c??0]}_${c??0}`.toUpperCase(),u=r?z(p.Count):z(`${s} of ${t[c??0]}`));else{let x=t[0];y=`${s}_${x}_${n??0}`.toUpperCase(),u=r?z(p.Count):z(`${s} of ${x}`)}break}}return{name:y,description:u}},ci=i=>{let e,t=i.series[0];return M(t)&&(e=t.temporalBinning?.size),e},di=i=>{let e,t=i.series[0];return M(t)&&(e=t.temporalBinning?.unit),e},gi=i=>{let e,t=i.series[0];return M(t)&&(e=t.temporalBinning?.timeAggregationType),e},yi=i=>{let e,t=i.series[0];return M(t)&&(e=t.temporalBinning?.trimIncompleteTimeInterval),e},ui=i=>{let e,t=i.series[0];return M(t)&&(e=t.temporalBinning?.nullPolicy),e},Je=(i,e)=>{e?.series?.forEach(t=>{M(t)&&(t.temporalBinning??={},t.temporalBinning.size=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},fi=(i,e)=>{e?.series?.forEach(t=>{M(t)&&(t.temporalBinning??={},t.temporalBinning.nullPolicy=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},Nt=(i,e)=>{e.series?.forEach(t=>{M(t)&&(t.temporalBinning??={},t.temporalBinning.unit=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},Mt=(i,e)=>{e.series?.forEach(t=>{M(t)&&(t.temporalBinning??={},t.temporalBinning.timeAggregationType=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},Ot=(i,e)=>{e.series?.forEach(t=>{M(t)&&(t.temporalBinning??={},t.temporalBinning.trimIncompleteTimeInterval=i)}),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},$t=i=>{Je(0,i)};async function mi(i){let{config:e,layer:t,xAxisField:s,splitByField:a,layerFieldsInfo:o,aggregationFields:c,fetchNullValues:n}=i,d=o.filter(x=>x.name===a)[0]?.type,l=n!==!0?`${a} IS NOT NULL`:"",m=s&&n!==!0?`${s} IS NOT NULL`:"",{where:g}=e?.dataFilters??{},f={where:me([g,l,m]),orderByFields:De(a)?[]:[`${a} ${N.Ascending}`],geometry:e?.dataFilters?.geometry},r=t,y="";c.length===0?y=r?.objectIdField??"":[y]=c;let u=await pe({queryObject:r,category:e?.series[0].x??"",splitByField:a,queryConfig:f});if(e){let x=e?.series.map(F=>ae({where:F.query?.where})?.toString()??"").filter(F=>F!==void 0&&F!=="");u=Ee({arrayA:u,arrayB:x,getKey:F=>F.toString()})}return{categoriesArray:u,splitByFieldType:d,numericalField:y}}function jt(i,e){let t=e==="";for(let s of i)if(e===s.name){t=!0;break}return t}function kt(i,e){let t=Pe(i),s=e.length===0,a=0;for(let o of e){for(let c of t)if(o===c&&(a+=1),a===e.length){s=!0;break}if(s)break}return s}function Dt(i,e){e.forEach(t=>{Object.getOwnPropertyNames(t.prototype).forEach(s=>{Object.defineProperty(i.prototype,s,Object.getOwnPropertyDescriptor(t.prototype,s)||Object.create(null))})})}async function xi(i){let{layerInfo:e,config:t,category:s}=i,{layer:a}=e,{where:o}=t?.dataFilters??{},{fetchNullValues:c}=t?.series?.[0]?.query??{},n=c!==!0?`${s} IS NOT NULL`:"",d={where:me([o,n]),orderByFields:[],geometry:t?.dataFilters?.geometry},l=ne(a);return(await pe({queryObject:a,category:s,queryConfig:d})).map(m=>{let g=String(m);return re({fieldName:s,fieldValueToMatch:g,subtypeInfo:l,fieldList:e.layerFieldsInfo})??g})}async function Z(i){let{seriesIndex:e,config:t,layerInfo:s}=i,{objectIdField:a}=s??{},o,c=t.series[e??0],n=!1,d=!1;if(c===void 0){let r=t.series;n=r.slice(0,e).every(y=>A(y)),d=r.slice(0,e).every(y=>h(y))}else n=A(c),d=h(c);n?o=await Oe({seriesIndex:e,objectIDField:a}):d?o=await $e({seriesIndex:e,objectIDField:a}):o=await je({seriesIndex:e,objectIDField:a});let l=_(t),m=t.series[0]?.dataLabels?.visible??!1,g={...o,x:l,y:"",dataLabels:{...o.dataLabels,type:o.dataLabels?.type??S.Text,content:o.dataLabels?.content??{type:he.TS},visible:m}},f=k(t);if(g.query={groupByFieldsForStatistics:[l]},f!==p.NoAggregation&&a!==void 0){let r=`${f}_${a}_0`.toUpperCase();g.y=r,g.query.outStatistics=[{statisticType:f,onStatisticField:a,outStatisticFieldName:r}]}if(A(g)||h(g)||C(g)&&t.series[0]?.binTemporalData){let r;if(t?.series?.[0]!==void 0&&(r=U(t.series)),r!==V.BarAndLineNoAggregation&&r!==V.BarAndLineSplitByNoAggregation){let y=di(t);y===H.Quarter&&(y=H.Month),g.temporalBinning={size:ci(t),unit:y,timeAggregationType:gi(t),trimIncompleteTimeInterval:yi(t),nullPolicy:ui(t)}}}return W(g)}async function Q(i,e){let{layerFieldsInfo:t,objectIdField:s}=e,a=_(i),o=U(i.series),c=O(i),n=k(i),d=X(i),l=c.length===0||c.includes(s),m=await fe(n),g=l?"":c.map(I=>j(t??[],I)).join(", "),f=j(t??[],a),r=j(t??[],d),y=i.series.some(I=>C(I)),u=y?"category":"xAxisField",x=f,F="",$=await ie(te(document.documentElement).t9nLocale,G("./assets/common/t9n"),"messages.");if(o===V.BarAndLineFromFields)F=E($.titleLabels.aggrTypeOfAggrFields,{aggregationType:m,aggregationFields:g});else if(n===p.NoAggregation){let I=l?s:g;if(d===""){let R=y?"aggrTypeCategory":"aggrTypeXAxisField";F=E($.titleLabels[R],{aggregationType:I,[u]:x})}else{let R=y?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";F=E($.titleLabels[R],{aggregationType:I,[u]:x,splitByField:r})}}else if(n===p.Count)if(d===""){let I=y?"aggrTypeCategory":"aggrTypeXAxisField";F=E($.titleLabels[I],{aggregationType:m,[u]:x})}else{let I=y?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";F=E($.titleLabels[I],{aggregationType:m,[u]:x,splitByField:r})}else if(d!==""){let I=y?"aggrTypeOfAggrFieldByCategoryBySplitByField":"aggrTypeOfAggrFieldByXAxisFieldBySplitByField";F=E($.titleLabels[I],{aggregationType:m,aggregationField:g,[u]:x,splitByField:r})}else if(c.length>0){let I=y?"aggrTypeOfAggrFieldsByCategory":"aggrTypeOfAggrFieldsByXAxisField";F=E($.titleLabels[I],{aggregationType:m,aggregationFields:g,[u]:x})}return F}var Qe=i=>ae({where:i.query?.where,normalize:!1,escape:!1})??"",k=i=>i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType??p.NoAggregation,Et=async(i,e,t)=>{let s=O(e),a=X(e),o=await ce(e,t),c=await de(e,t);if(await Ie({splitByField:a,numericFields:s,aggregationType:i,config:e,layerInfo:t}),c){let n=await J({config:e,layerInfo:t,numericFields:O(e),aggregationType:k(e)});Y(e,1,n)}e.title&&o&&(e.title.content.text=await Q(e,t)),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0}),ve(e,t)},X=ye(i=>{let e=i?.series?.[0]?.query?.where?.split("=")[0].trim()??"";return Ve(i?.series?.[0]?.query?.where)?"":e},i=>i?.series?.[0]?.query?.where),Vt=async(i,e,t)=>{let s=O(e),a=k(e),o=await ce(e,t),c=await de(e,t);if(await Ie({splitByField:i,numericFields:s,aggregationType:a,config:e,layerInfo:t}),c){let n=await J({config:e,layerInfo:t,numericFields:O(e),aggregationType:k(e)});Y(e,1,n)}e.title&&o&&(e.title.content.text=await Q(e,t)),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0})},O=ye(i=>{let e=[];if(X(i)==="")e=i?.series.map(t=>{let s=t.query?.outStatistics?.map(a=>a.onStatisticField)??[];return s?.length>0?s:t.y}).flat()??[];else{let t=i?.series?.[0],s=t?.query?.outStatistics?.[0]?.onStatisticField??[t?.y].flat()[0];e=s!==void 0?[s]:[]}return[...new Set(e.filter(t=>t!==""))]},i=>i?.series),pi=async(i,e,t)=>{let{objectIdField:s}=t,a=k(e),o=await ce(e,t),c=await de(e,t);i.length===0?(i.push(s),a=p.Count):a===p.Count&&i.length>=1&&!i.includes(s)&&(a=p.Sum);let n=X(e);if(await Ie({splitByField:n,numericFields:i,aggregationType:a,config:e,layerInfo:t}),c){let d=await J({config:e,layerInfo:t,numericFields:O(e),aggregationType:k(e)});Y(e,1,d)}e.title&&o&&(e.title.content.text=await Q(e,t)),b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0}),ve(e,t)},_t=async(i,e,t)=>{let{layerFieldsInfo:s}=t??{},a=e?.series?.length??0,o=_(e),c=await ce(e,t),n=await de(e,t),d=await Ii(e,t),l,m=e.series.some(r=>C(r)),g=Ue(e.series),f=Xe(e.series);if(s!==void 0){let r=ze(s);!r.includes(o)&&r.includes(i)?l=qe():r.includes(o)&&!r.includes(i)&&(m?l=se():l=Ne()),s.find(y=>y.name===i)?.type===ue.String&&(l=se()),l!==void 0&&await ti(e,l)}if(a===0&&(e.series=[await Z({config:e,layerInfo:t})]),e.series.forEach(r=>{r.x=i,r.query!==void 0&&(r.query.groupByFieldsForStatistics=[i])}),d){let r=j(s,i);Y(e,0,r)}if(t!==void 0){if(n){let y=await J({config:e,layerInfo:t,numericFields:O(e),aggregationType:k(e)});Y(e,1,y)}e.title&&c&&(e.title.content.text=await Q(e,t)),ve(e,t);let r=O(e);await pi(r,e,t)}if(b({config:e,value:null,axisIndex:1,isMax:!1}),b({config:e,value:null,axisIndex:1,isMax:!0}),g||f){b({config:e,value:null,axisIndex:0,isMax:!1}),b({config:e,value:null,axisIndex:0,isMax:!0}),Je(0,e);let r=l?.type===S.DateAxisFormat?ee.Null:ee.Interpolate;fi(r,e)}};function ve(i,e){let t=!1,s=k(i),a=O(i);s===p.Count?t=!0:s===p.NoAggregation&&(t=a.every(n=>{let d=e.layerFieldsInfo.find(l=>l.name===n);return d!==void 0?xe(d):!1})),We(i,1,t);let o=i.series.some(n=>A(n)),c=i.series.some(n=>h(n));if(o||c){let n=_(i),d=e.layerFieldsInfo.find(m=>m.name===n),l=d!==void 0&&xe(d);We(i,0,l)}}var bi=i=>{let e=v.xAxisAsc,t=i.orderOptions?.data?.orderType??w.Category,s=i.orderOptions?.data?.orderBy??N.Ascending;return t===w.Category&&Array.isArray(s)?e=v.customSort:t===w.Category?s===N.Ascending?e=v.xAxisAsc:e=v.xAxisDesc:s===N.Ascending?e=v.yAxisAsc:e=v.yAxisDesc,e};async function Fi(i){let{numericFields:e,aggregationType:t,config:s,layerInfo:a}=i,o=!1,c=await Z({config:s,layerInfo:a,seriesIndex:0}),n=await ie(te(document.documentElement).t9nLocale,G("./assets/common/t9n"),"messages."),d=Fe({config:s,numericFields:e,aggregationType:t,layer:a.layer}).name,l={...c,id:`series_${Date.now()}`,name:n.axisLabels.values,x:P,y:d},m=[];for(let f of e)m.push({onStatisticField:f,outStatisticFieldName:`${f}_0`.toUpperCase(),statisticType:t});l.query={outStatistics:m};let g=s.series[0];return g!==void 0&&(l.id=g.id,s.colorMatch||(C(g)&&C(l)?l.fillSymbol=g.fillSymbol:(A(l)&&A(g)||h(l)&&h(g))&&(l.lineSymbol=g.lineSymbol,l.markerSymbol=g.markerSymbol),o=!0),l.id=g.id,g.name!==c.name&&(l.name=g.name)),s.series.length===1&&!s.colorMatch&&(C(l)?l.fillSymbol=s.series[0].fillSymbol:(A(l)||h(l))&&(l.lineSymbol=s.series[0].lineSymbol,l.markerSymbol=s.series[0].markerSymbol),o=!0),s.colorMatch=!o,[l]}async function Ge(i){let{numericFields:e,aggregationType:t,config:s,layerInfo:a}=i,{layerFieldsInfo:o,objectIdField:c}=a,n=[],d=!1;for(let l=0;l<e.length;l+=1){let m=await Z({config:s,layerInfo:a,seriesIndex:l}),g=Fe({config:s,numericFields:e,aggregationType:t,layer:a.layer,numericFieldIndex:l}).name,f=e[l],r={...m,query:{...m.query}};f!==c&&(r={...r,id:f,name:j(o,f)});let y=f;r.query!==void 0&&(t!==p.NoAggregation?(y=g,r.query.outStatistics=[{...m.query?.outStatistics?.[0]??{},onStatisticField:f,outStatisticFieldName:g,statisticType:t}]):delete r.query.outStatistics),r.y=y;let u=s.series.find(x=>x.query?.outStatistics?.[0]?.onStatisticField===f&&x.query.where===void 0);if(u!==void 0&&typeof u.y=="string"&&u.y.trim()!==""){s.colorMatch||(C(r)&&C(u)?r.fillSymbol=u.fillSymbol:(A(r)&&A(u)||h(r)&&h(u))&&(r.lineSymbol=u.lineSymbol,r.markerSymbol=u.markerSymbol),d=!0);let x=await Z({config:s,layerInfo:a,seriesIndex:l});r.id=u.id,u.id!==x.id&&u.name!==x.name&&(r.id=u.id,r.name=u.name)}n.push(r)}return s.series.length===1&&n.length===1&&!s.colorMatch&&(C(s.series[0])&&C(n[0])?n[0].fillSymbol=s.series[0].fillSymbol:(A(s.series[0])&&A(n[0])||h(s.series[0])&&h(n[0]))&&(n[0].lineSymbol=s.series[0].lineSymbol,n[0].markerSymbol=s.series[0].markerSymbol),d=!0),s.colorMatch=!d,n}async function vi(i){let{splitByField:e,numericFields:t,aggregationType:s,config:a,layerInfo:o}=i,{layer:c,layerFieldsInfo:n}=o,{fetchNullValues:d}=a?.series?.[0]?.query??{},l=_(a),m=l!==P?l:void 0,{categoriesArray:g,splitByFieldType:f,numericalField:r}=await mi({config:a,layer:c,layerFieldsInfo:n,xAxisField:m,aggregationFields:t,splitByField:e,fetchNullValues:d}),y=[],u=!1;if(g.length===0){y=await Ge({numericFields:t,aggregationType:s,config:a,layerInfo:o});for(let x of y)x.query&&(x.query.where=`${e}=''`)}else for(let x=0;x<g.length;x+=1){let F=g[x],$=Fe({config:a,numericFields:t,aggregationType:s,layer:o.layer,seriesIndex:x,splitByField:e}).name,I=await Z({config:a,layerInfo:o,seriesIndex:x}),R={fieldName:e,fieldValueToMatch:F??"",subtypeInfo:ne(o.layer),fieldList:o.layerFieldsInfo},He=re(R),ge=`${F}`,B={...I,id:ge,name:He??ge,y:$,query:{...I.query,where:`${e}=${f===ue.String&&F!==null?`'${F}'`:F}`,outStatistics:s!==p.NoAggregation?[{...I.query?.outStatistics?.[0]??{},onStatisticField:r,outStatisticFieldName:$,statisticType:s}]:void 0}};s===p.NoAggregation&&(B.query!==void 0&&(delete B.query.outStatistics,delete B.query.groupByFieldsForStatistics),B.y=r);let D=a.series.find(ei=>String(Qe(ei)).trim().replace(/'/gu,"")===ge);D!==void 0&&(a.colorMatch||(C(B)&&C(D)?B.fillSymbol=D.fillSymbol:(A(B)&&A(D)||h(B)&&h(D))&&(B.lineSymbol=D.lineSymbol,B.markerSymbol=D.markerSymbol),u=!0),B.id=D.id,B.name=D.name),y.push(B)}return a.colorMatch=!u,y}var Ie=async i=>{let{splitByField:e,numericFields:t,aggregationType:s,config:a,layerInfo:o}=i,{x:c}=a.series[0],n=U(a.series);e===""||t.length>1?c===P||c===void 0||c.trim()===""||n===V.BarAndLineFromFields?a.series=await Fi({config:a,layerInfo:o,numericFields:t,aggregationType:s}):a.series=await Ge({config:a,layerInfo:o,numericFields:t,aggregationType:s}):a.series=await vi({config:a,layerInfo:o,splitByField:e,numericFields:t,aggregationType:s})},zt=i=>{let{config:e,seriesIndex:t,layerInfo:s,commonStrings:a}=i,o=e.series?.[t],c=X(e),n;if(U(e.series)===V.BarAndLineFromFields)n=a.axisLabels.values;else if(Ae(c)){let d=o.query?.outStatistics?.[0]?.onStatisticField;d!==void 0&&d!==s.objectIdField&&(n=j(s.layerFieldsInfo,d))}else{let d=String(Qe(o)).trim().replace(/'/gu,""),l={fieldName:X(e),fieldValueToMatch:d??"",subtypeInfo:ne(s.layer),fieldList:s.layerFieldsInfo};n=re(l)??d}return n??o.id},Pt=(i,e)=>{e.orderOptions??={};let t=e.orderOptions?.data?.orderType;bi(e)===v.customSort&&t===w.Category&&(e.orderOptions.data={orderType:w.Category,orderBy:[...i]})},Ut=async(i,e)=>{let t=_(i),s=ii(i)?.type,a=O(i),o=U(i.series),c=[];return s===S.CategoryAxisFormat&&(o===V.BarAndLineFromFields||t===P?c=a.map(n=>j(e?.layerFieldsInfo,n)):t.trim()!==""&&t!==P&&e!==void 0&&(c=await xi({layerInfo:e,config:i,category:t}))),c};async function ce(i,e){let t=await Q(i,e),s=oi(i),a=le(i);return t===s||a}async function de(i,e){let t=await J({config:i,layerInfo:e,numericFields:O(i),aggregationType:k(i)}),s=be(1,i),a=le(i);return t===s||a}async function Ii(i,e){let t=j(e.layerFieldsInfo,_(i)),s=be(0,i),a=le(i);return t===s||a}function Xt(i){return i?.series?.[0]?.binTemporalData??!1}function Rt(i,e){e?.series.forEach(t=>{t.binTemporalData=i,i?t.temporalBinning={unit:H.Day,size:0,timeAggregationType:Te.Start,trimIncompleteTimeInterval:!0,nullPolicy:ee.Null}:delete t.temporalBinning})}var Kt=(i,e)=>{e.series.forEach(t=>{t.query&&(t.query.fetchNullValues=i)})},Wt=i=>i.series.some(e=>e.query?.fetchNullValues),Yt=i=>i.series.map(e=>String(ae({where:e.query?.where}))).filter(e=>e!==void 0&&e.trim()!==""),Zt=i=>i.dataFilters,Jt=(i,e)=>{i!==void 0?e.dataFilters=i:delete e.dataFilters};return{a:pe,b:Y,c:J,d:Pi,e:b,f:Ui,g:ii,h:ti,i:We,j:Xi,k:Ri,l:Ki,m:Wi,n:Yi,o:Zi,p:oi,q:Ji,r:Qi,s:Gi,t:Hi,u:et,v:it,w:tt,x:st,y:at,z:ni,A:ot,B:nt,C:rt,D:lt,E:ct,F:dt,G:gt,H:yt,I:ut,J:ft,K:mt,L:be,M:xt,N:pt,O:bt,P:Ft,Q:vt,R:It,S:St,T:Tt,U:At,V:ht,W:Bt,X:wt,Y:Ct,Z:Lt,_:qt,$:_,aa:Fe,ba:ci,ca:di,da:gi,ea:yi,fa:ui,ga:Je,ha:fi,ia:Nt,ja:Mt,ka:Ot,la:$t,ma:mi,na:jt,oa:kt,pa:Dt,qa:xi,ra:Q,sa:k,ta:Et,ua:X,va:Vt,wa:O,xa:pi,ya:_t,za:bi,Aa:Ie,Ba:zt,Ca:Pt,Da:Ut,Ea:Xt,Fa:Rt,Ga:Kt,Ha:Wt,Ia:Yt,Ja:Zt,Ka:Jt}},"intl","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a)
|