@arcgis/charts-components 4.34.0-next.143 → 4.34.0-next.144
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/{P4XTDT5I.js → 26T2FPTR.js} +2 -2
- package/dist/cdn/{2Y3VDB4A.js → 2DZFSDBN.js} +2 -2
- package/dist/cdn/2HQVR6SZ.js +4 -0
- package/dist/cdn/{2GXMFXNQ.js → 2J4AFSSU.js} +2 -2
- package/dist/cdn/{LDV74QGM.js → 2J4UJYZT.js} +2 -2
- package/dist/cdn/{WRQILX2B.js → 2VI6QT44.js} +2 -2
- package/dist/cdn/{OXK2XXFX.js → 2ZSQMPK2.js} +2 -2
- package/dist/cdn/{WZWKVPCZ.js → 324WBHNZ.js} +2 -2
- package/dist/cdn/{KTN3MTLN.js → 3DH2WQCY.js} +2 -2
- package/dist/cdn/{DBFWRZDJ.js → 3EQGJ46N.js} +2 -2
- package/dist/cdn/{UR5SKTGT.js → 3LVFJPNB.js} +2 -2
- package/dist/cdn/{CZJLDAUL.js → 3O63ZEAS.js} +2 -2
- package/dist/cdn/{GWOE3PWJ.js → 3S5BN4GW.js} +4 -4
- package/dist/cdn/3UQIPQ6U.js +4 -0
- package/dist/cdn/{6BUORERH.js → 3VLXQDI7.js} +2 -2
- package/dist/cdn/3XVJSKYV.js +4 -0
- package/dist/cdn/{OYNA3N5F.js → 452LBU4V.js} +2 -2
- package/dist/cdn/{6NO3CTQ7.js → 47AOTDB3.js} +2 -2
- package/dist/cdn/{GTOLCUY3.js → 4BC4VABF.js} +2 -2
- package/dist/cdn/{E2NEJIIA.js → 4GA7RI44.js} +2 -2
- package/dist/cdn/{LK353QED.js → 4VYULJJW.js} +1 -1
- package/dist/cdn/{FXJ6IIU7.js → 5GYKLEQM.js} +2 -2
- package/dist/cdn/{SRARQZI7.js → 5OERBFEV.js} +2 -2
- package/dist/cdn/5SHBQMVW.js +4 -0
- package/dist/cdn/{ARSMTOVV.js → 5VJ42MLL.js} +2 -2
- package/dist/cdn/{VBHUU653.js → 5WMWKB7J.js} +2 -2
- package/dist/cdn/{PWHN33GS.js → 64HSDV7Y.js} +2 -2
- package/dist/cdn/{L46ACBCL.js → 66G4VCA2.js} +2 -2
- package/dist/cdn/{V2QONJ63.js → 6M6NDQL6.js} +2 -2
- package/dist/cdn/{T4ODWNN3.js → 6PKWE2PB.js} +2 -2
- package/dist/cdn/{VSWXAAOC.js → 6RJ3EKY6.js} +2 -2
- package/dist/cdn/6SLJ2XOA.js +4 -0
- package/dist/cdn/6VOROOAO.js +4 -0
- package/dist/cdn/{5N7T7RYN.js → 7DOQLCKT.js} +2 -2
- package/dist/cdn/{7PGKNQGM.js → 7O3QYHLA.js} +2 -2
- package/dist/cdn/{VXSFM4K2.js → 7U3RNTZB.js} +2 -2
- package/dist/cdn/A7LSUGPI.js +4 -0
- package/dist/cdn/AFDFEA7M.js +4 -0
- package/dist/cdn/AFEYBTJC.js +4 -0
- package/dist/cdn/{4EDWTAFI.js → AFHYC374.js} +2 -2
- package/dist/cdn/{L6QNURLG.js → ANRJWG4F.js} +2 -2
- package/dist/cdn/B35VGUTH.js +4 -0
- package/dist/cdn/{SIC5XWJJ.js → BQOMTSTB.js} +2 -2
- package/dist/cdn/{UVEEOGJE.js → C2SCAZ57.js} +2 -2
- package/dist/cdn/C6LCXOTC.js +4 -0
- package/dist/cdn/CA7YIB7J.js +4 -0
- package/dist/cdn/{27DPRRIO.js → CKC6B2DW.js} +2 -2
- package/dist/cdn/COLTV55S.js +4 -0
- package/dist/cdn/{YZL2UVIR.js → CXO6JCQV.js} +2 -2
- package/dist/cdn/{QWT35GC3.js → D7XYADY6.js} +2 -2
- package/dist/cdn/{U4KW5WEC.js → DAVXOLUV.js} +2 -2
- package/dist/cdn/{UEDILFWW.js → EHCGN2NF.js} +2 -2
- package/dist/cdn/ENFIPPSJ.js +4 -0
- package/dist/cdn/EOYAAN5E.js +4 -0
- package/dist/cdn/{6RBT7U7F.js → ESUQO7J5.js} +2 -2
- package/dist/cdn/{H65DVXBA.js → EU437XMK.js} +2 -2
- package/dist/cdn/EXR5RQLP.js +4 -0
- package/dist/cdn/FKU45S4A.js +6 -0
- package/dist/cdn/{VDH7KNTF.js → FMZL75OL.js} +2 -2
- package/dist/cdn/{F4PNSY5G.js → FN5KCLZU.js} +2 -2
- package/dist/cdn/FNSZJRYO.js +4 -0
- package/dist/cdn/FZ6XXAI7.js +4 -0
- package/dist/cdn/GKMSHJIH.js +4 -0
- package/dist/cdn/{V3MBA5JM.js → GKUFSUNB.js} +2 -2
- package/dist/cdn/{SDTEUWGA.js → GTQ3T45E.js} +2 -2
- package/dist/cdn/{CS2LS2C4.js → H73SF3NZ.js} +2 -2
- package/dist/cdn/HMDP6YQB.js +4 -0
- package/dist/cdn/{L4NKYMCI.js → HTBKBCF3.js} +2 -2
- package/dist/cdn/{UTYZK53H.js → HXBO345N.js} +2 -2
- package/dist/cdn/{CCOKMCJT.js → I3FF3ITK.js} +1 -1
- package/dist/cdn/IE5CIF3O.js +4 -0
- package/dist/cdn/ILBPUKJK.js +4 -0
- package/dist/cdn/IM3FJOHF.js +4 -0
- package/dist/cdn/{7EOCM732.js → IMXOWATK.js} +2 -2
- package/dist/cdn/{ZEL3FQZS.js → IOB5KVZO.js} +2 -2
- package/dist/cdn/IXVKNKW3.js +4 -0
- package/dist/cdn/{YMTBJTUG.js → IY2KY4AZ.js} +2 -2
- package/dist/cdn/IZKXPUQX.js +4 -0
- package/dist/cdn/{6HZURVW6.js → JBE4H2O2.js} +2 -2
- package/dist/cdn/JEVESPWP.js +4 -0
- package/dist/cdn/{3OUS7FTI.js → JFYW4T4Q.js} +2 -2
- package/dist/cdn/{664ABRXE.js → JINHIAI2.js} +2 -2
- package/dist/cdn/{HR444NEK.js → JTPSBTFO.js} +2 -2
- package/dist/cdn/{LA3WXX6S.js → JZTHURAB.js} +2 -2
- package/dist/cdn/{6A7Q3TQQ.js → KBR526EG.js} +2 -2
- package/dist/cdn/{V2HKJ2XS.js → KGRVWUYS.js} +2 -2
- package/dist/cdn/{WCN5BTZK.js → KKJOXTSR.js} +1 -1
- package/dist/cdn/KO6HL5WN.js +4 -0
- package/dist/cdn/{BPU7FXWG.js → KYKSOV37.js} +2 -2
- package/dist/cdn/{AC564Y7N.js → L2BAYKOL.js} +2 -2
- package/dist/cdn/{LLP5LLYH.js → LHT7AL35.js} +2 -2
- package/dist/cdn/{423V5C4B.js → LJXSCSVX.js} +2 -2
- package/dist/cdn/{KK6BQ2CP.js → LK4UCIKB.js} +2 -2
- package/dist/cdn/{2MSHYKLY.js → LKQ2XH6L.js} +1 -1
- package/dist/cdn/{Y3F4QRXD.js → LKQAEQZ4.js} +2 -2
- package/dist/cdn/{HYJWUK62.js → LXROLJPG.js} +2 -2
- package/dist/cdn/{TX73U2FV.js → LYM4PVSU.js} +2 -2
- package/dist/cdn/MEZYLQ45.js +4 -0
- package/dist/cdn/{2T3TZHDL.js → MSXPH4IW.js} +2 -2
- package/dist/cdn/{GGJMORSZ.js → MUBP4D6K.js} +1 -1
- package/dist/cdn/{SMDXISGW.js → NGOQVF7W.js} +2 -2
- package/dist/cdn/NJVTIVJO.js +4 -0
- package/dist/cdn/{VOY4SECC.js → NK325K6C.js} +2 -2
- package/dist/cdn/{Q4MJCFNM.js → NZKJX6ED.js} +2 -2
- package/dist/cdn/{ENJOMNYR.js → O44Y3FT3.js} +2 -2
- package/dist/cdn/{OXIM4H35.js → O64LL5JP.js} +2 -2
- package/dist/cdn/O7ABFKF6.js +4 -0
- package/dist/cdn/{47UT4ZJL.js → O7PUN6ZV.js} +2 -2
- package/dist/cdn/{M7SQOAZH.js → ODBKODK2.js} +2 -2
- package/dist/cdn/{BHLQIXDL.js → OOALXYFO.js} +2 -2
- package/dist/cdn/{TE3X665C.js → OPBAP7ZZ.js} +2 -2
- package/dist/cdn/{MDE477I7.js → OQMEHUIV.js} +2 -2
- package/dist/cdn/{UGS4NW57.js → OTDS6EZI.js} +1 -1
- package/dist/cdn/OTQYWZXU.js +4 -0
- package/dist/cdn/OTZBMQH6.js +4 -0
- package/dist/cdn/{ZEVGYTNS.js → OZXWBKPW.js} +1 -1
- package/dist/cdn/{FZ2FCD6T.js → P5GLJFDO.js} +2 -2
- package/dist/cdn/{YPP3POBW.js → QBWY6DPH.js} +2 -2
- package/dist/cdn/QIS3JY7M.js +4 -0
- package/dist/cdn/QQ35LHQ5.js +4 -0
- package/dist/cdn/QSHXM4K4.js +4 -0
- package/dist/cdn/{ZK4WKR7K.js → QYCK6SCJ.js} +16 -16
- package/dist/cdn/{CLKJKT6J.js → R6GAXB4J.js} +2 -2
- package/dist/cdn/{NMNYQLQR.js → RDWNQEK3.js} +2 -2
- package/dist/cdn/RNVTPVVG.js +4 -0
- package/dist/cdn/RPYIRMJI.js +4 -0
- package/dist/cdn/{OKMUSD5P.js → RQ2ZKKIA.js} +2 -2
- package/dist/cdn/{DZ2QWGES.js → RSLPD74V.js} +2 -2
- package/dist/cdn/{SYX4WHDL.js → RXFAANT4.js} +2 -2
- package/dist/cdn/{BYR7CBJJ.js → RZAKBIOP.js} +2 -2
- package/dist/cdn/S4VVEI76.js +4 -0
- package/dist/cdn/{ZS3AU56P.js → SB4ENFB3.js} +2 -2
- package/dist/cdn/{5I5TZFA5.js → SDWGJR2S.js} +2 -2
- package/dist/cdn/{DDN6BJZK.js → SII7V63Y.js} +2 -2
- package/dist/cdn/{BHCBPBD5.js → SKJD5NC2.js} +2 -2
- package/dist/cdn/SME6FTK3.js +4 -0
- package/dist/cdn/{HXX354OX.js → SS6K4KIU.js} +2 -2
- package/dist/cdn/{7Y37RVXF.js → SSHVHR3U.js} +2 -2
- package/dist/cdn/{O27CE2NW.js → SWMOL4WC.js} +2 -2
- package/dist/cdn/{FB7DN3DT.js → SYLYSYJM.js} +1 -1
- package/dist/cdn/{4HULC2CI.js → T2SQNU52.js} +2 -2
- package/dist/cdn/{GNVGY7HC.js → T4V2RWLD.js} +2 -2
- package/dist/cdn/{ZTOG5M7S.js → TA3LA3EO.js} +2 -2
- package/dist/cdn/{YJDUWPXE.js → TK7EIFKF.js} +2 -2
- package/dist/cdn/UOXIKDZ3.js +4 -0
- package/dist/cdn/{GRIZMI32.js → V54C7QR7.js} +2 -2
- package/dist/cdn/{ECPH3ETO.js → VD7464WE.js} +2 -2
- package/dist/cdn/{TEXZSQQM.js → VF3BUMUL.js} +2 -2
- package/dist/cdn/{CTVURQ42.js → VNQJMRIR.js} +2 -2
- package/dist/cdn/{SA44ZUJK.js → VR5C5DQV.js} +2 -2
- package/dist/cdn/{YATDLDWB.js → VT4TGCUW.js} +2 -2
- package/dist/cdn/{QH3YQHCO.js → VWXK72J2.js} +2 -2
- package/dist/cdn/W4N6GP7X.js +4 -0
- package/dist/cdn/{B2PRCF3G.js → W5Q3Y3N4.js} +2 -2
- package/dist/cdn/{C722DGNP.js → WFLWRMBB.js} +2 -2
- package/dist/cdn/{HVU3PQF7.js → WHYKP7IA.js} +2 -2
- package/dist/cdn/{3VOZA7FO.js → WKZBZW57.js} +2 -2
- package/dist/cdn/{HHVXGICB.js → WNPMDSIC.js} +2 -2
- package/dist/cdn/{HBSUFJH5.js → WQLQYEUT.js} +2 -2
- package/dist/cdn/{7LXUT7LH.js → WSYMOSDL.js} +2 -2
- package/dist/cdn/XDSEA2AW.js +4 -0
- package/dist/cdn/{Z6WUUF2T.js → XE5PWURJ.js} +2 -2
- package/dist/cdn/{FJRBRN6U.js → XGJQE7ML.js} +2 -2
- package/dist/cdn/{U4NFJDZB.js → XJJJZ6HK.js} +1 -1
- package/dist/cdn/{KGGAJF4P.js → XKJAM2RL.js} +2 -2
- package/dist/cdn/{PRV2MZWR.js → XNXEABAK.js} +2 -2
- package/dist/cdn/{NX27XK5S.js → XU5NNLEE.js} +2 -2
- package/dist/cdn/{Z3J5IOTX.js → YAZ7WAIQ.js} +2 -2
- package/dist/cdn/{FTSITU6D.js → YJAFVJ5U.js} +2 -2
- package/dist/cdn/{M2NBNGYI.js → YOL4HGR7.js} +2 -2
- package/dist/cdn/{RL3UM6MF.js → YRTJBFQX.js} +2 -2
- package/dist/cdn/YTYT3OZE.js +4 -0
- package/dist/cdn/{NX4QKBZH.js → Z7HN543Y.js} +2 -2
- package/dist/cdn/ZEXUMO6C.js +4 -0
- package/dist/cdn/{U65RDXQB.js → ZK4Z2WFD.js} +2 -2
- package/dist/cdn/ZRRL7AJ4.js +4 -0
- package/dist/cdn/{5MDT56DS.js → ZSWJPEGA.js} +2 -2
- package/dist/cdn/{4TMOYJA4.js → ZU5OZ232.js} +2 -2
- package/dist/cdn/{S7PS3LSG.js → ZXQV2IGL.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +53 -53
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +306 -348
- package/dist/chunks/box-plot-model.js +239 -203
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +128 -98
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +705 -739
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +195 -232
- package/dist/chunks/histogram-data.js +64 -68
- package/dist/chunks/histogram-model.js +106 -141
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/index5.js +1 -1
- package/dist/chunks/interfaces.js +240 -279
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/interfaces3.js +1 -1
- package/dist/chunks/interfaces4.js +1 -1
- package/dist/chunks/line-chart-model.js +51 -54
- package/dist/chunks/model-with-baseline-stacking.js +77 -57
- package/dist/chunks/model-with-data-labels.js +111 -167
- package/dist/chunks/model-with-multi-axes.js +672 -766
- package/dist/chunks/model-with-rotation.js +9 -12
- package/dist/chunks/pie-chart-data.js +162 -160
- package/dist/chunks/pie-chart-model.js +364 -449
- package/dist/chunks/popover-ui-utils.js +7 -7
- package/dist/chunks/radar-chart-model.js +51 -54
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +138 -168
- package/dist/chunks/serial-chart-model.js +281 -272
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +49 -49
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +20 -18
- package/dist/components/arcgis-chart/customElement.js +955 -955
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +27 -27
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +61 -61
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +20 -20
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +34 -34
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +60 -60
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +23 -23
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +94 -96
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +50 -50
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +48 -48
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.d.ts +20 -0
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +68 -68
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +30 -30
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +23 -23
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +37 -37
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.d.ts +10 -0
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +32 -32
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +39 -39
- 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 -3
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +76 -75
- package/dist/components/arcgis-charts-config-scatter-plot-data/resource.d.ts +1 -0
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +12 -8
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/json-schema/index.d.ts +3 -0
- package/dist/loader.js +1 -1
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +1 -6
- package/dist/model/box-plot-model/box-plot-model.d.ts +70 -93
- package/dist/model/box-plot-model/utils/box-plot-data.d.ts +33 -27
- package/dist/model/chart-model/chart-model.d.ts +81 -189
- package/dist/model/chart-model/utils/types.d.ts +2 -2
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +4 -4
- package/dist/model/gauge-model/gauge-model.d.ts +61 -153
- package/dist/model/gauge-model/utils/gauge-data.d.ts +24 -10
- package/dist/model/gauge-model/utils/gauge-series.d.ts +12 -6
- package/dist/model/histogram-model/histogram-model.d.ts +41 -106
- package/dist/model/histogram-model/utils/histogram-data.d.ts +11 -4
- package/dist/model/line-chart-model/line-chart-model.d.ts +2 -7
- package/dist/model/mixins/model-with-basic-x-axis.d.ts +23 -68
- package/dist/model/mixins/model-with-color-match.d.ts +3 -14
- package/dist/model/mixins/model-with-data-labels.d.ts +7 -26
- package/dist/model/mixins/model-with-guides.d.ts +3 -7
- package/dist/model/mixins/model-with-legend.d.ts +24 -76
- package/dist/model/mixins/model-with-multi-axes.d.ts +14 -40
- package/dist/model/mixins/model-with-rotation.d.ts +3 -8
- package/dist/model/mixins/model-with-temporal-binning.d.ts +15 -48
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +88 -248
- package/dist/model/pie-chart-model/utils/pie-chart-data.d.ts +10 -5
- package/dist/model/pie-chart-model/utils/pie-chart-series.d.ts +10 -10
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +2 -7
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +26 -70
- package/dist/model/scatterplot-model/utils/scatterplot-data.d.ts +17 -5
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +75 -85
- package/dist/model/serial-chart-model/utils/serial-chart-data.d.ts +32 -36
- package/dist/model/serial-chart-model/utils/serial-chart-series.d.ts +14 -6
- package/dist/model/shared/axes.d.ts +9 -6
- package/dist/model/shared/data.d.ts +6 -0
- package/dist/model/shared/utils.d.ts +0 -1
- package/dist/model.js +5 -5
- package/dist/spec/data-source.d.ts +1 -0
- package/dist/spec/events.d.ts +1 -1
- package/dist/utils/defaults/index.d.ts +24 -23
- package/dist/utils/ui/popover-ui-utils.d.ts +1 -1
- package/package.json +4 -4
- package/dist/cdn/2I45E4HX.js +0 -4
- package/dist/cdn/2KA57ESL.js +0 -4
- package/dist/cdn/2KJ6DUBU.js +0 -4
- package/dist/cdn/33MZG54V.js +0 -4
- package/dist/cdn/3YPORNCM.js +0 -4
- package/dist/cdn/4VI6KX2G.js +0 -4
- package/dist/cdn/5ELXT6PR.js +0 -4
- package/dist/cdn/5SG67GSY.js +0 -4
- package/dist/cdn/5SJLW2TE.js +0 -4
- package/dist/cdn/6F46JHJD.js +0 -4
- package/dist/cdn/7HZIBDBN.js +0 -4
- package/dist/cdn/7UNGWO45.js +0 -4
- package/dist/cdn/A7F4LHVM.js +0 -4
- package/dist/cdn/AIHQHM4V.js +0 -4
- package/dist/cdn/BRFPPI6O.js +0 -6
- package/dist/cdn/CDCPDQP7.js +0 -4
- package/dist/cdn/D5534GMU.js +0 -4
- package/dist/cdn/EJUGL4QY.js +0 -4
- package/dist/cdn/FDGLYVMO.js +0 -4
- package/dist/cdn/FFOLYKDF.js +0 -4
- package/dist/cdn/FOOSRTYP.js +0 -4
- package/dist/cdn/GVWQ2O6V.js +0 -4
- package/dist/cdn/JLWIFYPQ.js +0 -4
- package/dist/cdn/JTBNI6SM.js +0 -4
- package/dist/cdn/KOMDBSMS.js +0 -4
- package/dist/cdn/KQQ7FWII.js +0 -4
- package/dist/cdn/LDLGWCT5.js +0 -4
- package/dist/cdn/MLCW5RKR.js +0 -4
- package/dist/cdn/N4MLKZVD.js +0 -4
- package/dist/cdn/N6TQQBVF.js +0 -4
- package/dist/cdn/NHEJYFBE.js +0 -4
- package/dist/cdn/NOKTLBNB.js +0 -4
- package/dist/cdn/P6VORUPJ.js +0 -4
- package/dist/cdn/QUW3APXX.js +0 -4
- package/dist/cdn/QYBP46E3.js +0 -4
- package/dist/cdn/RDDHCGUT.js +0 -4
- package/dist/cdn/RFTRBMMB.js +0 -4
- package/dist/cdn/RKIFKKFA.js +0 -4
- package/dist/cdn/S3STODPH.js +0 -4
- package/dist/cdn/UDDG2EO4.js +0 -4
- package/dist/cdn/VUORQAFM.js +0 -4
- package/dist/cdn/WU4NBI26.js +0 -4
- package/dist/cdn/X25LJUWS.js +0 -4
- package/dist/cdn/YCIOSELY.js +0 -4
- package/dist/cdn/YG76ZVWF.js +0 -4
- package/dist/cdn/YHX5XN4Y.js +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "@arcgis/toolkit/intl";
|
|
2
2
|
import "lodash-es";
|
|
3
|
-
import { W as
|
|
3
|
+
import { W as O } from "./series-types.js";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { a2 as n, aI as I, aB as x, cd as A, a5 as b, X as U, a$ as l, $ as g, a0 as c } from "./interfaces.js";
|
|
6
6
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
7
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
8
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -10,118 +10,97 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
10
10
|
import "@arcgis/core/time/TimeExtent.js";
|
|
11
11
|
import "@arcgis/core/core/promiseUtils.js";
|
|
12
12
|
import "@arcgis/core/request.js";
|
|
13
|
-
import
|
|
14
|
-
import { j as
|
|
13
|
+
import "./runtime.js";
|
|
14
|
+
import { j as o } from "./index4.js";
|
|
15
15
|
import "@arcgis/toolkit/dom";
|
|
16
|
-
import { C as
|
|
17
|
-
import {
|
|
16
|
+
import { C as P, M as W, a as D } from "./model-with-multi-axes.js";
|
|
17
|
+
import { B as N } from "./common.js";
|
|
18
|
+
import { M as V, a as E, b as T, c as R } from "./model-with-data-labels.js";
|
|
18
19
|
import "@arcgis/core/intl.js";
|
|
19
|
-
import { M as
|
|
20
|
-
import { i as
|
|
21
|
-
import { g as
|
|
22
|
-
import { g as $, s as q, a as G, b as H, c as
|
|
20
|
+
import { M as z } from "./model-with-rotation.js";
|
|
21
|
+
import { i as k, f as K, e as Y } from "./data.js";
|
|
22
|
+
import { g as j, s as d, a as X, b as f } from "./series.js";
|
|
23
|
+
import { g as $, s as q, a as G, b as H, c as m, d as u, e as S, f as y, h as p, i as J, j as Q, k as Z, l as C, m as ee, n as te, o as ie, p as L, q as se, r as _, t as re, u as F, v as oe, w as ne, x as ae, y as he, z as le, A as ge, B as w } from "./box-plot-data.js";
|
|
23
24
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
24
25
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
25
|
-
v4.34.0-next.
|
|
26
|
-
class
|
|
26
|
+
v4.34.0-next.144 */
|
|
27
|
+
class ce extends P {
|
|
27
28
|
constructor() {
|
|
28
|
-
super(...arguments), this._chartType =
|
|
29
|
-
}
|
|
30
|
-
static {
|
|
31
|
-
this.supportsCustomSort = !0;
|
|
29
|
+
super(...arguments), this._chartType = O.BoxPlotSeries, this._category = n, this._splitByField = "", this._numericFields = [];
|
|
32
30
|
}
|
|
33
31
|
async setup(e) {
|
|
34
|
-
await this.loadConfigFromLayer(e), this.
|
|
35
|
-
v(document.documentElement).t9nLocale,
|
|
36
|
-
b("./assets/common/t9n"),
|
|
37
|
-
"messages."
|
|
38
|
-
), e.config !== void 0 && await this.updateSeriesFromLayerFilter(), typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
32
|
+
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && await this.updateSeriesFromLayerFilter(), typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
39
33
|
}
|
|
40
34
|
// ---------------------------------------------------------------------------------------------
|
|
41
35
|
// #region Data Props
|
|
42
36
|
// ---------------------------------------------------------------------------------------------
|
|
43
37
|
/**
|
|
44
|
-
*
|
|
45
|
-
* @returns {string}
|
|
38
|
+
* The category field for the box plot.
|
|
46
39
|
*/
|
|
47
|
-
|
|
48
|
-
return
|
|
40
|
+
get category() {
|
|
41
|
+
return this._category;
|
|
49
42
|
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
54
|
-
*/
|
|
55
|
-
async setCategory(e) {
|
|
56
|
-
await q(e, this._config, this.layerInfo), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setCategory");
|
|
43
|
+
set category(e) {
|
|
44
|
+
const t = e.trim() === "";
|
|
45
|
+
this._category = t ? n : e, this.dirtyAsyncSetters.push("category"), this.processSeriesRebuild();
|
|
57
46
|
}
|
|
58
47
|
/**
|
|
59
|
-
*
|
|
60
|
-
* @returns {string[]}
|
|
48
|
+
* The numeric fields array for the box plot.
|
|
61
49
|
*/
|
|
62
|
-
|
|
63
|
-
return
|
|
50
|
+
get numericFields() {
|
|
51
|
+
return this._numericFields;
|
|
64
52
|
}
|
|
65
|
-
|
|
66
|
-
* Sets the numeric field or numeric fields array for the box plot.
|
|
67
|
-
* @param {string[] | string} newNumericFields The new numeric field or numeric fields array.
|
|
68
|
-
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
69
|
-
*/
|
|
70
|
-
async setNumericFields(e) {
|
|
53
|
+
set numericFields(e) {
|
|
71
54
|
const { layerFieldsInfo: t } = this.layerInfo;
|
|
72
|
-
typeof e == "string" && (e = [e]),
|
|
55
|
+
typeof e == "string" && (e = [e]), k(t, e) ? (this._numericFields = e, this.dirtyAsyncSetters.push("numericFields"), this.processSeriesRebuild()) : console.log("Invalid numericFields");
|
|
73
56
|
}
|
|
74
57
|
/**
|
|
75
|
-
*
|
|
76
|
-
* @returns {string}
|
|
58
|
+
* The split-by field for the box plot.
|
|
77
59
|
*/
|
|
78
|
-
|
|
79
|
-
return
|
|
60
|
+
get splitByField() {
|
|
61
|
+
return this._splitByField;
|
|
80
62
|
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
* @param {string} newSplitByField The new split-by field.
|
|
84
|
-
* @async **This method is `async` and must be awaited for the changes to take effect.**
|
|
85
|
-
*/
|
|
86
|
-
async setSplitByField(e) {
|
|
87
|
-
j(this.layerInfo.layerFieldsInfo, e) ? (await Q(e, this._config, this.layerInfo), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setSplitByField")) : console.log("Invalid splitByField");
|
|
63
|
+
set splitByField(e) {
|
|
64
|
+
K(this.layerInfo.layerFieldsInfo, e) ? (this._splitByField = e, this.dirtyAsyncSetters.push("splitByField"), this.processSeriesRebuild()) : console.log("Invalid splitByField");
|
|
88
65
|
}
|
|
89
66
|
/**
|
|
90
|
-
*
|
|
91
|
-
* @returns {boolean}
|
|
67
|
+
* Whether outliers are shown.
|
|
92
68
|
*/
|
|
93
|
-
|
|
94
|
-
return
|
|
69
|
+
get showOutliers() {
|
|
70
|
+
return $(this._config);
|
|
95
71
|
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
72
|
+
set showOutliers(e) {
|
|
73
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
74
|
+
q({
|
|
75
|
+
newShowOutliers: e,
|
|
76
|
+
config: this._config,
|
|
77
|
+
layerInfo: this.layerInfo,
|
|
78
|
+
commonStrings: this.commonStrings
|
|
79
|
+
}), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("showOutliers");
|
|
80
|
+
});
|
|
103
81
|
}
|
|
104
82
|
/**
|
|
105
|
-
*
|
|
106
|
-
* @returns {boolean}
|
|
83
|
+
* Whether values are standardized as z-scores.
|
|
107
84
|
*/
|
|
108
|
-
|
|
109
|
-
return
|
|
85
|
+
get standardizeValues() {
|
|
86
|
+
return G(this._config);
|
|
110
87
|
}
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
88
|
+
set standardizeValues(e) {
|
|
89
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
90
|
+
H({
|
|
91
|
+
newStandardizeValues: e,
|
|
92
|
+
config: this._config,
|
|
93
|
+
layerInfo: this.layerInfo,
|
|
94
|
+
commonStrings: this.commonStrings
|
|
95
|
+
}), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("standardizeValues");
|
|
96
|
+
});
|
|
118
97
|
}
|
|
119
98
|
/**
|
|
120
99
|
* Gets the sort order of the box plot data.
|
|
121
100
|
* @returns {"xAxisAsc" | "xAxisDesc"| "meanAsc" | "meanDesc" | "medianAsc" | "medianDesc" | "customSort"}
|
|
122
101
|
*/
|
|
123
102
|
getSortOrder() {
|
|
124
|
-
return
|
|
103
|
+
return m(this._config);
|
|
125
104
|
}
|
|
126
105
|
/**
|
|
127
106
|
* Sets the sort order of the box plot data.
|
|
@@ -129,92 +108,147 @@ class Ce extends D {
|
|
|
129
108
|
* @param {string[]} orderByList The new list of category's values for custom sort.
|
|
130
109
|
*/
|
|
131
110
|
setSortOrder(e, t) {
|
|
132
|
-
|
|
111
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
112
|
+
u(e, this._config, t), this.emitConfigUpdate("setSortOrder");
|
|
113
|
+
});
|
|
133
114
|
}
|
|
134
115
|
/**
|
|
135
116
|
* Gets the list of the category values for the chart.
|
|
136
117
|
* @returns {string[]}
|
|
137
118
|
*/
|
|
138
119
|
async getCustomSortValues() {
|
|
139
|
-
return await
|
|
120
|
+
return await S(this._config, this.layerInfo);
|
|
140
121
|
}
|
|
141
122
|
/**
|
|
142
|
-
*
|
|
143
|
-
* @
|
|
123
|
+
* Sets the data filter for the bar chart.
|
|
124
|
+
* @param {WebChartDataFilters | undefined} newDataFilter The new data filter.
|
|
144
125
|
*/
|
|
145
|
-
|
|
146
|
-
|
|
126
|
+
async setDataFilters(e) {
|
|
127
|
+
super.setDataFilters(e);
|
|
128
|
+
const t = m(this._config);
|
|
129
|
+
if (t === N.customSort) {
|
|
130
|
+
const i = await S(this._config, this.layerInfo);
|
|
131
|
+
u(t, this._config, i);
|
|
132
|
+
}
|
|
133
|
+
this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("setDataFilter");
|
|
147
134
|
}
|
|
148
135
|
/**
|
|
149
|
-
*
|
|
150
|
-
* @param {string[]} newOrderByList The new list of category's values
|
|
136
|
+
* The list of category's values for custom sort
|
|
151
137
|
*/
|
|
152
|
-
|
|
153
|
-
|
|
138
|
+
get orderByList() {
|
|
139
|
+
return y(this._config);
|
|
140
|
+
}
|
|
141
|
+
set orderByList(e) {
|
|
142
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
143
|
+
p(e, this._config), this.emitConfigUpdate("orderByList");
|
|
144
|
+
});
|
|
154
145
|
}
|
|
155
146
|
/**
|
|
156
147
|
* Updates the series based on the layer filter.
|
|
157
148
|
* @async **This method is `async` and must be awaited for the changes to take effect.*
|
|
158
149
|
*/
|
|
159
150
|
async updateSeriesFromLayerFilter() {
|
|
160
|
-
await
|
|
161
|
-
splitByField: this.getSplitByField(),
|
|
162
|
-
numericFields: this.getNumericFields(),
|
|
163
|
-
category: this.getCategory(),
|
|
164
|
-
config: this._config,
|
|
165
|
-
layerInfo: this.layerInfo
|
|
166
|
-
}), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("updateSeriesFromLayerFilter");
|
|
151
|
+
this.dirtyAsyncSetters.push("updateSeriesFromLayerFilter"), await this.processSeriesRebuild();
|
|
167
152
|
}
|
|
168
153
|
// ---------------------------------------------------------------------------------------------
|
|
169
154
|
// #region Series Props
|
|
170
155
|
// ---------------------------------------------------------------------------------------------
|
|
171
156
|
/**
|
|
172
|
-
*
|
|
173
|
-
* @returns {boolean | undefined}
|
|
157
|
+
* Whether mean lines are shown.
|
|
174
158
|
*/
|
|
175
|
-
|
|
176
|
-
return
|
|
159
|
+
get showMeanLines() {
|
|
160
|
+
return J(this._config);
|
|
177
161
|
}
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
this.previousMeanLinesBoxColor
|
|
187
|
-
);
|
|
188
|
-
this.previousMeanLinesBoxColor = t, this.emitConfigUpdate("setShowMeanLines");
|
|
162
|
+
set showMeanLines(e) {
|
|
163
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
164
|
+
const { previousMeanLinesBoxColor: t } = Q({
|
|
165
|
+
newShowMeanLines: e,
|
|
166
|
+
config: this._config,
|
|
167
|
+
commonStrings: this.commonStrings,
|
|
168
|
+
previousMeanLinesBoxColor: this.previousMeanLinesBoxColor
|
|
169
|
+
});
|
|
170
|
+
this.previousMeanLinesBoxColor = t, this.emitConfigUpdate("showMeanLines");
|
|
171
|
+
});
|
|
189
172
|
}
|
|
190
173
|
/**
|
|
191
|
-
*
|
|
192
|
-
* @returns {Color | undefined}
|
|
174
|
+
* The color of the boxes when showing mean lines. Only applicable when mean lines are shown.
|
|
193
175
|
*/
|
|
194
|
-
|
|
195
|
-
return
|
|
176
|
+
get meanLinesBoxColor() {
|
|
177
|
+
return Z(this._config);
|
|
196
178
|
}
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
setMeanLinesBoxColor(e) {
|
|
202
|
-
y(e, this._config), this.emitConfigUpdate("setMeanLinesBoxColor");
|
|
179
|
+
set meanLinesBoxColor(e) {
|
|
180
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
181
|
+
C(e, this._config), this.emitConfigUpdate("meanLinesBoxColor");
|
|
182
|
+
});
|
|
203
183
|
}
|
|
204
184
|
// ---------------------------------------------------------------------------------------------
|
|
205
185
|
// #region Protected Methods
|
|
206
186
|
// ---------------------------------------------------------------------------------------------
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
187
|
+
/**
|
|
188
|
+
* Sets up the local props based on the current config.
|
|
189
|
+
* @category Protected
|
|
190
|
+
*/
|
|
191
|
+
setupLocalProps() {
|
|
192
|
+
this._category = ee(this._config), this._splitByField = te(this._config), this._numericFields = ie(this._config);
|
|
193
|
+
}
|
|
194
|
+
generateDefaultConfig() {
|
|
195
|
+
const e = I(this.commonStrings);
|
|
196
|
+
return e.series = [x(this.commonStrings)], e;
|
|
210
197
|
}
|
|
211
198
|
/**
|
|
212
199
|
* Resets the config to the default config
|
|
213
200
|
*/
|
|
214
|
-
|
|
201
|
+
resetConfig() {
|
|
215
202
|
const e = this._config.id;
|
|
216
|
-
this._config =
|
|
203
|
+
this._config = this.generateDefaultConfig(), this._config.id = e, this.setupLocalProps(), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate("resetConfig");
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Determines if we can rebuild the series synchronously.
|
|
207
|
+
* We can call the build new series function synchronously when either is true:
|
|
208
|
+
* - there is no split-by field
|
|
209
|
+
* - there are multiple numeric fields
|
|
210
|
+
* @category Protected
|
|
211
|
+
*/
|
|
212
|
+
canUseSynchronousSeriesRebuild() {
|
|
213
|
+
return this.splitByField === "" || this.numericFields.length > 1;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* Processes the series rebuild.
|
|
217
|
+
* If multiple async setters are called in succession, this function will only rebuild the series once after all setters have been called.
|
|
218
|
+
* @category Protected
|
|
219
|
+
* @async
|
|
220
|
+
*/
|
|
221
|
+
async processSeriesRebuild() {
|
|
222
|
+
if (this.layerInfo !== void 0) {
|
|
223
|
+
const e = this.dirtyAsyncSetters[this.dirtyAsyncSetters.length - 1];
|
|
224
|
+
if (this.canUseSynchronousSeriesRebuild())
|
|
225
|
+
this.dirtyAsyncSetters = [], L(this.getBuildNewSeriesProps());
|
|
226
|
+
else if (!this.asyncConfigUpdateInProgress) {
|
|
227
|
+
for (this.asyncConfigUpdateInProgress = !0, this.setupFinished = new Promise((t) => {
|
|
228
|
+
this.resolveSetup = t;
|
|
229
|
+
}); this.dirtyAsyncSetters.length > 0; )
|
|
230
|
+
this.dirtyAsyncSetters = [], await L(this.getBuildNewSeriesProps());
|
|
231
|
+
this.asyncConfigUpdateInProgress = !1, this.resolveSetup?.();
|
|
232
|
+
}
|
|
233
|
+
this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange")), this.emitConfigUpdate(e);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
//#endregion
|
|
237
|
+
// #region Private Methods
|
|
238
|
+
/**
|
|
239
|
+
* Gets the properties needed to build a new series array.
|
|
240
|
+
*/
|
|
241
|
+
getBuildNewSeriesProps() {
|
|
242
|
+
return {
|
|
243
|
+
category: this.category,
|
|
244
|
+
splitByField: this.splitByField,
|
|
245
|
+
numericFields: this.numericFields,
|
|
246
|
+
config: this._config,
|
|
247
|
+
layerInfo: this.layerInfo,
|
|
248
|
+
commonStrings: this.commonStrings
|
|
249
|
+
};
|
|
217
250
|
}
|
|
251
|
+
// #endregion
|
|
218
252
|
// ---------------------------------------------------------------------------------------------
|
|
219
253
|
// #region Series Methods
|
|
220
254
|
// ---------------------------------------------------------------------------------------------
|
|
@@ -224,7 +258,7 @@ class Ce extends D {
|
|
|
224
258
|
* @returns {string | undefined}
|
|
225
259
|
*/
|
|
226
260
|
getSeriesName(e) {
|
|
227
|
-
return
|
|
261
|
+
return se(e, this._config);
|
|
228
262
|
}
|
|
229
263
|
/**
|
|
230
264
|
* Sets name of the series based on the series index.
|
|
@@ -232,7 +266,9 @@ class Ce extends D {
|
|
|
232
266
|
* @param {number} seriesIndex The index of the series.
|
|
233
267
|
*/
|
|
234
268
|
setSeriesName(e, t) {
|
|
235
|
-
|
|
269
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
270
|
+
_(e, t, this._config), this.emitConfigUpdate("setSeriesName");
|
|
271
|
+
});
|
|
236
272
|
}
|
|
237
273
|
/**
|
|
238
274
|
* Gets the color of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -240,7 +276,7 @@ class Ce extends D {
|
|
|
240
276
|
* @returns {Color | undefined}
|
|
241
277
|
*/
|
|
242
278
|
getSeriesColor(e) {
|
|
243
|
-
return
|
|
279
|
+
return re(e, this._config);
|
|
244
280
|
}
|
|
245
281
|
/**
|
|
246
282
|
* Sets the color of the series based on the series index.
|
|
@@ -248,7 +284,9 @@ class Ce extends D {
|
|
|
248
284
|
* @param {number} seriesIndex The index of the series.
|
|
249
285
|
*/
|
|
250
286
|
setSeriesColor(e, t) {
|
|
251
|
-
|
|
287
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
288
|
+
F(e, t, this._config), this.emitConfigUpdate("setSeriesColor");
|
|
289
|
+
});
|
|
252
290
|
}
|
|
253
291
|
/**
|
|
254
292
|
* Gets the line style of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -260,8 +298,8 @@ class Ce extends D {
|
|
|
260
298
|
*/
|
|
261
299
|
getSeriesLineStyle(e) {
|
|
262
300
|
const t = this._config.series[e];
|
|
263
|
-
if (this.
|
|
264
|
-
return
|
|
301
|
+
if (this.showMeanLines === !0 && o(t))
|
|
302
|
+
return j(t);
|
|
265
303
|
}
|
|
266
304
|
/**
|
|
267
305
|
* Sets the line style of the series based on the series index.
|
|
@@ -272,8 +310,10 @@ class Ce extends D {
|
|
|
272
310
|
* @param {number} seriesIndex The index of the series.
|
|
273
311
|
*/
|
|
274
312
|
setSeriesLineStyle(e, t) {
|
|
275
|
-
|
|
276
|
-
|
|
313
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
314
|
+
const i = this._config.series[t];
|
|
315
|
+
this.showMeanLines === !0 && o(i) && d(e, i), this.emitConfigUpdate("setSeriesLineStyle");
|
|
316
|
+
});
|
|
277
317
|
}
|
|
278
318
|
/**
|
|
279
319
|
* Gets the line width of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -285,7 +325,7 @@ class Ce extends D {
|
|
|
285
325
|
*/
|
|
286
326
|
getSeriesLineWidth(e) {
|
|
287
327
|
const t = this._config.series[e];
|
|
288
|
-
if (this.
|
|
328
|
+
if (this.showMeanLines === !0 && o(t))
|
|
289
329
|
return X(t);
|
|
290
330
|
}
|
|
291
331
|
/**
|
|
@@ -297,22 +337,21 @@ class Ce extends D {
|
|
|
297
337
|
* @param {number} seriesIndex The index of the series.
|
|
298
338
|
*/
|
|
299
339
|
setSeriesLineWidth(e, t) {
|
|
300
|
-
|
|
301
|
-
|
|
340
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
341
|
+
const i = this._config.series[t];
|
|
342
|
+
this.showMeanLines === !0 && o(i) && f(e, i), this.emitConfigUpdate("setSeriesLineWidth");
|
|
343
|
+
});
|
|
302
344
|
}
|
|
303
345
|
/**
|
|
304
|
-
*
|
|
305
|
-
* @returns {string[]}
|
|
346
|
+
* The order of the series array by returning an array of series ids.
|
|
306
347
|
*/
|
|
307
|
-
|
|
308
|
-
return
|
|
348
|
+
get orderOfSeries() {
|
|
349
|
+
return oe(this._config);
|
|
309
350
|
}
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
setOrderOfSeries(e) {
|
|
315
|
-
fe(e, this._config), this.emitConfigUpdate("setOrderOfSeries");
|
|
351
|
+
set orderOfSeries(e) {
|
|
352
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
353
|
+
ne(e, this._config), this.emitConfigUpdate("orderOfSeries");
|
|
354
|
+
});
|
|
316
355
|
}
|
|
317
356
|
/**
|
|
318
357
|
* Moves a series from one index in the series array to another.
|
|
@@ -320,16 +359,17 @@ class Ce extends D {
|
|
|
320
359
|
* @param {number} toIndex Index to move the series to.
|
|
321
360
|
*/
|
|
322
361
|
moveSeries(e, t) {
|
|
323
|
-
|
|
362
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
363
|
+
ae(e, t, this._config), this.emitConfigUpdate("moveSeries");
|
|
364
|
+
});
|
|
324
365
|
}
|
|
325
366
|
/**
|
|
326
|
-
*
|
|
367
|
+
* The index of the box plot series in the series array in config object when show mean is true.
|
|
327
368
|
*
|
|
328
369
|
* **NOTE**: There is only one box plot series when show mean is true. The function returns '-1' if show mean is false.
|
|
329
|
-
* @param config - config object
|
|
330
370
|
*/
|
|
331
|
-
|
|
332
|
-
return
|
|
371
|
+
get boxPlotSeriesIndexWhenMeanLinesShown() {
|
|
372
|
+
return he(this._config);
|
|
333
373
|
}
|
|
334
374
|
/**
|
|
335
375
|
* Move the custom sort values in-place for the order by list in the config.
|
|
@@ -339,19 +379,19 @@ class Ce extends D {
|
|
|
339
379
|
* @param {number} toIndex The index to move the category item to.
|
|
340
380
|
*/
|
|
341
381
|
moveCustomSortValuesInOrderByList(e, t) {
|
|
342
|
-
|
|
343
|
-
|
|
382
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
383
|
+
const i = y(this._config), [s] = i.splice(e, 1);
|
|
384
|
+
i.splice(t, 0, s), p(i, this._config), this.emitConfigUpdate("moveCustomSortValuesInOrderByList");
|
|
385
|
+
});
|
|
344
386
|
}
|
|
345
387
|
// ---------------------------------------------------------------------------------------------
|
|
346
388
|
// #region General Methods
|
|
347
389
|
// ---------------------------------------------------------------------------------------------
|
|
348
390
|
/**
|
|
349
391
|
* Generate the proper chart title given the current config.
|
|
350
|
-
*
|
|
351
|
-
* @returns {string}
|
|
352
392
|
*/
|
|
353
|
-
|
|
354
|
-
return
|
|
393
|
+
generateChartTitle() {
|
|
394
|
+
return le(this._config, this.layerInfo, this.commonStrings);
|
|
355
395
|
}
|
|
356
396
|
/**
|
|
357
397
|
* Generate the proper x-axis title given the current config.
|
|
@@ -359,16 +399,13 @@ class Ce extends D {
|
|
|
359
399
|
* @returns {string}
|
|
360
400
|
*/
|
|
361
401
|
generateXAxisTitle() {
|
|
362
|
-
|
|
363
|
-
return e !== W ? O(this.layerInfo.layerFieldsInfo, e) : "";
|
|
402
|
+
return this._category !== n ? A(this.layerInfo.layerFieldsInfo, this._category) : "";
|
|
364
403
|
}
|
|
365
404
|
/**
|
|
366
405
|
* Generate the proper y-axis title given the current config.
|
|
367
|
-
*
|
|
368
|
-
* @returns {string}
|
|
369
406
|
*/
|
|
370
|
-
|
|
371
|
-
return
|
|
407
|
+
generateYAxisTitle() {
|
|
408
|
+
return ge(this._config, this.layerInfo, this.commonStrings);
|
|
372
409
|
}
|
|
373
410
|
// ---------------------------------------------------------------------------------------------
|
|
374
411
|
// #region Reset Methods
|
|
@@ -377,64 +414,63 @@ class Ce extends D {
|
|
|
377
414
|
* Resets the series styling to the default styling.
|
|
378
415
|
*/
|
|
379
416
|
resetSeriesStyling() {
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
417
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
418
|
+
for (let e = this.showMeanLines === !0 ? 1 : 0; e < this.seriesLength; e += 1) {
|
|
419
|
+
const t = this.getSeriesId(e), i = b({
|
|
420
|
+
colorIndex: e,
|
|
421
|
+
opacity: U
|
|
422
|
+
}), s = this._config.series[e];
|
|
423
|
+
F(i, e, this._config);
|
|
424
|
+
const r = w({
|
|
425
|
+
series: s,
|
|
426
|
+
splitByField: this._splitByField,
|
|
427
|
+
layerInfo: this.layerInfo,
|
|
428
|
+
commonStrings: this.commonStrings
|
|
429
|
+
});
|
|
430
|
+
_(r ?? t, e, this._config), this.showMeanLines === !0 && o(s) && (d(g, s), f(c, s));
|
|
431
|
+
}
|
|
432
|
+
this.showMeanLines === !0 && C(l, this._config), this._config.colorMatch = !0, this.emitConfigUpdate("resetSeriesStyling");
|
|
433
|
+
});
|
|
396
434
|
}
|
|
397
435
|
/**
|
|
398
436
|
* Returns whether the series styling is able to be reset.
|
|
399
437
|
* @returns {boolean}
|
|
400
438
|
*/
|
|
401
439
|
resetAvailable() {
|
|
402
|
-
const e = !this.
|
|
403
|
-
let
|
|
404
|
-
if (!e)
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
splitByField: this.getSplitByField(),
|
|
440
|
+
const e = !this.colorMatch, t = this.showMeanLines === !0 && this.meanLinesBoxColor !== l;
|
|
441
|
+
let i = !1, s = !1;
|
|
442
|
+
if (!e)
|
|
443
|
+
for (let r = this.showMeanLines === !0 ? 1 : 0; r < this.seriesLength; r += 1) {
|
|
444
|
+
const a = this._config.series[r], h = w({
|
|
445
|
+
series: a,
|
|
446
|
+
splitByField: this._splitByField,
|
|
410
447
|
layerInfo: this.layerInfo,
|
|
411
448
|
commonStrings: this.commonStrings
|
|
412
|
-
}),
|
|
413
|
-
if (h !== void 0 && h !==
|
|
414
|
-
|
|
449
|
+
}), v = this.getSeriesName(r);
|
|
450
|
+
if (h !== void 0 && h !== v) {
|
|
451
|
+
i = !0;
|
|
415
452
|
break;
|
|
416
453
|
}
|
|
417
|
-
if (
|
|
418
|
-
const
|
|
419
|
-
if (
|
|
420
|
-
|
|
454
|
+
if (this.showMeanLines === !0 && o(a)) {
|
|
455
|
+
const M = this.getSeriesLineStyle(r), B = this.getSeriesLineWidth(r);
|
|
456
|
+
if (M !== g || B !== c) {
|
|
457
|
+
s = !0;
|
|
421
458
|
break;
|
|
422
459
|
}
|
|
423
460
|
}
|
|
424
461
|
}
|
|
425
|
-
|
|
426
|
-
return e || i || o || n;
|
|
462
|
+
return e || t || i || s;
|
|
427
463
|
}
|
|
428
464
|
}
|
|
429
|
-
|
|
430
|
-
|
|
465
|
+
Y(ce, [
|
|
466
|
+
W,
|
|
431
467
|
V,
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
k,
|
|
468
|
+
E,
|
|
469
|
+
T,
|
|
435
470
|
z,
|
|
436
|
-
|
|
471
|
+
R,
|
|
472
|
+
D
|
|
437
473
|
]);
|
|
438
474
|
export {
|
|
439
|
-
|
|
475
|
+
ce as BoxPlotModel
|
|
440
476
|
};
|