@arcgis/charts-components 5.0.0-next.67 → 5.0.0-next.68
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/{DKBJ3VMW.js → 22HB322F.js} +1 -1
- package/dist/cdn/{5SYYNRWF.js → 23AMMNN4.js} +2 -2
- package/dist/cdn/{PPJQQE5F.js → 2JVQ7R3B.js} +1 -1
- package/dist/cdn/{2MM634DB.js → 2PCG2RWB.js} +2 -2
- package/dist/cdn/2S4RVJUT.js +4 -0
- package/dist/cdn/2VCFDRAH.js +4 -0
- package/dist/cdn/{IRKBRCFZ.js → 2XDLX7XD.js} +2 -2
- package/dist/cdn/{X4QCEF5D.js → 2ZDLJTKK.js} +2 -2
- package/dist/cdn/3APA4ZYJ.js +4 -0
- package/dist/cdn/{UJ237PNN.js → 3MD3L7LB.js} +2 -2
- package/dist/cdn/3OFJG5QS.js +4 -0
- package/dist/cdn/{JXSX55IV.js → 3P3MSX3D.js} +2 -2
- package/dist/cdn/3QQZREQI.js +4 -0
- package/dist/cdn/{ORC2TMUB.js → 4IZWXWIX.js} +2 -2
- package/dist/cdn/4JAFXZPH.js +4 -0
- package/dist/cdn/4N4ISBVI.js +4 -0
- package/dist/cdn/{NYPKOV5W.js → 4RMSUKCA.js} +2 -2
- package/dist/cdn/{ITDSGWYS.js → 4RPLV7JT.js} +2 -2
- package/dist/cdn/{UVCPBK7X.js → 54FN2S2P.js} +2 -2
- package/dist/cdn/{6YATA5XH.js → 5766ZKD7.js} +2 -2
- package/dist/cdn/5E6XH3SN.js +4 -0
- package/dist/cdn/{U5ILKILK.js → 5FXL3RLM.js} +1 -1
- package/dist/cdn/5LI7DGKO.js +4 -0
- package/dist/cdn/{6U5GYB46.js → 5MMGV3S4.js} +2 -2
- package/dist/cdn/{HAXNICJD.js → 5MRSEG2N.js} +2 -2
- package/dist/cdn/6CSN5HRM.js +4 -0
- package/dist/cdn/{NSENNGOG.js → 72R2K3E5.js} +2 -2
- package/dist/cdn/{3GXNVQJD.js → 73DXALHT.js} +2 -2
- package/dist/cdn/7TOSFIDR.js +4 -0
- package/dist/cdn/ABSUNYL6.js +4 -0
- package/dist/cdn/AJN4YE57.js +4 -0
- package/dist/cdn/{D5UC25XD.js → AUX233ED.js} +2 -2
- package/dist/cdn/{YHLBU56L.js → AVDNYKTJ.js} +2 -2
- package/dist/cdn/{Q4FFF2QX.js → AVT7EVMW.js} +1 -1
- package/dist/cdn/{OZHKAQXC.js → AWJ7A6PN.js} +2 -2
- package/dist/cdn/AWJSLHJU.js +4 -0
- package/dist/cdn/B33R27EL.js +4 -0
- package/dist/cdn/{LXWPG5I4.js → BA5DPGGQ.js} +2 -2
- package/dist/cdn/{YNSARZWD.js → BCRSQCE6.js} +2 -2
- package/dist/cdn/BEBS23JD.js +4 -0
- package/dist/cdn/BELX3WLM.js +4 -0
- package/dist/cdn/BLYBCSKH.js +4 -0
- package/dist/cdn/{22K4FFG2.js → BMDQ6E6A.js} +2 -2
- package/dist/cdn/BNGIZ3WR.js +4 -0
- package/dist/cdn/C67J43WL.js +4 -0
- package/dist/cdn/{GPBXTTIT.js → CCGZKMDA.js} +2 -2
- package/dist/cdn/CJDMO6AP.js +4 -0
- package/dist/cdn/CNTR7PUD.js +4 -0
- package/dist/cdn/{YRMW7JGB.js → CPHCUCOF.js} +2 -2
- package/dist/cdn/{IT5IV6C4.js → CXSUV2B3.js} +2 -2
- package/dist/cdn/D6BK3B23.js +4 -0
- package/dist/cdn/{ITNXWCXM.js → DDEQUOXB.js} +2 -2
- package/dist/cdn/DOTE7RWW.js +4 -0
- package/dist/cdn/{RIPMCTS6.js → DQWMX2TA.js} +2 -2
- package/dist/cdn/DVHYMMZA.js +4 -0
- package/dist/cdn/{76O6Q46Y.js → EKRSAVCO.js} +2 -2
- package/dist/cdn/{QPWOOTCS.js → EZBRJCWR.js} +2 -2
- package/dist/cdn/{OYSBROSS.js → EZN7BRH3.js} +2 -2
- package/dist/cdn/F32M2B2N.js +4 -0
- package/dist/cdn/{PXPAIANY.js → F5HIUVZM.js} +2 -2
- package/dist/cdn/F6G72KND.js +4 -0
- package/dist/cdn/{PBQ3226J.js → F7UFNKNW.js} +2 -2
- package/dist/cdn/F7X66WQL.js +4 -0
- package/dist/cdn/{TUG4HC5H.js → FHWDPAVN.js} +1 -1
- package/dist/cdn/{TJQZ4PQS.js → G2LWPBA2.js} +2 -2
- package/dist/cdn/G5NEJ633.js +4 -0
- package/dist/cdn/{OFCSXEQP.js → G6VCLBVK.js} +2 -2
- package/dist/cdn/{VM25NXDP.js → GJSS2AQT.js} +2 -2
- package/dist/cdn/{PNAVU7H2.js → GNTSTFUC.js} +2 -2
- package/dist/cdn/H3NBXOWN.js +4 -0
- package/dist/cdn/{2U3KNUNA.js → H5EDSQSL.js} +2 -2
- package/dist/cdn/H6CVYBSE.js +4 -0
- package/dist/cdn/{DCDJSAWS.js → H7ZIU2YY.js} +2 -2
- package/dist/cdn/{4D5X2UDA.js → HBTVDAQC.js} +2 -2
- package/dist/cdn/HMV7NWZH.js +4 -0
- package/dist/cdn/{VXMX2XPU.js → HONE5M7R.js} +8 -8
- package/dist/cdn/HR3P3J66.js +4 -0
- package/dist/cdn/I2HA2ADP.js +4 -0
- package/dist/cdn/I2KGUJNJ.js +4 -0
- package/dist/cdn/IB5CNXLH.js +4 -0
- package/dist/cdn/{MAZWQNGN.js → IDCWU6EV.js} +2 -2
- package/dist/cdn/{OUAO6SMF.js → IEZYB45L.js} +2 -2
- package/dist/cdn/{GQ2JMHTS.js → IJY2NO63.js} +2 -2
- package/dist/cdn/{43O53QRJ.js → IPYNAOBB.js} +2 -2
- package/dist/cdn/{CGCVWF2R.js → J3HJLEHF.js} +2 -2
- package/dist/cdn/{MF3ZREZV.js → JGBCKVIY.js} +2 -2
- package/dist/cdn/JJDHLKNX.js +4 -0
- package/dist/cdn/JXQS2HME.js +4 -0
- package/dist/cdn/K6DE3AHR.js +4 -0
- package/dist/cdn/{N3P2X2V6.js → K6NRNUO2.js} +2 -2
- package/dist/cdn/{NHRTYFT5.js → KJFZ4WMV.js} +2 -2
- package/dist/cdn/{YPLHFFH4.js → KL3732ZW.js} +2 -2
- package/dist/cdn/{FVRZ3Y4B.js → L52AJHV6.js} +2 -2
- package/dist/cdn/LCVADBNJ.js +4 -0
- package/dist/cdn/LKSUFFF6.js +4 -0
- package/dist/cdn/LKXZOP6Z.js +4 -0
- package/dist/cdn/{YZCMFSVD.js → LLKEETAO.js} +2 -2
- package/dist/cdn/{4O3BKRGM.js → LUIE2JFR.js} +2 -2
- package/dist/cdn/{CAIVRBHU.js → M7CXERI3.js} +2 -2
- package/dist/cdn/MGZ5ONYW.js +4 -0
- package/dist/cdn/MTTHCFJN.js +4 -0
- package/dist/cdn/{3X36GHH7.js → MUXLBV4U.js} +2 -2
- package/dist/cdn/MZ4QMLZ3.js +4 -0
- package/dist/cdn/{4JJSUKYT.js → N6YYJ6DT.js} +2 -2
- package/dist/cdn/{47LYXG4H.js → NJVSKHOZ.js} +2 -2
- package/dist/cdn/{54EOWPOO.js → NOFMYRNS.js} +2 -2
- package/dist/cdn/{EPD7TQQJ.js → NOQ7NEPN.js} +2 -2
- package/dist/cdn/NT3BGY6A.js +4 -0
- package/dist/cdn/NTTM2QD7.js +4 -0
- package/dist/cdn/{6WLHCRA3.js → OHI6OUTV.js} +2 -2
- package/dist/cdn/{FY4S4MPB.js → OR7OP5FI.js} +2 -2
- package/dist/cdn/OV6MAJIP.js +4 -0
- package/dist/cdn/P3WR6ZMF.js +4 -0
- package/dist/cdn/PKQOFJ6V.js +4 -0
- package/dist/cdn/PMEU2COS.js +4 -0
- package/dist/cdn/{ZFQGMWUL.js → PNJ5Y6E7.js} +2 -2
- package/dist/cdn/Q2E6DZHY.js +4 -0
- package/dist/cdn/{7X7JJDSC.js → Q76PRAAO.js} +2 -2
- package/dist/cdn/{6GFFHQTN.js → QR3N6QWB.js} +2 -2
- package/dist/cdn/QXEUNZQD.js +4 -0
- package/dist/cdn/RE6NDSIH.js +4 -0
- package/dist/cdn/{BCZ2AFXN.js → RIA7TWVX.js} +2 -2
- package/dist/cdn/{A5VCUMLR.js → RJ6A4J3N.js} +2 -2
- package/dist/cdn/RJP4XKFF.js +4 -0
- package/dist/cdn/RK7UE63Z.js +4 -0
- package/dist/cdn/{OS7B3VGZ.js → RMB4TAGH.js} +2 -2
- package/dist/cdn/RME5RFDM.js +4 -0
- package/dist/cdn/{C5V2TI2X.js → RORI5T4A.js} +2 -2
- package/dist/cdn/RRBDGGP7.js +4 -0
- package/dist/cdn/{T3Z2F725.js → S3MGMXGC.js} +2 -2
- package/dist/cdn/S43T23VQ.js +4 -0
- package/dist/cdn/SLMYVOZM.js +4 -0
- package/dist/cdn/{LCSHXS5B.js → STLCSMZW.js} +2 -2
- package/dist/cdn/{NUNIYHSJ.js → SWOORQMF.js} +2 -2
- package/dist/cdn/{M7FNGTET.js → SZOJI2RR.js} +2 -2
- package/dist/cdn/T3H2GTG3.js +4 -0
- package/dist/cdn/T5NB3MQH.js +4 -0
- package/dist/cdn/{3VUWIDFK.js → T7WVM2KI.js} +2 -2
- package/dist/cdn/TE4M6QEW.js +4 -0
- package/dist/cdn/{TQV6BTRF.js → TJ5EL7M4.js} +2 -2
- package/dist/cdn/{WOX5C7EU.js → TP7OB3JM.js} +2 -2
- package/dist/cdn/TX33KBTS.js +4 -0
- package/dist/cdn/ULA5S7SJ.js +4 -0
- package/dist/cdn/US6ZASAC.js +4 -0
- package/dist/cdn/{6M4NWZMP.js → UZW3CMYX.js} +2 -2
- package/dist/cdn/V3TJH2BB.js +4 -0
- package/dist/cdn/{6L7YNW3K.js → V6XBQU6B.js} +2 -2
- package/dist/cdn/{AVA2PPXK.js → VDOHJ7Q3.js} +2 -2
- package/dist/cdn/{LMUM6LKV.js → VGUMXVY5.js} +2 -2
- package/dist/cdn/{56P5H67U.js → VHLMWH7X.js} +2 -2
- package/dist/cdn/{T6VDF5Y2.js → VHQZZ5EF.js} +2 -2
- package/dist/cdn/{WLAYRCM7.js → VK3DTSA4.js} +1 -1
- package/dist/cdn/{W5X5TYZ2.js → VTSGFLAX.js} +1 -1
- package/dist/cdn/VTTGQ2WH.js +4 -0
- package/dist/cdn/{OBDVUV5Q.js → VXI4WME3.js} +2 -2
- package/dist/cdn/{4PK5HZIR.js → W6SBG5QI.js} +2 -2
- package/dist/cdn/{ULYLVWX7.js → WDWEDWUK.js} +2 -2
- package/dist/cdn/{MZIOXIP7.js → WOVLNTKD.js} +2 -2
- package/dist/cdn/WQHPMIYE.js +4 -0
- package/dist/cdn/{VVDIUBGZ.js → WU4MD7HK.js} +2 -2
- package/dist/cdn/WXCVSHAX.js +4 -0
- package/dist/cdn/XBQBK5BJ.js +4 -0
- package/dist/cdn/XIVXQDUD.js +6 -0
- package/dist/cdn/XLK3FMNA.js +4 -0
- package/dist/cdn/{DLQU3PKW.js → XOM5ZWVN.js} +2 -2
- package/dist/cdn/{PNAEZL5A.js → YCF5QCDZ.js} +2 -2
- package/dist/cdn/YDHFGCY2.js +4 -0
- package/dist/cdn/{WT25R7WQ.js → YGRGHEO5.js} +2 -2
- package/dist/cdn/{6NACYZJK.js → YN6UHCST.js} +2 -2
- package/dist/cdn/{4G3L7VNZ.js → YZOVJMTP.js} +2 -2
- package/dist/cdn/{R6MAZI57.js → Z2VWH33S.js} +2 -2
- package/dist/cdn/{WHSMSFEW.js → Z62TN5BI.js} +2 -2
- package/dist/cdn/ZDQTU3BX.js +4 -0
- package/dist/cdn/ZENRRBTW.js +4 -0
- package/dist/cdn/ZGXOJKCH.js +42 -0
- package/dist/cdn/{UNLQ5ELO.js → ZHUFMKAT.js} +2 -2
- package/dist/cdn/ZO6C6P2W.js +4 -0
- package/dist/cdn/ZOHL3IYZ.js +4 -0
- package/dist/cdn/ZOQJ5L52.js +4 -0
- package/dist/cdn/ZYLPKKPQ.js +4 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/action-bar-utils.js +20 -19
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +5 -4
- package/dist/chunks/bar-chart-series.js +9 -8
- package/dist/chunks/baseline-stacking.js +24 -23
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +63 -61
- package/dist/chunks/box-plot-model.js +19 -18
- package/dist/chunks/chart-ui-utils.js +2 -2
- package/dist/chunks/chart-ui-utils2.js +40 -38
- package/dist/chunks/combo-bar-line-chart-model.js +14 -13
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +61 -60
- package/dist/chunks/data.js +42 -41
- package/dist/chunks/default.js +9 -8
- package/dist/chunks/gauge-model.js +22 -21
- package/dist/chunks/heat-chart-model.js +21 -20
- package/dist/chunks/histogram-data.js +40 -39
- package/dist/chunks/histogram-model.js +3 -2
- package/dist/chunks/index.js +1848 -2128
- package/dist/chunks/index2.js +41 -40
- package/dist/chunks/index3.js +39 -38
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/interfaces.js +2 -2
- package/dist/chunks/line-chart-model.js +3 -2
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +16 -15
- package/dist/chunks/model-with-multi-axes.js +48 -46
- package/dist/chunks/model-with-rotation.js +5 -4
- package/dist/chunks/pie-chart-data.js +34 -32
- package/dist/chunks/pie-chart-model.js +38 -36
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +3 -2
- package/dist/chunks/resource.js +10 -31
- package/dist/chunks/rest-js-object-literals.js +103 -0
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +29 -28
- package/dist/chunks/serial-chart-data.js +183 -181
- package/dist/chunks/serial-chart-model.js +12 -11
- package/dist/chunks/series-types.js +191 -0
- package/dist/chunks/series.js +8 -7
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +82 -103
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +124 -132
- package/dist/components/arcgis-chart/customElement.js +177 -175
- package/dist/components/arcgis-charts-action-bar/customElement.js +12 -11
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +21 -19
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +24 -22
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +6 -5
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +8 -7
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +5 -4
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +10 -8
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +7 -6
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +4 -2
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +3 -2
- 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 +13 -12
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +13 -11
- package/dist/components/arcgis-charts-config-format/customElement.js +26 -24
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +4 -2
- package/dist/components/arcgis-charts-config-general/customElement.js +15 -14
- package/dist/components/arcgis-charts-config-guide/customElement.js +18 -16
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +4 -2
- package/dist/components/arcgis-charts-config-guides/customElement.js +15 -34
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-histogram/customElement.js +7 -6
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +11 -9
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +6 -4
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -4
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +26 -24
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +13 -11
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -5
- package/dist/components/arcgis-charts-config-line-style/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -2
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +16 -14
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +10 -8
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +4 -2
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +4 -2
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +3 -2
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +3 -2
- 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 +417 -414
- package/dist/loader.js +1 -1
- package/dist/model.js +109 -35
- package/package.json +3 -3
- package/dist/cdn/2WSF2YDX.js +0 -4
- package/dist/cdn/3EWUQE7V.js +0 -4
- package/dist/cdn/3IEGDWPR.js +0 -4
- package/dist/cdn/4G3EO7JA.js +0 -4
- package/dist/cdn/4VGPRG5Z.js +0 -4
- package/dist/cdn/4XDKHRQO.js +0 -4
- package/dist/cdn/4ZZMAQ7A.js +0 -4
- package/dist/cdn/5EH6XYOL.js +0 -4
- package/dist/cdn/5VRS33TF.js +0 -4
- package/dist/cdn/6XPXMWQJ.js +0 -4
- package/dist/cdn/7A2OHTCY.js +0 -4
- package/dist/cdn/7JGZOPNU.js +0 -4
- package/dist/cdn/7XQWEVTO.js +0 -4
- package/dist/cdn/ADJDKESO.js +0 -4
- package/dist/cdn/AHK7PC3Q.js +0 -4
- package/dist/cdn/AM64NT2B.js +0 -4
- package/dist/cdn/BKFBFRMP.js +0 -4
- package/dist/cdn/BVEXOBFR.js +0 -4
- package/dist/cdn/C3WUZZ3G.js +0 -4
- package/dist/cdn/CE2BYF4I.js +0 -4
- package/dist/cdn/DBGYLICD.js +0 -4
- package/dist/cdn/DTKR7EQX.js +0 -4
- package/dist/cdn/DYID5DTX.js +0 -4
- package/dist/cdn/E37QO52T.js +0 -4
- package/dist/cdn/E47WI35G.js +0 -4
- package/dist/cdn/EJAAHEGE.js +0 -6
- package/dist/cdn/EKFUJTQ5.js +0 -4
- package/dist/cdn/EWUJF3TE.js +0 -4
- package/dist/cdn/FHMNFHTN.js +0 -4
- package/dist/cdn/FUCPZZQJ.js +0 -4
- package/dist/cdn/FUVIR74G.js +0 -4
- package/dist/cdn/FXTE3PM3.js +0 -4
- package/dist/cdn/GWL53IWJ.js +0 -4
- package/dist/cdn/HNJI36UK.js +0 -4
- package/dist/cdn/HUTSVJ5N.js +0 -4
- package/dist/cdn/HVGWJVAS.js +0 -4
- package/dist/cdn/IPDITVEY.js +0 -4
- package/dist/cdn/ISXLDJ6R.js +0 -4
- package/dist/cdn/ITSMAADE.js +0 -4
- package/dist/cdn/IVQ773LE.js +0 -4
- package/dist/cdn/KEH2LNAE.js +0 -4
- package/dist/cdn/KG4YY3EV.js +0 -4
- package/dist/cdn/KGXSWSY6.js +0 -4
- package/dist/cdn/KULJA67P.js +0 -4
- package/dist/cdn/LGFTE7OU.js +0 -4
- package/dist/cdn/LRIGOHQ4.js +0 -4
- package/dist/cdn/M3QKCJHG.js +0 -4
- package/dist/cdn/MCO6G3HA.js +0 -4
- package/dist/cdn/MHDAUG6A.js +0 -4
- package/dist/cdn/MOSW3A4S.js +0 -4
- package/dist/cdn/N5NENZIO.js +0 -4
- package/dist/cdn/NXJGFQUL.js +0 -4
- package/dist/cdn/PDV2E5ZK.js +0 -4
- package/dist/cdn/PJ2BDTLT.js +0 -4
- package/dist/cdn/PZSY2XE7.js +0 -42
- package/dist/cdn/QF5MTD5Q.js +0 -4
- package/dist/cdn/QJ2DSTEL.js +0 -4
- package/dist/cdn/QJ5JVBZZ.js +0 -4
- package/dist/cdn/QMX6WDNP.js +0 -4
- package/dist/cdn/RHK2PIU3.js +0 -4
- package/dist/cdn/S5DHURAZ.js +0 -4
- package/dist/cdn/S76JXA3D.js +0 -4
- package/dist/cdn/SP3C3BCU.js +0 -4
- package/dist/cdn/SXQSJ2IX.js +0 -4
- package/dist/cdn/TDPLMEWV.js +0 -4
- package/dist/cdn/TVS5Z5NI.js +0 -4
- package/dist/cdn/USUU63XK.js +0 -4
- package/dist/cdn/UVLIKCGV.js +0 -4
- package/dist/cdn/W3QGZH2U.js +0 -4
- package/dist/cdn/WWHS4OED.js +0 -4
- package/dist/cdn/XJYOLLHE.js +0 -4
- package/dist/cdn/XKXJ5UGL.js +0 -4
- package/dist/cdn/YEKB2P6S.js +0 -4
- package/dist/cdn/YGYLOGJV.js +0 -4
- package/dist/cdn/YUEJUXC7.js +0 -4
- package/dist/cdn/ZC3COOHL.js +0 -4
- package/dist/cdn/ZFFXUC5U.js +0 -4
- package/dist/cdn/ZJILTG6Z.js +0 -4
- package/dist/cdn/ZKWVSFVM.js +0 -4
- package/dist/chunks/setup-utils.js +0 -81
|
@@ -8,13 +8,14 @@ import um from "jszip";
|
|
|
8
8
|
import { html as Vo, css as fm } from "lit";
|
|
9
9
|
import { createRef as mm, ref as Gr } from "lit/directives/ref.js";
|
|
10
10
|
import { cloneDeep as Be, debounce as ct, isEqual as eo, isEmpty as ya } from "lodash-es";
|
|
11
|
-
import {
|
|
12
|
-
import { color as oo, percent as dt, LinePattern as
|
|
11
|
+
import { p as X, d8 as P, d as Qt, de as xi, dd as G, df as ia, at as Zt, cR as Ve, b4 as Go, am as bo, dg as A, dh as xt, ax as Zi, an as on, di as nn, dj as ld, dk as dd, dl as Jt, cV as he, m as gm, l as Ci, k as vi, ak as La, af as j, a6 as ge, dm as hm, av as Re, a0 as q, dn as fi, dp as Dt, cT as cd, cy as ut, aa as Ls, O as $e, dq as Ge, dr as ud, cL as oi, cN as Gt, ds as ei, dt as Fs, c$ as Ue, du as to, cP as fd, q as wa, dv as ni, dw as bt, aH as As, aJ as md, bE as pm, bF as bm, aS as gd, aT as ym, aI as hd, cK as Li, dx as Tt, dy as Xt, dz as Da, d9 as Ne, dA as io, cZ as pd, dB as Sm, dC as sn, dD as aa, dE as xm, dF as Xr, bh as Cm, c3 as bd, dG as yd, dH as Fi, a8 as Ai, cr as Ts, bB as Ft, cl as mi, dI as Sd, cm as Fa, dJ as xd, bx as li, dK as Cd, dL as vd, dM as Ld, dN as Xo, bK as ks, cF as Fd, dO as Ad, dP as Is, au as $s, dQ as yo, a4 as Ti, ad as rn, dR as Td, ac as vm, dS as ws, a3 as Ds, dT as Lm, dU as Yr, dV as Oa, dW as Gi, aE as ln, dX as So, a1 as Hn, dY as Ra, dZ as Fm, b0 as kd, d_ as Os, aP as Rs, a5 as ao, aR as Id, aQ as $d, d$ as Bs, e0 as wd, a as Sa, aq as Dd, bJ as Od, da as dn, e1 as Rd, e2 as Bd, ab as Md, $ as di, e3 as Nd, e4 as Ba, e5 as gi, e6 as Xi, cG as cn, e7 as Pd, by as Za, H as Am, I as Vd, w as Wd, x as Tm, L as Ms, M as km, E as Ed, N as Im, P as $m, e8 as Ns, y as wm, z as Dm, e9 as zd, t as Om, i as Hd, A as ts, ea as un, eb as Ps, bo as Gd, aw as Rm, ec as Bm, V as is, a7 as Mm, c6 as Nm, cB as Xd, ed as Yd, ee as Pm, F as Vm, G as Wm, cM as Ur, J as Em, K as zm, cQ as Hm, r as Gm, D as Xm, C as Ym, ef as Um, Q as qm, bA as as, cx as Oo, X as ba, s as jm, g as _m, eg as qr, c_ as Zm, Z as Km, eh as Qm, ei as Jm, ej as eg, bU as jr, h as tg, cC as ig } from "../../chunks/index.js";
|
|
12
|
+
import { color as oo, percent as dt, LinePattern as Ud, RectanglePattern as ag, p50 as Ae, p0 as qe, p100 as Te, Label as hi, Rectangle as Vs, DateFormatter as og, NumberFormatter as qd, Series as fn, HeatLegend as jd, Container as ci, Legend as Ws, Scrollbar as os, SerialChart as Aa, Tooltip as Ma, Template as Na, Graphics as si, Bullet as ki, time as ng, RoundedRectangle as no, Slice as Ta, Timezone as sg, DataItem as rg, Color as lg, Modal as dg, addLicense as cg, registry as ug, Root as fg } from "@amcharts/amcharts5";
|
|
13
13
|
import { PieChart as Ht, PieSeries as ft } from "@amcharts/amcharts5/percent.js";
|
|
14
|
-
import { AxisRendererCircular as Yt, RadarCursor as Es, ClockHand as ns, RadarChart as Pi, AxisRendererRadial as
|
|
15
|
-
import { XYChart as pe, AxisRendererX as kt, LineSeries as be, XYCursor as
|
|
14
|
+
import { AxisRendererCircular as Yt, RadarCursor as Es, ClockHand as ns, RadarChart as Pi, AxisRendererRadial as mg, RadarLineSeries as zs } from "@amcharts/amcharts5/radar.js";
|
|
15
|
+
import { XYChart as pe, AxisRendererX as kt, LineSeries as be, XYCursor as _d, ColumnSeries as ze, StepLineSeries as mn, CandlestickSeries as oa, DateAxis as Xe, ValueAxis as ve, CategoryAxis as rt, XYSeries as Hs, AxisRendererY as Vi, AxisBullet as gg } from "@amcharts/amcharts5/xy.js";
|
|
16
16
|
import { unsafeGetElementDirection as Gs } from "@arcgis/toolkit/dom";
|
|
17
|
-
import { getElementLocale as
|
|
17
|
+
import { getElementLocale as gn } from "@arcgis/toolkit/intl";
|
|
18
|
+
import { d as Y, W as y, u as E, l as Zd, g as hn, e as we, S as Kd, a as Pt, j as Vt, i as xe, r as _r, v as hg, o as ke, s as Zr, m as Qd, h as Kr, q as xa, p as pg } from "../../chunks/series-types.js";
|
|
18
19
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
19
20
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
20
21
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -22,7 +23,8 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
22
23
|
import "@arcgis/core/time/TimeExtent.js";
|
|
23
24
|
import "@arcgis/core/core/promiseUtils.js";
|
|
24
25
|
import "@arcgis/core/request.js";
|
|
25
|
-
import { range as
|
|
26
|
+
import { range as bg } from "d3-array";
|
|
27
|
+
import { d as _t, c as je, b as st, R as Q, i as Gn, e as oe, f as _, a as yg, j as Xn } from "../../chunks/rest-js-object-literals.js";
|
|
26
28
|
import "@arcgis/core/Graphic.js";
|
|
27
29
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
28
30
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -47,7 +49,7 @@ import { Scrollbar as el } from "@amcharts/amcharts4/.internal/core/elements/Scr
|
|
|
47
49
|
import { u as tl } from "../../chunks/useT9n.js";
|
|
48
50
|
import { f as Hg } from "../../chunks/interfaces.js";
|
|
49
51
|
import { i as lo, a as Gg, b as Xg } from "../../chunks/type-guards.js";
|
|
50
|
-
import {
|
|
52
|
+
import { createModel as Yg } from "../../model.js";
|
|
51
53
|
import { L as ss, b as rs, c as ls, S as Wo, V as Eo, A as il, E as Ro } from "../../chunks/index4.js";
|
|
52
54
|
import { u as Ug, o as qg } from "../../chunks/action-bar-utils.js";
|
|
53
55
|
import { n as al } from "../../chunks/chart-ui-utils2.js";
|
|
@@ -55,7 +57,7 @@ import { p as ol, i as nl, u as jg, a as _g, b as Zg, r as Kg } from "../../chun
|
|
|
55
57
|
import { g as Qg, t as sl, b as rl, D as Jg, m as eh } from "../../chunks/web-component-utils.js";
|
|
56
58
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
57
59
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
58
|
-
v5.0.0-next.
|
|
60
|
+
v5.0.0-next.68 */
|
|
59
61
|
var Bo = { exports: {} }, qn, ll;
|
|
60
62
|
function th() {
|
|
61
63
|
if (ll) return qn;
|
|
@@ -467,14 +469,14 @@ function bh(t, e) {
|
|
|
467
469
|
function yh(t) {
|
|
468
470
|
const { root: e, fill: i, rotation: a, isLinePattern: o } = t;
|
|
469
471
|
let n;
|
|
470
|
-
return o !== !1 ? n =
|
|
472
|
+
return o !== !1 ? n = Ud.new(e, {
|
|
471
473
|
width: A.patternLineProperties.width ?? Number.NaN,
|
|
472
474
|
height: A.patternLineProperties.height ?? Number.NaN,
|
|
473
475
|
strokeWidth: A.patternLineProperties.strokeWidth ?? Number.NaN,
|
|
474
476
|
fill: i,
|
|
475
477
|
// TODO: or is it `color`?
|
|
476
478
|
rotation: a ?? Number.NaN
|
|
477
|
-
}) : n =
|
|
479
|
+
}) : n = ag.new(e, {
|
|
478
480
|
// rectWidth: ChartDefaults.patternRectProperties.rectWidth ?? Number.NaN,
|
|
479
481
|
// rectHeight: ChartDefaults.patternRectProperties.rectHeight ?? Number.NaN,
|
|
480
482
|
// width: ChartDefaults.patternRectProperties.width ?? Number.NaN,
|
|
@@ -570,11 +572,11 @@ function Ch(t) {
|
|
|
570
572
|
function vh(t) {
|
|
571
573
|
let e;
|
|
572
574
|
switch (t) {
|
|
573
|
-
case
|
|
574
|
-
case
|
|
575
|
+
case Gn.LineThrough:
|
|
576
|
+
case Gn.Underline:
|
|
575
577
|
e = t;
|
|
576
578
|
break;
|
|
577
|
-
case
|
|
579
|
+
case Gn.None:
|
|
578
580
|
}
|
|
579
581
|
return e;
|
|
580
582
|
}
|
|
@@ -1035,7 +1037,7 @@ function fl(t, e) {
|
|
|
1035
1037
|
i !== void 0 && t.setAll({ fill: Z(i).color, fillOpacity: 1 }), a !== void 0 && t.setAll({ stroke: Z(a).color, strokeOpacity: 1 }), o !== void 0 && t.setAll({ strokeWidth: o }), n !== void 0 && t.setAll({ rotation: n }), l !== void 0 && t.setAll({ scale: l }), r !== void 0 && (t.setAll({ fillOpacity: (t.get("fillOpacity") ?? 1) * r }), t.setAll({ strokeOpacity: (t.get("strokeOpacity") ?? 1) * r }));
|
|
1036
1038
|
}
|
|
1037
1039
|
}
|
|
1038
|
-
async function $h(t =
|
|
1040
|
+
async function $h(t = gn(document.documentElement).t9nLocale) {
|
|
1039
1041
|
let e = await import("@amcharts/amcharts5/locales/en_US.js");
|
|
1040
1042
|
switch (t) {
|
|
1041
1043
|
case "ar":
|
|
@@ -1162,11 +1164,11 @@ function It(t) {
|
|
|
1162
1164
|
let n;
|
|
1163
1165
|
switch (i) {
|
|
1164
1166
|
case y.NumberAxisFormat: {
|
|
1165
|
-
n =
|
|
1167
|
+
n = qd.new(e, {}), n.set("intlLocales", o), n.set("numberFormat", a);
|
|
1166
1168
|
break;
|
|
1167
1169
|
}
|
|
1168
1170
|
case y.DateAxisFormat: {
|
|
1169
|
-
n =
|
|
1171
|
+
n = og.new(e, {}), n.set("intlLocales", o);
|
|
1170
1172
|
break;
|
|
1171
1173
|
}
|
|
1172
1174
|
}
|
|
@@ -1498,7 +1500,7 @@ function Vh(t, e, i) {
|
|
|
1498
1500
|
o = [t];
|
|
1499
1501
|
else if (i > 1) {
|
|
1500
1502
|
const n = a / (i - 1);
|
|
1501
|
-
o = [...
|
|
1503
|
+
o = [...bg(t, e, n), e];
|
|
1502
1504
|
}
|
|
1503
1505
|
}
|
|
1504
1506
|
return o;
|
|
@@ -1522,7 +1524,7 @@ const tt = {
|
|
|
1522
1524
|
};
|
|
1523
1525
|
function kc(t) {
|
|
1524
1526
|
let e = !1, i;
|
|
1525
|
-
if (t.target.dataItem?.component instanceof
|
|
1527
|
+
if (t.target.dataItem?.component instanceof fn ? { chart: i } = t.target.dataItem.component : (t.target instanceof _d || t.target instanceof Es) && ({ chart: i } = t.target), i instanceof pe || i instanceof Ht) {
|
|
1526
1528
|
const a = w(i.uid, "actionMode");
|
|
1527
1529
|
if (a !== void 0) {
|
|
1528
1530
|
const { originalEvent: o } = t;
|
|
@@ -1538,7 +1540,7 @@ function it(t) {
|
|
|
1538
1540
|
const r = ri(e.uid, "selected") ?? !1;
|
|
1539
1541
|
s = r, a !== !0 ? o === !0 ? s = r ? !1 : r !== i : s = i : s = r !== i;
|
|
1540
1542
|
const l = n === !0 ? tt.Default : tt.CustomInactive;
|
|
1541
|
-
e.states.apply(tt.Default), e.states.apply(s ? tt.CustomActive : l), s !== r && (uh(e.uid, { selected: s }), s && (e.toFront(), e.dataItem?.component instanceof
|
|
1543
|
+
e.states.apply(tt.Default), e.states.apply(s ? tt.CustomActive : l), s !== r && (uh(e.uid, { selected: s }), s && (e.toFront(), e.dataItem?.component instanceof fn && e.dataItem.component.toFront()));
|
|
1542
1544
|
}
|
|
1543
1545
|
return s;
|
|
1544
1546
|
}
|
|
@@ -1797,7 +1799,7 @@ const f = {
|
|
|
1797
1799
|
]), vo = "arcgis_charts_title_container", tr = "arcgis_charts_subtitle_container", vn = "arcgis_charts_footer_container", wc = "arcgis_charts_title", Dc = "arcgis_charts_subtitle", Oc = "arcgis_charts_footer", Ii = "arcgis_charts_legend_container", ra = "arcgis_charts_legend_title", ml = "arcgis_charts_axis_title_id", Rc = "arcgis_charts_loader_container", Bc = "arcgis_charts_loader_spinner";
|
|
1798
1800
|
function Mc(t) {
|
|
1799
1801
|
const { root: e } = t, i = w(t.uid, "rtl") ?? !1, a = w(t.uid, "config"), o = a?.series[0], { start: n, end: s } = Nc(i, o), r = a?.legend?.position ?? A.heatChart.legend.position, l = r === Y.Top || r === Y.Bottom;
|
|
1800
|
-
return
|
|
1802
|
+
return jd.new(e, {
|
|
1801
1803
|
orientation: l ? "horizontal" : "vertical",
|
|
1802
1804
|
startColor: n.color,
|
|
1803
1805
|
endColor: s.color,
|
|
@@ -1929,7 +1931,7 @@ function Yh(t, e) {
|
|
|
1929
1931
|
function Ec(t) {
|
|
1930
1932
|
[t.bottomAxesContainer, t.rightAxesContainer, t.leftAxesContainer, t.topAxesContainer].forEach(
|
|
1931
1933
|
(e) => {
|
|
1932
|
-
e.children.values.filter((a) => a instanceof
|
|
1934
|
+
e.children.values.filter((a) => a instanceof jd).forEach((a) => {
|
|
1933
1935
|
e.children.removeValue(a), a.dispose();
|
|
1934
1936
|
}), e.markDirty();
|
|
1935
1937
|
}
|
|
@@ -2151,7 +2153,7 @@ function tp(t) {
|
|
|
2151
2153
|
});
|
|
2152
2154
|
}
|
|
2153
2155
|
function Xc(t) {
|
|
2154
|
-
return t?.[0].type === y.HeatSeries && t[0].heatRulesType !==
|
|
2156
|
+
return t?.[0].type === y.HeatSeries && t[0].heatRulesType !== Zd.Renderer;
|
|
2155
2157
|
}
|
|
2156
2158
|
function Yc(t) {
|
|
2157
2159
|
const e = t.get("id");
|
|
@@ -2171,9 +2173,9 @@ function ip(t) {
|
|
|
2171
2173
|
const e = t.target.dataItem;
|
|
2172
2174
|
if (e?.dataContext !== void 0) {
|
|
2173
2175
|
const { dataContext: i } = e, a = typeof i == "object" && i !== null && "component" in i ? i.component : i;
|
|
2174
|
-
if (a instanceof
|
|
2176
|
+
if (a instanceof fn) {
|
|
2175
2177
|
const n = { visible: !a.get("visible") };
|
|
2176
|
-
$i(a) || Lo(a) ? n.overlayType = de(a.uid, "type") : n.seriesId = a.get("id"),
|
|
2178
|
+
$i(a) || Lo(a) ? n.overlayType = de(a.uid, "type") : n.seriesId = a.get("id"), ud(n, a.root.dom);
|
|
2177
2179
|
}
|
|
2178
2180
|
}
|
|
2179
2181
|
}
|
|
@@ -2194,7 +2196,7 @@ function np(t) {
|
|
|
2194
2196
|
const d = Ge(a);
|
|
2195
2197
|
r = e.series.values.filter((c) => {
|
|
2196
2198
|
let u = !1;
|
|
2197
|
-
return d ? u = c instanceof be && !(c instanceof
|
|
2199
|
+
return d ? u = c instanceof be && !(c instanceof mn) : u = c instanceof oa, u;
|
|
2198
2200
|
});
|
|
2199
2201
|
break;
|
|
2200
2202
|
}
|
|
@@ -2358,7 +2360,7 @@ function rp(t, e) {
|
|
|
2358
2360
|
const n = w(t.uid, "config");
|
|
2359
2361
|
if (E(n?.series) !== y.HeatSeries) {
|
|
2360
2362
|
const r = a.dataItem?.component;
|
|
2361
|
-
r instanceof ft ? o = (a.dataItem?.dataContext?.[r.get("categoryField") ?? ""] ?? i)?.toString() : r instanceof
|
|
2363
|
+
r instanceof ft ? o = (a.dataItem?.dataContext?.[r.get("categoryField") ?? ""] ?? i)?.toString() : r instanceof fn && (o = r.get("name"));
|
|
2362
2364
|
}
|
|
2363
2365
|
if (n !== void 0) {
|
|
2364
2366
|
const { legend: r } = n, l = { ...r?.body, type: Q.TS, text: o };
|
|
@@ -2418,7 +2420,7 @@ function up(t) {
|
|
|
2418
2420
|
const d = a ? t.yAxes.getIndex(0) : t.xAxes.getIndex(0);
|
|
2419
2421
|
let c;
|
|
2420
2422
|
d instanceof Xe ? c = f.DateAxis : d instanceof ve ? c = f.ValueAxis : c = f.CategoryAxis;
|
|
2421
|
-
const m = i?.orderOptions?.data?.orderBy ===
|
|
2423
|
+
const m = i?.orderOptions?.data?.orderBy === hn.Descending ? f.OrderByFieldsDESC : f.OrderByFieldsASC;
|
|
2422
2424
|
e = `${o}-${r}-${s}-${l}-${c}-${m}`;
|
|
2423
2425
|
}
|
|
2424
2426
|
return e;
|
|
@@ -2648,7 +2650,7 @@ function Zc(t, e) {
|
|
|
2648
2650
|
return i;
|
|
2649
2651
|
}
|
|
2650
2652
|
function ar(t) {
|
|
2651
|
-
const { config: e, fieldName: i = "", utilsStrings: a } = t, o = e.series[0].query?.outStatistics?.[0].statisticType ??
|
|
2653
|
+
const { config: e, fieldName: i = "", utilsStrings: a } = t, o = e.series[0].query?.outStatistics?.[0].statisticType ?? Kd.statisticType, n = Zc(o, a);
|
|
2652
2654
|
return va(a.statistics.aggregation, {
|
|
2653
2655
|
statistics: n,
|
|
2654
2656
|
fieldName: i
|
|
@@ -2657,7 +2659,7 @@ function ar(t) {
|
|
|
2657
2659
|
function Kc(t) {
|
|
2658
2660
|
const { config: e, fieldList: i, objectIdField: a, seriesIndex: o, isStacked100: n, utilsStrings: s } = t;
|
|
2659
2661
|
let r = "";
|
|
2660
|
-
const l = e.series[o].name, d = e.series[o], c = [d.y].flat()[0], u = e.axes, m = X(e.series), g = a ?? La.outStatistics.onStatisticField, h = d.query?.outStatistics?.[0].onStatisticField ?? g, b = Ve(i, h), p = d.query?.outStatistics?.[0].statisticType ??
|
|
2662
|
+
const l = e.series[o].name, d = e.series[o], c = [d.y].flat()[0], u = e.axes, m = X(e.series), g = a ?? La.outStatistics.onStatisticField, h = d.query?.outStatistics?.[0].onStatisticField ?? g, b = Ve(i, h), p = d.query?.outStatistics?.[0].statisticType ?? Kd.statisticType, S = Zc(p, s);
|
|
2661
2663
|
return m === P.BarAndLineNoAggregation ? r = l ?? Ve(i, c) : m === P.BarAndLineSplitByNoAggregation ? r = Ve(i, c) : (r = p === Pt.Count && h === g ? s.statistics.count : va(s.statistics.aggregation, {
|
|
2662
2664
|
statistics: S,
|
|
2663
2665
|
fieldName: b ?? l
|
|
@@ -2782,7 +2784,7 @@ function Tp(t) {
|
|
|
2782
2784
|
const e = t.get("tooltip");
|
|
2783
2785
|
if (e !== void 0) {
|
|
2784
2786
|
let i = t.get("fill");
|
|
2785
|
-
i instanceof
|
|
2787
|
+
i instanceof Ud && (i = i.get("fill")), e.get("background")?.set("fill", i);
|
|
2786
2788
|
}
|
|
2787
2789
|
}
|
|
2788
2790
|
function kp(t) {
|
|
@@ -3286,7 +3288,7 @@ function Mp(t) {
|
|
|
3286
3288
|
let g = "";
|
|
3287
3289
|
if (e && o !== void 0 && d !== void 0) {
|
|
3288
3290
|
let h = r;
|
|
3289
|
-
h === void 0 && (h =
|
|
3291
|
+
h === void 0 && (h = md(), h.intlOptions.minimumFractionDigits = 2, h.intlOptions.maximumFractionDigits = 2), g = Ia({
|
|
3290
3292
|
root: d,
|
|
3291
3293
|
value: o,
|
|
3292
3294
|
valueFormat: h,
|
|
@@ -3349,7 +3351,7 @@ function Np(t) {
|
|
|
3349
3351
|
case P.BarAndLineSplitByNoAggregation:
|
|
3350
3352
|
case P.BarAndLineSplitBy:
|
|
3351
3353
|
{
|
|
3352
|
-
const te = vi(n.query?.where, !1), ne =
|
|
3354
|
+
const te = vi(n.query?.where, !1), ne = fd({
|
|
3353
3355
|
value: Ve(i, te)
|
|
3354
3356
|
});
|
|
3355
3357
|
J.push(
|
|
@@ -3446,7 +3448,7 @@ function Vp(t) {
|
|
|
3446
3448
|
else if (bm(D)) {
|
|
3447
3449
|
const B = new Date(O), M = r ? w(r.uid, "formatLocale") : void 0;
|
|
3448
3450
|
R = new Intl.DateTimeFormat(M, {}).format(B);
|
|
3449
|
-
} else D.type ===
|
|
3451
|
+
} else D.type === yg.String && typeof O == "string" && (R = O);
|
|
3450
3452
|
T += l ? `
|
|
3451
3453
|
${R}[bold]${I}${d} [/]` : `
|
|
3452
3454
|
[bold]${I}${d} [/]${R}`;
|
|
@@ -3497,8 +3499,8 @@ function Hp(t) {
|
|
|
3497
3499
|
const { seriesConfig: e, series: i, sizePolicyChanged: a } = t, { sizePolicy: o } = e, n = i.get("heatRules")?.[0], s = de(i.uid, "bulletTemplate");
|
|
3498
3500
|
if (s !== void 0)
|
|
3499
3501
|
if (o !== void 0) {
|
|
3500
|
-
const { scaleType: r, field: l, minSize: d, maxSize: c } = o, u =
|
|
3501
|
-
n !== void 0 ? a && (n.min = g, n.max = h, n.logarithmic = r ===
|
|
3502
|
+
const { scaleType: r, field: l, minSize: d, maxSize: c } = o, u = ym(), m = e.markerSymbol?.size ?? gd().size ?? 1, g = (d ?? u.minSize) / m, h = (c ?? u.maxSize) / m;
|
|
3503
|
+
n !== void 0 ? a && (n.min = g, n.max = h, n.logarithmic = r === _r.Logarithmic, i.set("valueField", l), i.markDirtySize()) : i.setAll({
|
|
3502
3504
|
valueField: l,
|
|
3503
3505
|
calculateAggregates: !0,
|
|
3504
3506
|
heatRules: [
|
|
@@ -3509,7 +3511,7 @@ function Hp(t) {
|
|
|
3509
3511
|
max: h,
|
|
3510
3512
|
dataField: "value",
|
|
3511
3513
|
// this is a static value to be kept in sync with the series.valueField from the creation step
|
|
3512
|
-
logarithmic: r ===
|
|
3514
|
+
logarithmic: r === _r.Logarithmic
|
|
3513
3515
|
}
|
|
3514
3516
|
]
|
|
3515
3517
|
});
|
|
@@ -3618,7 +3620,7 @@ function jp(t) {
|
|
|
3618
3620
|
if (o) {
|
|
3619
3621
|
const n = i.series[0], s = Li(i);
|
|
3620
3622
|
let r, l;
|
|
3621
|
-
const d =
|
|
3623
|
+
const d = gd(), c = /* @__PURE__ */ new Set();
|
|
3622
3624
|
a.dataItems.forEach((m) => {
|
|
3623
3625
|
const g = m.bullets?.[0]?.get("sprite");
|
|
3624
3626
|
if (g !== void 0) {
|
|
@@ -3687,7 +3689,7 @@ function Zp(t) {
|
|
|
3687
3689
|
data: l,
|
|
3688
3690
|
dataWasUpdated: d,
|
|
3689
3691
|
seriesWereReinitialized: c,
|
|
3690
|
-
valueFormat:
|
|
3692
|
+
valueFormat: hd(),
|
|
3691
3693
|
defaultR2Value: g.notAvailable
|
|
3692
3694
|
}), Hp({ seriesConfig: a, series: s, sizePolicyChanged: u }), wi(t) && Di({
|
|
3693
3695
|
// TODO: Remove the type assertion and correct the typings
|
|
@@ -3797,7 +3799,7 @@ function xl(t, e) {
|
|
|
3797
3799
|
i = e.axisPositionToIndex(e.toAxisPosition(n)), a = e.axisPositionToIndex(e.toAxisPosition(s));
|
|
3798
3800
|
else if (e instanceof Xe) {
|
|
3799
3801
|
i = e.positionToDate(e.toAxisPosition(n)).getTime(), a = e.positionToDate(e.toAxisPosition(s)).getTime();
|
|
3800
|
-
const r = e.getPrivate("baseInterval"), l =
|
|
3802
|
+
const r = e.getPrivate("baseInterval"), l = ng.getDuration(r.timeUnit, r.count) * (e.chart?.series.getIndex(0)?.get("locationX") ?? 1);
|
|
3801
3803
|
i -= l, a -= l;
|
|
3802
3804
|
} else e instanceof ve && (i = e.positionToValue(e.toAxisPosition(n)), a = e.positionToValue(e.toAxisPosition(s)));
|
|
3803
3805
|
} else {
|
|
@@ -4279,7 +4281,7 @@ function mb(t) {
|
|
|
4279
4281
|
function gb(t) {
|
|
4280
4282
|
const { series: e, seriesConfig: i, colorMatch: a, rendererSymbol: o } = t, { root: n } = e, s = e.chart;
|
|
4281
4283
|
if (s) {
|
|
4282
|
-
const r = i.fillSymbol ??
|
|
4284
|
+
const r = i.fillSymbol ?? Cm(), d = lt({
|
|
4283
4285
|
root: e.root,
|
|
4284
4286
|
element: e.columns.template,
|
|
4285
4287
|
seriesSymbol: r,
|
|
@@ -4379,7 +4381,7 @@ function yb(t) {
|
|
|
4379
4381
|
else {
|
|
4380
4382
|
const { symbol: n, created: s, visible: r } = i, l = de(e.uid, "type"), d = n ?? { type: Q.SLS };
|
|
4381
4383
|
if (i.symbol?.color === void 0 && (d.color = Zi({
|
|
4382
|
-
colorIndex:
|
|
4384
|
+
colorIndex: pd(l),
|
|
4383
4385
|
histogramOverlays: !0
|
|
4384
4386
|
})), zt({
|
|
4385
4387
|
element: e,
|
|
@@ -4431,7 +4433,7 @@ function yb(t) {
|
|
|
4431
4433
|
const g = w(e.chart?.uid ?? Number.NaN, "formatLocale"), h = Ia({
|
|
4432
4434
|
root: e.root,
|
|
4433
4435
|
value: u,
|
|
4434
|
-
valueFormat:
|
|
4436
|
+
valueFormat: hd(),
|
|
4435
4437
|
formatLocale: g
|
|
4436
4438
|
}), b = `${m}: ${h}`;
|
|
4437
4439
|
Ha(e, b);
|
|
@@ -4445,7 +4447,7 @@ function Sb(t) {
|
|
|
4445
4447
|
else {
|
|
4446
4448
|
const { symbol: n, created: s, visible: r } = i, l = n ?? { type: Q.SLS };
|
|
4447
4449
|
if (i?.symbol?.color === void 0 && (l.color = Zi({
|
|
4448
|
-
colorIndex:
|
|
4450
|
+
colorIndex: pd($e.Normal),
|
|
4449
4451
|
histogramOverlays: !0
|
|
4450
4452
|
})), zt({
|
|
4451
4453
|
element: e,
|
|
@@ -4484,17 +4486,17 @@ async function xb(t) {
|
|
|
4484
4486
|
loaderHandle: d
|
|
4485
4487
|
} = t;
|
|
4486
4488
|
Oe(e, a.visible), Ui(e.columns.template, l?.bins?.length), Ha(e, a.name);
|
|
4487
|
-
const c = ut(s), u =
|
|
4489
|
+
const c = ut(s), u = Sm({
|
|
4488
4490
|
chartRenderer: r,
|
|
4489
4491
|
queryObject: s
|
|
4490
|
-
}), m = r ?? c?.renderer, g =
|
|
4492
|
+
}), m = r ?? c?.renderer, g = sn(r, c?.renderer);
|
|
4491
4493
|
let h;
|
|
4492
4494
|
if (aa({ chartConfig: i, queryObject: s })) {
|
|
4493
|
-
const b = await
|
|
4495
|
+
const b = await xm({
|
|
4494
4496
|
seriesConfig: [a],
|
|
4495
4497
|
dataItem: {},
|
|
4496
4498
|
renderer: m,
|
|
4497
|
-
rendererOrigin: r !== void 0 ?
|
|
4499
|
+
rendererOrigin: r !== void 0 ? Xr.ChartRenderer : Xr.LayerRenderer,
|
|
4498
4500
|
rendererType: g,
|
|
4499
4501
|
chartSubType: P.NonSpecific,
|
|
4500
4502
|
graphicTemplate: u
|
|
@@ -4589,7 +4591,7 @@ function Fo(t) {
|
|
|
4589
4591
|
return i !== void 0 && (e = w(i.uid, "isRotated") === !0 ? vb(t) : Lb(t)), e;
|
|
4590
4592
|
}
|
|
4591
4593
|
function Fb(t) {
|
|
4592
|
-
|
|
4594
|
+
bd(), yd(t.root.dom), Ei({ chart: t });
|
|
4593
4595
|
}
|
|
4594
4596
|
function Ab(t) {
|
|
4595
4597
|
const { chart: e, chartType: i, showMean: a } = t;
|
|
@@ -4767,7 +4769,7 @@ function wb(t) {
|
|
|
4767
4769
|
u.uid,
|
|
4768
4770
|
"currentSelectionIndexes"
|
|
4769
4771
|
);
|
|
4770
|
-
B =
|
|
4772
|
+
B = vd({
|
|
4771
4773
|
itemsA: R,
|
|
4772
4774
|
itemsB: I,
|
|
4773
4775
|
isPieFromFields: L === P.PieFromFields,
|
|
@@ -4797,7 +4799,7 @@ function wb(t) {
|
|
|
4797
4799
|
splitBy: d
|
|
4798
4800
|
});
|
|
4799
4801
|
let W = w(u.uid, "computedSelectionDataItems") ?? [];
|
|
4800
|
-
if (W.push(...V), x.series.length > 1 && L !== P.BarAndLineNoAggregation && L !== P.BarAndLineSplitByNoAggregation && (W =
|
|
4802
|
+
if (W.push(...V), x.series.length > 1 && L !== P.BarAndLineNoAggregation && L !== P.BarAndLineSplitByNoAggregation && (W = Ld({
|
|
4801
4803
|
data: W,
|
|
4802
4804
|
x: x.series[0].x,
|
|
4803
4805
|
splitByField: vi(x.series[0].query?.where)
|
|
@@ -4862,7 +4864,7 @@ function wb(t) {
|
|
|
4862
4864
|
async function Db(t) {
|
|
4863
4865
|
const { chart: e, options: i, dataWasUpdated: a, data: o, chartConfig: n, queryObject: s, errorStrings: r } = t, l = w(e.uid, "currentSelectionOIDs"), d = w(e.uid, "queryConfig");
|
|
4864
4866
|
if (!w(e.uid, "filterBySelection")) {
|
|
4865
|
-
const u = await
|
|
4867
|
+
const u = await Cd({
|
|
4866
4868
|
chartConfig: n,
|
|
4867
4869
|
queryConfig: d,
|
|
4868
4870
|
chartData: o,
|
|
@@ -4923,7 +4925,7 @@ async function rr(t, e) {
|
|
|
4923
4925
|
if (z.length > 0)
|
|
4924
4926
|
v.push(...z);
|
|
4925
4927
|
else if (o?.returnSelectionOIDs !== !1) {
|
|
4926
|
-
const H =
|
|
4928
|
+
const H = Sd({
|
|
4927
4929
|
dataContext: W,
|
|
4928
4930
|
options: o,
|
|
4929
4931
|
xAxisField: d,
|
|
@@ -4946,7 +4948,7 @@ async function rr(t, e) {
|
|
|
4946
4948
|
if (o?.returnSelectionOIDs !== !1 && a !== void 0 && C.length > 0) {
|
|
4947
4949
|
const I = { ...w(t.uid, "queryConfig") };
|
|
4948
4950
|
delete I.groupByFieldsForStatistics, delete I.orderByFields, delete I.outStatistics;
|
|
4949
|
-
const D = await
|
|
4951
|
+
const D = await xd({
|
|
4950
4952
|
whereList: C,
|
|
4951
4953
|
queryObject: a,
|
|
4952
4954
|
queryConfig: I
|
|
@@ -5013,7 +5015,7 @@ function pu(t) {
|
|
|
5013
5015
|
r === "selection" ? wb(l) : (Oe(e, a.visible), s.styleCallback(l));
|
|
5014
5016
|
}, n = w(e.chart?.uid ?? Number.NaN, "config");
|
|
5015
5017
|
switch (!0) {
|
|
5016
|
-
case e instanceof
|
|
5018
|
+
case e instanceof mn:
|
|
5017
5019
|
e.events.once(ie.DataValidated, () => o(i));
|
|
5018
5020
|
break;
|
|
5019
5021
|
case e instanceof ze:
|
|
@@ -5164,7 +5166,7 @@ function An(t, e) {
|
|
|
5164
5166
|
let a, o;
|
|
5165
5167
|
return e?.series.forEach((n, s) => {
|
|
5166
5168
|
let r = !1;
|
|
5167
|
-
i !== y.BoxPlotSeries || t instanceof oa ? r = t.get("id") === n.id : t instanceof
|
|
5169
|
+
i !== y.BoxPlotSeries || t instanceof oa ? r = t.get("id") === n.id : t instanceof mn ? r = t.get("id")?.replace(`_${ue.Top}`, "") === n.id || t.get("id")?.replace(`_${ue.Median}`, "") === n.id || t.get("id")?.replace(`_${ue.Bottom}`, "") === n.id : t instanceof be && (r = t.get("id")?.replace(`_${ue.Outliers}`, "") === n.id), r && (a = n, o = s);
|
|
5168
5170
|
}), { seriesConfig: a, seriesIndex: o };
|
|
5169
5171
|
}
|
|
5170
5172
|
function Nb(t, e) {
|
|
@@ -5202,7 +5204,7 @@ function yu(t) {
|
|
|
5202
5204
|
return (s) => {
|
|
5203
5205
|
let r = `${s}`;
|
|
5204
5206
|
if (n !== void 0 && s !== null && !(s instanceof Date)) {
|
|
5205
|
-
let l = typeof s == "number" ? s :
|
|
5207
|
+
let l = typeof s == "number" ? s : Fd(s, n.get("intlLocales"));
|
|
5206
5208
|
o === !0 && i.style === "percent" && (l /= 100), r = n.format(l);
|
|
5207
5209
|
} else s instanceof Date && (r = s.toLocaleString(void 0, i));
|
|
5208
5210
|
return r;
|
|
@@ -5250,7 +5252,7 @@ function Wb(t) {
|
|
|
5250
5252
|
s = Ve(g, s);
|
|
5251
5253
|
}
|
|
5252
5254
|
const { characterLimit: m } = i;
|
|
5253
|
-
r = s?.toString() ?? "", !he(r) && r !== A.htmlEmptyContent && (r =
|
|
5255
|
+
r = s?.toString() ?? "", !he(r) && r !== A.htmlEmptyContent && (r = Ad({ stringToTruncate: r, characterLimit: m }));
|
|
5254
5256
|
}
|
|
5255
5257
|
return r.toString();
|
|
5256
5258
|
};
|
|
@@ -5261,7 +5263,7 @@ function Eb(t) {
|
|
|
5261
5263
|
let r = s ?? "";
|
|
5262
5264
|
const l = w(e.uid, "formatLocale"), d = w(e.uid, "config");
|
|
5263
5265
|
if (d && d.series[0].type === y.HeatSeries) {
|
|
5264
|
-
const c =
|
|
5266
|
+
const c = hg(d.series[0], i);
|
|
5265
5267
|
if (c && s !== void 0 && s !== "") {
|
|
5266
5268
|
if (a.type === y.DateAxisFormat && a.intlOptions)
|
|
5267
5269
|
switch (c.unit) {
|
|
@@ -5298,7 +5300,7 @@ function Eb(t) {
|
|
|
5298
5300
|
}).format(r, a.intlOptions);
|
|
5299
5301
|
else if (a.type === y.CategoryAxisFormat && (r = s?.toString() ?? "", !he(r) && r !== A.htmlEmptyContent)) {
|
|
5300
5302
|
const { characterLimit: u } = a;
|
|
5301
|
-
r =
|
|
5303
|
+
r = Ad({ stringToTruncate: r, characterLimit: u });
|
|
5302
5304
|
}
|
|
5303
5305
|
}
|
|
5304
5306
|
}
|
|
@@ -5313,7 +5315,7 @@ function zb(t, e) {
|
|
|
5313
5315
|
"hour",
|
|
5314
5316
|
"minute",
|
|
5315
5317
|
"second"
|
|
5316
|
-
], o = {}, n = {}, s =
|
|
5318
|
+
], o = {}, n = {}, s = sg.new(i.timeZone);
|
|
5317
5319
|
t.root.timezone?.name !== s.name && (t.root.timezone = s);
|
|
5318
5320
|
for (let r = 0; r < a.length; r += 1) {
|
|
5319
5321
|
const l = a[r], d = r === 0 ? l : a[r - 1], c = e?.formatPerDateTimeUnit?.[l] ?? i, u = e?.formatPerDateTimeUnit?.[d];
|
|
@@ -5409,7 +5411,7 @@ function Hb(t, e) {
|
|
|
5409
5411
|
function Gb(t) {
|
|
5410
5412
|
const { axis: e, isRotated: i, chartConfig: a } = t;
|
|
5411
5413
|
if (e instanceof rt || e instanceof Xe) {
|
|
5412
|
-
const o = a.orderOptions?.data?.orderBy ===
|
|
5414
|
+
const o = a.orderOptions?.data?.orderBy === hn.Descending;
|
|
5413
5415
|
let n = i === !0;
|
|
5414
5416
|
o && e instanceof Xe && (n = !n), e.get("renderer").set("inversed", n);
|
|
5415
5417
|
}
|
|
@@ -5482,7 +5484,7 @@ function qb(t) {
|
|
|
5482
5484
|
const i = w(t.uid, "config");
|
|
5483
5485
|
if (i !== void 0) {
|
|
5484
5486
|
const a = yo({ chartConfig: i });
|
|
5485
|
-
e =
|
|
5487
|
+
e = vm({
|
|
5486
5488
|
seriesConfig: i.series,
|
|
5487
5489
|
filteredData: t.series.getIndex(0)?.data.values ?? [],
|
|
5488
5490
|
filteredSeriesIds: a
|
|
@@ -5502,7 +5504,7 @@ function xu(t) {
|
|
|
5502
5504
|
l || (d = i === !0 ? 2 : 1);
|
|
5503
5505
|
const { isLogarithmic: c } = s.axes?.[d] ?? {};
|
|
5504
5506
|
if (c === !0) {
|
|
5505
|
-
const u = yo({ chartConfig: s, isSecondValueAxis: i }), m = a !== void 0 && "dataItems" in a ? Ti(a) : void 0, { minY: g, maxY: h, minX: b, maxX: p } =
|
|
5507
|
+
const u = yo({ chartConfig: s, isSecondValueAxis: i }), m = a !== void 0 && "dataItems" in a ? Ti(a) : void 0, { minY: g, maxY: h, minX: b, maxX: p } = rn({
|
|
5506
5508
|
chartConfig: s,
|
|
5507
5509
|
chartData: m ?? o.series.getIndex(0)?.data.values ?? [],
|
|
5508
5510
|
filteredSeriesIds: u
|
|
@@ -5612,7 +5614,7 @@ function ey(t) {
|
|
|
5612
5614
|
if ((m === y.BarSeries || m === y.LineSeries || m === y.ComboLineAndBarSeries || m === y.RadarSeries) && g === we.Stacked100 && !h && n !== !0 && e instanceof ve && !b)
|
|
5613
5615
|
r = r ?? 0, l = l ?? 100;
|
|
5614
5616
|
else {
|
|
5615
|
-
const p = Rb(d), S = yo({ chartConfig: c, isSecondValueAxis: s, seriesIds: p }), x = Ti(i), C =
|
|
5617
|
+
const p = Rb(d), S = yo({ chartConfig: c, isSecondValueAxis: s, seriesIds: p }), x = Ti(i), C = rn({
|
|
5616
5618
|
chartConfig: c,
|
|
5617
5619
|
// using either the provided data (at creation or after a data update) or the current series data
|
|
5618
5620
|
chartData: x ?? d.series.getIndex(0)?.data.values ?? [],
|
|
@@ -5730,7 +5732,7 @@ function Ll(t, e) {
|
|
|
5730
5732
|
});
|
|
5731
5733
|
}
|
|
5732
5734
|
};
|
|
5733
|
-
i.xAxes.each(r), i.yAxes.each(r), s.length > 0 && s.every((l) => Number.isFinite(l.minimum) && Number.isFinite(l.maximum)) &&
|
|
5735
|
+
i.xAxes.each(r), i.yAxes.each(r), s.length > 0 && s.every((l) => Number.isFinite(l.minimum) && Number.isFinite(l.maximum)) && Td(s, i.root.dom);
|
|
5734
5736
|
}
|
|
5735
5737
|
}
|
|
5736
5738
|
}
|
|
@@ -5770,7 +5772,7 @@ function ny(t) {
|
|
|
5770
5772
|
e.uid,
|
|
5771
5773
|
"guideTooltipFormatter"
|
|
5772
5774
|
);
|
|
5773
|
-
if (g !== void 0 && m instanceof
|
|
5775
|
+
if (g !== void 0 && m instanceof rg) {
|
|
5774
5776
|
let h, b;
|
|
5775
5777
|
switch (!0) {
|
|
5776
5778
|
case e instanceof Xe:
|
|
@@ -5833,7 +5835,7 @@ function sy(t, e) {
|
|
|
5833
5835
|
} else if (t instanceof ve && !(o instanceof Date) && !(n instanceof Date)) {
|
|
5834
5836
|
const L = h?.find((D) => D.name === a), { start: T, end: k } = Lu(t, L);
|
|
5835
5837
|
Number.isFinite(T) && (b = T), Number.isFinite(k) && (p = k);
|
|
5836
|
-
const I = Wi(t.uid, "numberFormatter") ?? ((D) =>
|
|
5838
|
+
const I = Wi(t.uid, "numberFormatter") ?? ((D) => qd.new(r, {}).format(D));
|
|
5837
5839
|
b = I(b), p !== void 0 && (p = I(p));
|
|
5838
5840
|
} else t instanceof rt && (b = o, p = n);
|
|
5839
5841
|
const S = b.toString(), x = p?.toString() ?? "";
|
|
@@ -6181,10 +6183,10 @@ function vy(t) {
|
|
|
6181
6183
|
function Ly(t) {
|
|
6182
6184
|
const { renderer: e, axisConfig: i, labelConfig: a } = t;
|
|
6183
6185
|
switch (i.labelsOrientation) {
|
|
6184
|
-
case
|
|
6186
|
+
case Zr.Horizontal:
|
|
6185
6187
|
e.labels.template.setAll({ textType: "adjusted" }), e.labels.template.remove("radius");
|
|
6186
6188
|
break;
|
|
6187
|
-
case
|
|
6189
|
+
case Zr.Radial:
|
|
6188
6190
|
e.labels.template.setAll({ textType: "radial", radius: 35 }), a.content.verticalAlignment = _.Middle;
|
|
6189
6191
|
break;
|
|
6190
6192
|
default:
|
|
@@ -6240,7 +6242,7 @@ function Au(t) {
|
|
|
6240
6242
|
maximumValueConversion: n
|
|
6241
6243
|
} = t;
|
|
6242
6244
|
let s = e ?? G.gauge.axisMinimum, r = i ?? G.gauge.axisMaximum;
|
|
6243
|
-
s =
|
|
6245
|
+
s = Yr(s, o), r = Yr(r, n);
|
|
6244
6246
|
const l = cs(a);
|
|
6245
6247
|
let d = cs(a) ? a : Math.abs(r - s) / G.gauge.numberOfLabelIntervals, c = l ? Math.round(Math.abs(r - s) / d) : G.gauge.numberOfLabelIntervals;
|
|
6246
6248
|
if (l)
|
|
@@ -6289,7 +6291,7 @@ async function ku(t) {
|
|
|
6289
6291
|
featureIndex: e,
|
|
6290
6292
|
chartData: i,
|
|
6291
6293
|
chartConfig: o
|
|
6292
|
-
}) : n !== void 0 && a !== void 0 && ({ minimumFromData: g, maximumFromData: h } = await
|
|
6294
|
+
}) : n !== void 0 && a !== void 0 && ({ minimumFromData: g, maximumFromData: h } = await Lm({
|
|
6293
6295
|
queryObject: n,
|
|
6294
6296
|
chartConfig: o,
|
|
6295
6297
|
queryConfig: a
|
|
@@ -6340,7 +6342,7 @@ function Dy(t) {
|
|
|
6340
6342
|
radius: dt(100)
|
|
6341
6343
|
}), a = t.makeDataItem({
|
|
6342
6344
|
value: 0,
|
|
6343
|
-
bullet:
|
|
6345
|
+
bullet: gg.new(e, {
|
|
6344
6346
|
sprite: i
|
|
6345
6347
|
})
|
|
6346
6348
|
});
|
|
@@ -6667,7 +6669,7 @@ function mr(t) {
|
|
|
6667
6669
|
errorStrings: C
|
|
6668
6670
|
}), Gb({ axis: e, isRotated: fe, chartConfig: b }), Kb({ axis: e, timeIntervalInfo: l, dateBaseInterval: W }), zt({
|
|
6669
6671
|
element: J,
|
|
6670
|
-
lineSymbol: { color: [...A.color], ...L ??
|
|
6672
|
+
lineSymbol: { color: [...A.color], ...L ?? ln() },
|
|
6671
6673
|
visible: v
|
|
6672
6674
|
}), zt({ element: J.ticks.template, lineSymbol: L, visible: v }), zt({ element: J.grid.template, lineSymbol: D, visible: v }), D === void 0 && (e.get("renderer").grid.template.set("strokeWidth", A.lineWidth), e.markDirtyValues()), Fy({
|
|
6673
6675
|
axis: e,
|
|
@@ -6742,7 +6744,7 @@ function Xy(t) {
|
|
|
6742
6744
|
...d,
|
|
6743
6745
|
axes: e.yAxes,
|
|
6744
6746
|
valueFormat: l.valueFormat,
|
|
6745
|
-
axisRenderer:
|
|
6747
|
+
axisRenderer: mg.new(s, {}),
|
|
6746
6748
|
isXAxis: !1,
|
|
6747
6749
|
x: o
|
|
6748
6750
|
});
|
|
@@ -6869,13 +6871,13 @@ function Ou(t) {
|
|
|
6869
6871
|
const { actionMode: e, cursorRange: i, isRotated: a } = t;
|
|
6870
6872
|
let o = ce.None;
|
|
6871
6873
|
switch (i) {
|
|
6872
|
-
case
|
|
6874
|
+
case Hn.MultiAxes:
|
|
6873
6875
|
e === q.MultiSelectionWithCtrlKey || e === q.MultiSelection ? o = ce.SelectXY : e === q.Zoom && (o = ce.ZoomXY);
|
|
6874
6876
|
break;
|
|
6875
|
-
case
|
|
6877
|
+
case Hn.XAxis:
|
|
6876
6878
|
e === q.MultiSelectionWithCtrlKey || e === q.MultiSelection ? o = a === !0 ? ce.SelectY : ce.SelectX : e === q.Zoom && (o = a === !0 ? ce.ZoomY : ce.ZoomX);
|
|
6877
6879
|
break;
|
|
6878
|
-
case
|
|
6880
|
+
case Hn.YAxis:
|
|
6879
6881
|
e === q.MultiSelectionWithCtrlKey || e === q.MultiSelection ? o = a === !0 ? ce.SelectX : ce.SelectY : e === q.Zoom && (o = a === !0 ? ce.ZoomX : ce.ZoomY);
|
|
6880
6882
|
break;
|
|
6881
6883
|
}
|
|
@@ -6898,7 +6900,7 @@ function Bu(t) {
|
|
|
6898
6900
|
const { root: e, chart: i, config: a } = t;
|
|
6899
6901
|
let o;
|
|
6900
6902
|
if (Ru(i, a)) {
|
|
6901
|
-
const n = i instanceof Pi ? Es :
|
|
6903
|
+
const n = i instanceof Pi ? Es : _d;
|
|
6902
6904
|
o = i.set("cursor", n.new(e, {})), ab(i);
|
|
6903
6905
|
}
|
|
6904
6906
|
return o;
|
|
@@ -7239,7 +7241,7 @@ function cS(t, e) {
|
|
|
7239
7241
|
});
|
|
7240
7242
|
}
|
|
7241
7243
|
function uS(t) {
|
|
7242
|
-
const { root: e, chartConfig: i, seriesConfig: a, xAxis: o, yAxis: n, options: s } = t, { id: r, name: l } = a, { xField: d, yField: c, xAxisField: u, yAxisField: m } = za(i, a), g =
|
|
7244
|
+
const { root: e, chartConfig: i, seriesConfig: a, xAxis: o, yAxis: n, options: s } = t, { id: r, name: l } = a, { xField: d, yField: c, xAxisField: u, yAxisField: m } = za(i, a), g = Fm(i), h = ze.new(e, {
|
|
7243
7245
|
id: r,
|
|
7244
7246
|
name: l,
|
|
7245
7247
|
stacked: g,
|
|
@@ -7269,7 +7271,7 @@ function fS(t) {
|
|
|
7269
7271
|
isChartFillSymbol: !0
|
|
7270
7272
|
};
|
|
7271
7273
|
let b = {}, p = {};
|
|
7272
|
-
const S =
|
|
7274
|
+
const S = kd(a);
|
|
7273
7275
|
if (e.columns.length === 0 ? b = lt({
|
|
7274
7276
|
root: l,
|
|
7275
7277
|
seriesIndex: a,
|
|
@@ -7774,7 +7776,7 @@ function _n(t) {
|
|
|
7774
7776
|
let d;
|
|
7775
7777
|
if (l.type === y.BoxPlotSeries) {
|
|
7776
7778
|
const c = OS({ chartConfig: o, seriesConfig: l, type: s });
|
|
7777
|
-
d =
|
|
7779
|
+
d = mn.new(e, {
|
|
7778
7780
|
id: `${l.id}_${s}`,
|
|
7779
7781
|
xAxis: i,
|
|
7780
7782
|
yAxis: a,
|
|
@@ -8061,14 +8063,14 @@ function qS(t) {
|
|
|
8061
8063
|
let D, O, R;
|
|
8062
8064
|
if (!Number.isFinite(k) && r)
|
|
8063
8065
|
R = Be(r), !r.outline && s && (R.outline = s);
|
|
8064
|
-
else if (n ===
|
|
8066
|
+
else if (n === Zd.Renderer) {
|
|
8065
8067
|
const B = I?.[G.rendererSymbolField];
|
|
8066
8068
|
so(B) && (R = Be(B), !B.outline && s && (R.outline = s));
|
|
8067
8069
|
}
|
|
8068
8070
|
R ? Ki({
|
|
8069
8071
|
element: v,
|
|
8070
8072
|
fillSymbol: R
|
|
8071
|
-
}) : (typeof m == "number" && k < m ? { color: D, opacity: O } = x : typeof g == "number" && k > g ? { color: D, opacity: O } = C : (D =
|
|
8073
|
+
}) : (typeof m == "number" && k < m ? { color: D, opacity: O } = x : typeof g == "number" && k > g ? { color: D, opacity: O } = C : (D = lg.interpolate((k - L) / (T - L), h, p, "rgb"), O = b + (k - L) / (T - L) * (S - b)), D && v.set("fill", D), O !== void 0 && v.set("fillOpacity", O));
|
|
8072
8074
|
}
|
|
8073
8075
|
}
|
|
8074
8076
|
}
|
|
@@ -8147,7 +8149,7 @@ function QS(t) {
|
|
|
8147
8149
|
}), d = lt({
|
|
8148
8150
|
root: r,
|
|
8149
8151
|
seriesIndex: a,
|
|
8150
|
-
seriesSymbol: i.lineSymbol ??
|
|
8152
|
+
seriesSymbol: i.lineSymbol ?? Id(a),
|
|
8151
8153
|
element: e,
|
|
8152
8154
|
colorMatch: n,
|
|
8153
8155
|
rendererSymbol: l
|
|
@@ -8161,7 +8163,7 @@ function JS(t) {
|
|
|
8161
8163
|
if (d !== void 0) {
|
|
8162
8164
|
o.markerVisible !== !1 && o.visible !== !1 ? e.bulletsContainer.show() : e.bulletsContainer.hide();
|
|
8163
8165
|
let { markerSymbol: c } = o;
|
|
8164
|
-
c === void 0 && (c =
|
|
8166
|
+
c === void 0 && (c = $d(), c.color = s), n ? c.color = s : c.color ??= s;
|
|
8165
8167
|
const u = Tt({
|
|
8166
8168
|
dataItem: e.dataItems[0]?.dataContext,
|
|
8167
8169
|
seriesConfig: o,
|
|
@@ -8342,7 +8344,7 @@ function ax(t) {
|
|
|
8342
8344
|
}
|
|
8343
8345
|
function ox(t, e) {
|
|
8344
8346
|
const { connectLines: i, temporalBinning: a } = e, o = a?.nullPolicy;
|
|
8345
|
-
t.set("connect", i !== !1 && o !==
|
|
8347
|
+
t.set("connect", i !== !1 && o !== Qd.Null);
|
|
8346
8348
|
}
|
|
8347
8349
|
function nx(t) {
|
|
8348
8350
|
const {
|
|
@@ -8598,7 +8600,7 @@ function Bl(t, e) {
|
|
|
8598
8600
|
}), { slices: m, groupOfSlicesSymbols: g, groupOfSlices: h };
|
|
8599
8601
|
}
|
|
8600
8602
|
async function qu(t) {
|
|
8601
|
-
const { data: e } = t, i = e && "dataItems" in e ? e.dataItems : [], { root: a, chartConfig: o, queryObject: n, usePopupTemplateFieldsInfo: s, labelUpdateNeeded: r, utilsStrings: l } = t, d = o.series[0], { x: c } = d, u = !
|
|
8603
|
+
const { data: e } = t, i = e && "dataItems" in e ? e.dataItems : [], { root: a, chartConfig: o, queryObject: n, usePopupTemplateFieldsInfo: s, labelUpdateNeeded: r, utilsStrings: l } = t, d = o.series[0], { x: c } = d, u = !wd({ chartConfig: o }), g = X([d]) === P.PieFromFields, b = ut(n).objectIdField, p = await Ft(n, s), S = {
|
|
8602
8604
|
root: a,
|
|
8603
8605
|
x: c,
|
|
8604
8606
|
isNonAggregatedChart: u,
|
|
@@ -8627,7 +8629,7 @@ function fx(t, e) {
|
|
|
8627
8629
|
// see: https://www.amcharts.com/docs/v5/reference/tick/#crisp_setting
|
|
8628
8630
|
crisp: !1
|
|
8629
8631
|
});
|
|
8630
|
-
const o = i?.lineSymbol ??
|
|
8632
|
+
const o = i?.lineSymbol ?? ln({ color: Dd });
|
|
8631
8633
|
a && (o.width = 0), zt({
|
|
8632
8634
|
element: t.ticks.template,
|
|
8633
8635
|
lineSymbol: o,
|
|
@@ -9058,7 +9060,7 @@ async function In(t) {
|
|
|
9058
9060
|
errorStrings: C,
|
|
9059
9061
|
groupOfSlicesUpdateNeeded: v,
|
|
9060
9062
|
labelUpdateNeeded: L
|
|
9061
|
-
} = t, { chartRenderer: T } = i, { root: k } = e, { series: I } = i, D = E(i.series), O = X(i.series), R = e.series.values, B = Li(i), M = i.series.length, V = /* @__PURE__ */ new Map(), W =
|
|
9063
|
+
} = t, { chartRenderer: T } = i, { root: k } = e, { series: I } = i, D = E(i.series), O = X(i.series), R = e.series.values, B = Li(i), M = i.series.length, V = /* @__PURE__ */ new Map(), W = Od(p), z = await Ft(p, a?.usePopupTemplateFieldsInfo), H = ut(p), K = sn(T, H.renderer), fe = l || s || r || d, J = {
|
|
9062
9064
|
root: k,
|
|
9063
9065
|
chartConfig: i,
|
|
9064
9066
|
queryObject: p,
|
|
@@ -9275,7 +9277,7 @@ async function wx(t) {
|
|
|
9275
9277
|
}
|
|
9276
9278
|
}
|
|
9277
9279
|
function Dx(t) {
|
|
9278
|
-
const e =
|
|
9280
|
+
const e = dg.new(t, {});
|
|
9279
9281
|
return e.getPrivate("content").classList.add("arcgis-charts-modal"), e;
|
|
9280
9282
|
}
|
|
9281
9283
|
function Ml(t) {
|
|
@@ -9311,8 +9313,8 @@ function Zu(t) {
|
|
|
9311
9313
|
function $n(t) {
|
|
9312
9314
|
const { chart: e, chartModal: i, chartConfig: a, invalidType: o, elementCount: n, seriesCount: s, errorStrings: r } = t, l = w(e.uid, "queryObject"), d = w(e.uid, "options"), c = w(e.uid, "formatLocale"), u = a !== void 0 && wa({
|
|
9313
9315
|
seriesConfig: a.series[0],
|
|
9314
|
-
xAxisValueFormatType:
|
|
9315
|
-
}), m =
|
|
9316
|
+
xAxisValueFormatType: dn(a)
|
|
9317
|
+
}), m = Rd({
|
|
9316
9318
|
invalidType: o,
|
|
9317
9319
|
elementCount: n,
|
|
9318
9320
|
seriesCount: s,
|
|
@@ -9323,7 +9325,7 @@ function $n(t) {
|
|
|
9323
9325
|
isTemporalChart: u,
|
|
9324
9326
|
errorStrings: r
|
|
9325
9327
|
});
|
|
9326
|
-
|
|
9328
|
+
Bd(m, e.root.dom), i && d?.showUIMessages !== !1 && Ln(e) && br({
|
|
9327
9329
|
chartModal: i,
|
|
9328
9330
|
title: m.header,
|
|
9329
9331
|
message: m.message,
|
|
@@ -9355,7 +9357,7 @@ function Ku(t) {
|
|
|
9355
9357
|
}
|
|
9356
9358
|
function Qu(t) {
|
|
9357
9359
|
const { chart: e, chartModal: i, chartConfig: a, data: o, errorStrings: n } = t, s = w(e.uid, "options"), r = Ti(o);
|
|
9358
|
-
(i?.get("content") === void 0 || i?.get("content") === "") &&
|
|
9360
|
+
(i?.get("content") === void 0 || i?.get("content") === "") && Md({
|
|
9359
9361
|
chartConfig: a,
|
|
9360
9362
|
nullAsValid: s?.nullAsValid,
|
|
9361
9363
|
dataSet: r
|
|
@@ -9453,20 +9455,20 @@ function Rx(t, e) {
|
|
|
9453
9455
|
return i = d || c, i;
|
|
9454
9456
|
}
|
|
9455
9457
|
function Bx(t) {
|
|
9456
|
-
const { chartSeries: e, oldSeries: i, newSeries: a } = t, o =
|
|
9458
|
+
const { chartSeries: e, oldSeries: i, newSeries: a } = t, o = Nd(i, a);
|
|
9457
9459
|
for (let n = 0; n < o.length; n += 1) {
|
|
9458
9460
|
const s = o[n][0], r = o[n][1], l = e.length;
|
|
9459
9461
|
s >= 0 && s < l && r >= 0 && r < l && e.swap(o[n][0], o[n][1]);
|
|
9460
9462
|
}
|
|
9461
9463
|
}
|
|
9462
9464
|
function Mx() {
|
|
9463
|
-
|
|
9465
|
+
cg(lh);
|
|
9464
9466
|
}
|
|
9465
9467
|
function Nx(t) {
|
|
9466
9468
|
t.dispose();
|
|
9467
9469
|
}
|
|
9468
9470
|
async function Px(t, e) {
|
|
9469
|
-
const { root: i } = t, { t9nLocale: a } =
|
|
9471
|
+
const { root: i } = t, { t9nLocale: a } = gn(e ?? document.documentElement), o = cn(e ?? document.documentElement), n = await $h(a);
|
|
9470
9472
|
i.locale = n, le(t.uid, {
|
|
9471
9473
|
locale: a,
|
|
9472
9474
|
formatLocale: o,
|
|
@@ -9481,7 +9483,7 @@ function gs(t) {
|
|
|
9481
9483
|
}
|
|
9482
9484
|
}
|
|
9483
9485
|
function Vx(t) {
|
|
9484
|
-
return
|
|
9486
|
+
return ug.rootElements.find((e) => e.dom === t)?.dispose(), fg.new(t);
|
|
9485
9487
|
}
|
|
9486
9488
|
function Wx(t, e) {
|
|
9487
9489
|
t.container.children.clear();
|
|
@@ -9677,26 +9679,26 @@ async function Hx(t) {
|
|
|
9677
9679
|
throw new Error();
|
|
9678
9680
|
let C = r, v = w(e.uid, "config");
|
|
9679
9681
|
const L = w(e.uid, "initialized");
|
|
9680
|
-
if (e.isDisposed() || L === !1 || !
|
|
9682
|
+
if (e.isDisposed() || L === !1 || !Pd(v, C))
|
|
9681
9683
|
throw new li(Za.ChartDisposed);
|
|
9682
9684
|
if (v ??= C, le(e.uid, { queryObject: m }), s.valid) {
|
|
9683
9685
|
const T = X(C.series), k = E(C.series), I = oi(C), D = w(e.uid, "seriesFilteredOut"), O = w(e.uid, "unfilteredConfig");
|
|
9684
9686
|
le(e.uid, {
|
|
9685
9687
|
config: Be(C),
|
|
9686
9688
|
options: l,
|
|
9687
|
-
isNonAggregatedChart: !
|
|
9689
|
+
isNonAggregatedChart: !un(T),
|
|
9688
9690
|
isRotated: I,
|
|
9689
9691
|
filterBySelection: l?.filterBySelection
|
|
9690
9692
|
}), oS({ chart: e, updateOptions: l, chartModal: a });
|
|
9691
|
-
const R = await Ft(m, x), B =
|
|
9693
|
+
const R = await Ft(m, x), B = Am(v, C), M = Vd(v, C), V = Wd(v, C), W = Tm(v, C), z = Rx(v, C), H = Ms(v, C), K = km(v, C), fe = Ed(v, C), J = Im(v, C), te = $m(v, C), ne = Ns({
|
|
9692
9694
|
oldConfig: D ? O : v,
|
|
9693
9695
|
newConfig: C,
|
|
9694
9696
|
dataWasUpdated: d
|
|
9695
|
-
}), me =
|
|
9697
|
+
}), me = wm(v, r) || Dm(v, r), Fe = zd({
|
|
9696
9698
|
oldConfig: v,
|
|
9697
9699
|
newConfig: C,
|
|
9698
9700
|
rotationChanged: M
|
|
9699
|
-
}), nt =
|
|
9701
|
+
}), nt = Om(v, r), De = v.series, Me = C.series;
|
|
9700
9702
|
if (d) {
|
|
9701
9703
|
o.showLoader(l?.hideLoaderAnimation !== !0);
|
|
9702
9704
|
const { data: Lt, queryConfig: zn, valid: sm, count: Er, invalidType: rm } = g ?? {};
|
|
@@ -9726,8 +9728,8 @@ async function Hx(t) {
|
|
|
9726
9728
|
chartConfig: C,
|
|
9727
9729
|
fieldList: R,
|
|
9728
9730
|
isTimeBinningSeries: wa({
|
|
9729
|
-
seriesConfig:
|
|
9730
|
-
xAxisValueFormatType:
|
|
9731
|
+
seriesConfig: Hd(r),
|
|
9732
|
+
xAxisValueFormatType: dn(r),
|
|
9731
9733
|
setTimeBinningInfoWhenNotProvided: l?.setTimeBinningInfoWhenNotProvided
|
|
9732
9734
|
})
|
|
9733
9735
|
}), k === y.BoxPlotSeries && Yu({
|
|
@@ -9956,7 +9958,7 @@ async function Yx(t) {
|
|
|
9956
9958
|
filterBySelection: o?.filterBySelection,
|
|
9957
9959
|
config: S,
|
|
9958
9960
|
queryObject: r,
|
|
9959
|
-
isNonAggregatedChart: !
|
|
9961
|
+
isNonAggregatedChart: !un(D),
|
|
9960
9962
|
isRotated: O
|
|
9961
9963
|
}), Bu({ root: x, chart: C, config: S }), Mu({
|
|
9962
9964
|
root: x,
|
|
@@ -10128,7 +10130,7 @@ function zi(t, e) {
|
|
|
10128
10130
|
const F = {
|
|
10129
10131
|
...G
|
|
10130
10132
|
};
|
|
10131
|
-
async function Qx(t =
|
|
10133
|
+
async function Qx(t = gn(document.documentElement).t9nLocale) {
|
|
10132
10134
|
let e = await import("@amcharts/amcharts4/lang/en_US.js");
|
|
10133
10135
|
switch (t) {
|
|
10134
10136
|
case "ar":
|
|
@@ -10250,7 +10252,7 @@ async function Qx(t = hn(document.documentElement).t9nLocale) {
|
|
|
10250
10252
|
return { ...e.default, ...i };
|
|
10251
10253
|
}
|
|
10252
10254
|
function ii(t) {
|
|
10253
|
-
const { type: e, iLocale: i, formatLocale: a =
|
|
10255
|
+
const { type: e, iLocale: i, formatLocale: a = cn(document.documentElement) } = t;
|
|
10254
10256
|
let o;
|
|
10255
10257
|
switch (e) {
|
|
10256
10258
|
case y.NumberAxisFormat: {
|
|
@@ -10392,7 +10394,7 @@ function sC(t, e, i, a) {
|
|
|
10392
10394
|
});
|
|
10393
10395
|
return o.numberFormat = t, (n) => {
|
|
10394
10396
|
let s = 0;
|
|
10395
|
-
return n instanceof Date ? n.toLocaleString(void 0, t) : (s = typeof n != "string" ? n ?? 0 :
|
|
10397
|
+
return n instanceof Date ? n.toLocaleString(void 0, t) : (s = typeof n != "string" ? n ?? 0 : Fd(n, o.intlLocales), a === !0 && t.style === "percent" && (s /= 100), o.format(s));
|
|
10396
10398
|
};
|
|
10397
10399
|
}
|
|
10398
10400
|
function Nl(t) {
|
|
@@ -11832,7 +11834,7 @@ function tv(t) {
|
|
|
11832
11834
|
let u = "";
|
|
11833
11835
|
if (e && o !== void 0) {
|
|
11834
11836
|
let m = r;
|
|
11835
|
-
m === void 0 && (m =
|
|
11837
|
+
m === void 0 && (m = md(), m.intlOptions.minimumFractionDigits = 2, m.intlOptions.maximumFractionDigits = 2), u = ho({
|
|
11836
11838
|
value: o,
|
|
11837
11839
|
valueFormat: m,
|
|
11838
11840
|
iLocale: i.chart.language.locale,
|
|
@@ -11993,7 +11995,7 @@ function av(t) {
|
|
|
11993
11995
|
case P.BarAndLineSplitByNoAggregation:
|
|
11994
11996
|
case P.BarAndLineSplitBy:
|
|
11995
11997
|
{
|
|
11996
|
-
const fe = vi(s.query?.where, !1), J =
|
|
11998
|
+
const fe = vi(s.query?.where, !1), J = fd({
|
|
11997
11999
|
value: Ve(i, fe)
|
|
11998
12000
|
});
|
|
11999
12001
|
K.push(
|
|
@@ -12622,7 +12624,7 @@ function Iv(t) {
|
|
|
12622
12624
|
const c = o ? e.yAxes.getIndex(0) : e.xAxes.getIndex(0);
|
|
12623
12625
|
let u;
|
|
12624
12626
|
c instanceof Ee ? u = f.DateAxis : c instanceof Ie ? u = f.ValueAxis : u = f.CategoryAxis;
|
|
12625
|
-
const g = a?.orderOptions?.data?.orderBy ===
|
|
12627
|
+
const g = a?.orderOptions?.data?.orderBy === hn.Descending ? f.OrderByFieldsDESC : f.OrderByFieldsASC;
|
|
12626
12628
|
i = `${n}-${l}-${r}-${d}-${u}-${g}`;
|
|
12627
12629
|
}
|
|
12628
12630
|
return i;
|
|
@@ -12696,7 +12698,7 @@ function Dv(t, e) {
|
|
|
12696
12698
|
// back to default state when there's no selection at all
|
|
12697
12699
|
}), r && c === q.None && (m.clickable = !1));
|
|
12698
12700
|
});
|
|
12699
|
-
}),
|
|
12701
|
+
}), ud(n, e.htmlContainer);
|
|
12700
12702
|
}
|
|
12701
12703
|
}
|
|
12702
12704
|
function Ov(t) {
|
|
@@ -12909,7 +12911,7 @@ function Uv(t) {
|
|
|
12909
12911
|
seriesIndex: a,
|
|
12910
12912
|
chartSubType: v,
|
|
12911
12913
|
colorMatch: i.colorMatch === !0,
|
|
12912
|
-
rendererType:
|
|
12914
|
+
rendererType: sn(i.chartRenderer, k?.renderer)
|
|
12913
12915
|
}), Pf(u, p);
|
|
12914
12916
|
const I = Cr({ chart: e, lineSeries: p, applyPropertiesToClones: !1 });
|
|
12915
12917
|
return kf(I, p), mv(p), fa({ element: I, customSelectionTheme: r }), To(e, I), OC({
|
|
@@ -12927,7 +12929,7 @@ function qv(t) {
|
|
|
12927
12929
|
if (l !== void 0) {
|
|
12928
12930
|
o.markerVisible !== !1 && o.visible !== !1 ? e.bulletsContainer.show() : e.bulletsContainer.hide();
|
|
12929
12931
|
let { markerSymbol: u } = o;
|
|
12930
|
-
u === void 0 && (u =
|
|
12932
|
+
u === void 0 && (u = $d(), u.color = s), n ? u.color = s : u.color ??= s;
|
|
12931
12933
|
const m = /* @__PURE__ */ new Set();
|
|
12932
12934
|
let g;
|
|
12933
12935
|
xr({ element: l, markerSymbol: u }), l.clones.each((h) => {
|
|
@@ -12979,7 +12981,7 @@ function Nf(t) {
|
|
|
12979
12981
|
}), d = Ji({
|
|
12980
12982
|
seriesConfig: a,
|
|
12981
12983
|
seriesIndex: i,
|
|
12982
|
-
seriesSymbol: a.lineSymbol ??
|
|
12984
|
+
seriesSymbol: a.lineSymbol ?? Id(i),
|
|
12983
12985
|
element: r,
|
|
12984
12986
|
colorMatch: n,
|
|
12985
12987
|
rendererSymbol: l
|
|
@@ -13020,11 +13022,11 @@ function Vf(t) {
|
|
|
13020
13022
|
}
|
|
13021
13023
|
function _v(t) {
|
|
13022
13024
|
const { seriesConfig: e, lineSeries: i, isRotated: a } = t;
|
|
13023
|
-
e.lineSmoothed === !0 ? i.smoothing = a ?
|
|
13025
|
+
e.lineSmoothed === !0 ? i.smoothing = a ? Kr.MonotoneY : Kr.MonotoneX : i.smoothing = F.lineSeries.lineSmoothedKind;
|
|
13024
13026
|
}
|
|
13025
13027
|
function Yl(t, e) {
|
|
13026
13028
|
const { connectLines: i, temporalBinning: a } = e, o = a?.nullPolicy;
|
|
13027
|
-
t.connect = i !== !1 && o !==
|
|
13029
|
+
t.connect = i !== !1 && o !== Qd.Null;
|
|
13028
13030
|
}
|
|
13029
13031
|
function Zv(t) {
|
|
13030
13032
|
const {
|
|
@@ -13677,7 +13679,7 @@ function qa(t) {
|
|
|
13677
13679
|
});
|
|
13678
13680
|
}
|
|
13679
13681
|
function hL(t) {
|
|
13680
|
-
|
|
13682
|
+
bd(), yd(t.htmlContainer), qa({ chart: t });
|
|
13681
13683
|
}
|
|
13682
13684
|
function pL(t) {
|
|
13683
13685
|
const { chart: e, chartType: i, showMean: a } = t;
|
|
@@ -13889,7 +13891,7 @@ function CL(t) {
|
|
|
13889
13891
|
p.uid,
|
|
13890
13892
|
"currentSelectionIndexes"
|
|
13891
13893
|
);
|
|
13892
|
-
B =
|
|
13894
|
+
B = vd({
|
|
13893
13895
|
itemsA: R,
|
|
13894
13896
|
itemsB: I,
|
|
13895
13897
|
isPieFromFields: T === P.PieFromFields
|
|
@@ -13916,7 +13918,7 @@ function CL(t) {
|
|
|
13916
13918
|
yAxisField: d
|
|
13917
13919
|
});
|
|
13918
13920
|
let W = $(p.uid, "computedSelectionDataItems") ?? [];
|
|
13919
|
-
if (W.push(...V), S.series.length > 1 && T !== P.BarAndLineNoAggregation && T !== P.BarAndLineSplitByNoAggregation && (W =
|
|
13921
|
+
if (W.push(...V), S.series.length > 1 && T !== P.BarAndLineNoAggregation && T !== P.BarAndLineSplitByNoAggregation && (W = Ld({
|
|
13920
13922
|
data: W,
|
|
13921
13923
|
x: S.series[0].x,
|
|
13922
13924
|
splitByField: vi(S.series[0].query?.where)
|
|
@@ -14004,7 +14006,7 @@ function CL(t) {
|
|
|
14004
14006
|
}
|
|
14005
14007
|
}
|
|
14006
14008
|
async function vL(t) {
|
|
14007
|
-
const { chart: e, options: i, dataWasUpdated: a, chartData: o, chartConfig: n, queryObject: s, rotationChanged: r, errorStrings: l } = t, d = $(e.uid, "currentSelectionOIDs"), c = $(e.uid, "queryConfig"), u = await
|
|
14009
|
+
const { chart: e, options: i, dataWasUpdated: a, chartData: o, chartConfig: n, queryObject: s, rotationChanged: r, errorStrings: l } = t, d = $(e.uid, "currentSelectionOIDs"), c = $(e.uid, "queryConfig"), u = await Cd({
|
|
14008
14010
|
chartConfig: n,
|
|
14009
14011
|
queryConfig: c,
|
|
14010
14012
|
chartData: o,
|
|
@@ -14085,7 +14087,7 @@ async function $o(t) {
|
|
|
14085
14087
|
if (D.length > 0)
|
|
14086
14088
|
c.push(...D);
|
|
14087
14089
|
else if (o?.returnSelectionOIDs !== !1) {
|
|
14088
|
-
const O =
|
|
14090
|
+
const O = Sd({
|
|
14089
14091
|
dataContext: C,
|
|
14090
14092
|
options: o,
|
|
14091
14093
|
xAxisField: m,
|
|
@@ -14100,7 +14102,7 @@ async function $o(t) {
|
|
|
14100
14102
|
}), o?.returnSelectionOIDs !== !1 && s !== void 0 && l.length > 0) {
|
|
14101
14103
|
const C = { ...$(e.uid, "queryConfig") };
|
|
14102
14104
|
delete C.groupByFieldsForStatistics, delete C.orderByFields, delete C.outStatistics;
|
|
14103
|
-
const v = await
|
|
14105
|
+
const v = await xd({
|
|
14104
14106
|
whereList: l,
|
|
14105
14107
|
queryObject: s,
|
|
14106
14108
|
queryConfig: C
|
|
@@ -14743,7 +14745,7 @@ function n0(t) {
|
|
|
14743
14745
|
}), r.axis.invalidateLabels();
|
|
14744
14746
|
}
|
|
14745
14747
|
function wr(t) {
|
|
14746
|
-
return (t ??
|
|
14748
|
+
return (t ?? Gd()) === we.Side;
|
|
14747
14749
|
}
|
|
14748
14750
|
function Gf(t, e) {
|
|
14749
14751
|
let i, a;
|
|
@@ -14859,7 +14861,7 @@ function f0(t) {
|
|
|
14859
14861
|
maximum: r.max
|
|
14860
14862
|
});
|
|
14861
14863
|
}
|
|
14862
|
-
a.length > 0 && a.every((o) => Number.isFinite(o.minimum) && Number.isFinite(o.maximum)) &&
|
|
14864
|
+
a.length > 0 && a.every((o) => Number.isFinite(o.minimum) && Number.isFinite(o.maximum)) && Td(a, e.chart.htmlContainer);
|
|
14863
14865
|
}
|
|
14864
14866
|
}
|
|
14865
14867
|
function m0(t) {
|
|
@@ -14973,7 +14975,7 @@ function Yf(t, e) {
|
|
|
14973
14975
|
const d = yo({
|
|
14974
14976
|
chartConfig: o,
|
|
14975
14977
|
isSecondValueAxis: e
|
|
14976
|
-
}), { minY: c, maxY: u, minX: m, maxX: g } =
|
|
14978
|
+
}), { minY: c, maxY: u, minX: m, maxX: g } = rn({
|
|
14977
14979
|
chartConfig: o,
|
|
14978
14980
|
chartData: i.data,
|
|
14979
14981
|
filteredSeriesIds: d
|
|
@@ -15007,7 +15009,7 @@ function S0(t) {
|
|
|
15007
15009
|
chartConfig: m,
|
|
15008
15010
|
isSecondValueAxis: o,
|
|
15009
15011
|
seriesIds: p
|
|
15010
|
-
}), x =
|
|
15012
|
+
}), x = rn({
|
|
15011
15013
|
chartConfig: m,
|
|
15012
15014
|
chartData: c.data,
|
|
15013
15015
|
filteredSeriesIds: S
|
|
@@ -15179,7 +15181,7 @@ function Ho(t) {
|
|
|
15179
15181
|
element: e.renderer.line,
|
|
15180
15182
|
lineSymbol: {
|
|
15181
15183
|
color: [...F.color],
|
|
15182
|
-
...C ??
|
|
15184
|
+
...C ?? ln()
|
|
15183
15185
|
},
|
|
15184
15186
|
visible: b
|
|
15185
15187
|
}), _i({
|
|
@@ -15338,7 +15340,7 @@ function I0(t) {
|
|
|
15338
15340
|
S instanceof ot && (S.dataFields.category = ws(i));
|
|
15339
15341
|
const v = S.renderer, L = v.grid.template;
|
|
15340
15342
|
L.location = 0, v.cellStartLocation = 0.1, v.cellEndLocation = 0.9;
|
|
15341
|
-
const T = i.orderOptions?.data?.orderBy ===
|
|
15343
|
+
const T = i.orderOptions?.data?.orderBy === hn.Descending;
|
|
15342
15344
|
let k = n === !0;
|
|
15343
15345
|
T && S instanceof Ee && (k = !k), v.inversed = k;
|
|
15344
15346
|
}
|
|
@@ -16030,7 +16032,7 @@ function rF(t) {
|
|
|
16030
16032
|
isChartFillSymbol: !0
|
|
16031
16033
|
};
|
|
16032
16034
|
let h = {}, b = {};
|
|
16033
|
-
const p =
|
|
16035
|
+
const p = kd(a);
|
|
16034
16036
|
if (e.columns.length === 0 ? h = Ji({
|
|
16035
16037
|
seriesConfig: i,
|
|
16036
16038
|
seriesIndex: a,
|
|
@@ -16415,7 +16417,7 @@ function LF(t) {
|
|
|
16415
16417
|
});
|
|
16416
16418
|
}
|
|
16417
16419
|
async function FF(t) {
|
|
16418
|
-
const { chartConfig: e, queryObject: i, usePopupTemplateFieldsInfo: a, labelUpdateNeeded: o, utilsStrings: n } = t, { series: s } = e, r = s[0], { x: l } = r, d = !
|
|
16420
|
+
const { chartConfig: e, queryObject: i, usePopupTemplateFieldsInfo: a, labelUpdateNeeded: o, utilsStrings: n } = t, { series: s } = e, r = s[0], { x: l } = r, d = !wd({ chartConfig: e }), c = X([r]), u = c === P.PieFromFields, g = ut(i).objectIdField, h = await Ft(i, a);
|
|
16419
16421
|
return {
|
|
16420
16422
|
x: l,
|
|
16421
16423
|
isNonAggregatedChart: d,
|
|
@@ -16456,7 +16458,7 @@ function TF(t) {
|
|
|
16456
16458
|
colorMatch: r
|
|
16457
16459
|
});
|
|
16458
16460
|
let u = s;
|
|
16459
|
-
d?.color || (u = AF(
|
|
16461
|
+
d?.color || (u = AF(Rm, a, s));
|
|
16460
16462
|
const m = new uc();
|
|
16461
16463
|
m.dataItem = {
|
|
16462
16464
|
dataContext: e
|
|
@@ -16550,7 +16552,7 @@ async function Rr(t) {
|
|
|
16550
16552
|
function kF(t, e) {
|
|
16551
16553
|
const { ticks: i } = e, a = i?.visible === !1 || e.dataLabelsInside === !0 || e.dataLabels === void 0 || e.dataLabels?.visible === !1 || e.dataLabelsOffset !== void 0 && e.dataLabelsOffset <= 0;
|
|
16552
16554
|
t.ticks.template.disabled = a, t.ticks.template.strokeOpacity = F.pieChart.ticksOpacity;
|
|
16553
|
-
const o = i?.lineSymbol ??
|
|
16555
|
+
const o = i?.lineSymbol ?? ln({ color: Dd });
|
|
16554
16556
|
a && (o.width = 0), _i({
|
|
16555
16557
|
element: t.ticks.template,
|
|
16556
16558
|
lineSymbol: o,
|
|
@@ -16751,7 +16753,7 @@ function im(t) {
|
|
|
16751
16753
|
chartContainer: r
|
|
16752
16754
|
} = F, l = a?.series, d = E(l), c = $t({ config: a }), u = l?.[0]?.dataLabels?.visible ?? !0;
|
|
16753
16755
|
let m = F.chartDefaultPaddingRight;
|
|
16754
|
-
if (c && u && (d === y.LineSeries || d === y.ComboLineAndBarSeries || d === y.BarSeries && (a?.stackedType ??
|
|
16756
|
+
if (c && u && (d === y.LineSeries || d === y.ComboLineAndBarSeries || d === y.BarSeries && (a?.stackedType ?? Gd()) === we.Side)) {
|
|
16755
16757
|
let h = 0;
|
|
16756
16758
|
const b = (p) => He(p.uid, "isDataLabel") ?? !1;
|
|
16757
16759
|
t.series.each((p) => {
|
|
@@ -16845,8 +16847,8 @@ function ha(t) {
|
|
|
16845
16847
|
function ta(t) {
|
|
16846
16848
|
const { chart: e, chartConfig: i, invalidType: a, elementCount: o, seriesCount: n, errorStrings: s } = t, r = $(e.uid, "queryObject"), l = $(e.uid, "options"), d = $(e.uid, "formatLocale"), c = i !== void 0 && wa({
|
|
16847
16849
|
seriesConfig: i.series[0],
|
|
16848
|
-
xAxisValueFormatType:
|
|
16849
|
-
}), u =
|
|
16850
|
+
xAxisValueFormatType: dn(i)
|
|
16851
|
+
}), u = Rd({
|
|
16850
16852
|
invalidType: a,
|
|
16851
16853
|
elementCount: o,
|
|
16852
16854
|
seriesCount: n,
|
|
@@ -16857,11 +16859,11 @@ function ta(t) {
|
|
|
16857
16859
|
formatLocale: d,
|
|
16858
16860
|
isTemporalChart: c
|
|
16859
16861
|
});
|
|
16860
|
-
|
|
16862
|
+
Bd(u, e.htmlContainer), e.modal !== void 0 && l?.showUIMessages !== !1 && Ct(e) && (e.modal.closable = !1, e.openModal(u.message, u.header));
|
|
16861
16863
|
}
|
|
16862
16864
|
function id(t) {
|
|
16863
16865
|
const { chart: e, chartConfig: i, errorStrings: a } = t, o = $(e.uid, "options");
|
|
16864
|
-
(e.modal?.content === void 0 || e.modal?.content === "") &&
|
|
16866
|
+
(e.modal?.content === void 0 || e.modal?.content === "") && Md({
|
|
16865
16867
|
chartConfig: i,
|
|
16866
16868
|
nullAsValid: o?.nullAsValid,
|
|
16867
16869
|
dataSet: e.data
|
|
@@ -16908,7 +16910,7 @@ async function Mr(t) {
|
|
|
16908
16910
|
let g = r, h = a, b = Be(o);
|
|
16909
16911
|
if (u !== void 0 && (e instanceof mt || e instanceof Le)) {
|
|
16910
16912
|
h = Be(a);
|
|
16911
|
-
const p =
|
|
16913
|
+
const p = Bm({
|
|
16912
16914
|
data: i,
|
|
16913
16915
|
seriesConfig: a.series
|
|
16914
16916
|
});
|
|
@@ -16978,7 +16980,7 @@ function am(t) {
|
|
|
16978
16980
|
s.series.forEach((g) => {
|
|
16979
16981
|
let h, b;
|
|
16980
16982
|
g.type === y.BoxPlotSeries ? (h = (i ?? e.data).dataItems, b = h?.some(
|
|
16981
|
-
(p) =>
|
|
16983
|
+
(p) => Mm({
|
|
16982
16984
|
dataItem: p,
|
|
16983
16985
|
splitBy: g.query?.where,
|
|
16984
16986
|
showOutliers: m
|
|
@@ -17146,7 +17148,7 @@ function om(t) {
|
|
|
17146
17148
|
}
|
|
17147
17149
|
}
|
|
17148
17150
|
}
|
|
17149
|
-
const p =
|
|
17151
|
+
const p = Um({ chartConfig: i, queryObject: s, chartData: e.data });
|
|
17150
17152
|
p.length > 0 && (e.colors.list = p.map((S) => {
|
|
17151
17153
|
const [x, C, v, L] = S;
|
|
17152
17154
|
return new Uo({ r: x, g: C, b: v, a: L });
|
|
@@ -17171,7 +17173,7 @@ async function Vr(t) {
|
|
|
17171
17173
|
pieSlicesSymbols: S,
|
|
17172
17174
|
utilsStrings: x,
|
|
17173
17175
|
errorStrings: C
|
|
17174
|
-
} = t, v = e.series.values, L = /* @__PURE__ */ new Map(), T = i.series.length, k = E(a), I = Li(i), D = Gt(i), O =
|
|
17176
|
+
} = t, v = e.series.values, L = /* @__PURE__ */ new Map(), T = i.series.length, k = E(a), I = Li(i), D = Gt(i), O = Od(m), R = await Ft(m, g?.usePopupTemplateFieldsInfo), B = ut(m), M = sn(n, B.renderer);
|
|
17175
17177
|
for (const [V, W] of a.entries()) {
|
|
17176
17178
|
const z = E([W]), H = v[V], K = {
|
|
17177
17179
|
numberOfSeries: T,
|
|
@@ -17363,7 +17365,7 @@ async function Wr(t) {
|
|
|
17363
17365
|
htmlContainer: i.htmlContainer,
|
|
17364
17366
|
chartId: i.id,
|
|
17365
17367
|
colorMatchApplied: Ao(i, De)
|
|
17366
|
-
}),
|
|
17368
|
+
}), Yd({
|
|
17367
17369
|
data: { dataItems: i.data },
|
|
17368
17370
|
chartConfig: De,
|
|
17369
17371
|
htmlContainer: i.htmlContainer
|
|
@@ -17374,7 +17376,7 @@ async function Wr(t) {
|
|
|
17374
17376
|
U(i.uid, {
|
|
17375
17377
|
config: De,
|
|
17376
17378
|
isRotated: ji,
|
|
17377
|
-
isNonAggregatedChart: !
|
|
17379
|
+
isNonAggregatedChart: !un(wo)
|
|
17378
17380
|
}), De.axes !== void 0 && (WF({ chart: i, axesConfig: De.axes, chartType: W, isRotated: ji, errorStrings: r }), await Pr({
|
|
17379
17381
|
chart: i,
|
|
17380
17382
|
chartConfig: De,
|
|
@@ -17419,7 +17421,7 @@ async function Wr(t) {
|
|
|
17419
17421
|
scrollbarXConfig: De.axes?.[0]?.scrollbar,
|
|
17420
17422
|
scrollbarYConfig: De.axes?.[1]?.scrollbar
|
|
17421
17423
|
}), uf(i), ff(i, De?.cursorCrosshair), En({ chart: i, actionMode: m, cursorRange: u });
|
|
17422
|
-
const Do =
|
|
17424
|
+
const Do = cn(i.htmlContainer ?? document.documentElement);
|
|
17423
17425
|
i.dateFormatter.intlLocales = Do, VF(i, o?.enableResponsiveFeatures), (i instanceof mt || ko(i.series)) && (V.hideLoader(), Ra(i.htmlContainer)), im(i);
|
|
17424
17426
|
}
|
|
17425
17427
|
}
|
|
@@ -17444,7 +17446,7 @@ async function EF(t) {
|
|
|
17444
17446
|
globalOptions: l
|
|
17445
17447
|
} = t, { errorStrings: d, utilsStrings: c } = s, { createMessage: u } = r ?? {}, m = Zs(e, se);
|
|
17446
17448
|
m.id = i?.id ?? m.uid, U(m.uid, { queryObject: o });
|
|
17447
|
-
const { t9nLocale: g } =
|
|
17449
|
+
const { t9nLocale: g } = gn(m.htmlContainer ?? document.documentElement), h = cn(m.htmlContainer ?? document.documentElement), b = Gs(m.htmlContainer ?? document.documentElement) === "rtl";
|
|
17448
17450
|
await Nr(m, { locale: g, formatLocale: h, rtl: b }), Br(m), m.events.on(N.Inited, () => m.zoomOutButton.deepInvalidate()), ha({
|
|
17449
17451
|
chart: m,
|
|
17450
17452
|
chartConfig: i,
|
|
@@ -17478,7 +17480,7 @@ async function zF(t) {
|
|
|
17478
17480
|
globalOptions: d
|
|
17479
17481
|
} = t, c = Zs(e, Le);
|
|
17480
17482
|
c.id = i?.id ?? c.uid;
|
|
17481
|
-
const u =
|
|
17483
|
+
const u = Xd(c.htmlContainer);
|
|
17482
17484
|
await Nr(c, u), c.radius = Ke(F.pieChart.chartRadius), Br(c), ha({
|
|
17483
17485
|
chart: c,
|
|
17484
17486
|
chartConfig: i,
|
|
@@ -17511,7 +17513,7 @@ async function HF(t) {
|
|
|
17511
17513
|
globalOptions: d
|
|
17512
17514
|
} = t, c = Zs(e, mt);
|
|
17513
17515
|
c.id = i?.id ?? c.uid;
|
|
17514
|
-
const u =
|
|
17516
|
+
const u = Xd(c.htmlContainer);
|
|
17515
17517
|
await Nr(c, u), Br(c), c.maskBullets = !1, ha({
|
|
17516
17518
|
chart: c,
|
|
17517
17519
|
chartConfig: i,
|
|
@@ -17563,11 +17565,11 @@ async function GF(t) {
|
|
|
17563
17565
|
U(i.uid, { config: Be(e), isRotated: T }), U(i.uid, { filterBySelection: l?.filterBySelection }), En({ chart: i, actionMode: l?.actionMode, cursorRange: l?.cursorRange });
|
|
17564
17566
|
const { xOrYChanged: k } = s?.common ?? {};
|
|
17565
17567
|
let { numberOfSeriesChanged: I } = s?.common ?? {};
|
|
17566
|
-
const D =
|
|
17568
|
+
const D = Ed(x, e), O = Vd(x, e), R = Vm(x, e), B = Wm(x, e), M = JSON.stringify(Ur(C)) !== JSON.stringify(Ur(v)), V = Em(x, e), W = zm(x, e), z = Ms(x, e), H = Ns({
|
|
17567
17569
|
oldConfig: p ? S : x,
|
|
17568
17570
|
newConfig: e,
|
|
17569
17571
|
dataWasUpdated: n
|
|
17570
|
-
}), K =
|
|
17572
|
+
}), K = zd({
|
|
17571
17573
|
oldConfig: x,
|
|
17572
17574
|
newConfig: e,
|
|
17573
17575
|
rotationChanged: O
|
|
@@ -17580,7 +17582,7 @@ async function GF(t) {
|
|
|
17580
17582
|
});
|
|
17581
17583
|
let J = !1, te, ne, me = L !== y.BarSeries && L !== y.LineSeries && L !== y.ComboLineAndBarSeries;
|
|
17582
17584
|
const Fe = X(v);
|
|
17583
|
-
if (U(i.uid, { isNonAggregatedChart: !
|
|
17585
|
+
if (U(i.uid, { isNonAggregatedChart: !un(Fe) }), n) {
|
|
17584
17586
|
const { count: Me, valid: ae, invalidType: vt, data: gt, queryConfig: Ot } = r ?? {};
|
|
17585
17587
|
U(i.uid, {
|
|
17586
17588
|
elementCount: Me,
|
|
@@ -17599,14 +17601,14 @@ async function GF(t) {
|
|
|
17599
17601
|
}), a.loaderHandle.hideLoader());
|
|
17600
17602
|
} else if (L === y.BarSeries || L === y.LineSeries || L === y.RadarSeries || L === y.ComboLineAndBarSeries || L === y.BoxPlotSeries) {
|
|
17601
17603
|
const Me = $(i.uid, "elementCount");
|
|
17602
|
-
if (Me !== void 0 && (me =
|
|
17604
|
+
if (Me !== void 0 && (me = Hm({
|
|
17603
17605
|
count: Me,
|
|
17604
17606
|
seriesCount: v.length,
|
|
17605
17607
|
chartType: L,
|
|
17606
17608
|
chartLimits: g
|
|
17607
17609
|
})), me) {
|
|
17608
|
-
const ae =
|
|
17609
|
-
if (ae.length > 0 && (uC(i.series, ae), i.feedLegend(), J = !0),
|
|
17610
|
+
const ae = Nd(C, v);
|
|
17611
|
+
if (ae.length > 0 && (uC(i.series, ae), i.feedLegend(), J = !0), Gm(v[0])) {
|
|
17610
17612
|
const { binTemporalData: vt } = v[0], { unit: gt, size: Ot } = v[0].temporalBinning ?? {};
|
|
17611
17613
|
vt === !1 && gt !== void 0 && Ot !== void 0 && U(i.uid, { timeIntervalInfo: { unit: gt, size: Ot } });
|
|
17612
17614
|
}
|
|
@@ -17639,8 +17641,8 @@ async function GF(t) {
|
|
|
17639
17641
|
chartConfig: e,
|
|
17640
17642
|
fieldList: $(i.uid, "fieldList"),
|
|
17641
17643
|
isTimeBinningSeries: wa({
|
|
17642
|
-
seriesConfig:
|
|
17643
|
-
xAxisValueFormatType:
|
|
17644
|
+
seriesConfig: Hd(e),
|
|
17645
|
+
xAxisValueFormatType: dn(e),
|
|
17644
17646
|
setTimeBinningInfoWhenNotProvided: l?.setTimeBinningInfoWhenNotProvided
|
|
17645
17647
|
})
|
|
17646
17648
|
}), L === y.BoxPlotSeries && Wf({
|
|
@@ -17693,7 +17695,7 @@ async function GF(t) {
|
|
|
17693
17695
|
utilsStrings: c,
|
|
17694
17696
|
errorStrings: u
|
|
17695
17697
|
});
|
|
17696
|
-
const vt = L === y.BoxPlotSeries && (
|
|
17698
|
+
const vt = L === y.BoxPlotSeries && (Xm(v, C) || Ym(v, C));
|
|
17697
17699
|
(i.series === void 0 || i.series.length === 0 || k || I || ae.seriesFilteredOut || M || (L === y.BarSeries || L === y.LineSeries || L === y.RadarSeries || L === y.ComboLineAndBarSeries) && i.series.length !== e.series.length || fe || B || // NOTE: This fix is here to resolve the issue: https://devtopia.esri.com/webgis/arcgis-charts/issues/6537
|
|
17698
17700
|
// TODO: find a better way to order legends for box plot with split by field rather than re-initializing the series in the future.
|
|
17699
17701
|
vt || s?.boxPlot.showMeanChanged) && (!n && (O || vt || fe) && i.invalidateData(), om({
|
|
@@ -17762,7 +17764,7 @@ async function XF(t) {
|
|
|
17762
17764
|
let S = !0, x, C, v = !1;
|
|
17763
17765
|
if (o) {
|
|
17764
17766
|
const { count: L, valid: T, invalidType: k, data: I, queryConfig: D } = l ?? {};
|
|
17765
|
-
x = I, U(e.uid, { elementCount: L, queryConfig: D, initialized: T }), S = T === !0, C = Ti(x), S ? C !== void 0 &&
|
|
17767
|
+
x = I, U(e.uid, { elementCount: L, queryConfig: D, initialized: T }), S = T === !0, C = Ti(x), S ? C !== void 0 && Pm(e.data, C) && (e.data = C, v = !0) : (ta({
|
|
17766
17768
|
chart: e,
|
|
17767
17769
|
invalidType: k,
|
|
17768
17770
|
elementCount: L,
|
|
@@ -17789,7 +17791,7 @@ async function XF(t) {
|
|
|
17789
17791
|
chartConfig: n,
|
|
17790
17792
|
fieldList: $(e.uid, "fieldList")
|
|
17791
17793
|
}), e.validateData());
|
|
17792
|
-
const T = ts({ oldConfig: m, newConfig: n }), k =
|
|
17794
|
+
const T = ts({ oldConfig: m, newConfig: n }), k = Wd(m, n);
|
|
17793
17795
|
let I = await Rr({
|
|
17794
17796
|
chart: e,
|
|
17795
17797
|
chartConfig: n,
|
|
@@ -17802,7 +17804,7 @@ async function XF(t) {
|
|
|
17802
17804
|
data: { dataItems: e.data },
|
|
17803
17805
|
seriesConfig: n.series,
|
|
17804
17806
|
htmlContainer: e.htmlContainer
|
|
17805
|
-
}),
|
|
17807
|
+
}), Yd({
|
|
17806
17808
|
data: { dataItems: e.data },
|
|
17807
17809
|
chartConfig: n,
|
|
17808
17810
|
htmlContainer: e.htmlContainer
|
|
@@ -18020,7 +18022,7 @@ async function qF(t) {
|
|
|
18020
18022
|
options: s
|
|
18021
18023
|
}), OF(h, e), id({ chart: h, chartConfig: m, errorStrings: c }), ad(h, c);
|
|
18022
18024
|
function p() {
|
|
18023
|
-
d &&
|
|
18025
|
+
d && Nm.delete(d), h.isDisposed() || (AC(h), b !== void 0 && (b.loaderHandle.hideLoader(), g.chartElements = void 0), h.dispose());
|
|
18024
18026
|
}
|
|
18025
18027
|
async function S(T) {
|
|
18026
18028
|
const {
|
|
@@ -18033,7 +18035,7 @@ async function qF(t) {
|
|
|
18033
18035
|
configValidationStatus: M,
|
|
18034
18036
|
dataInfo: V
|
|
18035
18037
|
} = T, W = $(h.uid, "initialized"), z = $(h.uid, "config"), H = k?.series, K = H !== void 0 ? E(H) : void 0;
|
|
18036
|
-
if (h.isDisposed() || b === void 0 || W === !1 || !
|
|
18038
|
+
if (h.isDisposed() || b === void 0 || W === !1 || !Pd(z, k))
|
|
18037
18039
|
throw new li(Za.ChartDisposed);
|
|
18038
18040
|
switch (K) {
|
|
18039
18041
|
case y.BoxPlotSeries:
|
|
@@ -18155,7 +18157,7 @@ function jF(t) {
|
|
|
18155
18157
|
const { oldValue: g, newValue: h } = o.get("layer") ?? {};
|
|
18156
18158
|
u = Fa(g) !== Fa(h);
|
|
18157
18159
|
}
|
|
18158
|
-
return !u && e && i && ({ dataUpdateNeeded: u, dataUpdateDetails: m } =
|
|
18160
|
+
return !u && e && i && ({ dataUpdateNeeded: u, dataUpdateDetails: m } = qm({
|
|
18159
18161
|
previousConfig: i,
|
|
18160
18162
|
newConfig: e,
|
|
18161
18163
|
options: n,
|
|
@@ -18329,7 +18331,7 @@ class tA extends dm {
|
|
|
18329
18331
|
}
|
|
18330
18332
|
set config(e) {
|
|
18331
18333
|
const i = this._config;
|
|
18332
|
-
this._config = e, i && e &&
|
|
18334
|
+
this._config = e, i && e && jm(i, e) && this.updatedProps.set("forceDataUpdate", { oldValue: void 0, newValue: void 0 }), this.arcgisConfigChange.emit({ newConfig: e, oldConfig: i, functionCalled: this.lastModelSetterCalled }), this.lastModelSetterCalled = void 0, this.actionBarElement && !ba(e) && (this.actionBarElement.forceDisableActions = !1), this.isWarningDisplayed = !1;
|
|
18333
18335
|
}
|
|
18334
18336
|
get rotation() {
|
|
18335
18337
|
return this._rotation;
|
|
@@ -18388,7 +18390,7 @@ class tA extends dm {
|
|
|
18388
18390
|
async exportAsCSV(e) {
|
|
18389
18391
|
let i, a;
|
|
18390
18392
|
if (this.chartData) {
|
|
18391
|
-
const o = this.layer ?? (Un(this.config) && this.config?.iLayer !== void 0 ? await
|
|
18393
|
+
const o = this.layer ?? (Un(this.config) && this.config?.iLayer !== void 0 ? await _m(this.config.iLayer) : void 0), n = await Ft(o, this.usePopupTemplateFieldsInfo), s = lo(this.model) ? this.model.titleText : "chart";
|
|
18392
18394
|
if (Object.values(this.chartData).filter((l) => Array.isArray(l) && l.length > 0).length > 1) {
|
|
18393
18395
|
const l = new um();
|
|
18394
18396
|
Object.entries(this.chartData).forEach(([c, u]) => {
|
|
@@ -18500,7 +18502,7 @@ class tA extends dm {
|
|
|
18500
18502
|
allowUsingObjectIdStat: o?.allowUsingObjectIdStat
|
|
18501
18503
|
});
|
|
18502
18504
|
let g;
|
|
18503
|
-
s && m.valid && (Fa(i) && await Kt.whenOnce(() => !i.updating), g = await
|
|
18505
|
+
s && m.valid && (Fa(i) && await Kt.whenOnce(() => !i.updating), g = await qr({
|
|
18504
18506
|
chartConfig: c,
|
|
18505
18507
|
queryObject: i,
|
|
18506
18508
|
options: l,
|
|
@@ -18583,14 +18585,14 @@ class tA extends dm {
|
|
|
18583
18585
|
this.arcgisDataFetchComplete.emit(e.detail);
|
|
18584
18586
|
}
|
|
18585
18587
|
handleLegendItemVisibilityChanged(e) {
|
|
18586
|
-
|
|
18588
|
+
Zm(e, this.config), this.arcgisLegendItemVisibilityChange.emit({ legendItemVisibility: e.detail, model: this._model });
|
|
18587
18589
|
}
|
|
18588
18590
|
handleUpdateCompleted(e) {
|
|
18589
18591
|
if (this.enableConfiguration) {
|
|
18590
18592
|
const i = e.detail, a = this.commonStrings?.errorStrings.notifications;
|
|
18591
18593
|
if (this.placeholder === void 0 && (i.schemaErrors.length > 0 ? this.notify(a?.invalidConfig, void 0, {
|
|
18592
18594
|
closable: !1
|
|
18593
|
-
}) : i.warnings.length > 0 && i.warnings.some((n) => n.keyword ===
|
|
18595
|
+
}) : i.warnings.length > 0 && i.warnings.some((n) => n.keyword === Km.NonNumericAggregation) && this.notify(a?.validateAggregationTypeMsg, a?.missingNumericFields, {
|
|
18594
18596
|
closable: !1
|
|
18595
18597
|
})), (Gg(this._model) || Xg(this._model)) && this._model.aggregationType === Pt.NoAggregation && this._model.numericFields.length === 1 && this.layer) {
|
|
18596
18598
|
const o = Oo(this.layer).objectIdField;
|
|
@@ -18614,7 +18616,7 @@ class tA extends dm {
|
|
|
18614
18616
|
handleSelection(e) {
|
|
18615
18617
|
const i = { ...e.detail }, a = { ...i };
|
|
18616
18618
|
let o = Be(i.selectionItems);
|
|
18617
|
-
o && (o =
|
|
18619
|
+
o && (o = Qm(o, this.config?.series), o = o.map(Jm), o = eg(o, this.config?.series), a.selectionItems = o), this.unsanitizedSelectionDataItems = i.selectionItems, this.selectionData = a, this.arcgisSelectionComplete.emit({ selectionData: a, model: this._model });
|
|
18618
18620
|
}
|
|
18619
18621
|
handleTooManySelectedElements() {
|
|
18620
18622
|
this.errorPolicy === Ro.Throw && (this.notifyHeading = this.commonStrings?.errorStrings.tooManySelectedElements?.title, this.notifyMessage = this.commonStrings?.errorStrings.tooManySelectedElements?.message, this.notifyOptions = {
|
|
@@ -18651,7 +18653,7 @@ class tA extends dm {
|
|
|
18651
18653
|
this.layer !== void 0 && this.syncSelectionsBetweenChartAndLayerViewPolicy === Wo.Enabled && this.view !== void 0 && this.setSelectionInLayerView();
|
|
18652
18654
|
}
|
|
18653
18655
|
async viewChange(e, i) {
|
|
18654
|
-
this.layerItemId && this.layerItemId?.trim() !== "" && (this.layer =
|
|
18656
|
+
this.layerItemId && this.layerItemId?.trim() !== "" && (this.layer = jr({
|
|
18655
18657
|
view: this.view,
|
|
18656
18658
|
portalItemId: this.layerItemId
|
|
18657
18659
|
}) ?? new zr({
|
|
@@ -18664,7 +18666,7 @@ class tA extends dm {
|
|
|
18664
18666
|
this.addLayerWatchHandlers(), this.layer && (await Oo(this.layer).load(), await this.setExtentChangeWatchHandler(), this.setViewTimeExtentChangeWatchHandler());
|
|
18665
18667
|
}
|
|
18666
18668
|
layerItemIdChange() {
|
|
18667
|
-
this.layerItemId && this.layerItemId?.trim() !== "" ? this.layer =
|
|
18669
|
+
this.layerItemId && this.layerItemId?.trim() !== "" ? this.layer = jr({
|
|
18668
18670
|
view: this.view,
|
|
18669
18671
|
portalItemId: this.layerItemId
|
|
18670
18672
|
}) ?? new zr({
|
|
@@ -18797,7 +18799,7 @@ class tA extends dm {
|
|
|
18797
18799
|
}
|
|
18798
18800
|
checkForIncompatibleChartVersion() {
|
|
18799
18801
|
const e = this.config?.version;
|
|
18800
|
-
this.errorPolicy === Ro.Throw &&
|
|
18802
|
+
this.errorPolicy === Ro.Throw && tg(e).versionStatus === pg.Newer && (this.notifyHeading = this.commonStrings?.errorStrings.incompatibleChartVersion?.title, this.notifyMessage = this.commonStrings?.errorStrings.incompatibleChartVersion?.message ? va(this.commonStrings?.errorStrings.incompatibleChartVersion?.message, {
|
|
18801
18803
|
chartVersion: e ?? ""
|
|
18802
18804
|
}) : "", this.notifyOptions = {
|
|
18803
18805
|
kind: "warning",
|
|
@@ -18809,7 +18811,7 @@ class tA extends dm {
|
|
|
18809
18811
|
return e.some((i) => this._model?.isSameChartAs(i));
|
|
18810
18812
|
}
|
|
18811
18813
|
updateConfigTimeZone() {
|
|
18812
|
-
this.config?.axes?.[0]?.valueFormat.type === y.DateAxisFormat && (this.config.axes[0].valueFormat.intlOptions.timeZone =
|
|
18814
|
+
this.config?.axes?.[0]?.valueFormat.type === y.DateAxisFormat && (this.config.axes[0].valueFormat.intlOptions.timeZone = ig(this.timeZone));
|
|
18813
18815
|
}
|
|
18814
18816
|
gatherComponentGlobalOptions() {
|
|
18815
18817
|
return {
|
|
@@ -18888,7 +18890,7 @@ class tA extends dm {
|
|
|
18888
18890
|
queryObject: i,
|
|
18889
18891
|
allowUsingObjectIdStat: a?.allowUsingObjectIdStat
|
|
18890
18892
|
}), r = await Ft(i, a?.usePopupTemplateFieldsInfo);
|
|
18891
|
-
o && !ba(o) && s.valid && (this.dataFetching =
|
|
18893
|
+
o && !ba(o) && s.valid && (this.dataFetching = qr({
|
|
18892
18894
|
chartConfig: o,
|
|
18893
18895
|
preFetchedQueryResponse: n,
|
|
18894
18896
|
queryObject: i,
|