@arcgis/charts-components 5.2.0-next.6 → 5.2.0-next.60
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/README.md +2 -2
- package/dist/cdn/{FF4DUQDZ.js → 22WGB4CQ.js} +1 -1
- package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/2G65P262.js +2 -0
- package/dist/cdn/2RYKKN36.js +2 -0
- package/dist/cdn/3AYXOX4U.js +2 -0
- package/dist/cdn/{ZFZ5AEUQ.js → 3CGAUDYD.js} +1 -1
- package/dist/cdn/{JBHGSSHS.js → 3FZCVKWJ.js} +1 -1
- package/dist/cdn/{DCZWZOPF.js → 3GVTYZ2I.js} +1 -1
- package/dist/cdn/3UHXOKCR.js +2 -0
- package/dist/cdn/3YCGBAQY.js +2 -0
- package/dist/cdn/3ZGG7Q5M.js +2 -0
- package/dist/cdn/4COV22K4.js +2 -0
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/{AM2TOTX6.js → 4EBMUPEV.js} +1 -1
- package/dist/cdn/{E7OAEGSE.js → 4VL2SBHK.js} +1 -1
- package/dist/cdn/54W4C75M.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/{DAB5R2BN.js → 5EYVH3PA.js} +1 -1
- package/dist/cdn/5MPXETTU.js +2 -0
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/5YP7P6S3.js +2 -0
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/67QYTLMM.js +2 -0
- package/dist/cdn/6AI3ZXL5.js +2 -0
- package/dist/cdn/6DOANSRL.js +45 -0
- package/dist/cdn/6MNV7FJC.js +2 -0
- package/dist/cdn/6PIQ2O5S.js +2 -0
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/7CMQGTU6.js +2 -0
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/{JRHMUFED.js → 7DIQIFKR.js} +1 -1
- package/dist/cdn/{ETKPMU7Z.js → 7WVTY3XI.js} +1 -1
- package/dist/cdn/{A5AECJXP.js → A2NFOGT2.js} +1 -1
- package/dist/cdn/A36KQ6YP.js +2 -0
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/ANHW36VW.js +2 -0
- package/dist/cdn/{DKAHZ7IX.js → ASZ6YFIL.js} +1 -1
- package/dist/cdn/{VY3KBD6N.js → AYQ4HHL6.js} +1 -1
- package/dist/cdn/AYUYEY5H.js +2 -0
- package/dist/cdn/{JJIGLOJA.js → AZKX3FMB.js} +1 -1
- package/dist/cdn/{AJWYIBGC.js → AZMQPJO3.js} +1 -1
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/BDTKAMUN.js +2 -0
- package/dist/cdn/BGOWDCTO.js +2 -0
- package/dist/cdn/BHGOAHMJ.js +2 -0
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BKK57XHL.js +2 -0
- package/dist/cdn/BLZLMGO6.js +2 -0
- package/dist/cdn/BXBY6D2F.js +2 -0
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/{BJDRJUEJ.js → CDJRYMBP.js} +1 -1
- package/dist/cdn/{6XTKJ7DO.js → CHMLTTRN.js} +1 -1
- package/dist/cdn/{HVO4LIXR.js → CL5G6D6W.js} +1 -1
- package/dist/cdn/{AWF4R7WL.js → CMGCZ4MF.js} +1 -1
- package/dist/cdn/{QMSINFQX.js → CVJSVWF3.js} +1 -1
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/{K3GNHGEW.js → D3KIBJKD.js} +1 -1
- package/dist/cdn/{KDJ5RVHA.js → DAFNQT4C.js} +1 -1
- package/dist/cdn/DBAM7MH7.js +2 -0
- package/dist/cdn/DGV6S2W3.js +2 -0
- package/dist/cdn/{TF7TE7K5.js → DJPMW6UC.js} +1 -1
- package/dist/cdn/DPTA2AET.js +2 -0
- package/dist/cdn/EAV3KAS7.js +2 -0
- package/dist/cdn/EBSQRCQQ.js +2 -0
- package/dist/cdn/EDVN42ME.js +2 -0
- package/dist/cdn/EMBMJCFZ.js +2 -0
- package/dist/cdn/EOHKNJSJ.js +2 -0
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/EUOJG5H6.js +2 -0
- package/dist/cdn/{2HUAW34Q.js → EXS2KOEA.js} +1 -1
- package/dist/cdn/FJGG2VVZ.js +2 -0
- package/dist/cdn/FQLRMWNL.js +2 -0
- package/dist/cdn/{QFEZPP3R.js → GARBFC7Q.js} +1 -1
- package/dist/cdn/{CLXVAIQX.js → GP3LPIRJ.js} +1 -1
- package/dist/cdn/GRL5SM6K.js +2 -0
- package/dist/cdn/H2EMIJME.js +2 -0
- package/dist/cdn/{ADGMA3ST.js → H57XAQPI.js} +2 -2
- package/dist/cdn/{L4G6FO7A.js → HBOYEK6P.js} +1 -1
- package/dist/cdn/{MVHQR4FJ.js → HOIPLQXD.js} +1 -1
- package/dist/cdn/{LFQGH44F.js → HQMOMCWF.js} +1 -1
- package/dist/cdn/{N6AOFBBX.js → HSQ32NUA.js} +1 -1
- package/dist/cdn/{7HGVEE7A.js → HUNN3ERX.js} +1 -1
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/I3XBTQKJ.js +2 -0
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/INISFVAK.js +2 -0
- package/dist/cdn/{P4HSSZRL.js → IONJLIQQ.js} +1 -1
- package/dist/cdn/{KCMZSNBL.js → ISK4QVLY.js} +1 -1
- package/dist/cdn/{DEGBVJ76.js → IUOORM26.js} +1 -1
- package/dist/cdn/J3CL6KB6.js +2 -0
- package/dist/cdn/JBFVGQSP.js +4 -0
- package/dist/cdn/JEVWE6ER.js +2 -0
- package/dist/cdn/JGESKW6S.js +2 -0
- package/dist/cdn/JH3NSZUT.js +2 -0
- package/dist/cdn/{ML3A3MYV.js → JS6A5QAV.js} +1 -1
- package/dist/cdn/{AK7X7SGI.js → JYC77MVD.js} +1 -1
- package/dist/cdn/JYITKARU.js +104 -0
- package/dist/cdn/{KUZR6CGB.js → JZ5HUNM5.js} +1 -1
- package/dist/cdn/K4APZJ2O.js +2 -0
- package/dist/cdn/KCES2YBJ.js +2 -0
- package/dist/cdn/KDCZQ6UT.js +2 -0
- package/dist/cdn/KJZTU3DV.js +2 -0
- package/dist/cdn/KLKI4XNW.js +2 -0
- package/dist/cdn/{5XTQQOTT.js → KOCZJFY6.js} +1 -1
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/KWA7OWHO.js +2 -0
- package/dist/cdn/L7TUV2MY.js +2 -0
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LGTXQIF7.js +2 -0
- package/dist/cdn/{IPM2XKST.js → LHDBHPXR.js} +1 -1
- package/dist/cdn/M744CFJ2.js +2 -0
- package/dist/cdn/{CHQDKVVQ.js → MARXRC6B.js} +1 -1
- package/dist/cdn/MJTWR33N.js +2 -0
- package/dist/cdn/{XE3FKQFA.js → MVCB4RM7.js} +1 -1
- package/dist/cdn/MXE4VPZS.js +2 -0
- package/dist/cdn/{KFONSKQF.js → MZ2RZ62O.js} +1 -1
- package/dist/cdn/NK66D65H.js +2 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/NZ2C5DJB.js +2 -0
- package/dist/cdn/O3DJD5IR.js +2 -0
- package/dist/cdn/O3VKOV2W.js +2 -0
- package/dist/cdn/{THTYR6IL.js → OAXHS4LE.js} +1 -1
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/OFFKJPQH.js +2 -0
- package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
- package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
- package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/{A4GEWIPY.js → OSUM4CWA.js} +1 -1
- package/dist/cdn/OWWQ5SYW.js +2 -0
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/P5QEJOJS.js +2 -0
- package/dist/cdn/{5MEQANMY.js → PAQGR4DD.js} +1 -1
- package/dist/cdn/{ZXOO3X5P.js → PEEVY5UG.js} +1 -1
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/PLEC3GNT.js +2 -0
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/{GDQBQQUP.js → QTSF2LK7.js} +1 -1
- package/dist/cdn/QZCTLQBM.js +2 -0
- package/dist/cdn/RICA7GJM.js +2 -0
- package/dist/cdn/S5GVUYBL.js +2 -0
- package/dist/cdn/SCU3SBSN.js +2 -0
- package/dist/cdn/SQIKFO32.js +2 -0
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/SUNHJPBW.js +2 -0
- package/dist/cdn/SYVPFDIW.js +2 -0
- package/dist/cdn/T62EETHJ.js +2 -0
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/TEWEPSIO.js +2 -0
- package/dist/cdn/{QOOBNATX.js → TGEHTOWR.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/{SBYD2EKR.js → TSSN2OW3.js} +1 -1
- package/dist/cdn/{MRTKZZTF.js → U43KANH5.js} +1 -1
- package/dist/cdn/{7FZC3RZK.js → UB36FUCN.js} +1 -1
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/UM7RIOCE.js +2 -0
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/V5W5LNFT.js +2 -0
- package/dist/cdn/V6LKZUEZ.js +3 -0
- package/dist/cdn/{YOT6DVSU.js → V7AEHY25.js} +1 -1
- package/dist/cdn/VA6KJZ2Y.js +2 -0
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/{KZ7LPNX3.js → VNNTABNO.js} +1 -1
- package/dist/cdn/{XW4PBQNW.js → VT6X6QMA.js} +1 -1
- package/dist/cdn/WFW6BNDT.js +2 -0
- package/dist/cdn/{GV3TT7L5.js → WKQB6Z7Z.js} +1 -1
- package/dist/cdn/{Y7HBWU3M.js → WMUPNT4Q.js} +1 -1
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/WTJ2NJ76.js +2 -0
- package/dist/cdn/WZOHQJFB.js +2 -0
- package/dist/cdn/XKZ44LA2.js +2 -0
- package/dist/cdn/XM2GVJT3.js +2 -0
- package/dist/cdn/Y2WHHAAA.js +2 -0
- package/dist/cdn/Y5ZH7VS4.js +2 -0
- package/dist/cdn/{WASEMNYV.js → YC4WZNPI.js} +1 -1
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/YVSZN6IH.js +2 -0
- package/dist/cdn/Z3LGGHZN.js +2 -0
- package/dist/cdn/ZGBULDPL.js +2 -0
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/{4LPXOEML.js → ZLXYBOM3.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → ZRX4BEOX.js} +1 -1
- package/dist/cdn/{S5UDCCRH.js → ZWIF7LHW.js} +1 -1
- package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +19 -21
- package/dist/chunks/{type-guards3.js → action-bar-utils.js} +27 -35
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +39 -36
- package/dist/chunks/box-plot-data.js +77 -78
- package/dist/chunks/box-plot-model.js +18 -18
- package/dist/chunks/chart-model.js +177 -145
- package/dist/chunks/chart-object-literals.js +2 -1
- package/dist/chunks/chart-ui-utils.js +24 -23
- package/dist/chunks/class-breaks.js +12 -12
- package/dist/chunks/combo-bar-line-chart-model.js +30 -31
- package/dist/chunks/data-labels-symbol.js +39 -24
- package/dist/chunks/data-labels-visibility.js +24 -24
- package/dist/chunks/data.js +69 -69
- package/dist/chunks/gauge-model.js +18 -18
- package/dist/chunks/generate-x-axis-title.js +12 -12
- package/dist/chunks/heat-chart-model.js +77 -48
- package/dist/chunks/histogram-data.js +22 -22
- package/dist/chunks/histogram-model.js +11 -11
- package/dist/chunks/index.js +190 -179
- package/dist/chunks/index2.js +6069 -5721
- package/dist/chunks/index3.js +96 -86
- package/dist/chunks/index4.js +312 -87
- package/dist/chunks/index5.js +63 -100
- package/dist/chunks/line-chart-model.js +6 -6
- package/dist/chunks/model-setter.js +16 -15
- package/dist/chunks/model-with-line-marker-styling.js +2 -3
- package/dist/chunks/model-with-x-guides.js +5 -5
- package/dist/chunks/model-with-y-guides.js +33 -33
- package/dist/chunks/negative-values-stacked-to-baseline.js +18 -18
- package/dist/chunks/pie-chart-data.js +54 -48
- package/dist/chunks/pie-chart-model.js +159 -146
- package/dist/chunks/radar-chart-model.js +397 -46
- package/dist/chunks/resource.js +5 -5
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +73 -0
- package/dist/chunks/scatterplot-model.js +3 -3
- package/dist/chunks/serial-chart-data.js +896 -757
- package/dist/chunks/serial-chart-model.js +136 -123
- package/dist/chunks/series-length.js +2 -2
- package/dist/chunks/series-types.js +22 -18
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +17 -13
- package/dist/chunks/type-guards2.js +41 -33
- package/dist/chunks/utils.js +108 -96
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +632 -492
- package/dist/chunks/x-bounds.js +41 -42
- package/dist/components/arcgis-chart/customElement.d.ts +227 -156
- package/dist/components/arcgis-chart/customElement.js +10323 -10325
- package/dist/components/arcgis-charts-action-bar/customElement.js +33 -30
- package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +23 -25
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +15 -18
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -20
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +138 -136
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
- package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-format/customElement.js +93 -86
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-guide/customElement.js +17 -18
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +64 -76
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +53 -54
- package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +33 -34
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +12 -12
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +41 -48
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +55 -56
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +79 -79
- package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
- package/dist/components/arcgis-charts-info-modal/customElement.js +6 -6
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +62 -67
- package/dist/index.js +471 -458
- package/dist/json-schema/index.d.ts +207 -6
- package/dist/loader.js +2 -2
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +8 -5
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +24 -2
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +6 -5
- package/dist/model/mixins/model-with-multi-axes.d.ts +23 -23
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -0
- package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
- package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
- package/dist/model/properties/rotated-state.d.ts +1 -1
- package/dist/model/properties/rounded-corners.d.ts +18 -0
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +15 -0
- package/dist/model/shared/type-guards.d.ts +16 -2
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/data-source.d.ts +15 -3
- package/dist/spec/rest-js-object-literals.d.ts +2 -2
- package/dist/spec/rest-js-types.d.ts +22 -8
- package/dist/spec/web-chart.d.ts +42 -6
- package/dist/utils/chart-config/converter/index.js +198 -179
- package/dist/utils/chart-config/utils/index.d.ts +54 -4
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +3 -3
- package/dist/utils/cursor/interfaces.d.ts +21 -0
- package/dist/utils/data/categorical-data/index.d.ts +2 -2
- package/dist/utils/data/index.d.ts +14 -10
- package/dist/utils/data/interfaces.d.ts +4 -3
- package/dist/utils/defaults/index.d.ts +16 -4
- package/dist/utils/defaults/interfaces.d.ts +7 -2
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +5 -3
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/interfaces.d.ts +2 -1
- package/dist/utils/layer/query-features/index.d.ts +18 -1
- package/dist/utils/layer/query-parser/index.d.ts +5 -3
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/type-guards/chart-types.d.ts +10 -0
- package/dist/utils/type-guards/series-types.d.ts +9 -2
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +7 -8
- package/dist/cdn/24RLLXS6.js +0 -2
- package/dist/cdn/2N4MK6FQ.js +0 -2
- package/dist/cdn/32FR66QO.js +0 -2
- package/dist/cdn/3EIVHDDK.js +0 -2
- package/dist/cdn/3NUNWPAR.js +0 -2
- package/dist/cdn/43ZHPVBB.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/5YJNENER.js +0 -2
- package/dist/cdn/6AF2OTL6.js +0 -2
- package/dist/cdn/6CFIKYKR.js +0 -2
- package/dist/cdn/6GLTSMOR.js +0 -2
- package/dist/cdn/7EMCHGGV.js +0 -2
- package/dist/cdn/7OF2IANH.js +0 -2
- package/dist/cdn/7VN3A7S2.js +0 -2
- package/dist/cdn/7YWZG3ZS.js +0 -2
- package/dist/cdn/A5GIBV5W.js +0 -2
- package/dist/cdn/ADPDJISV.js +0 -2
- package/dist/cdn/B4KAJRUJ.js +0 -2
- package/dist/cdn/BBUPTHPL.js +0 -2
- package/dist/cdn/BBURKBKE.js +0 -2
- package/dist/cdn/BLZODYE2.js +0 -4
- package/dist/cdn/BO62KSB5.js +0 -2
- package/dist/cdn/C2FOUUEM.js +0 -2
- package/dist/cdn/CJPEW4LJ.js +0 -142
- package/dist/cdn/CVU3UPPF.js +0 -2
- package/dist/cdn/CZ5XRXCE.js +0 -2
- package/dist/cdn/D73VV2AZ.js +0 -2
- package/dist/cdn/DJACBOFO.js +0 -2
- package/dist/cdn/DPNTYHTH.js +0 -2
- package/dist/cdn/DZ72EIRH.js +0 -2
- package/dist/cdn/EGISZTGB.js +0 -2
- package/dist/cdn/EP34TF4L.js +0 -2
- package/dist/cdn/EZD3FBJU.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/FQT7V7QG.js +0 -2
- package/dist/cdn/G72TNKCS.js +0 -2
- package/dist/cdn/GQ5QBLRO.js +0 -2
- package/dist/cdn/HWJGWDU3.js +0 -2
- package/dist/cdn/HZR4NSZV.js +0 -2
- package/dist/cdn/ICFKKJWQ.js +0 -2
- package/dist/cdn/IWX5L226.js +0 -2
- package/dist/cdn/JNG6V7XC.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/JS2KOBA2.js +0 -2
- package/dist/cdn/JTTJ455Y.js +0 -2
- package/dist/cdn/JWO5WVTZ.js +0 -2
- package/dist/cdn/K4WI2SGM.js +0 -2
- package/dist/cdn/KLHZFPYK.js +0 -2
- package/dist/cdn/KO7HQLGV.js +0 -2
- package/dist/cdn/L5AQ4I5T.js +0 -2
- package/dist/cdn/LC6CY2HW.js +0 -2
- package/dist/cdn/MBVTB42G.js +0 -2
- package/dist/cdn/MGEW6X3Y.js +0 -102
- package/dist/cdn/NSOZIR5F.js +0 -2
- package/dist/cdn/NTSTL3FK.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/O5A25X5K.js +0 -2
- package/dist/cdn/OAAJ6CIN.js +0 -2
- package/dist/cdn/OGYY2Y22.js +0 -2
- package/dist/cdn/PAIRUVLU.js +0 -2
- package/dist/cdn/PRGFNLY7.js +0 -2
- package/dist/cdn/PROSIXIF.js +0 -2
- package/dist/cdn/Q5JDSPJA.js +0 -2
- package/dist/cdn/QJC3FDWG.js +0 -2
- package/dist/cdn/QRLILSSI.js +0 -2
- package/dist/cdn/QY53LXP2.js +0 -2
- package/dist/cdn/R75MHIRF.js +0 -2
- package/dist/cdn/RDA5NV6M.js +0 -2
- package/dist/cdn/RG3DO2OE.js +0 -2
- package/dist/cdn/RPNZL6AC.js +0 -2
- package/dist/cdn/S32NLOJ5.js +0 -2
- package/dist/cdn/SCAZDS2G.js +0 -2
- package/dist/cdn/SJGYHEMZ.js +0 -2
- package/dist/cdn/STU55UIS.js +0 -58
- package/dist/cdn/TCTQ4LMU.js +0 -2
- package/dist/cdn/TDHHWIIC.js +0 -2
- package/dist/cdn/TJMPLGQI.js +0 -2
- package/dist/cdn/TJMTF45U.js +0 -3
- package/dist/cdn/TW5DX7YP.js +0 -2
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/UZEMSOA2.js +0 -2
- package/dist/cdn/VBHQFV2H.js +0 -2
- package/dist/cdn/VFREVEVA.js +0 -2
- package/dist/cdn/VOTZAPI3.js +0 -2
- package/dist/cdn/VZTLODMQ.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/WNKDEOFZ.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/cdn/XCUXUZXY.js +0 -2
- package/dist/cdn/XG3WW5GG.js +0 -2
- package/dist/cdn/XJFVSX2E.js +0 -2
- package/dist/cdn/Y3CXVO2M.js +0 -2
- package/dist/cdn/YEZL5KRS.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/chunks/bar-chart-series.js +0 -15
- package/dist/chunks/index6.js +0 -66
- package/dist/chunks/time-zone.js +0 -38
- package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
- /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
- /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
|
@@ -1,175 +1,206 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { substitute as
|
|
3
|
-
import { cloneDeep as
|
|
4
|
-
import { S as
|
|
5
|
-
import { s as
|
|
6
|
-
import { w as
|
|
7
|
-
import { a as
|
|
8
|
-
import { C as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
const
|
|
2
|
+
import { substitute as E } from "@arcgis/core/intl.js";
|
|
3
|
+
import { cloneDeep as te, isEmpty as je, memoize as Ke } from "lodash-es";
|
|
4
|
+
import { S as ue } from "./common.js";
|
|
5
|
+
import { s as k, u as W, a as De, g as ge, b as Le, c as Ze, d as _e, e as Se } from "./utils.js";
|
|
6
|
+
import { w as V, i as Qe, dg as Y, co as ze, bC as Ge, a$ as ke, x as Je, Y as ie, cS as et, cR as tt, p as it, aJ as fe, cu as st, d as at, aI as rt, I as nt, a7 as lt, bx as ot, W as ut, e as ct, bI as dt, dq as yt, v as mt, dw as Fe, cb as pt, dx as gt, c7 as ft, B as St, N as xe, bL as z, dt as Ft, bj as $, bP as G, ap as Z, a6 as Ne, bd as O, bc as xt, k as ce, bt as ht, bB as Tt, bs as A, bA as v, bp as he, br as Te } from "./index2.js";
|
|
7
|
+
import { a as U, s as Oe, g as se, b as Be, c as Bt } from "./data.js";
|
|
8
|
+
import { u as C, r as I, k as Ct, d as R, n as L, m as H, p as bt, t as At, s as de } from "./chart-object-literals.js";
|
|
9
|
+
import { R as qe, i as vt } from "./rest-js-object-literals.js";
|
|
10
|
+
import { i as ae } from "./index4.js";
|
|
11
|
+
import { aD as It, K as J, F as ye, w as Vt, $ as Dt, ac as Lt, ao as kt, A as Nt, a2 as Ot } from "./index.js";
|
|
12
|
+
import { C as w, F as X, d as P } from "./index3.js";
|
|
13
|
+
import { g as Re, s as Pe } from "./series-types.js";
|
|
14
|
+
import { convertChartSpec as qt } from "../utils/chart-config/converter/index.js";
|
|
15
|
+
import { d as me, f as Rt } from "./type-guards.js";
|
|
16
|
+
import { C as Pt, m as wt } from "./model-setter.js";
|
|
17
|
+
import { g as re } from "./utils2.js";
|
|
18
|
+
import { a as Mt, b as Et } from "./series-length.js";
|
|
19
|
+
const Oi = (i) => {
|
|
20
20
|
let e;
|
|
21
|
-
const
|
|
22
|
-
return
|
|
23
|
-
},
|
|
21
|
+
const t = i.series[0];
|
|
22
|
+
return V(t) && (e = t.temporalBinning?.size), e;
|
|
23
|
+
}, Wt = (i) => {
|
|
24
24
|
let e;
|
|
25
|
-
const
|
|
26
|
-
return
|
|
27
|
-
},
|
|
25
|
+
const t = i.series[0];
|
|
26
|
+
return V(t) && (e = t.temporalBinning?.unit), e;
|
|
27
|
+
}, qi = (i) => {
|
|
28
28
|
let e;
|
|
29
|
-
const
|
|
30
|
-
return
|
|
31
|
-
},
|
|
29
|
+
const t = i.series[0];
|
|
30
|
+
return V(t) && (e = t.temporalBinning?.timeAggregationType), e;
|
|
31
|
+
}, Ri = (i) => {
|
|
32
32
|
let e;
|
|
33
|
-
const
|
|
34
|
-
return
|
|
35
|
-
},
|
|
33
|
+
const t = i.series[0];
|
|
34
|
+
return V(t) && (e = t.temporalBinning?.trimIncompleteTimeInterval), e;
|
|
35
|
+
}, Pi = (i) => {
|
|
36
36
|
let e;
|
|
37
|
-
const
|
|
38
|
-
return
|
|
39
|
-
},
|
|
40
|
-
e?.series?.forEach((
|
|
41
|
-
|
|
42
|
-
}),
|
|
43
|
-
},
|
|
44
|
-
e?.series?.forEach((
|
|
45
|
-
|
|
46
|
-
}),
|
|
47
|
-
},
|
|
48
|
-
e.series?.forEach((
|
|
49
|
-
|
|
50
|
-
}),
|
|
51
|
-
},
|
|
52
|
-
e.series?.forEach((
|
|
53
|
-
|
|
54
|
-
}),
|
|
55
|
-
},
|
|
56
|
-
e.series?.forEach((
|
|
57
|
-
|
|
58
|
-
}),
|
|
59
|
-
},
|
|
60
|
-
|
|
37
|
+
const t = i.series[0];
|
|
38
|
+
return V(t) && (e = t.temporalBinning?.nullPolicy), e;
|
|
39
|
+
}, $t = (i, e) => {
|
|
40
|
+
e?.series?.forEach((t) => {
|
|
41
|
+
V(t) && (t.temporalBinning ??= {}, t.temporalBinning.size = i);
|
|
42
|
+
}), k({ config: e, value: null, axisIndex: 1, isMax: !1 }), k({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
43
|
+
}, Yt = (i, e) => {
|
|
44
|
+
e?.series?.forEach((t) => {
|
|
45
|
+
V(t) && (t.temporalBinning ??= {}, t.temporalBinning.nullPolicy = i);
|
|
46
|
+
}), k({ config: e, value: null, axisIndex: 1, isMax: !1 }), k({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
47
|
+
}, wi = (i, e) => {
|
|
48
|
+
e.series?.forEach((t) => {
|
|
49
|
+
V(t) && (t.temporalBinning ??= {}, t.temporalBinning.unit = i);
|
|
50
|
+
}), k({ config: e, value: null, axisIndex: 1, isMax: !1 }), k({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
51
|
+
}, Mi = (i, e) => {
|
|
52
|
+
e.series?.forEach((t) => {
|
|
53
|
+
V(t) && (t.temporalBinning ??= {}, t.temporalBinning.timeAggregationType = i);
|
|
54
|
+
}), k({ config: e, value: null, axisIndex: 1, isMax: !1 }), k({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
55
|
+
}, Ei = (i, e) => {
|
|
56
|
+
e.series?.forEach((t) => {
|
|
57
|
+
V(t) && (t.temporalBinning ??= {}, t.temporalBinning.trimIncompleteTimeInterval = i);
|
|
58
|
+
}), k({ config: e, value: null, axisIndex: 1, isMax: !1 }), k({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
59
|
+
}, Ht = (i) => {
|
|
60
|
+
$t(0, i);
|
|
61
61
|
};
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
var Xt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, jt = (i, e, t, a) => {
|
|
63
|
+
for (var r = Ut(e, t), s = i.length - 1, n; s >= 0; s--)
|
|
64
|
+
(n = i[s]) && (r = n(e, t, r) || r);
|
|
65
|
+
return r && Xt(e, t, r), r;
|
|
66
|
+
};
|
|
67
|
+
const Kt = (i) => {
|
|
68
|
+
let e;
|
|
69
|
+
return Y(i) ? e = i.outTimeZone : i?.series.forEach((t) => {
|
|
70
|
+
(t.type === C.BarSeries || t.type === C.RadarSeries || t.type === C.LineSeries) && t.temporalBinning && (e = t.temporalBinning.outTimeZone);
|
|
71
|
+
}), e || (e = i?.axes?.[0]?.valueFormat.type === C.DateAxisFormat ? i.axes[0].valueFormat.intlOptions.timeZone : void 0), e;
|
|
72
|
+
}, we = (i, e) => {
|
|
73
|
+
const t = Qe(i);
|
|
74
|
+
Y(e) ? i ? e.outTimeZone = t : delete e.outTimeZone : e?.series.forEach((a) => {
|
|
75
|
+
(a.type === C.BarSeries || a.type === C.RadarSeries || a.type === C.LineSeries) && (i ? (a.temporalBinning ??= {}, a.temporalBinning.outTimeZone = t) : a.temporalBinning && delete a.temporalBinning.outTimeZone);
|
|
76
|
+
}), e?.axes?.[0]?.valueFormat.type === C.DateAxisFormat && (i ? e.axes[0].valueFormat.intlOptions.timeZone = t : delete e.axes[0].valueFormat.intlOptions.timeZone);
|
|
77
|
+
};
|
|
78
|
+
class Zt extends Pt {
|
|
79
|
+
/**
|
|
80
|
+
* Gets the time zone for the chart.
|
|
81
|
+
*/
|
|
82
|
+
get timeZone() {
|
|
83
|
+
return Kt(this._config);
|
|
84
|
+
}
|
|
85
|
+
set timeZone(e) {
|
|
86
|
+
we(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
87
|
+
}
|
|
65
88
|
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
89
|
+
jt([
|
|
90
|
+
wt
|
|
91
|
+
], Zt.prototype, "timeZone");
|
|
92
|
+
function Wi(i, e) {
|
|
93
|
+
let t;
|
|
94
|
+
return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.position = i)), t;
|
|
69
95
|
}
|
|
70
|
-
function
|
|
71
|
-
let
|
|
72
|
-
return e !== void 0 && (
|
|
96
|
+
function $i(i, e) {
|
|
97
|
+
let t;
|
|
98
|
+
return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.visible = i)), t;
|
|
73
99
|
}
|
|
74
|
-
function
|
|
100
|
+
function Yi(i, e) {
|
|
101
|
+
let t;
|
|
102
|
+
return e !== void 0 && (t = { ...e, rotated: i }), t;
|
|
103
|
+
}
|
|
104
|
+
function _t(i) {
|
|
75
105
|
let e;
|
|
76
|
-
return
|
|
106
|
+
return i !== void 0 && (e = { ...i }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
|
|
77
107
|
}
|
|
78
|
-
function
|
|
79
|
-
return e != null ||
|
|
108
|
+
function Hi(i, e) {
|
|
109
|
+
return e != null || ke(i);
|
|
80
110
|
}
|
|
81
|
-
async function
|
|
82
|
-
const { config: e, layer:
|
|
83
|
-
let
|
|
84
|
-
return
|
|
111
|
+
async function Xi(i) {
|
|
112
|
+
const { config: e, layer: t, abortSignal: a } = i;
|
|
113
|
+
let r = !1;
|
|
114
|
+
return me(t) || Rt(e) ? e && me(t) && (r = await Ge({ config: e, layer: t, abortSignal: a })) : r = !0, r;
|
|
85
115
|
}
|
|
86
|
-
async function
|
|
116
|
+
async function Qt(i) {
|
|
87
117
|
const {
|
|
88
118
|
queryObject: e,
|
|
89
|
-
chartConfig:
|
|
90
|
-
splitByField:
|
|
91
|
-
errorStrings:
|
|
92
|
-
abortSignal:
|
|
119
|
+
chartConfig: t,
|
|
120
|
+
splitByField: a,
|
|
121
|
+
errorStrings: r,
|
|
122
|
+
abortSignal: s,
|
|
93
123
|
runtimeDataFilters: n,
|
|
94
124
|
ignoreViewExtent: o,
|
|
95
125
|
setTimeBinningInfoWhenNotProvided: c,
|
|
96
|
-
returnFeaturesExtent:
|
|
97
|
-
chartLimits:
|
|
98
|
-
} =
|
|
99
|
-
let
|
|
100
|
-
const
|
|
126
|
+
returnFeaturesExtent: d,
|
|
127
|
+
chartLimits: p
|
|
128
|
+
} = i;
|
|
129
|
+
let u = [], y;
|
|
130
|
+
const m = te(t), g = m.series[0], l = ct({
|
|
101
131
|
queryObject: e,
|
|
102
|
-
chartConfig:
|
|
132
|
+
chartConfig: m,
|
|
103
133
|
runtimeDataFilters: n,
|
|
104
134
|
ignoreViewExtent: o
|
|
105
135
|
});
|
|
106
|
-
if (
|
|
107
|
-
xAxisValueFormatType:
|
|
136
|
+
if (l.outStatistics?.[0]?.outStatisticFieldName && (l.outStatistics[0].outStatisticFieldName = It.outStatistics.outStatisticFieldName), V(g) && dt({
|
|
137
|
+
xAxisValueFormatType: yt(m),
|
|
108
138
|
setTimeBinningInfoWhenNotProvided: c,
|
|
109
|
-
seriesConfig:
|
|
139
|
+
seriesConfig: g,
|
|
110
140
|
queryObject: e
|
|
111
|
-
}) &&
|
|
112
|
-
const { temporalBinning:
|
|
113
|
-
chartConfig:
|
|
114
|
-
queryConfig:
|
|
141
|
+
}) && mt(a, e)) {
|
|
142
|
+
const { temporalBinning: f, x: b } = g, { uniqueQuery: B } = Fe({
|
|
143
|
+
chartConfig: m,
|
|
144
|
+
queryConfig: l,
|
|
115
145
|
queryObject: e,
|
|
116
146
|
setTimeBinningInfoWhenNotProvided: c,
|
|
117
|
-
returnFeaturesExtent:
|
|
118
|
-
chartLimits:
|
|
119
|
-
}),
|
|
120
|
-
|
|
147
|
+
returnFeaturesExtent: d,
|
|
148
|
+
chartLimits: p
|
|
149
|
+
}), x = t.axes?.[0].valueFormat.type === C.DateAxisFormat ? t.axes[0].valueFormat.intlOptions.timeZone : void 0;
|
|
150
|
+
y = await pt({
|
|
121
151
|
queryObject: e,
|
|
122
|
-
dateField:
|
|
123
|
-
splitByField:
|
|
124
|
-
queryConfig:
|
|
125
|
-
axisTimeZone:
|
|
126
|
-
temporalBinning:
|
|
127
|
-
errorStrings:
|
|
128
|
-
abortSignal:
|
|
129
|
-
}),
|
|
152
|
+
dateField: b,
|
|
153
|
+
splitByField: a,
|
|
154
|
+
queryConfig: B,
|
|
155
|
+
axisTimeZone: x,
|
|
156
|
+
temporalBinning: f,
|
|
157
|
+
errorStrings: r,
|
|
158
|
+
abortSignal: s
|
|
159
|
+
}), u = Array.from(
|
|
130
160
|
new Set(
|
|
131
|
-
|
|
132
|
-
const { stackedAttributes:
|
|
133
|
-
let
|
|
134
|
-
return
|
|
161
|
+
y.flatMap((F) => {
|
|
162
|
+
const { stackedAttributes: N } = F;
|
|
163
|
+
let S = [];
|
|
164
|
+
return N && (S = N.map((h) => h[a]).filter((h) => h !== void 0)), S;
|
|
135
165
|
})
|
|
136
166
|
).values()
|
|
137
167
|
);
|
|
138
168
|
} else {
|
|
139
|
-
const { uniqueQuery:
|
|
140
|
-
chartConfig:
|
|
169
|
+
const { uniqueQuery: f } = Fe({
|
|
170
|
+
chartConfig: m,
|
|
141
171
|
queryObject: e,
|
|
142
|
-
queryConfig:
|
|
172
|
+
queryConfig: l,
|
|
143
173
|
setTimeBinningInfoWhenNotProvided: c,
|
|
144
|
-
returnFeaturesExtent:
|
|
145
|
-
chartLimits:
|
|
146
|
-
}), { elementCount:
|
|
147
|
-
chartConfig:
|
|
174
|
+
returnFeaturesExtent: d,
|
|
175
|
+
chartLimits: p
|
|
176
|
+
}), { elementCount: b } = await gt({
|
|
177
|
+
chartConfig: m,
|
|
148
178
|
queryObject: e,
|
|
149
|
-
queryConfig:
|
|
150
|
-
behaviorAfterLimit:
|
|
151
|
-
numberMaxOfFeaturesToFetch:
|
|
152
|
-
abortSignal:
|
|
179
|
+
queryConfig: l,
|
|
180
|
+
behaviorAfterLimit: p?.behaviorAfterLimit,
|
|
181
|
+
numberMaxOfFeaturesToFetch: f.num,
|
|
182
|
+
abortSignal: s
|
|
153
183
|
});
|
|
154
|
-
|
|
184
|
+
y = await ft({
|
|
155
185
|
queryObject: e,
|
|
156
|
-
queryConfig:
|
|
157
|
-
featureCount:
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
186
|
+
queryConfig: f,
|
|
187
|
+
featureCount: b,
|
|
188
|
+
returnStatisticsAggregatedIds: !0,
|
|
189
|
+
errorStrings: r,
|
|
190
|
+
abortSignal: s
|
|
191
|
+
}), u = Array.from(
|
|
161
192
|
new Set(
|
|
162
|
-
|
|
193
|
+
y.map((B) => B.attributes[a]).filter((B) => B !== void 0)
|
|
163
194
|
).values()
|
|
164
195
|
);
|
|
165
196
|
}
|
|
166
|
-
return { allValues:
|
|
197
|
+
return { allValues: u, preFetchedQueryResponse: y };
|
|
167
198
|
}
|
|
168
|
-
function
|
|
169
|
-
const
|
|
170
|
-
return
|
|
171
|
-
let
|
|
172
|
-
where:
|
|
199
|
+
function zt(i, e) {
|
|
200
|
+
const t = /* @__PURE__ */ new Map();
|
|
201
|
+
return i.series.forEach((a) => {
|
|
202
|
+
let r = fe({
|
|
203
|
+
where: a.query?.where,
|
|
173
204
|
// normalize the value so it matches what we get from getAllValues()
|
|
174
205
|
// Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8127
|
|
175
206
|
normalize: !0,
|
|
@@ -177,897 +208,1005 @@ function At(t, e) {
|
|
|
177
208
|
// Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8078
|
|
178
209
|
escape: !1
|
|
179
210
|
});
|
|
180
|
-
e &&
|
|
181
|
-
const
|
|
182
|
-
|
|
183
|
-
...
|
|
184
|
-
|
|
211
|
+
e && r !== null && (r = Number(r));
|
|
212
|
+
const s = Re([a]);
|
|
213
|
+
s !== void 0 && t.set(s, [
|
|
214
|
+
...t.get(s) ?? [],
|
|
215
|
+
r
|
|
185
216
|
]);
|
|
186
|
-
}),
|
|
217
|
+
}), t;
|
|
187
218
|
}
|
|
188
|
-
function
|
|
189
|
-
const { allValues: e, configUniqueValuesPerSeriesType:
|
|
190
|
-
return Array.from(
|
|
191
|
-
const n =
|
|
219
|
+
function Gt(i) {
|
|
220
|
+
const { allValues: e, configUniqueValuesPerSeriesType: t, initialConfigWasEmpty: a } = i, r = /* @__PURE__ */ new Map();
|
|
221
|
+
return Array.from(t.keys()).forEach((s) => {
|
|
222
|
+
const n = t.get(s) ?? [];
|
|
192
223
|
let o = [];
|
|
193
|
-
|
|
224
|
+
a ? o = e : e.forEach((c) => {
|
|
194
225
|
n.includes(c) || o.push(c);
|
|
195
|
-
}),
|
|
196
|
-
}),
|
|
226
|
+
}), r.set(s, o);
|
|
227
|
+
}), r;
|
|
197
228
|
}
|
|
198
|
-
function
|
|
199
|
-
const { chartConfig: e, missingValue:
|
|
229
|
+
function Jt(i) {
|
|
230
|
+
const { chartConfig: e, missingValue: t, splitByField: a, seriesTemplate: r } = i, s = JSON.parse(
|
|
200
231
|
JSON.stringify({
|
|
201
232
|
...e.series[0],
|
|
202
|
-
...
|
|
233
|
+
...r
|
|
203
234
|
})
|
|
204
235
|
);
|
|
205
|
-
if (
|
|
206
|
-
if (
|
|
207
|
-
const o =
|
|
208
|
-
|
|
236
|
+
if (s.query) {
|
|
237
|
+
if (t === null ? s.id = X.nullValue : t === "" ? s.id = X.emptyStringValue : s.id = `${t}`, s.name = `${t}`, s.query.outStatistics?.[0] !== void 0) {
|
|
238
|
+
const o = s.id;
|
|
239
|
+
s.query.outStatistics[0].outStatisticFieldName = o, "y" in s && (s.y = o);
|
|
209
240
|
}
|
|
210
|
-
const n = typeof
|
|
211
|
-
|
|
241
|
+
const n = typeof t == "number" || t === null ? t : `'${t}'`;
|
|
242
|
+
s.query.where = `${a}=${n}`;
|
|
212
243
|
}
|
|
213
|
-
return
|
|
244
|
+
return s;
|
|
214
245
|
}
|
|
215
|
-
async function
|
|
246
|
+
async function ei(i) {
|
|
216
247
|
const {
|
|
217
248
|
updateSplitBySeries: e,
|
|
218
|
-
config:
|
|
219
|
-
queryObject:
|
|
220
|
-
errorStrings:
|
|
221
|
-
abortSignal:
|
|
249
|
+
config: t,
|
|
250
|
+
queryObject: a,
|
|
251
|
+
errorStrings: r,
|
|
252
|
+
abortSignal: s,
|
|
222
253
|
runtimeDataFilters: n,
|
|
223
254
|
ignoreViewExtent: o,
|
|
224
255
|
setTimeBinningInfoWhenNotProvided: c,
|
|
225
|
-
returnFeaturesExtent:
|
|
226
|
-
chartLimits:
|
|
227
|
-
} =
|
|
228
|
-
let
|
|
229
|
-
if (
|
|
230
|
-
const
|
|
231
|
-
|
|
232
|
-
const
|
|
233
|
-
if (
|
|
234
|
-
const
|
|
235
|
-
queryObject:
|
|
236
|
-
chartConfig:
|
|
237
|
-
splitByField:
|
|
238
|
-
abortSignal:
|
|
256
|
+
returnFeaturesExtent: d,
|
|
257
|
+
chartLimits: p
|
|
258
|
+
} = i, { seriesTemplate: u } = e ?? {};
|
|
259
|
+
let y;
|
|
260
|
+
if (a && !me(a) && e !== void 0 && t !== void 0 && (t.series.length > 0 || u !== void 0) && e.addMissingSeries) {
|
|
261
|
+
const m = t.series.length === 0;
|
|
262
|
+
t.series.length === 0 && u !== void 0 && t.series.push(u);
|
|
263
|
+
const g = ie(t.series);
|
|
264
|
+
if (g === w.BoxPlotMonoFieldAndSplitBy || g === w.BoxPlotMultiFieldsAndSplitBy || g === w.BoxPlotMonoFieldAndCategoryAndSplitBy || g === w.BarAndLineSplitBy || g === w.BarAndLineSplitByNoAggregation) {
|
|
265
|
+
const l = rt(t.series[0]?.query?.where), f = nt(a), b = lt(l, f), B = b ? ot(b) : !1, x = await Qt({
|
|
266
|
+
queryObject: a,
|
|
267
|
+
chartConfig: t,
|
|
268
|
+
splitByField: l,
|
|
269
|
+
abortSignal: s,
|
|
239
270
|
runtimeDataFilters: n,
|
|
240
271
|
ignoreViewExtent: o,
|
|
241
272
|
setTimeBinningInfoWhenNotProvided: c,
|
|
242
|
-
returnFeaturesExtent:
|
|
243
|
-
chartLimits:
|
|
244
|
-
errorStrings:
|
|
245
|
-
}), { allValues:
|
|
246
|
-
if ({ preFetchedQueryResponse:
|
|
247
|
-
const
|
|
248
|
-
allValues:
|
|
249
|
-
configUniqueValuesPerSeriesType:
|
|
250
|
-
initialConfigWasEmpty:
|
|
273
|
+
returnFeaturesExtent: d,
|
|
274
|
+
chartLimits: p,
|
|
275
|
+
errorStrings: r
|
|
276
|
+
}), { allValues: F } = x;
|
|
277
|
+
if ({ preFetchedQueryResponse: y } = x, F.length > 0) {
|
|
278
|
+
const N = zt(t, B), S = Gt({
|
|
279
|
+
allValues: F,
|
|
280
|
+
configUniqueValuesPerSeriesType: N,
|
|
281
|
+
initialConfigWasEmpty: m
|
|
251
282
|
});
|
|
252
|
-
Array.from(
|
|
253
|
-
(
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
chartConfig:
|
|
257
|
-
seriesTemplate:
|
|
258
|
-
missingValue:
|
|
259
|
-
splitByField:
|
|
283
|
+
Array.from(S.keys()).forEach((h) => {
|
|
284
|
+
(S.get(h) ?? []).forEach((M) => {
|
|
285
|
+
t.series.push(
|
|
286
|
+
Jt({
|
|
287
|
+
chartConfig: t,
|
|
288
|
+
seriesTemplate: u,
|
|
289
|
+
missingValue: M,
|
|
290
|
+
splitByField: l
|
|
260
291
|
})
|
|
261
292
|
);
|
|
262
|
-
}),
|
|
293
|
+
}), m && t.series.shift();
|
|
263
294
|
});
|
|
264
295
|
}
|
|
265
296
|
}
|
|
266
297
|
}
|
|
267
|
-
return
|
|
298
|
+
return y;
|
|
268
299
|
}
|
|
269
|
-
function
|
|
270
|
-
e && !
|
|
300
|
+
function ti(i, e) {
|
|
301
|
+
e && !ke(e) && (e = at({ chartConfig: e, queryObject: i }));
|
|
271
302
|
}
|
|
272
|
-
async function
|
|
303
|
+
async function Ui(i) {
|
|
273
304
|
const {
|
|
274
305
|
configToAlter: e,
|
|
275
|
-
layer:
|
|
276
|
-
addMissingSeries:
|
|
277
|
-
updateSplitBySeries:
|
|
278
|
-
chartContainer:
|
|
306
|
+
layer: t,
|
|
307
|
+
addMissingSeries: a,
|
|
308
|
+
updateSplitBySeries: r,
|
|
309
|
+
chartContainer: s,
|
|
279
310
|
queryObject: n,
|
|
280
311
|
abortSignal: o,
|
|
281
312
|
runtimeDataFilters: c,
|
|
282
|
-
ignoreViewExtent:
|
|
283
|
-
setTimeBinningInfoWhenNotProvided:
|
|
284
|
-
returnFeaturesExtent:
|
|
285
|
-
chartLimits:
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
313
|
+
ignoreViewExtent: d,
|
|
314
|
+
setTimeBinningInfoWhenNotProvided: p,
|
|
315
|
+
returnFeaturesExtent: u,
|
|
316
|
+
chartLimits: y,
|
|
317
|
+
timeZone: m,
|
|
318
|
+
errorStrings: g
|
|
319
|
+
} = i;
|
|
320
|
+
let l = e, f;
|
|
321
|
+
return l && (ti(t, l), l = await qt(l, t, void 0, o), a && n && (f = await ei({
|
|
322
|
+
updateSplitBySeries: r,
|
|
323
|
+
config: l,
|
|
292
324
|
queryObject: n,
|
|
293
|
-
errorStrings:
|
|
325
|
+
errorStrings: g,
|
|
294
326
|
abortSignal: o,
|
|
295
327
|
runtimeDataFilters: c,
|
|
296
|
-
ignoreViewExtent:
|
|
297
|
-
setTimeBinningInfoWhenNotProvided:
|
|
298
|
-
returnFeaturesExtent:
|
|
299
|
-
chartLimits:
|
|
300
|
-
})),
|
|
328
|
+
ignoreViewExtent: d,
|
|
329
|
+
setTimeBinningInfoWhenNotProvided: p,
|
|
330
|
+
returnFeaturesExtent: u,
|
|
331
|
+
chartLimits: y
|
|
332
|
+
})), l = ze(l, s), we(m, l)), { alteredConfig: l, preFetchedQueryResponse: f };
|
|
301
333
|
}
|
|
302
|
-
function
|
|
303
|
-
let
|
|
334
|
+
function ii(i, e) {
|
|
335
|
+
let t = !1;
|
|
304
336
|
if (e !== void 0) {
|
|
305
|
-
const
|
|
306
|
-
|
|
337
|
+
const a = ut({ key: St.Average, splitBy: e });
|
|
338
|
+
t = Number.isFinite(i[a]);
|
|
307
339
|
}
|
|
308
|
-
return
|
|
340
|
+
return t;
|
|
309
341
|
}
|
|
310
|
-
function
|
|
311
|
-
const { data: e, config:
|
|
342
|
+
function ji(i) {
|
|
343
|
+
const { data: e, config: t, showEmptySeries: a } = i, r = t.series.length, s = te(t);
|
|
312
344
|
let n = !1;
|
|
313
|
-
if (!
|
|
314
|
-
const o =
|
|
345
|
+
if (!a && r > 1 && e) {
|
|
346
|
+
const o = Je(e), c = Re(t?.series), d = ie(t?.series), p = /* @__PURE__ */ new Set();
|
|
315
347
|
switch (c) {
|
|
316
|
-
case
|
|
317
|
-
case
|
|
318
|
-
case
|
|
319
|
-
case
|
|
320
|
-
|
|
348
|
+
case C.ComboLineAndBarSeries:
|
|
349
|
+
case C.BarSeries:
|
|
350
|
+
case C.RadarSeries:
|
|
351
|
+
case C.LineSeries: {
|
|
352
|
+
s.series.forEach((y) => {
|
|
321
353
|
if (Array.isArray(o)) {
|
|
322
|
-
let
|
|
323
|
-
"y" in
|
|
324
|
-
(
|
|
325
|
-
dataItem:
|
|
326
|
-
x:
|
|
327
|
-
y:
|
|
328
|
-
aggregationType:
|
|
354
|
+
let m = "";
|
|
355
|
+
"y" in y && (m = Array.isArray(y.y) ? y.y[0] : y.y, d === w.BarAndLineSplitByNoAggregation && (m = `${m}_${fe({ where: y.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), o.some(
|
|
356
|
+
(l) => st({
|
|
357
|
+
dataItem: l,
|
|
358
|
+
x: y.x,
|
|
359
|
+
y: m,
|
|
360
|
+
aggregationType: t.series[0].query?.outStatistics?.[0]?.statisticType
|
|
329
361
|
})
|
|
330
|
-
) &&
|
|
362
|
+
) && p.add(y));
|
|
331
363
|
}
|
|
332
364
|
});
|
|
333
365
|
break;
|
|
334
366
|
}
|
|
335
|
-
case
|
|
336
|
-
if (
|
|
337
|
-
const
|
|
338
|
-
|
|
339
|
-
let
|
|
340
|
-
|
|
341
|
-
(
|
|
342
|
-
dataItem:
|
|
343
|
-
splitBy:
|
|
344
|
-
showOutliers:
|
|
367
|
+
case C.BoxPlotSeries: {
|
|
368
|
+
if (et(t)) {
|
|
369
|
+
const y = tt(t);
|
|
370
|
+
t.series.forEach((m) => {
|
|
371
|
+
let g, l;
|
|
372
|
+
m.type === C.BoxPlotSeries ? (g = e.dataItems, l = g?.some(
|
|
373
|
+
(f) => it({
|
|
374
|
+
dataItem: f,
|
|
375
|
+
splitBy: m.query?.where,
|
|
376
|
+
showOutliers: y
|
|
345
377
|
})
|
|
346
|
-
)) :
|
|
347
|
-
(
|
|
348
|
-
)),
|
|
378
|
+
)) : m.type === C.LineSeries && (g = e.meanLines, l = g?.some(
|
|
379
|
+
(f) => ii(f, m.query?.where)
|
|
380
|
+
)), l && p.add(m);
|
|
349
381
|
});
|
|
350
382
|
}
|
|
351
383
|
break;
|
|
352
384
|
}
|
|
353
385
|
}
|
|
354
|
-
const
|
|
355
|
-
n =
|
|
386
|
+
const u = Array.from(p.values());
|
|
387
|
+
n = u.length > 0 && u.length < r, n && (s.series = u);
|
|
356
388
|
}
|
|
357
|
-
return { seriesFilteredOut: n, filteredConfig:
|
|
389
|
+
return { seriesFilteredOut: n, filteredConfig: s };
|
|
358
390
|
}
|
|
359
|
-
const
|
|
360
|
-
|
|
361
|
-
},
|
|
362
|
-
const
|
|
363
|
-
|
|
364
|
-
},
|
|
365
|
-
const
|
|
366
|
-
|
|
367
|
-
},
|
|
368
|
-
const { yField: e, config:
|
|
369
|
-
if (typeof e == "string" &&
|
|
370
|
-
|
|
371
|
-
|
|
391
|
+
const Ki = (i) => i.hideEmptyRowsAndColumns, Zi = (i, e) => {
|
|
392
|
+
i.hideEmptyRowsAndColumns = e;
|
|
393
|
+
}, _i = (i, e) => {
|
|
394
|
+
const t = i.series[0];
|
|
395
|
+
t.heatRulesType = e;
|
|
396
|
+
}, Qi = (i) => i.series[0].heatRulesType, zi = (i, e) => {
|
|
397
|
+
const t = i.series[0];
|
|
398
|
+
t.gradientRules = e;
|
|
399
|
+
}, Gi = (i) => i.series[0].gradientRules, Ji = (i) => {
|
|
400
|
+
const { yField: e, config: t, layerInfo: a, commonStrings: r } = i, { layerFieldsInfo: s } = a, n = re(1, t), o = si(t), c = ae(t), d = t.series[0];
|
|
401
|
+
if (typeof e == "string" && o !== e && d) {
|
|
402
|
+
if (d.y = e, _t(t), o === n || c) {
|
|
403
|
+
const p = P(s, e);
|
|
404
|
+
W(t, 1, p);
|
|
405
|
+
}
|
|
406
|
+
Me({ commonStrings: r, config: t, layerInfo: a });
|
|
372
407
|
}
|
|
373
|
-
},
|
|
374
|
-
const { binning: e, config:
|
|
375
|
-
if (
|
|
376
|
-
const
|
|
377
|
-
|
|
408
|
+
}, si = (i) => i.series[0].y ?? "", es = (i) => {
|
|
409
|
+
const { binning: e, config: t, commonStrings: a } = i, r = t.series[0];
|
|
410
|
+
if (r.xTemporalBinning = e, e?.unit !== void 0 && e.unit in a.utilsStrings.heatChartCalendarDatePartsUnits) {
|
|
411
|
+
const s = a.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
|
|
412
|
+
W(t, 0, s);
|
|
378
413
|
}
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
414
|
+
ee({ axisIndex: 0, commonStrings: a, config: t });
|
|
415
|
+
}, ai = (i) => i.series[0].xTemporalBinning, ts = (i) => {
|
|
416
|
+
const { binning: e, config: t, commonStrings: a } = i, r = t.series[0];
|
|
417
|
+
if (r.yTemporalBinning = e, e?.unit !== void 0 && e.unit in a.utilsStrings.heatChartCalendarDatePartsUnits) {
|
|
418
|
+
const s = a.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
|
|
419
|
+
W(t, 1, s);
|
|
384
420
|
}
|
|
385
|
-
|
|
421
|
+
ee({ axisIndex: 1, commonStrings: a, config: t });
|
|
422
|
+
}, ri = (i) => i.series[0].yTemporalBinning, ni = (i, e) => {
|
|
386
423
|
e.orderOptions ??= {};
|
|
387
|
-
const
|
|
424
|
+
const t = e.axes?.[0]?.valueFormat?.type === "category" ? L.Category : L.YValue, a = pe(e)[0], r = e.axes?.[1]?.valueFormat?.type === "category" ? L.Category : L.YValue, s = pe(e)[1], n = {
|
|
388
425
|
...e.orderOptions.data ?? {},
|
|
389
|
-
orderType:
|
|
426
|
+
orderType: L.MultiAxes
|
|
390
427
|
};
|
|
391
|
-
|
|
392
|
-
},
|
|
393
|
-
const
|
|
394
|
-
|
|
395
|
-
},
|
|
396
|
-
const
|
|
397
|
-
|
|
398
|
-
},
|
|
399
|
-
const
|
|
400
|
-
|
|
401
|
-
},
|
|
402
|
-
const { field: e, config:
|
|
403
|
-
|
|
428
|
+
a === ue.customSort && t === L.Category && (n.orderByX = [...i]), s === ue.customSort && r === L.Category && (n.orderByY = [...i]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
|
|
429
|
+
}, is = (i, e) => {
|
|
430
|
+
const t = e.series[0];
|
|
431
|
+
t.gridLine && (t.gridLine.width = i);
|
|
432
|
+
}, ss = (i) => i.series[0].gridLine?.width, as = (i, e) => {
|
|
433
|
+
const t = e.series[0], a = i?.length === 4 && i.every((r) => typeof r == "number");
|
|
434
|
+
t.gridLine && a && (t.gridLine.color = i);
|
|
435
|
+
}, rs = (i) => i.series[0].gridLine?.color, ns = (i, e) => {
|
|
436
|
+
const t = e.legend;
|
|
437
|
+
t && (t.position = i);
|
|
438
|
+
}, ls = (i) => i.legend?.position ?? Ct.Bottom, os = (i) => i.series[0].query?.outStatistics?.[0]?.onStatisticField, us = (i) => {
|
|
439
|
+
const { field: e, config: t, layerInfo: a, commonStrings: r } = i, s = t.series[0].query?.outStatistics?.[0], n = oe(t, a, r);
|
|
440
|
+
s ? (s.onStatisticField = e, s.outStatisticFieldName = `${s.statisticType}_${e}`) : t.series[0].query = {
|
|
404
441
|
outStatistics: [
|
|
405
442
|
{
|
|
406
443
|
onStatisticField: e,
|
|
407
|
-
outStatisticFieldName: `${
|
|
408
|
-
statisticType:
|
|
444
|
+
outStatisticFieldName: `${I.Count}_${e}`,
|
|
445
|
+
statisticType: I.Count
|
|
409
446
|
}
|
|
410
447
|
]
|
|
411
|
-
}, n &&
|
|
412
|
-
},
|
|
413
|
-
const { aggregationType: e, config:
|
|
414
|
-
|
|
415
|
-
},
|
|
416
|
-
e.nullPolicy =
|
|
417
|
-
},
|
|
418
|
-
e.series[0].emptyCells =
|
|
419
|
-
},
|
|
420
|
-
e.series[0].emptyCells ? e.series[0].emptyCells.text =
|
|
421
|
-
},
|
|
422
|
-
e.includeLeapDay =
|
|
423
|
-
},
|
|
424
|
-
e.series[0].emptyCells ? e.series[0].emptyCells.symbol =
|
|
448
|
+
}, n && t.title && (t.title.content.text = _(t, a, r));
|
|
449
|
+
}, cs = (i) => i.series[0].query?.outStatistics?.[0].statisticType ?? I.Count, ds = (i) => {
|
|
450
|
+
const { aggregationType: e, config: t, layerInfo: a, commonStrings: r } = i, s = t.series[0]?.query?.outStatistics?.[0], n = oe(t, a, r);
|
|
451
|
+
s && e !== I.NoAggregation && (s.statisticType = e, s.outStatisticFieldName = `${e}_${s.onStatisticField}`), (e === I.Count || e === I.Sum) && li(H.Zero, t), n && t.title && (t.title.content.text = _(t, a, r));
|
|
452
|
+
}, ys = (i) => i.nullPolicy, li = (i, e) => {
|
|
453
|
+
e.nullPolicy = i;
|
|
454
|
+
}, ms = (i) => i.series[0].emptyCells, ps = (i, e) => {
|
|
455
|
+
e.series[0].emptyCells = i;
|
|
456
|
+
}, gs = (i) => i.series[0].emptyCells?.text, fs = (i, e) => {
|
|
457
|
+
e.series[0].emptyCells ? e.series[0].emptyCells.text = i : e.series[0].emptyCells = { text: i };
|
|
458
|
+
}, Ss = (i) => i.includeLeapDay, Fs = (i, e) => {
|
|
459
|
+
e.includeLeapDay = i;
|
|
460
|
+
}, xs = (i) => i.series[0].emptyCells?.symbol, hs = (i, e) => {
|
|
461
|
+
e.series[0].emptyCells ? e.series[0].emptyCells.symbol = i : e.series[0].emptyCells = { symbol: i };
|
|
425
462
|
};
|
|
426
|
-
function
|
|
427
|
-
return
|
|
463
|
+
function Ts(i) {
|
|
464
|
+
return i.viewType;
|
|
428
465
|
}
|
|
429
|
-
function
|
|
430
|
-
|
|
466
|
+
function Bs(i, e) {
|
|
467
|
+
Ft(e) || (e.viewType = i);
|
|
431
468
|
}
|
|
432
|
-
function
|
|
433
|
-
return
|
|
469
|
+
function Cs(i) {
|
|
470
|
+
return i.series[0].classBreaksRules?.breaksCount ?? X.classBreaks.breaksCount;
|
|
434
471
|
}
|
|
435
|
-
function
|
|
436
|
-
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount =
|
|
437
|
-
breaksCount:
|
|
472
|
+
function bs(i, e) {
|
|
473
|
+
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = i ?? X.classBreaks.breaksCount : e.series[0].classBreaksRules = {
|
|
474
|
+
breaksCount: i ?? X.classBreaks.breaksCount
|
|
438
475
|
};
|
|
439
476
|
}
|
|
440
|
-
function
|
|
441
|
-
return
|
|
477
|
+
function As(i) {
|
|
478
|
+
return i.series[0].classBreaksRules?.classificationMethod;
|
|
442
479
|
}
|
|
443
|
-
function
|
|
444
|
-
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.classificationMethod =
|
|
445
|
-
classificationMethod:
|
|
446
|
-
}, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ??
|
|
480
|
+
function vs(i, e) {
|
|
481
|
+
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.classificationMethod = i : e.series[0].classBreaksRules = {
|
|
482
|
+
classificationMethod: i
|
|
483
|
+
}, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? X.classBreaks.breaksCount;
|
|
447
484
|
}
|
|
448
|
-
function
|
|
449
|
-
e.firstDayOfWeek =
|
|
485
|
+
function Is(i, e) {
|
|
486
|
+
e.firstDayOfWeek = i;
|
|
450
487
|
}
|
|
451
|
-
function
|
|
452
|
-
return
|
|
488
|
+
function Vs(i) {
|
|
489
|
+
return i.firstDayOfWeek;
|
|
453
490
|
}
|
|
454
|
-
function
|
|
455
|
-
return
|
|
491
|
+
function Ds(i) {
|
|
492
|
+
return i.series[0].classBreaksRules?.colorRampInfo?.name;
|
|
456
493
|
}
|
|
457
|
-
function
|
|
494
|
+
function Ls(i, e) {
|
|
458
495
|
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
|
|
459
496
|
...e.series[0].classBreaksRules.colorRampInfo,
|
|
460
|
-
name:
|
|
497
|
+
name: i
|
|
461
498
|
} : e.series[0].classBreaksRules = {
|
|
462
499
|
colorRampInfo: {
|
|
463
|
-
name:
|
|
500
|
+
name: i,
|
|
464
501
|
flipped: !1
|
|
465
502
|
}
|
|
466
503
|
};
|
|
467
504
|
}
|
|
468
|
-
function
|
|
469
|
-
return
|
|
505
|
+
function ks(i) {
|
|
506
|
+
return i.series[0].classBreaksRules?.colorRampInfo?.flipped ?? !1;
|
|
470
507
|
}
|
|
471
|
-
function
|
|
508
|
+
function Ns(i, e) {
|
|
472
509
|
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
|
|
473
510
|
...e.series[0].classBreaksRules.colorRampInfo,
|
|
474
|
-
flipped:
|
|
511
|
+
flipped: i
|
|
475
512
|
} : e.series[0].classBreaksRules = {
|
|
476
513
|
colorRampInfo: {
|
|
477
|
-
flipped:
|
|
514
|
+
flipped: i
|
|
478
515
|
}
|
|
479
516
|
};
|
|
480
517
|
}
|
|
481
|
-
|
|
482
|
-
|
|
518
|
+
const oi = [
|
|
519
|
+
R.DayOfMonth,
|
|
520
|
+
R.MonthOfYear
|
|
521
|
+
], Ce = (i) => {
|
|
522
|
+
let e;
|
|
523
|
+
return z(i) ? e = ye() : ($(i) || G(i)) && (e = J()), e;
|
|
524
|
+
}, be = (i) => $(i) || G(i), Ae = (i) => {
|
|
525
|
+
const { axisIndex: e, commonStrings: t, config: a, valueFormat: r } = i, s = a.axes?.[e]?.valueFormat;
|
|
526
|
+
r !== void 0 && s?.type !== r.type && De({ config: a, commonStrings: t, valueFormat: r, axisIndex: e });
|
|
527
|
+
}, ui = (i, e) => {
|
|
528
|
+
let t;
|
|
529
|
+
return e === 0 ? t = i.series[0]?.xTemporalBinning : e === 1 && (t = i.series[0]?.yTemporalBinning), t;
|
|
530
|
+
}, ve = (i, e) => i.utilsStrings.heatChartCalendarDatePartsUnits[e] ?? "", Ie = (i, e) => {
|
|
531
|
+
let t = oi[i];
|
|
532
|
+
return i === 0 && e?.unit === R.DayOfWeek ? t = R.HourOfDay : i === 1 && e?.unit === R.HourOfDay && (t = R.DayOfWeek), {
|
|
533
|
+
type: C.CalendarDateParts,
|
|
534
|
+
unit: t
|
|
535
|
+
};
|
|
536
|
+
}, ci = (i) => {
|
|
537
|
+
let e = {};
|
|
538
|
+
switch (i.unit) {
|
|
539
|
+
case R.DayOfMonth:
|
|
540
|
+
e = { day: "2-digit" };
|
|
541
|
+
break;
|
|
542
|
+
case R.DayOfWeek:
|
|
543
|
+
e = { weekday: "short" };
|
|
544
|
+
break;
|
|
545
|
+
case R.HourOfDay:
|
|
546
|
+
e = { hour: "numeric", hour12: !1 };
|
|
547
|
+
break;
|
|
548
|
+
case R.MonthOfYear:
|
|
549
|
+
e = { month: "short" };
|
|
550
|
+
break;
|
|
551
|
+
default:
|
|
552
|
+
e = J().intlOptions;
|
|
553
|
+
break;
|
|
554
|
+
}
|
|
555
|
+
return {
|
|
556
|
+
type: C.DateAxisFormat,
|
|
557
|
+
intlOptions: e
|
|
558
|
+
};
|
|
559
|
+
}, Ve = (i) => {
|
|
560
|
+
const { axisIndex: e, binning: t, commonStrings: a, config: r, fieldName: s, layerInfo: n } = i, o = r.series[0], c = re(e, r), d = P(n.layerFieldsInfo, s);
|
|
561
|
+
e === 0 ? o.xTemporalBinning = t : e === 1 && (o.yTemporalBinning = t), t !== void 0 && (c === "" || c === d || c === ve(a, t.unit) || c === a.xAxis) && W(r, e, ve(a, t.unit));
|
|
562
|
+
}, ee = (i) => {
|
|
563
|
+
const { axisIndex: e, commonStrings: t, config: a } = i, r = ui(a, e), s = r ? ci(r) : void 0;
|
|
564
|
+
De({ config: a, commonStrings: t, valueFormat: s, axisIndex: e });
|
|
565
|
+
}, Me = (i) => {
|
|
566
|
+
const { commonStrings: e, config: t, layerInfo: a } = i, r = t.series[0]?.x ?? "", s = t.series[0]?.y ?? "", n = xe(a.layerFieldsInfo, r), o = xe(a.layerFieldsInfo, s), c = Ce(n), d = Ce(o), p = be(n) && be(o), u = z(n) && z(o);
|
|
567
|
+
if (Ae({ axisIndex: 0, commonStrings: e, config: t, valueFormat: c }), Ae({ axisIndex: 1, commonStrings: e, config: t, valueFormat: d }), p) {
|
|
568
|
+
const y = ai(t) === void 0, m = ri(t) === void 0;
|
|
569
|
+
y && (Ve({
|
|
570
|
+
axisIndex: 0,
|
|
571
|
+
binning: Ie(0, t.series[0].yTemporalBinning),
|
|
572
|
+
commonStrings: e,
|
|
573
|
+
config: t,
|
|
574
|
+
fieldName: r,
|
|
575
|
+
layerInfo: a
|
|
576
|
+
}), ee({
|
|
577
|
+
axisIndex: 0,
|
|
578
|
+
commonStrings: e,
|
|
579
|
+
config: t
|
|
580
|
+
})), m && (Ve({
|
|
581
|
+
axisIndex: 1,
|
|
582
|
+
binning: Ie(1, t.series[0].xTemporalBinning),
|
|
583
|
+
commonStrings: e,
|
|
584
|
+
config: t,
|
|
585
|
+
fieldName: s,
|
|
586
|
+
layerInfo: a
|
|
587
|
+
}), ee({
|
|
588
|
+
axisIndex: 1,
|
|
589
|
+
commonStrings: e,
|
|
590
|
+
config: t
|
|
591
|
+
}));
|
|
592
|
+
}
|
|
593
|
+
u && (t.series[0].xTemporalBinning = void 0, t.series[0].yTemporalBinning = void 0);
|
|
594
|
+
};
|
|
595
|
+
function di(i) {
|
|
596
|
+
const e = {};
|
|
597
|
+
return i.series.forEach((t) => {
|
|
598
|
+
Pe(t) && "nullCategory" in t && t.nullCategory !== void 0 && (e.text ??= t.nullCategory.text, t.type === C.BarSeries ? e.fillSymbol ??= t.nullCategory.fillSymbol : e.markerSymbol ??= t.nullCategory.markerSymbol);
|
|
599
|
+
}), e.text || e.fillSymbol || e.markerSymbol ? e : void 0;
|
|
600
|
+
}
|
|
601
|
+
function j(i) {
|
|
602
|
+
const { seriesIndex: e, xAxisField: t, aggregationType: a, config: r, layerInfo: s, commonStrings: n } = i, o = Z(s?.layer).idField;
|
|
483
603
|
let c;
|
|
484
|
-
const
|
|
485
|
-
let
|
|
486
|
-
if (
|
|
487
|
-
const
|
|
488
|
-
|
|
604
|
+
const d = r.series[e ?? 0];
|
|
605
|
+
let p = !1, u = !1, y = !1;
|
|
606
|
+
if (d === void 0) {
|
|
607
|
+
const l = r.series;
|
|
608
|
+
p = l.slice(0, e).every((f) => A(f)), u = l.slice(0, e).every((f) => v(f)), y = l.slice(0, e).every((f) => he(f));
|
|
489
609
|
} else
|
|
490
|
-
|
|
491
|
-
|
|
610
|
+
p = A(d), u = v(d), y = he(d);
|
|
611
|
+
p ? c = Dt({
|
|
492
612
|
commonStrings: n,
|
|
493
613
|
seriesIndex: e,
|
|
494
614
|
objectIDField: o
|
|
495
|
-
}) :
|
|
615
|
+
}) : u ? c = Lt({
|
|
496
616
|
commonStrings: n,
|
|
497
617
|
seriesIndex: e,
|
|
498
618
|
objectIDField: o
|
|
499
|
-
}) :
|
|
619
|
+
}) : y ? c = kt(n, o) : c = Nt({
|
|
500
620
|
seriesIndex: e,
|
|
501
621
|
objectIDField: o,
|
|
502
622
|
commonStrings: n
|
|
503
623
|
});
|
|
504
|
-
const
|
|
624
|
+
const m = r.series[0]?.dataLabels, g = {
|
|
505
625
|
...c,
|
|
506
|
-
x:
|
|
626
|
+
x: t,
|
|
507
627
|
y: "",
|
|
508
628
|
dataLabels: {
|
|
509
629
|
...c.dataLabels,
|
|
510
|
-
type: c.dataLabels?.type ??
|
|
511
|
-
content: { ...c.dataLabels?.content, ...
|
|
512
|
-
visible:
|
|
630
|
+
type: c.dataLabels?.type ?? C.Text,
|
|
631
|
+
content: { ...c.dataLabels?.content, ...m?.content, type: vt.TS },
|
|
632
|
+
visible: m?.visible ?? !1
|
|
513
633
|
}
|
|
514
634
|
};
|
|
515
|
-
if (
|
|
516
|
-
groupByFieldsForStatistics: [
|
|
517
|
-
},
|
|
518
|
-
const
|
|
519
|
-
|
|
635
|
+
if (g.query = {
|
|
636
|
+
groupByFieldsForStatistics: [t]
|
|
637
|
+
}, a !== I.NoAggregation && o !== void 0) {
|
|
638
|
+
const l = `${a}_${o}_0`.toUpperCase();
|
|
639
|
+
g.y = l, g.query.outStatistics = [
|
|
520
640
|
{
|
|
521
|
-
statisticType:
|
|
641
|
+
statisticType: a,
|
|
522
642
|
onStatisticField: o,
|
|
523
|
-
outStatisticFieldName:
|
|
643
|
+
outStatisticFieldName: l
|
|
524
644
|
}
|
|
525
645
|
];
|
|
526
646
|
}
|
|
527
|
-
if (
|
|
528
|
-
let
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
unit: p
|
|
534
|
-
};
|
|
535
|
-
}
|
|
647
|
+
if (V(r.series[0]) && V(g)) {
|
|
648
|
+
let l = Wt(r);
|
|
649
|
+
l === de.Quarter && (l = de.Month), g.temporalBinning = {
|
|
650
|
+
...r.series[0]?.temporalBinning,
|
|
651
|
+
unit: l
|
|
652
|
+
};
|
|
536
653
|
}
|
|
537
|
-
return
|
|
654
|
+
return te(g);
|
|
538
655
|
}
|
|
539
|
-
function
|
|
540
|
-
const { layerFieldsInfo:
|
|
541
|
-
let
|
|
542
|
-
if (
|
|
656
|
+
function _(i, e, t) {
|
|
657
|
+
const { layerFieldsInfo: a } = e, { idField: r, isTraditionalTypeOID: s } = Z(e.layer), n = U(i), o = le(i), c = We(i), d = ne(i), p = s && (o.length === 0 || o.includes(r)), u = Vt(c, t), y = p ? "" : o.map((x) => P(a ?? [], x)).join(", "), m = P(a ?? [], n), g = P(a ?? [], d), l = i.series.some((x) => O(x)), f = l ? "category" : "xAxisField", b = m;
|
|
658
|
+
let B = "";
|
|
659
|
+
if (Oe({
|
|
543
660
|
fieldName: n,
|
|
544
661
|
numericFields: o,
|
|
545
|
-
fieldList:
|
|
662
|
+
fieldList: a
|
|
546
663
|
}))
|
|
547
|
-
|
|
548
|
-
aggregationType:
|
|
549
|
-
aggregationFields:
|
|
664
|
+
B = E(t.titleLabels.aggrTypeOfAggrFields, {
|
|
665
|
+
aggregationType: u,
|
|
666
|
+
aggregationFields: y
|
|
550
667
|
});
|
|
551
|
-
else if (c ===
|
|
552
|
-
const
|
|
553
|
-
if (
|
|
554
|
-
const
|
|
555
|
-
|
|
556
|
-
aggregationType:
|
|
557
|
-
[
|
|
668
|
+
else if (c === I.NoAggregation) {
|
|
669
|
+
const x = p ? r : y;
|
|
670
|
+
if (d === "") {
|
|
671
|
+
const F = l ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
672
|
+
B = E(t.titleLabels[F], {
|
|
673
|
+
aggregationType: x,
|
|
674
|
+
[f]: b
|
|
558
675
|
});
|
|
559
676
|
} else {
|
|
560
|
-
const
|
|
561
|
-
|
|
562
|
-
aggregationType:
|
|
563
|
-
[
|
|
564
|
-
splitByField:
|
|
677
|
+
const F = l ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
678
|
+
B = E(t.titleLabels[F], {
|
|
679
|
+
aggregationType: x,
|
|
680
|
+
[f]: b,
|
|
681
|
+
splitByField: g
|
|
565
682
|
});
|
|
566
683
|
}
|
|
567
|
-
} else if (c ===
|
|
568
|
-
if (
|
|
569
|
-
const
|
|
570
|
-
|
|
571
|
-
aggregationType:
|
|
572
|
-
[
|
|
684
|
+
} else if (c === I.Count)
|
|
685
|
+
if (d === "") {
|
|
686
|
+
const x = l ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
687
|
+
B = E(t.titleLabels[x], {
|
|
688
|
+
aggregationType: u,
|
|
689
|
+
[f]: b
|
|
573
690
|
});
|
|
574
691
|
} else {
|
|
575
|
-
const
|
|
576
|
-
|
|
577
|
-
aggregationType:
|
|
578
|
-
[
|
|
579
|
-
splitByField:
|
|
692
|
+
const x = l ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
693
|
+
B = E(t.titleLabels[x], {
|
|
694
|
+
aggregationType: u,
|
|
695
|
+
[f]: b,
|
|
696
|
+
splitByField: g
|
|
580
697
|
});
|
|
581
698
|
}
|
|
582
|
-
else if (
|
|
583
|
-
const
|
|
584
|
-
|
|
585
|
-
aggregationType:
|
|
586
|
-
aggregationField:
|
|
587
|
-
[
|
|
588
|
-
splitByField:
|
|
699
|
+
else if (d !== "") {
|
|
700
|
+
const x = l ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
|
|
701
|
+
B = E(t.titleLabels[x], {
|
|
702
|
+
aggregationType: u,
|
|
703
|
+
aggregationField: y,
|
|
704
|
+
[f]: b,
|
|
705
|
+
splitByField: g
|
|
589
706
|
});
|
|
590
707
|
} else if (o.length > 0) {
|
|
591
|
-
const
|
|
592
|
-
|
|
593
|
-
aggregationType:
|
|
594
|
-
aggregationFields:
|
|
595
|
-
[
|
|
708
|
+
const x = l ? "aggrTypeOfAggrFieldsByCategory" : "aggrTypeOfAggrFieldsByXAxisField";
|
|
709
|
+
B = E(t.titleLabels[x], {
|
|
710
|
+
aggregationType: u,
|
|
711
|
+
aggregationFields: y,
|
|
712
|
+
[f]: b
|
|
596
713
|
});
|
|
597
714
|
}
|
|
598
|
-
return
|
|
715
|
+
return B;
|
|
599
716
|
}
|
|
600
|
-
const
|
|
601
|
-
where:
|
|
717
|
+
const Ee = (i) => fe({
|
|
718
|
+
where: i.query?.where,
|
|
602
719
|
normalize: !1,
|
|
603
720
|
escape: !1
|
|
604
|
-
}) ?? "",
|
|
605
|
-
(
|
|
606
|
-
const e =
|
|
607
|
-
return
|
|
721
|
+
}) ?? "", We = (i) => i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation, ne = Ke(
|
|
722
|
+
(i) => {
|
|
723
|
+
const e = i?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
|
|
724
|
+
return xt(i?.series?.[0]?.query?.where) ? "" : e;
|
|
608
725
|
},
|
|
609
|
-
(
|
|
610
|
-
),
|
|
726
|
+
(i) => i?.series?.[0]?.query?.where
|
|
727
|
+
), le = (i) => {
|
|
611
728
|
let e = [];
|
|
612
|
-
if (
|
|
613
|
-
e =
|
|
614
|
-
const
|
|
615
|
-
return
|
|
729
|
+
if (ne(i) === "")
|
|
730
|
+
e = i?.series.map((t) => {
|
|
731
|
+
const a = t.query?.outStatistics?.map((r) => r.onStatisticField) ?? [];
|
|
732
|
+
return a?.length > 0 ? a : t.y;
|
|
616
733
|
}).flat() ?? [];
|
|
617
734
|
else {
|
|
618
|
-
const
|
|
619
|
-
e =
|
|
735
|
+
const t = i?.series?.[0], a = t?.query?.outStatistics?.[0]?.onStatisticField ?? [t?.y].flat()[0];
|
|
736
|
+
e = a !== void 0 ? [a] : [];
|
|
620
737
|
}
|
|
621
|
-
return e.filter((
|
|
738
|
+
return e.filter((t) => t !== "");
|
|
622
739
|
};
|
|
623
|
-
function
|
|
624
|
-
const {
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
740
|
+
function $e(i) {
|
|
741
|
+
const { splitByField: e, numericFields: t, layer: a, seriesIndex: r } = i, s = Z(a).idField ?? "";
|
|
742
|
+
return e === "" ? t[r] ?? s : t[0] ?? s;
|
|
743
|
+
}
|
|
744
|
+
function yi(i) {
|
|
745
|
+
const { numericFields: e, aggregationType: t, config: a, layerInfo: r } = i;
|
|
746
|
+
let s = !1;
|
|
747
|
+
t === I.Count ? s = !0 : t === I.NoAggregation && (s = e.every((c) => {
|
|
748
|
+
const d = r.layerFieldsInfo.find((p) => p.name === c);
|
|
749
|
+
return d !== void 0 ? Te(d) : !1;
|
|
750
|
+
})), Se(a, 1, s);
|
|
751
|
+
const n = a.series.some((c) => A(c)), o = a.series.some((c) => v(c));
|
|
631
752
|
if (n || o) {
|
|
632
|
-
const c =
|
|
633
|
-
|
|
753
|
+
const c = U(a), d = r.layerFieldsInfo.find((u) => u.name === c), p = d !== void 0 && Te(d);
|
|
754
|
+
Se(a, 0, p);
|
|
634
755
|
}
|
|
635
756
|
}
|
|
636
|
-
const
|
|
757
|
+
const pe = (i) => {
|
|
637
758
|
let e;
|
|
638
|
-
if (
|
|
639
|
-
const
|
|
640
|
-
e = [
|
|
759
|
+
if (Y(i)) {
|
|
760
|
+
const t = i.orderOptions?.data?.orderByX ?? [""], a = i.orderOptions?.data?.orderByY ?? [""], r = i.axes?.[0]?.valueFormat?.type === "category" ? L.Category : L.YValue, s = i.axes?.[1]?.valueFormat?.type === "category" ? L.Category : L.YValue;
|
|
761
|
+
e = [Be(t, r), Be(a, s)];
|
|
641
762
|
} else {
|
|
642
|
-
const
|
|
643
|
-
e = [
|
|
763
|
+
const t = i.orderOptions?.data?.orderType ?? L.Category, a = i.orderOptions?.data && "orderBy" in i.orderOptions.data ? i.orderOptions.data.orderBy : bt.Ascending;
|
|
764
|
+
e = [Bt(a, t)];
|
|
644
765
|
}
|
|
645
766
|
return e;
|
|
646
767
|
};
|
|
647
|
-
function
|
|
648
|
-
const { xAxisField: e, numericFields:
|
|
768
|
+
function mi(i) {
|
|
769
|
+
const { xAxisField: e, numericFields: t, aggregationType: a, config: r, layerInfo: s, commonStrings: n } = i, { layerFieldsInfo: o } = s;
|
|
649
770
|
let c = !1;
|
|
650
|
-
const
|
|
651
|
-
config:
|
|
771
|
+
const d = j({
|
|
772
|
+
config: r,
|
|
652
773
|
xAxisField: e,
|
|
653
|
-
aggregationType:
|
|
654
|
-
layerInfo:
|
|
774
|
+
aggregationType: a,
|
|
775
|
+
layerInfo: s,
|
|
655
776
|
seriesIndex: 0,
|
|
656
777
|
commonStrings: n
|
|
657
|
-
}),
|
|
658
|
-
config:
|
|
778
|
+
}), p = se({
|
|
779
|
+
config: r,
|
|
659
780
|
xAxisField: e,
|
|
660
|
-
numericFields:
|
|
661
|
-
aggregationType:
|
|
662
|
-
layer:
|
|
781
|
+
numericFields: t,
|
|
782
|
+
aggregationType: a,
|
|
783
|
+
layer: s.layer,
|
|
663
784
|
fieldList: o
|
|
664
|
-
}).name,
|
|
665
|
-
...
|
|
785
|
+
}).name, u = {
|
|
786
|
+
...d,
|
|
666
787
|
id: `series_${Date.now()}`,
|
|
667
788
|
name: n.axisLabels.values,
|
|
668
|
-
x:
|
|
669
|
-
y:
|
|
670
|
-
},
|
|
671
|
-
for (const
|
|
672
|
-
|
|
673
|
-
onStatisticField:
|
|
674
|
-
outStatisticFieldName: `${
|
|
675
|
-
statisticType:
|
|
789
|
+
x: ce,
|
|
790
|
+
y: p
|
|
791
|
+
}, y = [];
|
|
792
|
+
for (const g of t)
|
|
793
|
+
y.push({
|
|
794
|
+
onStatisticField: g,
|
|
795
|
+
outStatisticFieldName: `${g}_0`.toUpperCase(),
|
|
796
|
+
statisticType: a
|
|
676
797
|
});
|
|
677
|
-
|
|
678
|
-
const
|
|
679
|
-
return
|
|
798
|
+
u.query = { outStatistics: y };
|
|
799
|
+
const m = r.series[0];
|
|
800
|
+
return m !== void 0 && (u.id = m.id, (A(u) && A(m) || v(u) && v(m)) && K(u, m), r.colorMatch || (O(m) && O(u) ? u.fillSymbol = m.fillSymbol : (A(u) && A(m) || v(u) && v(m)) && (u.lineSymbol = m.lineSymbol, u.markerSymbol = m.markerSymbol), c = !0), u.id = m.id, m.name !== d.name && (u.name = m.name)), r.series.length === 1 && ((A(u) || v(u)) && K(u, r.series[0]), r.colorMatch || (O(u) ? u.fillSymbol = r.series[0].fillSymbol : (A(u) || v(u)) && (u.lineSymbol = r.series[0].lineSymbol, u.markerSymbol = r.series[0].markerSymbol), c = !0)), r.colorMatch = !c, [u];
|
|
680
801
|
}
|
|
681
|
-
function
|
|
682
|
-
const { xAxisField: e, numericFields:
|
|
683
|
-
let
|
|
684
|
-
for (let
|
|
685
|
-
const
|
|
686
|
-
config:
|
|
802
|
+
function Ye(i) {
|
|
803
|
+
const { xAxisField: e, numericFields: t, aggregationType: a, config: r, layerInfo: s, commonStrings: n } = i, { layerFieldsInfo: o } = s, c = Z(s.layer).idField, d = [];
|
|
804
|
+
let p = !1;
|
|
805
|
+
for (let l = 0; l < t.length; l += 1) {
|
|
806
|
+
const f = j({
|
|
807
|
+
config: r,
|
|
687
808
|
xAxisField: e,
|
|
688
|
-
aggregationType:
|
|
689
|
-
layerInfo:
|
|
690
|
-
seriesIndex:
|
|
809
|
+
aggregationType: a,
|
|
810
|
+
layerInfo: s,
|
|
811
|
+
seriesIndex: l,
|
|
691
812
|
commonStrings: n
|
|
692
|
-
}),
|
|
693
|
-
config:
|
|
813
|
+
}), b = r.series[l]?.y, B = typeof b == "string" && b.trim() !== "" && !o.find((h) => h.name === b) ? b : se({
|
|
814
|
+
config: r,
|
|
694
815
|
xAxisField: e,
|
|
695
|
-
numericFields:
|
|
696
|
-
aggregationType:
|
|
697
|
-
layer:
|
|
698
|
-
numericFieldIndex:
|
|
816
|
+
numericFields: t,
|
|
817
|
+
aggregationType: a,
|
|
818
|
+
layer: s.layer,
|
|
819
|
+
numericFieldIndex: l,
|
|
699
820
|
fieldList: o
|
|
700
|
-
}).name,
|
|
701
|
-
let
|
|
702
|
-
...
|
|
821
|
+
}).name, x = t[l];
|
|
822
|
+
let F = {
|
|
823
|
+
...f,
|
|
703
824
|
query: {
|
|
704
|
-
...
|
|
825
|
+
...f.query
|
|
705
826
|
}
|
|
706
827
|
};
|
|
707
|
-
|
|
708
|
-
...
|
|
709
|
-
id:
|
|
710
|
-
name:
|
|
828
|
+
t && x !== c && (F = {
|
|
829
|
+
...F,
|
|
830
|
+
id: x,
|
|
831
|
+
name: P(o, x)
|
|
711
832
|
});
|
|
712
|
-
let
|
|
713
|
-
|
|
833
|
+
let N = x;
|
|
834
|
+
F.query !== void 0 && (a !== I.NoAggregation ? (N = B, F.query.outStatistics = [
|
|
714
835
|
{
|
|
715
|
-
...
|
|
716
|
-
onStatisticField:
|
|
717
|
-
outStatisticFieldName:
|
|
718
|
-
statisticType:
|
|
836
|
+
...f.query?.outStatistics?.[0] ?? {},
|
|
837
|
+
onStatisticField: x,
|
|
838
|
+
outStatisticFieldName: B,
|
|
839
|
+
statisticType: a
|
|
719
840
|
}
|
|
720
|
-
]) : delete
|
|
721
|
-
const
|
|
722
|
-
(
|
|
841
|
+
]) : delete F.query.outStatistics), F.y = N;
|
|
842
|
+
const S = r.series.find(
|
|
843
|
+
(h) => h.query?.outStatistics?.[0]?.onStatisticField === x && h.query.where === void 0 || h.query?.outStatistics === void 0 && (h.y === x || h.x === x)
|
|
723
844
|
);
|
|
724
|
-
if (
|
|
725
|
-
(
|
|
726
|
-
const
|
|
727
|
-
config:
|
|
845
|
+
if (S !== void 0 && typeof S.y == "string" && S.y.trim() !== "") {
|
|
846
|
+
(A(F) && A(S) || v(F) && v(S)) && K(F, S), r.colorMatch || (O(F) && O(S) ? F.fillSymbol = S.fillSymbol : (A(F) && A(S) || v(F) && v(S)) && (F.lineSymbol = S.lineSymbol, F.markerSymbol = S.markerSymbol), p = !0);
|
|
847
|
+
const h = j({
|
|
848
|
+
config: r,
|
|
728
849
|
xAxisField: e,
|
|
729
|
-
aggregationType:
|
|
730
|
-
layerInfo:
|
|
731
|
-
seriesIndex:
|
|
850
|
+
aggregationType: a,
|
|
851
|
+
layerInfo: s,
|
|
852
|
+
seriesIndex: l,
|
|
732
853
|
commonStrings: n
|
|
733
854
|
});
|
|
734
|
-
|
|
855
|
+
F.id = S.id, S.id !== h.id && S.name !== h.name && (F.id = S.id, F.name = S.name), F.assignToSecondValueAxis = S.assignToSecondValueAxis, F.type === C.HeatSeries && S.type === C.HeatSeries && (F.y = S.y, F.heatRulesType = S.heatRulesType);
|
|
735
856
|
}
|
|
736
|
-
|
|
857
|
+
d.push(F);
|
|
737
858
|
}
|
|
738
|
-
const
|
|
739
|
-
(
|
|
740
|
-
),
|
|
741
|
-
(
|
|
859
|
+
const u = d.filter((l) => O(l)), y = d.filter(
|
|
860
|
+
(l) => A(l) || v(l)
|
|
861
|
+
), m = r.series.filter((l) => O(l)), g = r.series.filter(
|
|
862
|
+
(l) => A(l) || v(l)
|
|
742
863
|
);
|
|
743
|
-
return
|
|
864
|
+
return m.length === 1 && u.length === 1 && !r.colorMatch && (O(m[0]) && O(u[0]) && (u[0].fillSymbol = m[0].fillSymbol), p = !0), g.length === 1 && y.length === 1 && ((A(g[0]) && A(y[0]) || v(g[0]) && v(y[0])) && K(y[0], g[0]), r.colorMatch || ((A(g[0]) && A(y[0]) || v(g[0]) && v(y[0])) && (y[0].lineSymbol = g[0].lineSymbol, y[0].markerSymbol = g[0].markerSymbol), p = !0)), r.colorMatch = !p, d;
|
|
744
865
|
}
|
|
745
|
-
function
|
|
746
|
-
const { aggregationType: e, config:
|
|
747
|
-
if (
|
|
748
|
-
const
|
|
749
|
-
config:
|
|
866
|
+
function Os(i) {
|
|
867
|
+
const { aggregationType: e, config: t, layerInfo: a, commonStrings: r } = i, { layerFieldsInfo: s, layer: n } = a, o = U(t), c = le(t), d = ne(t), p = oe(t, a, r), u = He(t, a, r);
|
|
868
|
+
if (t.series.forEach((y, m) => {
|
|
869
|
+
const g = se({
|
|
870
|
+
config: t,
|
|
750
871
|
xAxisField: o,
|
|
751
872
|
numericFields: c,
|
|
752
873
|
aggregationType: e,
|
|
874
|
+
splitByField: d,
|
|
753
875
|
layer: n,
|
|
754
|
-
seriesIndex:
|
|
755
|
-
numericFieldIndex:
|
|
756
|
-
fieldList:
|
|
876
|
+
seriesIndex: m,
|
|
877
|
+
numericFieldIndex: m,
|
|
878
|
+
fieldList: s
|
|
757
879
|
}).name;
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
880
|
+
y.y = g;
|
|
881
|
+
const l = $e({
|
|
882
|
+
splitByField: d,
|
|
883
|
+
numericFields: c,
|
|
884
|
+
layer: n,
|
|
885
|
+
seriesIndex: m
|
|
886
|
+
}), f = y.query?.outStatistics?.[0]?.onStatisticField ?? l;
|
|
887
|
+
y.query = {
|
|
888
|
+
...y.query,
|
|
889
|
+
outStatistics: e === I.NoAggregation ? void 0 : [
|
|
761
890
|
{
|
|
762
|
-
...
|
|
763
|
-
outStatisticFieldName:
|
|
891
|
+
...y.query?.outStatistics?.[0],
|
|
892
|
+
outStatisticFieldName: g,
|
|
764
893
|
statisticType: e,
|
|
765
|
-
onStatisticField:
|
|
894
|
+
onStatisticField: f
|
|
766
895
|
}
|
|
767
896
|
]
|
|
768
|
-
}
|
|
769
|
-
}),
|
|
770
|
-
const
|
|
771
|
-
config:
|
|
772
|
-
layerInfo:
|
|
773
|
-
commonStrings:
|
|
897
|
+
}, "temporalBinning" in y && y.temporalBinning !== void 0 && (y.temporalBinning.nullPolicy = e === I.NoAggregation ? H.Interpolate : H.Null), e === I.NoAggregation && Ht(t);
|
|
898
|
+
}), p && t.title && (t.title.content.text = _(t, a, r)), u && t.series[0].type !== C.HeatSeries) {
|
|
899
|
+
const y = ge({
|
|
900
|
+
config: t,
|
|
901
|
+
layerInfo: a,
|
|
902
|
+
commonStrings: r,
|
|
774
903
|
numericFields: c,
|
|
775
904
|
aggregationType: e
|
|
776
905
|
});
|
|
777
|
-
|
|
906
|
+
W(t, 1, y);
|
|
778
907
|
}
|
|
779
908
|
}
|
|
780
|
-
function
|
|
909
|
+
function pi(i) {
|
|
781
910
|
const {
|
|
782
911
|
splitByField: e,
|
|
783
|
-
xAxisField:
|
|
784
|
-
numericFields:
|
|
785
|
-
aggregationType:
|
|
786
|
-
config:
|
|
912
|
+
xAxisField: t,
|
|
913
|
+
numericFields: a,
|
|
914
|
+
aggregationType: r,
|
|
915
|
+
config: s,
|
|
787
916
|
layerInfo: n,
|
|
788
917
|
commonStrings: o,
|
|
789
918
|
splitByFieldInfos: c
|
|
790
|
-
} =
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
919
|
+
} = i, { layer: d, layerFieldsInfo: p } = n, { categoriesArray: u, splitByFieldType: y } = c, m = $e({
|
|
920
|
+
splitByField: e,
|
|
921
|
+
numericFields: a,
|
|
922
|
+
layer: d,
|
|
923
|
+
seriesIndex: 0
|
|
924
|
+
});
|
|
925
|
+
let g = [], l = !1;
|
|
926
|
+
if (u.length === 0) {
|
|
927
|
+
g = Ye({
|
|
928
|
+
xAxisField: t,
|
|
929
|
+
numericFields: a,
|
|
930
|
+
aggregationType: r,
|
|
931
|
+
config: s,
|
|
798
932
|
layerInfo: n,
|
|
799
933
|
commonStrings: o
|
|
800
934
|
});
|
|
801
|
-
for (const
|
|
802
|
-
|
|
935
|
+
for (const f of g)
|
|
936
|
+
f.query && (f.query.where = `${e}=''`);
|
|
803
937
|
} else
|
|
804
|
-
for (let
|
|
805
|
-
const
|
|
806
|
-
config:
|
|
807
|
-
xAxisField:
|
|
808
|
-
numericFields:
|
|
809
|
-
aggregationType:
|
|
938
|
+
for (let f = 0; f < u.length; f += 1) {
|
|
939
|
+
const b = u[f], B = se({
|
|
940
|
+
config: s,
|
|
941
|
+
xAxisField: t,
|
|
942
|
+
numericFields: a,
|
|
943
|
+
aggregationType: r,
|
|
810
944
|
layer: n.layer,
|
|
811
|
-
seriesIndex:
|
|
945
|
+
seriesIndex: f,
|
|
812
946
|
splitByField: e,
|
|
813
|
-
fieldList:
|
|
814
|
-
}).name,
|
|
815
|
-
config:
|
|
816
|
-
xAxisField:
|
|
817
|
-
aggregationType:
|
|
947
|
+
fieldList: p
|
|
948
|
+
}).name, x = j({
|
|
949
|
+
config: s,
|
|
950
|
+
xAxisField: t,
|
|
951
|
+
aggregationType: r,
|
|
818
952
|
layerInfo: n,
|
|
819
|
-
seriesIndex:
|
|
953
|
+
seriesIndex: f,
|
|
820
954
|
commonStrings: o
|
|
821
|
-
}),
|
|
955
|
+
}), F = Ne({
|
|
822
956
|
queryObject: n.layer,
|
|
823
957
|
fieldName: e,
|
|
824
|
-
fieldValue:
|
|
825
|
-
}),
|
|
826
|
-
...
|
|
827
|
-
id:
|
|
828
|
-
name:
|
|
829
|
-
y:
|
|
958
|
+
fieldValue: b ?? ""
|
|
959
|
+
}), N = `${b}`, h = {
|
|
960
|
+
...x,
|
|
961
|
+
id: N,
|
|
962
|
+
name: F ?? N,
|
|
963
|
+
y: B,
|
|
830
964
|
query: {
|
|
831
|
-
...
|
|
832
|
-
where: `${e}=${
|
|
833
|
-
outStatistics:
|
|
965
|
+
...x.query,
|
|
966
|
+
where: `${e}=${y === qe.String && b !== null ? `'${b}'` : b}`,
|
|
967
|
+
outStatistics: r !== I.NoAggregation ? [
|
|
834
968
|
{
|
|
835
|
-
...
|
|
836
|
-
onStatisticField:
|
|
837
|
-
outStatisticFieldName:
|
|
838
|
-
statisticType:
|
|
969
|
+
...x.query?.outStatistics?.[0] ?? {},
|
|
970
|
+
onStatisticField: m,
|
|
971
|
+
outStatisticFieldName: B,
|
|
972
|
+
statisticType: r
|
|
839
973
|
}
|
|
840
974
|
] : void 0
|
|
841
975
|
}
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
const I = i.series.find(
|
|
845
|
-
(L) => String(Ce(L)).trim().replace(/'/gu, "") === k
|
|
976
|
+
}, D = s.series.find(
|
|
977
|
+
(M) => String(Ee(M)).trim().replace(/'/gu, "") === N
|
|
846
978
|
);
|
|
847
|
-
|
|
979
|
+
D !== void 0 && ((A(h) && A(D) || v(h) && v(D)) && K(h, D), s.colorMatch || (O(h) && O(D) ? h.fillSymbol = D.fillSymbol : (A(h) && A(D) || v(h) && v(D)) && (h.lineSymbol = D.lineSymbol, h.markerSymbol = D.markerSymbol), l = !0), h.id = D.id, h.name = D.name, h.assignToSecondValueAxis = D.assignToSecondValueAxis), h.query && (h.query.fetchNullValues = s.series.some((M) => M.query?.fetchNullValues)), g.push(h);
|
|
848
980
|
}
|
|
849
|
-
return
|
|
981
|
+
return s.colorMatch = !l, g;
|
|
850
982
|
}
|
|
851
|
-
const
|
|
983
|
+
const qs = (i) => {
|
|
852
984
|
const {
|
|
853
985
|
xAxisFieldName: e,
|
|
854
|
-
splitByField:
|
|
855
|
-
numericFields:
|
|
856
|
-
aggregationType:
|
|
857
|
-
config:
|
|
986
|
+
splitByField: t,
|
|
987
|
+
numericFields: a,
|
|
988
|
+
aggregationType: r,
|
|
989
|
+
config: s,
|
|
858
990
|
layerInfo: n,
|
|
859
991
|
commonStrings: o,
|
|
860
992
|
splitByFieldInfos: c
|
|
861
|
-
} =
|
|
862
|
-
let
|
|
863
|
-
const
|
|
864
|
-
|
|
865
|
-
let
|
|
866
|
-
if (
|
|
867
|
-
|
|
868
|
-
]),
|
|
869
|
-
|
|
870
|
-
}),
|
|
993
|
+
} = i, { layerFieldsInfo: d } = n ?? {}, p = te(s), u = Mt(s), y = U(p), m = d.find((T) => T.name === y), g = s.series[0].query?.fetchNullValues, l = di(s), f = s.series[0]?.query === void 0, b = "binTemporalData" in p.series[0] ? p.series[0].binTemporalData : void 0, B = d.find((T) => T.name === e), x = oe(p, n, o), F = He(p, n, o), N = gi(p, n);
|
|
994
|
+
let S = Le(s);
|
|
995
|
+
const h = p.series.some((T) => O(T)), D = ht(p.series), M = Tt(p.series), q = {};
|
|
996
|
+
Y(p) && (q.classBreaksRules = p.series[0]?.classBreaksRules, q.xTemporalBinning = p.series[0]?.xTemporalBinning, q.yTemporalBinning = p.series[0]?.yTemporalBinning, q.emptyCells = p.series[0]?.emptyCells, q.nullPolicy = p.nullPolicy);
|
|
997
|
+
let Q = !1;
|
|
998
|
+
if (z(B) ? S = ye() : !G(m) && G(B) ? (S = J(), Q = !0) : !$(m) && $(B) ? (S = J(), Q = !0) : $(m) && !$(B) && (h ? S = ye() : S = Ot(), Q = !0), S !== void 0 && _e(s, o, S), u === 0 && (s.series = [
|
|
999
|
+
j({ config: s, xAxisField: e, aggregationType: r, layerInfo: n, commonStrings: o })
|
|
1000
|
+
]), s.series.forEach((T) => {
|
|
1001
|
+
T.x = e, T.query !== void 0 && (T.query.groupByFieldsForStatistics = [e]);
|
|
1002
|
+
}), t === "" || a.length > 1 ? Oe({
|
|
871
1003
|
fieldName: e,
|
|
872
|
-
numericFields:
|
|
873
|
-
fieldList:
|
|
874
|
-
}) ?
|
|
875
|
-
config:
|
|
1004
|
+
numericFields: a,
|
|
1005
|
+
fieldList: d
|
|
1006
|
+
}) ? s.series = mi({
|
|
1007
|
+
config: s,
|
|
876
1008
|
layerInfo: n,
|
|
877
1009
|
xAxisField: e,
|
|
878
|
-
numericFields:
|
|
879
|
-
aggregationType:
|
|
1010
|
+
numericFields: a,
|
|
1011
|
+
aggregationType: r,
|
|
880
1012
|
commonStrings: o
|
|
881
|
-
}) :
|
|
882
|
-
config:
|
|
1013
|
+
}) : s.series = Ye({
|
|
1014
|
+
config: s,
|
|
883
1015
|
layerInfo: n,
|
|
884
1016
|
xAxisField: e,
|
|
885
|
-
numericFields:
|
|
886
|
-
aggregationType:
|
|
1017
|
+
numericFields: a,
|
|
1018
|
+
aggregationType: r,
|
|
887
1019
|
commonStrings: o
|
|
888
|
-
}) : c && (
|
|
889
|
-
config:
|
|
1020
|
+
}) : c && (s.series = pi({
|
|
1021
|
+
config: s,
|
|
890
1022
|
layerInfo: n,
|
|
891
|
-
splitByField:
|
|
1023
|
+
splitByField: t,
|
|
892
1024
|
xAxisField: e,
|
|
893
|
-
numericFields:
|
|
894
|
-
aggregationType:
|
|
1025
|
+
numericFields: a,
|
|
1026
|
+
aggregationType: r,
|
|
895
1027
|
commonStrings: o,
|
|
896
1028
|
splitByFieldInfos: c
|
|
897
|
-
})),
|
|
898
|
-
const
|
|
899
|
-
|
|
1029
|
+
})), N && s.series[0].type !== C.HeatSeries) {
|
|
1030
|
+
const T = P(d, e);
|
|
1031
|
+
W(s, 0, T);
|
|
900
1032
|
}
|
|
901
|
-
if (
|
|
902
|
-
const
|
|
903
|
-
config:
|
|
1033
|
+
if (F && s.series[0].type !== C.HeatSeries) {
|
|
1034
|
+
const T = ge({
|
|
1035
|
+
config: s,
|
|
904
1036
|
layerInfo: n,
|
|
905
1037
|
commonStrings: o,
|
|
906
|
-
numericFields:
|
|
907
|
-
aggregationType:
|
|
1038
|
+
numericFields: a,
|
|
1039
|
+
aggregationType: r
|
|
908
1040
|
});
|
|
909
|
-
|
|
1041
|
+
W(s, 1, T);
|
|
910
1042
|
}
|
|
911
|
-
if (x &&
|
|
912
|
-
const
|
|
913
|
-
|
|
1043
|
+
if (x && s.title && (s.title.content.text = _(s, n, o)), k({ config: s, value: null, axisIndex: 1, isMax: !1 }), k({ config: s, value: null, axisIndex: 1, isMax: !0 }), yi({ numericFields: a, aggregationType: r, config: s, layerInfo: n }), (D || M) && (k({ config: s, value: null, axisIndex: 0, isMax: !1 }), k({ config: s, value: null, axisIndex: 0, isMax: !0 }), Q && r !== I.NoAggregation)) {
|
|
1044
|
+
const T = S?.type === C.DateAxisFormat ? H.Null : H.Interpolate;
|
|
1045
|
+
Yt(T, s);
|
|
914
1046
|
}
|
|
915
|
-
|
|
916
|
-
delete
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
1047
|
+
Y(s) && (s.series[0].classBreaksRules = q.classBreaksRules, s.series[0].xTemporalBinning = q.xTemporalBinning, s.series[0].yTemporalBinning = q.yTemporalBinning, s.series[0].emptyCells = q.emptyCells, s.nullPolicy = q.nullPolicy, Me({ commonStrings: o, config: s, layerInfo: n })), s.series.forEach((T) => {
|
|
1048
|
+
f ? delete T.query : g && T.query && (T.query.fetchNullValues = g), Pe(T) && l && (T.type === C.BarSeries ? T.nullCategory = {
|
|
1049
|
+
text: l.text,
|
|
1050
|
+
fillSymbol: l.fillSymbol
|
|
1051
|
+
} : T.nullCategory = {
|
|
1052
|
+
text: l.text,
|
|
1053
|
+
markerSymbol: l.markerSymbol
|
|
1054
|
+
}), V(T) && T.binTemporalData === void 0 && B?.type === qe.TimeOnly && (T.binTemporalData = !1);
|
|
1055
|
+
const Xe = p.series.find((Ue) => Ue.id === T.id)?.visible;
|
|
1056
|
+
T.visible = Xe, V(T) && (T.binTemporalData = b);
|
|
921
1057
|
});
|
|
922
|
-
},
|
|
923
|
-
|
|
1058
|
+
}, K = (i, e) => {
|
|
1059
|
+
i.markerVisible = e.markerVisible, i.lineSmoothed = e.lineSmoothed, i.showArea = e.showArea, i.areaColor = e.areaColor, i.stackNegativeValuesToBaseline = e.stackNegativeValuesToBaseline, e.lineSymbol && (i.lineSymbol = { ...e.lineSymbol, color: i.lineSymbol?.color }), e.markerSymbol && (i.markerSymbol = {
|
|
924
1060
|
...e.markerSymbol,
|
|
925
|
-
color:
|
|
1061
|
+
color: i.markerSymbol?.color
|
|
926
1062
|
});
|
|
927
|
-
},
|
|
928
|
-
const { config: e, seriesIndex:
|
|
1063
|
+
}, Rs = (i) => {
|
|
1064
|
+
const { config: e, seriesIndex: t, layerInfo: a, commonStrings: r } = i, s = e.series?.[t], n = ne(e);
|
|
929
1065
|
let o;
|
|
930
|
-
if (
|
|
931
|
-
o =
|
|
932
|
-
else if (
|
|
933
|
-
const
|
|
934
|
-
|
|
1066
|
+
if (ie(e.series) === w.BarAndLineFromFields)
|
|
1067
|
+
o = r.axisLabels.values;
|
|
1068
|
+
else if (je(n)) {
|
|
1069
|
+
const d = s.query?.outStatistics?.[0]?.onStatisticField;
|
|
1070
|
+
d !== void 0 && d !== Z(a.layer).idField && (o = P(a.layerFieldsInfo, d));
|
|
935
1071
|
} else {
|
|
936
|
-
const
|
|
937
|
-
o =
|
|
938
|
-
queryObject:
|
|
1072
|
+
const d = String(Ee(s)).trim().replace(/'/gu, "");
|
|
1073
|
+
o = Ne({
|
|
1074
|
+
queryObject: a.layer,
|
|
939
1075
|
fieldName: n,
|
|
940
|
-
fieldValue:
|
|
941
|
-
}) ??
|
|
1076
|
+
fieldValue: d ?? ""
|
|
1077
|
+
}) ?? d;
|
|
942
1078
|
}
|
|
943
|
-
return o ??
|
|
944
|
-
},
|
|
945
|
-
if (
|
|
946
|
-
|
|
1079
|
+
return o ?? s.id;
|
|
1080
|
+
}, Ps = (i, e) => {
|
|
1081
|
+
if (Y(e))
|
|
1082
|
+
ni(i, e);
|
|
947
1083
|
else {
|
|
948
1084
|
e.orderOptions ??= {};
|
|
949
|
-
const
|
|
950
|
-
|
|
951
|
-
orderType:
|
|
952
|
-
orderBy: [...
|
|
1085
|
+
const t = e.orderOptions?.data?.orderType;
|
|
1086
|
+
pe(e)[0] === ue.customSort && t === L.Category && (e.orderOptions.data = {
|
|
1087
|
+
orderType: L.Category,
|
|
1088
|
+
orderBy: [...i]
|
|
953
1089
|
});
|
|
954
1090
|
}
|
|
955
|
-
},
|
|
956
|
-
const { config: e, layerInfo:
|
|
1091
|
+
}, ws = async (i) => {
|
|
1092
|
+
const { config: e, layerInfo: t, errorStrings: a } = i, r = U(e), s = Le(e)?.type, n = le(e), o = ie(e.series);
|
|
957
1093
|
let c = [];
|
|
958
|
-
return
|
|
959
|
-
layerInfo:
|
|
1094
|
+
return s === C.CategoryAxisFormat && (o === w.BarAndLineFromFields || r === ce ? c = n.map((d) => P(t?.layerFieldsInfo, d)) : r.trim() !== "" && r !== ce && t !== void 0 && (c = await Ze({
|
|
1095
|
+
layerInfo: t,
|
|
960
1096
|
config: e,
|
|
961
|
-
category:
|
|
962
|
-
errorStrings:
|
|
1097
|
+
category: r,
|
|
1098
|
+
errorStrings: a
|
|
963
1099
|
}))), c;
|
|
964
1100
|
};
|
|
965
|
-
function
|
|
966
|
-
const
|
|
967
|
-
return
|
|
1101
|
+
function oe(i, e, t) {
|
|
1102
|
+
const a = _(i, e, t), r = Et(i), s = ae(i);
|
|
1103
|
+
return a === r || s;
|
|
968
1104
|
}
|
|
969
|
-
function
|
|
970
|
-
const
|
|
971
|
-
config:
|
|
1105
|
+
function He(i, e, t) {
|
|
1106
|
+
const a = ge({
|
|
1107
|
+
config: i,
|
|
972
1108
|
layerInfo: e,
|
|
973
|
-
commonStrings:
|
|
974
|
-
numericFields:
|
|
975
|
-
aggregationType:
|
|
976
|
-
}),
|
|
977
|
-
return
|
|
1109
|
+
commonStrings: t,
|
|
1110
|
+
numericFields: le(i),
|
|
1111
|
+
aggregationType: We(i)
|
|
1112
|
+
}), r = re(1, i), s = ae(i);
|
|
1113
|
+
return a === r || s;
|
|
978
1114
|
}
|
|
979
|
-
function
|
|
980
|
-
const
|
|
981
|
-
return
|
|
1115
|
+
function gi(i, e) {
|
|
1116
|
+
const t = P(e.layerFieldsInfo, U(i)), a = re(0, i), r = ae(i);
|
|
1117
|
+
return t === a || r;
|
|
982
1118
|
}
|
|
983
|
-
function
|
|
984
|
-
return
|
|
1119
|
+
function Ms(i) {
|
|
1120
|
+
return V(i.series[0]) ? i.series[0].binTemporalData ?? !0 : !1;
|
|
985
1121
|
}
|
|
986
|
-
function
|
|
987
|
-
e?.series.forEach((
|
|
988
|
-
(
|
|
989
|
-
unit:
|
|
1122
|
+
function Es(i, e) {
|
|
1123
|
+
e?.series.forEach((t) => {
|
|
1124
|
+
V(t) && (t.binTemporalData = i, i ? t.temporalBinning = {
|
|
1125
|
+
unit: de.Day,
|
|
990
1126
|
size: 0,
|
|
991
|
-
timeAggregationType:
|
|
1127
|
+
timeAggregationType: At.Start,
|
|
992
1128
|
trimIncompleteTimeInterval: !0,
|
|
993
|
-
nullPolicy:
|
|
994
|
-
} : delete
|
|
1129
|
+
nullPolicy: H.Null
|
|
1130
|
+
} : delete t.temporalBinning);
|
|
995
1131
|
});
|
|
996
1132
|
}
|
|
997
1133
|
export {
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1134
|
+
is as $,
|
|
1135
|
+
ws as A,
|
|
1136
|
+
Ps as B,
|
|
1137
|
+
qs as C,
|
|
1138
|
+
Ms as D,
|
|
1139
|
+
Es as E,
|
|
1140
|
+
_ as F,
|
|
1141
|
+
Me as G,
|
|
1142
|
+
si as H,
|
|
1143
|
+
Ji as I,
|
|
1144
|
+
Ts as J,
|
|
1145
|
+
Bs as K,
|
|
1146
|
+
ai as L,
|
|
1147
|
+
es as M,
|
|
1148
|
+
ri as N,
|
|
1149
|
+
ts as O,
|
|
1150
|
+
Cs as P,
|
|
1151
|
+
bs as Q,
|
|
1152
|
+
As as R,
|
|
1153
|
+
vs as S,
|
|
1154
|
+
Ds as T,
|
|
1155
|
+
Ls as U,
|
|
1156
|
+
ks as V,
|
|
1157
|
+
Zt as W,
|
|
1158
|
+
Ns as X,
|
|
1159
|
+
Ki as Y,
|
|
1160
|
+
Zi as Z,
|
|
1161
|
+
ss as _,
|
|
1162
|
+
Hi as a,
|
|
1163
|
+
rs as a0,
|
|
1164
|
+
as as a1,
|
|
1165
|
+
Qi as a2,
|
|
1166
|
+
_i as a3,
|
|
1167
|
+
Gi as a4,
|
|
1168
|
+
zi as a5,
|
|
1169
|
+
os as a6,
|
|
1170
|
+
us as a7,
|
|
1171
|
+
cs as a8,
|
|
1172
|
+
ds as a9,
|
|
1173
|
+
ls as aa,
|
|
1174
|
+
ns as ab,
|
|
1175
|
+
ys as ac,
|
|
1176
|
+
li as ad,
|
|
1177
|
+
ms as ae,
|
|
1178
|
+
ps as af,
|
|
1179
|
+
gs as ag,
|
|
1180
|
+
fs as ah,
|
|
1181
|
+
Ss as ai,
|
|
1182
|
+
Fs as aj,
|
|
1183
|
+
Vs as ak,
|
|
1184
|
+
Is as al,
|
|
1185
|
+
xs as am,
|
|
1186
|
+
hs as an,
|
|
1187
|
+
Wi as b,
|
|
1188
|
+
$i as c,
|
|
1189
|
+
le as d,
|
|
1190
|
+
ne as e,
|
|
1191
|
+
ji as f,
|
|
1192
|
+
We as g,
|
|
1193
|
+
Rs as h,
|
|
1194
|
+
Xi as i,
|
|
1195
|
+
Oi as j,
|
|
1196
|
+
$t as k,
|
|
1197
|
+
Wt as l,
|
|
1198
|
+
wi as m,
|
|
1199
|
+
qi as n,
|
|
1200
|
+
Mi as o,
|
|
1201
|
+
Ui as p,
|
|
1202
|
+
Ri as q,
|
|
1203
|
+
_t as r,
|
|
1204
|
+
we as s,
|
|
1205
|
+
Ei as t,
|
|
1206
|
+
Yi as u,
|
|
1207
|
+
Pi as v,
|
|
1208
|
+
Yt as w,
|
|
1209
|
+
Ht as x,
|
|
1210
|
+
Os as y,
|
|
1211
|
+
pe as z
|
|
1073
1212
|
};
|