@arcgis/charts-components 4.34.0-next.162 → 4.34.0-next.164
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/{D3K4XOBP.js → 2L7B4HEY.js} +2 -2
- package/dist/cdn/{W5RB5ATS.js → 2MS3X2O7.js} +2 -2
- package/dist/cdn/{IZ5WQFKS.js → 2QTHDGWF.js} +2 -2
- package/dist/cdn/{V3UCCDVU.js → 2TZNJNIO.js} +2 -2
- package/dist/cdn/{3FQXF452.js → 2UMJG7HN.js} +2 -2
- package/dist/cdn/{V53E37MV.js → 357J4LQQ.js} +2 -2
- package/dist/cdn/{I2IK25B2.js → 3BUE6F5V.js} +2 -2
- package/dist/cdn/3IYGXSHY.js +4 -0
- package/dist/cdn/{H7ERPOYO.js → 3PEJJK7L.js} +2 -2
- package/dist/cdn/{BIKAP6I5.js → 3QQRG6C4.js} +2 -2
- package/dist/cdn/{UYEIOLIR.js → 3UTMPTO5.js} +2 -2
- package/dist/cdn/{YDZHKWBK.js → 3WYZEMF6.js} +2 -2
- package/dist/cdn/3Y5KA72P.js +4 -0
- package/dist/cdn/{YB7OG6IB.js → 47WLNVAK.js} +7 -7
- package/dist/cdn/{KWI43WB5.js → 4K7QFBHP.js} +2 -2
- package/dist/cdn/{JN3Q3GY6.js → 4Y7FPRS3.js} +2 -2
- package/dist/cdn/{D7PNMG3L.js → 5CFMJHDM.js} +2 -2
- package/dist/cdn/{IAPKZK6Y.js → 5ED5NJE2.js} +2 -2
- package/dist/cdn/{JK7MMLPW.js → 5V6YFCMG.js} +2 -2
- package/dist/cdn/{YSFFEHI4.js → 5ZBQNO25.js} +2 -2
- package/dist/cdn/{XUIB6BIH.js → 66PXHKDQ.js} +2 -2
- package/dist/cdn/{VUSD4DWG.js → 67KDCNK6.js} +2 -2
- package/dist/cdn/{4K3AE2TQ.js → 6DCCQH2K.js} +2 -2
- package/dist/cdn/{IR25ZAJS.js → 6FX6KKLE.js} +2 -2
- package/dist/cdn/{MNW5BXG5.js → 6HXS6DIC.js} +2 -2
- package/dist/cdn/{J3FFF6V6.js → 6KNDVEIQ.js} +2 -2
- package/dist/cdn/{576FW7YW.js → 6MEZWAVX.js} +2 -2
- package/dist/cdn/{K6MZFCWY.js → 6PUNKWSV.js} +2 -2
- package/dist/cdn/{6YEHB72D.js → 6QIO36PI.js} +2 -2
- package/dist/cdn/{H6WZP6YY.js → 6SOFICQV.js} +4 -4
- package/dist/cdn/{XI6H4DMN.js → 6T6LDIDQ.js} +2 -2
- package/dist/cdn/{VLR5TEV6.js → 6TRSFCGU.js} +2 -2
- package/dist/cdn/{KLGNJPKJ.js → 6X23DBMC.js} +2 -2
- package/dist/cdn/{CZTIEM4D.js → 746473BU.js} +2 -2
- package/dist/cdn/{DVSJUKPD.js → 7E5CUWBK.js} +2 -2
- package/dist/cdn/{XXWOH4VU.js → 7IZX4LLV.js} +2 -2
- package/dist/cdn/{VJSQCXSE.js → 7TK4ZLQ5.js} +2 -2
- package/dist/cdn/{BOEGSWOJ.js → 7X24M7XO.js} +2 -2
- package/dist/cdn/{2SLVCU6V.js → 7YYMHH6F.js} +2 -2
- package/dist/cdn/ACZE3PL5.js +4 -0
- package/dist/cdn/ANOPMFAP.js +4 -0
- package/dist/cdn/{UTLRAQC7.js → ASWRFSJ5.js} +1 -1
- package/dist/cdn/{R5G7MNTE.js → AUWTADYE.js} +2 -2
- package/dist/cdn/{VZ5ZVUMO.js → B5YOYIR2.js} +2 -2
- package/dist/cdn/B7KYWM3K.js +4 -0
- package/dist/cdn/{SL7PZBKW.js → B7QEXETV.js} +2 -2
- package/dist/cdn/{OB4WMK4Y.js → BK733CZ3.js} +2 -2
- package/dist/cdn/{TVSIORSZ.js → BKDMF6TK.js} +2 -2
- package/dist/cdn/{MKEHD5EB.js → BKUEQSDO.js} +2 -2
- package/dist/cdn/{STQCADTW.js → BN4TKP2N.js} +2 -2
- package/dist/cdn/{7GRHHQFY.js → BRSXDRRI.js} +2 -2
- package/dist/cdn/{BAXHCF4Z.js → BT2S6L4E.js} +2 -2
- package/dist/cdn/{XIYEJENA.js → BUSXDYXO.js} +2 -2
- package/dist/cdn/{QZWWWGYV.js → BX7ZI3DM.js} +2 -2
- package/dist/cdn/{6YHFVU5O.js → C33SHQN6.js} +1 -1
- package/dist/cdn/{6Q3HJW36.js → CFJIM2VS.js} +2 -2
- package/dist/cdn/{7IDFOHQU.js → CMYYAOV7.js} +2 -2
- package/dist/cdn/COH4NZOK.js +4 -0
- package/dist/cdn/DCYKQIEW.js +4 -0
- package/dist/cdn/{MOWNEDUA.js → DFZ7MNRS.js} +2 -2
- package/dist/cdn/{FOKCXFWS.js → DS7L3KLY.js} +2 -2
- package/dist/cdn/{QTQYXX4R.js → E6XC3KJW.js} +2 -2
- package/dist/cdn/{M55PBKL5.js → E7ZW6LB2.js} +2 -2
- package/dist/cdn/{FYGCQ4DR.js → ELQTXEN2.js} +2 -2
- package/dist/cdn/{DD7DTTV4.js → FC677RBC.js} +2 -2
- package/dist/cdn/{VFOTLD7V.js → FEEVAGDX.js} +2 -2
- package/dist/cdn/{OHLSHBU7.js → FH72RWZI.js} +2 -2
- package/dist/cdn/{FAFXFDOM.js → FL4EIWB5.js} +2 -2
- package/dist/cdn/FMICWXM4.js +4 -0
- package/dist/cdn/{HGKZCE3T.js → FPSQY2ZV.js} +2 -2
- package/dist/cdn/{GBGWQQPD.js → FSM3HXRO.js} +2 -2
- package/dist/cdn/FSW236GH.js +4 -0
- package/dist/cdn/{HS7FTNEN.js → FWDYBC5V.js} +2 -2
- package/dist/cdn/{BO5HAYSG.js → FWEMEMWB.js} +2 -2
- package/dist/cdn/{JUPMM5HR.js → GCIDRXLP.js} +2 -2
- package/dist/cdn/{FOLLC3VZ.js → GD3DH3U2.js} +2 -2
- package/dist/cdn/{W26ZHYI2.js → GDKQWCAQ.js} +2 -2
- package/dist/cdn/{QCY6IA7S.js → GFTRYSBL.js} +2 -2
- package/dist/cdn/{DMMU7W2M.js → GJOQRVDW.js} +2 -2
- package/dist/cdn/{VCYRWLGR.js → GTIRULJ5.js} +2 -2
- package/dist/cdn/{6V2XOZGP.js → GUPBRYZL.js} +2 -2
- package/dist/cdn/{AIUTCUQU.js → H3WEBOVT.js} +2 -2
- package/dist/cdn/{BHEGHMVH.js → HJLLLFTV.js} +1 -1
- package/dist/cdn/{BMQDW6SM.js → HK2WUIYX.js} +2 -2
- package/dist/cdn/{2XE2AQYT.js → HKNQIFZB.js} +2 -2
- package/dist/cdn/{KJZV5JIJ.js → HLOVXQMT.js} +2 -2
- package/dist/cdn/{GKSA3OYK.js → HXVR5U27.js} +2 -2
- package/dist/cdn/{4ZQ2PX7I.js → IBO2KPMI.js} +2 -2
- package/dist/cdn/{AL6CJGJS.js → ICOVDPLG.js} +2 -2
- package/dist/cdn/{URK64CSW.js → IHVZZ33D.js} +2 -2
- package/dist/cdn/{323COVFU.js → IRK3KWEX.js} +2 -2
- package/dist/cdn/{ME2UULSR.js → IVFWHPRV.js} +2 -2
- package/dist/cdn/{N44DI4Q7.js → IYOYI3HJ.js} +2 -2
- package/dist/cdn/{CF5RMAZZ.js → JBET35FH.js} +2 -2
- package/dist/cdn/{OFKD4M54.js → JU2ZRXKF.js} +2 -2
- package/dist/cdn/{SW74JQLA.js → JUXFJGNI.js} +2 -2
- package/dist/cdn/{AJ2XDFWV.js → JWJU7AC6.js} +2 -2
- package/dist/cdn/JXKBVHHG.js +4 -0
- package/dist/cdn/{LPLQVP4A.js → K42EYZT2.js} +2 -2
- package/dist/cdn/{LJ5IVGZA.js → KIZLTTD7.js} +1 -1
- package/dist/cdn/{VG4KT4JF.js → KKC43LSD.js} +2 -2
- package/dist/cdn/{E65KHNXD.js → KKSNIYT5.js} +2 -2
- package/dist/cdn/{MXYIZWC7.js → KKYV5OZK.js} +2 -2
- package/dist/cdn/{I6B32BOD.js → KY4MUWUZ.js} +2 -2
- package/dist/cdn/{ALGDNEED.js → LD3FJWMJ.js} +2 -2
- package/dist/cdn/{455UNLML.js → LFQ5R46P.js} +2 -2
- package/dist/cdn/{CJIWABHA.js → LI3SP6RV.js} +2 -2
- package/dist/cdn/{OAO4DFPO.js → LJSMD35L.js} +2 -2
- package/dist/cdn/LQ3TVIHA.js +6 -0
- package/dist/cdn/{5TXOCYMW.js → MDOHASLU.js} +2 -2
- package/dist/cdn/{JNL2HE4P.js → MHO7PY42.js} +2 -2
- package/dist/cdn/{YIZQSTHZ.js → MO4AKP2Z.js} +2 -2
- package/dist/cdn/{U4UDY57C.js → MQDIDZZH.js} +1 -1
- package/dist/cdn/{IC7G5XHY.js → NCI6QIPY.js} +2 -2
- package/dist/cdn/{CMXG6JI5.js → ND5IGDZ5.js} +2 -2
- package/dist/cdn/NTN3VAND.js +4 -0
- package/dist/cdn/{2I7PVDUS.js → NU6WKXUJ.js} +2 -2
- package/dist/cdn/{WUGG32VB.js → NZNDZAUX.js} +2 -2
- package/dist/cdn/{YN5PBB6V.js → OBGVJML2.js} +2 -2
- package/dist/cdn/{CDEZNIKG.js → OFQXDA3N.js} +2 -2
- package/dist/cdn/{KEMOFUC7.js → OHJ4A7QO.js} +2 -2
- package/dist/cdn/{5NOLJ5VJ.js → OILEOEJV.js} +2 -2
- package/dist/cdn/{IP4DJMRN.js → OJWWKKJS.js} +2 -2
- package/dist/cdn/{EXHLXJV6.js → OW2RRRFB.js} +2 -2
- package/dist/cdn/PCZ52PN4.js +4 -0
- package/dist/cdn/{DTETJK63.js → PHCKOEI2.js} +2 -2
- package/dist/cdn/{5EGDXMBT.js → PKF6KODH.js} +2 -2
- package/dist/cdn/{VX5TREFX.js → PV74JK2R.js} +2 -2
- package/dist/cdn/{KDNW5X6I.js → PVKZFR4X.js} +2 -2
- package/dist/cdn/{U7VHHE74.js → Q5Z6YC2Q.js} +2 -2
- package/dist/cdn/{OLUZTTSN.js → QEEI3QOG.js} +2 -2
- package/dist/cdn/{MOSWA2ZI.js → QEEPKBN6.js} +2 -2
- package/dist/cdn/{ARTE3ZTA.js → QKP46EW2.js} +2 -2
- package/dist/cdn/{MLDVFOCO.js → QTJSBYFU.js} +2 -2
- package/dist/cdn/{HXAFQYBZ.js → QVF7Q42I.js} +2 -2
- package/dist/cdn/{DALHL7AV.js → RFDGFFLQ.js} +2 -2
- package/dist/cdn/{SMI45WYC.js → RHSSXKKX.js} +2 -2
- package/dist/cdn/RLC5SWVT.js +4 -0
- package/dist/cdn/{3HTAU4DK.js → RPCIWFY5.js} +2 -2
- package/dist/cdn/{4GELSQQA.js → RPY5MUOM.js} +2 -2
- package/dist/cdn/{6MSH4IRN.js → RQTN6SQJ.js} +2 -2
- package/dist/cdn/{5UGAQWOY.js → RWTVYMRB.js} +1 -1
- package/dist/cdn/{OVWU4JEX.js → RYHZ7V4Y.js} +2 -2
- package/dist/cdn/RZMFGOMR.js +4 -0
- package/dist/cdn/{SQC4TW26.js → SGSV7A5M.js} +2 -2
- package/dist/cdn/{YYFYGKFV.js → SGTDJJKS.js} +2 -2
- package/dist/cdn/{GK3FXO46.js → SHRSYIIF.js} +2 -2
- package/dist/cdn/{LNU2ND4V.js → SX3JB4MH.js} +2 -2
- package/dist/cdn/{34UHS5UP.js → TEF3THCL.js} +2 -2
- package/dist/cdn/{ZE6IBDDZ.js → TN73VHA6.js} +2 -2
- package/dist/cdn/{ZUOGEEZO.js → TOW6JP2E.js} +2 -2
- package/dist/cdn/{IGXKUJJV.js → TP6KSK5W.js} +2 -2
- package/dist/cdn/{56K3DQ7R.js → U27TDEN5.js} +2 -2
- package/dist/cdn/{X4PD2VNF.js → UBJL5YOF.js} +2 -2
- package/dist/cdn/{RANWOOAF.js → UJ4LEIF2.js} +2 -2
- package/dist/cdn/{KCD6IGY4.js → UKM3LQPC.js} +2 -2
- package/dist/cdn/{NFMN3NAZ.js → UWG6UTN3.js} +2 -2
- package/dist/cdn/{VGA7GU4Y.js → V2BWVXPZ.js} +2 -2
- package/dist/cdn/{FYIRS2QA.js → V2WPXIOV.js} +2 -2
- package/dist/cdn/{PPQE7I5R.js → VLIFG6YX.js} +1 -1
- package/dist/cdn/VRVALDMN.js +4 -0
- package/dist/cdn/{PZNL6HZQ.js → W7L3X6QN.js} +2 -2
- package/dist/cdn/{NUCHBGCW.js → WICB6A5Q.js} +1 -1
- package/dist/cdn/{GJ73ZTWS.js → WQFEEIJ5.js} +2 -2
- package/dist/cdn/{D6GOIHIY.js → WZIR6JB4.js} +1 -1
- package/dist/cdn/XDCTCNN3.js +4 -0
- package/dist/cdn/{QMMNWVUB.js → XE2FMMEM.js} +2 -2
- package/dist/cdn/{XWZWAY4H.js → XLJ4ZEGA.js} +2 -2
- package/dist/cdn/XLWI3K2O.js +4 -0
- package/dist/cdn/{4CYTRYE3.js → XMT3VNUF.js} +2 -2
- package/dist/cdn/{PQNHY7W6.js → XVEYJBQI.js} +2 -2
- package/dist/cdn/{WYPD2Q4K.js → XWGBH3MQ.js} +2 -2
- package/dist/cdn/{3GTU7IKT.js → Y4Q7JL65.js} +2 -2
- package/dist/cdn/{CHZYONBK.js → YDETIOCO.js} +1 -1
- package/dist/cdn/{G7BXBB4Y.js → YIFR7BRM.js} +2 -2
- package/dist/cdn/{MXI34ILV.js → YM436KTN.js} +2 -2
- package/dist/cdn/{2EGAWTEM.js → YNBF6GTT.js} +2 -2
- package/dist/cdn/{NUA674IX.js → YYU4AIPY.js} +2 -2
- package/dist/cdn/{KD5UH2PF.js → Z2ROYCIL.js} +2 -2
- package/dist/cdn/ZKQNDLDT.js +4 -0
- package/dist/cdn/{4BL4QMBH.js → ZRJN7HEA.js} +2 -2
- package/dist/cdn/{6ZAC7EBW.js → ZU73JI6D.js} +2 -2
- package/dist/cdn/{SVLQ7J66.js → ZW4MNXA4.js} +2 -2
- package/dist/cdn/assets/charts-config-bar-chart-data/t9n/messages.fr.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/action-bar-utils.js +4 -4
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +3 -3
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +3 -3
- package/dist/chunks/box-plot-model.js +9 -9
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +2 -2
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +2 -2
- package/dist/chunks/data.js +59 -927
- package/dist/chunks/data2.js +907 -0
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +2 -2
- package/dist/chunks/heat-chart-model.js +42 -29
- package/dist/chunks/histogram-data.js +5 -5
- package/dist/chunks/histogram-model.js +3 -3
- package/dist/chunks/index.js +51 -51
- package/dist/chunks/index2.js +2 -2
- package/dist/chunks/index3.js +2 -2
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +226 -224
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/interfaces3.js +1 -1
- package/dist/chunks/interfaces4.js +1 -1
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +1 -1
- package/dist/chunks/model-with-multi-axes.js +28 -28
- package/dist/chunks/model-with-rotation.js +2 -2
- package/dist/chunks/pie-chart-data.js +113 -111
- package/dist/chunks/pie-chart-model.js +3 -3
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +2 -2
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +3 -3
- package/dist/chunks/serial-chart-model.js +28 -27
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +136 -133
- package/dist/components/arcgis-chart/customElement.d.ts +6 -7
- package/dist/components/arcgis-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +2 -3
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +22 -17
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +28 -23
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +23 -18
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +8 -4
- package/dist/docs/docs.json +4 -4
- package/dist/docs/vscode.html-custom-data.json +6 -2
- package/dist/docs/web-types.json +3 -3
- package/dist/index.js +314 -313
- package/dist/loader.js +1 -1
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +6 -1
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +13 -2
- package/dist/model/shared/data.d.ts +25 -2
- package/dist/model.js +1 -1
- package/dist/utils/layer/index.d.ts +15 -0
- package/package.json +3 -3
- package/dist/cdn/2AEU3NXD.js +0 -4
- package/dist/cdn/2IS4NCU6.js +0 -4
- package/dist/cdn/46BUN3KO.js +0 -4
- package/dist/cdn/4AZR3HGT.js +0 -4
- package/dist/cdn/7FCNTHYQ.js +0 -4
- package/dist/cdn/BC4BOK4D.js +0 -4
- package/dist/cdn/BEYKBKV7.js +0 -4
- package/dist/cdn/CZ6YU3NV.js +0 -4
- package/dist/cdn/EBGEGUDI.js +0 -4
- package/dist/cdn/EHTJZE6A.js +0 -4
- package/dist/cdn/EKJE56I2.js +0 -4
- package/dist/cdn/I3G7NAWF.js +0 -4
- package/dist/cdn/ISB4KOR3.js +0 -4
- package/dist/cdn/LE74RF6H.js +0 -6
- package/dist/cdn/LICMCAN5.js +0 -4
- package/dist/cdn/N5A4I64L.js +0 -4
- package/dist/cdn/OS4O3AUE.js +0 -4
- package/dist/cdn/XRUDYMGX.js +0 -4
|
@@ -0,0 +1,907 @@
|
|
|
1
|
+
import { substitute as V } from "@arcgis/core/intl.js";
|
|
2
|
+
import { cloneDeep as R, memoize as le, isEmpty as he } from "lodash-es";
|
|
3
|
+
import { e as ve, a as I, u as Ie, W as O, g as U, t as k, m as $, n as Be, i as z } from "./series-types.js";
|
|
4
|
+
import { a as re, R as Le } from "./rest-js-object-literals.js";
|
|
5
|
+
import { ae as Y, cd as Ce, aX as oe, ch as D, ac as B, aa as L, b5 as h, aw as Ne, ad as Ve, r as C, bh as De, bJ as ne, bi as Z, bj as _, cl as Oe, l as G, cz as qe, p as J, cB as E, m as we, b as X, bg as Me, y as Q, az as ke, aA as je, aC as Pe, bf as ie, af as Ue, ag as Ee } from "./interfaces.js";
|
|
6
|
+
import "@arcgis/toolkit/intl";
|
|
7
|
+
import "d3-array";
|
|
8
|
+
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
9
|
+
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
10
|
+
import "@arcgis/core/rest/support/Query.js";
|
|
11
|
+
import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
12
|
+
import "@arcgis/core/time/TimeExtent.js";
|
|
13
|
+
import "@arcgis/core/core/promiseUtils.js";
|
|
14
|
+
import "@arcgis/core/request.js";
|
|
15
|
+
import "./runtime.js";
|
|
16
|
+
import { q as Xe, l as v, n as Ke, o as Re, j as T, k as A } from "./index4.js";
|
|
17
|
+
import "@arcgis/toolkit/dom";
|
|
18
|
+
import { S as w } from "./common.js";
|
|
19
|
+
import { a as P, s as ce, g as H } from "./data.js";
|
|
20
|
+
import { u as de } from "./index2.js";
|
|
21
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
22
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
23
|
+
v4.34.0-next.164 */
|
|
24
|
+
function se(t, e, i) {
|
|
25
|
+
const s = t?.axes?.[e];
|
|
26
|
+
s?.title !== void 0 ? s.title.content.text = i : s !== void 0 && (s.title = B({
|
|
27
|
+
text: i,
|
|
28
|
+
visible: !0,
|
|
29
|
+
font: L(h.AxisTitle)
|
|
30
|
+
}));
|
|
31
|
+
}
|
|
32
|
+
function ue(t) {
|
|
33
|
+
const { config: e, layerInfo: i, commonStrings: s, numericFields: a, aggregationType: l } = t;
|
|
34
|
+
let r = "";
|
|
35
|
+
if (e)
|
|
36
|
+
if (Ce(e) === ve.Stacked100)
|
|
37
|
+
r = s.utilsStrings.statistics.percent;
|
|
38
|
+
else {
|
|
39
|
+
const y = oe(l, s);
|
|
40
|
+
if (a.length === 1) {
|
|
41
|
+
const n = D(i.layerFieldsInfo, a[0]);
|
|
42
|
+
l === I.NoAggregation ? r = n : l === I.Count && a[0] === i.objectIdField ? r = s.utilsStrings.statistics.count : r = V(s.axisLabels.aggregationOfFieldName, {
|
|
43
|
+
aggregation: y,
|
|
44
|
+
fieldName: n
|
|
45
|
+
});
|
|
46
|
+
} else a.length > 1 && (l === I.NoAggregation ? r = s.axisLabels.values : r = V(s.axisLabels.aggregationOfValues, {
|
|
47
|
+
aggregation: y
|
|
48
|
+
}));
|
|
49
|
+
}
|
|
50
|
+
return r;
|
|
51
|
+
}
|
|
52
|
+
const ye = (t, e, i) => t.axes?.[e] ?? Ne(i, t.type)[e], ge = (t) => {
|
|
53
|
+
const { config: e, axis: i, axisIndex: s } = t;
|
|
54
|
+
e.axes !== void 0 && (e.axes[s] = i);
|
|
55
|
+
}, Ot = (t) => {
|
|
56
|
+
const { config: e, axisIndex: i, isMax: s } = t;
|
|
57
|
+
let a = Number.NaN;
|
|
58
|
+
return s ? a = e.axes?.[i]?.maximum : a = e.axes?.[i]?.minimum, a ?? Number.NaN;
|
|
59
|
+
}, b = (t) => {
|
|
60
|
+
const { config: e, value: i, axisIndex: s, isMax: a } = t, l = e?.axes?.[s];
|
|
61
|
+
l !== void 0 && (a ? l.maximum = i : l.minimum = i);
|
|
62
|
+
}, qt = (t, e) => {
|
|
63
|
+
b({ config: t, value: e, axisIndex: 0, isMax: !1 });
|
|
64
|
+
}, fe = (t) => t.axes?.[0]?.valueFormat ?? Y(), We = (t, e, i) => {
|
|
65
|
+
const s = ye(t, 0, e);
|
|
66
|
+
if (s !== void 0 && i !== void 0) {
|
|
67
|
+
const a = {
|
|
68
|
+
...s,
|
|
69
|
+
valueFormat: i
|
|
70
|
+
};
|
|
71
|
+
ge({ config: t, axis: a, axisIndex: 0 });
|
|
72
|
+
}
|
|
73
|
+
}, ae = (t, e, i) => {
|
|
74
|
+
const s = t.axes?.[e];
|
|
75
|
+
s !== void 0 && (s.integerOnlyValues = i);
|
|
76
|
+
}, $e = (t) => {
|
|
77
|
+
const e = Ie(t.series);
|
|
78
|
+
return e === O.BarSeries || e === O.ComboLineAndBarSeries || e === O.LineSeries;
|
|
79
|
+
}, ze = (t) => {
|
|
80
|
+
const { axisIndex: e, config: i, isMultiAxis: s } = t;
|
|
81
|
+
let a = !1;
|
|
82
|
+
return e === 0 || e === 1 && s ? a = !0 : e === 2 && (a = $e(i)), a;
|
|
83
|
+
}, wt = (t) => {
|
|
84
|
+
const { axisIndex: e, func: i, config: s } = t;
|
|
85
|
+
return ze({ axisIndex: e, config: s, isMultiAxis: !0 }) ? i(e) : void 0;
|
|
86
|
+
}, Mt = (t, e) => {
|
|
87
|
+
let i;
|
|
88
|
+
const s = e.axes?.[t]?.valueFormat;
|
|
89
|
+
return (t === 0 || t >= 1 && Xe(s)) && (i = s), i;
|
|
90
|
+
}, kt = (t) => {
|
|
91
|
+
const { config: e, commonStrings: i, valueFormat: s, axisIndex: a = 0 } = t, l = ye(e, a, i);
|
|
92
|
+
if (l !== void 0 && s !== void 0) {
|
|
93
|
+
const r = {
|
|
94
|
+
...l,
|
|
95
|
+
valueFormat: s
|
|
96
|
+
};
|
|
97
|
+
ge({
|
|
98
|
+
config: e,
|
|
99
|
+
axis: r,
|
|
100
|
+
axisIndex: a
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}, jt = (t, e) => t.axes?.[e]?.isLogarithmic ?? !1, Pt = (t) => {
|
|
104
|
+
const { config: e, isLogarithmic: i, axisIndex: s } = t, a = e.axes?.[s];
|
|
105
|
+
a && (a.isLogarithmic = i, b({ config: e, value: null, axisIndex: s, isMax: !0 }), b({ config: e, value: null, axisIndex: s, isMax: !1 }));
|
|
106
|
+
}, Ut = (t) => {
|
|
107
|
+
const { config: e, scrollbar: i, axisIndex: s } = t;
|
|
108
|
+
e.axes?.[s] !== void 0 && (e.axes[s].scrollbar = i);
|
|
109
|
+
}, Et = (t) => t.version, Ye = (t) => t.title?.content.text ?? "", Xt = (t, e) => {
|
|
110
|
+
e.title !== void 0 ? e.title.content.text = t : e.title === void 0 && t !== void 0 && (e.title = B({
|
|
111
|
+
text: t,
|
|
112
|
+
visible: !0,
|
|
113
|
+
font: L(h.ChartTitle)
|
|
114
|
+
}));
|
|
115
|
+
}, Kt = (t) => t.subtitle?.content.text ?? "", Rt = (t, e) => {
|
|
116
|
+
e.subtitle !== void 0 ? e.subtitle.content.text = t : e.subtitle === void 0 && t !== void 0 && (e.subtitle = B({
|
|
117
|
+
text: t,
|
|
118
|
+
visible: !0,
|
|
119
|
+
font: L(h.ChartSubtitle)
|
|
120
|
+
}));
|
|
121
|
+
}, Wt = (t) => t.footer?.content.text ?? "", $t = (t, e) => {
|
|
122
|
+
e.footer !== void 0 ? e.footer.content.text = t : e.footer === void 0 && t !== void 0 && (e.footer = B({
|
|
123
|
+
text: t,
|
|
124
|
+
visible: !0,
|
|
125
|
+
font: L(h.DescriptionText)
|
|
126
|
+
}));
|
|
127
|
+
}, zt = (t) => t.title ? t.title.visible ?? !0 : !1, Yt = (t, e) => {
|
|
128
|
+
e.title !== void 0 ? e.title.visible = t : e.title === void 0 && (e.title = B({
|
|
129
|
+
text: "",
|
|
130
|
+
visible: t,
|
|
131
|
+
font: L(h.ChartTitle)
|
|
132
|
+
}));
|
|
133
|
+
}, Zt = (t) => t.subtitle ? t.subtitle.visible ?? !0 : !1, _t = (t, e) => {
|
|
134
|
+
e.subtitle !== void 0 ? e.subtitle.visible = t : e.subtitle === void 0 && (e.subtitle = B({
|
|
135
|
+
text: "",
|
|
136
|
+
visible: t,
|
|
137
|
+
font: L(h.ChartSubtitle)
|
|
138
|
+
}));
|
|
139
|
+
}, Ze = (t) => t.footer?.visible ?? !1, Gt = (t, e) => {
|
|
140
|
+
e.footer !== void 0 ? e.footer.visible = t : e.footer === void 0 && t !== Ze(e) && (e.footer = B({
|
|
141
|
+
text: "",
|
|
142
|
+
visible: !0,
|
|
143
|
+
font: L(h.DescriptionText)
|
|
144
|
+
}));
|
|
145
|
+
}, Jt = (t) => t.chartRenderer, Qt = (t, e) => {
|
|
146
|
+
e.chartRenderer = t;
|
|
147
|
+
}, Ht = (t, e) => t.axes?.[e]?.title?.content, ei = (t) => {
|
|
148
|
+
const { config: e, axisIndex: i, symbol: s } = t, a = e.axes?.[i];
|
|
149
|
+
if (a !== void 0) {
|
|
150
|
+
const l = a.title?.content.text;
|
|
151
|
+
(a.title === void 0 || s === void 0) && (a.title = B({
|
|
152
|
+
text: "",
|
|
153
|
+
visible: !0,
|
|
154
|
+
font: L(h.AxisTitle),
|
|
155
|
+
type: h.AxisTitle
|
|
156
|
+
})), s !== void 0 && (a.title.content = s), a.title.content.text = l;
|
|
157
|
+
}
|
|
158
|
+
}, ti = (t) => {
|
|
159
|
+
for (const e of t.axes ?? [])
|
|
160
|
+
if (e?.labels !== void 0)
|
|
161
|
+
return e.labels.content;
|
|
162
|
+
}, ii = (t, e) => {
|
|
163
|
+
for (const i of e.axes ?? [])
|
|
164
|
+
if (i !== void 0) {
|
|
165
|
+
const s = i.labels?.content.text;
|
|
166
|
+
t === void 0 ? i.labels = B({
|
|
167
|
+
text: "",
|
|
168
|
+
visible: !0,
|
|
169
|
+
font: L(h.AxisLabels),
|
|
170
|
+
type: h.AxisLabels
|
|
171
|
+
}) : i.labels.content = R(t), i.labels.content.text = s;
|
|
172
|
+
}
|
|
173
|
+
}, si = (t) => {
|
|
174
|
+
for (const e of t.axes ?? [])
|
|
175
|
+
if (e?.lineSymbol !== void 0)
|
|
176
|
+
return e.lineSymbol;
|
|
177
|
+
}, ai = (t, e) => {
|
|
178
|
+
for (const i of e.axes ?? [])
|
|
179
|
+
i !== void 0 && (i.lineSymbol = R(t) ?? Ve());
|
|
180
|
+
}, li = (t) => {
|
|
181
|
+
for (const e of t.axes ?? [])
|
|
182
|
+
if (e?.grid !== void 0)
|
|
183
|
+
return e.grid;
|
|
184
|
+
}, ri = (t, e, i) => {
|
|
185
|
+
const s = e.axes;
|
|
186
|
+
i.forEach((a) => {
|
|
187
|
+
s?.[a] !== void 0 && (s[a].grid = R(t));
|
|
188
|
+
});
|
|
189
|
+
}, ee = (t, e) => e.axes?.[t]?.title?.content.text ?? "", oi = (t, e, i) => {
|
|
190
|
+
const s = i.axes?.[e];
|
|
191
|
+
s?.title !== void 0 ? s.title.content.text = t : s !== void 0 && s?.title === void 0 && (s.title = B({
|
|
192
|
+
text: t,
|
|
193
|
+
visible: !0,
|
|
194
|
+
font: L(h.AxisTitle)
|
|
195
|
+
}));
|
|
196
|
+
}, ni = (t, e) => e.axes?.[t]?.title?.visible ?? !1, ci = (t, e, i) => {
|
|
197
|
+
const s = i.axes?.[e];
|
|
198
|
+
s?.title !== void 0 ? s.title.visible = t : s !== void 0 && s?.title === void 0 && (s.title = B({
|
|
199
|
+
text: ee(e, i),
|
|
200
|
+
visible: t,
|
|
201
|
+
font: L(h.AxisTitle)
|
|
202
|
+
}));
|
|
203
|
+
}, di = (t, e) => t.axes?.[e]?.displayZeroLine ?? !1, ui = (t, e, i) => {
|
|
204
|
+
t.axes?.[i] !== void 0 && (t.axes[i].displayZeroLine = e);
|
|
205
|
+
}, yi = (t, e) => t.axes?.[e]?.displayCursorTooltip ?? !1, gi = (t) => {
|
|
206
|
+
const { config: e, displayCursorTooltip: i, axisIndex: s } = t;
|
|
207
|
+
e.axes?.[s] !== void 0 && (e.axes[s].displayCursorTooltip = i);
|
|
208
|
+
}, fi = (t, e) => t.axes?.[e]?.buffer ?? !1, mi = (t) => {
|
|
209
|
+
const { config: e, buffer: i, axisIndex: s } = t, a = e.axes?.[s];
|
|
210
|
+
a !== void 0 && (a.buffer = i);
|
|
211
|
+
}, xi = (t, e) => t.axes?.[e]?.tickSpacing, pi = (t) => {
|
|
212
|
+
const { config: e, tickSpacing: i, axisIndex: s } = t;
|
|
213
|
+
e.axes?.[s] !== void 0 && (e.axes[s].tickSpacing = i);
|
|
214
|
+
}, Si = (t, e) => t.axes?.[e]?.integerOnlyValues ?? !1, bi = (t) => {
|
|
215
|
+
const { config: e, integerOnlyValues: i, axisIndex: s } = t;
|
|
216
|
+
e.axes?.[s] !== void 0 && (e.axes[s].integerOnlyValues = i);
|
|
217
|
+
}, _e = (t) => {
|
|
218
|
+
let e;
|
|
219
|
+
const i = t.series[0];
|
|
220
|
+
return C(i) && (e = i.temporalBinning?.size), e;
|
|
221
|
+
}, Ge = (t) => {
|
|
222
|
+
let e;
|
|
223
|
+
const i = t.series[0];
|
|
224
|
+
return C(i) && (e = i.temporalBinning?.unit), e;
|
|
225
|
+
}, Je = (t) => {
|
|
226
|
+
let e;
|
|
227
|
+
const i = t.series[0];
|
|
228
|
+
return C(i) && (e = i.temporalBinning?.timeAggregationType), e;
|
|
229
|
+
}, Qe = (t) => {
|
|
230
|
+
let e;
|
|
231
|
+
const i = t.series[0];
|
|
232
|
+
return C(i) && (e = i.temporalBinning?.trimIncompleteTimeInterval), e;
|
|
233
|
+
}, He = (t) => {
|
|
234
|
+
let e;
|
|
235
|
+
const i = t.series[0];
|
|
236
|
+
return C(i) && (e = i.temporalBinning?.nullPolicy), e;
|
|
237
|
+
}, me = (t, e) => {
|
|
238
|
+
e?.series?.forEach((i) => {
|
|
239
|
+
C(i) && (i.temporalBinning ??= {}, i.temporalBinning.size = t);
|
|
240
|
+
}), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
241
|
+
}, et = (t, e) => {
|
|
242
|
+
e?.series?.forEach((i) => {
|
|
243
|
+
C(i) && (i.temporalBinning ??= {}, i.temporalBinning.nullPolicy = t);
|
|
244
|
+
}), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
245
|
+
}, Fi = (t, e) => {
|
|
246
|
+
e.series?.forEach((i) => {
|
|
247
|
+
C(i) && (i.temporalBinning ??= {}, i.temporalBinning.unit = t);
|
|
248
|
+
}), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
249
|
+
}, Ti = (t, e) => {
|
|
250
|
+
e.series?.forEach((i) => {
|
|
251
|
+
C(i) && (i.temporalBinning ??= {}, i.temporalBinning.timeAggregationType = t);
|
|
252
|
+
}), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
253
|
+
}, Ai = (t, e) => {
|
|
254
|
+
e.series?.forEach((i) => {
|
|
255
|
+
C(i) && (i.temporalBinning ??= {}, i.temporalBinning.trimIncompleteTimeInterval = t);
|
|
256
|
+
}), b({ config: e, value: null, axisIndex: 1, isMax: !1 }), b({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
257
|
+
}, hi = (t) => {
|
|
258
|
+
me(0, t);
|
|
259
|
+
};
|
|
260
|
+
async function tt(t) {
|
|
261
|
+
const { config: e, layer: i, xAxisField: s, splitByField: a, layerFieldsInfo: l, aggregationFields: r, fetchNullValues: c } = t, n = l.filter((f) => f.name === a)[0]?.type, x = c !== !0 ? `${a} IS NOT NULL` : "", d = s && c !== !0 ? `${s} IS NOT NULL` : "", { where: p } = e?.dataFilters ?? {}, m = {
|
|
262
|
+
where: ne([p, x, d]),
|
|
263
|
+
// excluding the null values from the list
|
|
264
|
+
orderByFields: Oe(a) ? [] : [`${a} ${U.Ascending}`],
|
|
265
|
+
// default sorting ascending for split-by field
|
|
266
|
+
geometry: e?.dataFilters?.geometry
|
|
267
|
+
}, g = i;
|
|
268
|
+
let u = "";
|
|
269
|
+
r.length === 0 ? u = g?.objectIdField ?? "" : [u] = r;
|
|
270
|
+
let S = await de({
|
|
271
|
+
queryObject: g,
|
|
272
|
+
category: e?.series[0].x ?? "",
|
|
273
|
+
splitByField: a,
|
|
274
|
+
queryConfig: m
|
|
275
|
+
});
|
|
276
|
+
if (e) {
|
|
277
|
+
const f = e?.series.map((o) => G({ where: o.query?.where })?.toString() ?? "").filter((o) => o !== void 0 && o !== "");
|
|
278
|
+
S = qe({
|
|
279
|
+
arrayA: S,
|
|
280
|
+
arrayB: f,
|
|
281
|
+
getKey: (o) => o === null ? null : o?.toString()
|
|
282
|
+
});
|
|
283
|
+
}
|
|
284
|
+
return { categoriesArray: S, splitByFieldType: n, numericalField: u };
|
|
285
|
+
}
|
|
286
|
+
function vi(t, e) {
|
|
287
|
+
let i = e === "";
|
|
288
|
+
for (const s of t)
|
|
289
|
+
if (e === s.name) {
|
|
290
|
+
i = !0;
|
|
291
|
+
break;
|
|
292
|
+
}
|
|
293
|
+
return i;
|
|
294
|
+
}
|
|
295
|
+
function Ii(t, e) {
|
|
296
|
+
const i = De(t);
|
|
297
|
+
let s = e.length === 0, a = 0;
|
|
298
|
+
for (const l of e) {
|
|
299
|
+
for (const r of i)
|
|
300
|
+
if (l === r && (a += 1), a === e.length) {
|
|
301
|
+
s = !0;
|
|
302
|
+
break;
|
|
303
|
+
}
|
|
304
|
+
if (s)
|
|
305
|
+
break;
|
|
306
|
+
}
|
|
307
|
+
return s;
|
|
308
|
+
}
|
|
309
|
+
function Bi(t, e) {
|
|
310
|
+
e.forEach((i) => {
|
|
311
|
+
Object.getOwnPropertyNames(i.prototype).forEach((s) => {
|
|
312
|
+
Object.defineProperty(
|
|
313
|
+
t.prototype,
|
|
314
|
+
s,
|
|
315
|
+
Object.getOwnPropertyDescriptor(i.prototype, s) || /* @__PURE__ */ Object.create(null)
|
|
316
|
+
);
|
|
317
|
+
});
|
|
318
|
+
});
|
|
319
|
+
}
|
|
320
|
+
async function it(t) {
|
|
321
|
+
const { layerInfo: e, config: i, category: s } = t, { layer: a } = e, { where: l } = i?.dataFilters ?? {}, { fetchNullValues: r } = i?.series?.[0]?.query ?? {}, c = r !== !0 ? `${s} IS NOT NULL` : "", y = {
|
|
322
|
+
where: ne([l, c]),
|
|
323
|
+
// excluding the null values from the list
|
|
324
|
+
orderByFields: [],
|
|
325
|
+
geometry: i?.dataFilters?.geometry
|
|
326
|
+
}, n = Z(a);
|
|
327
|
+
return (
|
|
328
|
+
// fetch unique category values asynchronously
|
|
329
|
+
(await de({ queryObject: a, category: s, queryConfig: y })).map((d) => {
|
|
330
|
+
const p = String(d);
|
|
331
|
+
return _({
|
|
332
|
+
fieldName: s,
|
|
333
|
+
fieldValueToMatch: p,
|
|
334
|
+
subtypeInfo: n,
|
|
335
|
+
// use the retrieved subtype information
|
|
336
|
+
fieldList: e.layerFieldsInfo
|
|
337
|
+
// list of field information from the layer
|
|
338
|
+
}) ?? p;
|
|
339
|
+
})
|
|
340
|
+
);
|
|
341
|
+
}
|
|
342
|
+
const Li = (t, e) => e.series[t]?.id, Ci = (t, e) => e.series.findIndex((i) => i.id === t), st = (t) => t.series.length ?? 0, Ni = (t, e) => e.series[t].visible ?? !0;
|
|
343
|
+
function Vi(t, e) {
|
|
344
|
+
let i;
|
|
345
|
+
return t.length !== 0 && e < t.length && (i = t[e].dataTooltipValueFormat), i;
|
|
346
|
+
}
|
|
347
|
+
function Di(t) {
|
|
348
|
+
const { series: e, seriesIndex: i, valueFormat: s } = t;
|
|
349
|
+
e.length !== 0 && i < e.length && (e[i].dataTooltipValueFormat = s);
|
|
350
|
+
}
|
|
351
|
+
function j(t) {
|
|
352
|
+
const { seriesIndex: e, xAxisField: i, aggregationType: s, config: a, layerInfo: l, commonStrings: r } = t, { objectIdField: c } = l ?? {};
|
|
353
|
+
let y;
|
|
354
|
+
const n = a.series[e ?? 0];
|
|
355
|
+
let x = !1, d = !1;
|
|
356
|
+
if (n === void 0) {
|
|
357
|
+
const g = a.series;
|
|
358
|
+
x = g.slice(0, e).every((u) => T(u)), d = g.slice(0, e).every((u) => A(u));
|
|
359
|
+
} else
|
|
360
|
+
x = T(n), d = A(n);
|
|
361
|
+
x ? y = ke({
|
|
362
|
+
commonStrings: r,
|
|
363
|
+
seriesIndex: e,
|
|
364
|
+
objectIDField: c
|
|
365
|
+
}) : d ? y = je({
|
|
366
|
+
commonStrings: r,
|
|
367
|
+
seriesIndex: e,
|
|
368
|
+
objectIDField: c
|
|
369
|
+
}) : y = Pe({
|
|
370
|
+
seriesIndex: e,
|
|
371
|
+
objectIDField: c,
|
|
372
|
+
commonStrings: r
|
|
373
|
+
});
|
|
374
|
+
const p = a.series[0]?.dataLabels, m = {
|
|
375
|
+
...y,
|
|
376
|
+
x: i,
|
|
377
|
+
y: "",
|
|
378
|
+
dataLabels: {
|
|
379
|
+
...y.dataLabels,
|
|
380
|
+
type: y.dataLabels?.type ?? O.Text,
|
|
381
|
+
content: { ...y.dataLabels?.content, ...p?.content, type: Le.TS },
|
|
382
|
+
visible: p?.visible ?? !1
|
|
383
|
+
}
|
|
384
|
+
};
|
|
385
|
+
if (m.query = {
|
|
386
|
+
groupByFieldsForStatistics: [i]
|
|
387
|
+
}, s !== I.NoAggregation && c !== void 0) {
|
|
388
|
+
const g = `${s}_${c}_0`.toUpperCase();
|
|
389
|
+
m.y = g, m.query.outStatistics = [
|
|
390
|
+
{
|
|
391
|
+
statisticType: s,
|
|
392
|
+
onStatisticField: c,
|
|
393
|
+
outStatisticFieldName: g
|
|
394
|
+
}
|
|
395
|
+
];
|
|
396
|
+
}
|
|
397
|
+
if (T(m) || A(m) || v(m) && a.series[0]?.binTemporalData) {
|
|
398
|
+
let g;
|
|
399
|
+
if (a?.series?.[0] !== void 0 && (g = J(a.series)), g !== E.BarAndLineNoAggregation && g !== E.BarAndLineSplitByNoAggregation) {
|
|
400
|
+
let u = Ge(a);
|
|
401
|
+
u === z.Quarter && (u = z.Month), m.temporalBinning = {
|
|
402
|
+
size: _e(a),
|
|
403
|
+
unit: u,
|
|
404
|
+
timeAggregationType: Je(a),
|
|
405
|
+
trimIncompleteTimeInterval: Qe(a),
|
|
406
|
+
nullPolicy: He(a)
|
|
407
|
+
};
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
return R(m);
|
|
411
|
+
}
|
|
412
|
+
function xe(t, e, i) {
|
|
413
|
+
const { layerFieldsInfo: s, objectIdField: a } = e, l = P(t), r = te(t), c = Se(t), y = K(t), n = r.length === 0 || r.includes(a), x = oe(c, i), d = n ? "" : r.map((o) => D(s ?? [], o)).join(", "), p = D(s ?? [], l), m = D(s ?? [], y), g = t.series.some((o) => v(o)), u = g ? "category" : "xAxisField", S = p;
|
|
414
|
+
let f = "";
|
|
415
|
+
if (ce({
|
|
416
|
+
fieldName: l,
|
|
417
|
+
numericFields: r,
|
|
418
|
+
fieldList: s
|
|
419
|
+
}))
|
|
420
|
+
f = V(i.titleLabels.aggrTypeOfAggrFields, {
|
|
421
|
+
aggregationType: x,
|
|
422
|
+
aggregationFields: d
|
|
423
|
+
});
|
|
424
|
+
else if (c === I.NoAggregation) {
|
|
425
|
+
const o = n ? a : d;
|
|
426
|
+
if (y === "") {
|
|
427
|
+
const q = g ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
428
|
+
f = V(i.titleLabels[q], {
|
|
429
|
+
aggregationType: o,
|
|
430
|
+
[u]: S
|
|
431
|
+
});
|
|
432
|
+
} else {
|
|
433
|
+
const q = g ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
434
|
+
f = V(i.titleLabels[q], {
|
|
435
|
+
aggregationType: o,
|
|
436
|
+
[u]: S,
|
|
437
|
+
splitByField: m
|
|
438
|
+
});
|
|
439
|
+
}
|
|
440
|
+
} else if (c === I.Count)
|
|
441
|
+
if (y === "") {
|
|
442
|
+
const o = g ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
443
|
+
f = V(i.titleLabels[o], {
|
|
444
|
+
aggregationType: x,
|
|
445
|
+
[u]: S
|
|
446
|
+
});
|
|
447
|
+
} else {
|
|
448
|
+
const o = g ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
449
|
+
f = V(i.titleLabels[o], {
|
|
450
|
+
aggregationType: x,
|
|
451
|
+
[u]: S,
|
|
452
|
+
splitByField: m
|
|
453
|
+
});
|
|
454
|
+
}
|
|
455
|
+
else if (y !== "") {
|
|
456
|
+
const o = g ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
|
|
457
|
+
f = V(i.titleLabels[o], {
|
|
458
|
+
aggregationType: x,
|
|
459
|
+
aggregationField: d,
|
|
460
|
+
[u]: S,
|
|
461
|
+
splitByField: m
|
|
462
|
+
});
|
|
463
|
+
} else if (r.length > 0) {
|
|
464
|
+
const o = g ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
|
|
465
|
+
f = V(i.titleLabels[o], {
|
|
466
|
+
aggregationType: x,
|
|
467
|
+
aggregationFields: d,
|
|
468
|
+
[u]: S
|
|
469
|
+
});
|
|
470
|
+
}
|
|
471
|
+
return f;
|
|
472
|
+
}
|
|
473
|
+
const pe = (t) => G({
|
|
474
|
+
where: t.query?.where,
|
|
475
|
+
normalize: !1,
|
|
476
|
+
escape: !1
|
|
477
|
+
}) ?? "", Se = (t) => t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation, K = le(
|
|
478
|
+
(t) => {
|
|
479
|
+
const e = t?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
|
|
480
|
+
return we(t?.series?.[0]?.query?.where) ? "" : e;
|
|
481
|
+
},
|
|
482
|
+
(t) => t?.series?.[0]?.query?.where
|
|
483
|
+
), te = le(
|
|
484
|
+
// without memoizing, the worst case efficiency is O(series.length), best case is O(1)
|
|
485
|
+
// with memoizing, the worst case efficiency for repeated calls becomes O(1)
|
|
486
|
+
(t) => {
|
|
487
|
+
let e = [];
|
|
488
|
+
if (K(t) === "")
|
|
489
|
+
e = t?.series.map((i) => {
|
|
490
|
+
const s = i.query?.outStatistics?.map((a) => a.onStatisticField) ?? [];
|
|
491
|
+
return s?.length > 0 ? s : i.y;
|
|
492
|
+
}).flat() ?? [];
|
|
493
|
+
else {
|
|
494
|
+
const i = t?.series?.[0], s = i?.query?.outStatistics?.[0]?.onStatisticField ?? [i?.y].flat()[0];
|
|
495
|
+
e = s !== void 0 ? [s] : [];
|
|
496
|
+
}
|
|
497
|
+
return [...new Set(e.filter((i) => i !== ""))];
|
|
498
|
+
},
|
|
499
|
+
// using series array address as key, since a change to the numeric fields will always rebuild a fresh series array
|
|
500
|
+
(t) => t?.series
|
|
501
|
+
);
|
|
502
|
+
function at(t) {
|
|
503
|
+
const { numericFields: e, aggregationType: i, config: s, layerInfo: a } = t;
|
|
504
|
+
let l = !1;
|
|
505
|
+
i === I.Count ? l = !0 : i === I.NoAggregation && (l = e.every((y) => {
|
|
506
|
+
const n = a.layerFieldsInfo.find((x) => x.name === y);
|
|
507
|
+
return n !== void 0 ? ie(n) : !1;
|
|
508
|
+
})), ae(s, 1, l);
|
|
509
|
+
const r = s.series.some((y) => T(y)), c = s.series.some((y) => A(y));
|
|
510
|
+
if (r || c) {
|
|
511
|
+
const y = P(s), n = a.layerFieldsInfo.find((d) => d.name === y), x = n !== void 0 && ie(n);
|
|
512
|
+
ae(s, 0, x);
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
const lt = (t) => {
|
|
516
|
+
let e = w.xAxisAsc;
|
|
517
|
+
const i = t.orderOptions?.data?.orderType ?? k.Category, s = t.orderOptions?.data?.orderBy ?? U.Ascending;
|
|
518
|
+
return i === k.Category && Array.isArray(s) ? e = w.customSort : i === k.Category ? s === U.Ascending ? e = w.xAxisAsc : e = w.xAxisDesc : s === U.Ascending ? e = w.yAxisAsc : e = w.yAxisDesc, e;
|
|
519
|
+
};
|
|
520
|
+
function rt(t) {
|
|
521
|
+
const { xAxisField: e, numericFields: i, aggregationType: s, config: a, layerInfo: l, commonStrings: r } = t, { layerFieldsInfo: c } = l;
|
|
522
|
+
let y = !1;
|
|
523
|
+
const n = j({
|
|
524
|
+
config: a,
|
|
525
|
+
xAxisField: e,
|
|
526
|
+
aggregationType: s,
|
|
527
|
+
layerInfo: l,
|
|
528
|
+
seriesIndex: 0,
|
|
529
|
+
commonStrings: r
|
|
530
|
+
}), x = H({
|
|
531
|
+
config: a,
|
|
532
|
+
xAxisField: e,
|
|
533
|
+
numericFields: i,
|
|
534
|
+
aggregationType: s,
|
|
535
|
+
layer: l.layer,
|
|
536
|
+
fieldList: c
|
|
537
|
+
}).name, d = {
|
|
538
|
+
...n,
|
|
539
|
+
id: `series_${Date.now()}`,
|
|
540
|
+
name: r.axisLabels.values,
|
|
541
|
+
x: X,
|
|
542
|
+
y: x
|
|
543
|
+
}, p = [];
|
|
544
|
+
for (const g of i)
|
|
545
|
+
p.push({
|
|
546
|
+
onStatisticField: g,
|
|
547
|
+
outStatisticFieldName: `${g}_0`.toUpperCase(),
|
|
548
|
+
statisticType: s
|
|
549
|
+
});
|
|
550
|
+
d.query = { outStatistics: p };
|
|
551
|
+
const m = a.series[0];
|
|
552
|
+
return m !== void 0 && (d.id = m.id, a.colorMatch || (v(m) && v(d) ? d.fillSymbol = m.fillSymbol : (T(d) && T(m) || A(d) && A(m)) && (d.lineSymbol = m.lineSymbol, d.markerSymbol = m.markerSymbol), y = !0), d.id = m.id, m.name !== n.name && (d.name = m.name)), a.series.length === 1 && !a.colorMatch && (v(d) ? d.fillSymbol = a.series[0].fillSymbol : (T(d) || A(d)) && (d.lineSymbol = a.series[0].lineSymbol, d.markerSymbol = a.series[0].markerSymbol), y = !0), a.colorMatch = !y, [d];
|
|
553
|
+
}
|
|
554
|
+
function be(t) {
|
|
555
|
+
const { xAxisField: e, numericFields: i, aggregationType: s, config: a, layerInfo: l, commonStrings: r } = t, { layerFieldsInfo: c, objectIdField: y } = l, n = [];
|
|
556
|
+
let x = !1;
|
|
557
|
+
for (let d = 0; d < i.length; d += 1) {
|
|
558
|
+
const p = j({
|
|
559
|
+
config: a,
|
|
560
|
+
xAxisField: e,
|
|
561
|
+
aggregationType: s,
|
|
562
|
+
layerInfo: l,
|
|
563
|
+
seriesIndex: d,
|
|
564
|
+
commonStrings: r
|
|
565
|
+
}), m = H({
|
|
566
|
+
config: a,
|
|
567
|
+
xAxisField: e,
|
|
568
|
+
numericFields: i,
|
|
569
|
+
aggregationType: s,
|
|
570
|
+
layer: l.layer,
|
|
571
|
+
numericFieldIndex: d,
|
|
572
|
+
fieldList: c
|
|
573
|
+
}).name, g = i[d];
|
|
574
|
+
let u = {
|
|
575
|
+
...p,
|
|
576
|
+
query: {
|
|
577
|
+
...p.query
|
|
578
|
+
}
|
|
579
|
+
};
|
|
580
|
+
g !== y && (u = {
|
|
581
|
+
...u,
|
|
582
|
+
id: g,
|
|
583
|
+
name: D(c, g)
|
|
584
|
+
});
|
|
585
|
+
let S = g;
|
|
586
|
+
u.query !== void 0 && (s !== I.NoAggregation ? (S = m, u.query.outStatistics = [
|
|
587
|
+
{
|
|
588
|
+
...p.query?.outStatistics?.[0] ?? {},
|
|
589
|
+
onStatisticField: g,
|
|
590
|
+
outStatisticFieldName: m,
|
|
591
|
+
statisticType: s
|
|
592
|
+
}
|
|
593
|
+
]) : delete u.query.outStatistics), u.y = S;
|
|
594
|
+
const f = a.series.find(
|
|
595
|
+
(o) => o.query?.outStatistics?.[0]?.onStatisticField === g && o.query.where === void 0
|
|
596
|
+
);
|
|
597
|
+
if (f !== void 0 && typeof f.y == "string" && f.y.trim() !== "") {
|
|
598
|
+
a.colorMatch || (v(u) && v(f) ? u.fillSymbol = f.fillSymbol : (T(u) && T(f) || A(u) && A(f)) && (u.lineSymbol = f.lineSymbol, u.markerSymbol = f.markerSymbol), x = !0);
|
|
599
|
+
const o = j({
|
|
600
|
+
config: a,
|
|
601
|
+
xAxisField: e,
|
|
602
|
+
aggregationType: s,
|
|
603
|
+
layerInfo: l,
|
|
604
|
+
seriesIndex: d,
|
|
605
|
+
commonStrings: r
|
|
606
|
+
});
|
|
607
|
+
u.id = f.id, f.id !== o.id && f.name !== o.name && (u.id = f.id, u.name = f.name);
|
|
608
|
+
}
|
|
609
|
+
n.push(u);
|
|
610
|
+
}
|
|
611
|
+
return a.series.length === 1 && n.length === 1 && !a.colorMatch && (v(a.series[0]) && v(n[0]) ? n[0].fillSymbol = a.series[0].fillSymbol : (T(a.series[0]) && T(n[0]) || A(a.series[0]) && A(n[0])) && (n[0].lineSymbol = a.series[0].lineSymbol, n[0].markerSymbol = a.series[0].markerSymbol), x = !0), a.colorMatch = !x, n;
|
|
612
|
+
}
|
|
613
|
+
async function ot(t) {
|
|
614
|
+
const { splitByField: e, xAxisField: i, numericFields: s, aggregationType: a, config: l, layerInfo: r, commonStrings: c } = t, { layer: y, layerFieldsInfo: n } = r, { fetchNullValues: x } = l?.series?.[0]?.query ?? {}, d = i !== X ? i : void 0, { categoriesArray: p, splitByFieldType: m, numericalField: g } = await tt({
|
|
615
|
+
config: l,
|
|
616
|
+
layer: y,
|
|
617
|
+
layerFieldsInfo: n,
|
|
618
|
+
xAxisField: d,
|
|
619
|
+
aggregationFields: s,
|
|
620
|
+
splitByField: e,
|
|
621
|
+
fetchNullValues: x
|
|
622
|
+
});
|
|
623
|
+
let u = [], S = !1;
|
|
624
|
+
if (p.length === 0) {
|
|
625
|
+
u = be({
|
|
626
|
+
xAxisField: i,
|
|
627
|
+
numericFields: s,
|
|
628
|
+
aggregationType: a,
|
|
629
|
+
config: l,
|
|
630
|
+
layerInfo: r,
|
|
631
|
+
commonStrings: c
|
|
632
|
+
});
|
|
633
|
+
for (const f of u)
|
|
634
|
+
f.query && (f.query.where = `${e}=''`);
|
|
635
|
+
} else
|
|
636
|
+
for (let f = 0; f < p.length; f += 1) {
|
|
637
|
+
const o = p[f], q = H({
|
|
638
|
+
config: l,
|
|
639
|
+
xAxisField: i,
|
|
640
|
+
numericFields: s,
|
|
641
|
+
aggregationType: a,
|
|
642
|
+
layer: r.layer,
|
|
643
|
+
seriesIndex: f,
|
|
644
|
+
splitByField: e,
|
|
645
|
+
fieldList: n
|
|
646
|
+
}).name, M = j({
|
|
647
|
+
config: l,
|
|
648
|
+
xAxisField: i,
|
|
649
|
+
aggregationType: a,
|
|
650
|
+
layerInfo: r,
|
|
651
|
+
seriesIndex: f,
|
|
652
|
+
commonStrings: c
|
|
653
|
+
}), Fe = {
|
|
654
|
+
fieldName: e,
|
|
655
|
+
fieldValueToMatch: o ?? "",
|
|
656
|
+
subtypeInfo: Z(r.layer),
|
|
657
|
+
fieldList: r.layerFieldsInfo
|
|
658
|
+
}, Te = _(Fe), W = `${o}`, F = {
|
|
659
|
+
...M,
|
|
660
|
+
id: W,
|
|
661
|
+
name: Te ?? W,
|
|
662
|
+
y: q,
|
|
663
|
+
query: {
|
|
664
|
+
...M.query,
|
|
665
|
+
where: `${e}=${m === re.String && o !== null ? `'${o}'` : o}`,
|
|
666
|
+
outStatistics: a !== I.NoAggregation ? [
|
|
667
|
+
{
|
|
668
|
+
...M.query?.outStatistics?.[0] ?? {},
|
|
669
|
+
onStatisticField: g,
|
|
670
|
+
outStatisticFieldName: q,
|
|
671
|
+
statisticType: a
|
|
672
|
+
}
|
|
673
|
+
] : void 0
|
|
674
|
+
}
|
|
675
|
+
};
|
|
676
|
+
a === I.NoAggregation && (F.query !== void 0 && (delete F.query.outStatistics, delete F.query.groupByFieldsForStatistics), F.y = g);
|
|
677
|
+
const N = l.series.find(
|
|
678
|
+
(Ae) => String(pe(Ae)).trim().replace(/'/gu, "") === W
|
|
679
|
+
);
|
|
680
|
+
N !== void 0 && (l.colorMatch || (v(F) && v(N) ? F.fillSymbol = N.fillSymbol : (T(F) && T(N) || A(F) && A(N)) && (F.lineSymbol = N.lineSymbol, F.markerSymbol = N.markerSymbol), S = !0), F.id = N.id, F.name = N.name), u.push(F);
|
|
681
|
+
}
|
|
682
|
+
return l.colorMatch = !S, u;
|
|
683
|
+
}
|
|
684
|
+
const Oi = async (t) => {
|
|
685
|
+
const { xAxisField: e, splitByField: i, numericFields: s, aggregationType: a, config: l, layerInfo: r, commonStrings: c } = t, { layerFieldsInfo: y } = r ?? {}, n = st(l), x = P(l), d = nt(l, r, c), p = ct(l, r, c), m = dt(l, r);
|
|
686
|
+
let g = fe(l);
|
|
687
|
+
const u = l.series.some((o) => v(o)), S = Ke(l.series), f = Re(l.series);
|
|
688
|
+
if (y !== void 0) {
|
|
689
|
+
const o = Me(y);
|
|
690
|
+
!o.includes(x) && o.includes(e) ? g = Ue() : o.includes(x) && !o.includes(e) && (u ? g = Y() : g = Ee()), y.find((M) => M.name === e)?.type === re.String && (g = Y()), g !== void 0 && We(l, c, g);
|
|
691
|
+
}
|
|
692
|
+
if (n === 0 && (l.series = [
|
|
693
|
+
j({ config: l, xAxisField: e, aggregationType: a, layerInfo: r, commonStrings: c })
|
|
694
|
+
]), l.series.forEach((o) => {
|
|
695
|
+
o.x = e, o.query !== void 0 && (o.query.groupByFieldsForStatistics = [e]);
|
|
696
|
+
}), i === "" || s.length > 1 ? ce({
|
|
697
|
+
fieldName: e,
|
|
698
|
+
numericFields: s,
|
|
699
|
+
fieldList: y
|
|
700
|
+
}) ? l.series = rt({
|
|
701
|
+
config: l,
|
|
702
|
+
layerInfo: r,
|
|
703
|
+
xAxisField: e,
|
|
704
|
+
numericFields: s,
|
|
705
|
+
aggregationType: a,
|
|
706
|
+
commonStrings: c
|
|
707
|
+
}) : l.series = be({
|
|
708
|
+
config: l,
|
|
709
|
+
layerInfo: r,
|
|
710
|
+
xAxisField: e,
|
|
711
|
+
numericFields: s,
|
|
712
|
+
aggregationType: a,
|
|
713
|
+
commonStrings: c
|
|
714
|
+
}) : (await Promise.resolve(), l.series = await ot({
|
|
715
|
+
config: l,
|
|
716
|
+
layerInfo: r,
|
|
717
|
+
splitByField: i,
|
|
718
|
+
xAxisField: e,
|
|
719
|
+
numericFields: s,
|
|
720
|
+
aggregationType: a,
|
|
721
|
+
commonStrings: c
|
|
722
|
+
})), m) {
|
|
723
|
+
const o = D(y, e);
|
|
724
|
+
se(l, 0, o);
|
|
725
|
+
}
|
|
726
|
+
if (p) {
|
|
727
|
+
const o = ue({
|
|
728
|
+
config: l,
|
|
729
|
+
layerInfo: r,
|
|
730
|
+
commonStrings: c,
|
|
731
|
+
numericFields: s,
|
|
732
|
+
aggregationType: a
|
|
733
|
+
});
|
|
734
|
+
se(l, 1, o);
|
|
735
|
+
}
|
|
736
|
+
if (l.title && d && (l.title.content.text = xe(l, r, c)), b({ config: l, value: null, axisIndex: 1, isMax: !1 }), b({ config: l, value: null, axisIndex: 1, isMax: !0 }), at({ numericFields: s, aggregationType: a, config: l, layerInfo: r }), S || f) {
|
|
737
|
+
b({ config: l, value: null, axisIndex: 0, isMax: !1 }), b({ config: l, value: null, axisIndex: 0, isMax: !0 }), me(0, l);
|
|
738
|
+
const o = g?.type === O.DateAxisFormat ? $.Null : $.Interpolate;
|
|
739
|
+
et(o, l);
|
|
740
|
+
}
|
|
741
|
+
}, qi = (t) => {
|
|
742
|
+
const { config: e, seriesIndex: i, layerInfo: s, commonStrings: a } = t, l = e.series?.[i], r = K(e);
|
|
743
|
+
let c;
|
|
744
|
+
if (J(e.series) === E.BarAndLineFromFields)
|
|
745
|
+
c = a.axisLabels.values;
|
|
746
|
+
else if (he(r)) {
|
|
747
|
+
const n = l.query?.outStatistics?.[0]?.onStatisticField;
|
|
748
|
+
n !== void 0 && n !== s.objectIdField && (c = D(s.layerFieldsInfo, n));
|
|
749
|
+
} else {
|
|
750
|
+
const n = String(pe(l)).trim().replace(/'/gu, ""), x = {
|
|
751
|
+
fieldName: K(e),
|
|
752
|
+
fieldValueToMatch: n ?? "",
|
|
753
|
+
subtypeInfo: Z(s.layer),
|
|
754
|
+
fieldList: s.layerFieldsInfo
|
|
755
|
+
};
|
|
756
|
+
c = _(x) ?? n;
|
|
757
|
+
}
|
|
758
|
+
return c ?? l.id;
|
|
759
|
+
}, wi = (t, e) => {
|
|
760
|
+
e.orderOptions ??= {};
|
|
761
|
+
const i = e.orderOptions?.data?.orderType;
|
|
762
|
+
lt(e) === w.customSort && i === k.Category && (e.orderOptions.data = {
|
|
763
|
+
orderType: k.Category,
|
|
764
|
+
orderBy: [...t]
|
|
765
|
+
});
|
|
766
|
+
}, Mi = async (t, e) => {
|
|
767
|
+
const i = P(t), s = fe(t)?.type, a = te(t), l = J(t.series);
|
|
768
|
+
let r = [];
|
|
769
|
+
return s === O.CategoryAxisFormat && (l === E.BarAndLineFromFields || i === X ? r = a.map((c) => D(e?.layerFieldsInfo, c)) : i.trim() !== "" && i !== X && e !== void 0 && (r = await it({
|
|
770
|
+
layerInfo: e,
|
|
771
|
+
config: t,
|
|
772
|
+
category: i
|
|
773
|
+
}))), r;
|
|
774
|
+
};
|
|
775
|
+
function nt(t, e, i) {
|
|
776
|
+
const s = xe(t, e, i), a = Ye(t), l = Q(t);
|
|
777
|
+
return s === a || l;
|
|
778
|
+
}
|
|
779
|
+
function ct(t, e, i) {
|
|
780
|
+
const s = ue({
|
|
781
|
+
config: t,
|
|
782
|
+
layerInfo: e,
|
|
783
|
+
commonStrings: i,
|
|
784
|
+
numericFields: te(t),
|
|
785
|
+
aggregationType: Se(t)
|
|
786
|
+
}), a = ee(1, t), l = Q(t);
|
|
787
|
+
return s === a || l;
|
|
788
|
+
}
|
|
789
|
+
function dt(t, e) {
|
|
790
|
+
const i = D(e.layerFieldsInfo, P(t)), s = ee(0, t), a = Q(t);
|
|
791
|
+
return i === s || a;
|
|
792
|
+
}
|
|
793
|
+
function ki(t) {
|
|
794
|
+
return t.series[0]?.binTemporalData ?? !1;
|
|
795
|
+
}
|
|
796
|
+
function ji(t, e) {
|
|
797
|
+
e?.series.forEach((i) => {
|
|
798
|
+
(i?.type === O.BarSeries || i?.type === O.LineSeries) && (i.binTemporalData = t, t ? i.temporalBinning = {
|
|
799
|
+
unit: z.Day,
|
|
800
|
+
size: 0,
|
|
801
|
+
timeAggregationType: Be.Start,
|
|
802
|
+
trimIncompleteTimeInterval: !0,
|
|
803
|
+
nullPolicy: $.Null
|
|
804
|
+
} : delete i.temporalBinning);
|
|
805
|
+
});
|
|
806
|
+
}
|
|
807
|
+
const Pi = (t, e) => {
|
|
808
|
+
e.series.forEach((i) => {
|
|
809
|
+
i.query && (i.query.fetchNullValues = t);
|
|
810
|
+
});
|
|
811
|
+
}, Ui = (t) => t.series.some((e) => e.query?.fetchNullValues), Ei = (t) => (
|
|
812
|
+
// TODO: Look into split-by values gotchas cases once done
|
|
813
|
+
t.series.map((e) => String(G({ where: e.query?.where }))).filter((e) => e !== void 0 && e.trim() !== "")
|
|
814
|
+
), Xi = (t) => t.dataFilters, Ki = (t, e) => {
|
|
815
|
+
t !== void 0 ? e.dataFilters = t : delete e.dataFilters;
|
|
816
|
+
};
|
|
817
|
+
export {
|
|
818
|
+
st as $,
|
|
819
|
+
He as A,
|
|
820
|
+
et as B,
|
|
821
|
+
hi as C,
|
|
822
|
+
lt as D,
|
|
823
|
+
Mi as E,
|
|
824
|
+
wi as F,
|
|
825
|
+
ki as G,
|
|
826
|
+
ji as H,
|
|
827
|
+
Oi as I,
|
|
828
|
+
xe as J,
|
|
829
|
+
Wt as K,
|
|
830
|
+
Et as L,
|
|
831
|
+
Xt as M,
|
|
832
|
+
Kt as N,
|
|
833
|
+
Rt as O,
|
|
834
|
+
$t as P,
|
|
835
|
+
zt as Q,
|
|
836
|
+
Yt as R,
|
|
837
|
+
Zt as S,
|
|
838
|
+
_t as T,
|
|
839
|
+
Ze as U,
|
|
840
|
+
Gt as V,
|
|
841
|
+
Jt as W,
|
|
842
|
+
Qt as X,
|
|
843
|
+
Ni as Y,
|
|
844
|
+
Li as Z,
|
|
845
|
+
Ci as _,
|
|
846
|
+
ee as a,
|
|
847
|
+
Vi as a0,
|
|
848
|
+
Di as a1,
|
|
849
|
+
Ui as a2,
|
|
850
|
+
Pi as a3,
|
|
851
|
+
Xi as a4,
|
|
852
|
+
Ki as a5,
|
|
853
|
+
oi as a6,
|
|
854
|
+
ni as a7,
|
|
855
|
+
ci as a8,
|
|
856
|
+
Ot as a9,
|
|
857
|
+
qt as aa,
|
|
858
|
+
Ht as ab,
|
|
859
|
+
ei as ac,
|
|
860
|
+
ti as ad,
|
|
861
|
+
ii as ae,
|
|
862
|
+
si as af,
|
|
863
|
+
ai as ag,
|
|
864
|
+
wt as ah,
|
|
865
|
+
li as ai,
|
|
866
|
+
ri as aj,
|
|
867
|
+
xi as ak,
|
|
868
|
+
Mt as al,
|
|
869
|
+
kt as am,
|
|
870
|
+
jt as an,
|
|
871
|
+
Pt as ao,
|
|
872
|
+
Ut as ap,
|
|
873
|
+
di as aq,
|
|
874
|
+
ui as ar,
|
|
875
|
+
yi as as,
|
|
876
|
+
gi as at,
|
|
877
|
+
fi as au,
|
|
878
|
+
mi as av,
|
|
879
|
+
pi as aw,
|
|
880
|
+
Si as ax,
|
|
881
|
+
bi as ay,
|
|
882
|
+
ue as b,
|
|
883
|
+
qi as c,
|
|
884
|
+
Bi as d,
|
|
885
|
+
vi as e,
|
|
886
|
+
Se as f,
|
|
887
|
+
Ye as g,
|
|
888
|
+
te as h,
|
|
889
|
+
Ii as i,
|
|
890
|
+
Ei as j,
|
|
891
|
+
K as k,
|
|
892
|
+
fe as l,
|
|
893
|
+
it as m,
|
|
894
|
+
We as n,
|
|
895
|
+
tt as o,
|
|
896
|
+
ae as p,
|
|
897
|
+
_e as q,
|
|
898
|
+
me as r,
|
|
899
|
+
b as s,
|
|
900
|
+
Ge as t,
|
|
901
|
+
se as u,
|
|
902
|
+
Fi as v,
|
|
903
|
+
Je as w,
|
|
904
|
+
Ti as x,
|
|
905
|
+
Qe as y,
|
|
906
|
+
Ai as z
|
|
907
|
+
};
|