@arcgis/charts-components 5.2.0-next.3 → 5.2.0-next.30
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/2ODYZG66.js +2 -0
- package/dist/cdn/{TAI4RIWT.js → 2SPGX6AF.js} +1 -1
- package/dist/cdn/35NSJ3NJ.js +2 -0
- package/dist/cdn/3MKY6UCO.js +2 -0
- package/dist/cdn/3NKDMMC2.js +2 -0
- package/dist/cdn/3QO6REDF.js +102 -0
- package/dist/cdn/3SBYV6BW.js +2 -0
- package/dist/cdn/{LRNADJJG.js → 3TBK72EK.js} +1 -1
- package/dist/cdn/{PC7IKOIB.js → 3UTF2CB3.js} +1 -1
- package/dist/cdn/3YN4EKSJ.js +2 -0
- package/dist/cdn/4BEGCEGA.js +4 -0
- package/dist/cdn/{TZB57XD4.js → 4P7URPRQ.js} +1 -1
- package/dist/cdn/4TRUG37X.js +2 -0
- package/dist/cdn/5UO6L27Q.js +2 -0
- package/dist/cdn/{PVJEBBA7.js → 5XCU5SR2.js} +1 -1
- package/dist/cdn/{YRBE7MBU.js → 6ANVHVX4.js} +1 -1
- package/dist/cdn/{VDG54AIC.js → 6CB5R4QQ.js} +1 -1
- package/dist/cdn/{U4XLNCOU.js → 6GV2QPKV.js} +1 -1
- package/dist/cdn/{JVHJMPFE.js → 6OCDFMFB.js} +1 -1
- package/dist/cdn/6VK54DG5.js +2 -0
- package/dist/cdn/{3YT44D4Z.js → 6XIDALQU.js} +1 -1
- package/dist/cdn/7VQXBQMZ.js +2 -0
- package/dist/cdn/{GL3IXVRN.js → 7Z7NOIH2.js} +1 -1
- package/dist/cdn/A636YSNA.js +2 -0
- package/dist/cdn/{5G7DSKI7.js → ADYDCO3M.js} +1 -1
- package/dist/cdn/{NQQW4GKA.js → AICTKGE3.js} +1 -1
- package/dist/cdn/AQIB3VEP.js +2 -0
- package/dist/cdn/AZR6HVRW.js +2 -0
- package/dist/cdn/{BBURKBKE.js → AZY72Q7D.js} +1 -1
- package/dist/cdn/BI54CNMR.js +2 -0
- package/dist/cdn/BJBNELDD.js +3 -0
- package/dist/cdn/BKU72IQC.js +2 -0
- package/dist/cdn/{N5ERJZPG.js → BQXXD2HU.js} +1 -1
- package/dist/cdn/BZFGE4LO.js +2 -0
- package/dist/cdn/C4TQOUPO.js +2 -0
- package/dist/cdn/{UKDTXHZT.js → CLN32L2L.js} +1 -1
- package/dist/cdn/CRCAJAFA.js +2 -0
- package/dist/cdn/DAF2U7TN.js +2 -0
- package/dist/cdn/DKENYDHS.js +233 -0
- package/dist/cdn/{5JML3JUR.js → DRFJC64L.js} +1 -1
- package/dist/cdn/{PK5XIIZY.js → G5EGTXMY.js} +1 -1
- package/dist/cdn/{KLC6NTPC.js → GCRQHIGQ.js} +1 -1
- package/dist/cdn/{HCMD362H.js → HBS6O3P3.js} +1 -1
- package/dist/cdn/{5QO32XSX.js → HIW5WRHR.js} +1 -1
- package/dist/cdn/IHHPUKGG.js +2 -0
- package/dist/cdn/IPALCXFF.js +2 -0
- package/dist/cdn/IWMWJN7M.js +2 -0
- package/dist/cdn/{A5GIBV5W.js → J2HYDDIW.js} +1 -1
- package/dist/cdn/JBR6IJMK.js +2 -0
- package/dist/cdn/{MRTKZZTF.js → JHANH4UG.js} +1 -1
- package/dist/cdn/JIV6BQKG.js +2 -0
- package/dist/cdn/{RFQBUWOW.js → K27GKXGP.js} +1 -1
- package/dist/cdn/{VVKV5KKN.js → KFPJI52X.js} +1 -1
- package/dist/cdn/KQLAAGKI.js +2 -0
- package/dist/cdn/{FDXE5JLT.js → LFXRCL7K.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → LU5S2VRK.js} +1 -1
- package/dist/cdn/{7ABIELGZ.js → M4ZJRIYM.js} +1 -1
- package/dist/cdn/M7QZTQSD.js +2 -0
- package/dist/cdn/{LZYN55O4.js → MBPFBE3E.js} +1 -1
- package/dist/cdn/MEA74C44.js +2 -0
- package/dist/cdn/{U2LJZ4ML.js → MVUIKY5Y.js} +1 -1
- package/dist/cdn/{3DK6M5E7.js → N673JFHK.js} +1 -1
- package/dist/cdn/NKVZYKL5.js +2 -0
- package/dist/cdn/O533LNDP.js +2 -0
- package/dist/cdn/O5NKLK7V.js +2 -0
- package/dist/cdn/PEYVSFSE.js +58 -0
- package/dist/cdn/{KOBNV5AQ.js → PKQOLKTW.js} +1 -1
- package/dist/cdn/{TNB3MBXR.js → Q2GW5LB7.js} +1 -1
- package/dist/cdn/QGEFY4ND.js +2 -0
- package/dist/cdn/{WASEMNYV.js → QNT6HTFC.js} +1 -1
- package/dist/cdn/{R45FWF7D.js → QV3NMKKZ.js} +1 -1
- package/dist/cdn/REZ2QR42.js +2 -0
- package/dist/cdn/{CHQDKVVQ.js → RIM4HLHN.js} +1 -1
- package/dist/cdn/{PZGIXDMC.js → RKG6CXUU.js} +1 -1
- package/dist/cdn/S7Z4HRW7.js +2 -0
- package/dist/cdn/SAYLTYWY.js +2 -0
- package/dist/cdn/SOGVYNPI.js +2 -0
- package/dist/cdn/SSKHF7PO.js +2 -0
- package/dist/cdn/{RAQZUMC6.js → T5TFLMQL.js} +1 -1
- package/dist/cdn/{23YH7MTF.js → TCS4HOSG.js} +1 -1
- package/dist/cdn/{LDPHZHSF.js → TOFVWGTG.js} +1 -1
- package/dist/cdn/TSA7UMSZ.js +2 -0
- package/dist/cdn/{KI4HS3AM.js → U3MRRFML.js} +1 -1
- package/dist/cdn/VWTJHXHI.js +2 -0
- package/dist/cdn/{PSO5AURI.js → WHVW3P3O.js} +1 -1
- package/dist/cdn/{WEQBZOH7.js → WJHIJTWS.js} +1 -1
- package/dist/cdn/{CJ4POAPM.js → WU62O2AU.js} +1 -1
- package/dist/cdn/X7YEBHBF.js +2 -0
- package/dist/cdn/X7Z4LEZH.js +2 -0
- package/dist/cdn/XRLVJJBT.js +2 -0
- package/dist/cdn/XRP6IFM4.js +2 -0
- package/dist/cdn/{TYMKFCF4.js → Y6CFEFZM.js} +1 -1
- package/dist/cdn/{LONASKGH.js → YFHB2EFH.js} +1 -1
- package/dist/cdn/YQIFZJTZ.js +2 -0
- package/dist/cdn/{2K4ODNJ4.js → YWCIV7ZZ.js} +1 -1
- package/dist/cdn/{VEA5ZR5D.js → YWKPGNHB.js} +1 -1
- package/dist/cdn/{ZRFHAQL6.js → Z43DVT6G.js} +1 -1
- package/dist/cdn/ZW4PF3UK.js +2 -0
- package/dist/cdn/assets/common/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 +2 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +8 -8
- package/dist/chunks/chart-model.js +170 -138
- package/dist/chunks/class-breaks.js +18 -18
- package/dist/chunks/data.js +57 -57
- package/dist/chunks/heat-chart-model.js +46 -26
- package/dist/chunks/index2.js +2319 -2284
- package/dist/chunks/index3.js +32 -29
- package/dist/chunks/index4.js +107 -49
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/model-with-y-guides.js +6 -6
- package/dist/chunks/pie-chart-data.js +42 -36
- package/dist/chunks/pie-chart-model.js +175 -162
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +572 -526
- package/dist/chunks/serial-chart-model.js +107 -93
- package/dist/chunks/utils.js +67 -56
- package/dist/chunks/web-component-utils.js +632 -492
- package/dist/components/arcgis-chart/customElement.d.ts +145 -138
- package/dist/components/arcgis-chart/customElement.js +7178 -7164
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +4 -0
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +34 -36
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +5 -8
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.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 +14 -17
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +14 -16
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +15 -15
- package/dist/components/arcgis-charts-config-format/customElement.js +25 -25
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +50 -51
- package/dist/components/arcgis-charts-config-histogram/customElement.js +28 -23
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +33 -34
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +2 -2
- 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 +4 -5
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +49 -56
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +54 -55
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +5 -8
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -22
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +75 -75
- 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 +8 -10
- 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 +66 -70
- package/dist/index.js +212 -210
- package/dist/json-schema/index.d.ts +59 -2
- package/dist/loader.js +1 -1
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +22 -0
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/mixins/model-with-multi-axes.d.ts +22 -22
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -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/serial-chart-model/serial-chart-model.d.ts +15 -0
- 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 +8 -2
- package/dist/utils/chart-config/converter/index.js +1 -1
- package/dist/utils/chart-config/utils/index.d.ts +35 -0
- 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/data/index.d.ts +9 -12
- package/dist/utils/defaults/index.d.ts +1 -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/query-parser/index.d.ts +3 -3
- package/dist/utils/localization/interfaces.d.ts +4 -0
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +6 -6
- package/dist/cdn/24LTTBTF.js +0 -2
- package/dist/cdn/26FWESH3.js +0 -102
- package/dist/cdn/3XHZ677O.js +0 -2
- package/dist/cdn/5FMEOIBS.js +0 -3
- package/dist/cdn/74JAZF7U.js +0 -2
- package/dist/cdn/7HIZH35G.js +0 -2
- package/dist/cdn/CCR46UHB.js +0 -2
- package/dist/cdn/CRFJ2GGS.js +0 -2
- package/dist/cdn/CXQOEN77.js +0 -2
- package/dist/cdn/DYC3Q36R.js +0 -2
- package/dist/cdn/E2N2S7BH.js +0 -2
- package/dist/cdn/E43KEVHT.js +0 -2
- package/dist/cdn/EXTKNE2L.js +0 -2
- package/dist/cdn/F7Y6EWWB.js +0 -2
- package/dist/cdn/G5HVFOIO.js +0 -2
- package/dist/cdn/G7TRU7JI.js +0 -2
- package/dist/cdn/GES3HRXE.js +0 -2
- package/dist/cdn/HCV34H6X.js +0 -2
- package/dist/cdn/IHQ7R6L4.js +0 -4
- package/dist/cdn/IUFXFWXH.js +0 -2
- package/dist/cdn/JHYH555K.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/JRRFLDWX.js +0 -58
- package/dist/cdn/KVGEY3IQ.js +0 -2
- package/dist/cdn/LWODMEOP.js +0 -2
- package/dist/cdn/LYZGRYQV.js +0 -2
- package/dist/cdn/MF3FGXHI.js +0 -2
- package/dist/cdn/MUPHTV55.js +0 -2
- package/dist/cdn/N524VXQ2.js +0 -2
- package/dist/cdn/NGPMU4T3.js +0 -2
- package/dist/cdn/NJCZ6UTM.js +0 -2
- package/dist/cdn/NMB6TWC2.js +0 -2
- package/dist/cdn/NNNTZU5J.js +0 -2
- package/dist/cdn/NS3THLCD.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/OE3UFORR.js +0 -2
- package/dist/cdn/P2NPQAJ3.js +0 -2
- package/dist/cdn/PJUAU42S.js +0 -2
- package/dist/cdn/PY5Q3V6E.js +0 -2
- package/dist/cdn/RMYZGOBM.js +0 -2
- package/dist/cdn/RX3RNE7F.js +0 -2
- package/dist/cdn/TU3UF32Y.js +0 -2
- package/dist/cdn/TXSWWAOF.js +0 -2
- package/dist/cdn/UAJGYF4S.js +0 -2
- package/dist/cdn/UT6G7RV7.js +0 -2
- package/dist/cdn/VOTZAPI3.js +0 -2
- package/dist/cdn/WO6JBNMU.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/cdn/ZRZEKOEF.js +0 -2
- package/dist/chunks/time-zone.js +0 -38
- /package/dist/cdn/{XE3FKQFA.js → 3HAB3JR6.js} +0 -0
- /package/dist/cdn/{DCZWZOPF.js → 3YOOX2CV.js} +0 -0
- /package/dist/cdn/{IPM2XKST.js → 4DSO7LUF.js} +0 -0
- /package/dist/cdn/{FF4DUQDZ.js → 5HRLHWQ5.js} +0 -0
- /package/dist/cdn/{ETKPMU7Z.js → 732EZ6WJ.js} +0 -0
- /package/dist/cdn/{AWF4R7WL.js → 7IS6QE6S.js} +0 -0
- /package/dist/cdn/{HVO4LIXR.js → 7XZZ5OZL.js} +0 -0
- /package/dist/cdn/{5MEQANMY.js → AN2NRYQV.js} +0 -0
- /package/dist/cdn/{L4G6FO7A.js → ASUGYCJ6.js} +0 -0
- /package/dist/cdn/{AM2TOTX6.js → BICQEJYZ.js} +0 -0
- /package/dist/cdn/{5XTQQOTT.js → C2I4WPWM.js} +0 -0
- /package/dist/cdn/{CLXVAIQX.js → C47AIJTI.js} +0 -0
- /package/dist/cdn/{N6AOFBBX.js → C5YJ7J3A.js} +0 -0
- /package/dist/cdn/{QOOBNATX.js → DPV2ZJLF.js} +0 -0
- /package/dist/cdn/{CJPEW4LJ.js → E4535ZTP.js} +0 -0
- /package/dist/cdn/{XW4PBQNW.js → FJNRPAMO.js} +0 -0
- /package/dist/cdn/{JBHGSSHS.js → GI54JT4O.js} +0 -0
- /package/dist/cdn/{5YJNENER.js → GYTYFBNU.js} +0 -0
- /package/dist/cdn/{AJWYIBGC.js → J5QUGI2J.js} +0 -0
- /package/dist/cdn/{TF7TE7K5.js → JPEN5TFK.js} +0 -0
- /package/dist/cdn/{SBYD2EKR.js → KBQM3DLQ.js} +0 -0
- /package/dist/cdn/{7FZC3RZK.js → LEMJA72W.js} +0 -0
- /package/dist/cdn/{6XTKJ7DO.js → MMO2QPOA.js} +0 -0
- /package/dist/cdn/{BJDRJUEJ.js → PS7IL5JZ.js} +0 -0
- /package/dist/cdn/{E7OAEGSE.js → R2RRMPOC.js} +0 -0
- /package/dist/cdn/{YOT6DVSU.js → RV6E7KKQ.js} +0 -0
- /package/dist/cdn/{GV3TT7L5.js → RYLXJPKL.js} +0 -0
- /package/dist/cdn/{LFQGH44F.js → S2R72ISR.js} +0 -0
- /package/dist/cdn/{2HUAW34Q.js → T4NEEFOY.js} +0 -0
- /package/dist/cdn/{K3GNHGEW.js → TEERYUCS.js} +0 -0
- /package/dist/cdn/{A4GEWIPY.js → V454JYTQ.js} +0 -0
- /package/dist/cdn/{ZFZ5AEUQ.js → V7JF5I5M.js} +0 -0
- /package/dist/cdn/{KFONSKQF.js → VIZWWEG5.js} +0 -0
- /package/dist/cdn/{KZ7LPNX3.js → W5SPX6WM.js} +0 -0
- /package/dist/cdn/{JJIGLOJA.js → X2IOJECM.js} +0 -0
- /package/dist/cdn/{QMSINFQX.js → X33RIIGI.js} +0 -0
- /package/dist/cdn/{ZXOO3X5P.js → YBTVIOHQ.js} +0 -0
- /package/dist/cdn/{KUZR6CGB.js → YFQHZWLO.js} +0 -0
- /package/dist/cdn/{DKAHZ7IX.js → YX4EVVJM.js} +0 -0
- /package/dist/cdn/{DEGBVJ76.js → YXH22GJ6.js} +0 -0
- /package/dist/cdn/{A5AECJXP.js → ZMQTYGGT.js} +0 -0
|
@@ -1,30 +1,29 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { isEqual as
|
|
3
|
-
import { q as
|
|
4
|
-
import { k as m, an as
|
|
5
|
-
import { i as
|
|
6
|
-
import { C as
|
|
2
|
+
import { isEqual as L } from "lodash-es";
|
|
3
|
+
import { q as b, u as D, r as d } from "./chart-object-literals.js";
|
|
4
|
+
import { k as m, an as M } from "./index2.js";
|
|
5
|
+
import { i as P } from "./index4.js";
|
|
6
|
+
import { C as O } from "./chart-model.js";
|
|
7
7
|
import { m as o } from "./model-setter.js";
|
|
8
|
-
import { S as
|
|
9
|
-
import { M as
|
|
10
|
-
import { M as
|
|
11
|
-
import { g as u, d as S, j
|
|
12
|
-
import { M as
|
|
13
|
-
import { W as
|
|
14
|
-
import { W as
|
|
15
|
-
import { W as
|
|
16
|
-
import { W as
|
|
17
|
-
import { W as
|
|
18
|
-
import { W as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { y as Te, V as xe, u as Fe, a1 as Ce, $ as Be } from "./index.js";
|
|
8
|
+
import { S as V } from "./common.js";
|
|
9
|
+
import { M as N, a as E, W as k, b as U } from "./data-labels-visibility.js";
|
|
10
|
+
import { M as j, a as X } from "./model-with-y-guides.js";
|
|
11
|
+
import { g as u, d as S, j as Y, k as w, l as z, m as R, n as q, o as K, q as $, t as G, v as Z, w as H, x as J, y as Q, z as T, A as x, B as F, C as y, D as ee, E as ie, e as te, F as se, W as re } from "./serial-chart-data.js";
|
|
12
|
+
import { M as oe } from "./model-with-x-guides.js";
|
|
13
|
+
import { W as ne, c as ae, d as le } from "./axis-lines-symbol.js";
|
|
14
|
+
import { W as ge, c as ce, d as fe } from "./generate-x-axis-title.js";
|
|
15
|
+
import { W as he, a as pe } from "./x-bounds.js";
|
|
16
|
+
import { W as de } from "./data-labels-symbol.js";
|
|
17
|
+
import { W as me } from "./rotated-state.js";
|
|
18
|
+
import { g as W, u as ye, s as C, h as ue, j as Se, e as _e, f as Te } from "./utils.js";
|
|
19
|
+
import { d as A, e as B, a as xe } from "./data.js";
|
|
20
|
+
import { y as Fe, V as Ce, u as Ae, a1 as Be, $ as Ie } from "./index.js";
|
|
22
21
|
import { i as h, g as p, m as _ } from "./index5.js";
|
|
23
|
-
const
|
|
22
|
+
const I = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, v = (s) => {
|
|
24
23
|
const { assign: e, seriesIndex: i, config: t, commonStrings: r } = s;
|
|
25
|
-
e && t.axes !== void 0 && !t.axes?.[2] && (t.axes[2] =
|
|
26
|
-
g === i ?
|
|
27
|
-
}), t.axes?.[2] && !t.series.some((
|
|
24
|
+
e && t.axes !== void 0 && !t.axes?.[2] && (t.axes[2] = Ae(r, D.BarSeries)[1]), t.series && t.series.forEach((a, g) => {
|
|
25
|
+
g === i ? a.assignToSecondValueAxis = e : g !== i && a?.assignToSecondValueAxis !== !0 && (a.assignToSecondValueAxis = !1);
|
|
26
|
+
}), t.axes?.[2] && !t.series.some((a) => a.assignToSecondValueAxis) && t.axes.splice(2, 1);
|
|
28
27
|
}, ve = (s, e) => e.series?.[s]?.name, be = (s, e, i) => {
|
|
29
28
|
i.series?.[e] && (i.series[e].name = s);
|
|
30
29
|
}, Oe = (s, e) => {
|
|
@@ -34,11 +33,11 @@ const Ae = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, Ie = (s) => {
|
|
|
34
33
|
}, We = (s, e, i) => {
|
|
35
34
|
const t = i.series?.[e];
|
|
36
35
|
t && (h(t) ? t.fillSymbol = {
|
|
37
|
-
...
|
|
36
|
+
...Fe(e),
|
|
38
37
|
...t.fillSymbol,
|
|
39
38
|
color: s
|
|
40
39
|
} : p(t) && (t.lineSymbol = {
|
|
41
|
-
...
|
|
40
|
+
...Ce(e),
|
|
42
41
|
...t.lineSymbol,
|
|
43
42
|
color: s
|
|
44
43
|
}));
|
|
@@ -46,19 +45,19 @@ const Ae = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, Ie = (s) => {
|
|
|
46
45
|
e.series?.sort(
|
|
47
46
|
(i, t) => s.findIndex((r) => i.id === r) - s.findIndex((r) => t.id === r)
|
|
48
47
|
);
|
|
49
|
-
}, Me = (s) => s.stackedType ??
|
|
48
|
+
}, Me = (s) => s.stackedType ?? b.Side, Pe = (s) => {
|
|
50
49
|
const { newStackedType: e, config: i, layerInfo: t, commonStrings: r } = s;
|
|
51
50
|
if (i.stackedType = e, t !== void 0) {
|
|
52
|
-
const
|
|
51
|
+
const a = W({
|
|
53
52
|
config: i,
|
|
54
53
|
layerInfo: t,
|
|
55
54
|
commonStrings: r,
|
|
56
55
|
numericFields: S(i),
|
|
57
56
|
aggregationType: u(i)
|
|
58
57
|
});
|
|
59
|
-
|
|
58
|
+
ye(i, 1, a);
|
|
60
59
|
}
|
|
61
|
-
i.axes?.[1] && (e ===
|
|
60
|
+
i.axes?.[1] && (e === b.Stacked100 ? i.axes[1].valueFormat = Be() : i.axes[1].valueFormat = Ie()), C({ config: i, value: null, axisIndex: 1, isMax: !1 }), C({ config: i, value: null, axisIndex: 1, isMax: !0 });
|
|
62
61
|
}, Ve = (s) => {
|
|
63
62
|
let e;
|
|
64
63
|
const i = s.series.find(
|
|
@@ -71,46 +70,46 @@ const Ae = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, Ie = (s) => {
|
|
|
71
70
|
});
|
|
72
71
|
};
|
|
73
72
|
var Ee = Object.defineProperty, ke = Object.getOwnPropertyDescriptor, f = (s, e, i, t) => {
|
|
74
|
-
for (var r = ke(e, i),
|
|
75
|
-
(g = s[
|
|
73
|
+
for (var r = ke(e, i), a = s.length - 1, g; a >= 0; a--)
|
|
74
|
+
(g = s[a]) && (r = g(e, i, r) || r);
|
|
76
75
|
return r && Ee(e, i, r), r;
|
|
77
76
|
};
|
|
78
|
-
class c extends
|
|
77
|
+
class c extends O {
|
|
79
78
|
/**
|
|
80
79
|
* Time interval size for a temporal bar chart or line chart.
|
|
81
80
|
*/
|
|
82
81
|
get temporalBinningSize() {
|
|
83
|
-
return
|
|
82
|
+
return Y(this._config);
|
|
84
83
|
}
|
|
85
84
|
set temporalBinningSize(e) {
|
|
86
|
-
|
|
85
|
+
w(e, this._config);
|
|
87
86
|
}
|
|
88
87
|
/**
|
|
89
88
|
* Time interval units for a temporal bar chart or line chart.
|
|
90
89
|
*/
|
|
91
90
|
get temporalBinningUnit() {
|
|
92
|
-
return
|
|
91
|
+
return z(this._config);
|
|
93
92
|
}
|
|
94
93
|
set temporalBinningUnit(e) {
|
|
95
|
-
|
|
94
|
+
R(e, this._config);
|
|
96
95
|
}
|
|
97
96
|
/**
|
|
98
97
|
* Time aggregation type for a temporal bar chart or line chart.
|
|
99
98
|
*/
|
|
100
99
|
get timeAggregationType() {
|
|
101
|
-
return
|
|
100
|
+
return q(this._config);
|
|
102
101
|
}
|
|
103
102
|
set timeAggregationType(e) {
|
|
104
|
-
|
|
103
|
+
K(e, this._config);
|
|
105
104
|
}
|
|
106
105
|
/**
|
|
107
106
|
* Whether to trim incomplete time intervals for a temporal bar chart or line chart.
|
|
108
107
|
*/
|
|
109
108
|
get trimIncompleteTimeInterval() {
|
|
110
|
-
return
|
|
109
|
+
return $(this._config);
|
|
111
110
|
}
|
|
112
111
|
set trimIncompleteTimeInterval(e) {
|
|
113
|
-
|
|
112
|
+
G(e, this._config);
|
|
114
113
|
}
|
|
115
114
|
/**
|
|
116
115
|
* Policy which tells the chart how to handle null values.
|
|
@@ -122,13 +121,13 @@ class c extends v {
|
|
|
122
121
|
* - Line series: connects the lines across null values.
|
|
123
122
|
*/
|
|
124
123
|
get nullPolicy() {
|
|
125
|
-
return
|
|
124
|
+
return Z(this._config);
|
|
126
125
|
}
|
|
127
126
|
set nullPolicy(e) {
|
|
128
|
-
|
|
127
|
+
H(e, this._config);
|
|
129
128
|
}
|
|
130
129
|
resetTimeInterval() {
|
|
131
|
-
|
|
130
|
+
J(this._config);
|
|
132
131
|
}
|
|
133
132
|
}
|
|
134
133
|
f([
|
|
@@ -150,11 +149,11 @@ f([
|
|
|
150
149
|
o
|
|
151
150
|
], c.prototype, "resetTimeInterval");
|
|
152
151
|
var Ue = Object.defineProperty, je = Object.getOwnPropertyDescriptor, l = (s, e, i, t) => {
|
|
153
|
-
for (var r = je(e, i),
|
|
154
|
-
(g = s[
|
|
152
|
+
for (var r = je(e, i), a = s.length - 1, g; a >= 0; a--)
|
|
153
|
+
(g = s[a]) && (r = g(e, i, r) || r);
|
|
155
154
|
return r && Ue(e, i, r), r;
|
|
156
155
|
};
|
|
157
|
-
class
|
|
156
|
+
class n extends O {
|
|
158
157
|
constructor() {
|
|
159
158
|
super(...arguments), this._xAxisField = "", this._aggregationType = d.Count, this._splitByField = "", this._numericFields = [];
|
|
160
159
|
}
|
|
@@ -182,7 +181,7 @@ class a extends v {
|
|
|
182
181
|
return this._aggregationType;
|
|
183
182
|
}
|
|
184
183
|
set aggregationType(e) {
|
|
185
|
-
this._aggregationType = e,
|
|
184
|
+
this._aggregationType = e, Q({
|
|
186
185
|
aggregationType: e,
|
|
187
186
|
config: this._config,
|
|
188
187
|
layerInfo: this.layerInfo,
|
|
@@ -196,7 +195,7 @@ class a extends v {
|
|
|
196
195
|
return this._splitByField;
|
|
197
196
|
}
|
|
198
197
|
set splitByField(e) {
|
|
199
|
-
this.layerInfo?.layerFieldsInfo &&
|
|
198
|
+
this.layerInfo?.layerFieldsInfo && ue(this.layerInfo?.layerFieldsInfo, e) && (this._splitByField = e, this.processSeriesRebuild("splitByField"));
|
|
200
199
|
}
|
|
201
200
|
/**
|
|
202
201
|
* The numeric fields array for the chart.
|
|
@@ -206,9 +205,9 @@ class a extends v {
|
|
|
206
205
|
}
|
|
207
206
|
set numericFields(e) {
|
|
208
207
|
typeof e == "string" && (e = [e]);
|
|
209
|
-
const i =
|
|
208
|
+
const i = Se(this.layerInfo?.layerFieldsInfo ?? [], e), t = (this.xAxisField === "" || this.xAxisField === m) && e.length === 0;
|
|
210
209
|
if (i && !t) {
|
|
211
|
-
const r =
|
|
210
|
+
const r = M(this.layerInfo.layer).idField;
|
|
212
211
|
e.length === 0 && r !== void 0 ? (e.push(r), this._aggregationType = d.Count) : this._aggregationType === d.Count && e.length >= 1 && r !== void 0 && !e.includes(r) && (this._aggregationType = d.Sum), this._numericFields = e, this.numericFields.length > 1 && (this._splitByField = ""), this.processSeriesRebuild("numericFields");
|
|
213
212
|
} else t && this.resetConfig();
|
|
214
213
|
}
|
|
@@ -216,12 +215,24 @@ class a extends v {
|
|
|
216
215
|
* Gets whether the series should be assigned to the second value axis.
|
|
217
216
|
*
|
|
218
217
|
* @param seriesIndex - The index of the series.
|
|
218
|
+
* @deprecated since 5.2. Use {@link model/serial-chart-model/serial-chart-model#getSeriesToSecondaryYAxis getSeriesToSecondaryYAxis} instead.
|
|
219
219
|
*/
|
|
220
220
|
getAssignToSecondValueAxis(e) {
|
|
221
|
-
return
|
|
221
|
+
return I(e, this._config);
|
|
222
222
|
}
|
|
223
223
|
setAssignToSecondValueAxis(e, i) {
|
|
224
|
-
|
|
224
|
+
v({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* Gets whether the series should be assigned to the secondary y-axis.
|
|
228
|
+
*
|
|
229
|
+
* @param seriesIndex - The index of the series.
|
|
230
|
+
*/
|
|
231
|
+
getSeriesToSecondaryYAxis(e) {
|
|
232
|
+
return I(e, this._config);
|
|
233
|
+
}
|
|
234
|
+
setSeriesToSecondaryYAxis(e, i) {
|
|
235
|
+
v({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
|
|
225
236
|
}
|
|
226
237
|
/**
|
|
227
238
|
* Gets the sort order for the bar chart.
|
|
@@ -230,7 +241,7 @@ class a extends v {
|
|
|
230
241
|
return T(this._config)[0];
|
|
231
242
|
}
|
|
232
243
|
setSortOrder(e, i) {
|
|
233
|
-
|
|
244
|
+
A(e, this._config, i);
|
|
234
245
|
}
|
|
235
246
|
/**
|
|
236
247
|
* Gets the list of the category values for the chart.
|
|
@@ -245,14 +256,14 @@ class a extends v {
|
|
|
245
256
|
async setDataFilters(e) {
|
|
246
257
|
super.setDataFilters(e);
|
|
247
258
|
const i = T(this._config)[0];
|
|
248
|
-
if (i ===
|
|
259
|
+
if (i === V.customSort) {
|
|
249
260
|
this.startAsyncUpdate();
|
|
250
261
|
const t = await x({
|
|
251
262
|
config: this._config,
|
|
252
263
|
layerInfo: this.layerInfo,
|
|
253
264
|
errorStrings: this.commonStrings?.errorStrings
|
|
254
265
|
});
|
|
255
|
-
|
|
266
|
+
A(i, this._config, t), this.finishAsyncUpdate();
|
|
256
267
|
}
|
|
257
268
|
this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"));
|
|
258
269
|
}
|
|
@@ -260,10 +271,10 @@ class a extends v {
|
|
|
260
271
|
* The list of values for custom sort.
|
|
261
272
|
*/
|
|
262
273
|
get orderByList() {
|
|
263
|
-
return
|
|
274
|
+
return B(this._config);
|
|
264
275
|
}
|
|
265
276
|
set orderByList(e) {
|
|
266
|
-
!
|
|
277
|
+
!P(this._config) && F(e, this._config);
|
|
267
278
|
}
|
|
268
279
|
/**
|
|
269
280
|
* Updates the series based on the layer filter.
|
|
@@ -277,10 +288,10 @@ class a extends v {
|
|
|
277
288
|
* **Note:** Setting this prop removes any existing temporal binning settings if `value` is set to `false`.
|
|
278
289
|
*/
|
|
279
290
|
get binTemporalData() {
|
|
280
|
-
return
|
|
291
|
+
return ee(this._config);
|
|
281
292
|
}
|
|
282
293
|
set binTemporalData(e) {
|
|
283
|
-
|
|
294
|
+
ie(e, this._config);
|
|
284
295
|
}
|
|
285
296
|
// #endregion
|
|
286
297
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -340,7 +351,7 @@ class a extends v {
|
|
|
340
351
|
t.splice(i, 0, r), this.setOrderOfSeries(t);
|
|
341
352
|
}
|
|
342
353
|
moveCustomSortValuesInOrderByList(e, i) {
|
|
343
|
-
const t =
|
|
354
|
+
const t = B(this._config), [r] = t.splice(e, 1);
|
|
344
355
|
t.splice(i, 0, r), F(t, this._config);
|
|
345
356
|
}
|
|
346
357
|
/**
|
|
@@ -355,7 +366,7 @@ class a extends v {
|
|
|
355
366
|
}
|
|
356
367
|
set nullCategory(e) {
|
|
357
368
|
const i = this.nullCategory;
|
|
358
|
-
|
|
369
|
+
L(i, e) || Ne(this._config, e);
|
|
359
370
|
}
|
|
360
371
|
/**
|
|
361
372
|
* Sets up the local props based on the current config.
|
|
@@ -363,7 +374,7 @@ class a extends v {
|
|
|
363
374
|
* @private
|
|
364
375
|
*/
|
|
365
376
|
setupLocalProps() {
|
|
366
|
-
this._xAxisField =
|
|
377
|
+
this._xAxisField = xe(this._config), this._aggregationType = u(this._config), this._splitByField = te(this._config), this._numericFields = S(this._config);
|
|
367
378
|
}
|
|
368
379
|
resetConfig() {
|
|
369
380
|
const e = this._config.id;
|
|
@@ -392,7 +403,7 @@ class a extends v {
|
|
|
392
403
|
* Fetches the split-by field information and stores it in a private member for use in building the series.
|
|
393
404
|
*/
|
|
394
405
|
async fetchSplitByFieldInfos() {
|
|
395
|
-
return this.splitByFieldInfos = await
|
|
406
|
+
return this.splitByFieldInfos = await _e({
|
|
396
407
|
config: this._config,
|
|
397
408
|
layer: this.layerInfo.layer,
|
|
398
409
|
layerFieldsInfo: this.layerInfo.layerFieldsInfo,
|
|
@@ -427,13 +438,13 @@ class a extends v {
|
|
|
427
438
|
* Generate the proper chart title given the current config.
|
|
428
439
|
*/
|
|
429
440
|
generateChartTitle() {
|
|
430
|
-
return this.layerInfo !== void 0 ?
|
|
441
|
+
return this.layerInfo !== void 0 ? se(this._config, this.layerInfo, this.commonStrings) : "";
|
|
431
442
|
}
|
|
432
443
|
/**
|
|
433
444
|
* Generate the proper y-axis title given the current config.
|
|
434
445
|
*/
|
|
435
446
|
generateYAxisTitle() {
|
|
436
|
-
return this.layerInfo !== void 0 ?
|
|
447
|
+
return this.layerInfo !== void 0 ? W({
|
|
437
448
|
config: this._config,
|
|
438
449
|
layerInfo: this.layerInfo,
|
|
439
450
|
commonStrings: this.commonStrings,
|
|
@@ -445,70 +456,73 @@ class a extends v {
|
|
|
445
456
|
}
|
|
446
457
|
l([
|
|
447
458
|
o
|
|
448
|
-
],
|
|
459
|
+
], n.prototype, "aggregationType");
|
|
460
|
+
l([
|
|
461
|
+
o
|
|
462
|
+
], n.prototype, "setAssignToSecondValueAxis");
|
|
449
463
|
l([
|
|
450
464
|
o
|
|
451
|
-
],
|
|
465
|
+
], n.prototype, "setSeriesToSecondaryYAxis");
|
|
452
466
|
l([
|
|
453
467
|
o
|
|
454
|
-
],
|
|
468
|
+
], n.prototype, "setSortOrder");
|
|
455
469
|
l([
|
|
456
470
|
o
|
|
457
|
-
],
|
|
471
|
+
], n.prototype, "setDataFilters");
|
|
458
472
|
l([
|
|
459
473
|
o
|
|
460
|
-
],
|
|
474
|
+
], n.prototype, "orderByList");
|
|
461
475
|
l([
|
|
462
476
|
o
|
|
463
|
-
],
|
|
477
|
+
], n.prototype, "binTemporalData");
|
|
464
478
|
l([
|
|
465
479
|
o
|
|
466
|
-
],
|
|
480
|
+
], n.prototype, "setSeriesName");
|
|
467
481
|
l([
|
|
468
482
|
o
|
|
469
|
-
],
|
|
483
|
+
], n.prototype, "setSeriesColor");
|
|
470
484
|
l([
|
|
471
485
|
o
|
|
472
|
-
],
|
|
486
|
+
], n.prototype, "setOrderOfSeries");
|
|
473
487
|
l([
|
|
474
488
|
o
|
|
475
|
-
],
|
|
489
|
+
], n.prototype, "stackedType");
|
|
476
490
|
l([
|
|
477
491
|
o
|
|
478
|
-
],
|
|
492
|
+
], n.prototype, "moveSeries");
|
|
479
493
|
l([
|
|
480
494
|
o
|
|
481
|
-
],
|
|
495
|
+
], n.prototype, "moveCustomSortValuesInOrderByList");
|
|
482
496
|
l([
|
|
483
497
|
o
|
|
484
|
-
],
|
|
498
|
+
], n.prototype, "nullCategory");
|
|
485
499
|
l([
|
|
486
500
|
o
|
|
487
|
-
],
|
|
501
|
+
], n.prototype, "resetConfig");
|
|
488
502
|
const Xe = [
|
|
489
|
-
|
|
490
|
-
P,
|
|
491
|
-
V,
|
|
503
|
+
j,
|
|
492
504
|
N,
|
|
493
|
-
he,
|
|
494
505
|
E,
|
|
495
|
-
|
|
496
|
-
|
|
506
|
+
k,
|
|
507
|
+
me,
|
|
497
508
|
U,
|
|
509
|
+
de,
|
|
510
|
+
oe,
|
|
511
|
+
X,
|
|
498
512
|
c,
|
|
499
|
-
ne,
|
|
500
513
|
ge,
|
|
501
|
-
|
|
514
|
+
he,
|
|
502
515
|
ce,
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
516
|
+
pe,
|
|
517
|
+
ne,
|
|
518
|
+
ae,
|
|
506
519
|
le,
|
|
507
|
-
|
|
520
|
+
fe,
|
|
521
|
+
re
|
|
508
522
|
];
|
|
509
|
-
|
|
523
|
+
Te(n, Xe);
|
|
510
524
|
export {
|
|
511
|
-
|
|
525
|
+
n as S,
|
|
512
526
|
be as a,
|
|
513
527
|
ve as g,
|
|
514
528
|
We as s
|