@arcgis/charts-components 5.0.0-next.19 → 5.0.0-next.20
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/{SD2CDMO3.js → 22LUVTOP.js} +2 -2
- package/dist/cdn/{LYARKGMN.js → 27XNWLMT.js} +2 -2
- package/dist/cdn/{I3IBCXUM.js → 2RM65F7S.js} +2 -2
- package/dist/cdn/{WRJQM7OC.js → 2S3W7EE5.js} +2 -2
- package/dist/cdn/{KZATKBY2.js → 2SMYKOKC.js} +2 -2
- package/dist/cdn/{VBRNA3VA.js → 34LHJK7D.js} +2 -2
- package/dist/cdn/{BLS6GKAD.js → 3DQCTTSY.js} +2 -2
- package/dist/cdn/{IPO3SIHE.js → 43SJ5F5T.js} +2 -2
- package/dist/cdn/{L2HEFLL3.js → 46WOKB3R.js} +2 -2
- package/dist/cdn/{ISC2ARA7.js → 4G7TTANJ.js} +2 -2
- package/dist/cdn/{OUB3R7DA.js → 4H3IX4XJ.js} +2 -2
- package/dist/cdn/{UQBOJZP4.js → 4HB5BYMS.js} +2 -2
- package/dist/cdn/{V64POKL3.js → 4HLR67G5.js} +2 -2
- package/dist/cdn/{SJGL4XU4.js → 4JJZWRU4.js} +1 -1
- package/dist/cdn/{JDO2HUIY.js → 4OGMCO4T.js} +2 -2
- package/dist/cdn/{ASBCS47P.js → 4Q2VR6G5.js} +2 -2
- package/dist/cdn/{43G36EKZ.js → 4Q57TVGK.js} +2 -2
- package/dist/cdn/{V6ITHNYO.js → 4TFPNGKL.js} +2 -2
- package/dist/cdn/{WZ5YFFPP.js → 4WA2NRGD.js} +2 -2
- package/dist/cdn/{XNMOOWDK.js → 5N2H7VCQ.js} +2 -2
- package/dist/cdn/{RUED5U4J.js → 5SJLSVTO.js} +2 -2
- package/dist/cdn/{QV4GYYSQ.js → 63Z6WAZG.js} +2 -2
- package/dist/cdn/{2NN2KXDN.js → 6B24FAG5.js} +2 -2
- package/dist/cdn/{GC67WN4M.js → 6BDKEYMO.js} +2 -2
- package/dist/cdn/{NCEUYEEZ.js → 6NW26DOK.js} +2 -2
- package/dist/cdn/{DMIPTH3G.js → 6QPNTZAB.js} +2 -2
- package/dist/cdn/{OPYI3BD7.js → 6TTLV323.js} +2 -2
- package/dist/cdn/{BZ3JHIWQ.js → 76JBUV6G.js} +2 -2
- package/dist/cdn/{6IPPL7BY.js → 7DGQJ5XA.js} +2 -2
- package/dist/cdn/{EB6Z4I4R.js → 7EUURVZR.js} +2 -2
- package/dist/cdn/{LWSHYR43.js → 7RARTKCF.js} +2 -2
- package/dist/cdn/{VYGUMHNP.js → 7VN53RK6.js} +1 -1
- package/dist/cdn/{NBYBQAXF.js → 7XEDBROB.js} +2 -2
- package/dist/cdn/{72L5Y4GA.js → 7XOJTNAE.js} +2 -2
- package/dist/cdn/{KKXHB25S.js → ABJR6MPD.js} +2 -2
- package/dist/cdn/{SC26TKDB.js → ATMUWGSJ.js} +2 -2
- package/dist/cdn/{HPGZBFL3.js → B6VYM5GC.js} +2 -2
- package/dist/cdn/{5QY5QJSC.js → B7RDRRXG.js} +2 -2
- package/dist/cdn/{5PSK7DNG.js → BINJMZ5F.js} +2 -2
- package/dist/cdn/{SOKXW5S3.js → BZCO5IN4.js} +2 -2
- package/dist/cdn/{XH5G2DWL.js → CEPVF3VU.js} +2 -2
- package/dist/cdn/{BQBJOMQY.js → CS23XTN5.js} +2 -2
- package/dist/cdn/{TRPDLIDW.js → CUMTTPAY.js} +2 -2
- package/dist/cdn/{XKQNMU3V.js → CWAPXCLI.js} +2 -2
- package/dist/cdn/{P2ELSZ5Z.js → CWKQ6QXC.js} +2 -2
- package/dist/cdn/{OAG7AF67.js → CWZCYCST.js} +2 -2
- package/dist/cdn/{RZKQZ63E.js → CZ7THBSW.js} +2 -2
- package/dist/cdn/{IZFR64V2.js → DE2MCTEB.js} +2 -2
- package/dist/cdn/{RJSYZSM6.js → DOCQUKUS.js} +2 -2
- package/dist/cdn/{OLKWFUHT.js → DS6AU3OW.js} +2 -2
- package/dist/cdn/{PXKSLAVW.js → DZCZMB6C.js} +2 -2
- package/dist/cdn/{2LVTUEVR.js → EBRWDR3A.js} +2 -2
- package/dist/cdn/{5E27VJJD.js → ECJD4WEW.js} +2 -2
- package/dist/cdn/{3EJCE2VS.js → EE3ZRBOT.js} +2 -2
- package/dist/cdn/{HYVEMPMD.js → EKVONWA3.js} +2 -2
- package/dist/cdn/{BRUUMWCR.js → ERCHSI53.js} +2 -2
- package/dist/cdn/{DAEQQT3A.js → EVHHDR75.js} +2 -2
- package/dist/cdn/{VROXIGK3.js → EZMCO45F.js} +1 -1
- package/dist/cdn/{ZZYVR2OI.js → F3576UBB.js} +2 -2
- package/dist/cdn/{BUXXDI7Y.js → FBMTE3JO.js} +2 -2
- package/dist/cdn/{OZ33D7AH.js → FDW5VQ3Z.js} +7 -7
- package/dist/cdn/{O2DTU2FL.js → FEZF53IG.js} +2 -2
- package/dist/cdn/{4K5IT7W3.js → FHM4UGBO.js} +2 -2
- package/dist/cdn/{FIZE4GYK.js → FHTJO4CU.js} +2 -2
- package/dist/cdn/{AYOVKRIO.js → FHTWMUEI.js} +2 -2
- package/dist/cdn/{Y7NZNHZN.js → FL7OHU6D.js} +1 -1
- package/dist/cdn/{FCPGJQE7.js → FPIN6JD6.js} +2 -2
- package/dist/cdn/{HNEFJP7L.js → FRMIXEGJ.js} +2 -2
- package/dist/cdn/{YFQH2AL3.js → G3RXOQ3L.js} +2 -2
- package/dist/cdn/{MLOBDYJW.js → G3UTXSKL.js} +2 -2
- package/dist/cdn/{L7INNJVE.js → GF35RBWH.js} +2 -2
- package/dist/cdn/{XPTOQNLC.js → GH5WWXO6.js} +2 -2
- package/dist/cdn/{HV6R4NVM.js → GIR6GXTY.js} +2 -2
- package/dist/cdn/{7YFNAZM6.js → GIRNLIKH.js} +1 -1
- package/dist/cdn/{B43FVWCE.js → GNEMUCI4.js} +2 -2
- package/dist/cdn/{3JUOBEZT.js → H3VUNX2Y.js} +2 -2
- package/dist/cdn/{MCJFJO2O.js → HAZJ5J5H.js} +2 -2
- package/dist/cdn/{KHC2V2XB.js → HCED4AAI.js} +2 -2
- package/dist/cdn/{M3LUNCQW.js → HYCXMYQX.js} +2 -2
- package/dist/cdn/{HT5HW6Q2.js → I2E5HP7S.js} +2 -2
- package/dist/cdn/{CF5QWO32.js → IBJNX77I.js} +2 -2
- package/dist/cdn/{ARFWPY5Q.js → IBSHFCD3.js} +2 -2
- package/dist/cdn/{OMOYCLJA.js → IDEYXFFU.js} +2 -2
- package/dist/cdn/{STKSYZQ2.js → IDMB7Y4J.js} +2 -2
- package/dist/cdn/{WANEAK36.js → IH2UHDQG.js} +2 -2
- package/dist/cdn/{CKT6J7V6.js → IH3ED5QH.js} +2 -2
- package/dist/cdn/{S4QUCM42.js → IJV6LRDD.js} +2 -2
- package/dist/cdn/{EMB6DH3R.js → IOYI5XEQ.js} +2 -2
- package/dist/cdn/{K7YSRRDG.js → ITOIK3WT.js} +2 -2
- package/dist/cdn/{HBC4O5RC.js → IYMEFF5B.js} +2 -2
- package/dist/cdn/JAYSJSVN.js +4 -0
- package/dist/cdn/{JMMJ6DFS.js → JO2EZ4D7.js} +2 -2
- package/dist/cdn/{3VPANVJU.js → JRKZNQQK.js} +2 -2
- package/dist/cdn/{H4WM5ITB.js → KOZ4JFC5.js} +2 -2
- package/dist/cdn/{MYY6WN25.js → KPHTU7PW.js} +2 -2
- package/dist/cdn/{Y2OAPCKG.js → KQAQJBOV.js} +2 -2
- package/dist/cdn/{GHCFHLNY.js → KSHI4EAD.js} +2 -2
- package/dist/cdn/{6IV64UZY.js → KXGJYFQ6.js} +2 -2
- package/dist/cdn/{WMWTQX3P.js → L6ZEVCAZ.js} +2 -2
- package/dist/cdn/{5EETM6XF.js → LAOVFI5H.js} +2 -2
- package/dist/cdn/{EK2RXYQG.js → LB6CJTVN.js} +2 -2
- package/dist/cdn/{HLFZVYVX.js → LHLEOMUD.js} +2 -2
- package/dist/cdn/{BHIGUTSA.js → LJXZZISL.js} +2 -2
- package/dist/cdn/{AFUARQPL.js → LUGGI4TL.js} +2 -2
- package/dist/cdn/{WJZ5OMVO.js → MCAXZIC4.js} +2 -2
- package/dist/cdn/{A5SIIUMI.js → MCTJ5KQS.js} +2 -2
- package/dist/cdn/{XO35XLW6.js → MKYSTZ4G.js} +2 -2
- package/dist/cdn/{4RPBS6VA.js → MLL3XWFZ.js} +2 -2
- package/dist/cdn/{ZD7RT2FJ.js → MTPMIK7W.js} +2 -2
- package/dist/cdn/{GEDNXNXA.js → MXWNJWZ3.js} +2 -2
- package/dist/cdn/{LNKAVGVA.js → NCH7HZWM.js} +2 -2
- package/dist/cdn/{BAEF23K2.js → NHTOHVKZ.js} +2 -2
- package/dist/cdn/{PCPHZ2BC.js → NIC6KBIP.js} +1 -1
- package/dist/cdn/{XKG3L7SV.js → NKIGMVMC.js} +2 -2
- package/dist/cdn/{HX32ZVIR.js → NSKJAE5I.js} +1 -1
- package/dist/cdn/{BJ6XULUA.js → NXAWWNOZ.js} +2 -2
- package/dist/cdn/{ZQ4EZDHP.js → NXIHVZ5K.js} +2 -2
- package/dist/cdn/{OHJRMFD5.js → OBK7TZOZ.js} +2 -2
- package/dist/cdn/{7TNINXG6.js → OD43NPJT.js} +2 -2
- package/dist/cdn/{3T4YG3DM.js → ONDA2BYM.js} +2 -2
- package/dist/cdn/{WQET43IB.js → OVW33QF5.js} +2 -2
- package/dist/cdn/{376P3XVO.js → OZSSWMKC.js} +2 -2
- package/dist/cdn/{MZGFYASR.js → P3PWLBUW.js} +2 -2
- package/dist/cdn/{LNCLX4HM.js → PNEJDY5J.js} +2 -2
- package/dist/cdn/{RNDW6BZW.js → PQO4EHAU.js} +2 -2
- package/dist/cdn/{WPVQGMWS.js → QDGMLBPN.js} +2 -2
- package/dist/cdn/{4EGPHRP3.js → QDZVS2BU.js} +2 -2
- package/dist/cdn/{NTP5VVFO.js → QEMCT22O.js} +2 -2
- package/dist/cdn/{BCFMKQN7.js → QZPMHREO.js} +2 -2
- package/dist/cdn/{Y4DWMQEM.js → R2JBRI44.js} +2 -2
- package/dist/cdn/{Q7G2WIFV.js → S32LGD6T.js} +2 -2
- package/dist/cdn/{ISS2IDMH.js → S3BCLUPW.js} +2 -2
- package/dist/cdn/{ULDMPVBO.js → SIYMXGGJ.js} +2 -2
- package/dist/cdn/{GQUSC22J.js → SJ4Q5TVO.js} +2 -2
- package/dist/cdn/{Z5EWMRU5.js → SSJZF3HA.js} +2 -2
- package/dist/cdn/{BTZ6Y3Y5.js → SZPMHWSE.js} +2 -2
- package/dist/cdn/{RVELTIIE.js → T2VXXH4M.js} +2 -2
- package/dist/cdn/{SAM3S4CA.js → T34HUAKH.js} +2 -2
- package/dist/cdn/{YZFSX6IT.js → T56L7KLC.js} +2 -2
- package/dist/cdn/{5RBEVVNA.js → T5VCW3OZ.js} +2 -2
- package/dist/cdn/{GAXARJ7Q.js → TJ3FPYH2.js} +2 -2
- package/dist/cdn/{XUZOJTZO.js → TT673Y5J.js} +2 -2
- package/dist/cdn/{CRX6WIN6.js → TWOW3KTS.js} +1 -1
- package/dist/cdn/{GQGKP5PZ.js → UBKTECP4.js} +2 -2
- package/dist/cdn/{7CYYJGIE.js → UHGA7GMD.js} +2 -2
- package/dist/cdn/{2XFXARM4.js → UOFK5FPD.js} +1 -1
- package/dist/cdn/{5YFVJKMM.js → UQB3NUIC.js} +2 -2
- package/dist/cdn/{L2F3V4W7.js → USYU6HAI.js} +2 -2
- package/dist/cdn/{J77LGOTQ.js → UWCPWZC5.js} +2 -2
- package/dist/cdn/{6DQ5FGYK.js → UZSVFWXS.js} +2 -2
- package/dist/cdn/{SJ7BL67O.js → V3O45BXK.js} +2 -2
- package/dist/cdn/{PFAORINH.js → VB66YKZM.js} +2 -2
- package/dist/cdn/{DUKJLOH6.js → VDCNL3WO.js} +2 -2
- package/dist/cdn/{LBLJ7JK6.js → VJT6B3WO.js} +2 -2
- package/dist/cdn/{7A344EK2.js → VTSJRLOH.js} +2 -2
- package/dist/cdn/{BMRKCAX5.js → VYA6EPPK.js} +2 -2
- package/dist/cdn/{X3T4YKEM.js → WBV6TZVJ.js} +2 -2
- package/dist/cdn/{XBHU6NV4.js → WNZ6TDPZ.js} +2 -2
- package/dist/cdn/{5SLKPMMC.js → WOQVYJHI.js} +2 -2
- package/dist/cdn/{Y4AAQMYK.js → X2NF4Z6J.js} +2 -2
- package/dist/cdn/{PKF6Y4IJ.js → XACSVBOT.js} +2 -2
- package/dist/cdn/{FCHEIVED.js → XADEUCJO.js} +2 -2
- package/dist/cdn/{SGKIBBL7.js → XCBPJW4N.js} +2 -2
- package/dist/cdn/{XB7X6QLT.js → XDYIHDY3.js} +2 -2
- package/dist/cdn/{VOPQ7IMZ.js → XGJFQG4B.js} +2 -2
- package/dist/cdn/{TFYUOJOU.js → XHBPOGW4.js} +2 -2
- package/dist/cdn/{IG7OIWIQ.js → XIEQYQ7P.js} +2 -2
- package/dist/cdn/{TANXHPHV.js → XK5FPK7F.js} +2 -2
- package/dist/cdn/{IHU3CFUA.js → XM2SEMYT.js} +2 -2
- package/dist/cdn/{4EZQZ744.js → XQQUCUS6.js} +2 -2
- package/dist/cdn/{FS3XI4T2.js → YAOXIF4J.js} +2 -2
- package/dist/cdn/{GPTHVRA6.js → YDMSUWLV.js} +2 -2
- package/dist/cdn/{MNINVA6D.js → YDW7P5FJ.js} +2 -2
- package/dist/cdn/{LA5HEVJZ.js → YFCWEMMW.js} +2 -2
- package/dist/cdn/{QC5PHH6U.js → YU6GJDM4.js} +2 -2
- package/dist/cdn/{NCT5SU4A.js → Z3QTWM7D.js} +1 -1
- package/dist/cdn/{OOCKTTFG.js → ZAV5M6VU.js} +2 -2
- package/dist/cdn/{AZG34IPP.js → ZDFMCNGK.js} +2 -2
- package/dist/cdn/{4NXBNLCD.js → ZDRFJ43D.js} +2 -2
- package/dist/cdn/{MRV5JQWP.js → ZHLKHTSS.js} +2 -2
- package/dist/cdn/{BIVZ2SKP.js → ZO3SOICU.js} +2 -2
- package/dist/cdn/{EBEDQFPR.js → ZZGBQOF5.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +1 -1
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +1 -1
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/heat-chart-model.js +72 -46
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/interfaces3.js +1 -1
- package/dist/chunks/interfaces4.js +1 -1
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +1 -1
- package/dist/chunks/model-with-multi-axes.js +1 -1
- package/dist/chunks/model-with-rotation.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +11 -1
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +23 -1
- package/dist/model.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/2TMKSPTR.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/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.20 */
|
|
4
|
+
import"./7VN53RK6.js";var r={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"K",_big_number_suffix_6:"Mio",_big_number_suffix_9:"Mrd",_big_number_suffix_12:"Bio",_big_number_suffix_15:"Brd",_big_number_suffix_18:"Trill",_big_number_suffix_21:"Trd",_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:"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:"v. Chr.",_era_bc:"n. Chr.",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"Januar",February:"Februar",March:"M\xE4rz",April:"April",May:"Mai",June:"Juni",July:"Juli",August:"August",September:"September",October:"Oktober",November:"November",December:"Dezember",Jan:"Jan.",Feb:"Febr.",Mar:"M\xE4rz",Apr:"Apr.","May(short)":"Mai",Jun:"Juni",Jul:"Juli",Aug:"Aug.",Sep:"Sept.",Oct:"Okt.",Nov:"Nov.",Dec:"Dez.",Sunday:"Sonntag",Monday:"Montag",Tuesday:"Dienstag",Wednesday:"Mittwoch",Thursday:"Donnerstag",Friday:"Freitag",Saturday:"Samstag",Sun:"So.",Mon:"Mo.",Tue:"Di.",Wed:"Mi.",Thu:"Do.",Fri:"Fr.",Sat:"Sa.",_dateOrd:function(e){return e+"."},"Zoom Out":"Herauszoomen",Play:"Abspielen",Stop:"Stop",Legend:"Legende","Click, tap or press ENTER to toggle":"Klicken, tippen oder ENTER dr\xFCcken zum Umschalten",Loading:"Wird geladen",Home:"Home",Chart:"Diagramm","Serial chart":"Seriendiagramm","X/Y chart":"X-Y-Diagramm","Pie chart":"Kreisdiagramm","Gauge chart":"Messdiagramm","Radar chart":"Netzdiagramm","Sankey diagram":"Sankey-Diagramm","Chord diagram":"","Flow diagram":"Flussdiagramm","TreeMap chart":"Baumdiagramm",Series:"Serie","Candlestick Series":"Kerzendiagramm","Column Series":"Balkendiagramm","Line Series":"Liniendiagramm","Pie Slice Series":"Kreisdiagramm","X/Y Series":"Punktdiagramm",Map:"Karte","Press ENTER to zoom in":"Dr\xFCcke ENTER zum Hereinzoomen","Press ENTER to zoom out":"Dr\xFCcke ENTER zum Herauszoomen","Use arrow keys to zoom in and out":"Benutze die Pfeiltasten zum Zoomen","Use plus and minus keys on your keyboard to zoom in and out":"Benutze Plus- und Minustasten zum Zoomen",Export:"Export",Image:"Bild",Data:"Daten",Print:"Drucken","Click, tap or press ENTER to open":"Zum \xD6ffnen klicken, tippen oder ENTER dr\xFCcken","Click, tap or press ENTER to print.":"Zum Drucken klicken, tippen oder ENTER dr\xFCcken.","Click, tap or press ENTER to export as %1.":"Klicken, tippen oder ENTER dr\xFCcken um als %1 zu exportieren",'To save the image, right-click this link and choose "Save picture as..."':'Um das Bild zu speichern, Rechtsklicken und "Bild speichern unter ..." ausw\xE4hlen','To save the image, right-click thumbnail on the left and choose "Save picture as..."':'Um das Bild zu speichern, Rechtsklick auf das Vorschaubild links und "Bild speichern unter ..." ausw\xE4hlen',"(Press ESC to close this message)":"ESC dr\xFCcken um diese Nachricht zu schlie\xDFen","Image Export Complete":"Bildexport komplett","Export operation took longer than expected. Something might have gone wrong.":"Der Export dauert l\xE4nger als geplant. Vielleicht ist etwas schiefgelaufen.","Saved from":"Gespeichert von",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"","Use TAB to select grip buttons or left and right arrows to change selection":"TAB nutzen, um Ankerpunkte auszuw\xE4hlen oder linke und rechte Pfeiltaste um die Auswahl zu \xE4ndern","Use left and right arrows to move selection":"Linke und rechte Pfeiltaste nutzen um die Auswahl zu verschieben","Use left and right arrows to move left selection":"Linke und rechte Pfeiltaste nutzen um die linke Auswahl zu verschieben","Use left and right arrows to move right selection":"Linke und rechte Pfeiltaste nutzen um die rechte Auswahl zu verschieben","Use TAB select grip buttons or up and down arrows to change selection":"TAB nutzen, um Ankerpunkte auszuw\xE4hlen oder Pfeiltaste nach oben und unten dr\xFCcken, um die Auswahl zu \xE4ndern","Use up and down arrows to move selection":"Pfeiltaste nach oben und unten dr\xFCcken, um die Auswahl zu verschieben","Use up and down arrows to move lower selection":"Pfeiltaste nach oben und unten dr\xFCcken, um die untere Auswahl zu verschieben","Use up and down arrows to move upper selection":"Pfeiltaste nach oben und unten dr\xFCcken, um die obere Auswahl zu verschieben","From %1 to %2":"Von %1 bis %2","From %1":"Von %1","To %1":"Bis %1","No parser available for file: %1":"Kein Parser f\xFCr Datei %1 verf\xFCgbar","Error parsing file: %1":"Fehler beim Parsen von Datei %1","Unable to load file: %1":"Datei %1 konnte nicht geladen werden","Invalid date":"Kein Datum"};export{r as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.20 */
|
|
4
|
+
import"./7VN53RK6.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:"n. l.",_era_bc:"p\u0159. n. l.",A:"dop.",P:"odp.",AM:"dop.",PM:"odp.","A.M.":"dop.","P.M.":"odp.",January:"ledna",February:"\xFAnora",March:"b\u0159ezna",April:"dubna",May:"kv\u011Btna",June:"\u010Dervna",July:"\u010Dervence",August:"srpna",September:"z\xE1\u0159\xED",October:"\u0159\xEDjna",November:"listopadu",December:"prosince",Jan:"led",Feb:"\xFAno",Mar:"b\u0159e",Apr:"dub","May(short)":"kv\u011B",Jun:"\u010Dvn",Jul:"\u010Dvc",Aug:"srp",Sep:"z\xE1\u0159",Oct:"\u0159\xEDj",Nov:"lis",Dec:"pro",Sunday:"ned\u011Ble",Monday:"pond\u011Bl\xED",Tuesday:"\xFAter\xFD",Wednesday:"st\u0159eda",Thursday:"\u010Dtvrtek",Friday:"p\xE1tek",Saturday:"sobota",Sun:"ne",Mon:"po",Tue:"\xFAt",Wed:"st",Thu:"\u010Dt",Fri:"p\xE1",Sat:"so",_dateOrd:function(o){var e="th";if(o<11||o>13)switch(o%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zv\u011Bt\u0161en\xED",Play:"P\u0159ehr\xE1t",Stop:"Ukon\u010Dit iteraci (Stop)",Legend:"Legenda","Click, tap or press ENTER to toggle":"",Loading:"Na\u010D\xEDt\xE1n\xED",Home:"Dom\u016F",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:"Tisk",Image:"Sn\xEDmek",Data:"Data",Print:"Tisk","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{_ as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{i as T,j as h,k as q,l as we,m as $e,o as je}from"./GHCFHLNY.js";import a from"./OOCKTTFG.js";import{d as te,e as D,f as _,i as ye,q as se,w as me}from"./SJGL4XU4.js";import{a as S,d as ke}from"./2XFXARM4.js";import{a as v,b,f as ue,h as O,k as R,n as K,o as fe,v as C,w as P}from"./Y7NZNHZN.js";export default $arcgis.t(([{substitute:j},,,,,,,,{$b:Ne,B:Fe,Bc:Q,Ha:E,I:L,K:N,L:be,M:Z,Ma:Be,N:Se,O:ve,Qa:w,Rb:Y,Ua:Ce,_:Ie,aa:Ae,ba:Te,da:he,eb:qe,ec:oe,j:xe,k:V,l:pe,lb:W,mb:Le,ob:z,oc:ne,pc:Oe,q:A,qb:M,qc:Me,rc:G,sc:J,ya:ae}])=>{async function re(i){let{queryObject:e,queryConfig:t,category:s,splitByField:a,chartLimits:o,abortKey:n}=i,r=a!==void 0,l=s!==Fe?[s]:[];r&&l.push(a);let f=Y(e),c={...t,groupByFieldsForStatistics:Array.from(new Set(l)),outStatistics:[{statisticType:b.Count,onStatisticField:f.objectIdField,outStatisticFieldName:`${b.Count}_OBJECTID`}],orderByFields:void 0,num:o?.maxBarThreePlusSeriesCountTotal},x=await Ne({queryObject:e,featureCount:1,queryConfig:c,abortKey:n});return Array.from(new Set(x.map(m=>m.attributes[r?a:s]))).sort((m,p)=>typeof m=="string"&&typeof p=="string"?m.localeCompare(p):Number(m)-Number(p))}function De(i,e,t){let s=i?.axes?.[e];s?.title!==void 0?s.title.content.text=t:s!==void 0&&(s.title=N({text:t,visible:!0,font:L(A.AxisTitle)}))}function Ee(i){let{config:e,layerInfo:t,commonStrings:s,numericFields:a,aggregationType:o}=i,n="";if(e)if(Be(e)===ue.Stacked100)n=s.utilsStrings.statistics.percent;else{let r=ae(o,s);if(a.length===1){let l=w(t.layerFieldsInfo,a[0]);o===b.NoAggregation?n=l:o===b.Count&&a[0]===t.objectIdField?n=s.utilsStrings.statistics.count:n=j(s.axisLabels.aggregationOfFieldName,{aggregation:r,fieldName:l})}else a.length>1&&(o===b.NoAggregation?n=s.axisLabels.values:n=j(s.axisLabels.aggregationOfValues,{aggregation:r}))}return n}var _e=(i,e,t)=>i.axes?.[e]??Ie(t,i.type)[e],Pe=i=>{let{config:e,axis:t,axisIndex:s}=i;e.axes!==void 0&&(e.axes[s]=t)},Ei=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},I=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)},_i=(i,e)=>{I({config:i,value:e,axisIndex:0,isMax:!1})},ze=i=>i.axes?.[0]?.valueFormat??Z(),Je=(i,e,t)=>{let s=_e(i,0,e);if(s!==void 0&&t!==void 0){let a={...s,valueFormat:t};Pe({config:i,axis:a,axisIndex:0})}},Ve=(i,e,t)=>{let s=i.axes?.[e];s!==void 0&&(s.integerOnlyValues=t)},Qe=i=>{let e=P(i.series);return e===v.BarSeries||e===v.ComboLineAndBarSeries||e===v.LineSeries},He=i=>{let{axisIndex:e,config:t,isMultiAxis:s}=i,a=!1;return e===0||e===1&&s?a=!0:e===2&&(a=Qe(t)),a},Pi=i=>{let{axisIndex:e,func:t,config:s}=i;return He({axisIndex:e,config:s,isMultiAxis:!0})?t(e):void 0},zi=(i,e)=>{let t,s=e.axes?.[i]?.valueFormat;return(i===0||i>=1&&je(s))&&(t=s),t},Ui=i=>{let{config:e,commonStrings:t,valueFormat:s,axisIndex:a=0}=i,o=_e(e,a,t);if(o!==void 0&&s!==void 0){let n={...o,valueFormat:s};Pe({config:e,axis:n,axisIndex:a})}},Xi=(i,e)=>i.axes?.[e]?.isLogarithmic??!1,Ri=i=>{let{config:e,isLogarithmic:t,axisIndex:s}=i,a=e.axes?.[s];a&&(a.isLogarithmic=t,I({config:e,value:null,axisIndex:s,isMax:!0}),I({config:e,value:null,axisIndex:s,isMax:!1}))},Ki=i=>{let{config:e,scrollbar:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].scrollbar=t)},Zi=i=>i.version,ei=i=>i.title?.content.text??"",Wi=(i,e)=>{e.title!==void 0?e.title.content.text=i:e.title===void 0&&i!==void 0&&(e.title=N({text:i,visible:!0,font:L(A.ChartTitle)}))},Yi=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=N({text:i,visible:!0,font:L(A.ChartSubtitle)}))},Ji=i=>i.footer?.content.text??"",Qi=(i,e)=>{e.footer!==void 0?e.footer.content.text=i:e.footer===void 0&&i!==void 0&&(e.footer=N({text:i,visible:!0,font:L(A.DescriptionText)}))},Hi=i=>i.title?i.title.visible??!0:!1,et=(i,e)=>{e.title!==void 0?e.title.visible=i:e.title===void 0&&(e.title=N({text:"",visible:i,font:L(A.ChartTitle)}))},it=i=>i.subtitle?i.subtitle.visible??!0:!1,tt=(i,e)=>{e.subtitle!==void 0?e.subtitle.visible=i:e.subtitle===void 0&&(e.subtitle=N({text:"",visible:i,font:L(A.ChartSubtitle)}))},ii=i=>i.footer?.visible??!1,st=(i,e)=>{e.footer!==void 0?e.footer.visible=i:e.footer===void 0&&i!==ii(e)&&(e.footer=N({text:"",visible:!0,font:L(A.DescriptionText)}))},at=i=>i.chartRenderer,ot=(i,e)=>{e.chartRenderer=i},nt=(i,e)=>i.axes?.[e]?.title?.content,rt=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=N({text:"",visible:!0,font:L(A.AxisTitle),type:A.AxisTitle})),s!==void 0&&(a.title.content=s),a.title.content.text=o}},lt=i=>{for(let e of i.axes??[])if(e?.labels!==void 0)return e.labels.content},ct=(i,e)=>{for(let t of e.axes??[])if(t!==void 0){let s=t.labels?.content.text;i===void 0?t.labels=N({text:"",visible:!0,font:L(A.AxisLabels),type:A.AxisLabels}):t.labels.content=_(i),t.labels.content.text=s}},gt=i=>{for(let e of i.axes??[])if(e?.lineSymbol!==void 0)return e.lineSymbol},dt=(i,e)=>{for(let t of e.axes??[])t!==void 0&&(t.lineSymbol=_(i)??be())},yt=i=>{for(let e of i.axes??[])if(e?.grid!==void 0)return e.grid},ut=(i,e,t)=>{let s=e.axes;t.forEach(a=>{s?.[a]!==void 0&&(s[a].grid=_(i))})},le=(i,e)=>e.axes?.[i]?.title?.content.text??"",ft=(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=N({text:i,visible:!0,font:L(A.AxisTitle)}))},mt=(i,e)=>e.axes?.[i]?.title?.visible??!1,xt=(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=N({text:le(e,t),visible:i,font:L(A.AxisTitle)}))},pt=(i,e)=>i.axes?.[e]?.displayZeroLine??!1,Ft=(i,e,t)=>{i.axes?.[t]!==void 0&&(i.axes[t].displayZeroLine=e)},bt=(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)},vt=(i,e)=>i.axes?.[e]?.buffer??!1,It=i=>{let{config:e,buffer:t,axisIndex:s}=i,a=e.axes?.[s];a!==void 0&&(a.buffer=t)},At=(i,e)=>i.axes?.[e]?.tickSpacing,Tt=i=>{let{config:e,tickSpacing:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].tickSpacing=t)},ht=(i,e)=>i.axes?.[e]?.integerOnlyValues??!1,Bt=i=>{let{config:e,integerOnlyValues:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].integerOnlyValues=t)},ti=i=>{let e=S.xAxisAsc,t=i.orderOptions?.data?.orderType??C.Category,s=i.orderOptions?.data?.orderBy??O.Ascending;return t===C.Category&&Array.isArray(s)?e=S.customSort:t===C.Category?s===O.Ascending?e=S.xAxisAsc:e=S.xAxisDesc:s===O.Ascending?e=S.yAxisAsc:e=S.yAxisDesc,e},si=i=>{let e=P(i.series),t=!1;return(e===v.BarSeries||e===v.LineSeries)&&(t=ti(i)===S.customSort),t},Ct=i=>{let e=[],t=i.orderOptions?.data?.orderType;return si(i)&&t===C.Category&&(e=i.orderOptions?.data?.orderBy),e},qt=(i,e,t)=>{let s=C.Category,a=O.Ascending,o=P(e.series);e.orderOptions??={},i===S.customSort&&t!==void 0?(a=[...t],e.orderOptions.data={orderType:s,orderBy:a}):(o===v.BarSeries||o===v.LineSeries)&&(s=i===S.xAxisAsc||i===S.xAxisDesc?C.Category:C.YValue,a=i===S.xAxisAsc||i===S.yAxisAsc?O.Ascending:O.Descending,e.orderOptions.data={orderType:s,orderBy:a})},X=i=>i?.series?.[0]?.x??"",ce=i=>{let{config:e,xAxisField:t,numericFields:s,aggregationType:a,mode:o,layer:n,numericFieldIndex:r,seriesIndex:l,splitByField:f=""}=i,c=P(e.series),x=z(e.series),m=n?Y(n).objectIdField:"FID",p=s.length===1&&s[0]===m,g="y",d="y";switch(c){case v.PieSeries:{a!==b.NoAggregation?o===ke.Category?(g=`${a}_${s[0]}_0`.toUpperCase(),d=p?D(b.Count):D(`${a} of ${s[0]}`)):g=xe:g=s[0];break}case v.BarSeries:case v.LineSeries:case v.ComboLineAndBarSeries:case v.RadarSeries:{if(f===""||s.length>1)ge(t,s)||x===E.BarAndLineFromFields?g=pe:(g=`${a}_${s[r??0]}_${r??0}`.toUpperCase(),d=p?D(b.Count):D(`${a} of ${s[r??0]}`));else{let F=s[0];g=`${a}_${F}_${l??0}`.toUpperCase(),d=p?D(b.Count):D(`${a} of ${F}`)}break}}return{name:g,description:d}};function ge(i,e){return(i===V||i===void 0||i.trim()==="")&&(e?.length??0)>=0}var ai=i=>{let e,t=i.series[0];return M(t)&&(e=t.temporalBinning?.size),e},oi=i=>{let e,t=i.series[0];return M(t)&&(e=t.temporalBinning?.unit),e},ni=i=>{let e,t=i.series[0];return M(t)&&(e=t.temporalBinning?.timeAggregationType),e},ri=i=>{let e,t=i.series[0];return M(t)&&(e=t.temporalBinning?.trimIncompleteTimeInterval),e},li=i=>{let e,t=i.series[0];return M(t)&&(e=t.temporalBinning?.nullPolicy),e},Ue=(i,e)=>{e?.series?.forEach(t=>{M(t)&&(t.temporalBinning??={},t.temporalBinning.size=i)}),I({config:e,value:null,axisIndex:1,isMax:!1}),I({config:e,value:null,axisIndex:1,isMax:!0})},ci=(i,e)=>{e?.series?.forEach(t=>{M(t)&&(t.temporalBinning??={},t.temporalBinning.nullPolicy=i)}),I({config:e,value:null,axisIndex:1,isMax:!1}),I({config:e,value:null,axisIndex:1,isMax:!0})},Lt=(i,e)=>{e.series?.forEach(t=>{M(t)&&(t.temporalBinning??={},t.temporalBinning.unit=i)}),I({config:e,value:null,axisIndex:1,isMax:!1}),I({config:e,value:null,axisIndex:1,isMax:!0})},Nt=(i,e)=>{e.series?.forEach(t=>{M(t)&&(t.temporalBinning??={},t.temporalBinning.timeAggregationType=i)}),I({config:e,value:null,axisIndex:1,isMax:!1}),I({config:e,value:null,axisIndex:1,isMax:!0})},Ot=(i,e)=>{e.series?.forEach(t=>{M(t)&&(t.temporalBinning??={},t.temporalBinning.trimIncompleteTimeInterval=i)}),I({config:e,value:null,axisIndex:1,isMax:!1}),I({config:e,value:null,axisIndex:1,isMax:!0})},Mt=i=>{Ue(0,i)};async function gi(i){let{config:e,layer:t,xAxisField:s,splitByField:a,layerFieldsInfo:o,aggregationFields:n,fetchNullValues:r}=i,l=o.filter(F=>F.name===a)[0]?.type,f=r!==!0?`${a} IS NOT NULL`:"",c=s&&r!==!0?`${s} IS NOT NULL`:"",{where:x}=e?.dataFilters??{},m={where:oe([x,f,c]),orderByFields:Ce(a)?[]:[`${a} ${O.Ascending}`],geometry:e?.dataFilters?.geometry},p=t,g="";n.length===0?g=p?.objectIdField??"":[g]=n;let d=await re({queryObject:p,category:e?.series[0].x??"",splitByField:a,queryConfig:m});if(e){let F=e?.series.map(u=>W({where:u.query?.where})?.toString()??"").filter(u=>u!==void 0&&u!=="");d=qe({arrayA:d,arrayB:F,getKey:u=>u===null?null:u?.toString()})}return{categoriesArray:d,splitByFieldType:l,numericalField:g}}function wt(i,e){let t=e==="";for(let s of i)if(e===s.name){t=!0;break}return t}function $t(i,e){let t=Me(i),s=e.length===0,a=0;for(let o of e){for(let n of t)if(o===n&&(a+=1),a===e.length){s=!0;break}if(s)break}return s}function jt(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 di(i){let{layerInfo:e,config:t,category:s}=i,{layer:a}=e,{where:o}=t?.dataFilters??{},{fetchNullValues:n}=t?.series?.[0]?.query??{},r=n!==!0?`${s} IS NOT NULL`:"",l={where:oe([o,r]),orderByFields:[],geometry:t?.dataFilters?.geometry},f=G(a);return(await re({queryObject:a,category:s,queryConfig:l})).map(c=>{let x=String(c);return J({fieldName:s,fieldValueToMatch:x,subtypeInfo:f,fieldList:e.layerFieldsInfo})??x})}var kt=(i,e)=>e.series[i]?.id,Dt=(i,e)=>e.series.findIndex(t=>t.id===i),yi=i=>i.series.length??0,Vt=(i,e)=>e.series[i].visible??!0;function Et(i,e){let t;return i.length!==0&&e<i.length&&(t=i[e].dataTooltipValueFormat),t}function _t(i){let{series:e,seriesIndex:t,valueFormat:s}=i;e.length!==0&&t<e.length&&(e[t].dataTooltipValueFormat=s)}function U(i){let{seriesIndex:e,xAxisField:t,aggregationType:s,config:a,layerInfo:o,commonStrings:n}=i,{objectIdField:r}=o??{},l,f=a.series[e??0],c=!1,x=!1;if(f===void 0){let g=a.series;c=g.slice(0,e).every(d=>T(d)),x=g.slice(0,e).every(d=>h(d))}else c=T(f),x=h(f);c?l=Ae({commonStrings:n,seriesIndex:e,objectIDField:r}):x?l=Te({commonStrings:n,seriesIndex:e,objectIDField:r}):l=he({seriesIndex:e,objectIDField:r,commonStrings:n});let m=a.series[0]?.dataLabels,p={...l,x:t,y:"",dataLabels:{...l.dataLabels,type:l.dataLabels?.type??v.Text,content:{...l.dataLabels?.content,...m?.content,type:me.TS},visible:m?.visible??!1}};if(p.query={groupByFieldsForStatistics:[t]},s!==b.NoAggregation&&r!==void 0){let g=`${s}_${r}_0`.toUpperCase();p.y=g,p.query.outStatistics=[{statisticType:s,onStatisticField:r,outStatisticFieldName:g}]}if(T(p)||h(p)||q(p)&&a.series[0]?.binTemporalData){let g;if(a?.series?.[0]!==void 0&&(g=z(a.series)),g!==E.BarAndLineNoAggregation&&g!==E.BarAndLineSplitByNoAggregation){let d=oi(a);d===R.Quarter&&(d=R.Month),p.temporalBinning={size:ai(a),unit:d,timeAggregationType:ni(a),trimIncompleteTimeInterval:ri(a),nullPolicy:li(a)}}}return _(p)}function Xe(i,e,t){let{layerFieldsInfo:s,objectIdField:a}=e,o=X(i),n=de(i),r=Ke(i),l=H(i),f=n.length===0||n.includes(a),c=ae(r,t),x=f?"":n.map(y=>w(s??[],y)).join(", "),m=w(s??[],o),p=w(s??[],l),g=i.series.some(y=>q(y)),d=g?"category":"xAxisField",F=m,u="";if(ge(o,n))u=j(t.titleLabels.aggrTypeOfAggrFields,{aggregationType:c,aggregationFields:x});else if(r===b.NoAggregation){let y=f?a:x;if(l===""){let k=g?"aggrTypeCategory":"aggrTypeXAxisField";u=j(t.titleLabels[k],{aggregationType:y,[d]:F})}else{let k=g?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";u=j(t.titleLabels[k],{aggregationType:y,[d]:F,splitByField:p})}}else if(r===b.Count)if(l===""){let y=g?"aggrTypeCategory":"aggrTypeXAxisField";u=j(t.titleLabels[y],{aggregationType:c,[d]:F})}else{let y=g?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";u=j(t.titleLabels[y],{aggregationType:c,[d]:F,splitByField:p})}else if(l!==""){let y=g?"aggrTypeOfAggrFieldByCategoryBySplitByField":"aggrTypeOfAggrFieldByXAxisFieldBySplitByField";u=j(t.titleLabels[y],{aggregationType:c,aggregationField:x,[d]:F,splitByField:p})}else if(n.length>0){let y=g?"aggrTypeOfAggrFieldsByCategory":"aggrTypeOfAggrFieldsByXAxisField";u=j(t.titleLabels[y],{aggregationType:c,aggregationFields:x,[d]:F})}return u}var Re=i=>W({where:i.query?.where,normalize:!1,escape:!1})??"",Ke=i=>i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType??b.NoAggregation,H=te(i=>{let e=i?.series?.[0]?.query?.where?.split("=")[0].trim()??"";return Le(i?.series?.[0]?.query?.where)?"":e},i=>i?.series?.[0]?.query?.where),de=te(i=>{let e=[];if(H(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);function ui(i){let{numericFields:e,aggregationType:t,config:s,layerInfo:a}=i,o=!1;t===b.Count?o=!0:t===b.NoAggregation&&(o=e.every(l=>{let f=a.layerFieldsInfo.find(c=>c.name===l);return f!==void 0?ne(f):!1})),Ve(s,1,o);let n=s.series.some(l=>T(l)),r=s.series.some(l=>h(l));if(n||r){let l=X(s),f=a.layerFieldsInfo.find(x=>x.name===l),c=f!==void 0&&ne(f);Ve(s,0,c)}}var fi=i=>{let e=S.xAxisAsc,t=i.orderOptions?.data?.orderType??C.Category,s=i.orderOptions?.data?.orderBy??O.Ascending;return t===C.Category&&Array.isArray(s)?e=S.customSort:t===C.Category?s===O.Ascending?e=S.xAxisAsc:e=S.xAxisDesc:s===O.Ascending?e=S.yAxisAsc:e=S.yAxisDesc,e};function mi(i){let{xAxisField:e,numericFields:t,aggregationType:s,config:a,layerInfo:o,commonStrings:n}=i,r=!1,l=U({config:a,xAxisField:e,aggregationType:s,layerInfo:o,seriesIndex:0,commonStrings:n}),f=ce({config:a,xAxisField:e,numericFields:t,aggregationType:s,layer:o.layer}).name,c={...l,id:`series_${Date.now()}`,name:n.axisLabels.values,x:V,y:f},x=[];for(let p of t)x.push({onStatisticField:p,outStatisticFieldName:`${p}_0`.toUpperCase(),statisticType:s});c.query={outStatistics:x};let m=a.series[0];return m!==void 0&&(c.id=m.id,a.colorMatch||(q(m)&&q(c)?c.fillSymbol=m.fillSymbol:(T(c)&&T(m)||h(c)&&h(m))&&(c.lineSymbol=m.lineSymbol,c.markerSymbol=m.markerSymbol),r=!0),c.id=m.id,m.name!==l.name&&(c.name=m.name)),a.series.length===1&&!a.colorMatch&&(q(c)?c.fillSymbol=a.series[0].fillSymbol:(T(c)||h(c))&&(c.lineSymbol=a.series[0].lineSymbol,c.markerSymbol=a.series[0].markerSymbol),r=!0),a.colorMatch=!r,[c]}function Ze(i){let{xAxisField:e,numericFields:t,aggregationType:s,config:a,layerInfo:o,commonStrings:n}=i,{layerFieldsInfo:r,objectIdField:l}=o,f=[],c=!1;for(let x=0;x<t.length;x+=1){let m=U({config:a,xAxisField:e,aggregationType:s,layerInfo:o,seriesIndex:x,commonStrings:n}),p=ce({config:a,xAxisField:e,numericFields:t,aggregationType:s,layer:o.layer,numericFieldIndex:x}).name,g=t[x],d={...m,query:{...m.query}};g!==l&&(d={...d,id:g,name:w(r,g)});let F=g;d.query!==void 0&&(s!==b.NoAggregation?(F=p,d.query.outStatistics=[{...m.query?.outStatistics?.[0]??{},onStatisticField:g,outStatisticFieldName:p,statisticType:s}]):delete d.query.outStatistics),d.y=F;let u=a.series.find(y=>y.query?.outStatistics?.[0]?.onStatisticField===g&&y.query.where===void 0);if(u!==void 0&&typeof u.y=="string"&&u.y.trim()!==""){a.colorMatch||(q(d)&&q(u)?d.fillSymbol=u.fillSymbol:(T(d)&&T(u)||h(d)&&h(u))&&(d.lineSymbol=u.lineSymbol,d.markerSymbol=u.markerSymbol),c=!0);let y=U({config:a,xAxisField:e,aggregationType:s,layerInfo:o,seriesIndex:x,commonStrings:n});d.id=u.id,u.id!==y.id&&u.name!==y.name&&(d.id=u.id,d.name=u.name)}f.push(d)}return a.series.length===1&&f.length===1&&!a.colorMatch&&(q(a.series[0])&&q(f[0])?f[0].fillSymbol=a.series[0].fillSymbol:(T(a.series[0])&&T(f[0])||h(a.series[0])&&h(f[0]))&&(f[0].lineSymbol=a.series[0].lineSymbol,f[0].markerSymbol=a.series[0].markerSymbol),c=!0),a.colorMatch=!c,f}async function xi(i){let{splitByField:e,xAxisField:t,numericFields:s,aggregationType:a,config:o,layerInfo:n,commonStrings:r}=i,{layer:l,layerFieldsInfo:f}=n,{fetchNullValues:c}=o?.series?.[0]?.query??{},x=t!==V?t:void 0,{categoriesArray:m,splitByFieldType:p,numericalField:g}=await gi({config:o,layer:l,layerFieldsInfo:f,xAxisField:x,aggregationFields:s,splitByField:e,fetchNullValues:c}),d=[],F=!1;if(m.length===0){d=Ze({xAxisField:t,numericFields:s,aggregationType:a,config:o,layerInfo:n,commonStrings:r});for(let u of d)u.query&&(u.query.where=`${e}=''`)}else for(let u=0;u<m.length;u+=1){let y=m[u],k=ce({config:o,xAxisField:t,numericFields:s,aggregationType:a,layer:n.layer,seriesIndex:u,splitByField:e}).name,ee=U({config:o,xAxisField:t,aggregationType:a,layerInfo:n,seriesIndex:u,commonStrings:r}),We={fieldName:e,fieldValueToMatch:y??"",subtypeInfo:G(n.layer),fieldList:n.layerFieldsInfo},Ye=J(We),ie=`${y}`,B={...ee,id:ie,name:Ye??ie,y:k,query:{...ee.query,where:`${e}=${p===se.String&&y!==null?`'${y}'`:y}`,outStatistics:a!==b.NoAggregation?[{...ee.query?.outStatistics?.[0]??{},onStatisticField:g,outStatisticFieldName:k,statisticType:a}]:void 0}};a===b.NoAggregation&&(B.query!==void 0&&(delete B.query.outStatistics,delete B.query.groupByFieldsForStatistics),B.y=g);let $=o.series.find(Ge=>String(Re(Ge)).trim().replace(/'/gu,"")===ie);$!==void 0&&(o.colorMatch||(q(B)&&q($)?B.fillSymbol=$.fillSymbol:(T(B)&&T($)||h(B)&&h($))&&(B.lineSymbol=$.lineSymbol,B.markerSymbol=$.markerSymbol),F=!0),B.id=$.id,B.name=$.name),d.push(B)}return o.colorMatch=!F,d}var Pt=async i=>{let{xAxisField:e,splitByField:t,numericFields:s,aggregationType:a,config:o,layerInfo:n,commonStrings:r}=i,{layerFieldsInfo:l}=n??{},f=yi(o),c=X(o),x=pi(o,n,r),m=Fi(o,n,r),p=bi(o,n),g=ze(o),d=o.series.some(y=>q(y)),F=we(o.series),u=$e(o.series);if(l!==void 0){let y=Oe(l);!y.includes(c)&&y.includes(e)?g=Se():y.includes(c)&&!y.includes(e)&&(d?g=Z():g=ve()),l.find(k=>k.name===e)?.type===se.String&&(g=Z()),g!==void 0&&Je(o,r,g)}if(f===0&&(o.series=[U({config:o,xAxisField:e,aggregationType:a,layerInfo:n,commonStrings:r})]),o.series.forEach(y=>{y.x=e,y.query!==void 0&&(y.query.groupByFieldsForStatistics=[e])}),t===""||s.length>1?ge(e,s)?o.series=mi({config:o,layerInfo:n,xAxisField:e,numericFields:s,aggregationType:a,commonStrings:r}):o.series=Ze({config:o,layerInfo:n,xAxisField:e,numericFields:s,aggregationType:a,commonStrings:r}):(await Promise.resolve(),o.series=await xi({config:o,layerInfo:n,splitByField:t,xAxisField:e,numericFields:s,aggregationType:a,commonStrings:r})),p){let y=w(l,e);De(o,0,y)}if(m){let y=Ee({config:o,layerInfo:n,commonStrings:r,numericFields:s,aggregationType:a});De(o,1,y)}if(o.title&&x&&(o.title.content.text=Xe(o,n,r)),I({config:o,value:null,axisIndex:1,isMax:!1}),I({config:o,value:null,axisIndex:1,isMax:!0}),ui({numericFields:s,aggregationType:a,config:o,layerInfo:n}),F||u){I({config:o,value:null,axisIndex:0,isMax:!1}),I({config:o,value:null,axisIndex:0,isMax:!0}),Ue(0,o);let y=g?.type===v.DateAxisFormat?K.Null:K.Interpolate;ci(y,o)}},zt=i=>{let{config:e,seriesIndex:t,layerInfo:s,commonStrings:a}=i,o=e.series?.[t],n=H(e),r;if(z(e.series)===E.BarAndLineFromFields)r=a.axisLabels.values;else if(ye(n)){let l=o.query?.outStatistics?.[0]?.onStatisticField;l!==void 0&&l!==s.objectIdField&&(r=w(s.layerFieldsInfo,l))}else{let l=String(Re(o)).trim().replace(/'/gu,""),f={fieldName:H(e),fieldValueToMatch:l??"",subtypeInfo:G(s.layer),fieldList:s.layerFieldsInfo};r=J(f)??l}return r??o.id},Ut=(i,e)=>{e.orderOptions??={};let t=e.orderOptions?.data?.orderType;fi(e)===S.customSort&&t===C.Category&&(e.orderOptions.data={orderType:C.Category,orderBy:[...i]})},Xt=async(i,e)=>{let t=X(i),s=ze(i)?.type,a=de(i),o=z(i.series),n=[];return s===v.CategoryAxisFormat&&(o===E.BarAndLineFromFields||t===V?n=a.map(r=>w(e?.layerFieldsInfo,r)):t.trim()!==""&&t!==V&&e!==void 0&&(n=await di({layerInfo:e,config:i,category:t}))),n};function pi(i,e,t){let s=Xe(i,e,t),a=ei(i),o=Q(i);return s===a||o}function Fi(i,e,t){let s=Ee({config:i,layerInfo:e,commonStrings:t,numericFields:de(i),aggregationType:Ke(i)}),a=le(1,i),o=Q(i);return s===a||o}function bi(i,e){let t=w(e.layerFieldsInfo,X(i)),s=le(0,i),a=Q(i);return t===s||a}function Rt(i){return i.series[0]?.binTemporalData??!1}function Kt(i,e){e?.series.forEach(t=>{(t?.type===v.BarSeries||t?.type===v.LineSeries)&&(t.binTemporalData=i,i?t.temporalBinning={unit:R.Day,size:0,timeAggregationType:fe.Start,trimIncompleteTimeInterval:!0,nullPolicy:K.Null}:delete t.temporalBinning)})}var Zt=(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(W({where:e.query?.where}))).filter(e=>e!==void 0&&e.trim()!==""),Gt=i=>i.dataFilters,Jt=(i,e)=>{i!==void 0?e.dataFilters=i:delete e.dataFilters};return{a:re,b:De,c:Ee,d:Ei,e:I,f:_i,g:ze,h:Je,i:Ve,j:Pi,k:zi,l:Ui,m:Xi,n:Ri,o:Ki,p:Zi,q:ei,r:Wi,s:Yi,t:Gi,u:Ji,v:Qi,w:Hi,x:et,y:it,z:tt,A:ii,B:st,C:at,D:ot,E:nt,F:rt,G:lt,H:ct,I:gt,J:dt,K:yt,L:ut,M:le,N:ft,O:mt,P:xt,Q:pt,R:Ft,S:bt,T:St,U:vt,V:It,W:At,X:Tt,Y:ht,Z:Bt,_:Ct,$:qt,aa:X,ba:ce,ca:ai,da:oi,ea:ni,fa:ri,ga:li,ha:Ue,ia:ci,ja:Lt,ka:Nt,la:Ot,ma:Mt,na:gi,oa:wt,pa:$t,qa:jt,ra:di,sa:kt,ta:Dt,ua:yi,va:Vt,wa:Et,xa:_t,ya:Xe,za:Ke,Aa:H,Ba:de,Ca:fi,Da:Pt,Ea:zt,Fa:Ut,Ga:Xt,Ha:Rt,Ia:Kt,Ja:Zt,Ka:Wt,La:Yt,Ma:Gt,Na:Jt}},"intl","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a)
|
|
3
|
+
v5.0.0-next.20 */
|
|
4
|
+
import{i as T,j as h,k as q,l as we,m as $e,o as je}from"./KSHI4EAD.js";import a from"./ZAV5M6VU.js";import{d as te,e as D,f as _,i as ye,q as se,w as me}from"./4JJZWRU4.js";import{a as S,d as ke}from"./UOFK5FPD.js";import{a as v,b,f as ue,h as O,k as R,n as K,o as fe,v as C,w as P}from"./FL7OHU6D.js";export default $arcgis.t(([{substitute:j},,,,,,,,{$b:Ne,B:Fe,Bc:Q,Ha:E,I:L,K:N,L:be,M:Z,Ma:Be,N:Se,O:ve,Qa:w,Rb:Y,Ua:Ce,_:Ie,aa:Ae,ba:Te,da:he,eb:qe,ec:oe,j:xe,k:V,l:pe,lb:W,mb:Le,ob:z,oc:ne,pc:Oe,q:A,qb:M,qc:Me,rc:G,sc:J,ya:ae}])=>{async function re(i){let{queryObject:e,queryConfig:t,category:s,splitByField:a,chartLimits:o,abortKey:n}=i,r=a!==void 0,l=s!==Fe?[s]:[];r&&l.push(a);let f=Y(e),c={...t,groupByFieldsForStatistics:Array.from(new Set(l)),outStatistics:[{statisticType:b.Count,onStatisticField:f.objectIdField,outStatisticFieldName:`${b.Count}_OBJECTID`}],orderByFields:void 0,num:o?.maxBarThreePlusSeriesCountTotal},x=await Ne({queryObject:e,featureCount:1,queryConfig:c,abortKey:n});return Array.from(new Set(x.map(m=>m.attributes[r?a:s]))).sort((m,p)=>typeof m=="string"&&typeof p=="string"?m.localeCompare(p):Number(m)-Number(p))}function De(i,e,t){let s=i?.axes?.[e];s?.title!==void 0?s.title.content.text=t:s!==void 0&&(s.title=N({text:t,visible:!0,font:L(A.AxisTitle)}))}function Ee(i){let{config:e,layerInfo:t,commonStrings:s,numericFields:a,aggregationType:o}=i,n="";if(e)if(Be(e)===ue.Stacked100)n=s.utilsStrings.statistics.percent;else{let r=ae(o,s);if(a.length===1){let l=w(t.layerFieldsInfo,a[0]);o===b.NoAggregation?n=l:o===b.Count&&a[0]===t.objectIdField?n=s.utilsStrings.statistics.count:n=j(s.axisLabels.aggregationOfFieldName,{aggregation:r,fieldName:l})}else a.length>1&&(o===b.NoAggregation?n=s.axisLabels.values:n=j(s.axisLabels.aggregationOfValues,{aggregation:r}))}return n}var _e=(i,e,t)=>i.axes?.[e]??Ie(t,i.type)[e],Pe=i=>{let{config:e,axis:t,axisIndex:s}=i;e.axes!==void 0&&(e.axes[s]=t)},Ei=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},I=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)},_i=(i,e)=>{I({config:i,value:e,axisIndex:0,isMax:!1})},ze=i=>i.axes?.[0]?.valueFormat??Z(),Je=(i,e,t)=>{let s=_e(i,0,e);if(s!==void 0&&t!==void 0){let a={...s,valueFormat:t};Pe({config:i,axis:a,axisIndex:0})}},Ve=(i,e,t)=>{let s=i.axes?.[e];s!==void 0&&(s.integerOnlyValues=t)},Qe=i=>{let e=P(i.series);return e===v.BarSeries||e===v.ComboLineAndBarSeries||e===v.LineSeries},He=i=>{let{axisIndex:e,config:t,isMultiAxis:s}=i,a=!1;return e===0||e===1&&s?a=!0:e===2&&(a=Qe(t)),a},Pi=i=>{let{axisIndex:e,func:t,config:s}=i;return He({axisIndex:e,config:s,isMultiAxis:!0})?t(e):void 0},zi=(i,e)=>{let t,s=e.axes?.[i]?.valueFormat;return(i===0||i>=1&&je(s))&&(t=s),t},Ui=i=>{let{config:e,commonStrings:t,valueFormat:s,axisIndex:a=0}=i,o=_e(e,a,t);if(o!==void 0&&s!==void 0){let n={...o,valueFormat:s};Pe({config:e,axis:n,axisIndex:a})}},Xi=(i,e)=>i.axes?.[e]?.isLogarithmic??!1,Ri=i=>{let{config:e,isLogarithmic:t,axisIndex:s}=i,a=e.axes?.[s];a&&(a.isLogarithmic=t,I({config:e,value:null,axisIndex:s,isMax:!0}),I({config:e,value:null,axisIndex:s,isMax:!1}))},Ki=i=>{let{config:e,scrollbar:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].scrollbar=t)},Zi=i=>i.version,ei=i=>i.title?.content.text??"",Wi=(i,e)=>{e.title!==void 0?e.title.content.text=i:e.title===void 0&&i!==void 0&&(e.title=N({text:i,visible:!0,font:L(A.ChartTitle)}))},Yi=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=N({text:i,visible:!0,font:L(A.ChartSubtitle)}))},Ji=i=>i.footer?.content.text??"",Qi=(i,e)=>{e.footer!==void 0?e.footer.content.text=i:e.footer===void 0&&i!==void 0&&(e.footer=N({text:i,visible:!0,font:L(A.DescriptionText)}))},Hi=i=>i.title?i.title.visible??!0:!1,et=(i,e)=>{e.title!==void 0?e.title.visible=i:e.title===void 0&&(e.title=N({text:"",visible:i,font:L(A.ChartTitle)}))},it=i=>i.subtitle?i.subtitle.visible??!0:!1,tt=(i,e)=>{e.subtitle!==void 0?e.subtitle.visible=i:e.subtitle===void 0&&(e.subtitle=N({text:"",visible:i,font:L(A.ChartSubtitle)}))},ii=i=>i.footer?.visible??!1,st=(i,e)=>{e.footer!==void 0?e.footer.visible=i:e.footer===void 0&&i!==ii(e)&&(e.footer=N({text:"",visible:!0,font:L(A.DescriptionText)}))},at=i=>i.chartRenderer,ot=(i,e)=>{e.chartRenderer=i},nt=(i,e)=>i.axes?.[e]?.title?.content,rt=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=N({text:"",visible:!0,font:L(A.AxisTitle),type:A.AxisTitle})),s!==void 0&&(a.title.content=s),a.title.content.text=o}},lt=i=>{for(let e of i.axes??[])if(e?.labels!==void 0)return e.labels.content},ct=(i,e)=>{for(let t of e.axes??[])if(t!==void 0){let s=t.labels?.content.text;i===void 0?t.labels=N({text:"",visible:!0,font:L(A.AxisLabels),type:A.AxisLabels}):t.labels.content=_(i),t.labels.content.text=s}},gt=i=>{for(let e of i.axes??[])if(e?.lineSymbol!==void 0)return e.lineSymbol},dt=(i,e)=>{for(let t of e.axes??[])t!==void 0&&(t.lineSymbol=_(i)??be())},yt=i=>{for(let e of i.axes??[])if(e?.grid!==void 0)return e.grid},ut=(i,e,t)=>{let s=e.axes;t.forEach(a=>{s?.[a]!==void 0&&(s[a].grid=_(i))})},le=(i,e)=>e.axes?.[i]?.title?.content.text??"",ft=(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=N({text:i,visible:!0,font:L(A.AxisTitle)}))},mt=(i,e)=>e.axes?.[i]?.title?.visible??!1,xt=(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=N({text:le(e,t),visible:i,font:L(A.AxisTitle)}))},pt=(i,e)=>i.axes?.[e]?.displayZeroLine??!1,Ft=(i,e,t)=>{i.axes?.[t]!==void 0&&(i.axes[t].displayZeroLine=e)},bt=(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)},vt=(i,e)=>i.axes?.[e]?.buffer??!1,It=i=>{let{config:e,buffer:t,axisIndex:s}=i,a=e.axes?.[s];a!==void 0&&(a.buffer=t)},At=(i,e)=>i.axes?.[e]?.tickSpacing,Tt=i=>{let{config:e,tickSpacing:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].tickSpacing=t)},ht=(i,e)=>i.axes?.[e]?.integerOnlyValues??!1,Bt=i=>{let{config:e,integerOnlyValues:t,axisIndex:s}=i;e.axes?.[s]!==void 0&&(e.axes[s].integerOnlyValues=t)},ti=i=>{let e=S.xAxisAsc,t=i.orderOptions?.data?.orderType??C.Category,s=i.orderOptions?.data?.orderBy??O.Ascending;return t===C.Category&&Array.isArray(s)?e=S.customSort:t===C.Category?s===O.Ascending?e=S.xAxisAsc:e=S.xAxisDesc:s===O.Ascending?e=S.yAxisAsc:e=S.yAxisDesc,e},si=i=>{let e=P(i.series),t=!1;return(e===v.BarSeries||e===v.LineSeries)&&(t=ti(i)===S.customSort),t},Ct=i=>{let e=[],t=i.orderOptions?.data?.orderType;return si(i)&&t===C.Category&&(e=i.orderOptions?.data?.orderBy),e},qt=(i,e,t)=>{let s=C.Category,a=O.Ascending,o=P(e.series);e.orderOptions??={},i===S.customSort&&t!==void 0?(a=[...t],e.orderOptions.data={orderType:s,orderBy:a}):(o===v.BarSeries||o===v.LineSeries)&&(s=i===S.xAxisAsc||i===S.xAxisDesc?C.Category:C.YValue,a=i===S.xAxisAsc||i===S.yAxisAsc?O.Ascending:O.Descending,e.orderOptions.data={orderType:s,orderBy:a})},X=i=>i?.series?.[0]?.x??"",ce=i=>{let{config:e,xAxisField:t,numericFields:s,aggregationType:a,mode:o,layer:n,numericFieldIndex:r,seriesIndex:l,splitByField:f=""}=i,c=P(e.series),x=z(e.series),m=n?Y(n).objectIdField:"FID",p=s.length===1&&s[0]===m,g="y",d="y";switch(c){case v.PieSeries:{a!==b.NoAggregation?o===ke.Category?(g=`${a}_${s[0]}_0`.toUpperCase(),d=p?D(b.Count):D(`${a} of ${s[0]}`)):g=xe:g=s[0];break}case v.BarSeries:case v.LineSeries:case v.ComboLineAndBarSeries:case v.RadarSeries:{if(f===""||s.length>1)ge(t,s)||x===E.BarAndLineFromFields?g=pe:(g=`${a}_${s[r??0]}_${r??0}`.toUpperCase(),d=p?D(b.Count):D(`${a} of ${s[r??0]}`));else{let F=s[0];g=`${a}_${F}_${l??0}`.toUpperCase(),d=p?D(b.Count):D(`${a} of ${F}`)}break}}return{name:g,description:d}};function ge(i,e){return(i===V||i===void 0||i.trim()==="")&&(e?.length??0)>=0}var ai=i=>{let e,t=i.series[0];return M(t)&&(e=t.temporalBinning?.size),e},oi=i=>{let e,t=i.series[0];return M(t)&&(e=t.temporalBinning?.unit),e},ni=i=>{let e,t=i.series[0];return M(t)&&(e=t.temporalBinning?.timeAggregationType),e},ri=i=>{let e,t=i.series[0];return M(t)&&(e=t.temporalBinning?.trimIncompleteTimeInterval),e},li=i=>{let e,t=i.series[0];return M(t)&&(e=t.temporalBinning?.nullPolicy),e},Ue=(i,e)=>{e?.series?.forEach(t=>{M(t)&&(t.temporalBinning??={},t.temporalBinning.size=i)}),I({config:e,value:null,axisIndex:1,isMax:!1}),I({config:e,value:null,axisIndex:1,isMax:!0})},ci=(i,e)=>{e?.series?.forEach(t=>{M(t)&&(t.temporalBinning??={},t.temporalBinning.nullPolicy=i)}),I({config:e,value:null,axisIndex:1,isMax:!1}),I({config:e,value:null,axisIndex:1,isMax:!0})},Lt=(i,e)=>{e.series?.forEach(t=>{M(t)&&(t.temporalBinning??={},t.temporalBinning.unit=i)}),I({config:e,value:null,axisIndex:1,isMax:!1}),I({config:e,value:null,axisIndex:1,isMax:!0})},Nt=(i,e)=>{e.series?.forEach(t=>{M(t)&&(t.temporalBinning??={},t.temporalBinning.timeAggregationType=i)}),I({config:e,value:null,axisIndex:1,isMax:!1}),I({config:e,value:null,axisIndex:1,isMax:!0})},Ot=(i,e)=>{e.series?.forEach(t=>{M(t)&&(t.temporalBinning??={},t.temporalBinning.trimIncompleteTimeInterval=i)}),I({config:e,value:null,axisIndex:1,isMax:!1}),I({config:e,value:null,axisIndex:1,isMax:!0})},Mt=i=>{Ue(0,i)};async function gi(i){let{config:e,layer:t,xAxisField:s,splitByField:a,layerFieldsInfo:o,aggregationFields:n,fetchNullValues:r}=i,l=o.filter(F=>F.name===a)[0]?.type,f=r!==!0?`${a} IS NOT NULL`:"",c=s&&r!==!0?`${s} IS NOT NULL`:"",{where:x}=e?.dataFilters??{},m={where:oe([x,f,c]),orderByFields:Ce(a)?[]:[`${a} ${O.Ascending}`],geometry:e?.dataFilters?.geometry},p=t,g="";n.length===0?g=p?.objectIdField??"":[g]=n;let d=await re({queryObject:p,category:e?.series[0].x??"",splitByField:a,queryConfig:m});if(e){let F=e?.series.map(u=>W({where:u.query?.where})?.toString()??"").filter(u=>u!==void 0&&u!=="");d=qe({arrayA:d,arrayB:F,getKey:u=>u===null?null:u?.toString()})}return{categoriesArray:d,splitByFieldType:l,numericalField:g}}function wt(i,e){let t=e==="";for(let s of i)if(e===s.name){t=!0;break}return t}function $t(i,e){let t=Me(i),s=e.length===0,a=0;for(let o of e){for(let n of t)if(o===n&&(a+=1),a===e.length){s=!0;break}if(s)break}return s}function jt(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 di(i){let{layerInfo:e,config:t,category:s}=i,{layer:a}=e,{where:o}=t?.dataFilters??{},{fetchNullValues:n}=t?.series?.[0]?.query??{},r=n!==!0?`${s} IS NOT NULL`:"",l={where:oe([o,r]),orderByFields:[],geometry:t?.dataFilters?.geometry},f=G(a);return(await re({queryObject:a,category:s,queryConfig:l})).map(c=>{let x=String(c);return J({fieldName:s,fieldValueToMatch:x,subtypeInfo:f,fieldList:e.layerFieldsInfo})??x})}var kt=(i,e)=>e.series[i]?.id,Dt=(i,e)=>e.series.findIndex(t=>t.id===i),yi=i=>i.series.length??0,Vt=(i,e)=>e.series[i].visible??!0;function Et(i,e){let t;return i.length!==0&&e<i.length&&(t=i[e].dataTooltipValueFormat),t}function _t(i){let{series:e,seriesIndex:t,valueFormat:s}=i;e.length!==0&&t<e.length&&(e[t].dataTooltipValueFormat=s)}function U(i){let{seriesIndex:e,xAxisField:t,aggregationType:s,config:a,layerInfo:o,commonStrings:n}=i,{objectIdField:r}=o??{},l,f=a.series[e??0],c=!1,x=!1;if(f===void 0){let g=a.series;c=g.slice(0,e).every(d=>T(d)),x=g.slice(0,e).every(d=>h(d))}else c=T(f),x=h(f);c?l=Ae({commonStrings:n,seriesIndex:e,objectIDField:r}):x?l=Te({commonStrings:n,seriesIndex:e,objectIDField:r}):l=he({seriesIndex:e,objectIDField:r,commonStrings:n});let m=a.series[0]?.dataLabels,p={...l,x:t,y:"",dataLabels:{...l.dataLabels,type:l.dataLabels?.type??v.Text,content:{...l.dataLabels?.content,...m?.content,type:me.TS},visible:m?.visible??!1}};if(p.query={groupByFieldsForStatistics:[t]},s!==b.NoAggregation&&r!==void 0){let g=`${s}_${r}_0`.toUpperCase();p.y=g,p.query.outStatistics=[{statisticType:s,onStatisticField:r,outStatisticFieldName:g}]}if(T(p)||h(p)||q(p)&&a.series[0]?.binTemporalData){let g;if(a?.series?.[0]!==void 0&&(g=z(a.series)),g!==E.BarAndLineNoAggregation&&g!==E.BarAndLineSplitByNoAggregation){let d=oi(a);d===R.Quarter&&(d=R.Month),p.temporalBinning={size:ai(a),unit:d,timeAggregationType:ni(a),trimIncompleteTimeInterval:ri(a),nullPolicy:li(a)}}}return _(p)}function Xe(i,e,t){let{layerFieldsInfo:s,objectIdField:a}=e,o=X(i),n=de(i),r=Ke(i),l=H(i),f=n.length===0||n.includes(a),c=ae(r,t),x=f?"":n.map(y=>w(s??[],y)).join(", "),m=w(s??[],o),p=w(s??[],l),g=i.series.some(y=>q(y)),d=g?"category":"xAxisField",F=m,u="";if(ge(o,n))u=j(t.titleLabels.aggrTypeOfAggrFields,{aggregationType:c,aggregationFields:x});else if(r===b.NoAggregation){let y=f?a:x;if(l===""){let k=g?"aggrTypeCategory":"aggrTypeXAxisField";u=j(t.titleLabels[k],{aggregationType:y,[d]:F})}else{let k=g?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";u=j(t.titleLabels[k],{aggregationType:y,[d]:F,splitByField:p})}}else if(r===b.Count)if(l===""){let y=g?"aggrTypeCategory":"aggrTypeXAxisField";u=j(t.titleLabels[y],{aggregationType:c,[d]:F})}else{let y=g?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";u=j(t.titleLabels[y],{aggregationType:c,[d]:F,splitByField:p})}else if(l!==""){let y=g?"aggrTypeOfAggrFieldByCategoryBySplitByField":"aggrTypeOfAggrFieldByXAxisFieldBySplitByField";u=j(t.titleLabels[y],{aggregationType:c,aggregationField:x,[d]:F,splitByField:p})}else if(n.length>0){let y=g?"aggrTypeOfAggrFieldsByCategory":"aggrTypeOfAggrFieldsByXAxisField";u=j(t.titleLabels[y],{aggregationType:c,aggregationFields:x,[d]:F})}return u}var Re=i=>W({where:i.query?.where,normalize:!1,escape:!1})??"",Ke=i=>i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType??b.NoAggregation,H=te(i=>{let e=i?.series?.[0]?.query?.where?.split("=")[0].trim()??"";return Le(i?.series?.[0]?.query?.where)?"":e},i=>i?.series?.[0]?.query?.where),de=te(i=>{let e=[];if(H(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);function ui(i){let{numericFields:e,aggregationType:t,config:s,layerInfo:a}=i,o=!1;t===b.Count?o=!0:t===b.NoAggregation&&(o=e.every(l=>{let f=a.layerFieldsInfo.find(c=>c.name===l);return f!==void 0?ne(f):!1})),Ve(s,1,o);let n=s.series.some(l=>T(l)),r=s.series.some(l=>h(l));if(n||r){let l=X(s),f=a.layerFieldsInfo.find(x=>x.name===l),c=f!==void 0&&ne(f);Ve(s,0,c)}}var fi=i=>{let e=S.xAxisAsc,t=i.orderOptions?.data?.orderType??C.Category,s=i.orderOptions?.data?.orderBy??O.Ascending;return t===C.Category&&Array.isArray(s)?e=S.customSort:t===C.Category?s===O.Ascending?e=S.xAxisAsc:e=S.xAxisDesc:s===O.Ascending?e=S.yAxisAsc:e=S.yAxisDesc,e};function mi(i){let{xAxisField:e,numericFields:t,aggregationType:s,config:a,layerInfo:o,commonStrings:n}=i,r=!1,l=U({config:a,xAxisField:e,aggregationType:s,layerInfo:o,seriesIndex:0,commonStrings:n}),f=ce({config:a,xAxisField:e,numericFields:t,aggregationType:s,layer:o.layer}).name,c={...l,id:`series_${Date.now()}`,name:n.axisLabels.values,x:V,y:f},x=[];for(let p of t)x.push({onStatisticField:p,outStatisticFieldName:`${p}_0`.toUpperCase(),statisticType:s});c.query={outStatistics:x};let m=a.series[0];return m!==void 0&&(c.id=m.id,a.colorMatch||(q(m)&&q(c)?c.fillSymbol=m.fillSymbol:(T(c)&&T(m)||h(c)&&h(m))&&(c.lineSymbol=m.lineSymbol,c.markerSymbol=m.markerSymbol),r=!0),c.id=m.id,m.name!==l.name&&(c.name=m.name)),a.series.length===1&&!a.colorMatch&&(q(c)?c.fillSymbol=a.series[0].fillSymbol:(T(c)||h(c))&&(c.lineSymbol=a.series[0].lineSymbol,c.markerSymbol=a.series[0].markerSymbol),r=!0),a.colorMatch=!r,[c]}function Ze(i){let{xAxisField:e,numericFields:t,aggregationType:s,config:a,layerInfo:o,commonStrings:n}=i,{layerFieldsInfo:r,objectIdField:l}=o,f=[],c=!1;for(let x=0;x<t.length;x+=1){let m=U({config:a,xAxisField:e,aggregationType:s,layerInfo:o,seriesIndex:x,commonStrings:n}),p=ce({config:a,xAxisField:e,numericFields:t,aggregationType:s,layer:o.layer,numericFieldIndex:x}).name,g=t[x],d={...m,query:{...m.query}};g!==l&&(d={...d,id:g,name:w(r,g)});let F=g;d.query!==void 0&&(s!==b.NoAggregation?(F=p,d.query.outStatistics=[{...m.query?.outStatistics?.[0]??{},onStatisticField:g,outStatisticFieldName:p,statisticType:s}]):delete d.query.outStatistics),d.y=F;let u=a.series.find(y=>y.query?.outStatistics?.[0]?.onStatisticField===g&&y.query.where===void 0);if(u!==void 0&&typeof u.y=="string"&&u.y.trim()!==""){a.colorMatch||(q(d)&&q(u)?d.fillSymbol=u.fillSymbol:(T(d)&&T(u)||h(d)&&h(u))&&(d.lineSymbol=u.lineSymbol,d.markerSymbol=u.markerSymbol),c=!0);let y=U({config:a,xAxisField:e,aggregationType:s,layerInfo:o,seriesIndex:x,commonStrings:n});d.id=u.id,u.id!==y.id&&u.name!==y.name&&(d.id=u.id,d.name=u.name)}f.push(d)}return a.series.length===1&&f.length===1&&!a.colorMatch&&(q(a.series[0])&&q(f[0])?f[0].fillSymbol=a.series[0].fillSymbol:(T(a.series[0])&&T(f[0])||h(a.series[0])&&h(f[0]))&&(f[0].lineSymbol=a.series[0].lineSymbol,f[0].markerSymbol=a.series[0].markerSymbol),c=!0),a.colorMatch=!c,f}async function xi(i){let{splitByField:e,xAxisField:t,numericFields:s,aggregationType:a,config:o,layerInfo:n,commonStrings:r}=i,{layer:l,layerFieldsInfo:f}=n,{fetchNullValues:c}=o?.series?.[0]?.query??{},x=t!==V?t:void 0,{categoriesArray:m,splitByFieldType:p,numericalField:g}=await gi({config:o,layer:l,layerFieldsInfo:f,xAxisField:x,aggregationFields:s,splitByField:e,fetchNullValues:c}),d=[],F=!1;if(m.length===0){d=Ze({xAxisField:t,numericFields:s,aggregationType:a,config:o,layerInfo:n,commonStrings:r});for(let u of d)u.query&&(u.query.where=`${e}=''`)}else for(let u=0;u<m.length;u+=1){let y=m[u],k=ce({config:o,xAxisField:t,numericFields:s,aggregationType:a,layer:n.layer,seriesIndex:u,splitByField:e}).name,ee=U({config:o,xAxisField:t,aggregationType:a,layerInfo:n,seriesIndex:u,commonStrings:r}),We={fieldName:e,fieldValueToMatch:y??"",subtypeInfo:G(n.layer),fieldList:n.layerFieldsInfo},Ye=J(We),ie=`${y}`,B={...ee,id:ie,name:Ye??ie,y:k,query:{...ee.query,where:`${e}=${p===se.String&&y!==null?`'${y}'`:y}`,outStatistics:a!==b.NoAggregation?[{...ee.query?.outStatistics?.[0]??{},onStatisticField:g,outStatisticFieldName:k,statisticType:a}]:void 0}};a===b.NoAggregation&&(B.query!==void 0&&(delete B.query.outStatistics,delete B.query.groupByFieldsForStatistics),B.y=g);let $=o.series.find(Ge=>String(Re(Ge)).trim().replace(/'/gu,"")===ie);$!==void 0&&(o.colorMatch||(q(B)&&q($)?B.fillSymbol=$.fillSymbol:(T(B)&&T($)||h(B)&&h($))&&(B.lineSymbol=$.lineSymbol,B.markerSymbol=$.markerSymbol),F=!0),B.id=$.id,B.name=$.name),d.push(B)}return o.colorMatch=!F,d}var Pt=async i=>{let{xAxisField:e,splitByField:t,numericFields:s,aggregationType:a,config:o,layerInfo:n,commonStrings:r}=i,{layerFieldsInfo:l}=n??{},f=yi(o),c=X(o),x=pi(o,n,r),m=Fi(o,n,r),p=bi(o,n),g=ze(o),d=o.series.some(y=>q(y)),F=we(o.series),u=$e(o.series);if(l!==void 0){let y=Oe(l);!y.includes(c)&&y.includes(e)?g=Se():y.includes(c)&&!y.includes(e)&&(d?g=Z():g=ve()),l.find(k=>k.name===e)?.type===se.String&&(g=Z()),g!==void 0&&Je(o,r,g)}if(f===0&&(o.series=[U({config:o,xAxisField:e,aggregationType:a,layerInfo:n,commonStrings:r})]),o.series.forEach(y=>{y.x=e,y.query!==void 0&&(y.query.groupByFieldsForStatistics=[e])}),t===""||s.length>1?ge(e,s)?o.series=mi({config:o,layerInfo:n,xAxisField:e,numericFields:s,aggregationType:a,commonStrings:r}):o.series=Ze({config:o,layerInfo:n,xAxisField:e,numericFields:s,aggregationType:a,commonStrings:r}):(await Promise.resolve(),o.series=await xi({config:o,layerInfo:n,splitByField:t,xAxisField:e,numericFields:s,aggregationType:a,commonStrings:r})),p){let y=w(l,e);De(o,0,y)}if(m){let y=Ee({config:o,layerInfo:n,commonStrings:r,numericFields:s,aggregationType:a});De(o,1,y)}if(o.title&&x&&(o.title.content.text=Xe(o,n,r)),I({config:o,value:null,axisIndex:1,isMax:!1}),I({config:o,value:null,axisIndex:1,isMax:!0}),ui({numericFields:s,aggregationType:a,config:o,layerInfo:n}),F||u){I({config:o,value:null,axisIndex:0,isMax:!1}),I({config:o,value:null,axisIndex:0,isMax:!0}),Ue(0,o);let y=g?.type===v.DateAxisFormat?K.Null:K.Interpolate;ci(y,o)}},zt=i=>{let{config:e,seriesIndex:t,layerInfo:s,commonStrings:a}=i,o=e.series?.[t],n=H(e),r;if(z(e.series)===E.BarAndLineFromFields)r=a.axisLabels.values;else if(ye(n)){let l=o.query?.outStatistics?.[0]?.onStatisticField;l!==void 0&&l!==s.objectIdField&&(r=w(s.layerFieldsInfo,l))}else{let l=String(Re(o)).trim().replace(/'/gu,""),f={fieldName:H(e),fieldValueToMatch:l??"",subtypeInfo:G(s.layer),fieldList:s.layerFieldsInfo};r=J(f)??l}return r??o.id},Ut=(i,e)=>{e.orderOptions??={};let t=e.orderOptions?.data?.orderType;fi(e)===S.customSort&&t===C.Category&&(e.orderOptions.data={orderType:C.Category,orderBy:[...i]})},Xt=async(i,e)=>{let t=X(i),s=ze(i)?.type,a=de(i),o=z(i.series),n=[];return s===v.CategoryAxisFormat&&(o===E.BarAndLineFromFields||t===V?n=a.map(r=>w(e?.layerFieldsInfo,r)):t.trim()!==""&&t!==V&&e!==void 0&&(n=await di({layerInfo:e,config:i,category:t}))),n};function pi(i,e,t){let s=Xe(i,e,t),a=ei(i),o=Q(i);return s===a||o}function Fi(i,e,t){let s=Ee({config:i,layerInfo:e,commonStrings:t,numericFields:de(i),aggregationType:Ke(i)}),a=le(1,i),o=Q(i);return s===a||o}function bi(i,e){let t=w(e.layerFieldsInfo,X(i)),s=le(0,i),a=Q(i);return t===s||a}function Rt(i){return i.series[0]?.binTemporalData??!1}function Kt(i,e){e?.series.forEach(t=>{(t?.type===v.BarSeries||t?.type===v.LineSeries)&&(t.binTemporalData=i,i?t.temporalBinning={unit:R.Day,size:0,timeAggregationType:fe.Start,trimIncompleteTimeInterval:!0,nullPolicy:K.Null}:delete t.temporalBinning)})}var Zt=(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(W({where:e.query?.where}))).filter(e=>e!==void 0&&e.trim()!==""),Gt=i=>i.dataFilters,Jt=(i,e)=>{i!==void 0?e.dataFilters=i:delete e.dataFilters};return{a:re,b:De,c:Ee,d:Ei,e:I,f:_i,g:ze,h:Je,i:Ve,j:Pi,k:zi,l:Ui,m:Xi,n:Ri,o:Ki,p:Zi,q:ei,r:Wi,s:Yi,t:Gi,u:Ji,v:Qi,w:Hi,x:et,y:it,z:tt,A:ii,B:st,C:at,D:ot,E:nt,F:rt,G:lt,H:ct,I:gt,J:dt,K:yt,L:ut,M:le,N:ft,O:mt,P:xt,Q:pt,R:Ft,S:bt,T:St,U:vt,V:It,W:At,X:Tt,Y:ht,Z:Bt,_:Ct,$:qt,aa:X,ba:ce,ca:ai,da:oi,ea:ni,fa:ri,ga:li,ha:Ue,ia:ci,ja:Lt,ka:Nt,la:Ot,ma:Mt,na:gi,oa:wt,pa:$t,qa:jt,ra:di,sa:kt,ta:Dt,ua:yi,va:Vt,wa:Et,xa:_t,ya:Xe,za:Ke,Aa:H,Ba:de,Ca:fi,Da:Pt,Ea:zt,Fa:Ut,Ga:Xt,Ha:Rt,Ia:Kt,Ja:Zt,Ka:Wt,La:Yt,Ma:Gt,Na:Jt}},"intl","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.20 */
|
|
4
|
+
import"./7VN53RK6.js";var r={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"m.\u0113.",_era_bc:"p.m.\u0113.",A:"priek\u0161p.",P:"p\u0113cp.",AM:"priek\u0161p.",PM:"p\u0113cp.","A.M.":"priek\u0161pusdien\u0101","P.M.":"p\u0113cpusdien\u0101",January:"janv\u0101ris",February:"febru\u0101ris",March:"marts",April:"apr\u012Blis",May:"maijs",June:"j\u016Bnijs",July:"j\u016Blijs",August:"augusts",September:"septembris",October:"oktobris",November:"novembris",December:"decembris",Jan:"janv.",Feb:"febr.",Mar:"marts",Apr:"apr.","May(short)":"maijs",Jun:"j\u016Bn.",Jul:"j\u016Bl.",Aug:"aug.",Sep:"sept.",Oct:"okt.",Nov:"nov.",Dec:"dec.",Sunday:"sv\u0113tdiena",Monday:"pirmdiena",Tuesday:"otrdiena",Wednesday:"tre\u0161diena",Thursday:"ceturtdiena",Friday:"piektdiena",Saturday:"sestdiena",Sun:"sv\u0113td.",Mon:"pirmd.",Tue:"otrd.",Wed:"tre\u0161d.",Thu:"ceturtd.",Fri:"piektd.",Sat:"sestd.",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"T\u0101lummai\u0146a",Play:"Darbin\u0101t",Stop:"Aptur\u0113t",Legend:"Apz\u012Bm\u0113jumi","Press ENTER to toggle":"",Loading:"Iel\u0101d\u0113",Home:"S\u0101kums",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:"Druk\u0101t",Image:"Att\u0113ls",Data:"Dati",Print:"Druk\u0101t","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"No %1 l\u012Bdz %2","From %1":"No %1","To %1":"L\u012Bdz %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{d as t}from"./
|
|
3
|
+
v5.0.0-next.20 */
|
|
4
|
+
import{d as t}from"./6TTLV323.js";import{c as f,g as C}from"./KSHI4EAD.js";import a from"./ZAV5M6VU.js";import{j as r}from"./4JJZWRU4.js";import"./GIRNLIKH.js";import"./FL7OHU6D.js";import{F as d,g as n,h as s,l as h,y as c}from"./TWOW3KTS.js";import"./7VN53RK6.js";export default $arcgis.t(([,,,,,,,{ic:g,kc:m,nc:p}])=>{var u=n`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`,l=class extends c{constructor(){super(...arguments),this.onModelConfigChange=async e=>{let a=e?.detail.config??this.model.config;this.layer===void 0&&await this.updateFetchLayerFieldsInfo(a)},this.activeColorMatch=!1,this.popoverPlacement="leading",this.arcgisChartsConfigNoSeriesUpdate=h()}static{this.properties={layerFieldsInfo:16,activeColorMatch:16,model:0,timeZone:1,popoverPlacement:1,seriesColor:0,calculatedMinMaxBounds:0,page:1,layer:0,usePopupTemplateFieldsInfo:5}}static{this.styles=u}async load(){this.layer!==void 0&&await this.layerChange(this.layer,void 0),this.seriesColor!==void 0&&this.seriesColorChange(this.seriesColor),this.usePopupTemplateFieldsInfo!==void 0&&await this.usePopupTemplateFieldsInfoChange(this.usePopupTemplateFieldsInfo,void 0),this.modelChange(this.model),this.onModelConfigChange(),this.updateDataFilters()}async willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),e.has("layer")&&await this.layerChange(this.layer,e.get("layer")),e.has("usePopupTemplateFieldsInfo")&&this.usePopupTemplateFieldsInfo!==void 0&&await this.usePopupTemplateFieldsInfoChange(this.usePopupTemplateFieldsInfo,e.get("usePopupTemplateFieldsInfo")),e.has("seriesColor")&&this.seriesColor!==void 0&&this.seriesColorChange(this.seriesColor),this.layerFieldsInfo===void 0&&await this.updateFetchLayerFieldsInfo()}disconnectedCallback(){super.disconnectedCallback(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,a){a?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}async layerChange(e,a){e!==void 0&&!r(a,e)&&await this.updateFetchLayerFieldsInfo()}async usePopupTemplateFieldsInfoChange(e,a){e!==void 0&&e!==a&&await this.updateFetchLayerFieldsInfo()}seriesColorChange(e){this.activeColorMatch=e?.get(0)===void 0,this.model.colorMatch&&e?.forEach((a,i)=>{f(a)&&e?.get(0)!==void 0&&a?.color!==void 0&&!r(this.model.getSeriesColor(i),a?.color)&&this.model.setSeriesColor(a?.color,i)})}async updateDataFilters(){let e=this.model.getDataFilters(),a=e?.where,i=this.layer?.definitionExpression??void 0;r(a,i)||await this.model.setDataFilters({...e,where:i})}async updateFetchLayerFieldsInfo(e){let a=e??this.model.config,i=this.layer;if(!i){let o=C(a)?a.iLayer:void 0;o&&(i=await g(o))}i&&(this.layerFieldsInfo=await m(i,this.usePopupTemplateFieldsInfo))}render(){let e=this.layerFieldsInfo?.find(o=>o.name===this.model.xAxisField),a=e!==void 0&&p(e),i;switch(this.page){case t.Data:i=s`<arcgis-charts-config-bar-chart-data .model=${this.model} .layerFieldsInfo=${this.layerFieldsInfo}></arcgis-charts-config-bar-chart-data>`;break;case t.Series:i=s`<arcgis-charts-config-bar-chart-series .model=${this.model} .activeColorMatch=${this.activeColorMatch} .popoverPlacement=${this.popoverPlacement}></arcgis-charts-config-bar-chart-series>`;break;case t.Axes:i=s`<arcgis-charts-config-axes .model=${this.model} show-max-y-bound-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-axes>`;break;case t.Guides:i=s`<arcgis-charts-config-guides .model=${this.model} .timeZone=${this.timeZone} .enableXAxisGuide=${a} enable-y-axis-guide .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-guides>`;break;case t.Format:i=s`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;break;case t.General:i=s`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;break;default:i="";break}return i}};d("arcgis-charts-config-bar-chart",l);return l},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{k as s}from"./
|
|
3
|
+
v5.0.0-next.20 */
|
|
4
|
+
import{k as s}from"./KSHI4EAD.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,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.20 */
|
|
4
|
+
import"./7VN53RK6.js";var G=function(o,e){return(G=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,s){t.__proto__=s}||function(t,s){for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(t[r]=s[r])})(o,e)};function u(o,e){function t(){this.constructor=o}G(o,e),o.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}function H(o,e,t,s){return new(t||(t=Promise))(function(r,i){function n(p){try{c(s.next(p))}catch(l){i(l)}}function a(p){try{c(s.throw(p))}catch(l){i(l)}}function c(p){var l;p.done?r(p.value):(l=p.value,l instanceof t?l:new t(function(d){d(l)})).then(n,a)}c((s=s.apply(o,e||[])).next())})}function z(o,e){var t,s,r,i,n={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(c){return function(p){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;n;)try{if(t=1,s&&(r=2&l[0]?s.return:l[0]?s.throw||((r=s.return)&&r.call(s),0):s.next)&&!(r=r.call(s,l[1])).done)return r;switch(s=0,r&&(l=[2&l[0],r.value]),l[0]){case 0:case 1:r=l;break;case 4:return n.label++,{value:l[1],done:!1};case 5:n.label++,s=l[1],l=[0];continue;case 7:l=n.ops.pop(),n.trys.pop();continue;default:if(r=n.trys,!((r=r.length>0&&r[r.length-1])||l[0]!==6&&l[0]!==2)){n=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){n.label=l[1];break}if(l[0]===6&&n.label<r[1]){n.label=r[1],r=l;break}if(r&&n.label<r[2]){n.label=r[2],n.ops.push(l);break}r[2]&&n.ops.pop(),n.trys.pop();continue}l=e.call(o,n)}catch(d){l=[6,d],s=0}finally{t=r=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([c,p])}}}function E(){for(var o=0,e=0,t=arguments.length;e<t;e++)o+=arguments[e].length;var s=Array(o),r=0;for(e=0;e<t;e++)for(var i=arguments[e],n=0,a=i.length;n<a;n++,r++)s[r]=i[n];return s}var h=function(){function o(){}return o.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},o.setAttributes=function(e,t){for(var s=0,r=t;s<r.length;s++){var i=r[s],n=i[0],a=i[1];e.setAttribute(n,a)}},o.createRect=function(e,t,s){var r=document.createElementNS("http://www.w3.org/2000/svg","rect");return r.setAttribute("width",e.toString()),r.setAttribute("height",t.toString()),s&&o.setAttributes(r,s),r},o.createLine=function(e,t,s,r,i){var n=document.createElementNS("http://www.w3.org/2000/svg","line");return n.setAttribute("x1",e.toString()),n.setAttribute("y1",t.toString()),n.setAttribute("x2",s.toString()),n.setAttribute("y2",r.toString()),i&&o.setAttributes(n,i),n},o.createPolygon=function(e,t){var s=document.createElementNS("http://www.w3.org/2000/svg","polygon");return s.setAttribute("points",e),t&&o.setAttributes(s,t),s},o.createCircle=function(e,t){var s=document.createElementNS("http://www.w3.org/2000/svg","circle");return s.setAttribute("cx",(e/2).toString()),s.setAttribute("cy",(e/2).toString()),s.setAttribute("r",e.toString()),t&&o.setAttributes(s,t),s},o.createEllipse=function(e,t,s){var r=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return r.setAttribute("cx",(e/2).toString()),r.setAttribute("cy",(t/2).toString()),r.setAttribute("rx",(e/2).toString()),r.setAttribute("ry",(t/2).toString()),s&&o.setAttributes(r,s),r},o.createGroup=function(e){var t=document.createElementNS("http://www.w3.org/2000/svg","g");return e&&o.setAttributes(t,e),t},o.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},o.createMarker=function(e,t,s,r,i,n,a){var c=document.createElementNS("http://www.w3.org/2000/svg","marker");return o.setAttributes(c,[["id",e],["orient",t],["markerWidth",s.toString()],["markerHeight",r.toString()],["refX",i.toString()],["refY",n.toString()]]),c.appendChild(a),c},o.createText=function(e){var t=document.createElementNS("http://www.w3.org/2000/svg","text");return t.setAttribute("x","0"),t.setAttribute("y","0"),e&&o.setAttributes(t,e),t},o.createTSpan=function(e,t){var s=document.createElementNS("http://www.w3.org/2000/svg","tspan");return s.textContent=e,t&&o.setAttributes(s,t),s},o.createImage=function(e){var t=document.createElementNS("http://www.w3.org/2000/svg","image");return e&&o.setAttributes(t,e),t},o.createPoint=function(e,t){var s=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return s.x=e,s.y=t,s},o.createPath=function(e,t){var s=document.createElementNS("http://www.w3.org/2000/svg","path");return s.setAttribute("d",e),t&&o.setAttributes(s,t),s},o}(),R=function(){function o(){}return o.addKey=function(e){o.key=e},Object.defineProperty(o,"isLicensed",{get:function(){return!!o.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(o.key)},enumerable:!1,configurable:!0}),o}(),J=function(){function o(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return o.prototype.rasterize=function(e,t,s){var r=this;return new Promise(function(i){var n=s!==void 0?s:document.createElement("canvas");e===null&&(r.markersOnly=!0,r.naturalSize=!1);var a=document.createElementNS("http://www.w3.org/2000/svg","svg");a.setAttribute("xmlns","http://www.w3.org/2000/svg"),a.setAttribute("width",t.width.baseVal.valueAsString),a.setAttribute("height",t.height.baseVal.valueAsString),a.setAttribute("viewBox","0 0 "+t.viewBox.baseVal.width.toString()+" "+t.viewBox.baseVal.height.toString()),a.innerHTML=t.innerHTML,r.naturalSize===!0?(a.width.baseVal.value=e.naturalWidth,a.height.baseVal.value=e.naturalHeight):r.width!==void 0&&r.height!==void 0&&(a.width.baseVal.value=r.width,a.height.baseVal.value=r.height),n.width=a.width.baseVal.value,n.height=a.height.baseVal.value;var c=a.outerHTML,p=n.getContext("2d");r.markersOnly!==!0&&p.drawImage(e,0,0,n.width,n.height);var l=window.URL,d=new Image(n.width,n.height);d.setAttribute("crossOrigin","anonymous");var f=new Blob([c],{type:"image/svg+xml"}),C=l.createObjectURL(f);d.onload=function(){p.drawImage(d,0,0),l.revokeObjectURL(C);var K=n.toDataURL(r.imageType,r.imageQuality);i(K)},d.src=C})},o}(),O=function(){},Q=function(){function o(e){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+e+"_"}return Object.defineProperty(o.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"defaultSettings",{get:function(){return{canvasBackgroundColor:"#ffffff",toolbarBackgroundColor:"#111111",toolbarBackgroundHoverColor:"#333333",toolbarColor:"#eeeeee",toolbarHeight:40,toolboxColor:"#eeeeee",toolboxAccentColor:"#3080c3",undoButtonVisible:!0,redoButtonVisible:!1,zoomButtonVisible:!1,zoomOutButtonVisible:!1,clearButtonVisible:!1,resultButtonBlockVisible:!0,logoPosition:"left"}},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),o.prototype.addClass=function(e){return this.styleSheet===void 0&&this.addStyleSheet(),e.name=""+this.classNamePrefix+e.localName,this.classes.push(e),this.styleSheet.sheet.insertRule("."+e.name+" {"+e.style+"}",this.styleSheet.sheet.cssRules.length),e},o.prototype.addRule=function(e){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(e),this.styleSheet.sheet.insertRule(e.selector+" {"+e.style+"}",this.styleSheet.sheet.cssRules.length)},o.prototype.addStyleSheet=function(){var e;this.styleSheet=document.createElement("style"),((e=this.styleSheetRoot)!==null&&e!==void 0?e:document.head).appendChild(this.styleSheet),this.addRule(new m("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new m("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
|
|
5
5
|
from {
|
|
6
6
|
opacity: 0;
|
|
7
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{d as t}from"./
|
|
3
|
+
v5.0.0-next.20 */
|
|
4
|
+
import{d as t}from"./6TTLV323.js";import{g as f}from"./KSHI4EAD.js";import a from"./ZAV5M6VU.js";import{j as c}from"./4JJZWRU4.js";import"./GIRNLIKH.js";import"./FL7OHU6D.js";import{F as d,g as n,h as i,l,y as h}from"./TWOW3KTS.js";import"./7VN53RK6.js";export default $arcgis.t(([,,,,,,,{Mb:g,ic:p,kc:m}])=>{var u=n`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`,o=class extends h{constructor(){super(...arguments),this.onModelConfigChange=async a=>{let e=a?.detail.config??this.model.config;this.layer===void 0&&await this.updateFetchLayerFieldsInfo(e)},this.popoverPlacement="leading",this.arcgisChartsConfigWebChartChange=l()}static{this.properties={layerFieldsInfo:16,model:0,popoverPlacement:1,r2:9,calculatedDataMinMaxBounds:0,calculatedMinMaxBounds:0,page:1,layer:0,usePopupTemplateFieldsInfo:5}}static{this.styles=u}async load(){this.layer!==void 0&&await this.layerChange(this.layer,void 0),this.usePopupTemplateFieldsInfo!==void 0&&await this.usePopupTemplateFieldsInfoChange(this.usePopupTemplateFieldsInfo,void 0),this.modelChange(this.model),this.onModelConfigChange()}async willUpdate(a){a.has("model")&&this.modelChange(this.model,a.get("model")),a.has("r2")&&this.r2Change(this.r2),a.has("layer")&&await this.layerChange(this.layer,a.get("layer")),a.has("usePopupTemplateFieldsInfo")&&await this.usePopupTemplateFieldsInfoChange(this.usePopupTemplateFieldsInfo,a.get("usePopupTemplateFieldsInfo")),this.layerFieldsInfo===void 0&&await this.updateFetchLayerFieldsInfo()}modelChange(a,e){e?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),a?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}r2Change(a){Number.isFinite(a)||(this.r2=void 0)}async layerChange(a,e){a!==void 0&&!c(e,a)&&await this.updateFetchLayerFieldsInfo()}async usePopupTemplateFieldsInfoChange(a,e){a!==void 0&&a!==e&&await this.updateFetchLayerFieldsInfo()}async updateFetchLayerFieldsInfo(a){let e=a??this.model.config,s=this.layer;if(!s){let r=f(e)?e.iLayer:void 0;r&&(s=await p(r))}s&&(this.layerFieldsInfo=await m(s,this.usePopupTemplateFieldsInfo))}render(){let a;switch(this.page){case t.Data:a=i`<arcgis-charts-config-scatter-plot-data .model=${this.model} .r2=${this.r2} .layerFieldsInfo=${this.layerFieldsInfo} .isTableLayer=${g(this.layer)?.isTable}></arcgis-charts-config-scatter-plot-data>`;break;case t.Axes:a=i`<arcgis-charts-config-axes .model=${this.model} show-min-x-bound-option show-max-x-bound-option show-min-y-bound-option show-max-y-bound-option show-enable-x-log-option show-enable-y-log-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds} .calculatedDataMinMaxBounds=${this.calculatedDataMinMaxBounds}></arcgis-charts-config-axes>`;break;case t.Guides:a=i`<arcgis-charts-config-guides .model=${this.model} enable-x-axis-guide enable-y-axis-guide></arcgis-charts-config-guides>`;break;case t.Format:a=i`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;break;case t.General:a=i`<arcgis-charts-config-general .model=${this.model}></arcgis-charts-config-general>`;break;default:a="";break}return a}};d("arcgis-charts-config-scatter-plot",o);return o},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{a as S,c as M,d as K,f as j}from"./NCT5SU4A.js";import{a as q}from"./376P3XVO.js";import{a as k}from"./IHU3CFUA.js";import{a as H}from"./BQBJOMQY.js";import i from"./GQUSC22J.js";import{g as a,m as C}from"./OPYI3BD7.js";import{a as w}from"./SOKXW5S3.js";import g from"./4EZQZ744.js";import"./VROXIGK3.js";import f from"./HNEFJP7L.js";import e from"./OOCKTTFG.js";import{j as v,q as y}from"./SJGL4XU4.js";import"./7YFNAZM6.js";import{a as d}from"./2XFXARM4.js";import{a as p,b as h,k as F,n as b}from"./Y7NZNHZN.js";import{A as r,D as P,F as D,g as O,h as n,j as E,l as u,w as c,x as m,y as T}from"./CRX6WIN6.js";import"./VYGUMHNP.js";export default $arcgis.t(([,,,,,,,{Ha:B,Qa:$,Ra:z,Xa:U,k:I,lc:A,ob:x,ya:_,za:N},,V,{a:R}])=>{var l={label:"label",fieldList:"field-list",fab:"fab",disabledLabel:"disabled-label",timeBinningHeader:"time-binning-header",linkContainer:"link-container",list:"list",customSortButtons:"custom-sort-buttons",dimText:"dim-text",intervalContainer:"interval-container"},X=O`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin);margin-top:var(--arcgis-charts-top-section-margin)}.label,.disabled-label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.time-binning-header{display:flex;font-weight:700;margin-left:.5rem;margin-right:.5rem;justify-content:space-between}.text{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);width:calc(100% - 1.5rem);height:2rem;margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:1.5rem;justify-content:center}.link-container{display:flex;justify-content:flex-end}.list{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major)}.custom-sort-buttons{display:flex;justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.mb-2{margin-bottom:var(--arcgis-charts-config-margin-minor)}.interval-container{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor)}`,L=class extends T{constructor(){super(...arguments),this._messages=w(),this.commonStrings=w({name:"common",blocking:!0}),this.barChartPopover=null,this.sortOrderElement=c(),this.aggregationElement=c(),this.categoryElement=c(),this.numericFieldsElement=c(),this.splitByFieldElement=c(),this.enableTimeBinningSwitch=c(),this.intervalAlignmentElement=c(),this.intervalElement=c(),this.originalCustomSortLabels=[],this.isCustomSortDisabled=!1,this.onBarChartDataChange=async e=>{try{if(e.detail!==null&&e.detail?.value!==void 0){let{contentKind:i}=e.detail,t=[...e.detail.value];switch(M(S),i){case a.aggregation:this.model.aggregationType=t[0]!==h.NoAggregation?t[0]:h.NoAggregation;break;case a.category:{let s=t[0]?.trim()||"";if(this.model.xAxisField=s,this.model.getSortOrder()===d.customSort){let o=await this.updateCustomSortProps();this.model.orderByList=o,this.sortOrderResetCounter+=1}break}case a.numericFields:if(this.model.numericFields=t,(this.model.numericFields??[]).length>0&&this.model.aggregationType===h.Count&&this.model.numericFields[0]!==A(this.layerFieldsInfo)&&(this.model.aggregationType=h.Sum),this.model.getSortOrder()===d.customSort){let s=await this.updateCustomSortProps();this.model.orderByList=s,this.sortOrderResetCounter+=1}break;case a.splitByField:{let s=t[0]?.trim()||"";this.model.splitByField=s,this.model.colorMatch=!0;break}case a.sortOrder:{let s=t[0];if(s===d.customSort){let o=await this.updateCustomSortProps();this.model.setSortOrder(s,o)}else this.model.setSortOrder(s);this.sortOrderResetCounter+=1;break}case a.interval:this.model.temporalBinningSize=t[0]?.intervalSize,this.model.temporalBinningUnit=t[0]?.intervalUnits,this.arcgisChartsConfigCustomizedTimeInterval.emit();break;case a.intervalAlignment:this.model.timeAggregationType=t[0]??"";break;default:break}i!==a.interval&&i!==a.intervalAlignment&&j(S)}}catch(i){throw this.arcgisChartsConfigDataChangeError.emit({error:i,model:this.model}),i}this.removeBarChartDataPopover(),this.requestUpdate()},this.onModelConfigChange=()=>{this.requestUpdate()},this.popoverClose=e=>{this.barChartPopover===e?.target&&this.removeBarChartDataPopover()},this.selectedCustomSortItemId="",this.sortOrderResetCounter=0,this.layerFieldsInfo=[],this.arcgisChartsConfigBarChartDataNumericFieldValidate=u(),this.arcgisChartsConfigDataChangeError=u(),this.arcgisChartsConfigResetTimeInterval=u(),this.arcgisChartsConfigCustomizedTimeInterval=u()}static{this.properties={selectedCustomSortItemId:16,aggregationLabel:16,timeAggregationLabel:16,disableSplitBy:16,sortOrderResetCounter:16,messageOverrides:0,model:0,layerFieldsInfo:0,open:5}}static{this.styles=X}load(){this.modelChange(this.model),this.onModelConfigChange(),this.currentDataFilter=this.model.getDataFilters(),this.updateCustomSortProps()}async willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),this.aggregationLabel=_(this.model.aggregationType,this.commonStrings),v(this.model.getDataFilters(),this.currentDataFilter)||(this.model.getSortOrder()===d.customSort&&await this.updateCustomSortProps(),this.currentDataFilter=this.model.getDataFilters());let i=this.model.timeAggregationType;i!==void 0&&(this.timeAggregationLabel=N(i,this.commonStrings)),this.disableSplitBy=this.model.numericFields.length>1||this.model.xAxisField===""||this.model.xAxisField===I}disconnectedCallback(){super.disconnectedCallback(),this.removeBarChartDataPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,i){i?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}onCalciteListOrderChange(e){if(e.detail!==null&&e.detail!==void 0){let{newIndex:i,oldIndex:t}=e.detail;this.model.moveCustomSortValuesInOrderByList(t,i)}}onCustomSortItemSelected(e){let{id:i}=e.target;this.selectedCustomSortItemId=this.selectedCustomSortItemId===i?"":i}onCustomSortItemMoved(e){let{id:i}=e.target,t=this.model.orderByList.length,s=this.model.orderByList.indexOf(this.selectedCustomSortItemId);i===C.Up?t=s-1:i===C.Down&&(t=s+1),s>=0&&t>=0&&t<this.model.orderByList.length&&(this.model.moveCustomSortValuesInOrderByList(s,t),this.sortOrderResetCounter+=1)}async onEnableTimeBinningChange(e){let i=e.target.checked;this.model.binTemporalData=i,this.requestUpdate()}buildNumericFieldItem(e){return k(e,n`<calcite-list-item .label=${$(this.layerFieldsInfo,e)} .value=${e} closable @calciteListItemClose=${this.onRemoveNumericField}></calcite-list-item>`)}resetTimeIntervalOriginal(e){this.popoverClose(e),this.model.resetTimeInterval!==void 0&&(this.model.resetTimeInterval(),this.arcgisChartsConfigResetTimeInterval.emit())}buildCustomSortListItems(){return q(this.model.orderByList,e=>e,e=>{let i=z(this.layerFieldsInfo,e),t=this.model.nullCategory!==void 0&&e.trim()===V.nullCategory?.text?.trim();return n`<calcite-list-item id=${e??E} .label=${e} .closed=${t} .description=${i} .value=${e} .selected=${this.selectedCustomSortItemId===e} @calciteListItemSelect=${this.onCustomSortItemSelected}><calcite-icon slot=content-end></calcite-icon></calcite-list-item>`})}buildCustomSortList(){return k(this.sortOrderResetCounter,n`<calcite-list label class=${r(l.list)} drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildCustomSortListItems()}</calcite-list>`)}onAggregationSelect(e){this.contentKind=a.aggregation,this.setupPopover(e)}onSortOrderSelect(e){this.contentKind=a.sortOrder,this.setupPopover(e)}onCategorySelect(e){this.contentKind=a.category,this.setupPopover(e)}onSplitBySelect(e){this.splitByFieldElement.value&&!this.splitByFieldElement.value.disabled&&(this.contentKind=a.splitByField,this.setupPopover(e))}onAddNumericFields(e){this.contentKind=a.numericFields,this.setupPopover(e)}async onRemoveNumericField(e){let i=e.target.value;if(this.model.numericFields=this.model.numericFields.filter(t=>t!==i),this.model.getSortOrder()===d.customSort){let t=await this.updateCustomSortProps();this.model.orderByList=t,this.sortOrderResetCounter+=1}}onIntervalAlignmentSelect(e){this.intervalAlignmentElement.value&&!this.intervalAlignmentElement.value.disabled&&(this.contentKind=a.intervalAlignment,this.setupPopover(e))}onIntervalSelect(e){this.intervalElement.value&&!this.intervalElement.value.disabled&&(this.contentKind=a.interval,this.setupPopover(e))}getCorrectedSplitByValue(){return this.model.splitByField===""||(this.model.numericFields??[]).length>1?"":$(this.layerFieldsInfo,this.model.splitByField)}getCorrectedCategoryValue(){return this.model.xAxisField===I||this.model.xAxisField.trim()===""?"":$(this.layerFieldsInfo,this.model.xAxisField)}onShowDataLabelsChange(e){this.model.dataLabelsVisibility=e.target.checked}onTreatNullAsCategoryChange(e){this.model.fetchNULLValues=e.target.checked}async updateCustomSortProps(){let e=await this.model.getCustomSortValues();this.originalCustomSortLabels=[...e];let i=e.length>R.customSortLimit;return i&&(this.sortOrderElement.value&&(this.sortOrderElement.value.label=this._messages.xAxisAsc),this.model.setSortOrder(d.xAxisAsc)),this.isCustomSortDisabled=i,e}setupPopover(e){e.stopImmediatePropagation(),this.removeBarChartDataPopover();let i={size:this.model.temporalBinningSize??1,unit:this.model.temporalBinningUnit??F.Second},t,s,o,g=!1,f=!1;switch(this.contentKind){case a.aggregation:t=this.aggregationElement.value,s=this._messages.aggregationHeader,g=x(this.model.config.series??[])===B.BarAndLineFromFields,o=this.model.aggregationType;break;case a.category:t=this.categoryElement.value,s=this._messages.categoryHeader,o=this.model.xAxisField;break;case a.numericFields:t=this.numericFieldsElement.value,s=this._messages.numericFieldsHeader,o=this.model.numericFields;break;case a.splitByField:t=this.splitByFieldElement.value,s=this._messages.splitByFieldHeader,o=this.model.splitByField;break;case a.sortOrder:t=this.sortOrderElement.value,s=this._messages.sortOrderHeader,o=this.model.getSortOrder(),f=this.isCustomSortDisabled;break;case a.interval:t=this.intervalElement.value,s=this._messages.editInterval,o=i;break;case a.intervalAlignment:t=this.intervalAlignmentElement.value,s=this._messages.intervalAlignment,o=this.model.timeAggregationType??"";break}this.barChartPopover=P(n`<arcgis-charts-config-bar-chart-popover .headingTitle=${s} .referenceElement=${t} open .contentKind=${this.contentKind} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${o} .isCustomSortDisabled=${f} .isNoAggregationDisabled=${g} @arcgisChartsConfigBarChartDataPopoverChange=${this.onBarChartDataChange} @arcgisChartsConfigPopoverClose=${this.popoverClose}></arcgis-charts-config-bar-chart-popover>`),!document.body.contains(this.barChartPopover)&&this.barChartPopover!==null&&document.body.appendChild(this.barChartPopover)}removeBarChartDataPopover(){this.barChartPopover!==null&&(this.barChartPopover.open=!1,this.barChartPopover=H(this.barChartPopover))}resetToOriginalCustomSortLabels(){this.selectedCustomSortItemId="",this.model.orderByList=[...this.originalCustomSortLabels],this.sortOrderResetCounter+=1}onTrimIncompleteIntervalChange(e){this.model.trimIncompleteTimeInterval=e.target.checked}onNullPolicyChange(e){this.model.nullPolicy=e.target.selectedItem.value}shouldShowTimeBinning(){let e=this.layerFieldsInfo.find(s=>s.name===this.model.xAxisField),i=e?.type===y.Date||e?.type===y.DateOnly||e?.type===y.TimestampOffset,t=this.model.aggregationType!==h.NoAggregation;return i&&t}renderSorting(){return n`<arcgis-charts-config-field-select .disabled=${this.model.getAxisValueFormat(0)?.type===p.DateAxisFormat} .label=${this.model.getAxisValueFormat(0)?.type===p.DateAxisFormat?this._messages.xAxisAsc:this._messages[this.model.getSortOrder()]} @click=${this.onSortOrderSelect} ${m(this.sortOrderElement)}></arcgis-charts-config-field-select>`}renderAggregation(){return n`<arcgis-charts-config-field-select .label=${this.model.aggregationType===h.NoAggregation?this._messages.noAggregation:this.aggregationLabel} @click=${this.onAggregationSelect} ${m(this.aggregationElement)}></arcgis-charts-config-field-select>`}renderCategory(){let e=this.getCorrectedCategoryValue();return n`<arcgis-charts-config-field-select .label=${e} @click=${this.onCategorySelect} ${m(this.categoryElement)}></arcgis-charts-config-field-select>`}renderSplitBy(){let e=this.getCorrectedSplitByValue();return n`<arcgis-charts-config-field-select .label=${e} .disabled=${this.disableSplitBy} @click=${this.onSplitBySelect} ${m(this.splitByFieldElement)}></arcgis-charts-config-field-select>`}renderNumericFields(e){let i=A(this.layerFieldsInfo),t=[];for(let s of e)s!==i&&t.push(this.buildNumericFieldItem(s));return n`<calcite-list label class=${r(l.fieldList)} ${m(this.numericFieldsElement)}>${t}</calcite-list>`}renderCustomSortUI(){let e=this.model.getSortOrder(),i=this.model.getAxisValueFormat(0)?.type,t=this.model.orderByList.indexOf(this.selectedCustomSortItemId);return i===p.CategoryAxisFormat&&e===d.customSort&&!this.isCustomSortDisabled?n`<calcite-label class=${r(l.label)}><div class=${r(l.customSortButtons)}><div><calcite-button appearance=transparent .disabled=${t===0||t===-1||this.selectedCustomSortItemId.trim()===""} icon-start=arrow-bold-up id=${C.Up} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button><calcite-button appearance=transparent .disabled=${t===-1||t===this.model.orderByList.length-1||this.selectedCustomSortItemId.trim()===""} icon-start=arrow-bold-down id=${C.Down} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button></div><calcite-button @click=${this.resetToOriginalCustomSortLabels} .disabled=${v(this.model.orderByList,this.originalCustomSortLabels)} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${x(this.model.config.series??[])===B.BarAndLineFromFields?this._messages.values:this._messages.category}${this.buildCustomSortList()}</calcite-label>`:null}renderInterval(){let e=(this.model.temporalBinningSize??0)<=0,i=this.model.temporalBinningSize??"",t=U(this.model.temporalBinningUnit??F.Second,this._messages)??"",s=K(S),o={size:this.model.temporalBinningSize,unit:this.model.temporalBinningUnit},g=v(o,s);return[n`<calcite-list label selection-appearance=border class=${r(l.intervalContainer)}><calcite-list-item .value=${e?"":`${i} ${t}`} .label=${e?"":`${i} ${t}`} @click=${e?()=>{}:this.onIntervalSelect} ${m(this.intervalElement)}><calcite-icon slot=content-end icon=pencil></calcite-icon></calcite-list-item></calcite-list>`,n`<div class=${r(l.linkContainer)}><calcite-button .disabled=${g} appearance=transparent scale=s icon-end=reset @click=${this.resetTimeIntervalOriginal}>${this._messages.reset}</calcite-button></div>`]}renderIntervalAlignment(){return n`<arcgis-charts-config-field-select .label=${this.timeAggregationLabel} @click=${this.onIntervalAlignmentSelect} ${m(this.intervalAlignmentElement)}></arcgis-charts-config-field-select>`}renderEmptyBins(){return n`<calcite-radio-button-group name=empty-bins layout=vertical @calciteRadioButtonGroupChange=${this.onNullPolicyChange}><calcite-label layout=inline><calcite-radio-button .value=${b.Zero} .checked=${this.model.nullPolicy===b.Zero}></calcite-radio-button>${this._messages.treatAsZero}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${b.Null} .checked=${this.model.nullPolicy===b.Null}></calcite-radio-button>${this._messages.treatAsNull}</calcite-label></calcite-radio-button-group>`}render(){let e=this.renderAggregation(),i=this.renderCategory(),t=this.renderSplitBy(),s=this.renderSorting(),o=this.renderNumericFields([...this.model.numericFields??[]]),g=this.renderCustomSortUI(),f=this.renderInterval(),Z=this.renderIntervalAlignment(),W=this.renderEmptyBins();return n`<calcite-label class=${r(l.label)}>${this._messages.category}${i}</calcite-label><calcite-label class=${r(l.label)}>${this._messages.aggregation}${e}</calcite-label><calcite-label class=${r(l.label)}>${this._messages.numericFields}${o}</calcite-label><div class=${r(l.fab)}><calcite-fab appearance=outline-fill kind=neutral scale=m .label=${this._messages.selectNumericFields} text-enabled .text=${this._messages.selectNumericFields} icon=plus @click=${this.onAddNumericFields}></calcite-fab></div><calcite-label class=${r(l.label)}><span class=${r(this.disableSplitBy?l.dimText:"")}>${this._messages.splitBy}</span>${t}</calcite-label><div .hidden=${!this.shouldShowTimeBinning()}><h3 class=${r(l.timeBinningHeader)}>${this._messages.timeBinningOptions}</h3><calcite-label class=${r(l.label)} layout=inline-space-between>${this._messages.enableTemporalBinning}<calcite-switch .checked=${this.model.binTemporalData} @calciteSwitchChange=${this.onEnableTimeBinningChange} ${m(this.enableTimeBinningSwitch)}></calcite-switch></calcite-label><div .hidden=${!this.model.binTemporalData||!this.shouldShowTimeBinning()}><calcite-label class=${r(l.label)}>${this._messages.interval}${f}</calcite-label><calcite-label class=${r(l.label)}>${this._messages.intervalAlignment}${Z}</calcite-label><calcite-label class=${r(l.label)} layout=inline-space-between>${this._messages.trimIncompleteInterval}<calcite-switch .checked=${this.model.trimIncompleteTimeInterval} @calciteSwitchChange=${this.onTrimIncompleteIntervalChange}></calcite-switch></calcite-label><calcite-label class=${r(l.label)}>${this._messages.emptyBins}${W}</calcite-label></div></div><calcite-label class=${r(l.label)} layout=inline-space-between>${this._messages.treatNullAsCategory}<calcite-switch .checked=${this.model.fetchNULLValues} @calciteSwitchChange=${this.onTreatNullAsCategoryChange}></calcite-switch></calcite-label><calcite-label class=${r(l.label)} layout=inline-space-between>${this._messages.showDataLabels}<calcite-switch .checked=${this.model.dataLabelsVisibility} @calciteSwitchChange=${this.onShowDataLabelsChange}></calcite-switch></calcite-label><calcite-label class=${r(this.model.getAxisValueFormat(0)?.type===p.DateAxisFormat?l.disabledLabel:l.label)}>${this._messages.sortOrder}${s}</calcite-label>${g}`}};D("arcgis-charts-config-bar-chart-data",L);return L},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",e,f,g,i)
|
|
3
|
+
v5.0.0-next.20 */
|
|
4
|
+
import{a as S,c as M,d as K,f as j}from"./Z3QTWM7D.js";import{a as q}from"./OZSSWMKC.js";import{a as k}from"./XM2SEMYT.js";import{a as H}from"./CS23XTN5.js";import i from"./SJ4Q5TVO.js";import{g as a,m as C}from"./6TTLV323.js";import{a as w}from"./BZCO5IN4.js";import g from"./XQQUCUS6.js";import"./EZMCO45F.js";import f from"./FRMIXEGJ.js";import e from"./ZAV5M6VU.js";import{j as v,q as y}from"./4JJZWRU4.js";import"./GIRNLIKH.js";import{a as d}from"./UOFK5FPD.js";import{a as p,b as h,k as F,n as b}from"./FL7OHU6D.js";import{A as r,D as P,F as D,g as O,h as n,j as E,l as u,w as c,x as m,y as T}from"./TWOW3KTS.js";import"./7VN53RK6.js";export default $arcgis.t(([,,,,,,,{Ha:B,Qa:$,Ra:z,Xa:U,k:I,lc:A,ob:x,ya:_,za:N},,V,{a:R}])=>{var l={label:"label",fieldList:"field-list",fab:"fab",disabledLabel:"disabled-label",timeBinningHeader:"time-binning-header",linkContainer:"link-container",list:"list",customSortButtons:"custom-sort-buttons",dimText:"dim-text",intervalContainer:"interval-container"},X=O`.hide{display:none}.am5-modal{width:100%;height:100%;position:absolute;z-index:100000;top:0;left:0}.am5-html-container{z-index:101!important}.am5-modal-curtain{top:0;left:0;width:100%;height:100%;position:absolute;background:#fff!important;z-index:100}.am5-modal-wrapper{top:0;left:0;width:100%;height:100%;position:absolute;display:flex;align-items:center;justify-content:center;white-space:nowrap;background:#ffffff80;z-index:101}.am5-modal-content{display:inline-block;padding:1.2em;vertical-align:middle;text-align:start;white-space:normal;background:#fff;border-radius:4px;box-shadow:#00000073 0 0 36px;color:#000}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.arcgis-charts-modal{box-shadow:none!important}.arcgis-charts-modal-header{background-color:#0000000d;font-weight:700;padding:4px;align-content:center}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin);margin-top:var(--arcgis-charts-top-section-margin)}.label,.disabled-label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.time-binning-header{display:flex;font-weight:700;margin-left:.5rem;margin-right:.5rem;justify-content:space-between}.text{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);width:calc(100% - 1.5rem);height:2rem;margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:1.5rem;justify-content:center}.link-container{display:flex;justify-content:flex-end}.list{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major)}.custom-sort-buttons{display:flex;justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.mb-2{margin-bottom:var(--arcgis-charts-config-margin-minor)}.interval-container{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor)}`,L=class extends T{constructor(){super(...arguments),this._messages=w(),this.commonStrings=w({name:"common",blocking:!0}),this.barChartPopover=null,this.sortOrderElement=c(),this.aggregationElement=c(),this.categoryElement=c(),this.numericFieldsElement=c(),this.splitByFieldElement=c(),this.enableTimeBinningSwitch=c(),this.intervalAlignmentElement=c(),this.intervalElement=c(),this.originalCustomSortLabels=[],this.isCustomSortDisabled=!1,this.onBarChartDataChange=async e=>{try{if(e.detail!==null&&e.detail?.value!==void 0){let{contentKind:i}=e.detail,t=[...e.detail.value];switch(M(S),i){case a.aggregation:this.model.aggregationType=t[0]!==h.NoAggregation?t[0]:h.NoAggregation;break;case a.category:{let s=t[0]?.trim()||"";if(this.model.xAxisField=s,this.model.getSortOrder()===d.customSort){let o=await this.updateCustomSortProps();this.model.orderByList=o,this.sortOrderResetCounter+=1}break}case a.numericFields:if(this.model.numericFields=t,(this.model.numericFields??[]).length>0&&this.model.aggregationType===h.Count&&this.model.numericFields[0]!==A(this.layerFieldsInfo)&&(this.model.aggregationType=h.Sum),this.model.getSortOrder()===d.customSort){let s=await this.updateCustomSortProps();this.model.orderByList=s,this.sortOrderResetCounter+=1}break;case a.splitByField:{let s=t[0]?.trim()||"";this.model.splitByField=s,this.model.colorMatch=!0;break}case a.sortOrder:{let s=t[0];if(s===d.customSort){let o=await this.updateCustomSortProps();this.model.setSortOrder(s,o)}else this.model.setSortOrder(s);this.sortOrderResetCounter+=1;break}case a.interval:this.model.temporalBinningSize=t[0]?.intervalSize,this.model.temporalBinningUnit=t[0]?.intervalUnits,this.arcgisChartsConfigCustomizedTimeInterval.emit();break;case a.intervalAlignment:this.model.timeAggregationType=t[0]??"";break;default:break}i!==a.interval&&i!==a.intervalAlignment&&j(S)}}catch(i){throw this.arcgisChartsConfigDataChangeError.emit({error:i,model:this.model}),i}this.removeBarChartDataPopover(),this.requestUpdate()},this.onModelConfigChange=()=>{this.requestUpdate()},this.popoverClose=e=>{this.barChartPopover===e?.target&&this.removeBarChartDataPopover()},this.selectedCustomSortItemId="",this.sortOrderResetCounter=0,this.layerFieldsInfo=[],this.arcgisChartsConfigBarChartDataNumericFieldValidate=u(),this.arcgisChartsConfigDataChangeError=u(),this.arcgisChartsConfigResetTimeInterval=u(),this.arcgisChartsConfigCustomizedTimeInterval=u()}static{this.properties={selectedCustomSortItemId:16,aggregationLabel:16,timeAggregationLabel:16,disableSplitBy:16,sortOrderResetCounter:16,messageOverrides:0,model:0,layerFieldsInfo:0,open:5}}static{this.styles=X}load(){this.modelChange(this.model),this.onModelConfigChange(),this.currentDataFilter=this.model.getDataFilters(),this.updateCustomSortProps()}async willUpdate(e){e.has("model")&&this.modelChange(this.model,e.get("model")),this.aggregationLabel=_(this.model.aggregationType,this.commonStrings),v(this.model.getDataFilters(),this.currentDataFilter)||(this.model.getSortOrder()===d.customSort&&await this.updateCustomSortProps(),this.currentDataFilter=this.model.getDataFilters());let i=this.model.timeAggregationType;i!==void 0&&(this.timeAggregationLabel=N(i,this.commonStrings)),this.disableSplitBy=this.model.numericFields.length>1||this.model.xAxisField===""||this.model.xAxisField===I}disconnectedCallback(){super.disconnectedCallback(),this.removeBarChartDataPopover(),this.model.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}modelChange(e,i){i?.removeEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange),e?.addEventListener("arcgisChartsModelConfigChange",this.onModelConfigChange)}onCalciteListOrderChange(e){if(e.detail!==null&&e.detail!==void 0){let{newIndex:i,oldIndex:t}=e.detail;this.model.moveCustomSortValuesInOrderByList(t,i)}}onCustomSortItemSelected(e){let{id:i}=e.target;this.selectedCustomSortItemId=this.selectedCustomSortItemId===i?"":i}onCustomSortItemMoved(e){let{id:i}=e.target,t=this.model.orderByList.length,s=this.model.orderByList.indexOf(this.selectedCustomSortItemId);i===C.Up?t=s-1:i===C.Down&&(t=s+1),s>=0&&t>=0&&t<this.model.orderByList.length&&(this.model.moveCustomSortValuesInOrderByList(s,t),this.sortOrderResetCounter+=1)}async onEnableTimeBinningChange(e){let i=e.target.checked;this.model.binTemporalData=i,this.requestUpdate()}buildNumericFieldItem(e){return k(e,n`<calcite-list-item .label=${$(this.layerFieldsInfo,e)} .value=${e} closable @calciteListItemClose=${this.onRemoveNumericField}></calcite-list-item>`)}resetTimeIntervalOriginal(e){this.popoverClose(e),this.model.resetTimeInterval!==void 0&&(this.model.resetTimeInterval(),this.arcgisChartsConfigResetTimeInterval.emit())}buildCustomSortListItems(){return q(this.model.orderByList,e=>e,e=>{let i=z(this.layerFieldsInfo,e),t=this.model.nullCategory!==void 0&&e.trim()===V.nullCategory?.text?.trim();return n`<calcite-list-item id=${e??E} .label=${e} .closed=${t} .description=${i} .value=${e} .selected=${this.selectedCustomSortItemId===e} @calciteListItemSelect=${this.onCustomSortItemSelected}><calcite-icon slot=content-end></calcite-icon></calcite-list-item>`})}buildCustomSortList(){return k(this.sortOrderResetCounter,n`<calcite-list label class=${r(l.list)} drag-enabled selection-mode=single selection-appearance=border @calciteListOrderChange=${this.onCalciteListOrderChange}>${this.buildCustomSortListItems()}</calcite-list>`)}onAggregationSelect(e){this.contentKind=a.aggregation,this.setupPopover(e)}onSortOrderSelect(e){this.contentKind=a.sortOrder,this.setupPopover(e)}onCategorySelect(e){this.contentKind=a.category,this.setupPopover(e)}onSplitBySelect(e){this.splitByFieldElement.value&&!this.splitByFieldElement.value.disabled&&(this.contentKind=a.splitByField,this.setupPopover(e))}onAddNumericFields(e){this.contentKind=a.numericFields,this.setupPopover(e)}async onRemoveNumericField(e){let i=e.target.value;if(this.model.numericFields=this.model.numericFields.filter(t=>t!==i),this.model.getSortOrder()===d.customSort){let t=await this.updateCustomSortProps();this.model.orderByList=t,this.sortOrderResetCounter+=1}}onIntervalAlignmentSelect(e){this.intervalAlignmentElement.value&&!this.intervalAlignmentElement.value.disabled&&(this.contentKind=a.intervalAlignment,this.setupPopover(e))}onIntervalSelect(e){this.intervalElement.value&&!this.intervalElement.value.disabled&&(this.contentKind=a.interval,this.setupPopover(e))}getCorrectedSplitByValue(){return this.model.splitByField===""||(this.model.numericFields??[]).length>1?"":$(this.layerFieldsInfo,this.model.splitByField)}getCorrectedCategoryValue(){return this.model.xAxisField===I||this.model.xAxisField.trim()===""?"":$(this.layerFieldsInfo,this.model.xAxisField)}onShowDataLabelsChange(e){this.model.dataLabelsVisibility=e.target.checked}onTreatNullAsCategoryChange(e){this.model.fetchNULLValues=e.target.checked}async updateCustomSortProps(){let e=await this.model.getCustomSortValues();this.originalCustomSortLabels=[...e];let i=e.length>R.customSortLimit;return i&&(this.sortOrderElement.value&&(this.sortOrderElement.value.label=this._messages.xAxisAsc),this.model.setSortOrder(d.xAxisAsc)),this.isCustomSortDisabled=i,e}setupPopover(e){e.stopImmediatePropagation(),this.removeBarChartDataPopover();let i={size:this.model.temporalBinningSize??1,unit:this.model.temporalBinningUnit??F.Second},t,s,o,g=!1,f=!1;switch(this.contentKind){case a.aggregation:t=this.aggregationElement.value,s=this._messages.aggregationHeader,g=x(this.model.config.series??[])===B.BarAndLineFromFields,o=this.model.aggregationType;break;case a.category:t=this.categoryElement.value,s=this._messages.categoryHeader,o=this.model.xAxisField;break;case a.numericFields:t=this.numericFieldsElement.value,s=this._messages.numericFieldsHeader,o=this.model.numericFields;break;case a.splitByField:t=this.splitByFieldElement.value,s=this._messages.splitByFieldHeader,o=this.model.splitByField;break;case a.sortOrder:t=this.sortOrderElement.value,s=this._messages.sortOrderHeader,o=this.model.getSortOrder(),f=this.isCustomSortDisabled;break;case a.interval:t=this.intervalElement.value,s=this._messages.editInterval,o=i;break;case a.intervalAlignment:t=this.intervalAlignmentElement.value,s=this._messages.intervalAlignment,o=this.model.timeAggregationType??"";break}this.barChartPopover=P(n`<arcgis-charts-config-bar-chart-popover .headingTitle=${s} .referenceElement=${t} open .contentKind=${this.contentKind} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${o} .isCustomSortDisabled=${f} .isNoAggregationDisabled=${g} @arcgisChartsConfigBarChartDataPopoverChange=${this.onBarChartDataChange} @arcgisChartsConfigPopoverClose=${this.popoverClose}></arcgis-charts-config-bar-chart-popover>`),!document.body.contains(this.barChartPopover)&&this.barChartPopover!==null&&document.body.appendChild(this.barChartPopover)}removeBarChartDataPopover(){this.barChartPopover!==null&&(this.barChartPopover.open=!1,this.barChartPopover=H(this.barChartPopover))}resetToOriginalCustomSortLabels(){this.selectedCustomSortItemId="",this.model.orderByList=[...this.originalCustomSortLabels],this.sortOrderResetCounter+=1}onTrimIncompleteIntervalChange(e){this.model.trimIncompleteTimeInterval=e.target.checked}onNullPolicyChange(e){this.model.nullPolicy=e.target.selectedItem.value}shouldShowTimeBinning(){let e=this.layerFieldsInfo.find(s=>s.name===this.model.xAxisField),i=e?.type===y.Date||e?.type===y.DateOnly||e?.type===y.TimestampOffset,t=this.model.aggregationType!==h.NoAggregation;return i&&t}renderSorting(){return n`<arcgis-charts-config-field-select .disabled=${this.model.getAxisValueFormat(0)?.type===p.DateAxisFormat} .label=${this.model.getAxisValueFormat(0)?.type===p.DateAxisFormat?this._messages.xAxisAsc:this._messages[this.model.getSortOrder()]} @click=${this.onSortOrderSelect} ${m(this.sortOrderElement)}></arcgis-charts-config-field-select>`}renderAggregation(){return n`<arcgis-charts-config-field-select .label=${this.model.aggregationType===h.NoAggregation?this._messages.noAggregation:this.aggregationLabel} @click=${this.onAggregationSelect} ${m(this.aggregationElement)}></arcgis-charts-config-field-select>`}renderCategory(){let e=this.getCorrectedCategoryValue();return n`<arcgis-charts-config-field-select .label=${e} @click=${this.onCategorySelect} ${m(this.categoryElement)}></arcgis-charts-config-field-select>`}renderSplitBy(){let e=this.getCorrectedSplitByValue();return n`<arcgis-charts-config-field-select .label=${e} .disabled=${this.disableSplitBy} @click=${this.onSplitBySelect} ${m(this.splitByFieldElement)}></arcgis-charts-config-field-select>`}renderNumericFields(e){let i=A(this.layerFieldsInfo),t=[];for(let s of e)s!==i&&t.push(this.buildNumericFieldItem(s));return n`<calcite-list label class=${r(l.fieldList)} ${m(this.numericFieldsElement)}>${t}</calcite-list>`}renderCustomSortUI(){let e=this.model.getSortOrder(),i=this.model.getAxisValueFormat(0)?.type,t=this.model.orderByList.indexOf(this.selectedCustomSortItemId);return i===p.CategoryAxisFormat&&e===d.customSort&&!this.isCustomSortDisabled?n`<calcite-label class=${r(l.label)}><div class=${r(l.customSortButtons)}><div><calcite-button appearance=transparent .disabled=${t===0||t===-1||this.selectedCustomSortItemId.trim()===""} icon-start=arrow-bold-up id=${C.Up} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button><calcite-button appearance=transparent .disabled=${t===-1||t===this.model.orderByList.length-1||this.selectedCustomSortItemId.trim()===""} icon-start=arrow-bold-down id=${C.Down} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button></div><calcite-button @click=${this.resetToOriginalCustomSortLabels} .disabled=${v(this.model.orderByList,this.originalCustomSortLabels)} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${x(this.model.config.series??[])===B.BarAndLineFromFields?this._messages.values:this._messages.category}${this.buildCustomSortList()}</calcite-label>`:null}renderInterval(){let e=(this.model.temporalBinningSize??0)<=0,i=this.model.temporalBinningSize??"",t=U(this.model.temporalBinningUnit??F.Second,this._messages)??"",s=K(S),o={size:this.model.temporalBinningSize,unit:this.model.temporalBinningUnit},g=v(o,s);return[n`<calcite-list label selection-appearance=border class=${r(l.intervalContainer)}><calcite-list-item .value=${e?"":`${i} ${t}`} .label=${e?"":`${i} ${t}`} @click=${e?()=>{}:this.onIntervalSelect} ${m(this.intervalElement)}><calcite-icon slot=content-end icon=pencil></calcite-icon></calcite-list-item></calcite-list>`,n`<div class=${r(l.linkContainer)}><calcite-button .disabled=${g} appearance=transparent scale=s icon-end=reset @click=${this.resetTimeIntervalOriginal}>${this._messages.reset}</calcite-button></div>`]}renderIntervalAlignment(){return n`<arcgis-charts-config-field-select .label=${this.timeAggregationLabel} @click=${this.onIntervalAlignmentSelect} ${m(this.intervalAlignmentElement)}></arcgis-charts-config-field-select>`}renderEmptyBins(){return n`<calcite-radio-button-group name=empty-bins layout=vertical @calciteRadioButtonGroupChange=${this.onNullPolicyChange}><calcite-label layout=inline><calcite-radio-button .value=${b.Zero} .checked=${this.model.nullPolicy===b.Zero}></calcite-radio-button>${this._messages.treatAsZero}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${b.Null} .checked=${this.model.nullPolicy===b.Null}></calcite-radio-button>${this._messages.treatAsNull}</calcite-label></calcite-radio-button-group>`}render(){let e=this.renderAggregation(),i=this.renderCategory(),t=this.renderSplitBy(),s=this.renderSorting(),o=this.renderNumericFields([...this.model.numericFields??[]]),g=this.renderCustomSortUI(),f=this.renderInterval(),Z=this.renderIntervalAlignment(),W=this.renderEmptyBins();return n`<calcite-label class=${r(l.label)}>${this._messages.category}${i}</calcite-label><calcite-label class=${r(l.label)}>${this._messages.aggregation}${e}</calcite-label><calcite-label class=${r(l.label)}>${this._messages.numericFields}${o}</calcite-label><div class=${r(l.fab)}><calcite-fab appearance=outline-fill kind=neutral scale=m .label=${this._messages.selectNumericFields} text-enabled .text=${this._messages.selectNumericFields} icon=plus @click=${this.onAddNumericFields}></calcite-fab></div><calcite-label class=${r(l.label)}><span class=${r(this.disableSplitBy?l.dimText:"")}>${this._messages.splitBy}</span>${t}</calcite-label><div .hidden=${!this.shouldShowTimeBinning()}><h3 class=${r(l.timeBinningHeader)}>${this._messages.timeBinningOptions}</h3><calcite-label class=${r(l.label)} layout=inline-space-between>${this._messages.enableTemporalBinning}<calcite-switch .checked=${this.model.binTemporalData} @calciteSwitchChange=${this.onEnableTimeBinningChange} ${m(this.enableTimeBinningSwitch)}></calcite-switch></calcite-label><div .hidden=${!this.model.binTemporalData||!this.shouldShowTimeBinning()}><calcite-label class=${r(l.label)}>${this._messages.interval}${f}</calcite-label><calcite-label class=${r(l.label)}>${this._messages.intervalAlignment}${Z}</calcite-label><calcite-label class=${r(l.label)} layout=inline-space-between>${this._messages.trimIncompleteInterval}<calcite-switch .checked=${this.model.trimIncompleteTimeInterval} @calciteSwitchChange=${this.onTrimIncompleteIntervalChange}></calcite-switch></calcite-label><calcite-label class=${r(l.label)}>${this._messages.emptyBins}${W}</calcite-label></div></div><calcite-label class=${r(l.label)} layout=inline-space-between>${this._messages.treatNullAsCategory}<calcite-switch .checked=${this.model.fetchNULLValues} @calciteSwitchChange=${this.onTreatNullAsCategoryChange}></calcite-switch></calcite-label><calcite-label class=${r(l.label)} layout=inline-space-between>${this._messages.showDataLabels}<calcite-switch .checked=${this.model.dataLabelsVisibility} @calciteSwitchChange=${this.onShowDataLabelsChange}></calcite-switch></calcite-label><calcite-label class=${r(this.model.getAxisValueFormat(0)?.type===p.DateAxisFormat?l.disabledLabel:l.label)}>${this._messages.sortOrder}${s}</calcite-label>${g}`}};D("arcgis-charts-config-bar-chart-data",L);return L},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",e,f,g,i)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{j as r,p as s,q as i,t as o}from"./
|
|
3
|
+
v5.0.0-next.20 */
|
|
4
|
+
import{j as r,p as s,q as i,t as o}from"./TWOW3KTS.js";var u=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,m]){return e!==this.key&&(o(t),this.key=e),m}});export{u as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{a as p}from"./
|
|
3
|
+
v5.0.0-next.20 */
|
|
4
|
+
import{a as p}from"./EZMCO45F.js";import b from"./ZAV5M6VU.js";import{r as a,s,u as e,v as t,w as i}from"./4JJZWRU4.js";import{e as n,f as o,h as l,j as d}from"./FL7OHU6D.js";export default $arcgis.t(([,,,,,,,{A:c,Ca:h,w:g}])=>{var r=[150,150,150,255],R={aria:{defaultChartItemRole:"figure"},title:{marginBottom:8,wrap:!0},subtitle:{marginBottom:10,wrap:!0},rotated:!1,legendProperties:{legendLabels:{marginLeft:5,marginRight:5,truncate:!1,applyOnClones:!0,wrap:!0,maxWidth:200},valueLabels:{wrap:!0,maxWidth:200},legendTitle:{wrap:!0,maxWidth:220,marginLeft:10,marginRight:10,marginTop:10},legendMarkersSize:14,legendLabelReducedOpacity:.5,rectangleMarkerRadius:3,roundedMarkerRadius:12,legendPaddingRightWithScrollbarVisible:10,maxHeight:100,marginTop:2,marginBottom:2,marginLeft:0,marginRight:0,paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0,position:n.Right},footer:{wrap:!0,horizontalCenter:e.Center,verticalCenter:t.Middle,align:e.Center},axisLabel:{rotation:0,align:e.Center,horizontalCenter:e.Center,verticalCenter:t.Top,dy:5,paddingTop:5,paddingRight:5,paddingLeft:5,maxWidth:Number.NaN},axisTickLength:5,rotatedAxisLabel:{rotation:-45,horizontalCenter:e.Left,verticalCenter:t.Bottom,dy:6,paddingTop:5,paddingLeft:0,paddingRight:5},histogramAxisLabel:{rotation:0,horizontalCenter:e.Center,verticalCenter:t.Middle,dy:0,dx:0,paddingLeft:3,paddingRight:3},xAxisTitleLabel:{align:e.Center,valign:t.Middle,rotation:0,fontSize:10,wrap:!0},yAxisTitleLabel:{align:e.Center,valign:t.Middle,rotation:270,wrap:!0},titleLabel:{align:e.Center,wrap:!0},subtitleLabel:{align:e.Center,wrap:!0},horizontalSurfaceGuideLabels:{horizontalCenter:e.Right,align:e.Right,verticalCenter:t.Middle,wrap:!0},horizontalLineGuideLabels:{horizontalCenter:e.Right,align:e.Right,verticalCenter:t.Top,wrap:!0},verticalSurfaceGuideLabels:{horizontalCenter:e.Center,verticalCenter:t.Top,valign:t.Top},verticalLineGuideLabels:{horizontalCenter:e.Right,verticalCenter:t.Bottom,valign:t.Top,wrap:!0,rotation:90},guideAbove:!1,cursorCrosshair:{style:{type:i.SLS,style:a.Dash,color:[0,0,0,102],width:1},horizontalLineVisible:!1,verticalLineVisible:!1},gauge:{innerRadius:80,radius:80,startAngle:-180,endAngle:180,innerLabelToInnerChartRatio:.5,axisLabelToInnerChartRatio:.13,innerLabelAutoMinFontSize:14,innerLabelAutoMaxFontSize:100,axisLabelAutoMinFontSize:14,axisLabelAutoMaxFontSize:40,gaugeMinGridDistance:1,axisMinimum:0,axisMaximum:100,numberOfLabelIntervals:5,numberOfTicksBetweenTwoLabels:4,maximumNumberOfLabelIntervals:24,paddingTop:10,paddingBottom:10,paddingRight:5,paddingLeft:5},gaugeTicksLength:7,gaugeInnerLabel:{horizontalCenter:e.Center,verticalCenter:t.Middle},gaugeNeedle:{startWidth:10,endWidth:1,innerRadius:25,displayPin:!1},gaugeFirstLabelId:"arcgis_charts_gauge_first_label",gaugeLastLabelId:"arcgis_charts_gauge_last_label",headerContainer:{layout:"vertical",width:"100%",paddingBottom:5},footerContainer:{layout:"vertical",width:"100%",paddingTop:5,paddingBottom:15},paddingMinSize:0,marginMinSize:0,chartPaddingMinSize:7,chartPaddingRightWhenLegendNotOnRight:15,chartAndLegendContainer:{paddingTop:0},chartContainer:{paddingBottom:0,paddingTop:15},chartContainerPaddingTopWhenRotated:5,dataLabelInitialize:{strokeWidth:0,applyOnClones:!0},dataLabel:{align:e.Center,horizontalCenter:e.Center,valign:t.Bottom,verticalCenter:t.Top,dy:-3},dataLabelRotated:{align:e.Right,horizontalCenter:e.Right,valign:t.Middle,verticalCenter:t.Middle,dx:2},dataLabelStackedRotated:{align:e.Center,horizontalCenter:e.Center,valign:t.Middle,verticalCenter:t.Middle},dataLabelStackedNonRotated:{align:e.Center,horizontalCenter:e.Center,valign:t.Middle,verticalCenter:t.Middle},dataLabelNegative:{paddingTop:5,paddingRight:5},rotatedChartPadding:{paddingTop:2,paddingRight:2},scatterplotSeries:{strokeOpacity:0,r2:Number.NaN,trendLinePoints:[{},{}]},histogramSeries:{normalDistribNumberOfPoints:100},lineSeries:{strokeWidth:2,lineSmoothed:!1,lineSmoothedKind:d.Bezier,showArea:!1,areaOpacity:.25,markerVisible:!0,rotated:!1,stackedType:o.Side,stackNegativeValuesToBaseline:!0,marker:{markerSmallSize:4,markerBigSize:7,markerStrokeWidth:2,markerStyle:s.Circle}},buffer:!1,treatZeroValueAs:1e-4,elementLimitForSmoothRendering:1e3,defaultStatParameterValue:.5,pieChart:{dataLabels:{maxWidth:100,wrap:!1},dataLabelsOffset:10,dataLabelsInside:!1,chartRadius:80,chartOptimizedRadius:70,innerRadius:h,min:-90,max:270,displayCategoryOnLegend:!0,displayCategoryOnTooltip:!0,displayCategoryOnDataLabel:!0,displayNumericValueOnLegend:!1,displayNumericValueOnDataLabel:!0,displayNumericValueOnTooltip:!0,displayPercentageOnLegend:!1,displayPercentageOnDataLabel:!1,displayPercentageOnTooltip:!0,sliceGrouping:{sliceId:c.defaultGroupOfSlicesId,percentageThreshold:0,fillSymbol:{type:i.SFS,color:[210,210,210,255*g]}},defaultPadding:0,alignDataLabels:!1,ticksOpacity:1,minimumSize:20,technicalFieldSliceId:"arcgis_charts_slice_id",technicalFieldSlicePercent:"arcgis_charts_slice_percent",technicalFieldGroupedSlices:"arcgis_charts_grouped_slices"},pieSliceCustomLabelName:"customLabel",yAxisLabelMaxWidth:100,xAxisLabelMaxWidth:75,axisLabelPadding:1.5,categoryAxisLabelPadding:3,seriesSort:l.Ascending,technicalSortingFieldBySum:"arcgis_charts_category_sum",technicalSortingFieldByPercent:"arcgis_charts_category_first_series_percent",technicalFieldSplitByField:"arcgis_charts_split_by_field",color:[0,0,0,255],chartEllipsis:"...",backgroundColor:[255,255,255,255],lightTextColor:[255,255,255,255],darkTextColor:[0,0,0,255],grayColor:r,xAxisMinGridDistance:120,xCategoryAxisMinGridDistance:40,yAxisMinGridDistance:40,yCategoryAxisMinGridDistance:20,secondRotatedValueAxisMinGridDistance:80,staggerMinGridDistance:40,shortestMinGridDistance:20,maxNumberOfXAxisLabelsInWrapModeForDateAxis:15,maxNumberOfXAxisLabelsInWrapMode:20,lineWidth:1,loaderRotationSpeed:400,loaderIntervalTimeout:400,loaderBackground:[255,255,255,230],loaderSpinnerColor:[0,122,194,255],loaderLabelFontSize:20,selectionTheme:{selectedElementsTheme:{elementOutlineColor:[0,255,255,255],elementOutlineWidth:5}},columnTooltipPosition:"pointer",markerTooltipPosition:"fixed",patternLineProperties:{width:5,height:5,strokeWidth:1},patternRectProperties:{rectWidth:9,rectHeight:9,width:10,height:10,strokeWidth:.3,fillOpacity:0},originalCategoryValue:"arcgis_charts_original_category_value",originalDateValue:"arcgis_charts_original_date_value",typeOrDomainFieldName:"arcgis_charts_type_domain_field_name",typeOrDomainIdValue:"arcgis_charts_type_domain_id_value",dateBinningRange:"arcgis_charts_bin_range",originalServerBinningRange:"arcgis_charts_server_bin_range",dateBinModel:"arcgis_charts_bin_model",xAxisField:"arcgis_charts_axis_field",nullValue:"arcgis_charts_null",queryMaxFloatPrecision:10,dateFormatUTC:{timeZone:"UTC",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0},dayDefaultFormat:{day:"numeric",month:"short"},weekDefaultFormat:{day:"numeric",month:"short"},rendererOtherValue:"arcgisChartsrendererOtherValue",rendererSymbolField:"arcgis_charts_renderer_symbol",scatterplotAggregationFields:{dataContextXMinField:"arcgis_charts_xmin",dataContextXMaxField:"arcgis_charts_xmax",dataContextYMinField:"arcgis_charts_ymin",dataContextYMaxField:"arcgis_charts_ymax",dataContextCountDistinctX:"distinctX",dataContextCountDistinctY:"distinctY",queryNumberOfFeatures:"numberOfFeatures",queryNumberOfAggregatedFeatures:"numberOfAggregatedFeatures",xStep:"xStep",yStep:"yStep",rowCount:"rowCount",columnCount:"columnCount",realGridSize:"realGridSize"},dataTooltipVisible:!0,dataTooltipStyle:{outline:{type:i.SLS,color:[255,255,255,255],width:1}},dataTooltipStyleReversed:{color:[255,255,255,255],outline:{type:i.SLS,width:3}},tooltipWidth:300,axisLabelOveredOpacity:.5,generalFontSize:10,actionMode:p.MultiSelectionWithCtrlKey,debounceTime:100,chartDefaultPaddingRight:0,htmlEmptyContent:"<p></p>",boxPlot:{boxPlotCategory:"arcgis_charts_box_plot_category",boxPlotOutliersSuffix:"_arcgis_charts_outliers",boxPlotOutliersVisibility:!1,boxPlotStandardizeValuesVisibility:!1,boxPlotOutliersSize:4,boxPlotLineWidth:2,boxPlotOutlierId:"is_arcgis_charts_outlier",boxPlotMeanLineMarkerId:"is_arcgis_charts_mean_marker",boxPlotWhiskersColor:[153,153,153,178.5],boxPlotTooltipLabelWidth:250},binTemporalData:!0,lastTemporalBin:"is_arcgis_charts_last_bin",options:{hideEmptySeries:!0,replaceNoValueCategoryWithZero:!0,autoInverseDataLabelTextColor:!1},nullCategory:{text:"null",symbol:{type:i.SFS,color:r,outline:{type:i.SLS,style:a.Solid,color:r,width:1}}}};return R},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",b)
|