@arcgis/charts-components 4.34.0-next.155 → 4.34.0-next.157
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/{6HYIQ356.js → 2ID2RVKZ.js} +2 -2
- package/dist/cdn/{HX7DCGMB.js → 2PWORPUQ.js} +2 -2
- package/dist/cdn/{WPTI7BGB.js → 2QLCP7ZF.js} +2 -2
- package/dist/cdn/{AZPUSFVL.js → 2SVP6RDG.js} +2 -2
- package/dist/cdn/{WBU2JSIX.js → 2V4H2FEO.js} +2 -2
- package/dist/cdn/{LOCIG4K2.js → 2WHBE4ZT.js} +2 -2
- package/dist/cdn/{W637WGDB.js → 2YFRRJTY.js} +2 -2
- package/dist/cdn/{FDOVN6FP.js → 34Z7BI45.js} +2 -2
- package/dist/cdn/{3UBHI5RA.js → 3JDEYC6D.js} +2 -2
- package/dist/cdn/{3VH5IHBD.js → 3NXJIAFU.js} +2 -2
- package/dist/cdn/{X4BP4TMV.js → 3QQ4DV5E.js} +2 -2
- package/dist/cdn/{URYR2AMP.js → 3QVLRXIQ.js} +2 -2
- package/dist/cdn/{QDODWVGA.js → 3VCBOP4Q.js} +2 -2
- package/dist/cdn/{AON42HUV.js → 3VFIS56Y.js} +1 -1
- package/dist/cdn/{4YLWNU6J.js → 3YSINQ2F.js} +2 -2
- package/dist/cdn/{RVM3LQBB.js → 3YT4EFYT.js} +2 -2
- package/dist/cdn/{LIHCC7AL.js → 43LZP3QJ.js} +2 -2
- package/dist/cdn/4DS3OI5Z.js +4 -0
- package/dist/cdn/{QPP732W5.js → 4GG4BXXX.js} +2 -2
- package/dist/cdn/{FTQ3JM5Q.js → 4HAXGFGL.js} +2 -2
- package/dist/cdn/{7TFC5YWG.js → 4JFSPH5E.js} +2 -2
- package/dist/cdn/{BK774JJR.js → 4VTWINB5.js} +2 -2
- package/dist/cdn/{V4H3Z3RQ.js → 4ZP5FMTA.js} +2 -2
- package/dist/cdn/{VIAM4JSN.js → 537QIJO2.js} +2 -2
- package/dist/cdn/{WCGVLWOA.js → 5AUZQ7XT.js} +2 -2
- package/dist/cdn/{YEXHOYVS.js → 5BVRWUUE.js} +2 -2
- package/dist/cdn/{3DSYR3DZ.js → 5DBXNRFX.js} +1 -1
- package/dist/cdn/{Q5DZP3DW.js → 5MGLNDES.js} +2 -2
- package/dist/cdn/{4LSEX6QK.js → 5N6BABDX.js} +2 -2
- package/dist/cdn/{RSJVLCOQ.js → 5XNSZ52Z.js} +2 -2
- package/dist/cdn/64HL7VGS.js +4 -0
- package/dist/cdn/{TJWMSPZJ.js → 66ZOY6E4.js} +1 -1
- package/dist/cdn/{HIUTBFEU.js → 67MXDGB4.js} +2 -2
- package/dist/cdn/6RLWZIUN.js +4 -0
- package/dist/cdn/{LQVVT7G2.js → 6WUFNOEN.js} +2 -2
- package/dist/cdn/{BM77QXIT.js → 6ZJCEO34.js} +2 -2
- package/dist/cdn/{3NBBOMN5.js → 6ZR7L4DJ.js} +2 -2
- package/dist/cdn/{WN7EDNVD.js → 743CXVWQ.js} +2 -2
- package/dist/cdn/{37DUU2GU.js → 7ASELTOG.js} +1 -1
- package/dist/cdn/{544RN7IM.js → 7KZJLWEV.js} +2 -2
- package/dist/cdn/{A5ZUCSLJ.js → 7RCFDA6Q.js} +2 -2
- package/dist/cdn/{MTQWMKJ6.js → AE3Y4FDR.js} +2 -2
- package/dist/cdn/{267IVT2N.js → BDK75S3J.js} +2 -2
- package/dist/cdn/{ISATR6GR.js → BE2EA5WA.js} +2 -2
- package/dist/cdn/{XLA7NOLN.js → BEF2F5UZ.js} +2 -2
- package/dist/cdn/{KVJXLX3K.js → BG7NIL5F.js} +2 -2
- package/dist/cdn/{P3LMSZDA.js → BSCL2IL6.js} +2 -2
- package/dist/cdn/{AL4CMYQK.js → BWDGH2ZQ.js} +2 -2
- package/dist/cdn/{Y62UUR2A.js → BWKNLQZ2.js} +2 -2
- package/dist/cdn/{GSBJSVBW.js → BYQQB7BN.js} +2 -2
- package/dist/cdn/{TR6ZHUFR.js → BZ63HLWU.js} +2 -2
- package/dist/cdn/{ZIVOWWE7.js → C3CEWZEF.js} +2 -2
- package/dist/cdn/{YF4JMWHR.js → CE3VTPDT.js} +2 -2
- package/dist/cdn/{O6AL6TPY.js → CGHTCMWZ.js} +2 -2
- package/dist/cdn/{OQRSHTBX.js → CMQCYQIH.js} +2 -2
- package/dist/cdn/{DAPBLFK5.js → CRIFUIIP.js} +2 -2
- package/dist/cdn/{TMJBMLAG.js → CVWVJ3A6.js} +1 -1
- package/dist/cdn/{GOPK5EMJ.js → CXOKRYRR.js} +2 -2
- package/dist/cdn/CZOZHMTD.js +4 -0
- package/dist/cdn/{NVZ2RBUL.js → DA7RF2SI.js} +2 -2
- package/dist/cdn/{GHDCVTXI.js → DGPPE6UN.js} +2 -2
- package/dist/cdn/{P2JMMU7G.js → DKCKLMVU.js} +2 -2
- package/dist/cdn/{TDHUCXAL.js → DSY274EO.js} +2 -2
- package/dist/cdn/{PLWL4EPM.js → DWR2THH7.js} +2 -2
- package/dist/cdn/{DBNPUEEN.js → ECNWD2N3.js} +2 -2
- package/dist/cdn/{2WLSFUPY.js → EFO3AFCZ.js} +2 -2
- package/dist/cdn/{DX6Q4GEN.js → EQSDLQZG.js} +2 -2
- package/dist/cdn/{OWO72ZAW.js → F2SI2CEG.js} +2 -2
- package/dist/cdn/{3IS6C3GS.js → FDHANGKE.js} +2 -2
- package/dist/cdn/{E3HJSLHR.js → FK7Z4HT6.js} +1 -1
- package/dist/cdn/FMNTFDFE.js +4 -0
- package/dist/cdn/{AFSQOB4U.js → FTSBUAGN.js} +2 -2
- package/dist/cdn/{YXBI2SUE.js → G6QDXLEK.js} +2 -2
- package/dist/cdn/{YWGUKBKF.js → GB4YYWYW.js} +2 -2
- package/dist/cdn/{CUKGCXAY.js → GBOILEQL.js} +2 -2
- package/dist/cdn/{CPDEXZPL.js → GC7LRVFW.js} +2 -2
- package/dist/cdn/{O4FY5WC6.js → GDQA4AAQ.js} +20 -20
- package/dist/cdn/{DRCOFG5K.js → HB6XGBH4.js} +2 -2
- package/dist/cdn/{NBYZ2O2A.js → HKEDP6T3.js} +1 -1
- package/dist/cdn/{5ZRWB362.js → HZK43NE2.js} +2 -2
- package/dist/cdn/{TTMAX2Y4.js → I6BKJIFL.js} +2 -2
- package/dist/cdn/{GFFT7VSK.js → IBZ5YXVA.js} +2 -2
- package/dist/cdn/{DQ5MS4NG.js → IFJLWRBP.js} +2 -2
- package/dist/cdn/{ZNCVJBYY.js → IFNX67DK.js} +2 -2
- package/dist/cdn/{DFUQC6PB.js → IHHXZRC2.js} +2 -2
- package/dist/cdn/{EJXMUA3T.js → IJ2O4TN7.js} +2 -2
- package/dist/cdn/{6Q4KFIU7.js → IVGLUBUX.js} +1 -1
- package/dist/cdn/{2SFKZKSU.js → J3MQV5O6.js} +2 -2
- package/dist/cdn/{2KO6UHZM.js → JF5UZREZ.js} +2 -2
- package/dist/cdn/{IX4CN3H2.js → JGUXGI46.js} +2 -2
- package/dist/cdn/{BOQWO2NX.js → JL2G6CWI.js} +2 -2
- package/dist/cdn/{V4WGUW3H.js → JO7B74MP.js} +2 -2
- package/dist/cdn/{EDIWC5LZ.js → JRDYNYHL.js} +2 -2
- package/dist/cdn/{GRRECYTK.js → K3ZWWCHK.js} +2 -2
- package/dist/cdn/K74GMLB6.js +4 -0
- package/dist/cdn/{BJ22KVIX.js → KA5RMBAW.js} +2 -2
- package/dist/cdn/{KB5IYEIK.js → L6ZUMZWQ.js} +2 -2
- package/dist/cdn/{B2MQU455.js → LNDVNPKY.js} +2 -2
- package/dist/cdn/{JOIDIAKC.js → LOT3TP4X.js} +2 -2
- package/dist/cdn/{WJEEOR4E.js → MDEUILI3.js} +2 -2
- package/dist/cdn/{UXAOY76F.js → MDZ5CAHP.js} +2 -2
- package/dist/cdn/{M2ZTKEEZ.js → MHMQD6AM.js} +1 -1
- package/dist/cdn/{Z45PGAVU.js → MVVENE5N.js} +2 -2
- package/dist/cdn/{TT5WVM2P.js → N4LJXSOB.js} +2 -2
- package/dist/cdn/{SIZMQJWO.js → N5UJ2UOL.js} +2 -2
- package/dist/cdn/{OBJ2EOJE.js → N67I6WNT.js} +2 -2
- package/dist/cdn/{4TZSNJMU.js → NFN6PZ63.js} +2 -2
- package/dist/cdn/{QHEURMDT.js → NFXCTCVB.js} +2 -2
- package/dist/cdn/{ZRSCDGPV.js → NM5FGAFC.js} +2 -2
- package/dist/cdn/{6JE7VOWM.js → NQVHTTEI.js} +2 -2
- package/dist/cdn/{PCE5MQPC.js → OGFYS43X.js} +2 -2
- package/dist/cdn/{SGGIT3CR.js → P2YOTHYJ.js} +2 -2
- package/dist/cdn/{CUJLSDJZ.js → P35BC6AN.js} +2 -2
- package/dist/cdn/P6NTSYFQ.js +42 -0
- package/dist/cdn/{6P3GWFXJ.js → PA5WAOHS.js} +2 -2
- package/dist/cdn/{WDB5EYHE.js → PC2CIW55.js} +2 -2
- package/dist/cdn/{HGSOGLJF.js → PD3Y4HY2.js} +2 -2
- package/dist/cdn/{FW4NHEQW.js → PESWCLQ3.js} +2 -2
- package/dist/cdn/{4PSDOJ2Z.js → PMJ5GFAU.js} +2 -2
- package/dist/cdn/{AR2Z7SI3.js → POS343J3.js} +2 -2
- package/dist/cdn/{Z2HXPLNY.js → PVT7I76U.js} +2 -2
- package/dist/cdn/{CGF6OCWR.js → PWBWFRSW.js} +2 -2
- package/dist/cdn/{B3Z7BRFX.js → PYCWJFX4.js} +2 -2
- package/dist/cdn/{GT6SNVBA.js → QDILZWDI.js} +2 -2
- package/dist/cdn/{J24Y32UA.js → QGHMTH5F.js} +2 -2
- package/dist/cdn/{FBJDFD2R.js → QPNPATSP.js} +2 -2
- package/dist/cdn/{LDKLYVOK.js → QVYPT635.js} +2 -2
- package/dist/cdn/{VNWEFVGQ.js → R3C63OAM.js} +2 -2
- package/dist/cdn/{B2IIWOS3.js → RI2LJM2L.js} +2 -2
- package/dist/cdn/{LCTHO7YE.js → RI74MZIA.js} +2 -2
- package/dist/cdn/{GK5QB5HE.js → RPH6NPVZ.js} +2 -2
- package/dist/cdn/{TKVWQINZ.js → RWKZEXWL.js} +2 -2
- package/dist/cdn/{DT7OW75P.js → RWYOP4PZ.js} +2 -2
- package/dist/cdn/{YZJ3TIZI.js → S2PT5VT7.js} +2 -2
- package/dist/cdn/{5HNMZLKN.js → S3H7X4PZ.js} +2 -2
- package/dist/cdn/{KVAUYGJA.js → S6OCLJPJ.js} +2 -2
- package/dist/cdn/{GRUTII4K.js → SB4FJYOO.js} +2 -2
- package/dist/cdn/{M5IXMTH4.js → SJQZRFAO.js} +2 -2
- package/dist/cdn/{ZR2WBAX6.js → SL36NZFI.js} +2 -2
- package/dist/cdn/{6QNGP53Z.js → SOPGZEQZ.js} +2 -2
- package/dist/cdn/{7O4ALZFT.js → SZFZEOOB.js} +2 -2
- package/dist/cdn/{XR3GCIKU.js → T34LMOEJ.js} +2 -2
- package/dist/cdn/{TLLA6Y4V.js → T34T5EN5.js} +2 -2
- package/dist/cdn/{NAVBIEJY.js → T4SJ35XR.js} +2 -2
- package/dist/cdn/{CKLSKOA4.js → TELZKVS5.js} +2 -2
- package/dist/cdn/{3U75LCOK.js → TFTQGFWP.js} +2 -2
- package/dist/cdn/{BX4KOYV5.js → TIESJRLD.js} +2 -2
- package/dist/cdn/{GM4KABKP.js → TNLN4IG4.js} +2 -2
- package/dist/cdn/{BMDLR2U6.js → TQWEHKLP.js} +2 -2
- package/dist/cdn/{FYHYALGT.js → TRXJLZQ6.js} +2 -2
- package/dist/cdn/{R3EWK5TM.js → UFAG7KV3.js} +2 -2
- package/dist/cdn/{K2H6OGTU.js → UGYFJZCP.js} +2 -2
- package/dist/cdn/{4WA27ES4.js → UIZVBNW7.js} +2 -2
- package/dist/cdn/{F4UDAYGN.js → ULGUXHQJ.js} +2 -2
- package/dist/cdn/{4RZPFB7E.js → UXY4UYU4.js} +2 -2
- package/dist/cdn/{DENOV4LI.js → V2LALXOK.js} +2 -2
- package/dist/cdn/{LKAXP4MJ.js → VBQI72IW.js} +2 -2
- package/dist/cdn/{U4I2EQ6G.js → VTXXXHHS.js} +2 -2
- package/dist/cdn/{I6RHQNXV.js → VUGG62A5.js} +2 -2
- package/dist/cdn/{NXI77CZD.js → VWR7W2CM.js} +2 -2
- package/dist/cdn/{BJQFBMKO.js → WBZAWBNB.js} +2 -2
- package/dist/cdn/{J3CGA74V.js → WUMUIXXP.js} +2 -2
- package/dist/cdn/{HZCZVDUN.js → WXLE6RPM.js} +2 -2
- package/dist/cdn/{ISW4IFHC.js → WYMOYDMS.js} +2 -2
- package/dist/cdn/{NHUF2VZI.js → WYXUJPL2.js} +2 -2
- package/dist/cdn/{DHC7GZWS.js → X5AG4BVK.js} +2 -2
- package/dist/cdn/{ACPUEWLL.js → XDKHANF4.js} +2 -2
- package/dist/cdn/{ACZZAXXN.js → XLZVVJLI.js} +1 -1
- package/dist/cdn/{XGG6LLQI.js → XN2FXAAC.js} +2 -2
- package/dist/cdn/{OAP3YV4N.js → Y2Z5WDYM.js} +2 -2
- package/dist/cdn/YEB5PHHQ.js +4 -0
- package/dist/cdn/{GCHK3RK3.js → YI6FQSBY.js} +2 -2
- package/dist/cdn/{Z7NIOFTW.js → YILS2F7H.js} +2 -2
- package/dist/cdn/{U2T7HUJZ.js → YJECHQY3.js} +2 -2
- package/dist/cdn/{IYCBIZ7I.js → YS5IY7K6.js} +2 -2
- package/dist/cdn/{G5J7QWSZ.js → YYLTLQIB.js} +2 -2
- package/dist/cdn/{OOQ6U57D.js → ZDZZHYUM.js} +2 -2
- package/dist/cdn/{NLA4DXNS.js → ZFY3C4FV.js} +2 -2
- package/dist/cdn/{V6WWWQJM.js → ZPVBLE5H.js} +2 -2
- package/dist/cdn/{6IKNC3IO.js → ZTBNEDCQ.js} +2 -2
- package/dist/cdn/{UZQOAGWY.js → ZUH3YHWE.js} +2 -2
- package/dist/cdn/{KI2GMJNN.js → ZXVA5VQH.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/data/selection/filter/index.d.ts +9 -0
- package/dist/chart-rendering/common/data/selection/filter/interfaces.d.ts +3 -0
- package/dist/chart-rendering/common/data/utils/query-parser/time-binning/index.d.ts +13 -0
- 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 +1 -1
- 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 +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- 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 +31 -45
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/config-update.js +1672 -1677
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/heat-chart-model.js +1 -1
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +439 -5952
- 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 +7828 -2254
- 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 +1 -1
- package/dist/chunks/model-with-baseline-stacking.js +18 -28
- package/dist/chunks/model-with-data-labels.js +1 -1
- package/dist/chunks/model-with-multi-axes.js +6 -10
- package/dist/chunks/model-with-rotation.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +5 -4
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- 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 +1 -1
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +2266 -2263
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- 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 +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 +1 -1
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- 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 +1 -1
- 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/loader.js +1 -1
- package/dist/model/chart-model/chart-model.d.ts +4 -9
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +30 -43
- package/dist/model/mixins/model-with-baseline-stacking.d.ts +4 -10
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +13 -17
- package/dist/model/mixins/model-with-multi-axes.d.ts +1 -0
- package/dist/model/mixins/utils/baseline-stacking.d.ts +5 -11
- package/dist/model/mixins/utils/line-marker-styling.d.ts +18 -23
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +5 -2
- package/dist/model.js +1 -1
- package/dist/spec/web-chart.d.ts +1 -1
- package/dist/utils/layer/query-parser/index.d.ts +8 -0
- package/dist/utils/layer/utils/index.d.ts +3 -3
- package/package.json +3 -3
- package/dist/cdn/5ZCX2TAT.js +0 -4
- package/dist/cdn/DRND3JKW.js +0 -4
- package/dist/cdn/DYQDT5Q3.js +0 -4
- package/dist/cdn/MBYAPXDT.js +0 -42
- package/dist/cdn/MFH4L33Y.js +0 -4
- package/dist/cdn/RK5AO36I.js +0 -4
- package/dist/cdn/UM43TNOG.js +0 -4
- package/dist/cdn/ZLUD2KZ3.js +0 -4
|
@@ -23,6 +23,11 @@ export declare class ComboBarLineChartModel extends SerialChartModel {
|
|
|
23
23
|
* @category Private
|
|
24
24
|
*/
|
|
25
25
|
protected initDefaultSeries(): void;
|
|
26
|
+
/**
|
|
27
|
+
* Changes the chart series type at the specified index from bar to line and vice-versa.
|
|
28
|
+
* @param {number} seriesIndex - The index of the series to update.
|
|
29
|
+
* @param {WebChartTypes} seriesType - The new chart series type to apply.
|
|
30
|
+
*/
|
|
26
31
|
setSeriesType(seriesIndex: number, seriesType: WebChartTypes): void;
|
|
27
32
|
/**
|
|
28
33
|
* Gets the line style of the series based on the series index. If the index is out of bounds, it will return `undefined`.
|
|
@@ -32,10 +37,9 @@ export declare class ComboBarLineChartModel extends SerialChartModel {
|
|
|
32
37
|
getSeriesLineStyle(seriesIndex: number): RESTSimpleLineSymbolStyle | undefined;
|
|
33
38
|
/**
|
|
34
39
|
* Sets the line style of the series based on the series index.
|
|
40
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
35
41
|
* @param {RESTSimpleLineSymbolStyle | undefined} newStyle The new style for the series.
|
|
36
42
|
* @param {number} seriesIndex The index of the series.
|
|
37
|
-
*
|
|
38
|
-
* **NOTE:** This method will only work if the series is a line chart series.
|
|
39
43
|
*/
|
|
40
44
|
setSeriesLineStyle(newStyle: RESTSimpleLineSymbolStyle | undefined, seriesIndex: number): void;
|
|
41
45
|
/**
|
|
@@ -46,10 +50,9 @@ export declare class ComboBarLineChartModel extends SerialChartModel {
|
|
|
46
50
|
getSeriesLineWidth(seriesIndex: number): number | undefined;
|
|
47
51
|
/**
|
|
48
52
|
* Sets the line width of the series based on the series index.
|
|
53
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
49
54
|
* @param {number | undefined} newWidth The new width for the series.
|
|
50
55
|
* @param {number} seriesIndex The index of the series.
|
|
51
|
-
*
|
|
52
|
-
* **NOTE:** This method will only work if the series is a line chart series.
|
|
53
56
|
*/
|
|
54
57
|
setSeriesLineWidth(newWidth: number | undefined, seriesIndex: number): void;
|
|
55
58
|
/**
|
|
@@ -60,10 +63,9 @@ export declare class ComboBarLineChartModel extends SerialChartModel {
|
|
|
60
63
|
getSeriesMarkerColor(seriesIndex: number): Color | undefined;
|
|
61
64
|
/**
|
|
62
65
|
* Sets the marker color of the series based on the series index.
|
|
66
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
63
67
|
* @param {Color | undefined} newColor The new color for the series.
|
|
64
68
|
* @param {number} seriesIndex The index of the series.
|
|
65
|
-
*
|
|
66
|
-
* **NOTE:** This method will only work if the series is a line chart series.
|
|
67
69
|
*/
|
|
68
70
|
setSeriesMarkerColor(newColor: Color | undefined, seriesIndex: number): void;
|
|
69
71
|
/**
|
|
@@ -74,10 +76,9 @@ export declare class ComboBarLineChartModel extends SerialChartModel {
|
|
|
74
76
|
getSeriesMarkerStyle(seriesIndex: number): RESTSimpleMarkerSymbolStyle | undefined;
|
|
75
77
|
/**
|
|
76
78
|
* Sets the marker style of the series based on the series index.
|
|
79
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
77
80
|
* @param {RESTSimpleMarkerSymbolStyle | undefined} newStyle The new style for the series.
|
|
78
81
|
* @param {number} seriesIndex The index of the series.
|
|
79
|
-
*
|
|
80
|
-
* **NOTE:** This method will only work if the series is a line chart series.
|
|
81
82
|
*/
|
|
82
83
|
setSeriesMarkerStyle(newStyle: RESTSimpleMarkerSymbolStyle | undefined, seriesIndex: number): void;
|
|
83
84
|
/**
|
|
@@ -88,10 +89,9 @@ export declare class ComboBarLineChartModel extends SerialChartModel {
|
|
|
88
89
|
getSeriesMarkerSize(seriesIndex: number): number | undefined;
|
|
89
90
|
/**
|
|
90
91
|
* Sets the marker size of the series based on the series index.
|
|
92
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
91
93
|
* @param {number | undefined} newSize The new size for the series.
|
|
92
94
|
* @param {number} seriesIndex The index of the series.
|
|
93
|
-
*
|
|
94
|
-
* **NOTE:** This method will only work if the series is a line chart series.
|
|
95
95
|
*/
|
|
96
96
|
setSeriesMarkerSize(newSize: number | undefined, seriesIndex: number): void;
|
|
97
97
|
/**
|
|
@@ -104,10 +104,9 @@ export declare class ComboBarLineChartModel extends SerialChartModel {
|
|
|
104
104
|
isLineSmoothed(seriesIndex: number): boolean;
|
|
105
105
|
/**
|
|
106
106
|
* Specify whether line segments of the series should be smoothed.
|
|
107
|
-
*
|
|
108
|
-
* @param {
|
|
109
|
-
*
|
|
110
|
-
* **NOTE:** This method will only work if the series is a line chart series.
|
|
107
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
108
|
+
* @param {boolean} smoothed - `true` if line segment of the series should be smoothed, `false` otherwise.
|
|
109
|
+
* @param {number} seriesIndex - The index of the series.
|
|
111
110
|
* @default false
|
|
112
111
|
*/
|
|
113
112
|
setLineSmoothed(smoothed: boolean, seriesIndex: number): void;
|
|
@@ -121,10 +120,9 @@ export declare class ComboBarLineChartModel extends SerialChartModel {
|
|
|
121
120
|
isAreaVisible(seriesIndex: number): boolean;
|
|
122
121
|
/**
|
|
123
122
|
* Specify whether the line series should show area.
|
|
124
|
-
*
|
|
125
|
-
* @param {
|
|
126
|
-
*
|
|
127
|
-
* **NOTE:** This method will only work if the series is a line chart series.
|
|
123
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
124
|
+
* @param {boolean} visible - `true` if the line series should show area, `false` otherwise.
|
|
125
|
+
* @param {number} seriesIndex - The index of the series.
|
|
128
126
|
*/
|
|
129
127
|
setAreaVisible(visible: boolean, seriesIndex: number): void;
|
|
130
128
|
/**
|
|
@@ -137,49 +135,39 @@ export declare class ComboBarLineChartModel extends SerialChartModel {
|
|
|
137
135
|
isMarkerVisible(seriesIndex: number): boolean;
|
|
138
136
|
/**
|
|
139
137
|
* Indicate whether to show or hide the markers/bullets of the line series.
|
|
140
|
-
*
|
|
141
|
-
* @param {
|
|
142
|
-
*
|
|
143
|
-
* **NOTE:** This method will only work if the series is a line chart series.
|
|
138
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
139
|
+
* @param {boolean} visible - `true` if the markers/bullets of the line series should be shown, `false` otherwise.
|
|
140
|
+
* @param {number} seriesIndex - The index of the series.
|
|
144
141
|
*/
|
|
145
142
|
setMarkerVisible(visible: boolean, seriesIndex: number): void;
|
|
146
143
|
/**
|
|
147
144
|
* Specify the color of the filled area for line chart.
|
|
145
|
+
* **Note:** `areaColor` will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
148
146
|
* @param {number} seriesIndex - The index of the series.
|
|
149
|
-
*
|
|
150
|
-
* NOTE: areaColor will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
151
|
-
*
|
|
152
147
|
* @returns {Color | undefined}
|
|
153
148
|
*/
|
|
154
149
|
getAreaColor(seriesIndex: number): Color | undefined;
|
|
155
150
|
/**
|
|
156
151
|
* Specify the color of the filled area for line chart.
|
|
157
|
-
*
|
|
158
|
-
* @param {
|
|
159
|
-
*
|
|
160
|
-
* **NOTE:** This method will only work if the series is a line chart series.
|
|
152
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
153
|
+
* @param {Color | undefined} color The color of the filled area for line chart.
|
|
154
|
+
* @param {number} seriesIndex The index of the series.
|
|
161
155
|
*/
|
|
162
156
|
setAreaColor(color: Color | undefined, seriesIndex: number): void;
|
|
163
157
|
/**
|
|
164
158
|
* Specify how negative values are treated in stacked series.
|
|
159
|
+
* **Note:** If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.
|
|
165
160
|
* @param {number} seriesIndex - The index of the series.
|
|
166
|
-
*
|
|
167
|
-
* NOTE: If true, negative values will be stacked on the base line.
|
|
168
|
-
* If false, negative values will be stacked in relation to their previous values in the stack.
|
|
169
|
-
*
|
|
170
161
|
* @default true
|
|
171
162
|
* @returns {boolean}
|
|
172
163
|
*/
|
|
173
164
|
isNegativeValuesStackedToBaseline(seriesIndex: number): boolean;
|
|
174
165
|
/**
|
|
175
166
|
* Specify how negative values are treated in stacked series.
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
* If false, negative values will be stacked in relation to their previous values in the stack.
|
|
181
|
-
*
|
|
182
|
-
* **NOTE:** This method will only work if the series is a line chart series.
|
|
167
|
+
* **Note:** If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.
|
|
168
|
+
* **Note:** This method will only work if the series is a line chart series.
|
|
169
|
+
* @param {boolean} stackNegativeValuesToBaseline - `true` if negative values should be stacked on the base line, `false` otherwise.
|
|
170
|
+
* @param {number} seriesIndex - The index of the series.
|
|
183
171
|
*/
|
|
184
172
|
setNegativeValuesStackedToBaseline(stackNegativeValuesToBaseline: boolean, seriesIndex: number): void;
|
|
185
173
|
/**
|
|
@@ -193,7 +181,7 @@ export declare class ComboBarLineChartModel extends SerialChartModel {
|
|
|
193
181
|
* @param {boolean} hide The value for hiding oversized labels.
|
|
194
182
|
* @param {number} seriesIndex The index of the series.
|
|
195
183
|
*
|
|
196
|
-
* **
|
|
184
|
+
* **Note:** This method will only work if the series is a bar chart series.
|
|
197
185
|
*/
|
|
198
186
|
setSeriesHideOversizedSideBySideLabels(hide: boolean | undefined, seriesIndex: number): void;
|
|
199
187
|
/**
|
|
@@ -204,10 +192,9 @@ export declare class ComboBarLineChartModel extends SerialChartModel {
|
|
|
204
192
|
getSeriesHideOversizedStackedLabels(seriesIndex: number): boolean | undefined;
|
|
205
193
|
/**
|
|
206
194
|
* Sets whether to hide oversized data labels of the stacked series based on the series index.
|
|
195
|
+
* **Note:** This method will only work if the series is a bar chart series.
|
|
207
196
|
* @param {boolean} hide The value for hiding oversized stacked labels.
|
|
208
197
|
* @param {number} seriesIndex The index of the series.
|
|
209
|
-
*
|
|
210
|
-
* **NOTE:** This method will only work if the series is a bar chart series.
|
|
211
198
|
*/
|
|
212
199
|
setSeriesHideOversizedStackedLabels(hide: boolean | undefined, seriesIndex: number): void;
|
|
213
200
|
}
|
|
@@ -5,23 +5,17 @@ export declare abstract class ModelWithBaselineStacking extends ChartModel {
|
|
|
5
5
|
protected _config: ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>;
|
|
6
6
|
/**
|
|
7
7
|
* Specify how negative values are treated in stacked series.
|
|
8
|
+
* **Note:** If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.
|
|
8
9
|
* @param {number} seriesIndex - The index of the series.
|
|
9
|
-
*
|
|
10
|
-
* NOTE: If true, negative values will be stacked on the base line.
|
|
11
|
-
* If false, negative values will be stacked in relation to their previous values in the stack.
|
|
12
|
-
*
|
|
13
10
|
* @default true
|
|
14
11
|
* @returns {boolean}
|
|
15
12
|
*/
|
|
16
13
|
isNegativeValuesStackedToBaseline(seriesIndex: number): boolean;
|
|
17
14
|
/**
|
|
18
15
|
* Specify how negative values are treated in stacked series.
|
|
19
|
-
*
|
|
20
|
-
* @param {
|
|
21
|
-
*
|
|
22
|
-
* NOTE: If true, negative values will be stacked on the base line.
|
|
23
|
-
* If false, negative values will be stacked in relation to their previous values in the stack.
|
|
24
|
-
*
|
|
16
|
+
* **Note:** If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.
|
|
17
|
+
* @param {boolean} stackNegativeValuesToBaseline - `true` if negative values should be stacked on the base line, `false` otherwise.
|
|
18
|
+
* @param {number} seriesIndex - The index of the series.
|
|
25
19
|
*/
|
|
26
20
|
setNegativeValuesStackedToBaseline(stackNegativeValuesToBaseline: boolean, seriesIndex: number): void;
|
|
27
21
|
}
|
|
@@ -74,8 +74,8 @@ export declare abstract class ModelWithLineMarkerStyling extends ChartModel {
|
|
|
74
74
|
isLineSmoothed(seriesIndex: number): boolean;
|
|
75
75
|
/**
|
|
76
76
|
* Specify whether line segments of the series should be smoothed.
|
|
77
|
-
* @param {boolean}
|
|
78
|
-
* @param {number}
|
|
77
|
+
* @param {boolean} smoothed - `true` if line segment of the series should be smoothed, `false` otherwise.
|
|
78
|
+
* @param {number} seriesIndex - The index of the series.
|
|
79
79
|
*/
|
|
80
80
|
setLineSmoothed(smoothed: boolean, seriesIndex: number): void;
|
|
81
81
|
/**
|
|
@@ -86,12 +86,10 @@ export declare abstract class ModelWithLineMarkerStyling extends ChartModel {
|
|
|
86
86
|
*/
|
|
87
87
|
getConnectLines(seriesIndex: number): boolean | undefined;
|
|
88
88
|
/**
|
|
89
|
-
* Specify
|
|
90
|
-
*
|
|
91
|
-
* @param {
|
|
92
|
-
*
|
|
93
|
-
* NOTE: Can be overridden by the temporal data setting `nullPolicy`.
|
|
94
|
-
*
|
|
89
|
+
* Specify whether to connect the lines when there's a gap in the data.
|
|
90
|
+
* **Note:** Can be overridden by the temporal data setting `nullPolicy`.
|
|
91
|
+
* @param {boolean | undefined} connect - Whether to connect the gap in the data
|
|
92
|
+
* @param {number} seriesIndex - The index of the series.
|
|
95
93
|
*/
|
|
96
94
|
setConnectLines(connect: boolean | undefined, seriesIndex: number): void;
|
|
97
95
|
/**
|
|
@@ -104,8 +102,8 @@ export declare abstract class ModelWithLineMarkerStyling extends ChartModel {
|
|
|
104
102
|
isAreaVisible(seriesIndex: number): boolean;
|
|
105
103
|
/**
|
|
106
104
|
* Specify whether the line series should show area.
|
|
107
|
-
* @param {boolean}
|
|
108
|
-
* @param {number}
|
|
105
|
+
* @param {boolean} visible - `true` if the line series should show area, `false` otherwise.
|
|
106
|
+
* @param {number} seriesIndex - The index of the series.
|
|
109
107
|
*/
|
|
110
108
|
setAreaVisible(visible: boolean, seriesIndex: number): void;
|
|
111
109
|
/**
|
|
@@ -118,23 +116,21 @@ export declare abstract class ModelWithLineMarkerStyling extends ChartModel {
|
|
|
118
116
|
isMarkerVisible(seriesIndex: number): boolean;
|
|
119
117
|
/**
|
|
120
118
|
* Indicate whether to show or hide the markers/bullets of the line series.
|
|
121
|
-
* @param {boolean}
|
|
122
|
-
* @param {number}
|
|
119
|
+
* @param {boolean} visible - `true` if the markers/bullets of the line series should be shown, `false` otherwise.
|
|
120
|
+
* @param {number} seriesIndex - The index of the series.
|
|
123
121
|
*/
|
|
124
122
|
setMarkerVisible(visible: boolean, seriesIndex: number): void;
|
|
125
123
|
/**
|
|
126
124
|
* Specify the color of the filled area for line chart.
|
|
125
|
+
* **Note:** `areaColor` will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
127
126
|
* @param {number} seriesIndex - The index of the series.
|
|
128
|
-
*
|
|
129
|
-
* NOTE: areaColor will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
130
|
-
*
|
|
131
127
|
* @returns {Color | undefined}
|
|
132
128
|
*/
|
|
133
129
|
getAreaColor(seriesIndex: number): Color | undefined;
|
|
134
130
|
/**
|
|
135
131
|
* Specify the color of the filled area for line chart.
|
|
136
|
-
* @param {Color | undefined}
|
|
137
|
-
* @param {number}
|
|
132
|
+
* @param {Color | undefined} color - The color of the filled area for line chart.
|
|
133
|
+
* @param {number} seriesIndex - The index of the series.
|
|
138
134
|
*/
|
|
139
135
|
setAreaColor(color: Color | undefined, seriesIndex: number): void;
|
|
140
136
|
}
|
|
@@ -103,6 +103,7 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
103
103
|
setAxisScrollbar(scrollbar: WebChartAxisScrollBar, axisIndex: number): void;
|
|
104
104
|
/**
|
|
105
105
|
* Gets the specified title text symbol. Contains styling information such as font, color, and symbol style.
|
|
106
|
+
* @param {number} axisIndex The index of the axis to get the title symbol for
|
|
106
107
|
* @returns {WebChartTextSymbol | undefined}
|
|
107
108
|
*/
|
|
108
109
|
getAxisTitleSymbol(axisIndex: number): WebChartTextSymbol | undefined;
|
|
@@ -2,25 +2,19 @@ import { ChartConfig } from '../../../utils';
|
|
|
2
2
|
import { ModelTypes } from '../../interfaces/common';
|
|
3
3
|
/**
|
|
4
4
|
* Specify how negative values are treated in stacked series.
|
|
5
|
+
* * **Note:** If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.
|
|
5
6
|
* @param {number} seriesIndex - The index of the series.
|
|
6
7
|
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
7
|
-
*
|
|
8
|
-
* NOTE: If true, negative values will be stacked on the base line.
|
|
9
|
-
* If false, negative values will be stacked in relation to their previous values in the stack.
|
|
10
|
-
*
|
|
11
8
|
* @default true
|
|
12
9
|
* @returns {boolean}
|
|
13
10
|
*/
|
|
14
11
|
export declare const isNegativeValuesStackedToBaseline: (seriesIndex: number, config: ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>) => boolean;
|
|
15
12
|
/**
|
|
16
13
|
* Specify how negative values are treated in stacked series.
|
|
17
|
-
*
|
|
18
|
-
* @param {
|
|
19
|
-
* @param {
|
|
20
|
-
*
|
|
21
|
-
* NOTE: If true, negative values will be stacked on the base line.
|
|
22
|
-
* If false, negative values will be stacked in relation to their previous values in the stack.
|
|
23
|
-
*
|
|
14
|
+
* **Note:** If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.
|
|
15
|
+
* @param {boolean} stackNegativeValuesToBaseline - `true` if negative values should be stacked on the base line, `false` otherwise.
|
|
16
|
+
* @param {number} seriesIndex - The index of the series.
|
|
17
|
+
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
24
18
|
*/
|
|
25
19
|
export declare const setNegativeValuesStackedToBaseline: (props: {
|
|
26
20
|
stackNegativeValuesToBaseline: boolean;
|
|
@@ -22,9 +22,9 @@ export declare const setMarkerSize: (newSize: number | undefined, seriesIndex: n
|
|
|
22
22
|
export declare const isLineSmoothed: (seriesIndex: number, config: ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.RadarChart>) => boolean;
|
|
23
23
|
/**
|
|
24
24
|
* Specify whether line segments of the series should be smoothed.
|
|
25
|
-
* @param {boolean}
|
|
26
|
-
* @param {number}
|
|
27
|
-
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>}
|
|
25
|
+
* @param {boolean} smoothed - `true` if line segment of the series should be smoothed, `false` otherwise.
|
|
26
|
+
* @param {number} seriesIndex - The index of the series.
|
|
27
|
+
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
28
28
|
*/
|
|
29
29
|
export declare const setLineSmoothed: (props: {
|
|
30
30
|
smoothed: boolean;
|
|
@@ -42,9 +42,9 @@ export declare const setLineSmoothed: (props: {
|
|
|
42
42
|
export declare const isAreaVisible: (seriesIndex: number, config: ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.RadarChart>) => boolean;
|
|
43
43
|
/**
|
|
44
44
|
* Specify whether the line series should show area.
|
|
45
|
-
* @param {boolean}
|
|
46
|
-
* @param {number}
|
|
47
|
-
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>}
|
|
45
|
+
* @param {boolean} visible - `true` if the line series should show area, `false` otherwise.
|
|
46
|
+
* @param {number} seriesIndex - The index of the series.
|
|
47
|
+
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
48
48
|
*/
|
|
49
49
|
export declare const setAreaVisible: (props: {
|
|
50
50
|
visible: boolean;
|
|
@@ -62,9 +62,9 @@ export declare const setAreaVisible: (props: {
|
|
|
62
62
|
export declare const isMarkerVisible: (seriesIndex: number, config: ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.RadarChart>) => boolean;
|
|
63
63
|
/**
|
|
64
64
|
* Indicate whether to show or hide the markers/bullets of the line series.
|
|
65
|
-
* @param {boolean}
|
|
66
|
-
* @param {number}
|
|
67
|
-
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>}
|
|
65
|
+
* @param {boolean} visible - `true` if the markers/bullets of the line series should be shown, `false` otherwise.
|
|
66
|
+
* @param {number} seriesIndex - The index of the series.
|
|
67
|
+
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
68
68
|
*/
|
|
69
69
|
export declare const setMarkerVisible: (props: {
|
|
70
70
|
visible: boolean;
|
|
@@ -73,21 +73,18 @@ export declare const setMarkerVisible: (props: {
|
|
|
73
73
|
}) => void;
|
|
74
74
|
/**
|
|
75
75
|
* Specify the color of the filled area for line chart.
|
|
76
|
+
* **Note:** areaColor will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
76
77
|
* @param {number} seriesIndex - The index of the series.
|
|
77
78
|
* @param {ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
78
|
-
*
|
|
79
|
-
* NOTE: areaColor will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
80
|
-
*
|
|
81
79
|
* @returns {Color | undefined}
|
|
82
80
|
*/
|
|
83
81
|
export declare const getAreaColor: (seriesIndex: number, config: ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.RadarChart>) => Color | undefined;
|
|
84
82
|
/**
|
|
85
83
|
* Specify the color of the filled area for line chart.
|
|
86
|
-
*
|
|
87
|
-
* @param {
|
|
88
|
-
* @param {
|
|
89
|
-
*
|
|
90
|
-
* NOTE: areaColor will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
84
|
+
* **Note:** areaColor will be applied only if `showArea` is true, and is defaulted to the line color if not provided.
|
|
85
|
+
* @param {Color | undefined} color - The color of the filled area for line chart.
|
|
86
|
+
* @param {number} seriesIndex - The index of the series.
|
|
87
|
+
* @param {ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
91
88
|
*/
|
|
92
89
|
export declare const setAreaColor: (props: {
|
|
93
90
|
color: Color | undefined;
|
|
@@ -98,17 +95,15 @@ export declare const setAreaColor: (props: {
|
|
|
98
95
|
* Specify whether to connect the lines when there's a gap in the data.
|
|
99
96
|
* @param {number} seriesIndex - The index of the series.
|
|
100
97
|
* @param {ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
101
|
-
*
|
|
102
98
|
* @returns {boolean | undefined}
|
|
103
99
|
*/
|
|
104
100
|
export declare const getConnectLines: (seriesIndex: number, config: ChartConfig<typeof ModelTypes.ComboBarLineChart> | ChartConfig<typeof ModelTypes.RadarChart>) => boolean | undefined;
|
|
105
101
|
/**
|
|
106
102
|
* Specify whether to connect the lines when there's a gap in the data.
|
|
107
|
-
*
|
|
108
|
-
* @param {
|
|
109
|
-
* @param {
|
|
110
|
-
*
|
|
111
|
-
* NOTE: Can be overridden by the temporal data setting `nullPolicy`.
|
|
103
|
+
* **Note:** Can be overridden by the temporal data setting `nullPolicy`.
|
|
104
|
+
* @param {boolean | undefined} connect - Whether to connect the gap in the data
|
|
105
|
+
* @param {number} seriesIndex - The index of the series.
|
|
106
|
+
* @param {ChartConfig<typeof ModelTypes.LineChart> | ChartConfig<typeof ModelTypes.RadarChart>} config - The chart configuration.
|
|
112
107
|
*/
|
|
113
108
|
export declare const setConnectLines: (props: {
|
|
114
109
|
connect: boolean | undefined;
|
|
@@ -51,15 +51,17 @@ export declare class PieChartModel extends ChartModel {
|
|
|
51
51
|
/**
|
|
52
52
|
* Sets the sort order for the pie chart.
|
|
53
53
|
* @param {PieChartDataSortingKinds} sortOrder The sort order.
|
|
54
|
+
* @param {string[]} orderByList The list of category values.
|
|
54
55
|
*/
|
|
55
56
|
setSortOrder(sortOrder: PieChartDataSortingKinds, orderByList?: string[]): void;
|
|
57
|
+
/**
|
|
58
|
+
* List of category's values for custom sort
|
|
59
|
+
*/
|
|
56
60
|
get orderByList(): string[];
|
|
57
61
|
set orderByList(orderByList: string[]);
|
|
58
62
|
/**
|
|
59
63
|
* The pie chart data mode (Category or Fields).
|
|
60
|
-
*
|
|
61
64
|
* `category` - The chart is using values from the category field to determine each slice.
|
|
62
|
-
*
|
|
63
65
|
* `fields` - The chart is using aggregated values from the numeric fields to determine each slice.
|
|
64
66
|
*/
|
|
65
67
|
get mode(): PieChartDataModes;
|
|
@@ -124,6 +126,7 @@ export declare class PieChartModel extends ChartModel {
|
|
|
124
126
|
protected generateDefaultConfig(): Omit<typeof this._config, "iLayer">;
|
|
125
127
|
/**
|
|
126
128
|
* Gets the original name of the slice based on the slice index.
|
|
129
|
+
* @param {number} sliceIndex - The index of the slice.
|
|
127
130
|
* @returns {Date | number | string | null | undefined}
|
|
128
131
|
*/
|
|
129
132
|
getOriginalSliceName(sliceIndex: number): Date | number | string | null | undefined;
|
package/dist/model.js
CHANGED
|
@@ -4,7 +4,7 @@ import { s as r, t as s, u as n } from "./chunks/type-guards.js";
|
|
|
4
4
|
import { a as B, e as P, i as S, g as x, b as W, r as v, h as G, l as K, m as D, p as F, j as H, k as O, q as R, n as A, o as E, d as X, f as Y, c as $ } from "./chunks/type-guards.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
7
|
+
v4.34.0-next.157 */
|
|
8
8
|
async function c(t) {
|
|
9
9
|
const o = "config" in t ? r(t.config) : t.chartType;
|
|
10
10
|
let a;
|
package/dist/spec/web-chart.d.ts
CHANGED
|
@@ -267,7 +267,7 @@ export interface DateTimeFormatOptions {
|
|
|
267
267
|
*/
|
|
268
268
|
type: typeof WebChartTypes.DateAxisFormat;
|
|
269
269
|
/**
|
|
270
|
-
* Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/
|
|
270
|
+
* Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat), which is based on [CLDR](http://cldr.unicode.org/translation/date-time-1/date-time-patterns) specifications.
|
|
271
271
|
*/
|
|
272
272
|
intlOptions: Intl.DateTimeFormatOptions;
|
|
273
273
|
/**
|
|
@@ -74,11 +74,19 @@ export declare function mapAttributeBinsQueryForTemporalData(props: {
|
|
|
74
74
|
* @param props.field The field used by the heat chart
|
|
75
75
|
* @param props.fieldType The field type
|
|
76
76
|
* @param props.unit The unit of the temporal binning
|
|
77
|
+
* @param props.addIntervalStatement Whether to add the interval statement to shift the date from the data time zone to the output time zone
|
|
78
|
+
* @param props.outTimeZone The output time zone
|
|
79
|
+
* @param props.dataTimeZone The data time zone
|
|
80
|
+
* @param props.runsOnClientQueryEngine Whether the query will be executed on the client query engine (FeatureLayerView) or on the server
|
|
77
81
|
*/
|
|
78
82
|
export declare function getCalendarDatePartsParameters(props: {
|
|
79
83
|
field: string;
|
|
80
84
|
fieldType?: RESTFieldType;
|
|
81
85
|
unit?: string;
|
|
86
|
+
addIntervalStatement: boolean;
|
|
87
|
+
outTimeZone?: string;
|
|
88
|
+
dataTimeZone?: string | null;
|
|
89
|
+
runsOnClientQueryEngine?: boolean;
|
|
82
90
|
}): {
|
|
83
91
|
expression?: string;
|
|
84
92
|
start?: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { SupportedLayer, WebChart } from '../../../spec';
|
|
2
1
|
import { default as FeatureLayer } from '@arcgis/core/layers/FeatureLayer';
|
|
3
2
|
import { default as SubtypeGroupLayer } from '@arcgis/core/layers/SubtypeGroupLayer';
|
|
4
3
|
import { default as SubtypeSublayer } from '@arcgis/core/layers/support/SubtypeSublayer';
|
|
5
|
-
import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView';
|
|
4
|
+
import { default as FeatureLayerView } from '@arcgis/core/views/layers/FeatureLayerView.js';
|
|
5
|
+
import { SupportedLayer, WebChart } from '../../../spec';
|
|
6
6
|
import { QueryObject } from '../interfaces';
|
|
7
7
|
/**
|
|
8
8
|
* Indicates whether the input object is a feature collection.
|
|
@@ -13,7 +13,7 @@ export declare function isFeatureCollectionLayer(queryObject: QueryObject): quer
|
|
|
13
13
|
* Indicates whether the input object is an instance of `FeatureLayerView`.
|
|
14
14
|
* @param queryObject
|
|
15
15
|
*/
|
|
16
|
-
export declare function isFeatureLayerView(queryObject: QueryObject): queryObject is FeatureLayerView;
|
|
16
|
+
export declare function isFeatureLayerView(queryObject: QueryObject | SubtypeGroupLayer): queryObject is FeatureLayerView;
|
|
17
17
|
/**
|
|
18
18
|
* Indicates whether the input object is an instance of `FeatureLayer`.
|
|
19
19
|
* @param queryObject
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/charts-components",
|
|
3
|
-
"version": "4.34.0-next.
|
|
3
|
+
"version": "4.34.0-next.157",
|
|
4
4
|
"description": "Reusable ArcGIS charting Web Components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@amcharts/amcharts4": "^4.10.31",
|
|
30
30
|
"@amcharts/amcharts5": "~5.14.1",
|
|
31
|
-
"@arcgis/lumina": "4.34.0-next.
|
|
32
|
-
"@arcgis/toolkit": "4.34.0-next.
|
|
31
|
+
"@arcgis/lumina": "4.34.0-next.157",
|
|
32
|
+
"@arcgis/toolkit": "4.34.0-next.157",
|
|
33
33
|
"ajv": "6.12.6",
|
|
34
34
|
"d3-array": "^3.2.1",
|
|
35
35
|
"d3-shape": "^3.2.0",
|
package/dist/cdn/5ZCX2TAT.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.155 */
|
|
4
|
-
import{i as h,j as B,k as q,l as we,m as $e,o as je}from"./3UBHI5RA.js";import a from"./MBYAPXDT.js";import{d as se,e as D,f as P,i as ye,q as te,w as me}from"./TMJBMLAG.js";import{a as v,d as ke}from"./3DSYR3DZ.js";import{a as I,b as S,f as ue,h as M,k as K,n as W,o as fe,v as L,w as U}from"./6Q4KFIU7.js";export default $arcgis.t(([{substitute:k},,,,,,,,{$:Ae,A:be,Ga:V,H:N,J:O,K:Fe,L:Z,La:Be,M:Se,N:ve,Ob:G,Pa:$,Ta:Ce,Yb:Ne,Z:Ie,aa:Te,bc:oe,ca:he,db:Le,j:xe,k:E,kb:Y,l:pe,lb:qe,lc:ne,mc:Oe,nb:z,nc:Me,oc:H,p:T,pb:w,pc:J,xa:ae,yc:Q}])=>{async function re(i){let{queryObject:e,queryConfig:s,category:t,splitByField:a,chartLimits:o,abortKey:n}=i,r=a!==void 0,c=t!==be?[t]:[];r&&c.push(a);let u=G(e),g={...s,groupByFieldsForStatistics:Array.from(new Set(c)),outStatistics:[{statisticType:S.Count,onStatisticField:u.objectIdField,outStatisticFieldName:`${S.Count}_OBJECTID`}],orderByFields:void 0,num:o?.maxBarThreePlusSeriesCountTotal},m=await Ne({queryObject:e,featureCount:1,queryConfig:g,abortKey:n});return Array.from(new Set(m.map(f=>f.attributes[r?a:t]))).sort((f,x)=>typeof f=="string"&&typeof x=="string"?f.localeCompare(x):Number(f)-Number(x))}function De(i,e,s){let t=i?.axes?.[e];t?.title!==void 0?t.title.content.text=s:t!==void 0&&(t.title=O({text:s,visible:!0,font:N(T.AxisTitle)}))}function Ee(i){let{config:e,layerInfo:s,commonStrings:t,numericFields:a,aggregationType:o}=i,n="";if(e)if(Be(e)===ue.Stacked100)n=t.utilsStrings.statistics.percent;else{let r=ae(o,t);if(a.length===1){let c=$(s.layerFieldsInfo,a[0]);o===S.NoAggregation?n=c:o===S.Count&&a[0]===s.objectIdField?n=t.utilsStrings.statistics.count:n=k(t.axisLabels.aggregationOfFieldName,{aggregation:r,fieldName:c})}else a.length>1&&(o===S.NoAggregation?n=t.axisLabels.values:n=k(t.axisLabels.aggregationOfValues,{aggregation:r}))}return n}var ze=(i,e,s)=>i.axes?.[e]??Ie(s,i.type)[e],_e=i=>{let{config:e,axis:s,axisIndex:t}=i;e.axes!==void 0&&(e.axes[t]=s)},Ei=i=>{let{config:e,axisIndex:s,isMax:t}=i,a=Number.NaN;return t?a=e.axes?.[s]?.maximum:a=e.axes?.[s]?.minimum,a??Number.NaN},A=i=>{let{config:e,value:s,axisIndex:t,isMax:a}=i,o=e?.axes?.[t];o!==void 0&&(a?o.maximum=s:o.minimum=s)},zi=(i,e)=>{A({config:i,value:e,axisIndex:0,isMax:!1})},Pe=i=>i.axes?.[0]?.valueFormat??Z(),He=(i,e,s)=>{let t=ze(i,0,e);if(t!==void 0&&s!==void 0){let a={...t,valueFormat:s};_e({config:i,axis:a,axisIndex:0})}},Ve=(i,e,s)=>{let t=i.axes?.[e];t!==void 0&&(t.integerOnlyValues=s)},Je=i=>{let e=U(i.series);return e===I.BarSeries||e===I.ComboLineAndBarSeries||e===I.LineSeries},Qe=i=>{let{axisIndex:e,config:s,isMultiAxis:t}=i,a=!1;return e===0||e===1&&t?a=!0:e===2&&(a=Je(s)),a},_i=i=>{let{axisIndex:e,func:s,config:t}=i;return Qe({axisIndex:e,config:t,isMultiAxis:!0})?s(e):void 0},Pi=(i,e)=>{let s,t=e.axes?.[i]?.valueFormat;return(i===0||i>=1&&je(t))&&(s=t),s},Ui=i=>{let{config:e,commonStrings:s,valueFormat:t,axisIndex:a=0}=i,o=ze(e,a,s);if(o!==void 0&&t!==void 0){let n={...o,valueFormat:t};_e({config:e,axis:n,axisIndex:a})}},Xi=(i,e)=>i.axes?.[e]?.isLogarithmic??!1,Ri=i=>{let{config:e,isLogarithmic:s,axisIndex:t}=i,a=e.axes?.[t];a&&(a.isLogarithmic=s,A({config:e,value:null,axisIndex:t,isMax:!0}),A({config:e,value:null,axisIndex:t,isMax:!1}))},Ki=i=>{let{config:e,scrollbar:s,axisIndex:t}=i;e.axes?.[t]!==void 0&&(e.axes[t].scrollbar=s)},Wi=i=>i.version,ei=i=>i.title?.content.text??"",Zi=(i,e)=>{e.title!==void 0?e.title.content.text=i:e.title===void 0&&i!==void 0&&(e.title=O({text:i,visible:!0,font:N(T.ChartTitle)}))},Yi=i=>i.subtitle?.content.text??"",Gi=(i,e)=>{e.subtitle!==void 0?e.subtitle.content.text=i:e.subtitle===void 0&&i!==void 0&&(e.subtitle=O({text:i,visible:!0,font:N(T.ChartSubtitle)}))},Hi=i=>i.footer?.content.text??"",Ji=(i,e)=>{e.footer!==void 0?e.footer.content.text=i:e.footer===void 0&&i!==void 0&&(e.footer=O({text:i,visible:!0,font:N(T.DescriptionText)}))},Qi=i=>i.title?i.title.visible??!0:!1,es=(i,e)=>{e.title!==void 0?e.title.visible=i:e.title===void 0&&(e.title=O({text:"",visible:i,font:N(T.ChartTitle)}))},is=i=>i.subtitle?i.subtitle.visible??!0:!1,ss=(i,e)=>{e.subtitle!==void 0?e.subtitle.visible=i:e.subtitle===void 0&&(e.subtitle=O({text:"",visible:i,font:N(T.ChartSubtitle)}))},ii=i=>i.footer?.visible??!1,ts=(i,e)=>{e.footer!==void 0?e.footer.visible=i:e.footer===void 0&&i!==ii(e)&&(e.footer=O({text:"",visible:!0,font:N(T.DescriptionText)}))},as=i=>i.chartRenderer,os=(i,e)=>{e.chartRenderer=i},ns=(i,e)=>i.axes?.[e]?.title?.content,rs=i=>{let{config:e,axisIndex:s,symbol:t}=i,a=e.axes?.[s];if(a!==void 0){let o=a.title?.content.text;(a.title===void 0||t===void 0)&&(a.title=O({text:"",visible:!0,font:N(T.AxisTitle),type:T.AxisTitle})),t!==void 0&&(a.title.content=t),a.title.content.text=o}},ls=i=>{for(let e of i.axes??[])if(e?.labels!==void 0)return e.labels.content},cs=(i,e)=>{for(let s of e.axes??[])if(s!==void 0){let t=s.labels?.content.text;i===void 0?s.labels=O({text:"",visible:!0,font:N(T.AxisLabels),type:T.AxisLabels}):s.labels.content=P(i),s.labels.content.text=t}},gs=i=>{for(let e of i.axes??[])if(e?.lineSymbol!==void 0)return e.lineSymbol},ds=(i,e)=>{for(let s of e.axes??[])s!==void 0&&(s.lineSymbol=P(i)??Fe())},ys=i=>{for(let e of i.axes??[])if(e?.grid!==void 0)return e.grid},us=(i,e,s)=>{let t=e.axes;s.forEach(a=>{t?.[a]!==void 0&&(t[a].grid=P(i))})},le=(i,e)=>e.axes?.[i]?.title?.content.text??"",fs=(i,e,s)=>{let t=s.axes?.[e];t?.title!==void 0?t.title.content.text=i:t!==void 0&&t?.title===void 0&&(t.title=O({text:i,visible:!0,font:N(T.AxisTitle)}))},ms=(i,e)=>e.axes?.[i]?.title?.visible??!1,xs=(i,e,s)=>{let t=s.axes?.[e];t?.title!==void 0?t.title.visible=i:t!==void 0&&t?.title===void 0&&(t.title=O({text:le(e,s),visible:i,font:N(T.AxisTitle)}))},ps=(i,e)=>i.axes?.[e]?.displayZeroLine??!1,bs=(i,e,s)=>{i.axes?.[s]!==void 0&&(i.axes[s].displayZeroLine=e)},Fs=(i,e)=>i.axes?.[e]?.displayCursorTooltip??!1,Ss=i=>{let{config:e,displayCursorTooltip:s,axisIndex:t}=i;e.axes?.[t]!==void 0&&(e.axes[t].displayCursorTooltip=s)},vs=(i,e)=>i.axes?.[e]?.buffer??!1,Is=i=>{let{config:e,buffer:s,axisIndex:t}=i,a=e.axes?.[t];a!==void 0&&(a.buffer=s)},As=(i,e)=>i.axes?.[e]?.tickSpacing,Ts=i=>{let{config:e,tickSpacing:s,axisIndex:t}=i;e.axes?.[t]!==void 0&&(e.axes[t].tickSpacing=s)},hs=(i,e)=>i.axes?.[e]?.integerOnlyValues??!1,Bs=i=>{let{config:e,integerOnlyValues:s,axisIndex:t}=i;e.axes?.[t]!==void 0&&(e.axes[t].integerOnlyValues=s)},si=i=>{let e=v.xAxisAsc,s=i.orderOptions?.data?.orderType??L.Category,t=i.orderOptions?.data?.orderBy??M.Ascending;return s===L.Category&&Array.isArray(t)?e=v.customSort:s===L.Category?t===M.Ascending?e=v.xAxisAsc:e=v.xAxisDesc:t===M.Ascending?e=v.yAxisAsc:e=v.yAxisDesc,e},ti=i=>{let e=U(i.series),s=!1;return(e===I.BarSeries||e===I.LineSeries)&&(s=si(i)===v.customSort),s},Cs=i=>{let e=[],s=i.orderOptions?.data?.orderType;return ti(i)&&s===L.Category&&(e=i.orderOptions?.data?.orderBy),e},Ls=(i,e,s)=>{let t=L.Category,a=M.Ascending,o=U(e.series);e.orderOptions??={},i===v.customSort&&s!==void 0?(a=[...s],e.orderOptions.data={orderType:t,orderBy:a}):(o===I.BarSeries||o===I.LineSeries)&&(t=i===v.xAxisAsc||i===v.xAxisDesc?L.Category:L.YValue,a=i===v.xAxisAsc||i===v.yAxisAsc?M.Ascending:M.Descending,e.orderOptions.data={orderType:t,orderBy:a})},R=i=>i?.series?.[0]?.x??"",ce=i=>{let{config:e,xAxisField:s,numericFields:t,aggregationType:a,mode:o,layer:n,numericFieldIndex:r,seriesIndex:c,splitByField:u=""}=i,g=U(e.series),m=z(e.series),f=n?G(n).objectIdField:"FID",x=t.length===1&&t[0]===f,y="y",l="y";switch(g){case I.PieSeries:{a!==S.NoAggregation?o===ke.Category?(y=`${a}_${t[0]}_0`.toUpperCase(),l=x?D(S.Count):D(`${a} of ${t[0]}`)):y=xe:y=t[0];break}case I.BarSeries:case I.LineSeries:case I.ComboLineAndBarSeries:case I.RadarSeries:{if(u===""||t.length>1)ge(s,t)||m===V.BarAndLineFromFields?y=pe:(y=`${a}_${t[r??0]}_${r??0}`.toUpperCase(),l=x?D(S.Count):D(`${a} of ${t[r??0]}`));else{let F=t[0];y=`${a}_${F}_${c??0}`.toUpperCase(),l=x?D(S.Count):D(`${a} of ${F}`)}break}}return{name:y,description:l}};function ge(i,e){return(i===E||i===void 0||i.trim()==="")&&(e?.length??0)>=0}var ai=i=>{let e,s=i.series[0];return w(s)&&(e=s.temporalBinning?.size),e},oi=i=>{let e,s=i.series[0];return w(s)&&(e=s.temporalBinning?.unit),e},ni=i=>{let e,s=i.series[0];return w(s)&&(e=s.temporalBinning?.timeAggregationType),e},ri=i=>{let e,s=i.series[0];return w(s)&&(e=s.temporalBinning?.trimIncompleteTimeInterval),e},li=i=>{let e,s=i.series[0];return w(s)&&(e=s.temporalBinning?.nullPolicy),e},Ue=(i,e)=>{e?.series?.forEach(s=>{w(s)&&(s.temporalBinning??={},s.temporalBinning.size=i)}),A({config:e,value:null,axisIndex:1,isMax:!1}),A({config:e,value:null,axisIndex:1,isMax:!0})},ci=(i,e)=>{e?.series?.forEach(s=>{w(s)&&(s.temporalBinning??={},s.temporalBinning.nullPolicy=i)}),A({config:e,value:null,axisIndex:1,isMax:!1}),A({config:e,value:null,axisIndex:1,isMax:!0})},qs=(i,e)=>{e.series?.forEach(s=>{w(s)&&(s.temporalBinning??={},s.temporalBinning.unit=i)}),A({config:e,value:null,axisIndex:1,isMax:!1}),A({config:e,value:null,axisIndex:1,isMax:!0})},Ns=(i,e)=>{e.series?.forEach(s=>{w(s)&&(s.temporalBinning??={},s.temporalBinning.timeAggregationType=i)}),A({config:e,value:null,axisIndex:1,isMax:!1}),A({config:e,value:null,axisIndex:1,isMax:!0})},Os=(i,e)=>{e.series?.forEach(s=>{w(s)&&(s.temporalBinning??={},s.temporalBinning.trimIncompleteTimeInterval=i)}),A({config:e,value:null,axisIndex:1,isMax:!1}),A({config:e,value:null,axisIndex:1,isMax:!0})},Ms=i=>{Ue(0,i)};async function gi(i){let{config:e,layer:s,xAxisField:t,splitByField:a,layerFieldsInfo:o,aggregationFields:n,fetchNullValues:r}=i,c=o.filter(F=>F.name===a)[0]?.type,u=r!==!0?`${a} IS NOT NULL`:"",g=t&&r!==!0?`${t} IS NOT NULL`:"",{where:m}=e?.dataFilters??{},f={where:oe([m,u,g]),orderByFields:Ce(a)?[]:[`${a} ${M.Ascending}`],geometry:e?.dataFilters?.geometry},x=s,y="";n.length===0?y=x?.objectIdField??"":[y]=n;let l=await re({queryObject:x,category:e?.series[0].x??"",splitByField:a,queryConfig:f});if(e){let F=e?.series.map(d=>Y({where:d.query?.where})?.toString()??"").filter(d=>d!==void 0&&d!=="");l=Le({arrayA:l,arrayB:F,getKey:d=>d===null?null:d?.toString()})}return{categoriesArray:l,splitByFieldType:c,numericalField:y}}function ws(i,e){let s=e==="";for(let t of i)if(e===t.name){s=!0;break}return s}function $s(i,e){let s=Me(i),t=e.length===0,a=0;for(let o of e){for(let n of s)if(o===n&&(a+=1),a===e.length){t=!0;break}if(t)break}return t}function js(i,e){e.forEach(s=>{Object.getOwnPropertyNames(s.prototype).forEach(t=>{Object.defineProperty(i.prototype,t,Object.getOwnPropertyDescriptor(s.prototype,t)||Object.create(null))})})}async function di(i){let{layerInfo:e,config:s,category:t}=i,{layer:a}=e,{where:o}=s?.dataFilters??{},{fetchNullValues:n}=s?.series?.[0]?.query??{},r=n!==!0?`${t} IS NOT NULL`:"",c={where:oe([o,r]),orderByFields:[],geometry:s?.dataFilters?.geometry},u=H(a);return(await re({queryObject:a,category:t,queryConfig:c})).map(g=>{let m=String(g);return J({fieldName:t,fieldValueToMatch:m,subtypeInfo:u,fieldList:e.layerFieldsInfo})??m})}var ks=(i,e)=>e.series[i]?.id,Ds=(i,e)=>e.series.findIndex(s=>s.id===i),yi=i=>i.series.length??0,Vs=(i,e)=>e.series[i].visible??!0;function Es(i,e){let s;return i.length!==0&&e<i.length&&(s=i[e].dataTooltipValueFormat),s}function zs(i){let{series:e,seriesIndex:s,valueFormat:t}=i;e.length!==0&&s<e.length&&(e[s].dataTooltipValueFormat=t)}function X(i){let{seriesIndex:e,xAxisField:s,aggregationType:t,config:a,layerInfo:o,commonStrings:n}=i,{objectIdField:r}=o??{},c,u=a.series[e??0],g=!1,m=!1;if(u===void 0){let y=a.series;g=y.slice(0,e).every(l=>h(l)),m=y.slice(0,e).every(l=>B(l))}else g=h(u),m=B(u);g?c=Ae({commonStrings:n,seriesIndex:e,objectIDField:r}):m?c=Te({commonStrings:n,seriesIndex:e,objectIDField:r}):c=he({seriesIndex:e,objectIDField:r,commonStrings:n});let f=a.series[0]?.dataLabels,x={...c,x:s,y:"",dataLabels:{...c.dataLabels,type:c.dataLabels?.type??I.Text,content:{...c.dataLabels?.content,...f?.content,type:me.TS},visible:f?.visible??!1}};if(x.query={groupByFieldsForStatistics:[s]},t!==S.NoAggregation&&r!==void 0){let y=`${t}_${r}_0`.toUpperCase();x.y=y,x.query.outStatistics=[{statisticType:t,onStatisticField:r,outStatisticFieldName:y}]}if(h(x)||B(x)||q(x)&&a.series[0]?.binTemporalData){let y;if(a?.series?.[0]!==void 0&&(y=z(a.series)),y!==V.BarAndLineNoAggregation&&y!==V.BarAndLineSplitByNoAggregation){let l=oi(a);l===K.Quarter&&(l=K.Month),x.temporalBinning={size:ai(a),unit:l,timeAggregationType:ni(a),trimIncompleteTimeInterval:ri(a),nullPolicy:li(a)}}}return P(x)}function Xe(i,e,s){let{layerFieldsInfo:t,objectIdField:a}=e,o=R(i),n=de(i),r=Ke(i),c=ee(i),u=n.length===0||n.includes(a),g=ae(r,s),m=u?"":n.map(p=>$(t??[],p)).join(", "),f=$(t??[],o),x=$(t??[],c),y=i.series.some(p=>q(p)),l=y?"category":"xAxisField",F=f,d="";if(ge(o,n))d=k(s.titleLabels.aggrTypeOfAggrFields,{aggregationType:g,aggregationFields:m});else if(r===S.NoAggregation){let p=u?a:m;if(c===""){let b=y?"aggrTypeCategory":"aggrTypeXAxisField";d=k(s.titleLabels[b],{aggregationType:p,[l]:F})}else{let b=y?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";d=k(s.titleLabels[b],{aggregationType:p,[l]:F,splitByField:x})}}else if(r===S.Count)if(c===""){let p=y?"aggrTypeCategory":"aggrTypeXAxisField";d=k(s.titleLabels[p],{aggregationType:g,[l]:F})}else{let p=y?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";d=k(s.titleLabels[p],{aggregationType:g,[l]:F,splitByField:x})}else if(c!==""){let p=y?"aggrTypeOfAggrFieldByCategoryBySplitByField":"aggrTypeOfAggrFieldByXAxisFieldBySplitByField";d=k(s.titleLabels[p],{aggregationType:g,aggregationField:m,[l]:F,splitByField:x})}else if(n.length>0){let p=y?"aggrTypeOfAggrFieldsByCategory":"aggrTypeOfAggrFieldsByXAxisField";d=k(s.titleLabels[p],{aggregationType:g,aggregationFields:m,[l]:F})}return d}var Re=i=>Y({where:i.query?.where,normalize:!1,escape:!1})??"",Ke=i=>i?.series?.[0]?.query?.outStatistics?.[0]?.statisticType??S.NoAggregation,ee=se(i=>{let e=i?.series?.[0]?.query?.where?.split("=")[0].trim()??"";return qe(i?.series?.[0]?.query?.where)?"":e},i=>i?.series?.[0]?.query?.where),de=se(i=>{let e=[];if(ee(i)==="")e=i?.series.map(s=>{let t=s.query?.outStatistics?.map(a=>a.onStatisticField)??[];return t?.length>0?t:s.y}).flat()??[];else{let s=i?.series?.[0],t=s?.query?.outStatistics?.[0]?.onStatisticField??[s?.y].flat()[0];e=t!==void 0?[t]:[]}return[...new Set(e.filter(s=>s!==""))]},i=>i?.series);function ui(i){let{numericFields:e,aggregationType:s,config:t,layerInfo:a}=i,o=!1;s===S.Count?o=!0:s===S.NoAggregation&&(o=e.every(c=>{let u=a.layerFieldsInfo.find(g=>g.name===c);return u!==void 0?ne(u):!1})),Ve(t,1,o);let n=t.series.some(c=>h(c)),r=t.series.some(c=>B(c));if(n||r){let c=R(t),u=a.layerFieldsInfo.find(m=>m.name===c),g=u!==void 0&&ne(u);Ve(t,0,g)}}var fi=i=>{let e=v.xAxisAsc,s=i.orderOptions?.data?.orderType??L.Category,t=i.orderOptions?.data?.orderBy??M.Ascending;return s===L.Category&&Array.isArray(t)?e=v.customSort:s===L.Category?t===M.Ascending?e=v.xAxisAsc:e=v.xAxisDesc:t===M.Ascending?e=v.yAxisAsc:e=v.yAxisDesc,e};function mi(i){let{xAxisField:e,numericFields:s,aggregationType:t,config:a,layerInfo:o,commonStrings:n}=i,r=!1,c=X({config:a,xAxisField:e,aggregationType:t,layerInfo:o,seriesIndex:0,commonStrings:n}),u=ce({config:a,xAxisField:e,numericFields:s,aggregationType:t,layer:o.layer}).name,g={...c,id:`series_${Date.now()}`,name:n.axisLabels.values,x:E,y:u},m=[];for(let x of s)m.push({onStatisticField:x,outStatisticFieldName:`${x}_0`.toUpperCase(),statisticType:t});g.query={outStatistics:m};let f=a.series[0];return f!==void 0&&(g.id=f.id,a.colorMatch||(q(f)&&q(g)?g.fillSymbol=f.fillSymbol:(h(g)&&h(f)||B(g)&&B(f))&&(g.lineSymbol=f.lineSymbol,g.markerSymbol=f.markerSymbol),r=!0),g.id=f.id,f.name!==c.name&&(g.name=f.name)),a.series.length===1&&!a.colorMatch&&(q(g)?g.fillSymbol=a.series[0].fillSymbol:(h(g)||B(g))&&(g.lineSymbol=a.series[0].lineSymbol,g.markerSymbol=a.series[0].markerSymbol),r=!0),a.colorMatch=!r,[g]}function We(i){let{xAxisField:e,numericFields:s,aggregationType:t,config:a,layerInfo:o,commonStrings:n}=i,{layerFieldsInfo:r,objectIdField:c}=o,u=[],g=!1;for(let m=0;m<s.length;m+=1){let f=X({config:a,xAxisField:e,aggregationType:t,layerInfo:o,seriesIndex:m,commonStrings:n}),x=ce({config:a,xAxisField:e,numericFields:s,aggregationType:t,layer:o.layer,numericFieldIndex:m}).name,y=s[m],l={...f,query:{...f.query}};y!==c&&(l={...l,id:y,name:$(r,y)});let F=y;l.query!==void 0&&(t!==S.NoAggregation?(F=x,l.query.outStatistics=[{...f.query?.outStatistics?.[0]??{},onStatisticField:y,outStatisticFieldName:x,statisticType:t}]):delete l.query.outStatistics),l.y=F;let d=a.series.find(p=>p.query?.outStatistics?.[0]?.onStatisticField===y&&p.query.where===void 0);if(d!==void 0&&typeof d.y=="string"&&d.y.trim()!==""){a.colorMatch||(q(l)&&q(d)?l.fillSymbol=d.fillSymbol:(h(l)&&h(d)||B(l)&&B(d))&&(l.lineSymbol=d.lineSymbol,l.markerSymbol=d.markerSymbol),g=!0);let p=X({config:a,xAxisField:e,aggregationType:t,layerInfo:o,seriesIndex:m,commonStrings:n});l.id=d.id,d.id!==p.id&&d.name!==p.name&&(l.id=d.id,l.name=d.name)}u.push(l)}return a.series.length===1&&u.length===1&&!a.colorMatch&&(q(a.series[0])&&q(u[0])?u[0].fillSymbol=a.series[0].fillSymbol:(h(a.series[0])&&h(u[0])||B(a.series[0])&&B(u[0]))&&(u[0].lineSymbol=a.series[0].lineSymbol,u[0].markerSymbol=a.series[0].markerSymbol),g=!0),a.colorMatch=!g,u}async function xi(i){let{splitByField:e,xAxisField:s,numericFields:t,aggregationType:a,config:o,layerInfo:n,commonStrings:r}=i,{layer:c,layerFieldsInfo:u}=n,{fetchNullValues:g}=o?.series?.[0]?.query??{},m=s!==E?s:void 0,{categoriesArray:f,splitByFieldType:x,numericalField:y}=await gi({config:o,layer:c,layerFieldsInfo:u,xAxisField:m,aggregationFields:t,splitByField:e,fetchNullValues:g}),l=[],F=!1;if(f.length===0){l=We({xAxisField:s,numericFields:t,aggregationType:a,config:o,layerInfo:n,commonStrings:r});for(let d of l)d.query&&(d.query.where=`${e}=''`)}else for(let d=0;d<f.length;d+=1){let p=f[d],b=ce({config:o,xAxisField:s,numericFields:t,aggregationType:a,layer:n.layer,seriesIndex:d,splitByField:e}).name,_=X({config:o,xAxisField:s,aggregationType:a,layerInfo:n,seriesIndex:d,commonStrings:r}),Ze={fieldName:e,fieldValueToMatch:p??"",subtypeInfo:H(n.layer),fieldList:n.layerFieldsInfo},Ye=J(Ze),ie=`${p}`,C={..._,id:ie,name:Ye??ie,y:b,query:{..._.query,where:`${e}=${x===te.String&&p!==null?`'${p}'`:p}`,outStatistics:a!==S.NoAggregation?[{..._.query?.outStatistics?.[0]??{},onStatisticField:y,outStatisticFieldName:b,statisticType:a}]:void 0}};a===S.NoAggregation&&(C.query!==void 0&&(delete C.query.outStatistics,delete C.query.groupByFieldsForStatistics),C.y=y);let j=o.series.find(Ge=>String(Re(Ge)).trim().replace(/'/gu,"")===ie);j!==void 0&&(o.colorMatch||(q(C)&&q(j)?C.fillSymbol=j.fillSymbol:(h(C)&&h(j)||B(C)&&B(j))&&(C.lineSymbol=j.lineSymbol,C.markerSymbol=j.markerSymbol),F=!0),C.id=j.id,C.name=j.name),l.push(C)}return o.colorMatch=!F,l}var _s=async i=>{let{xAxisField:e,splitByField:s,numericFields:t,aggregationType:a,config:o,layerInfo:n,commonStrings:r}=i,{layerFieldsInfo:c}=n??{},u=yi(o),g=R(o),m=z(o.series),f=pi(o,n,r),x=bi(o,n,r),y=Fi(o,n),l=Pe(o),F=o.series.some(b=>q(b)),d=we(o.series),p=$e(o.series);if(c!==void 0){let b=Oe(c);!b.includes(g)&&b.includes(e)?l=Se():b.includes(g)&&!b.includes(e)&&(F?l=Z():l=ve()),c.find(_=>_.name===e)?.type===te.String&&(l=Z()),l!==void 0&&He(o,r,l)}if(u===0&&(o.series=[X({config:o,xAxisField:e,aggregationType:a,layerInfo:n,commonStrings:r})]),o.series.forEach(b=>{b.x=e,b.query!==void 0&&(b.query.groupByFieldsForStatistics=[e])}),s===""||t.length>1?ge(e,t)||m===V.BarAndLineFromFields?o.series=mi({config:o,layerInfo:n,xAxisField:e,numericFields:t,aggregationType:a,commonStrings:r}):o.series=We({config:o,layerInfo:n,xAxisField:e,numericFields:t,aggregationType:a,commonStrings:r}):(await Promise.resolve(),o.series=await xi({config:o,layerInfo:n,splitByField:s,xAxisField:e,numericFields:t,aggregationType:a,commonStrings:r})),y){let b=$(c,e);De(o,0,b)}if(x){let b=Ee({config:o,layerInfo:n,commonStrings:r,numericFields:t,aggregationType:a});De(o,1,b)}if(o.title&&f&&(o.title.content.text=Xe(o,n,r)),A({config:o,value:null,axisIndex:1,isMax:!1}),A({config:o,value:null,axisIndex:1,isMax:!0}),ui({numericFields:t,aggregationType:a,config:o,layerInfo:n}),d||p){A({config:o,value:null,axisIndex:0,isMax:!1}),A({config:o,value:null,axisIndex:0,isMax:!0}),Ue(0,o);let b=l?.type===I.DateAxisFormat?W.Null:W.Interpolate;ci(b,o)}},Ps=i=>{let{config:e,seriesIndex:s,layerInfo:t,commonStrings:a}=i,o=e.series?.[s],n=ee(e),r;if(z(e.series)===V.BarAndLineFromFields)r=a.axisLabels.values;else if(ye(n)){let c=o.query?.outStatistics?.[0]?.onStatisticField;c!==void 0&&c!==t.objectIdField&&(r=$(t.layerFieldsInfo,c))}else{let c=String(Re(o)).trim().replace(/'/gu,""),u={fieldName:ee(e),fieldValueToMatch:c??"",subtypeInfo:H(t.layer),fieldList:t.layerFieldsInfo};r=J(u)??c}return r??o.id},Us=(i,e)=>{e.orderOptions??={};let s=e.orderOptions?.data?.orderType;fi(e)===v.customSort&&s===L.Category&&(e.orderOptions.data={orderType:L.Category,orderBy:[...i]})},Xs=async(i,e)=>{let s=R(i),t=Pe(i)?.type,a=de(i),o=z(i.series),n=[];return t===I.CategoryAxisFormat&&(o===V.BarAndLineFromFields||s===E?n=a.map(r=>$(e?.layerFieldsInfo,r)):s.trim()!==""&&s!==E&&e!==void 0&&(n=await di({layerInfo:e,config:i,category:s}))),n};function pi(i,e,s){let t=Xe(i,e,s),a=ei(i),o=Q(i);return t===a||o}function bi(i,e,s){let t=Ee({config:i,layerInfo:e,commonStrings:s,numericFields:de(i),aggregationType:Ke(i)}),a=le(1,i),o=Q(i);return t===a||o}function Fi(i,e){let s=$(e.layerFieldsInfo,R(i)),t=le(0,i),a=Q(i);return s===t||a}function Rs(i){return i.series[0]?.binTemporalData??!1}function Ks(i,e){e?.series.forEach(s=>{(s?.type===I.BarSeries||s?.type===I.LineSeries)&&(s.binTemporalData=i,i?s.temporalBinning={unit:K.Day,size:0,timeAggregationType:fe.Start,trimIncompleteTimeInterval:!0,nullPolicy:W.Null}:delete s.temporalBinning)})}var Ws=(i,e)=>{e.series.forEach(s=>{s.query&&(s.query.fetchNullValues=i)})},Zs=i=>i.series.some(e=>e.query?.fetchNullValues),Ys=i=>i.series.map(e=>String(Y({where:e.query?.where}))).filter(e=>e!==void 0&&e.trim()!==""),Gs=i=>i.dataFilters,Hs=(i,e)=>{i!==void 0?e.dataFilters=i:delete e.dataFilters};return{a:re,b:De,c:Ee,d:Ei,e:A,f:zi,g:Pe,h:He,i:Ve,j:_i,k:Pi,l:Ui,m:Xi,n:Ri,o:Ki,p:Wi,q:ei,r:Zi,s:Yi,t:Gi,u:Hi,v:Ji,w:Qi,x:es,y:is,z:ss,A:ii,B:ts,C:as,D:os,E:ns,F:rs,G:ls,H:cs,I:gs,J:ds,K:ys,L:us,M:le,N:fs,O:ms,P:xs,Q:ps,R:bs,S:Fs,T:Ss,U:vs,V:Is,W:As,X:Ts,Y:hs,Z:Bs,_:Cs,$:Ls,aa:R,ba:ce,ca:ai,da:oi,ea:ni,fa:ri,ga:li,ha:Ue,ia:ci,ja:qs,ka:Ns,la:Os,ma:Ms,na:gi,oa:ws,pa:$s,qa:js,ra:di,sa:ks,ta:Ds,ua:yi,va:Vs,wa:Es,xa:zs,ya:Xe,za:Ke,Aa:ee,Ba:de,Ca:fi,Da:_s,Ea:Ps,Fa:Us,Ga:Xs,Ha:Rs,Ia:Ks,Ja:Ws,Ka:Zs,La:Ys,Ma:Gs,Na:Hs}},"intl","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a)
|
package/dist/cdn/DRND3JKW.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.155 */
|
|
4
|
-
import l from"./JOIDIAKC.js";import k from"./CUKGCXAY.js";import j from"./UZQOAGWY.js";import i from"./URYR2AMP.js";import g from"./BOQWO2NX.js";import f from"./DENOV4LI.js";import e from"./RK5AO36I.js";import d from"./DYQDT5Q3.js";import c from"./5ZCX2TAT.js";import{i as r,k as a,l as h}from"./3UBHI5RA.js";import b from"./MBYAPXDT.js";import"./TMJBMLAG.js";import"./ACZZAXXN.js";import"./3DSYR3DZ.js";import{a as n}from"./6Q4KFIU7.js";import"./37DUU2GU.js";import"./NBYZ2O2A.js";export default $arcgis.t(([,,,,,,,{$:c,ca:l,ja:d},,,,,,,{c:S,d:m},{a:f,b:y,c:p,d:u,e:_,f:b,g:v,h:C,i:k,j:F,k:L,l:O,m:A,n:g,o:I,p:w,q:B,t:M,u:U},{a:V,b:z,c:j,d:D}])=>{var T=class extends m{constructor(){super(...arguments),this._chartType=n.ComboLineAndBarSeries}get config(){return this._config}async setup(e){await this.loadConfigFromLayer(e),this.setupLocalProps(),e.config!==void 0&&(h(e.config?.series)&&this.initDefaultSeries(),await this.updateSeriesFromLayerFilter()),typeof this.resolveSetup=="function"&&this.resolveSetup()}generateDefaultConfig(){let e=d(this.commonStrings);return e.series=[l({commonStrings:this.commonStrings,objectIDField:this.layerInfo?.objectIdField})],e}initDefaultSeries(){this.defaultSeries=c({commonStrings:this.commonStrings,objectIDField:this.layerInfo?.objectIdField})}setSeriesType(e,i){this.guardSetterFromAsyncOverwrite(()=>{if(e<this._config.series.length&&e>=0){let t=this._config.series[e],o;if(i===n.BarSeries&&r(t)){let s={...t};delete s.lineSymbol,delete s.markerSymbol,delete s.lineSmoothed,delete s.markerVisible,delete s.areaColor,delete s.stackNegativeValuesToBaseline,o={...l({commonStrings:this.commonStrings,objectIDField:this.layerInfo?.objectIdField}),...s,type:n.BarSeries,y:[t.y].flat()[0]},o.fillSymbol&&(o.fillSymbol={...o.fillSymbol,color:t.lineSymbol?.color})}else if(i===n.LineSeries&&a(t)){let s={...t};delete s.fillSymbol,delete s.hideOversizedStackedLabels,delete s.hideOversizedSideBySideLabels,o={...c({commonStrings:this.commonStrings,objectIDField:this.layerInfo?.objectIdField}),...s,type:n.LineSeries},o.lineSymbol&&(o.lineSymbol={...o.lineSymbol,color:t.fillSymbol?.color})}o!==void 0&&(this._config.series[e]=o,this.emitConfigUpdate("setSeriesType"))}})}getSeriesLineStyle(e){return f(e,this._config)}setSeriesLineStyle(e,i){this.guardSetterFromAsyncOverwrite(()=>{let t=this._config.series?.[i];r(t)&&(y(e,i,this._config),this.emitConfigUpdate("setSeriesLineStyle"))})}getSeriesLineWidth(e){return p(e,this._config)}setSeriesLineWidth(e,i){this.guardSetterFromAsyncOverwrite(()=>{let t=this._config.series?.[i];r(t)&&(u(e,i,this._config),this.emitConfigUpdate("setSeriesLineWidth"))})}getSeriesMarkerColor(e){return _(e,this._config)}setSeriesMarkerColor(e,i){this.guardSetterFromAsyncOverwrite(()=>{let t=this._config.series?.[i];r(t)&&(b(e,i,this._config),this.emitConfigUpdate("setSeriesMarkerColor"))})}getSeriesMarkerStyle(e){return v(e,this._config)}setSeriesMarkerStyle(e,i){this.guardSetterFromAsyncOverwrite(()=>{let t=this._config.series?.[i];r(t)&&(C(e,i,this._config),this.emitConfigUpdate("setSeriesMarkerStyle"))})}getSeriesMarkerSize(e){return k(e,this._config)}setSeriesMarkerSize(e,i){this.guardSetterFromAsyncOverwrite(()=>{let t=this._config.series?.[i];r(t)&&(F(e,i,this._config),this.emitConfigUpdate("setSeriesMarkerSize"))})}isLineSmoothed(e){return L(e,this._config)}setLineSmoothed(e,i){this.guardSetterFromAsyncOverwrite(()=>{let t=this._config.series?.[i];r(t)&&(O({smoothed:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setLineSmoothed"))})}isAreaVisible(e){return A(e,this._config)}setAreaVisible(e,i){this.guardSetterFromAsyncOverwrite(()=>{let t=this._config.series?.[i];r(t)&&(g({visible:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setAreaVisible"))})}isMarkerVisible(e){return I(e,this._config)}setMarkerVisible(e,i){this.guardSetterFromAsyncOverwrite(()=>{let t=this._config.series?.[i];r(t)&&(w({visible:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setMarkerVisible"))})}getAreaColor(e){return B(e,this._config)}setAreaColor(e,i){this.guardSetterFromAsyncOverwrite(()=>{let t=this._config.series?.[i];r(t)&&(g({visible:!0,seriesIndex:i,config:this._config}),S(e,i,this._config),this.emitConfigUpdate("setAreaColor"))})}isNegativeValuesStackedToBaseline(e){return M(e,this._config)}setNegativeValuesStackedToBaseline(e,i){this.guardSetterFromAsyncOverwrite(()=>{let t=this._config.series?.[i];r(t)&&(U({stackNegativeValuesToBaseline:e,seriesIndex:i,config:this._config}),this.emitConfigUpdate("setNegativeValuesStackedToBaseline"))})}getSeriesHideOversizedSideBySideLabels(e){return V(e,this._config)}setSeriesHideOversizedSideBySideLabels(e,i){this.guardSetterFromAsyncOverwrite(()=>{let t=this._config.series?.[i];a(t)&&(z(e,i,this._config),this.emitConfigUpdate("setSeriesHideOversizedSideBySideLabels"))})}getSeriesHideOversizedStackedLabels(e){return j(e,this._config)}setSeriesHideOversizedStackedLabels(e,i){this.guardSetterFromAsyncOverwrite(()=>{let t=this._config.series?.[i];a(t)&&(D(e,i,this._config),this.emitConfigUpdate("setSeriesHideOversizedStackedLabels"))})}};return T},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",b,c,d,e,f,g,i,j,k,l)
|