@arcgis/charts-components 6.0.0-next.4 → 6.0.0-next.41
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/2CMGEGOB.js +2 -0
- package/dist/cdn/{WKF53DYD.js → 2JY4BULO.js} +1 -1
- package/dist/cdn/2NLUPVHC.js +2 -0
- package/dist/cdn/{OYUTQX4U.js → 2POSDCZH.js} +1 -1
- package/dist/cdn/2V6RDUQ4.js +2 -0
- package/dist/cdn/2XLWTT5J.js +2 -0
- package/dist/cdn/{FKES55PK.js → 35MV6UPM.js} +1 -1
- package/dist/cdn/{H5VCT3XP.js → 36MF6B63.js} +1 -1
- package/dist/cdn/3SON5ZPC.js +2 -0
- package/dist/cdn/3T4EFKYY.js +2 -0
- package/dist/cdn/5HGXAW7L.js +2 -0
- package/dist/cdn/632TROA6.js +2 -0
- package/dist/cdn/6FZRG4EO.js +2 -0
- package/dist/cdn/77J6TCGN.js +2 -0
- package/dist/cdn/{LPLMRI3E.js → 7BGIK4OA.js} +1 -1
- package/dist/cdn/7KZBWHVH.js +2 -0
- package/dist/cdn/ABAVANHR.js +2 -0
- package/dist/cdn/ACTB6ZBK.js +2 -0
- package/dist/cdn/AIJWEEVP.js +2 -0
- package/dist/cdn/AYTSMVNG.js +2 -0
- package/dist/cdn/B4M6AGX7.js +2 -0
- package/dist/cdn/BIBYAKIS.js +4 -0
- package/dist/cdn/BUQ5MOP3.js +2 -0
- package/dist/cdn/{PQ3XCNCP.js → CBVIPAP3.js} +1 -1
- package/dist/cdn/{CLCHZMZ5.js → CMQLHBQN.js} +1 -1
- package/dist/cdn/D3DZ7A7U.js +2 -0
- package/dist/cdn/{OTV3YYDU.js → DCUEO36P.js} +1 -1
- package/dist/cdn/{OZSHGMU6.js → DH3CD2VT.js} +1 -1
- package/dist/cdn/DPWHTNBE.js +2 -0
- package/dist/cdn/DRSKZGA5.js +2 -0
- package/dist/cdn/EMAAJMBF.js +2 -0
- package/dist/cdn/EOHEGVDJ.js +2 -0
- package/dist/cdn/EYPUS3OS.js +2 -0
- package/dist/cdn/{FM6F6ZYW.js → FKWL3PHQ.js} +1 -1
- package/dist/cdn/FQTWIBKD.js +2 -0
- package/dist/cdn/{732AMNPK.js → G7AMXOVC.js} +1 -1
- package/dist/cdn/GH6LRRWO.js +2 -0
- package/dist/cdn/GLCI3ZBA.js +2 -0
- package/dist/cdn/GSMBQFDI.js +2 -0
- package/dist/cdn/GVAS6PT3.js +2 -0
- package/dist/cdn/{CUMXC4O4.js → H6DQWWRK.js} +1 -1
- package/dist/cdn/HADWVYUW.js +2 -0
- package/dist/cdn/HTLGMV4S.js +2 -0
- package/dist/cdn/I7MZOOIY.js +2 -0
- package/dist/cdn/I7YQ3JCN.js +2 -0
- package/dist/cdn/{V5Z75IQI.js → IEFTCPY3.js} +5 -5
- package/dist/cdn/INDJVCWV.js +2 -0
- package/dist/cdn/{33LWKOPD.js → IWIBZTFJ.js} +1 -1
- package/dist/cdn/J423NIGD.js +4 -0
- package/dist/cdn/J6SK2Z5T.js +2 -0
- package/dist/cdn/{MXTS44AG.js → J6XOSXEE.js} +1 -1
- package/dist/cdn/{GE7CLC6K.js → JOVBNTEF.js} +2 -2
- package/dist/cdn/{FNXREQOE.js → KH3XGJ6Z.js} +1 -1
- package/dist/cdn/KIFYEOUU.js +2 -0
- package/dist/cdn/{27C6PCQ2.js → KISYJDGT.js} +1 -1
- package/dist/cdn/KPX7NHM3.js +2 -0
- package/dist/cdn/LSPD3MG7.js +2 -0
- package/dist/cdn/M3N747C7.js +2 -0
- package/dist/cdn/M5UN3MYY.js +2 -0
- package/dist/cdn/{PIGINE4M.js → M7MSRLEE.js} +1 -1
- package/dist/cdn/ME7EHCPR.js +2 -0
- package/dist/cdn/{QQFMQAJ3.js → MUDUWLYM.js} +1 -1
- package/dist/cdn/{2WQNU554.js → N3IQELQL.js} +1 -1
- package/dist/cdn/NKO2OO5N.js +2 -0
- package/dist/cdn/{6RGTAMGU.js → NWG4Q36V.js} +1 -1
- package/dist/cdn/O5MLVZLK.js +2 -0
- package/dist/cdn/OLCWI4XN.js +2 -0
- package/dist/cdn/{INYMF2BQ.js → PDBNCJTF.js} +1 -1
- package/dist/cdn/PER6C4U2.js +2 -0
- package/dist/cdn/PLEMHP2B.js +2 -0
- package/dist/cdn/PSOSE6LU.js +2 -0
- package/dist/cdn/{563H5HEV.js → Q63KS3AS.js} +1 -1
- package/dist/cdn/QBPDUGAU.js +2 -0
- package/dist/cdn/QD733XNJ.js +2 -0
- package/dist/cdn/QVOSII2D.js +2 -0
- package/dist/cdn/R3UAKAS4.js +2 -0
- package/dist/cdn/RGWPVW43.js +2 -0
- package/dist/cdn/{HMZRDWG2.js → RTKJNT6E.js} +27 -27
- package/dist/cdn/S22VFPC7.js +2 -0
- package/dist/cdn/S6G2OZSX.js +2 -0
- package/dist/cdn/SQHNAWY2.js +2 -0
- package/dist/cdn/SU7RJZNV.js +2 -0
- package/dist/cdn/T2GIGPPW.js +2 -0
- package/dist/cdn/TKKV7KPJ.js +2 -0
- package/dist/cdn/TMXVA27K.js +2 -0
- package/dist/cdn/{S2BGEXZV.js → UK2UPGTC.js} +1 -1
- package/dist/cdn/UNOJKM7H.js +2 -0
- package/dist/cdn/UNRUZFCG.js +2 -0
- package/dist/cdn/UO6RHQGP.js +2 -0
- package/dist/cdn/UQHIV37J.js +2 -0
- package/dist/cdn/VEVROTSG.js +2 -0
- package/dist/cdn/VIID7SQW.js +2 -0
- package/dist/cdn/VKHE2T45.js +2 -0
- package/dist/cdn/VM2DWR75.js +2 -0
- package/dist/cdn/VRB6ZKPF.js +2 -0
- package/dist/cdn/VWX73OUH.js +2 -0
- package/dist/cdn/{KK445MLC.js → W7TD4Z24.js} +1 -1
- package/dist/cdn/WBU6UBT7.js +2 -0
- package/dist/cdn/WBVI4QWE.js +2 -0
- package/dist/cdn/WIT3P7NV.js +2 -0
- package/dist/cdn/WKDTX36G.js +2 -0
- package/dist/cdn/WORMNHOD.js +2 -0
- package/dist/cdn/XE5JJDCZ.js +2 -0
- package/dist/cdn/XTWKVYX3.js +2 -0
- package/dist/cdn/YUUYX57N.js +2 -0
- package/dist/cdn/{VSKK65CP.js → ZYZASO4B.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +7 -16
- package/dist/chunks/action-bar-utils.js +53 -55
- package/dist/chunks/axis-lines-symbol.js +6 -6
- package/dist/chunks/bar-chart-model.js +7 -9
- package/dist/chunks/box-plot-data.js +172 -171
- package/dist/chunks/box-plot-model.js +41 -39
- package/dist/chunks/chart-model.js +18 -20
- package/dist/chunks/chart-ui-utils.js +61 -63
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +5 -5
- package/dist/chunks/combo-bar-line-chart-model.js +15 -16
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +1 -1
- package/dist/chunks/data.js +51 -53
- package/dist/chunks/gauge-model.js +66 -66
- package/dist/chunks/generate-x-axis-title.js +17 -17
- package/dist/chunks/heat-chart-model.js +20 -21
- package/dist/chunks/histogram-data.js +41 -42
- package/dist/chunks/histogram-model.js +5 -5
- package/dist/chunks/index.js +5432 -4273
- package/dist/chunks/index2.js +1165 -871
- package/dist/chunks/index3.js +10987 -1173
- package/dist/chunks/index4.js +54 -11086
- package/dist/chunks/line-chart-model.js +19 -20
- package/dist/chunks/model-setter.js +6 -6
- package/dist/chunks/model-with-x-guides.js +1 -1
- package/dist/chunks/model-with-y-guides.js +25 -25
- package/dist/chunks/negative-values-stacked-to-baseline.js +6 -6
- package/dist/chunks/pie-chart-data.js +25 -27
- package/dist/chunks/pie-chart-model.js +166 -165
- package/dist/chunks/radar-chart-model.js +7 -8
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +5 -41
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +6 -6
- package/dist/chunks/scatterplot-model.js +75 -76
- package/dist/chunks/serial-chart-data.js +512 -517
- package/dist/chunks/serial-chart-model.js +64 -61
- package/dist/chunks/series-length.js +14 -14
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +109 -55
- package/dist/chunks/utils.js +146 -212
- package/dist/chunks/web-component-utils.js +70 -71
- package/dist/chunks/x-bounds.js +32 -33
- package/dist/components/arcgis-chart/customElement.d.ts +79 -72
- package/dist/components/arcgis-chart/customElement.js +8482 -8273
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +1 -176
- package/dist/components/arcgis-charts-action-bar/customElement.js +82 -79
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +18 -18
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +63 -58
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +0 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +51 -45
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +115 -113
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +0 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +61 -54
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +186 -185
- package/dist/components/arcgis-charts-config-font-style/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-format/customElement.js +96 -95
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +51 -50
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +13 -14
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +32 -33
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +35 -32
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +8 -9
- 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 +21 -22
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +0 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +7 -8
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +48 -43
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +38 -34
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +21 -22
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +9 -10
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +20 -24
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +81 -81
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +3 -4
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +21 -25
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +20 -21
- package/dist/components/arcgis-charts-info-modal/customElement.js +4 -4
- 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 +1 -1
- package/dist/index.js +400 -411
- package/dist/interfaces.d.ts +1 -15
- package/dist/json-schema/index.d.ts +38 -68
- package/dist/loader.js +7 -7
- package/dist/model/box-plot-model/box-plot-model.d.ts +6 -2
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +1 -1
- package/dist/model/mixins/model-with-multi-axes.d.ts +53 -2
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -2
- package/dist/model/properties/layer.d.ts +2 -2
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +6 -2
- package/dist/spec/rest-js-object-literals.d.ts +0 -66
- package/dist/spec/rest-js-types.d.ts +1 -5
- package/dist/spec/web-chart.d.ts +2 -2
- package/dist/types/lumina.d.ts +4 -2
- package/dist/types/preact.d.ts +4 -2
- package/dist/types/react.d.ts +4 -2
- package/dist/types/stencil.d.ts +4 -2
- package/dist/utils/chart-config/converter/index.js +97 -99
- package/dist/utils/chart-config/utils/index.d.ts +10 -3
- package/dist/utils/components/interfaces.d.ts +7 -0
- package/dist/utils/data/categorical-data/index.d.ts +1 -0
- package/dist/utils/layer/index.d.ts +6 -6
- package/dist/utils/layer/interfaces.d.ts +13 -3
- package/dist/utils/layer/query-parser/index.d.ts +2 -2
- package/dist/utils/layer/utils/index.d.ts +6 -18
- package/dist/utils/misc/index.d.ts +4 -4
- package/dist/utils/types/index.d.ts +0 -35
- package/package.json +8 -8
- package/dist/cdn/23NH4HLE.js +0 -2
- package/dist/cdn/2DRKIHTI.js +0 -2
- package/dist/cdn/2E3WHSEW.js +0 -2
- package/dist/cdn/2RG5JCBW.js +0 -3
- package/dist/cdn/2X2QOEKX.js +0 -2
- package/dist/cdn/37WXQO5B.js +0 -2
- package/dist/cdn/3INTJJ4X.js +0 -2
- package/dist/cdn/3RJNZA24.js +0 -2
- package/dist/cdn/4CU5D5WQ.js +0 -2
- package/dist/cdn/4WQUPC2P.js +0 -2
- package/dist/cdn/5DAVFUDX.js +0 -2
- package/dist/cdn/5VCTFSTZ.js +0 -2
- package/dist/cdn/5XGX5QH2.js +0 -2
- package/dist/cdn/6XH6ZRHO.js +0 -2
- package/dist/cdn/7WD2VKG4.js +0 -2
- package/dist/cdn/7YN565O4.js +0 -2
- package/dist/cdn/A2BFOCSN.js +0 -2
- package/dist/cdn/A5TI5TEO.js +0 -2
- package/dist/cdn/AHB4IS7P.js +0 -2
- package/dist/cdn/B6ADEFC7.js +0 -2
- package/dist/cdn/B6APNE72.js +0 -3
- package/dist/cdn/BDIRQUQE.js +0 -2
- package/dist/cdn/BWZA3447.js +0 -2
- package/dist/cdn/BZTSUXUT.js +0 -2
- package/dist/cdn/CFACTMRG.js +0 -2
- package/dist/cdn/D2LNPCIA.js +0 -2
- package/dist/cdn/D6WQTOUC.js +0 -2
- package/dist/cdn/DTSX7SEI.js +0 -2
- package/dist/cdn/EPFEFHM2.js +0 -2
- package/dist/cdn/EW2P4QSN.js +0 -2
- package/dist/cdn/GDJDA5MG.js +0 -2
- package/dist/cdn/GEPIPU4G.js +0 -2
- package/dist/cdn/GSCC3FON.js +0 -2
- package/dist/cdn/GXYGXB4U.js +0 -2
- package/dist/cdn/IEOIKLLK.js +0 -2
- package/dist/cdn/ISSUAEJS.js +0 -2
- package/dist/cdn/KJNBURYA.js +0 -2
- package/dist/cdn/L3AKSDIB.js +0 -2
- package/dist/cdn/L5MTHGFZ.js +0 -2
- package/dist/cdn/LHLPK6TU.js +0 -2
- package/dist/cdn/LXFY54NF.js +0 -2
- package/dist/cdn/MJUCIYQN.js +0 -2
- package/dist/cdn/NGBBNBA7.js +0 -2
- package/dist/cdn/NIZC75X3.js +0 -2
- package/dist/cdn/OBKDR3MU.js +0 -2
- package/dist/cdn/OQKL344Q.js +0 -2
- package/dist/cdn/OZSOICXE.js +0 -2
- package/dist/cdn/PBQRZBQM.js +0 -2
- package/dist/cdn/PT66VVXN.js +0 -2
- package/dist/cdn/QOENPUSD.js +0 -2
- package/dist/cdn/QPVBVDRP.js +0 -2
- package/dist/cdn/RGMPFNUN.js +0 -2
- package/dist/cdn/RGSJ3JFI.js +0 -2
- package/dist/cdn/RVHNFMTN.js +0 -2
- package/dist/cdn/RVQPEB4W.js +0 -2
- package/dist/cdn/RXTO6RE2.js +0 -2
- package/dist/cdn/SCEFJRON.js +0 -2
- package/dist/cdn/SEILP6QP.js +0 -2
- package/dist/cdn/SKI5Z6UH.js +0 -2
- package/dist/cdn/SSEWUPML.js +0 -2
- package/dist/cdn/TCE6PLHN.js +0 -2
- package/dist/cdn/TOCU6UKM.js +0 -2
- package/dist/cdn/TSASF4ZC.js +0 -2
- package/dist/cdn/UDAJILEU.js +0 -2
- package/dist/cdn/UZOYADSB.js +0 -2
- package/dist/cdn/W2PTHYOT.js +0 -2
- package/dist/cdn/W53DMMGZ.js +0 -2
- package/dist/cdn/WAQJ7V62.js +0 -2
- package/dist/cdn/WEPXOYBS.js +0 -2
- package/dist/cdn/WLPUBXN7.js +0 -2
- package/dist/cdn/XPCXTKEY.js +0 -2
- package/dist/cdn/Y2S7EWZR.js +0 -2
- package/dist/cdn/YF6ML4P6.js +0 -4
- package/dist/cdn/YGLBPPXP.js +0 -2
- package/dist/cdn/YWUNLBCQ.js +0 -2
- package/dist/cdn/YYTAWATK.js +0 -2
- package/dist/cdn/ZDQWMMOA.js +0 -2
- package/dist/cdn/ZFHMGE36.js +0 -2
- package/dist/cdn/ZGNJFT7B.js +0 -2
- package/dist/cdn/ZMVIOIBB.js +0 -2
- package/dist/cdn/ZTHSDPEH.js +0 -2
- package/dist/chunks/index5.js +0 -69
- package/dist/chunks/type-guards2.js +0 -113
- package/dist/chunks/utils2.js +0 -63
- /package/dist/cdn/{XFEWDUTX.js → 2PUVZIJ6.js} +0 -0
- /package/dist/cdn/{UHSL7Y3B.js → 33NEGHM6.js} +0 -0
- /package/dist/cdn/{6FW2SXLC.js → 55OFHBXV.js} +0 -0
- /package/dist/cdn/{SMHUUBEU.js → 5OSVKP4N.js} +0 -0
- /package/dist/cdn/{VITUV4HV.js → 5QLZ66AU.js} +0 -0
- /package/dist/cdn/{UQRD2CTK.js → 5SOADBYD.js} +0 -0
- /package/dist/cdn/{55DRYT5X.js → 5ZZZKI7V.js} +0 -0
- /package/dist/cdn/{5ANJA54O.js → 6IIBIZJH.js} +0 -0
- /package/dist/cdn/{QLBO3URO.js → 6QY2OFUO.js} +0 -0
- /package/dist/cdn/{UITA7CSN.js → 7AWJIBMG.js} +0 -0
- /package/dist/cdn/{373UZR4I.js → 7N2LSD5J.js} +0 -0
- /package/dist/cdn/{SCS4MWFN.js → A6DV5ILW.js} +0 -0
- /package/dist/cdn/{VT3NOR5A.js → BGHJMVNV.js} +0 -0
- /package/dist/cdn/{L4KDCWA7.js → BGVIOGAX.js} +0 -0
- /package/dist/cdn/{Z2IHEWWP.js → CYZPIC2B.js} +0 -0
- /package/dist/cdn/{AVRIN2FL.js → CZKZMSFJ.js} +0 -0
- /package/dist/cdn/{WMGJN3JL.js → D66GTKJ7.js} +0 -0
- /package/dist/cdn/{XR7RCGIT.js → DJGQM3EK.js} +0 -0
- /package/dist/cdn/{PQESGESY.js → FOHR4IFG.js} +0 -0
- /package/dist/cdn/{3DDSV3IF.js → GOVIUHKT.js} +0 -0
- /package/dist/cdn/{KE7XE22Z.js → H44RQIWN.js} +0 -0
- /package/dist/cdn/{W7VPVF72.js → HJUHYEJT.js} +0 -0
- /package/dist/cdn/{57RWTLRG.js → HL6ANDJH.js} +0 -0
- /package/dist/cdn/{HUU3QFFC.js → IDVYAUPY.js} +0 -0
- /package/dist/cdn/{XIE5EUIH.js → IQSNWDU6.js} +0 -0
- /package/dist/cdn/{K43DVQFC.js → JE32QM44.js} +0 -0
- /package/dist/cdn/{52PHJCYM.js → JETTF7E2.js} +0 -0
- /package/dist/cdn/{L26HYK34.js → JSOFN65T.js} +0 -0
- /package/dist/cdn/{LE3B3ATZ.js → KMZIRJIR.js} +0 -0
- /package/dist/cdn/{XUSFQDK4.js → KQ36C2RK.js} +0 -0
- /package/dist/cdn/{O6GVF76X.js → KRRYFLG4.js} +0 -0
- /package/dist/cdn/{4MSDOPVE.js → M4AD4UJU.js} +0 -0
- /package/dist/cdn/{2BPLDZAJ.js → NUH2GAPZ.js} +0 -0
- /package/dist/cdn/{Q4H5YVTW.js → OWEVDN6C.js} +0 -0
- /package/dist/cdn/{GCUOASRZ.js → QCFAV626.js} +0 -0
- /package/dist/cdn/{R4PFJLD2.js → QMBHZ5JE.js} +0 -0
- /package/dist/cdn/{J5VMBGYI.js → SWHSL245.js} +0 -0
- /package/dist/cdn/{C7VQM4TH.js → T7LKXFIZ.js} +0 -0
- /package/dist/cdn/{KCP6AJV7.js → XQTLPFTW.js} +0 -0
- /package/dist/cdn/{3VZK52LO.js → Z5DYKSTK.js} +0 -0
|
@@ -1,42 +1,39 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
2
|
import { substitute as M } from "@arcgis/core/intl.js";
|
|
3
|
-
import { cloneDeep as te, memoize as
|
|
3
|
+
import { cloneDeep as te, memoize as We, isEmpty as Ue, isEqual as je } from "es-toolkit/compat";
|
|
4
4
|
import { S as ce } from "./common.js";
|
|
5
|
-
import {
|
|
6
|
-
import { u as $, s as Ve,
|
|
7
|
-
import { a as
|
|
8
|
-
import { a as x, d as I, f as
|
|
9
|
-
import { d as Re, b as
|
|
10
|
-
import { i as
|
|
11
|
-
import { q as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
|
|
17
|
-
import { g as re } from "./utils2.js";
|
|
18
|
-
import { b as Et, g as Mt } from "./series-length.js";
|
|
19
|
-
const ki = (i) => {
|
|
5
|
+
import { ab as L, b8 as H, bK as Ke, cn as Ze, l as ue, c5 as _e, co as Qe, cb as Ne, g as ze, r as ie, a8 as Ge, a7 as Je, cp as et, y as w, _ as ge, bl as tt, cq as it, Z as st, v as at, cr as rt, b5 as nt, a0 as ot, cs as lt, ae as ct, b$ as ut, ct as dt, cu as Se, cv as yt, cw as mt, cx as gt, C as Fe, $ as pt, cy as he, cz as _, x as k, cA as ft, b6 as q, bk as Q, Y as St, u as j, ai as Oe, cB as Y, c7 as U, cC as Ft, cD as ht, cE as Tt, cF as O, cG as V, cH as Te, cI as xt, ca as xe } from "./index.js";
|
|
6
|
+
import { g as se, u as $, s as Ve, a as pe, b as qe, c as Bt, d as z, e as Be } from "./utils.js";
|
|
7
|
+
import { a as P, s as fe, g as ae, b as Ce, c as Ct } from "./data.js";
|
|
8
|
+
import { a as x, d as I, f as At, l as R, t as N, h as X, g as bt, b as vt, e as de } from "./chart-object-literals.js";
|
|
9
|
+
import { d as Re, b as It } from "./rest-js-object-literals.js";
|
|
10
|
+
import { i as re } from "./index3.js";
|
|
11
|
+
import { q as Lt, I as G, _ as J, $ as ye, J as Dt, a0 as Nt, a1 as Ot, a2 as Vt, a3 as qt, k as Rt } from "./index2.js";
|
|
12
|
+
import { g as ke, s as kt } from "./series-types.js";
|
|
13
|
+
import { C as wt, m as Pt } from "./model-setter.js";
|
|
14
|
+
import { convertChartSpec as Et } from "../utils/chart-config/converter/index.js";
|
|
15
|
+
import { b as Mt, g as Yt } from "./series-length.js";
|
|
16
|
+
const qi = (i) => {
|
|
20
17
|
let e;
|
|
21
18
|
const t = i.series[0];
|
|
22
19
|
return L(t) && (e = t.temporalBinning?.size), e;
|
|
23
|
-
},
|
|
20
|
+
}, $t = (i) => {
|
|
24
21
|
let e;
|
|
25
22
|
const t = i.series[0];
|
|
26
23
|
return L(t) && (e = t.temporalBinning?.unit), e;
|
|
27
|
-
},
|
|
24
|
+
}, Ri = (i) => {
|
|
28
25
|
let e;
|
|
29
26
|
const t = i.series[0];
|
|
30
27
|
return L(t) && (e = t.temporalBinning?.timeAggregationType), e;
|
|
31
|
-
},
|
|
28
|
+
}, ki = (i) => {
|
|
32
29
|
let e;
|
|
33
30
|
const t = i.series[0];
|
|
34
31
|
return L(t) && (e = t.temporalBinning?.trimIncompleteTimeInterval), e;
|
|
35
|
-
},
|
|
32
|
+
}, wi = (i) => {
|
|
36
33
|
let e;
|
|
37
34
|
const t = i.series[0];
|
|
38
35
|
return L(t) && (e = t.temporalBinning?.nullPolicy), e;
|
|
39
|
-
},
|
|
36
|
+
}, Ht = (i, e) => {
|
|
40
37
|
e?.series?.forEach((t) => {
|
|
41
38
|
L(t) && (t.temporalBinning ??= {}, t.temporalBinning.size = i);
|
|
42
39
|
});
|
|
@@ -44,38 +41,38 @@ const ki = (i) => {
|
|
|
44
41
|
e?.series?.forEach((t) => {
|
|
45
42
|
L(t) && (t.temporalBinning ??= {}, t.temporalBinning.nullPolicy = i);
|
|
46
43
|
});
|
|
47
|
-
},
|
|
44
|
+
}, Pi = (i, e) => {
|
|
48
45
|
e.series?.forEach((t) => {
|
|
49
46
|
L(t) && (t.temporalBinning ??= {}, t.temporalBinning.unit = i);
|
|
50
47
|
});
|
|
51
|
-
},
|
|
48
|
+
}, Ei = (i, e) => {
|
|
52
49
|
e.series?.forEach((t) => {
|
|
53
50
|
L(t) && (t.temporalBinning ??= {}, t.temporalBinning.timeAggregationType = i);
|
|
54
51
|
});
|
|
55
|
-
},
|
|
52
|
+
}, Mi = (i, e) => {
|
|
56
53
|
e.series?.forEach((t) => {
|
|
57
54
|
L(t) && (t.temporalBinning ??= {}, t.temporalBinning.trimIncompleteTimeInterval = i);
|
|
58
55
|
});
|
|
59
56
|
}, Wt = (i) => {
|
|
60
|
-
|
|
57
|
+
Ht(0, i);
|
|
61
58
|
};
|
|
62
|
-
var
|
|
63
|
-
for (var s =
|
|
64
|
-
(n = i[
|
|
65
|
-
return s &&
|
|
59
|
+
var Ut = Object.defineProperty, jt = Object.getOwnPropertyDescriptor, Kt = (i, e, t, r) => {
|
|
60
|
+
for (var s = jt(e, t), a = i.length - 1, n; a >= 0; a--)
|
|
61
|
+
(n = i[a]) && (s = n(e, t, s) || s);
|
|
62
|
+
return s && Ut(e, t, s), s;
|
|
66
63
|
};
|
|
67
64
|
const Zt = (i) => {
|
|
68
65
|
let e;
|
|
69
|
-
return
|
|
66
|
+
return H(i) ? e = i.outTimeZone : i?.series.forEach((t) => {
|
|
70
67
|
(t.type === x.BarSeries || t.type === x.RadarSeries || t.type === x.LineSeries) && t.temporalBinning && (e = t.temporalBinning.outTimeZone);
|
|
71
68
|
}), e || (e = i?.axes?.[0]?.valueFormat.type === x.DateAxisFormat ? i.axes[0].valueFormat.intlOptions.timeZone : void 0), e;
|
|
72
|
-
},
|
|
73
|
-
const t =
|
|
74
|
-
|
|
75
|
-
(
|
|
69
|
+
}, we = (i, e) => {
|
|
70
|
+
const t = Ke(i);
|
|
71
|
+
H(e) ? i ? e.outTimeZone = t : delete e.outTimeZone : e?.series.forEach((r) => {
|
|
72
|
+
(r.type === x.BarSeries || r.type === x.RadarSeries || r.type === x.LineSeries) && (i ? (r.temporalBinning ??= {}, r.temporalBinning.outTimeZone = t) : r.temporalBinning && delete r.temporalBinning.outTimeZone);
|
|
76
73
|
}), e?.axes?.[0]?.valueFormat.type === x.DateAxisFormat && (i ? e.axes[0].valueFormat.intlOptions.timeZone = t : delete e.axes[0].valueFormat.intlOptions.timeZone);
|
|
77
74
|
};
|
|
78
|
-
class
|
|
75
|
+
class _t extends wt {
|
|
79
76
|
/**
|
|
80
77
|
* Gets the time zone for the chart.
|
|
81
78
|
*/
|
|
@@ -83,87 +80,83 @@ class Kt extends Rt {
|
|
|
83
80
|
return Zt(this._config);
|
|
84
81
|
}
|
|
85
82
|
set timeZone(e) {
|
|
86
|
-
|
|
83
|
+
we(e, this._config), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
87
84
|
}
|
|
88
85
|
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
],
|
|
92
|
-
function
|
|
93
|
-
let t;
|
|
94
|
-
return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.position = i)), t;
|
|
95
|
-
}
|
|
96
|
-
function Wi(i, e) {
|
|
86
|
+
Kt([
|
|
87
|
+
Pt
|
|
88
|
+
], _t.prototype, "timeZone");
|
|
89
|
+
function Yi(i, e) {
|
|
97
90
|
let t;
|
|
98
91
|
return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.visible = i)), t;
|
|
99
92
|
}
|
|
100
|
-
function
|
|
93
|
+
function $i(i, e) {
|
|
101
94
|
let t;
|
|
102
95
|
return e !== void 0 && (t = { ...e, rotated: i }), t;
|
|
103
96
|
}
|
|
104
|
-
function
|
|
97
|
+
function Qt(i) {
|
|
105
98
|
let e;
|
|
106
99
|
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;
|
|
107
100
|
}
|
|
108
|
-
function
|
|
101
|
+
function Hi(i, e) {
|
|
109
102
|
return e != null || Ne(i);
|
|
110
103
|
}
|
|
111
|
-
async function
|
|
112
|
-
const { config: e, layer: t, abortSignal:
|
|
104
|
+
async function Xi(i) {
|
|
105
|
+
const { config: e, layer: t, abortSignal: r } = i;
|
|
113
106
|
let s = !1;
|
|
114
|
-
return
|
|
107
|
+
return ue(t) || _e(e) ? e && ue(t) && (s = await Qe({ config: e, layer: t, abortSignal: r })) : s = !0, s;
|
|
115
108
|
}
|
|
116
|
-
async function
|
|
109
|
+
async function zt(i) {
|
|
117
110
|
const {
|
|
118
111
|
queryObject: e,
|
|
119
112
|
chartConfig: t,
|
|
120
|
-
splitByField:
|
|
113
|
+
splitByField: r,
|
|
121
114
|
errorStrings: s,
|
|
122
|
-
abortSignal:
|
|
115
|
+
abortSignal: a,
|
|
123
116
|
runtimeDataFilters: n,
|
|
124
117
|
ignoreViewExtent: o,
|
|
125
|
-
setTimeBinningInfoWhenNotProvided:
|
|
126
|
-
returnFeaturesExtent:
|
|
127
|
-
returnStatisticsAggregatedIds:
|
|
118
|
+
setTimeBinningInfoWhenNotProvided: c,
|
|
119
|
+
returnFeaturesExtent: l,
|
|
120
|
+
returnStatisticsAggregatedIds: m,
|
|
128
121
|
chartLimits: f
|
|
129
122
|
} = i;
|
|
130
123
|
let p = [], u;
|
|
131
|
-
const d = te(t), y = d.series[0],
|
|
124
|
+
const d = te(t), y = d.series[0], g = lt({
|
|
132
125
|
queryObject: e,
|
|
133
126
|
chartConfig: d,
|
|
134
127
|
runtimeDataFilters: n,
|
|
135
128
|
ignoreViewExtent: o
|
|
136
129
|
});
|
|
137
|
-
if (
|
|
138
|
-
xAxisValueFormatType:
|
|
139
|
-
setTimeBinningInfoWhenNotProvided:
|
|
130
|
+
if (g.outStatistics?.[0]?.outStatisticFieldName && (g.outStatistics[0].outStatisticFieldName = Lt.outStatistics.outStatisticFieldName), L(y) && ct({
|
|
131
|
+
xAxisValueFormatType: ut(d),
|
|
132
|
+
setTimeBinningInfoWhenNotProvided: c,
|
|
140
133
|
seriesConfig: y,
|
|
141
134
|
queryObject: e
|
|
142
|
-
}) &&
|
|
135
|
+
}) && dt(r, e)) {
|
|
143
136
|
const { temporalBinning: F, x: S } = y, { uniqueQuery: h } = Se({
|
|
144
137
|
chartConfig: d,
|
|
145
|
-
queryConfig:
|
|
138
|
+
queryConfig: g,
|
|
146
139
|
queryObject: e,
|
|
147
|
-
setTimeBinningInfoWhenNotProvided:
|
|
148
|
-
returnFeaturesExtent:
|
|
140
|
+
setTimeBinningInfoWhenNotProvided: c,
|
|
141
|
+
returnFeaturesExtent: l,
|
|
149
142
|
chartLimits: f
|
|
150
|
-
}),
|
|
151
|
-
u = await
|
|
143
|
+
}), A = t.axes?.[0].valueFormat.type === x.DateAxisFormat ? t.axes[0].valueFormat.intlOptions.timeZone : void 0;
|
|
144
|
+
u = await yt({
|
|
152
145
|
queryObject: e,
|
|
153
146
|
dateField: S,
|
|
154
|
-
splitByField:
|
|
147
|
+
splitByField: r,
|
|
155
148
|
queryConfig: h,
|
|
156
|
-
axisTimeZone:
|
|
149
|
+
axisTimeZone: A,
|
|
157
150
|
temporalBinning: F,
|
|
158
|
-
returnStatisticsAggregatedIds:
|
|
151
|
+
returnStatisticsAggregatedIds: m,
|
|
159
152
|
errorStrings: s,
|
|
160
|
-
abortSignal:
|
|
153
|
+
abortSignal: a
|
|
161
154
|
}), p = Array.from(
|
|
162
155
|
new Set(
|
|
163
|
-
u.flatMap((
|
|
164
|
-
const { stackedAttributes: T } =
|
|
165
|
-
let
|
|
166
|
-
return T && (
|
|
156
|
+
u.flatMap((B) => {
|
|
157
|
+
const { stackedAttributes: T } = B;
|
|
158
|
+
let b = [];
|
|
159
|
+
return T && (b = T.map((v) => v[r]).filter((v) => v !== void 0)), b;
|
|
167
160
|
})
|
|
168
161
|
).values()
|
|
169
162
|
);
|
|
@@ -171,38 +164,38 @@ async function Qt(i) {
|
|
|
171
164
|
const { uniqueQuery: F } = Se({
|
|
172
165
|
chartConfig: d,
|
|
173
166
|
queryObject: e,
|
|
174
|
-
queryConfig:
|
|
175
|
-
setTimeBinningInfoWhenNotProvided:
|
|
176
|
-
returnFeaturesExtent:
|
|
167
|
+
queryConfig: g,
|
|
168
|
+
setTimeBinningInfoWhenNotProvided: c,
|
|
169
|
+
returnFeaturesExtent: l,
|
|
177
170
|
chartLimits: f
|
|
178
|
-
}), { elementCount: S } = await
|
|
171
|
+
}), { elementCount: S } = await mt({
|
|
179
172
|
chartConfig: d,
|
|
180
173
|
queryObject: e,
|
|
181
|
-
queryConfig:
|
|
174
|
+
queryConfig: g,
|
|
182
175
|
behaviorAfterLimit: f?.behaviorAfterLimit,
|
|
183
176
|
numberMaxOfFeaturesToFetch: F.num,
|
|
184
|
-
abortSignal:
|
|
177
|
+
abortSignal: a
|
|
185
178
|
});
|
|
186
|
-
u = await
|
|
179
|
+
u = await gt({
|
|
187
180
|
queryObject: e,
|
|
188
181
|
queryConfig: F,
|
|
189
182
|
featureCount: S,
|
|
190
|
-
returnStatisticsAggregatedIds:
|
|
183
|
+
returnStatisticsAggregatedIds: m,
|
|
191
184
|
errorStrings: s,
|
|
192
|
-
abortSignal:
|
|
185
|
+
abortSignal: a
|
|
193
186
|
}), p = Array.from(
|
|
194
187
|
new Set(
|
|
195
|
-
u.map((h) => h.attributes[
|
|
188
|
+
u.map((h) => h.attributes[r]).filter((h) => h !== void 0)
|
|
196
189
|
).values()
|
|
197
190
|
);
|
|
198
191
|
}
|
|
199
192
|
return { allValues: p, preFetchedQueryResponse: u };
|
|
200
193
|
}
|
|
201
|
-
function
|
|
194
|
+
function Gt(i, e) {
|
|
202
195
|
const t = /* @__PURE__ */ new Map();
|
|
203
|
-
return i.series.forEach((
|
|
196
|
+
return i.series.forEach((r) => {
|
|
204
197
|
let s = ge({
|
|
205
|
-
where:
|
|
198
|
+
where: r.query?.where,
|
|
206
199
|
// normalize the value so it matches what we get from getAllValues()
|
|
207
200
|
// Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8127
|
|
208
201
|
normalize: !0,
|
|
@@ -211,87 +204,87 @@ function zt(i, e) {
|
|
|
211
204
|
escape: !1
|
|
212
205
|
});
|
|
213
206
|
e && s !== null && (s = Number(s));
|
|
214
|
-
const
|
|
215
|
-
|
|
216
|
-
...t.get(
|
|
207
|
+
const a = ke([r]);
|
|
208
|
+
a !== void 0 && t.set(a, [
|
|
209
|
+
...t.get(a) ?? [],
|
|
217
210
|
s
|
|
218
211
|
]);
|
|
219
212
|
}), t;
|
|
220
213
|
}
|
|
221
|
-
function
|
|
222
|
-
const { allValues: e, configUniqueValuesPerSeriesType: t, initialConfigWasEmpty:
|
|
223
|
-
return Array.from(t.keys()).forEach((
|
|
224
|
-
const n = t.get(
|
|
214
|
+
function Jt(i) {
|
|
215
|
+
const { allValues: e, configUniqueValuesPerSeriesType: t, initialConfigWasEmpty: r } = i, s = /* @__PURE__ */ new Map();
|
|
216
|
+
return Array.from(t.keys()).forEach((a) => {
|
|
217
|
+
const n = t.get(a) ?? [];
|
|
225
218
|
let o = [];
|
|
226
|
-
|
|
227
|
-
n.includes(
|
|
228
|
-
}), s.set(
|
|
219
|
+
r ? o = e : e.forEach((c) => {
|
|
220
|
+
n.includes(c) || o.push(c);
|
|
221
|
+
}), s.set(a, o);
|
|
229
222
|
}), s;
|
|
230
223
|
}
|
|
231
|
-
function
|
|
232
|
-
const { chartConfig: e, missingValue: t, splitByField:
|
|
224
|
+
function ei(i) {
|
|
225
|
+
const { chartConfig: e, missingValue: t, splitByField: r, seriesTemplate: s } = i, a = JSON.parse(
|
|
233
226
|
JSON.stringify({
|
|
234
227
|
...e.series[0],
|
|
235
228
|
...s
|
|
236
229
|
})
|
|
237
230
|
);
|
|
238
|
-
if (
|
|
239
|
-
if (t === null ?
|
|
240
|
-
const o =
|
|
241
|
-
|
|
231
|
+
if (a.query) {
|
|
232
|
+
if (t === null ? a.id = Fe.nullValue : t === "" ? a.id = Fe.emptyStringValue : a.id = `${t}`, a.name = `${t}`, a.query.outStatistics?.[0] !== void 0) {
|
|
233
|
+
const o = a.id;
|
|
234
|
+
a.query.outStatistics[0].outStatisticFieldName = o, "y" in a && (a.y = o);
|
|
242
235
|
}
|
|
243
236
|
const n = typeof t == "number" || t === null ? t : `'${t}'`;
|
|
244
|
-
|
|
237
|
+
a.query.where = `${r}=${n}`;
|
|
245
238
|
}
|
|
246
|
-
return
|
|
239
|
+
return a;
|
|
247
240
|
}
|
|
248
|
-
async function
|
|
241
|
+
async function ti(i) {
|
|
249
242
|
const {
|
|
250
243
|
updateSplitBySeries: e,
|
|
251
244
|
config: t,
|
|
252
|
-
queryObject:
|
|
245
|
+
queryObject: r,
|
|
253
246
|
errorStrings: s,
|
|
254
|
-
abortSignal:
|
|
247
|
+
abortSignal: a,
|
|
255
248
|
runtimeDataFilters: n,
|
|
256
249
|
ignoreViewExtent: o,
|
|
257
|
-
setTimeBinningInfoWhenNotProvided:
|
|
258
|
-
returnFeaturesExtent:
|
|
259
|
-
returnStatisticsAggregatedIds:
|
|
250
|
+
setTimeBinningInfoWhenNotProvided: c,
|
|
251
|
+
returnFeaturesExtent: l,
|
|
252
|
+
returnStatisticsAggregatedIds: m,
|
|
260
253
|
chartLimits: f
|
|
261
254
|
} = i, { seriesTemplate: p } = e ?? {};
|
|
262
255
|
let u;
|
|
263
|
-
if (
|
|
256
|
+
if (r && !ue(r) && e !== void 0 && t !== void 0 && (t.series.length > 0 || p !== void 0) && e.addMissingSeries) {
|
|
264
257
|
const d = t.series.length === 0;
|
|
265
258
|
t.series.length === 0 && p !== void 0 && t.series.push(p);
|
|
266
259
|
const y = ie(t.series);
|
|
267
|
-
if (y ===
|
|
268
|
-
const
|
|
269
|
-
queryObject:
|
|
260
|
+
if (y === w.BoxPlotC5MonoFieldAndSplitBy || y === w.BoxPlotC6MultiFieldsAndSplitBy || y === w.BoxPlotC7MonoFieldAndCategoryAndSplitBy || y === w.BarAndLineSplitBy || y === w.BarAndLineSplitByNoAggregation) {
|
|
261
|
+
const g = st(t.series[0]?.query?.where), F = at(r), S = rt(g, F), h = S ? nt(S) : !1, A = await zt({
|
|
262
|
+
queryObject: r,
|
|
270
263
|
chartConfig: t,
|
|
271
|
-
splitByField:
|
|
272
|
-
abortSignal:
|
|
264
|
+
splitByField: g,
|
|
265
|
+
abortSignal: a,
|
|
273
266
|
runtimeDataFilters: n,
|
|
274
267
|
ignoreViewExtent: o,
|
|
275
|
-
setTimeBinningInfoWhenNotProvided:
|
|
276
|
-
returnFeaturesExtent:
|
|
277
|
-
returnStatisticsAggregatedIds:
|
|
268
|
+
setTimeBinningInfoWhenNotProvided: c,
|
|
269
|
+
returnFeaturesExtent: l,
|
|
270
|
+
returnStatisticsAggregatedIds: m,
|
|
278
271
|
chartLimits: f,
|
|
279
272
|
errorStrings: s
|
|
280
|
-
}), { allValues:
|
|
281
|
-
if ({ preFetchedQueryResponse: u } =
|
|
282
|
-
const T =
|
|
283
|
-
allValues:
|
|
273
|
+
}), { allValues: B } = A;
|
|
274
|
+
if ({ preFetchedQueryResponse: u } = A, B.length > 0) {
|
|
275
|
+
const T = Gt(t, h), b = Jt({
|
|
276
|
+
allValues: B,
|
|
284
277
|
configUniqueValuesPerSeriesType: T,
|
|
285
278
|
initialConfigWasEmpty: d
|
|
286
279
|
});
|
|
287
|
-
Array.from(
|
|
288
|
-
(
|
|
280
|
+
Array.from(b.keys()).forEach((v) => {
|
|
281
|
+
(b.get(v) ?? []).forEach((D) => {
|
|
289
282
|
t.series.push(
|
|
290
|
-
|
|
283
|
+
ei({
|
|
291
284
|
chartConfig: t,
|
|
292
285
|
seriesTemplate: p,
|
|
293
286
|
missingValue: D,
|
|
294
|
-
splitByField:
|
|
287
|
+
splitByField: g
|
|
295
288
|
})
|
|
296
289
|
);
|
|
297
290
|
}), d && t.series.shift();
|
|
@@ -301,149 +294,149 @@ async function ei(i) {
|
|
|
301
294
|
}
|
|
302
295
|
return u;
|
|
303
296
|
}
|
|
304
|
-
function
|
|
305
|
-
e && !Ne(e) && (e =
|
|
297
|
+
function ii(i, e) {
|
|
298
|
+
e && !Ne(e) && (e = it({ chartConfig: e, queryObject: i }));
|
|
306
299
|
}
|
|
307
|
-
async function
|
|
300
|
+
async function Wi(i) {
|
|
308
301
|
const {
|
|
309
302
|
configToAlter: e,
|
|
310
303
|
layer: t,
|
|
311
|
-
addMissingSeries:
|
|
304
|
+
addMissingSeries: r,
|
|
312
305
|
updateSplitBySeries: s,
|
|
313
|
-
chartContainer:
|
|
306
|
+
chartContainer: a,
|
|
314
307
|
queryObject: n,
|
|
315
308
|
abortSignal: o,
|
|
316
|
-
runtimeDataFilters:
|
|
317
|
-
ignoreViewExtent:
|
|
318
|
-
setTimeBinningInfoWhenNotProvided:
|
|
309
|
+
runtimeDataFilters: c,
|
|
310
|
+
ignoreViewExtent: l,
|
|
311
|
+
setTimeBinningInfoWhenNotProvided: m,
|
|
319
312
|
returnFeaturesExtent: f,
|
|
320
313
|
returnStatisticsAggregatedIds: p,
|
|
321
314
|
chartLimits: u,
|
|
322
315
|
timeZone: d,
|
|
323
316
|
errorStrings: y
|
|
324
317
|
} = i;
|
|
325
|
-
let
|
|
326
|
-
return
|
|
318
|
+
let g = e, F;
|
|
319
|
+
return g && (ii(t, g), g = await Et(g, t, void 0, o), we(d, g), r && n && (F = await ti({
|
|
327
320
|
updateSplitBySeries: s,
|
|
328
|
-
config:
|
|
321
|
+
config: g,
|
|
329
322
|
queryObject: n,
|
|
330
323
|
errorStrings: y,
|
|
331
324
|
abortSignal: o,
|
|
332
|
-
runtimeDataFilters:
|
|
333
|
-
ignoreViewExtent:
|
|
334
|
-
setTimeBinningInfoWhenNotProvided:
|
|
325
|
+
runtimeDataFilters: c,
|
|
326
|
+
ignoreViewExtent: l,
|
|
327
|
+
setTimeBinningInfoWhenNotProvided: m,
|
|
335
328
|
returnFeaturesExtent: f,
|
|
336
329
|
returnStatisticsAggregatedIds: p,
|
|
337
330
|
chartLimits: u
|
|
338
|
-
})),
|
|
331
|
+
})), g = Ze(g, a)), { alteredConfig: g, preFetchedQueryResponse: F };
|
|
339
332
|
}
|
|
340
|
-
function
|
|
333
|
+
function si(i, e) {
|
|
341
334
|
let t = !1;
|
|
342
335
|
if (e !== void 0) {
|
|
343
|
-
const
|
|
344
|
-
t = Number.isFinite(i[
|
|
336
|
+
const r = ot({ key: pt.Average, splitBy: e });
|
|
337
|
+
t = Number.isFinite(i[r]);
|
|
345
338
|
}
|
|
346
339
|
return t;
|
|
347
340
|
}
|
|
348
|
-
function
|
|
349
|
-
const { data: e, config: t, showEmptySeries:
|
|
341
|
+
function Ui(i) {
|
|
342
|
+
const { data: e, config: t, showEmptySeries: r } = i, s = t.series.length, a = te(t);
|
|
350
343
|
let n = !1;
|
|
351
|
-
if (!
|
|
352
|
-
const o =
|
|
353
|
-
switch (
|
|
344
|
+
if (!r && s > 1 && e) {
|
|
345
|
+
const o = ze(e), c = ke(t?.series), l = ie(t?.series), m = /* @__PURE__ */ new Set();
|
|
346
|
+
switch (c) {
|
|
354
347
|
case x.ComboLineAndBarSeries:
|
|
355
348
|
case x.BarSeries:
|
|
356
349
|
case x.RadarSeries:
|
|
357
350
|
case x.LineSeries: {
|
|
358
|
-
|
|
351
|
+
a.series.forEach((p) => {
|
|
359
352
|
if (Array.isArray(o)) {
|
|
360
353
|
let u = "";
|
|
361
|
-
"y" in p && (u = Array.isArray(p.y) ? p.y[0] : p.y,
|
|
362
|
-
(y) =>
|
|
354
|
+
"y" in p && (u = Array.isArray(p.y) ? p.y[0] : p.y, l === w.BarAndLineSplitByNoAggregation && (u = `${u}_${ge({ where: p.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), o.some(
|
|
355
|
+
(y) => tt({
|
|
363
356
|
dataItem: y,
|
|
364
357
|
x: p.x,
|
|
365
358
|
y: u,
|
|
366
359
|
aggregationType: t.series[0].query?.outStatistics?.[0]?.statisticType
|
|
367
360
|
})
|
|
368
|
-
) &&
|
|
361
|
+
) && m.add(p));
|
|
369
362
|
}
|
|
370
363
|
});
|
|
371
364
|
break;
|
|
372
365
|
}
|
|
373
366
|
case x.BoxPlotSeries: {
|
|
374
|
-
if (
|
|
375
|
-
const p =
|
|
367
|
+
if (Ge(t)) {
|
|
368
|
+
const p = Je(t);
|
|
376
369
|
t.series.forEach((u) => {
|
|
377
370
|
let d, y;
|
|
378
371
|
u.type === x.BoxPlotSeries ? (d = e.dataItems, y = d?.some(
|
|
379
|
-
(
|
|
380
|
-
dataItem:
|
|
372
|
+
(g) => et({
|
|
373
|
+
dataItem: g,
|
|
381
374
|
splitBy: u.query?.where,
|
|
382
375
|
showOutliers: p
|
|
383
376
|
})
|
|
384
377
|
)) : u.type === x.LineSeries && (d = e.meanLines, y = d?.some(
|
|
385
|
-
(
|
|
386
|
-
)), y &&
|
|
378
|
+
(g) => si(g, u.query?.where)
|
|
379
|
+
)), y && m.add(u);
|
|
387
380
|
});
|
|
388
381
|
}
|
|
389
382
|
break;
|
|
390
383
|
}
|
|
391
384
|
}
|
|
392
|
-
const f = Array.from(
|
|
393
|
-
n = f.length > 0 && f.length < s, n && (
|
|
385
|
+
const f = Array.from(m.values());
|
|
386
|
+
n = f.length > 0 && f.length < s, n && (a.series = f);
|
|
394
387
|
}
|
|
395
|
-
return { seriesFilteredOut: n, filteredConfig:
|
|
388
|
+
return { seriesFilteredOut: n, filteredConfig: a };
|
|
396
389
|
}
|
|
397
|
-
const
|
|
390
|
+
const ji = (i) => i.hideEmptyRowsAndColumns, Ki = (i, e) => {
|
|
398
391
|
i.hideEmptyRowsAndColumns = e;
|
|
399
|
-
},
|
|
392
|
+
}, Zi = (i, e) => {
|
|
400
393
|
const t = i.series[0];
|
|
401
394
|
t.heatRulesType = e;
|
|
402
|
-
},
|
|
395
|
+
}, _i = (i) => i.series[0].heatRulesType, Qi = (i, e) => {
|
|
403
396
|
const t = i.series[0];
|
|
404
397
|
t.gradientRules = e;
|
|
405
|
-
},
|
|
406
|
-
const { yField: e, config: t, layerInfo:
|
|
407
|
-
if (typeof e == "string" && o !== e &&
|
|
408
|
-
if (
|
|
409
|
-
const
|
|
410
|
-
$(t, 1,
|
|
398
|
+
}, zi = (i) => i.series[0].gradientRules, Gi = (i) => {
|
|
399
|
+
const { yField: e, config: t, layerInfo: r, commonStrings: s } = i, { layerFieldsInfo: a } = r, n = se(1, t), o = ai(t), c = re(t), l = t.series[0];
|
|
400
|
+
if (typeof e == "string" && o !== e && l) {
|
|
401
|
+
if (l.y = e, Qt(t), o === n || c) {
|
|
402
|
+
const m = k(a, e);
|
|
403
|
+
$(t, 1, m);
|
|
411
404
|
}
|
|
412
|
-
|
|
405
|
+
Pe({ commonStrings: s, config: t, layerInfo: r });
|
|
413
406
|
}
|
|
414
|
-
},
|
|
415
|
-
const { binning: e, config: t, commonStrings:
|
|
416
|
-
if (s.xTemporalBinning = e, e?.unit !== void 0 && e.unit in
|
|
417
|
-
const
|
|
418
|
-
$(t, 0,
|
|
407
|
+
}, ai = (i) => i.series[0].y ?? "", Ji = (i) => {
|
|
408
|
+
const { binning: e, config: t, commonStrings: r } = i, s = t.series[0];
|
|
409
|
+
if (s.xTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
|
|
410
|
+
const a = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
|
|
411
|
+
$(t, 0, a);
|
|
419
412
|
}
|
|
420
|
-
ee({ axisIndex: 0, commonStrings:
|
|
421
|
-
},
|
|
422
|
-
const { binning: e, config: t, commonStrings:
|
|
423
|
-
if (s.yTemporalBinning = e, e?.unit !== void 0 && e.unit in
|
|
424
|
-
const
|
|
425
|
-
$(t, 1,
|
|
413
|
+
ee({ axisIndex: 0, commonStrings: r, config: t });
|
|
414
|
+
}, ri = (i) => i.series[0].xTemporalBinning, es = (i) => {
|
|
415
|
+
const { binning: e, config: t, commonStrings: r } = i, s = t.series[0];
|
|
416
|
+
if (s.yTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
|
|
417
|
+
const a = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
|
|
418
|
+
$(t, 1, a);
|
|
426
419
|
}
|
|
427
|
-
ee({ axisIndex: 1, commonStrings:
|
|
428
|
-
},
|
|
420
|
+
ee({ axisIndex: 1, commonStrings: r, config: t });
|
|
421
|
+
}, ni = (i) => i.series[0].yTemporalBinning, oi = (i, e) => {
|
|
429
422
|
e.orderOptions ??= {};
|
|
430
|
-
const t = e.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue,
|
|
423
|
+
const t = e.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, r = me(e)[0], s = e.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue, a = me(e)[1], n = {
|
|
431
424
|
...e.orderOptions.data ?? {},
|
|
432
425
|
orderType: N.MultiAxes
|
|
433
426
|
};
|
|
434
|
-
|
|
435
|
-
},
|
|
427
|
+
r === ce.customSort && t === N.Category && (n.orderByX = [...i]), a === ce.customSort && s === N.Category && (n.orderByY = [...i]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
|
|
428
|
+
}, ts = (i, e) => {
|
|
436
429
|
const t = e.series[0];
|
|
437
430
|
t.gridLine && (t.gridLine.width = i);
|
|
438
|
-
},
|
|
439
|
-
const t = e.series[0],
|
|
440
|
-
t.gridLine &&
|
|
441
|
-
},
|
|
431
|
+
}, is = (i) => i.series[0].gridLine?.width, ss = (i, e) => {
|
|
432
|
+
const t = e.series[0], r = i?.length === 4 && i.every((s) => typeof s == "number");
|
|
433
|
+
t.gridLine && r && (t.gridLine.color = i);
|
|
434
|
+
}, as = (i) => i.series[0].gridLine?.color, rs = (i, e) => {
|
|
442
435
|
const t = e.legend;
|
|
443
436
|
t && (t.position = i);
|
|
444
|
-
},
|
|
445
|
-
const { field: e, config: t, layerInfo:
|
|
446
|
-
|
|
437
|
+
}, ns = (i) => i.legend?.position ?? At.Bottom, os = (i) => i.series[0].query?.outStatistics?.[0]?.onStatisticField, ls = (i) => {
|
|
438
|
+
const { field: e, config: t, layerInfo: r, commonStrings: s } = i, a = t.series[0].query?.outStatistics?.[0], n = le(t, r, s);
|
|
439
|
+
a ? (a.onStatisticField = e, a.outStatisticFieldName = `${a.statisticType}_${e}`) : t.series[0].query = {
|
|
447
440
|
outStatistics: [
|
|
448
441
|
{
|
|
449
442
|
onStatisticField: e,
|
|
@@ -451,53 +444,53 @@ const _i = (i) => i.hideEmptyRowsAndColumns, Qi = (i, e) => {
|
|
|
451
444
|
statisticType: I.Count
|
|
452
445
|
}
|
|
453
446
|
]
|
|
454
|
-
}, n && t.title && (t.title.content.text =
|
|
455
|
-
},
|
|
456
|
-
const { aggregationType: e, config: t, layerInfo:
|
|
457
|
-
|
|
458
|
-
},
|
|
447
|
+
}, n && t.title && (t.title.content.text = K(t, r, s));
|
|
448
|
+
}, cs = (i) => i.series[0].query?.outStatistics?.[0].statisticType ?? I.Count, us = (i) => {
|
|
449
|
+
const { aggregationType: e, config: t, layerInfo: r, commonStrings: s } = i, a = t.series[0]?.query?.outStatistics?.[0], n = le(t, r, s);
|
|
450
|
+
a && e !== I.NoAggregation && (a.statisticType = e, a.outStatisticFieldName = `${e}_${a.onStatisticField}`), (e === I.Count || e === I.Sum) && li(X.Zero, t), n && t.title && (t.title.content.text = K(t, r, s));
|
|
451
|
+
}, ds = (i) => i.nullPolicy, li = (i, e) => {
|
|
459
452
|
e.nullPolicy = i;
|
|
460
|
-
},
|
|
453
|
+
}, ys = (i) => i.series[0].emptyCells, ms = (i, e) => {
|
|
461
454
|
e.series[0].emptyCells = i;
|
|
462
|
-
},
|
|
455
|
+
}, gs = (i) => i.series[0].emptyCells?.text, ps = (i, e) => {
|
|
463
456
|
e.series[0].emptyCells ? e.series[0].emptyCells.text = i : e.series[0].emptyCells = { text: i };
|
|
464
|
-
},
|
|
457
|
+
}, fs = (i) => i.includeLeapDay, Ss = (i, e) => {
|
|
465
458
|
e.includeLeapDay = i;
|
|
466
|
-
},
|
|
459
|
+
}, Fs = (i) => i.series[0].emptyCells?.symbol, hs = (i, e) => {
|
|
467
460
|
e.series[0].emptyCells ? e.series[0].emptyCells.symbol = i : e.series[0].emptyCells = { symbol: i };
|
|
468
461
|
};
|
|
469
|
-
function
|
|
462
|
+
function Ts(i) {
|
|
470
463
|
return i.viewType;
|
|
471
464
|
}
|
|
472
|
-
function
|
|
473
|
-
|
|
465
|
+
function xs(i, e) {
|
|
466
|
+
ft(e) || (e.viewType = i);
|
|
474
467
|
}
|
|
475
|
-
function
|
|
468
|
+
function Bs(i) {
|
|
476
469
|
return i.series[0].classBreaksRules?.breaksCount ?? G;
|
|
477
470
|
}
|
|
478
|
-
function
|
|
471
|
+
function Cs(i, e) {
|
|
479
472
|
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = i ?? G : e.series[0].classBreaksRules = {
|
|
480
473
|
breaksCount: i ?? G
|
|
481
474
|
};
|
|
482
475
|
}
|
|
483
|
-
function
|
|
476
|
+
function As(i) {
|
|
484
477
|
return i.series[0].classBreaksRules?.classificationMethod;
|
|
485
478
|
}
|
|
486
|
-
function
|
|
479
|
+
function bs(i, e) {
|
|
487
480
|
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.classificationMethod = i : e.series[0].classBreaksRules = {
|
|
488
481
|
classificationMethod: i
|
|
489
482
|
}, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? G;
|
|
490
483
|
}
|
|
491
|
-
function
|
|
484
|
+
function vs(i, e) {
|
|
492
485
|
e.firstDayOfWeek = i;
|
|
493
486
|
}
|
|
494
|
-
function
|
|
487
|
+
function Is(i) {
|
|
495
488
|
return i.firstDayOfWeek;
|
|
496
489
|
}
|
|
497
|
-
function
|
|
490
|
+
function Ls(i) {
|
|
498
491
|
return i.series[0].classBreaksRules?.colorRampInfo?.name;
|
|
499
492
|
}
|
|
500
|
-
function
|
|
493
|
+
function Ds(i, e) {
|
|
501
494
|
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
|
|
502
495
|
...e.series[0].classBreaksRules.colorRampInfo,
|
|
503
496
|
name: i
|
|
@@ -508,10 +501,10 @@ function Vs(i, e) {
|
|
|
508
501
|
}
|
|
509
502
|
};
|
|
510
503
|
}
|
|
511
|
-
function
|
|
504
|
+
function Ns(i) {
|
|
512
505
|
return i.series[0].classBreaksRules?.colorRampInfo?.flipped ?? !1;
|
|
513
506
|
}
|
|
514
|
-
function
|
|
507
|
+
function Os(i, e) {
|
|
515
508
|
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
|
|
516
509
|
...e.series[0].classBreaksRules.colorRampInfo,
|
|
517
510
|
flipped: i
|
|
@@ -521,25 +514,25 @@ function Rs(i, e) {
|
|
|
521
514
|
}
|
|
522
515
|
};
|
|
523
516
|
}
|
|
524
|
-
const
|
|
517
|
+
const ci = [
|
|
525
518
|
R.DayOfMonth,
|
|
526
519
|
R.MonthOfYear
|
|
527
|
-
],
|
|
520
|
+
], Ae = (i) => {
|
|
528
521
|
let e;
|
|
529
|
-
return _(i) ? e =
|
|
530
|
-
},
|
|
531
|
-
const { axisIndex: e, commonStrings: t, config:
|
|
532
|
-
s !== void 0 &&
|
|
533
|
-
},
|
|
522
|
+
return _(i) ? e = ye() : (q(i) || Q(i)) && (e = J()), e;
|
|
523
|
+
}, be = (i) => q(i) || Q(i), ve = (i) => {
|
|
524
|
+
const { axisIndex: e, commonStrings: t, config: r, valueFormat: s } = i, a = r.axes?.[e]?.valueFormat;
|
|
525
|
+
s !== void 0 && a?.type !== s.type && Ve({ config: r, commonStrings: t, valueFormat: s, axisIndex: e });
|
|
526
|
+
}, ui = (i, e) => {
|
|
534
527
|
let t;
|
|
535
528
|
return e === 0 ? t = i.series[0]?.xTemporalBinning : e === 1 && (t = i.series[0]?.yTemporalBinning), t;
|
|
536
529
|
}, Ie = (i, e) => i.utilsStrings.heatChartCalendarDatePartsUnits[e] ?? "", Le = (i, e) => {
|
|
537
|
-
let t =
|
|
530
|
+
let t = ci[i];
|
|
538
531
|
return i === 0 && e?.unit === R.DayOfWeek ? t = R.HourOfDay : i === 1 && e?.unit === R.HourOfDay && (t = R.DayOfWeek), {
|
|
539
532
|
type: x.CalendarDateParts,
|
|
540
533
|
unit: t
|
|
541
534
|
};
|
|
542
|
-
},
|
|
535
|
+
}, di = (i) => {
|
|
543
536
|
let e = {};
|
|
544
537
|
switch (i.unit) {
|
|
545
538
|
case R.DayOfMonth:
|
|
@@ -563,22 +556,22 @@ const li = [
|
|
|
563
556
|
intlOptions: e
|
|
564
557
|
};
|
|
565
558
|
}, De = (i) => {
|
|
566
|
-
const { axisIndex: e, binning: t, commonStrings:
|
|
567
|
-
e === 0 ? o.xTemporalBinning = t : e === 1 && (o.yTemporalBinning = t), t !== void 0 && (
|
|
559
|
+
const { axisIndex: e, binning: t, commonStrings: r, config: s, fieldName: a, layerInfo: n } = i, o = s.series[0], c = se(e, s), l = k(n.layerFieldsInfo, a);
|
|
560
|
+
e === 0 ? o.xTemporalBinning = t : e === 1 && (o.yTemporalBinning = t), t !== void 0 && (c === "" || c === l || c === Ie(r, t.unit) || c === r.xAxis) && $(s, e, Ie(r, t.unit));
|
|
568
561
|
}, ee = (i) => {
|
|
569
|
-
const { axisIndex: e, commonStrings: t, config:
|
|
570
|
-
Ve({ config:
|
|
571
|
-
},
|
|
572
|
-
const { commonStrings: e, config: t, layerInfo:
|
|
573
|
-
if (ve({ axisIndex: 0, commonStrings: e, config: t, valueFormat:
|
|
574
|
-
const p =
|
|
562
|
+
const { axisIndex: e, commonStrings: t, config: r } = i, s = ui(r, e), a = s ? di(s) : void 0;
|
|
563
|
+
Ve({ config: r, commonStrings: t, valueFormat: a, axisIndex: e });
|
|
564
|
+
}, Pe = (i) => {
|
|
565
|
+
const { commonStrings: e, config: t, layerInfo: r } = i, s = t.series[0]?.x ?? "", a = t.series[0]?.y ?? "", n = he(r.layerFieldsInfo, s), o = he(r.layerFieldsInfo, a), c = Ae(n), l = Ae(o), m = be(n) && be(o), f = _(n) && _(o);
|
|
566
|
+
if (ve({ axisIndex: 0, commonStrings: e, config: t, valueFormat: c }), ve({ axisIndex: 1, commonStrings: e, config: t, valueFormat: l }), m) {
|
|
567
|
+
const p = ri(t) === void 0, u = ni(t) === void 0;
|
|
575
568
|
p && (De({
|
|
576
569
|
axisIndex: 0,
|
|
577
570
|
binning: Le(0, t.series[0].yTemporalBinning),
|
|
578
571
|
commonStrings: e,
|
|
579
572
|
config: t,
|
|
580
573
|
fieldName: s,
|
|
581
|
-
layerInfo:
|
|
574
|
+
layerInfo: r
|
|
582
575
|
}), ee({
|
|
583
576
|
axisIndex: 0,
|
|
584
577
|
commonStrings: e,
|
|
@@ -588,8 +581,8 @@ const li = [
|
|
|
588
581
|
binning: Le(1, t.series[0].xTemporalBinning),
|
|
589
582
|
commonStrings: e,
|
|
590
583
|
config: t,
|
|
591
|
-
fieldName:
|
|
592
|
-
layerInfo:
|
|
584
|
+
fieldName: a,
|
|
585
|
+
layerInfo: r
|
|
593
586
|
}), ee({
|
|
594
587
|
axisIndex: 1,
|
|
595
588
|
commonStrings: e,
|
|
@@ -598,123 +591,123 @@ const li = [
|
|
|
598
591
|
}
|
|
599
592
|
f && (t.series[0].xTemporalBinning = void 0, t.series[0].yTemporalBinning = void 0);
|
|
600
593
|
};
|
|
601
|
-
function
|
|
594
|
+
function yi(i) {
|
|
602
595
|
const e = {};
|
|
603
596
|
return i.series.forEach((t) => {
|
|
604
|
-
|
|
597
|
+
kt(t) && "nullCategory" in t && t.nullCategory !== void 0 && (e.text ??= t.nullCategory.text, t.type === x.BarSeries ? e.fillSymbol ??= t.nullCategory.fillSymbol : e.markerSymbol ??= t.nullCategory.markerSymbol);
|
|
605
598
|
}), e.text || e.fillSymbol || e.markerSymbol ? e : void 0;
|
|
606
599
|
}
|
|
607
600
|
function ne(i) {
|
|
608
|
-
const { seriesIndex: e, xAxisField: t, aggregationType:
|
|
609
|
-
let
|
|
610
|
-
const
|
|
611
|
-
let
|
|
612
|
-
if (
|
|
601
|
+
const { seriesIndex: e, xAxisField: t, aggregationType: r, config: s, layerInfo: a, commonStrings: n } = i, o = j(a?.layer).idField;
|
|
602
|
+
let c;
|
|
603
|
+
const l = s.series[e ?? 0];
|
|
604
|
+
let m = !1, f = !1, p = !1;
|
|
605
|
+
if (l === void 0) {
|
|
613
606
|
const T = s.series;
|
|
614
|
-
|
|
607
|
+
m = T.slice(0, e).every((b) => O(b)), f = T.slice(0, e).every((b) => V(b)), p = T.slice(0, e).every((b) => Te(b));
|
|
615
608
|
} else
|
|
616
|
-
|
|
617
|
-
|
|
609
|
+
m = O(l), f = V(l), p = Te(l);
|
|
610
|
+
m ? c = Nt({
|
|
618
611
|
commonStrings: n,
|
|
619
612
|
seriesIndex: e,
|
|
620
613
|
objectIDField: o
|
|
621
|
-
}) : f ?
|
|
614
|
+
}) : f ? c = Ot({
|
|
622
615
|
commonStrings: n,
|
|
623
616
|
seriesIndex: e,
|
|
624
617
|
objectIDField: o
|
|
625
|
-
}) : p ?
|
|
618
|
+
}) : p ? c = Vt(n, o) : c = qt({
|
|
626
619
|
seriesIndex: e,
|
|
627
620
|
objectIDField: o,
|
|
628
621
|
commonStrings: n
|
|
629
622
|
});
|
|
630
|
-
const u = s.series[0]?.dataLabels, d = "nullCategory" in s.series[0] ?
|
|
631
|
-
...
|
|
623
|
+
const u = s.series[0]?.dataLabels, d = "nullCategory" in s.series[0] ? yi(s) : void 0, y = "binTemporalData" in s.series[0] ? s.series[0].binTemporalData : void 0, g = "classBreakRules" in s.series[0] ? s.series[0].classBreakRules : void 0, F = "xTemporalBinning" in s.series[0] ? s.series[0].xTemporalBinning : void 0, S = "yTemporalBinning" in s.series[0] ? s.series[0].yTemporalBinning : void 0, h = "emptyCells" in s.series[0] ? s.series[0].emptyCells : void 0, A = s.series[0].query && "fetchNullValues" in s.series[0].query ? s.series[0].query?.fetchNullValues : void 0, B = {
|
|
624
|
+
...c,
|
|
632
625
|
x: t,
|
|
633
626
|
y: "",
|
|
634
627
|
dataLabels: {
|
|
635
|
-
...
|
|
636
|
-
type:
|
|
637
|
-
content: { ...
|
|
628
|
+
...c.dataLabels,
|
|
629
|
+
type: c.dataLabels?.type ?? x.Text,
|
|
630
|
+
content: { ...c.dataLabels?.content, ...u?.content, type: It.TS },
|
|
638
631
|
visible: u?.visible ?? !1
|
|
639
632
|
},
|
|
640
633
|
...d !== void 0 ? { nullCategory: d } : {},
|
|
641
634
|
...y !== void 0 ? { binTemporalData: y } : {},
|
|
642
|
-
...
|
|
635
|
+
...g !== void 0 ? { classBreakRules: g } : {},
|
|
643
636
|
...F !== void 0 ? { xTemporalBinning: F } : {},
|
|
644
637
|
...S !== void 0 ? { yTemporalBinning: S } : {},
|
|
645
638
|
...h !== void 0 ? { emptyCells: h } : {}
|
|
646
639
|
};
|
|
647
|
-
if (
|
|
640
|
+
if (B.query = {
|
|
648
641
|
groupByFieldsForStatistics: [t],
|
|
649
|
-
...
|
|
650
|
-
},
|
|
651
|
-
const T = `${
|
|
652
|
-
|
|
642
|
+
...A !== void 0 ? { fetchNullValues: A } : {}
|
|
643
|
+
}, r !== I.NoAggregation && o !== void 0) {
|
|
644
|
+
const T = `${r}_${o}_0`.toUpperCase();
|
|
645
|
+
B.y = T, B.query.outStatistics = [
|
|
653
646
|
{
|
|
654
|
-
statisticType:
|
|
647
|
+
statisticType: r,
|
|
655
648
|
onStatisticField: o,
|
|
656
649
|
outStatisticFieldName: T
|
|
657
650
|
}
|
|
658
651
|
];
|
|
659
652
|
}
|
|
660
|
-
if (L(s.series[0]) && L(
|
|
661
|
-
let T =
|
|
662
|
-
T ===
|
|
653
|
+
if (L(s.series[0]) && L(B)) {
|
|
654
|
+
let T = $t(s);
|
|
655
|
+
T === de.Quarter && (T = de.Month), B.temporalBinning = {
|
|
663
656
|
...s.series[0]?.temporalBinning,
|
|
664
657
|
unit: T
|
|
665
658
|
};
|
|
666
659
|
}
|
|
667
|
-
return te(
|
|
660
|
+
return te(B);
|
|
668
661
|
}
|
|
669
|
-
function
|
|
670
|
-
const { layerFieldsInfo:
|
|
662
|
+
function K(i, e, t) {
|
|
663
|
+
const { layerFieldsInfo: r } = e, { idField: s, isTraditionalTypeOID: a } = j(e.layer), n = P(i), o = W(i), c = oe(i), l = Z(i), m = a && (o.length === 0 || o.includes(s)), f = Dt(c, t), p = m ? "" : o.map((h) => k(r ?? [], h)).join(", "), u = k(r ?? [], n), d = k(r ?? [], l), y = i.series.some((h) => Y(h)), g = y ? "category" : "xAxisField", F = u;
|
|
671
664
|
let S = "";
|
|
672
665
|
if (fe({
|
|
673
666
|
fieldName: n,
|
|
674
667
|
numericFields: o,
|
|
675
|
-
fieldList:
|
|
668
|
+
fieldList: r
|
|
676
669
|
}))
|
|
677
670
|
S = M(t.titleLabels.aggrTypeOfAggrFields, {
|
|
678
671
|
aggregationType: f,
|
|
679
672
|
aggregationFields: p
|
|
680
673
|
});
|
|
681
|
-
else if (
|
|
682
|
-
const h =
|
|
683
|
-
if (
|
|
684
|
-
const
|
|
685
|
-
S = M(t.titleLabels[
|
|
674
|
+
else if (c === I.NoAggregation) {
|
|
675
|
+
const h = m ? s : p;
|
|
676
|
+
if (l === "") {
|
|
677
|
+
const A = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
678
|
+
S = M(t.titleLabels[A], {
|
|
686
679
|
aggregationType: h,
|
|
687
|
-
[
|
|
680
|
+
[g]: F
|
|
688
681
|
});
|
|
689
682
|
} else {
|
|
690
|
-
const
|
|
691
|
-
S = M(t.titleLabels[
|
|
683
|
+
const A = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
684
|
+
S = M(t.titleLabels[A], {
|
|
692
685
|
aggregationType: h,
|
|
693
|
-
[
|
|
686
|
+
[g]: F,
|
|
694
687
|
splitByField: d
|
|
695
688
|
});
|
|
696
689
|
}
|
|
697
|
-
} else if (
|
|
698
|
-
if (
|
|
690
|
+
} else if (c === I.Count)
|
|
691
|
+
if (l === "") {
|
|
699
692
|
const h = y ? "aggrTypeCategory" : "aggrTypeXAxisField";
|
|
700
693
|
S = M(t.titleLabels[h], {
|
|
701
694
|
aggregationType: f,
|
|
702
|
-
[
|
|
695
|
+
[g]: F
|
|
703
696
|
});
|
|
704
697
|
} else {
|
|
705
698
|
const h = y ? "aggrTypeCategoryBySplitBy" : "aggrTypeXAxisFieldBySplitBy";
|
|
706
699
|
S = M(t.titleLabels[h], {
|
|
707
700
|
aggregationType: f,
|
|
708
|
-
[
|
|
701
|
+
[g]: F,
|
|
709
702
|
splitByField: d
|
|
710
703
|
});
|
|
711
704
|
}
|
|
712
|
-
else if (
|
|
705
|
+
else if (l !== "") {
|
|
713
706
|
const h = y ? "aggrTypeOfAggrFieldByCategoryBySplitByField" : "aggrTypeOfAggrFieldByXAxisFieldBySplitByField";
|
|
714
707
|
S = M(t.titleLabels[h], {
|
|
715
708
|
aggregationType: f,
|
|
716
709
|
aggregationField: p,
|
|
717
|
-
[
|
|
710
|
+
[g]: F,
|
|
718
711
|
splitByField: d
|
|
719
712
|
});
|
|
720
713
|
} else if (o.length > 0) {
|
|
@@ -722,7 +715,7 @@ function Z(i, e, t) {
|
|
|
722
715
|
S = M(t.titleLabels[h], {
|
|
723
716
|
aggregationType: f,
|
|
724
717
|
aggregationFields: p,
|
|
725
|
-
[
|
|
718
|
+
[g]: F
|
|
726
719
|
});
|
|
727
720
|
}
|
|
728
721
|
return S;
|
|
@@ -731,40 +724,40 @@ const Ee = (i) => ge({
|
|
|
731
724
|
where: i.query?.where,
|
|
732
725
|
normalize: !1,
|
|
733
726
|
escape: !1
|
|
734
|
-
}) ?? "", oe = (i) => i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation,
|
|
727
|
+
}) ?? "", oe = (i) => i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? I.NoAggregation, Z = We(
|
|
735
728
|
(i) => {
|
|
736
729
|
const e = i?.series?.[0]?.query?.where?.split("=")[0].trim() ?? "";
|
|
737
|
-
return
|
|
730
|
+
return St(i?.series?.[0]?.query?.where) ? "" : e;
|
|
738
731
|
},
|
|
739
732
|
(i) => i?.series?.[0]?.query?.where
|
|
740
|
-
),
|
|
733
|
+
), W = (i) => {
|
|
741
734
|
let e = [];
|
|
742
|
-
if (
|
|
735
|
+
if (Z(i) === "")
|
|
743
736
|
e = i?.series.map((t) => {
|
|
744
|
-
const
|
|
745
|
-
return
|
|
737
|
+
const r = t.query?.outStatistics?.map((s) => s.onStatisticField) ?? [];
|
|
738
|
+
return r?.length > 0 ? r : t.y;
|
|
746
739
|
}).flat() ?? [];
|
|
747
740
|
else {
|
|
748
|
-
const t = i?.series?.[0],
|
|
749
|
-
e =
|
|
741
|
+
const t = i?.series?.[0], r = t?.query?.outStatistics?.[0]?.onStatisticField ?? [t?.y].flat()[0];
|
|
742
|
+
e = r !== void 0 ? [r] : [];
|
|
750
743
|
}
|
|
751
744
|
return e.filter((t) => t !== "");
|
|
752
745
|
};
|
|
753
746
|
function Me(i) {
|
|
754
|
-
const { splitByField: e, numericFields: t, layer:
|
|
755
|
-
return e === "" ? t[s] ??
|
|
747
|
+
const { splitByField: e, numericFields: t, layer: r, seriesIndex: s } = i, a = j(r).idField ?? "";
|
|
748
|
+
return e === "" ? t[s] ?? a : t[0] ?? a;
|
|
756
749
|
}
|
|
757
|
-
function
|
|
758
|
-
const { numericFields: e, aggregationType: t, config:
|
|
759
|
-
let
|
|
760
|
-
t === I.Count ?
|
|
761
|
-
const
|
|
762
|
-
return
|
|
763
|
-
})),
|
|
764
|
-
const n =
|
|
750
|
+
function mi(i) {
|
|
751
|
+
const { numericFields: e, aggregationType: t, config: r, layerInfo: s } = i;
|
|
752
|
+
let a = !1;
|
|
753
|
+
t === I.Count ? a = !0 : t === I.NoAggregation && (a = e.every((c) => {
|
|
754
|
+
const l = s.layerFieldsInfo.find((m) => m.name === c);
|
|
755
|
+
return l !== void 0 ? xe(l) : !1;
|
|
756
|
+
})), Be(r, 1, a);
|
|
757
|
+
const n = r.series.some((c) => O(c)), o = r.series.some((c) => V(c));
|
|
765
758
|
if (n || o) {
|
|
766
|
-
const
|
|
767
|
-
|
|
759
|
+
const c = P(r), l = s.layerFieldsInfo.find((f) => f.name === c), m = l !== void 0 && xe(l);
|
|
760
|
+
Be(r, 0, m);
|
|
768
761
|
}
|
|
769
762
|
}
|
|
770
763
|
function Ye(i) {
|
|
@@ -773,112 +766,112 @@ function Ye(i) {
|
|
|
773
766
|
}
|
|
774
767
|
const me = (i) => {
|
|
775
768
|
let e;
|
|
776
|
-
if (
|
|
777
|
-
const t = i.orderOptions?.data?.orderByX ?? [""],
|
|
778
|
-
e = [
|
|
769
|
+
if (H(i)) {
|
|
770
|
+
const t = i.orderOptions?.data?.orderByX ?? [""], r = i.orderOptions?.data?.orderByY ?? [""], s = i.axes?.[0]?.valueFormat?.type === "category" ? N.Category : N.YValue, a = i.axes?.[1]?.valueFormat?.type === "category" ? N.Category : N.YValue;
|
|
771
|
+
e = [Ce(t, s), Ce(r, a)];
|
|
779
772
|
} else {
|
|
780
|
-
const t = i.orderOptions?.data?.orderType ?? N.Category,
|
|
781
|
-
e = [
|
|
773
|
+
const t = i.orderOptions?.data?.orderType ?? N.Category, r = i.orderOptions?.data && "orderBy" in i.orderOptions.data ? i.orderOptions.data.orderBy : bt.Ascending;
|
|
774
|
+
e = [Ct(r, t)];
|
|
782
775
|
}
|
|
783
776
|
return e;
|
|
784
777
|
};
|
|
785
|
-
function
|
|
786
|
-
const { xAxisField: e, numericFields: t, aggregationType:
|
|
778
|
+
function gi(i) {
|
|
779
|
+
const { xAxisField: e, numericFields: t, aggregationType: r, config: s, layerInfo: a, commonStrings: n } = i, { layerFieldsInfo: o } = a, c = ne({
|
|
787
780
|
config: s,
|
|
788
781
|
xAxisField: e,
|
|
789
|
-
aggregationType:
|
|
790
|
-
layerInfo:
|
|
782
|
+
aggregationType: r,
|
|
783
|
+
layerInfo: a,
|
|
791
784
|
seriesIndex: 0,
|
|
792
785
|
commonStrings: n
|
|
793
|
-
}),
|
|
786
|
+
}), l = ae({
|
|
794
787
|
config: s,
|
|
795
788
|
xAxisField: e,
|
|
796
789
|
numericFields: t,
|
|
797
|
-
aggregationType:
|
|
798
|
-
layer:
|
|
790
|
+
aggregationType: r,
|
|
791
|
+
layer: a.layer,
|
|
799
792
|
fieldList: o
|
|
800
|
-
}).name,
|
|
801
|
-
fieldName:
|
|
793
|
+
}).name, m = P(s), f = W(s), p = fe({
|
|
794
|
+
fieldName: m,
|
|
802
795
|
numericFields: f,
|
|
803
796
|
fieldList: o
|
|
804
797
|
}) ? s.series[0] : void 0, u = `series_${Date.now()}`, d = p?.id ?? u, y = p?.name ?? n.axisLabels.values, F = {
|
|
805
|
-
...p ??
|
|
798
|
+
...p ?? c,
|
|
806
799
|
id: d,
|
|
807
800
|
name: y,
|
|
808
801
|
x: U,
|
|
809
|
-
y:
|
|
802
|
+
y: l
|
|
810
803
|
}, S = [];
|
|
811
804
|
for (const h of t)
|
|
812
805
|
S.push({
|
|
813
806
|
onStatisticField: h,
|
|
814
807
|
outStatisticFieldName: `${h}_0`.toUpperCase(),
|
|
815
|
-
statisticType:
|
|
808
|
+
statisticType: r
|
|
816
809
|
});
|
|
817
|
-
return F.query = { outStatistics: S }, s.series.length === 1 && ((O(F) || V(F)) &&
|
|
810
|
+
return F.query = { outStatistics: S }, s.series.length === 1 && ((O(F) || V(F)) && He(F, s.series[0]), Y(F) ? F.fillSymbol = s.series[0].fillSymbol : (O(F) || V(F)) && (F.lineSymbol = s.series[0].lineSymbol, F.markerSymbol = s.series[0].markerSymbol)), [F];
|
|
818
811
|
}
|
|
819
812
|
function $e(i) {
|
|
820
|
-
const { xAxisField: e, numericFields: t, aggregationType:
|
|
813
|
+
const { xAxisField: e, numericFields: t, aggregationType: r, config: s, layerInfo: a, commonStrings: n } = i, { layerFieldsInfo: o } = a, c = j(a.layer).idField, l = [];
|
|
821
814
|
for (let d = 0; d < t.length; d += 1) {
|
|
822
815
|
const y = ne({
|
|
823
816
|
config: s,
|
|
824
817
|
xAxisField: e,
|
|
825
|
-
aggregationType:
|
|
826
|
-
layerInfo:
|
|
818
|
+
aggregationType: r,
|
|
819
|
+
layerInfo: a,
|
|
827
820
|
seriesIndex: d,
|
|
828
821
|
commonStrings: n
|
|
829
|
-
}),
|
|
822
|
+
}), g = s.series[d]?.y, F = typeof g == "string" && g.trim() !== "" && !o.find((D) => D.name === g) ? g : ae({
|
|
830
823
|
config: s,
|
|
831
824
|
xAxisField: e,
|
|
832
825
|
numericFields: t,
|
|
833
|
-
aggregationType:
|
|
834
|
-
layer:
|
|
826
|
+
aggregationType: r,
|
|
827
|
+
layer: a.layer,
|
|
835
828
|
numericFieldIndex: d,
|
|
836
829
|
fieldList: o
|
|
837
830
|
}).name, S = t[d], h = s.series.find(
|
|
838
831
|
(D) => D.query?.where === void 0 && (D.query?.outStatistics?.length === 1 && D.query?.outStatistics?.[0]?.onStatisticField === S || D.query?.outStatistics === void 0 && (D.y === S || D.x === S))
|
|
839
|
-
),
|
|
840
|
-
...
|
|
841
|
-
id:
|
|
832
|
+
), A = S !== c ? S : y.id, B = h?.id ?? A, T = h?.name ?? k(o, S) ?? B, b = h ?? y, v = {
|
|
833
|
+
...b,
|
|
834
|
+
id: B,
|
|
842
835
|
name: T
|
|
843
836
|
};
|
|
844
837
|
let E = S;
|
|
845
|
-
v.query !== void 0 && (
|
|
838
|
+
v.query !== void 0 && (r !== I.NoAggregation ? (E = v.type === x.HeatSeries && h?.type === x.HeatSeries ? S : F, v.query.outStatistics = [
|
|
846
839
|
{
|
|
847
|
-
...
|
|
840
|
+
...b.query?.outStatistics?.[0] ?? {},
|
|
848
841
|
onStatisticField: S,
|
|
849
842
|
outStatisticFieldName: F,
|
|
850
|
-
statisticType:
|
|
843
|
+
statisticType: r
|
|
851
844
|
}
|
|
852
|
-
]) : delete v.query.outStatistics), v.y = E,
|
|
845
|
+
]) : delete v.query.outStatistics), v.y = E, l.push(v);
|
|
853
846
|
}
|
|
854
|
-
const
|
|
847
|
+
const m = l.filter((d) => Y(d)), f = l.filter(
|
|
855
848
|
(d) => O(d) || V(d)
|
|
856
849
|
), p = s.series.filter((d) => Y(d)), u = s.series.filter(
|
|
857
850
|
(d) => O(d) || V(d)
|
|
858
851
|
);
|
|
859
|
-
return p.length === 1 &&
|
|
852
|
+
return p.length === 1 && m.length === 1 && Y(p[0]) && Y(m[0]) && (m[0].fillSymbol = p[0].fillSymbol), u.length === 1 && f.length === 1 && ((O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && He(f[0], u[0]), (O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && (f[0].lineSymbol = u[0].lineSymbol, f[0].markerSymbol = u[0].markerSymbol)), l;
|
|
860
853
|
}
|
|
861
|
-
function
|
|
862
|
-
const { aggregationType: e, config: t, layerInfo:
|
|
854
|
+
function Vs(i) {
|
|
855
|
+
const { aggregationType: e, config: t, layerInfo: r, commonStrings: s } = i, { layerFieldsInfo: a, layer: n } = r, o = P(t), c = W(t), l = Z(t), m = oe(t), f = le(t, r, s), p = Xe(t, r, s);
|
|
863
856
|
if (t.series.forEach((u, d) => {
|
|
864
|
-
const y =
|
|
857
|
+
const y = ae({
|
|
865
858
|
config: t,
|
|
866
859
|
xAxisField: o,
|
|
867
|
-
numericFields:
|
|
860
|
+
numericFields: c,
|
|
868
861
|
aggregationType: e,
|
|
869
|
-
splitByField:
|
|
862
|
+
splitByField: l,
|
|
870
863
|
layer: n,
|
|
871
864
|
seriesIndex: d,
|
|
872
865
|
numericFieldIndex: d,
|
|
873
|
-
fieldList:
|
|
866
|
+
fieldList: a
|
|
874
867
|
}).name;
|
|
875
868
|
u.y = y;
|
|
876
|
-
const
|
|
877
|
-
splitByField:
|
|
878
|
-
numericFields:
|
|
869
|
+
const g = Me({
|
|
870
|
+
splitByField: l,
|
|
871
|
+
numericFields: c,
|
|
879
872
|
layer: n,
|
|
880
873
|
seriesIndex: d
|
|
881
|
-
}), F = u.query?.outStatistics?.[0]?.onStatisticField ??
|
|
874
|
+
}), F = u.query?.outStatistics?.[0]?.onStatisticField ?? g;
|
|
882
875
|
u.query = {
|
|
883
876
|
...u.query,
|
|
884
877
|
outStatistics: e === I.NoAggregation ? void 0 : [
|
|
@@ -889,42 +882,42 @@ function ks(i) {
|
|
|
889
882
|
onStatisticField: F
|
|
890
883
|
}
|
|
891
884
|
]
|
|
892
|
-
}, "temporalBinning" in u && u.temporalBinning !== void 0 && (u.temporalBinning.nullPolicy = e === I.NoAggregation ?
|
|
893
|
-
}), f && t.title && (t.title.content.text =
|
|
885
|
+
}, "temporalBinning" in u && u.temporalBinning !== void 0 && (u.temporalBinning.nullPolicy = e === I.NoAggregation ? X.Interpolate : X.Null), e === I.NoAggregation && Wt(t);
|
|
886
|
+
}), f && t.title && (t.title.content.text = K(t, r, s)), p && t.series[0].type !== x.HeatSeries) {
|
|
894
887
|
const u = pe({
|
|
895
888
|
config: t,
|
|
896
|
-
layerInfo:
|
|
889
|
+
layerInfo: r,
|
|
897
890
|
commonStrings: s,
|
|
898
|
-
numericFields:
|
|
891
|
+
numericFields: c,
|
|
899
892
|
aggregationType: e
|
|
900
893
|
});
|
|
901
894
|
$(t, 1, u);
|
|
902
895
|
}
|
|
903
|
-
|
|
896
|
+
m !== e && Ye(t);
|
|
904
897
|
}
|
|
905
|
-
function
|
|
898
|
+
function pi(i) {
|
|
906
899
|
const {
|
|
907
900
|
splitByField: e,
|
|
908
901
|
xAxisField: t,
|
|
909
|
-
numericFields:
|
|
902
|
+
numericFields: r,
|
|
910
903
|
aggregationType: s,
|
|
911
|
-
config:
|
|
904
|
+
config: a,
|
|
912
905
|
layerInfo: n,
|
|
913
906
|
commonStrings: o,
|
|
914
|
-
splitByFieldInfos:
|
|
915
|
-
} = i, { layer:
|
|
907
|
+
splitByFieldInfos: c
|
|
908
|
+
} = i, { layer: l, layerFieldsInfo: m } = n, { categoriesArray: f, splitByFieldType: p } = c, u = Me({
|
|
916
909
|
splitByField: e,
|
|
917
|
-
numericFields:
|
|
918
|
-
layer:
|
|
910
|
+
numericFields: r,
|
|
911
|
+
layer: l,
|
|
919
912
|
seriesIndex: 0
|
|
920
913
|
});
|
|
921
914
|
let d = [];
|
|
922
915
|
if (f.length === 0) {
|
|
923
916
|
d = $e({
|
|
924
917
|
xAxisField: t,
|
|
925
|
-
numericFields:
|
|
918
|
+
numericFields: r,
|
|
926
919
|
aggregationType: s,
|
|
927
|
-
config:
|
|
920
|
+
config: a,
|
|
928
921
|
layerInfo: n,
|
|
929
922
|
commonStrings: o
|
|
930
923
|
});
|
|
@@ -932,17 +925,17 @@ function gi(i) {
|
|
|
932
925
|
y.query && (y.query.where = `${e}=''`);
|
|
933
926
|
} else
|
|
934
927
|
for (let y = 0; y < f.length; y += 1) {
|
|
935
|
-
const
|
|
936
|
-
config:
|
|
928
|
+
const g = f[y], F = ae({
|
|
929
|
+
config: a,
|
|
937
930
|
xAxisField: t,
|
|
938
|
-
numericFields:
|
|
931
|
+
numericFields: r,
|
|
939
932
|
aggregationType: s,
|
|
940
933
|
layer: n.layer,
|
|
941
934
|
seriesIndex: y,
|
|
942
935
|
splitByField: e,
|
|
943
|
-
fieldList:
|
|
936
|
+
fieldList: m
|
|
944
937
|
}).name, S = ne({
|
|
945
|
-
config:
|
|
938
|
+
config: a,
|
|
946
939
|
xAxisField: t,
|
|
947
940
|
aggregationType: s,
|
|
948
941
|
layerInfo: n,
|
|
@@ -951,17 +944,19 @@ function gi(i) {
|
|
|
951
944
|
}), h = Oe({
|
|
952
945
|
queryObject: n.layer,
|
|
953
946
|
fieldName: e,
|
|
954
|
-
fieldValue:
|
|
955
|
-
}),
|
|
956
|
-
(D) => String(Ee(D)).trim().replace(/'/gu, "") ===
|
|
957
|
-
), T =
|
|
947
|
+
fieldValue: g ?? ""
|
|
948
|
+
}), A = `${g}`, B = a.series.find(
|
|
949
|
+
(D) => String(Ee(D)).trim().replace(/'/gu, "") === A
|
|
950
|
+
), T = B?.id ?? A, b = B?.name ?? h ?? T;
|
|
951
|
+
xt(B, S);
|
|
952
|
+
const v = B ?? S, E = {
|
|
958
953
|
...v,
|
|
959
954
|
id: T,
|
|
960
|
-
name:
|
|
955
|
+
name: b,
|
|
961
956
|
y: F,
|
|
962
957
|
query: {
|
|
963
958
|
...v.query,
|
|
964
|
-
where: `${e}=${p === Re.String &&
|
|
959
|
+
where: `${e}=${p === Re.String && g !== null ? `'${g}'` : g}`,
|
|
965
960
|
outStatistics: s !== I.NoAggregation ? [
|
|
966
961
|
{
|
|
967
962
|
...v.query?.outStatistics?.[0] ?? {},
|
|
@@ -976,96 +971,96 @@ function gi(i) {
|
|
|
976
971
|
}
|
|
977
972
|
return d;
|
|
978
973
|
}
|
|
979
|
-
const
|
|
974
|
+
const qs = (i) => {
|
|
980
975
|
const {
|
|
981
976
|
xAxisFieldName: e,
|
|
982
977
|
splitByField: t,
|
|
983
|
-
numericFields:
|
|
978
|
+
numericFields: r,
|
|
984
979
|
aggregationType: s,
|
|
985
|
-
config:
|
|
980
|
+
config: a,
|
|
986
981
|
layerInfo: n,
|
|
987
982
|
commonStrings: o,
|
|
988
|
-
splitByFieldInfos:
|
|
989
|
-
} = i, { layerFieldsInfo:
|
|
990
|
-
let T = qe(
|
|
991
|
-
const
|
|
992
|
-
if (_(S) ? T =
|
|
993
|
-
ne({ config:
|
|
994
|
-
]),
|
|
995
|
-
|
|
996
|
-
}), t === "" ||
|
|
983
|
+
splitByFieldInfos: c
|
|
984
|
+
} = i, { layerFieldsInfo: l } = n ?? {}, m = te(a), f = Mt(a), p = P(m), u = Z(m), d = oe(m), y = l.find((C) => C.name === p), g = a.series[0]?.query === void 0, F = W(m), S = l.find((C) => C.name === e), h = le(m, n, o), A = Xe(m, n, o), B = fi({ config: m, layerInfo: n, commonStrings: o });
|
|
985
|
+
let T = qe(a);
|
|
986
|
+
const b = m.series.some((C) => Y(C)), v = ht(m.series), E = Tt(m.series), D = q(y) || q(S);
|
|
987
|
+
if (_(S) ? T = ye() : !Q(y) && Q(S) ? T = J() : !q(y) && q(S) ? T = J() : q(y) && !q(S) && (b ? T = ye() : T = Rt()), T !== void 0 && Bt(a, o, T), f === 0 && (a.series = [
|
|
988
|
+
ne({ config: a, xAxisField: e, aggregationType: s, layerInfo: n, commonStrings: o })
|
|
989
|
+
]), a.series.forEach((C) => {
|
|
990
|
+
C.x = e, C.query !== void 0 && (C.query.groupByFieldsForStatistics = [e]);
|
|
991
|
+
}), t === "" || r.length > 1 ? fe({
|
|
997
992
|
fieldName: e,
|
|
998
|
-
numericFields:
|
|
999
|
-
fieldList:
|
|
1000
|
-
}) ?
|
|
1001
|
-
config:
|
|
993
|
+
numericFields: r,
|
|
994
|
+
fieldList: l
|
|
995
|
+
}) ? a.series = gi({
|
|
996
|
+
config: a,
|
|
1002
997
|
layerInfo: n,
|
|
1003
998
|
xAxisField: e,
|
|
1004
|
-
numericFields:
|
|
999
|
+
numericFields: r,
|
|
1005
1000
|
aggregationType: s,
|
|
1006
1001
|
commonStrings: o
|
|
1007
|
-
}) :
|
|
1008
|
-
config:
|
|
1002
|
+
}) : a.series = $e({
|
|
1003
|
+
config: a,
|
|
1009
1004
|
layerInfo: n,
|
|
1010
1005
|
xAxisField: e,
|
|
1011
|
-
numericFields:
|
|
1006
|
+
numericFields: r,
|
|
1012
1007
|
aggregationType: s,
|
|
1013
1008
|
commonStrings: o
|
|
1014
|
-
}) :
|
|
1015
|
-
config:
|
|
1009
|
+
}) : c && (a.series = pi({
|
|
1010
|
+
config: a,
|
|
1016
1011
|
layerInfo: n,
|
|
1017
1012
|
splitByField: t,
|
|
1018
1013
|
xAxisField: e,
|
|
1019
|
-
numericFields:
|
|
1014
|
+
numericFields: r,
|
|
1020
1015
|
aggregationType: s,
|
|
1021
1016
|
commonStrings: o,
|
|
1022
|
-
splitByFieldInfos:
|
|
1023
|
-
})),
|
|
1024
|
-
const
|
|
1025
|
-
$(
|
|
1017
|
+
splitByFieldInfos: c
|
|
1018
|
+
})), B && e !== U && a.series[0].type !== x.HeatSeries) {
|
|
1019
|
+
const C = k(l, e);
|
|
1020
|
+
$(a, 0, C);
|
|
1026
1021
|
}
|
|
1027
|
-
if (
|
|
1028
|
-
const
|
|
1029
|
-
config:
|
|
1022
|
+
if (A && a.series[0].type !== x.HeatSeries) {
|
|
1023
|
+
const C = pe({
|
|
1024
|
+
config: a,
|
|
1030
1025
|
layerInfo: n,
|
|
1031
1026
|
commonStrings: o,
|
|
1032
|
-
numericFields:
|
|
1027
|
+
numericFields: r,
|
|
1033
1028
|
aggregationType: s
|
|
1034
1029
|
});
|
|
1035
|
-
$(
|
|
1030
|
+
$(a, 1, C);
|
|
1036
1031
|
}
|
|
1037
|
-
if (h &&
|
|
1038
|
-
const
|
|
1039
|
-
Xt(
|
|
1032
|
+
if (h && a.title && (a.title.content.text = K(a, n, o)), p === e && u === t && d === s && je(F, r) || Ye(a), mi({ numericFields: r, aggregationType: s, config: a, layerInfo: n }), (v || E) && (z({ config: a, value: null, axisIndex: 0, isMax: !1 }), z({ config: a, value: null, axisIndex: 0, isMax: !0 }), D && s !== I.NoAggregation && !H(m))) {
|
|
1033
|
+
const C = q(S) ? X.Null : X.Interpolate;
|
|
1034
|
+
Xt(C, a);
|
|
1040
1035
|
}
|
|
1041
|
-
|
|
1042
|
-
|
|
1036
|
+
H(a) && Pe({ commonStrings: o, config: a, layerInfo: n }), a.series.forEach((C) => {
|
|
1037
|
+
g && delete C.query, p !== e && L(C) && (S?.type === Re.TimeOnly ? C.binTemporalData = !1 : C.binTemporalData = C.type === x.LineSeries && q(S));
|
|
1043
1038
|
});
|
|
1044
|
-
},
|
|
1039
|
+
}, He = (i, e) => {
|
|
1045
1040
|
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 = {
|
|
1046
1041
|
...e.markerSymbol,
|
|
1047
1042
|
color: i.markerSymbol?.color
|
|
1048
1043
|
});
|
|
1049
|
-
},
|
|
1050
|
-
const { config: e, seriesIndex: t, layerInfo:
|
|
1044
|
+
}, Rs = (i) => {
|
|
1045
|
+
const { config: e, seriesIndex: t, layerInfo: r, commonStrings: s } = i, a = e.series?.[t], n = Z(e);
|
|
1051
1046
|
let o;
|
|
1052
|
-
if (ie(e.series) ===
|
|
1047
|
+
if (ie(e.series) === w.BarAndLineFromFields)
|
|
1053
1048
|
o = s.axisLabels.values;
|
|
1054
1049
|
else if (Ue(n)) {
|
|
1055
|
-
const
|
|
1056
|
-
|
|
1050
|
+
const l = a.query?.outStatistics?.[0]?.onStatisticField;
|
|
1051
|
+
l !== void 0 && l !== j(r.layer).idField && (o = k(r.layerFieldsInfo, l));
|
|
1057
1052
|
} else {
|
|
1058
|
-
const
|
|
1053
|
+
const l = String(Ee(a)).trim().replace(/'/gu, "");
|
|
1059
1054
|
o = Oe({
|
|
1060
|
-
queryObject:
|
|
1055
|
+
queryObject: r.layer,
|
|
1061
1056
|
fieldName: n,
|
|
1062
|
-
fieldValue:
|
|
1063
|
-
}) ??
|
|
1057
|
+
fieldValue: l ?? ""
|
|
1058
|
+
}) ?? l;
|
|
1064
1059
|
}
|
|
1065
|
-
return o ??
|
|
1066
|
-
},
|
|
1067
|
-
if (
|
|
1068
|
-
|
|
1060
|
+
return o ?? a.id;
|
|
1061
|
+
}, ks = (i, e) => {
|
|
1062
|
+
if (H(e))
|
|
1063
|
+
oi(i, e);
|
|
1069
1064
|
else {
|
|
1070
1065
|
e.orderOptions ??= {};
|
|
1071
1066
|
const t = e.orderOptions?.data?.orderType;
|
|
@@ -1074,125 +1069,125 @@ const Ps = (i) => {
|
|
|
1074
1069
|
orderBy: [...i]
|
|
1075
1070
|
});
|
|
1076
1071
|
}
|
|
1077
|
-
},
|
|
1078
|
-
const { config: e, layerInfo: t, errorStrings:
|
|
1072
|
+
}, ws = async (i) => {
|
|
1073
|
+
const { config: e, layerInfo: t, num: r, errorStrings: s } = i, a = P(e), n = qe(e)?.type, o = W(e), c = ie(e.series);
|
|
1079
1074
|
let l = [];
|
|
1080
|
-
return
|
|
1075
|
+
return n === x.CategoryAxisFormat && (c === w.BarAndLineFromFields || a === U ? l = o.map((m) => k(t?.layerFieldsInfo, m)) : a.trim() !== "" && a !== U && t !== void 0 && (l = await Ft({
|
|
1081
1076
|
layerInfo: t,
|
|
1082
1077
|
config: e,
|
|
1083
|
-
category:
|
|
1084
|
-
|
|
1078
|
+
category: a,
|
|
1079
|
+
num: r,
|
|
1080
|
+
errorStrings: s
|
|
1085
1081
|
}))), l;
|
|
1086
1082
|
};
|
|
1087
1083
|
function le(i, e, t) {
|
|
1088
|
-
const
|
|
1089
|
-
return
|
|
1084
|
+
const r = K(i, e, t), s = Yt(i), a = re(i);
|
|
1085
|
+
return r === s || a;
|
|
1090
1086
|
}
|
|
1091
|
-
function
|
|
1092
|
-
const
|
|
1087
|
+
function Xe(i, e, t) {
|
|
1088
|
+
const r = pe({
|
|
1093
1089
|
config: i,
|
|
1094
1090
|
layerInfo: e,
|
|
1095
1091
|
commonStrings: t,
|
|
1096
|
-
numericFields:
|
|
1092
|
+
numericFields: W(i),
|
|
1097
1093
|
aggregationType: oe(i)
|
|
1098
|
-
}), s =
|
|
1099
|
-
return
|
|
1094
|
+
}), s = se(1, i), a = re(i);
|
|
1095
|
+
return r === s || a;
|
|
1100
1096
|
}
|
|
1101
|
-
function
|
|
1102
|
-
const { config: e, layerInfo: t, commonStrings:
|
|
1103
|
-
return s ===
|
|
1097
|
+
function fi(i) {
|
|
1098
|
+
const { config: e, layerInfo: t, commonStrings: r } = i, s = k(t.layerFieldsInfo, P(e)), a = se(0, e), n = re(e), o = P(e) === U && (a === "" || a === r.xAxis);
|
|
1099
|
+
return s === a || n || o;
|
|
1104
1100
|
}
|
|
1105
|
-
function
|
|
1101
|
+
function Ps(i) {
|
|
1106
1102
|
return L(i.series[0]) ? i.series[0].binTemporalData ?? !0 : !1;
|
|
1107
1103
|
}
|
|
1108
|
-
function
|
|
1104
|
+
function Es(i, e) {
|
|
1109
1105
|
e?.series.forEach((t) => {
|
|
1110
1106
|
L(t) && (t.binTemporalData = i, i ? t.temporalBinning = {
|
|
1111
|
-
unit:
|
|
1107
|
+
unit: de.Day,
|
|
1112
1108
|
size: 0,
|
|
1113
|
-
timeAggregationType:
|
|
1109
|
+
timeAggregationType: vt.Start,
|
|
1114
1110
|
trimIncompleteTimeInterval: !0,
|
|
1115
|
-
nullPolicy:
|
|
1111
|
+
nullPolicy: X.Null
|
|
1116
1112
|
} : delete t.temporalBinning);
|
|
1117
1113
|
});
|
|
1118
1114
|
}
|
|
1119
1115
|
export {
|
|
1120
1116
|
as as $,
|
|
1121
|
-
|
|
1122
|
-
|
|
1117
|
+
ks as A,
|
|
1118
|
+
qs as B,
|
|
1123
1119
|
Ps as C,
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1120
|
+
Es as D,
|
|
1121
|
+
K as E,
|
|
1122
|
+
Pe as F,
|
|
1123
|
+
ai as G,
|
|
1124
|
+
Gi as H,
|
|
1125
|
+
Ts as I,
|
|
1126
|
+
xs as J,
|
|
1127
|
+
ri as K,
|
|
1128
|
+
Ji as L,
|
|
1129
|
+
ni as M,
|
|
1130
|
+
es as N,
|
|
1131
|
+
Bs as O,
|
|
1132
|
+
Cs as P,
|
|
1133
|
+
As as Q,
|
|
1134
|
+
bs as R,
|
|
1139
1135
|
Ls as S,
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1136
|
+
Ds as T,
|
|
1137
|
+
Ns as U,
|
|
1138
|
+
Os as V,
|
|
1139
|
+
_t as W,
|
|
1140
|
+
ji as X,
|
|
1141
|
+
Ki as Y,
|
|
1142
|
+
is as Z,
|
|
1143
|
+
ts as _,
|
|
1144
|
+
Hi as a,
|
|
1145
|
+
ss as a0,
|
|
1146
|
+
_i as a1,
|
|
1147
|
+
Zi as a2,
|
|
1152
1148
|
zi as a3,
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
Ki as f,
|
|
1149
|
+
Qi as a4,
|
|
1150
|
+
os as a5,
|
|
1151
|
+
ls as a6,
|
|
1152
|
+
cs as a7,
|
|
1153
|
+
us as a8,
|
|
1154
|
+
ns as a9,
|
|
1155
|
+
rs as aa,
|
|
1156
|
+
ds as ab,
|
|
1157
|
+
li as ac,
|
|
1158
|
+
ys as ad,
|
|
1159
|
+
ms as ae,
|
|
1160
|
+
gs as af,
|
|
1161
|
+
ps as ag,
|
|
1162
|
+
fs as ah,
|
|
1163
|
+
Ss as ai,
|
|
1164
|
+
Is as aj,
|
|
1165
|
+
vs as ak,
|
|
1166
|
+
Fs as al,
|
|
1167
|
+
hs as am,
|
|
1168
|
+
Yi as b,
|
|
1169
|
+
W as c,
|
|
1170
|
+
Z as d,
|
|
1171
|
+
Rs as e,
|
|
1172
|
+
Ui as f,
|
|
1178
1173
|
oe as g,
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1174
|
+
qi as h,
|
|
1175
|
+
Xi as i,
|
|
1176
|
+
Ht as j,
|
|
1182
1177
|
$t as k,
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1178
|
+
Pi as l,
|
|
1179
|
+
Ri as m,
|
|
1180
|
+
Ei as n,
|
|
1181
|
+
ki as o,
|
|
1182
|
+
Wi as p,
|
|
1183
|
+
Mi as q,
|
|
1184
|
+
Qt as r,
|
|
1185
|
+
we as s,
|
|
1186
|
+
wi as t,
|
|
1187
|
+
$i as u,
|
|
1188
|
+
Xt as v,
|
|
1189
|
+
Wt as w,
|
|
1190
|
+
Vs as x,
|
|
1191
|
+
me as y,
|
|
1192
|
+
ws as z
|
|
1198
1193
|
};
|