@arcgis/charts-components 5.2.0-next.6 → 5.2.0-next.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/cdn/{FF4DUQDZ.js → 22WGB4CQ.js} +1 -1
- package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/2G65P262.js +2 -0
- package/dist/cdn/2RYKKN36.js +2 -0
- package/dist/cdn/3AYXOX4U.js +2 -0
- package/dist/cdn/{ZFZ5AEUQ.js → 3CGAUDYD.js} +1 -1
- package/dist/cdn/{JBHGSSHS.js → 3FZCVKWJ.js} +1 -1
- package/dist/cdn/{DCZWZOPF.js → 3GVTYZ2I.js} +1 -1
- package/dist/cdn/3UHXOKCR.js +2 -0
- package/dist/cdn/3YCGBAQY.js +2 -0
- package/dist/cdn/3ZGG7Q5M.js +2 -0
- package/dist/cdn/4COV22K4.js +2 -0
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/{AM2TOTX6.js → 4EBMUPEV.js} +1 -1
- package/dist/cdn/{E7OAEGSE.js → 4VL2SBHK.js} +1 -1
- package/dist/cdn/54W4C75M.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/{DAB5R2BN.js → 5EYVH3PA.js} +1 -1
- package/dist/cdn/5MPXETTU.js +2 -0
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/5YP7P6S3.js +2 -0
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/67QYTLMM.js +2 -0
- package/dist/cdn/6AI3ZXL5.js +2 -0
- package/dist/cdn/6DOANSRL.js +45 -0
- package/dist/cdn/6MNV7FJC.js +2 -0
- package/dist/cdn/6PIQ2O5S.js +2 -0
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/7CMQGTU6.js +2 -0
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/{JRHMUFED.js → 7DIQIFKR.js} +1 -1
- package/dist/cdn/{ETKPMU7Z.js → 7WVTY3XI.js} +1 -1
- package/dist/cdn/{A5AECJXP.js → A2NFOGT2.js} +1 -1
- package/dist/cdn/A36KQ6YP.js +2 -0
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/ANHW36VW.js +2 -0
- package/dist/cdn/{DKAHZ7IX.js → ASZ6YFIL.js} +1 -1
- package/dist/cdn/{VY3KBD6N.js → AYQ4HHL6.js} +1 -1
- package/dist/cdn/AYUYEY5H.js +2 -0
- package/dist/cdn/{JJIGLOJA.js → AZKX3FMB.js} +1 -1
- package/dist/cdn/{AJWYIBGC.js → AZMQPJO3.js} +1 -1
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/BDTKAMUN.js +2 -0
- package/dist/cdn/BGOWDCTO.js +2 -0
- package/dist/cdn/BHGOAHMJ.js +2 -0
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BKK57XHL.js +2 -0
- package/dist/cdn/BLZLMGO6.js +2 -0
- package/dist/cdn/BXBY6D2F.js +2 -0
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/{BJDRJUEJ.js → CDJRYMBP.js} +1 -1
- package/dist/cdn/{6XTKJ7DO.js → CHMLTTRN.js} +1 -1
- package/dist/cdn/{HVO4LIXR.js → CL5G6D6W.js} +1 -1
- package/dist/cdn/{AWF4R7WL.js → CMGCZ4MF.js} +1 -1
- package/dist/cdn/{QMSINFQX.js → CVJSVWF3.js} +1 -1
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/{K3GNHGEW.js → D3KIBJKD.js} +1 -1
- package/dist/cdn/{KDJ5RVHA.js → DAFNQT4C.js} +1 -1
- package/dist/cdn/DBAM7MH7.js +2 -0
- package/dist/cdn/DGV6S2W3.js +2 -0
- package/dist/cdn/{TF7TE7K5.js → DJPMW6UC.js} +1 -1
- package/dist/cdn/DPTA2AET.js +2 -0
- package/dist/cdn/EAV3KAS7.js +2 -0
- package/dist/cdn/EBSQRCQQ.js +2 -0
- package/dist/cdn/EDVN42ME.js +2 -0
- package/dist/cdn/EMBMJCFZ.js +2 -0
- package/dist/cdn/EOHKNJSJ.js +2 -0
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/EUOJG5H6.js +2 -0
- package/dist/cdn/{2HUAW34Q.js → EXS2KOEA.js} +1 -1
- package/dist/cdn/FJGG2VVZ.js +2 -0
- package/dist/cdn/FQLRMWNL.js +2 -0
- package/dist/cdn/{QFEZPP3R.js → GARBFC7Q.js} +1 -1
- package/dist/cdn/{CLXVAIQX.js → GP3LPIRJ.js} +1 -1
- package/dist/cdn/GRL5SM6K.js +2 -0
- package/dist/cdn/H2EMIJME.js +2 -0
- package/dist/cdn/{ADGMA3ST.js → H57XAQPI.js} +2 -2
- package/dist/cdn/{L4G6FO7A.js → HBOYEK6P.js} +1 -1
- package/dist/cdn/{MVHQR4FJ.js → HOIPLQXD.js} +1 -1
- package/dist/cdn/{LFQGH44F.js → HQMOMCWF.js} +1 -1
- package/dist/cdn/{N6AOFBBX.js → HSQ32NUA.js} +1 -1
- package/dist/cdn/{7HGVEE7A.js → HUNN3ERX.js} +1 -1
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/I3XBTQKJ.js +2 -0
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/INISFVAK.js +2 -0
- package/dist/cdn/{P4HSSZRL.js → IONJLIQQ.js} +1 -1
- package/dist/cdn/{KCMZSNBL.js → ISK4QVLY.js} +1 -1
- package/dist/cdn/{DEGBVJ76.js → IUOORM26.js} +1 -1
- package/dist/cdn/J3CL6KB6.js +2 -0
- package/dist/cdn/JBFVGQSP.js +4 -0
- package/dist/cdn/JEVWE6ER.js +2 -0
- package/dist/cdn/JGESKW6S.js +2 -0
- package/dist/cdn/JH3NSZUT.js +2 -0
- package/dist/cdn/{ML3A3MYV.js → JS6A5QAV.js} +1 -1
- package/dist/cdn/{AK7X7SGI.js → JYC77MVD.js} +1 -1
- package/dist/cdn/JYITKARU.js +104 -0
- package/dist/cdn/{KUZR6CGB.js → JZ5HUNM5.js} +1 -1
- package/dist/cdn/K4APZJ2O.js +2 -0
- package/dist/cdn/KCES2YBJ.js +2 -0
- package/dist/cdn/KDCZQ6UT.js +2 -0
- package/dist/cdn/KJZTU3DV.js +2 -0
- package/dist/cdn/KLKI4XNW.js +2 -0
- package/dist/cdn/{5XTQQOTT.js → KOCZJFY6.js} +1 -1
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/KWA7OWHO.js +2 -0
- package/dist/cdn/L7TUV2MY.js +2 -0
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LGTXQIF7.js +2 -0
- package/dist/cdn/{IPM2XKST.js → LHDBHPXR.js} +1 -1
- package/dist/cdn/M744CFJ2.js +2 -0
- package/dist/cdn/{CHQDKVVQ.js → MARXRC6B.js} +1 -1
- package/dist/cdn/MJTWR33N.js +2 -0
- package/dist/cdn/{XE3FKQFA.js → MVCB4RM7.js} +1 -1
- package/dist/cdn/MXE4VPZS.js +2 -0
- package/dist/cdn/{KFONSKQF.js → MZ2RZ62O.js} +1 -1
- package/dist/cdn/NK66D65H.js +2 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/NZ2C5DJB.js +2 -0
- package/dist/cdn/O3DJD5IR.js +2 -0
- package/dist/cdn/O3VKOV2W.js +2 -0
- package/dist/cdn/{THTYR6IL.js → OAXHS4LE.js} +1 -1
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/OFFKJPQH.js +2 -0
- package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
- package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
- package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/{A4GEWIPY.js → OSUM4CWA.js} +1 -1
- package/dist/cdn/OWWQ5SYW.js +2 -0
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/P5QEJOJS.js +2 -0
- package/dist/cdn/{5MEQANMY.js → PAQGR4DD.js} +1 -1
- package/dist/cdn/{ZXOO3X5P.js → PEEVY5UG.js} +1 -1
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/PLEC3GNT.js +2 -0
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/{GDQBQQUP.js → QTSF2LK7.js} +1 -1
- package/dist/cdn/QZCTLQBM.js +2 -0
- package/dist/cdn/RICA7GJM.js +2 -0
- package/dist/cdn/S5GVUYBL.js +2 -0
- package/dist/cdn/SCU3SBSN.js +2 -0
- package/dist/cdn/SQIKFO32.js +2 -0
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/SUNHJPBW.js +2 -0
- package/dist/cdn/SYVPFDIW.js +2 -0
- package/dist/cdn/T62EETHJ.js +2 -0
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/TEWEPSIO.js +2 -0
- package/dist/cdn/{QOOBNATX.js → TGEHTOWR.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/{SBYD2EKR.js → TSSN2OW3.js} +1 -1
- package/dist/cdn/{MRTKZZTF.js → U43KANH5.js} +1 -1
- package/dist/cdn/{7FZC3RZK.js → UB36FUCN.js} +1 -1
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/UM7RIOCE.js +2 -0
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/V5W5LNFT.js +2 -0
- package/dist/cdn/V6LKZUEZ.js +3 -0
- package/dist/cdn/{YOT6DVSU.js → V7AEHY25.js} +1 -1
- package/dist/cdn/VA6KJZ2Y.js +2 -0
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/{KZ7LPNX3.js → VNNTABNO.js} +1 -1
- package/dist/cdn/{XW4PBQNW.js → VT6X6QMA.js} +1 -1
- package/dist/cdn/WFW6BNDT.js +2 -0
- package/dist/cdn/{GV3TT7L5.js → WKQB6Z7Z.js} +1 -1
- package/dist/cdn/{Y7HBWU3M.js → WMUPNT4Q.js} +1 -1
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/WTJ2NJ76.js +2 -0
- package/dist/cdn/WZOHQJFB.js +2 -0
- package/dist/cdn/XKZ44LA2.js +2 -0
- package/dist/cdn/XM2GVJT3.js +2 -0
- package/dist/cdn/Y2WHHAAA.js +2 -0
- package/dist/cdn/Y5ZH7VS4.js +2 -0
- package/dist/cdn/{WASEMNYV.js → YC4WZNPI.js} +1 -1
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/YVSZN6IH.js +2 -0
- package/dist/cdn/Z3LGGHZN.js +2 -0
- package/dist/cdn/ZGBULDPL.js +2 -0
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/{4LPXOEML.js → ZLXYBOM3.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → ZRX4BEOX.js} +1 -1
- package/dist/cdn/{S5UDCCRH.js → ZWIF7LHW.js} +1 -1
- package/dist/cdn/{TYUVXRBO.js → ZZHKDFTA.js} +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +19 -21
- package/dist/chunks/{type-guards3.js → action-bar-utils.js} +27 -35
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +39 -36
- package/dist/chunks/box-plot-data.js +77 -78
- package/dist/chunks/box-plot-model.js +18 -18
- package/dist/chunks/chart-model.js +177 -145
- package/dist/chunks/chart-object-literals.js +2 -1
- package/dist/chunks/chart-ui-utils.js +24 -23
- package/dist/chunks/class-breaks.js +12 -12
- package/dist/chunks/combo-bar-line-chart-model.js +30 -31
- package/dist/chunks/data-labels-symbol.js +39 -24
- package/dist/chunks/data-labels-visibility.js +24 -24
- package/dist/chunks/data.js +69 -69
- package/dist/chunks/gauge-model.js +18 -18
- package/dist/chunks/generate-x-axis-title.js +12 -12
- package/dist/chunks/heat-chart-model.js +77 -48
- package/dist/chunks/histogram-data.js +22 -22
- package/dist/chunks/histogram-model.js +11 -11
- package/dist/chunks/index.js +190 -179
- package/dist/chunks/index2.js +6069 -5721
- package/dist/chunks/index3.js +96 -86
- package/dist/chunks/index4.js +312 -87
- package/dist/chunks/index5.js +63 -100
- package/dist/chunks/line-chart-model.js +6 -6
- package/dist/chunks/model-setter.js +16 -15
- package/dist/chunks/model-with-line-marker-styling.js +2 -3
- package/dist/chunks/model-with-x-guides.js +5 -5
- package/dist/chunks/model-with-y-guides.js +33 -33
- package/dist/chunks/negative-values-stacked-to-baseline.js +18 -18
- package/dist/chunks/pie-chart-data.js +54 -48
- package/dist/chunks/pie-chart-model.js +159 -146
- package/dist/chunks/radar-chart-model.js +397 -46
- package/dist/chunks/resource.js +5 -5
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +73 -0
- package/dist/chunks/scatterplot-model.js +3 -3
- package/dist/chunks/serial-chart-data.js +896 -757
- package/dist/chunks/serial-chart-model.js +136 -123
- package/dist/chunks/series-length.js +2 -2
- package/dist/chunks/series-types.js +22 -18
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +17 -13
- package/dist/chunks/type-guards2.js +41 -33
- package/dist/chunks/utils.js +108 -96
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +632 -492
- package/dist/chunks/x-bounds.js +41 -42
- package/dist/components/arcgis-chart/customElement.d.ts +227 -156
- package/dist/components/arcgis-chart/customElement.js +10323 -10325
- package/dist/components/arcgis-charts-action-bar/customElement.js +33 -30
- package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +44 -43
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -15
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +23 -25
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +15 -18
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +18 -20
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +138 -136
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
- package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-format/customElement.js +93 -86
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-guide/customElement.js +17 -18
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +64 -76
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +53 -54
- package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +33 -34
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +12 -12
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +35 -37
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +41 -48
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +55 -56
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +79 -79
- package/dist/components/arcgis-charts-config-scatter-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +18 -19
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +9 -11
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +57 -26
- package/dist/components/arcgis-charts-info-modal/customElement.js +6 -6
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +62 -67
- package/dist/index.js +471 -458
- package/dist/json-schema/index.d.ts +207 -6
- package/dist/loader.js +2 -2
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +8 -5
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +24 -2
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +6 -5
- package/dist/model/mixins/model-with-multi-axes.d.ts +23 -23
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -0
- package/dist/model/properties/data-labels/data-labels-symbol.d.ts +26 -0
- package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
- package/dist/model/properties/rotated-state.d.ts +1 -1
- package/dist/model/properties/rounded-corners.d.ts +18 -0
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +190 -0
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +15 -0
- package/dist/model/shared/type-guards.d.ts +16 -2
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/data-source.d.ts +15 -3
- package/dist/spec/rest-js-object-literals.d.ts +2 -2
- package/dist/spec/rest-js-types.d.ts +22 -8
- package/dist/spec/web-chart.d.ts +42 -6
- package/dist/utils/chart-config/converter/index.js +198 -179
- package/dist/utils/chart-config/utils/index.d.ts +54 -4
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +3 -3
- package/dist/utils/cursor/interfaces.d.ts +21 -0
- package/dist/utils/data/categorical-data/index.d.ts +2 -2
- package/dist/utils/data/index.d.ts +14 -10
- package/dist/utils/data/interfaces.d.ts +4 -3
- package/dist/utils/defaults/index.d.ts +16 -4
- package/dist/utils/defaults/interfaces.d.ts +7 -2
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +5 -3
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/interfaces.d.ts +2 -1
- package/dist/utils/layer/query-features/index.d.ts +18 -1
- package/dist/utils/layer/query-parser/index.d.ts +5 -3
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/type-guards/chart-types.d.ts +10 -0
- package/dist/utils/type-guards/series-types.d.ts +9 -2
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +7 -8
- package/dist/cdn/24RLLXS6.js +0 -2
- package/dist/cdn/2N4MK6FQ.js +0 -2
- package/dist/cdn/32FR66QO.js +0 -2
- package/dist/cdn/3EIVHDDK.js +0 -2
- package/dist/cdn/3NUNWPAR.js +0 -2
- package/dist/cdn/43ZHPVBB.js +0 -2
- package/dist/cdn/547RDEMV.js +0 -2
- package/dist/cdn/5YJNENER.js +0 -2
- package/dist/cdn/6AF2OTL6.js +0 -2
- package/dist/cdn/6CFIKYKR.js +0 -2
- package/dist/cdn/6GLTSMOR.js +0 -2
- package/dist/cdn/7EMCHGGV.js +0 -2
- package/dist/cdn/7OF2IANH.js +0 -2
- package/dist/cdn/7VN3A7S2.js +0 -2
- package/dist/cdn/7YWZG3ZS.js +0 -2
- package/dist/cdn/A5GIBV5W.js +0 -2
- package/dist/cdn/ADPDJISV.js +0 -2
- package/dist/cdn/B4KAJRUJ.js +0 -2
- package/dist/cdn/BBUPTHPL.js +0 -2
- package/dist/cdn/BBURKBKE.js +0 -2
- package/dist/cdn/BLZODYE2.js +0 -4
- package/dist/cdn/BO62KSB5.js +0 -2
- package/dist/cdn/C2FOUUEM.js +0 -2
- package/dist/cdn/CJPEW4LJ.js +0 -142
- package/dist/cdn/CVU3UPPF.js +0 -2
- package/dist/cdn/CZ5XRXCE.js +0 -2
- package/dist/cdn/D73VV2AZ.js +0 -2
- package/dist/cdn/DJACBOFO.js +0 -2
- package/dist/cdn/DPNTYHTH.js +0 -2
- package/dist/cdn/DZ72EIRH.js +0 -2
- package/dist/cdn/EGISZTGB.js +0 -2
- package/dist/cdn/EP34TF4L.js +0 -2
- package/dist/cdn/EZD3FBJU.js +0 -2
- package/dist/cdn/EZV7JSQJ.js +0 -2
- package/dist/cdn/FQT7V7QG.js +0 -2
- package/dist/cdn/G72TNKCS.js +0 -2
- package/dist/cdn/GQ5QBLRO.js +0 -2
- package/dist/cdn/HWJGWDU3.js +0 -2
- package/dist/cdn/HZR4NSZV.js +0 -2
- package/dist/cdn/ICFKKJWQ.js +0 -2
- package/dist/cdn/IWX5L226.js +0 -2
- package/dist/cdn/JNG6V7XC.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/JS2KOBA2.js +0 -2
- package/dist/cdn/JTTJ455Y.js +0 -2
- package/dist/cdn/JWO5WVTZ.js +0 -2
- package/dist/cdn/K4WI2SGM.js +0 -2
- package/dist/cdn/KLHZFPYK.js +0 -2
- package/dist/cdn/KO7HQLGV.js +0 -2
- package/dist/cdn/L5AQ4I5T.js +0 -2
- package/dist/cdn/LC6CY2HW.js +0 -2
- package/dist/cdn/MBVTB42G.js +0 -2
- package/dist/cdn/MGEW6X3Y.js +0 -102
- package/dist/cdn/NSOZIR5F.js +0 -2
- package/dist/cdn/NTSTL3FK.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/O5A25X5K.js +0 -2
- package/dist/cdn/OAAJ6CIN.js +0 -2
- package/dist/cdn/OGYY2Y22.js +0 -2
- package/dist/cdn/PAIRUVLU.js +0 -2
- package/dist/cdn/PRGFNLY7.js +0 -2
- package/dist/cdn/PROSIXIF.js +0 -2
- package/dist/cdn/Q5JDSPJA.js +0 -2
- package/dist/cdn/QJC3FDWG.js +0 -2
- package/dist/cdn/QRLILSSI.js +0 -2
- package/dist/cdn/QY53LXP2.js +0 -2
- package/dist/cdn/R75MHIRF.js +0 -2
- package/dist/cdn/RDA5NV6M.js +0 -2
- package/dist/cdn/RG3DO2OE.js +0 -2
- package/dist/cdn/RPNZL6AC.js +0 -2
- package/dist/cdn/S32NLOJ5.js +0 -2
- package/dist/cdn/SCAZDS2G.js +0 -2
- package/dist/cdn/SJGYHEMZ.js +0 -2
- package/dist/cdn/STU55UIS.js +0 -58
- package/dist/cdn/TCTQ4LMU.js +0 -2
- package/dist/cdn/TDHHWIIC.js +0 -2
- package/dist/cdn/TJMPLGQI.js +0 -2
- package/dist/cdn/TJMTF45U.js +0 -3
- package/dist/cdn/TW5DX7YP.js +0 -2
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/UZEMSOA2.js +0 -2
- package/dist/cdn/VBHQFV2H.js +0 -2
- package/dist/cdn/VFREVEVA.js +0 -2
- package/dist/cdn/VOTZAPI3.js +0 -2
- package/dist/cdn/VZTLODMQ.js +0 -2
- package/dist/cdn/W7X6L2OB.js +0 -127
- package/dist/cdn/WNKDEOFZ.js +0 -2
- package/dist/cdn/WPPMMVD5.js +0 -2
- package/dist/cdn/XCUXUZXY.js +0 -2
- package/dist/cdn/XG3WW5GG.js +0 -2
- package/dist/cdn/XJFVSX2E.js +0 -2
- package/dist/cdn/Y3CXVO2M.js +0 -2
- package/dist/cdn/YEZL5KRS.js +0 -2
- package/dist/cdn/YYK7SPXC.js +0 -2
- package/dist/chunks/bar-chart-series.js +0 -15
- package/dist/chunks/index6.js +0 -66
- package/dist/chunks/time-zone.js +0 -38
- package/dist/components/arcgis-charts-config-field-select/customElement.js +0 -30
- /package/dist/cdn/{IVLVCLDE.js → 7NWEE7T2.js} +0 -0
- /package/dist/components/{arcgis-charts-config-field-select → arcgis-charts-config-field-picker}/index.js +0 -0
|
@@ -1,83 +1,84 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { g as o } from "./series-types.js";
|
|
3
3
|
import { g as h } from "./runtime.js";
|
|
4
|
-
import { fetchT9nStringsBundle as n
|
|
4
|
+
import { fetchT9nStringsBundle as n } from "@arcgis/toolkit/intl";
|
|
5
|
+
import { getElementLocale as m } from "@arcgis/toolkit/intl/dom";
|
|
5
6
|
import { u as e } from "./chart-object-literals.js";
|
|
6
7
|
import { i as p } from "./utils.js";
|
|
7
|
-
function
|
|
8
|
+
function k(s) {
|
|
8
9
|
const c = o(s.series);
|
|
9
|
-
let
|
|
10
|
+
let r = "graph-bar";
|
|
10
11
|
switch (c) {
|
|
11
12
|
case e.LineSeries: {
|
|
12
|
-
|
|
13
|
+
r = "graph-time-series";
|
|
13
14
|
break;
|
|
14
15
|
}
|
|
15
16
|
case e.PieSeries: {
|
|
16
|
-
|
|
17
|
+
r = "pie-chart";
|
|
17
18
|
break;
|
|
18
19
|
}
|
|
19
20
|
case e.HistogramSeries: {
|
|
20
|
-
|
|
21
|
+
r = "graph-histogram";
|
|
21
22
|
break;
|
|
22
23
|
}
|
|
23
24
|
case e.ScatterSeries: {
|
|
24
|
-
|
|
25
|
+
r = "graph-scatter-plot";
|
|
25
26
|
break;
|
|
26
27
|
}
|
|
27
28
|
case e.BoxPlotSeries: {
|
|
28
|
-
|
|
29
|
+
r = "box-chart";
|
|
29
30
|
break;
|
|
30
31
|
}
|
|
31
32
|
case e.HeatSeries: {
|
|
32
|
-
|
|
33
|
+
r = "calendar-heat-chart";
|
|
33
34
|
break;
|
|
34
35
|
}
|
|
35
36
|
case e.BarSeries:
|
|
36
37
|
}
|
|
37
|
-
return
|
|
38
|
+
return r;
|
|
38
39
|
}
|
|
39
|
-
async function
|
|
40
|
-
const
|
|
40
|
+
async function u(s, c) {
|
|
41
|
+
const r = await n(
|
|
41
42
|
m(document.documentElement).t9nLocale,
|
|
42
43
|
h("./assets/common/t9n"),
|
|
43
44
|
"messages."
|
|
44
45
|
);
|
|
45
46
|
return g({
|
|
46
47
|
chartType: s,
|
|
47
|
-
commonStrings:
|
|
48
|
+
commonStrings: r,
|
|
48
49
|
config: c
|
|
49
50
|
});
|
|
50
51
|
}
|
|
51
52
|
function g(s) {
|
|
52
|
-
const { chartType: c, commonStrings:
|
|
53
|
+
const { chartType: c, commonStrings: r, config: i } = s, t = r.utilsStrings;
|
|
53
54
|
let a = "";
|
|
54
55
|
switch (c) {
|
|
55
56
|
case e.HistogramSeries: {
|
|
56
|
-
a =
|
|
57
|
+
a = t.chartType.histogram;
|
|
57
58
|
break;
|
|
58
59
|
}
|
|
59
60
|
case e.ScatterSeries: {
|
|
60
|
-
a =
|
|
61
|
+
a = t.chartType.scatterplot;
|
|
61
62
|
break;
|
|
62
63
|
}
|
|
63
64
|
case e.BarSeries: {
|
|
64
|
-
a =
|
|
65
|
+
a = t.chartType.barChart;
|
|
65
66
|
break;
|
|
66
67
|
}
|
|
67
68
|
case e.LineSeries: {
|
|
68
|
-
a =
|
|
69
|
+
a = t.chartType.lineChart;
|
|
69
70
|
break;
|
|
70
71
|
}
|
|
71
72
|
case e.PieSeries: {
|
|
72
|
-
a =
|
|
73
|
+
a = t.chartType.pieChart;
|
|
73
74
|
break;
|
|
74
75
|
}
|
|
75
76
|
case e.BoxPlotSeries: {
|
|
76
|
-
a =
|
|
77
|
+
a = t.chartType.boxPlot;
|
|
77
78
|
break;
|
|
78
79
|
}
|
|
79
80
|
case e.HeatSeries: {
|
|
80
|
-
i ? a = p(i) ?
|
|
81
|
+
i ? a = p(i) ? t.chartType.matrixHeatChart : t.chartType.calendarHeatChart : a = t.chartType.heatChart;
|
|
81
82
|
break;
|
|
82
83
|
}
|
|
83
84
|
}
|
|
@@ -85,6 +86,6 @@ function g(s) {
|
|
|
85
86
|
}
|
|
86
87
|
export {
|
|
87
88
|
g as a,
|
|
88
|
-
|
|
89
|
-
|
|
89
|
+
u as f,
|
|
90
|
+
k as g
|
|
90
91
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import W from "@arcgis/core/Color.js";
|
|
3
3
|
import { createClassBreaksRenderer as q } from "@arcgis/core/smartMapping/renderers/color.js";
|
|
4
|
-
import { a3 as G,
|
|
5
|
-
import { cloneDeep as J, memoize as
|
|
4
|
+
import { a3 as G, cm as _ } from "./index2.js";
|
|
5
|
+
import { cloneDeep as J, memoize as Y, isEqual as T, sortBy as Q, flatMap as U } from "lodash-es";
|
|
6
6
|
import { getSchemes as X } from "@arcgis/core/smartMapping/symbology/color.js";
|
|
7
|
-
import {
|
|
7
|
+
import { k as L } from "./index.js";
|
|
8
8
|
import { i as k, f as b, g as C, R as F } from "./rest-js-object-literals.js";
|
|
9
9
|
import * as Z from "@arcgis/core/smartMapping/symbology/support/colorRamps.js";
|
|
10
10
|
import { u as ee } from "./chart-object-literals.js";
|
|
11
|
-
function
|
|
11
|
+
function z(e) {
|
|
12
12
|
let o;
|
|
13
13
|
switch (e.length) {
|
|
14
14
|
case 4: {
|
|
@@ -57,7 +57,7 @@ function j(e) {
|
|
|
57
57
|
function x(e) {
|
|
58
58
|
let o;
|
|
59
59
|
if (typeof e == "string" && e.startsWith("#")) {
|
|
60
|
-
const t =
|
|
60
|
+
const t = z(e);
|
|
61
61
|
t && (o = t);
|
|
62
62
|
} else Array.isArray(e) && e.every((t) => typeof t == "number") && (e.length === 4 ? o = e : e.length === 3 && (o = [...e, 255]));
|
|
63
63
|
return o;
|
|
@@ -104,7 +104,7 @@ function te(e) {
|
|
|
104
104
|
}
|
|
105
105
|
})), n;
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function j(e) {
|
|
108
108
|
const { numericFields: o, configFields: t, inlineData: s } = e, c = s;
|
|
109
109
|
return "dataItems" in s && Object.entries(t).forEach(([n, r]) => {
|
|
110
110
|
o.forEach((a) => {
|
|
@@ -164,7 +164,7 @@ async function se(e) {
|
|
|
164
164
|
numericFields: s,
|
|
165
165
|
configFields: c,
|
|
166
166
|
inlineData: i
|
|
167
|
-
}), i =
|
|
167
|
+
}), i = j({
|
|
168
168
|
numericFields: s,
|
|
169
169
|
configFields: c,
|
|
170
170
|
inlineData: i
|
|
@@ -178,9 +178,9 @@ async function se(e) {
|
|
|
178
178
|
return l && (a = await G(l)), { chartRenderer: r, iLayer: l, layer: a };
|
|
179
179
|
}
|
|
180
180
|
const $e = {
|
|
181
|
-
hexToRGB:
|
|
181
|
+
hexToRGB: z,
|
|
182
182
|
convertColor: x,
|
|
183
|
-
removeConfigFieldsFromData:
|
|
183
|
+
removeConfigFieldsFromData: j
|
|
184
184
|
}, w = Z.all(), re = X({ geometryType: "point", theme: "high-to-low" });
|
|
185
185
|
function H(e, o, t) {
|
|
186
186
|
const s = Math.max(0, Math.min(1, t));
|
|
@@ -331,7 +331,7 @@ function E(e, o) {
|
|
|
331
331
|
function fe(e) {
|
|
332
332
|
return [
|
|
333
333
|
...e.colors ?? [],
|
|
334
|
-
...
|
|
334
|
+
...U(e.colorsForClassBreaks ?? [], (o) => o.colors ?? [])
|
|
335
335
|
];
|
|
336
336
|
}
|
|
337
337
|
function ue(e) {
|
|
@@ -358,7 +358,7 @@ function Ie(e, o) {
|
|
|
358
358
|
weights: t
|
|
359
359
|
});
|
|
360
360
|
return { ramp: f, score: u };
|
|
361
|
-
}), l =
|
|
361
|
+
}), l = Q(i, [
|
|
362
362
|
(f) => -f.score,
|
|
363
363
|
// descending score
|
|
364
364
|
(f) => f.ramp.name
|
|
@@ -440,7 +440,7 @@ function he(e) {
|
|
|
440
440
|
const { colorRampName: o, availableColorRamps: t } = e;
|
|
441
441
|
return de(o, t) ?? P.defaultColorRampForCharts;
|
|
442
442
|
}
|
|
443
|
-
const Ne =
|
|
443
|
+
const Ne = Y(
|
|
444
444
|
async (e) => {
|
|
445
445
|
const {
|
|
446
446
|
data: o,
|
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { g as p, s as b, a as _, b as L } from "./
|
|
2
|
+
import { g as p, s as b, a as _, b as L, W as u } from "./rounded-corners.js";
|
|
3
3
|
import { m as a } from "./model-setter.js";
|
|
4
|
-
import { g as
|
|
5
|
-
import { S as
|
|
6
|
-
import {
|
|
4
|
+
import { g as k, a as C, e as v, b as M, f as z, s as O, h as B, c as V, i as A, d as D, j as F, k as H, n as W, o as d, p as j, q as P, r as T, W as w } from "./negative-values-stacked-to-baseline.js";
|
|
5
|
+
import { S as N, s as q } from "./serial-chart-model.js";
|
|
6
|
+
import { h as R } from "./utils.js";
|
|
7
7
|
import { u as S } from "./chart-object-literals.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { an as f } from "./index2.js";
|
|
8
|
+
import { bt as $, ap as f, bs as l, bd as h } from "./index2.js";
|
|
9
|
+
import { z as E, A as y, $ as m } from "./index.js";
|
|
11
10
|
var G = Object.defineProperty, J = Object.getOwnPropertyDescriptor, n = (c, e, i, s) => {
|
|
12
|
-
for (var t = J(e, i), r = c.length - 1,
|
|
13
|
-
(
|
|
11
|
+
for (var t = J(e, i), r = c.length - 1, g; r >= 0; r--)
|
|
12
|
+
(g = c[r]) && (t = g(e, i, t) || t);
|
|
14
13
|
return t && G(e, i, t), t;
|
|
15
14
|
};
|
|
16
|
-
class o extends
|
|
15
|
+
class o extends N {
|
|
17
16
|
constructor() {
|
|
18
17
|
super(...arguments), this._chartType = S.ComboLineAndBarSeries;
|
|
19
18
|
}
|
|
20
19
|
async setup(e) {
|
|
21
|
-
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && (
|
|
20
|
+
await this.loadConfigFromLayer(e), this.setupLocalProps(), e.config !== void 0 && ($(e.config?.series) && this.initDefaultSeries(), this.updateSeriesFromLayerFilter()), typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
22
21
|
}
|
|
23
22
|
// ---------------------------------------------------------------------------------------------
|
|
24
23
|
// Protected Methods
|
|
@@ -62,7 +61,7 @@ class o extends T {
|
|
|
62
61
|
...t.fillSymbol,
|
|
63
62
|
color: s.lineSymbol?.color
|
|
64
63
|
});
|
|
65
|
-
} else if (i === S.LineSeries &&
|
|
64
|
+
} else if (i === S.LineSeries && h(s)) {
|
|
66
65
|
const r = { ...s };
|
|
67
66
|
delete r.fillSymbol, delete r.hideOversizedStackedLabels, delete r.hideOversizedSideBySideLabels, t = {
|
|
68
67
|
...m({
|
|
@@ -86,11 +85,11 @@ class o extends T {
|
|
|
86
85
|
* @param seriesIndex The index of the series.
|
|
87
86
|
*/
|
|
88
87
|
getSeriesLineStyle(e) {
|
|
89
|
-
return
|
|
88
|
+
return k(e, this._config);
|
|
90
89
|
}
|
|
91
90
|
setSeriesLineStyle(e, i) {
|
|
92
91
|
const s = this._config.series?.[i];
|
|
93
|
-
l(s) &&
|
|
92
|
+
l(s) && C(e, i, this._config);
|
|
94
93
|
}
|
|
95
94
|
/**
|
|
96
95
|
* Gets the line width of the series based on the series index.
|
|
@@ -99,11 +98,11 @@ class o extends T {
|
|
|
99
98
|
* @param seriesIndex - The index of the series.
|
|
100
99
|
*/
|
|
101
100
|
getSeriesLineWidth(e) {
|
|
102
|
-
return
|
|
101
|
+
return v(e, this._config);
|
|
103
102
|
}
|
|
104
103
|
setSeriesLineWidth(e, i) {
|
|
105
104
|
const s = this._config.series?.[i];
|
|
106
|
-
l(s) &&
|
|
105
|
+
l(s) && M(e, i, this._config);
|
|
107
106
|
}
|
|
108
107
|
/**
|
|
109
108
|
* Gets the marker color of the series based on the series index.
|
|
@@ -112,11 +111,11 @@ class o extends T {
|
|
|
112
111
|
* @param seriesIndex - The index of the series.
|
|
113
112
|
*/
|
|
114
113
|
getSeriesMarkerColor(e) {
|
|
115
|
-
return
|
|
114
|
+
return z(e, this._config);
|
|
116
115
|
}
|
|
117
116
|
setSeriesMarkerColor(e, i) {
|
|
118
117
|
const s = this._config.series?.[i];
|
|
119
|
-
l(s) &&
|
|
118
|
+
l(s) && O(e, i, this._config);
|
|
120
119
|
}
|
|
121
120
|
/**
|
|
122
121
|
* Gets the marker style of the series based on the series index.
|
|
@@ -125,11 +124,11 @@ class o extends T {
|
|
|
125
124
|
* @param seriesIndex - The index of the series.
|
|
126
125
|
*/
|
|
127
126
|
getSeriesMarkerStyle(e) {
|
|
128
|
-
return
|
|
127
|
+
return B(e, this._config);
|
|
129
128
|
}
|
|
130
129
|
setSeriesMarkerStyle(e, i) {
|
|
131
130
|
const s = this._config.series?.[i];
|
|
132
|
-
l(s) &&
|
|
131
|
+
l(s) && V(e, i, this._config);
|
|
133
132
|
}
|
|
134
133
|
/**
|
|
135
134
|
* Gets the marker size of the series based on the series index.
|
|
@@ -137,7 +136,7 @@ class o extends T {
|
|
|
137
136
|
* @param seriesIndex - The index of the series.
|
|
138
137
|
*/
|
|
139
138
|
getSeriesMarkerSize(e) {
|
|
140
|
-
return
|
|
139
|
+
return A(e, this._config);
|
|
141
140
|
}
|
|
142
141
|
setSeriesMarkerSize(e, i) {
|
|
143
142
|
const s = this._config.series?.[i];
|
|
@@ -153,7 +152,7 @@ class o extends T {
|
|
|
153
152
|
}
|
|
154
153
|
setLineSmoothed(e, i) {
|
|
155
154
|
const s = this._config.series?.[i];
|
|
156
|
-
l(s) &&
|
|
155
|
+
l(s) && H({
|
|
157
156
|
smoothed: e,
|
|
158
157
|
seriesIndex: i,
|
|
159
158
|
config: this._config
|
|
@@ -165,7 +164,7 @@ class o extends T {
|
|
|
165
164
|
* @param seriesIndex - The index of the series.
|
|
166
165
|
*/
|
|
167
166
|
isAreaVisible(e) {
|
|
168
|
-
return
|
|
167
|
+
return W(e, this._config);
|
|
169
168
|
}
|
|
170
169
|
setAreaVisible(e, i) {
|
|
171
170
|
const s = this._config.series?.[i];
|
|
@@ -185,7 +184,7 @@ class o extends T {
|
|
|
185
184
|
}
|
|
186
185
|
setMarkerVisible(e, i) {
|
|
187
186
|
const s = this._config.series?.[i];
|
|
188
|
-
l(s) &&
|
|
187
|
+
l(s) && P({
|
|
189
188
|
visible: e,
|
|
190
189
|
seriesIndex: i,
|
|
191
190
|
config: this._config
|
|
@@ -198,7 +197,7 @@ class o extends T {
|
|
|
198
197
|
* @param seriesIndex - The index of the series.
|
|
199
198
|
*/
|
|
200
199
|
getAreaColor(e) {
|
|
201
|
-
return
|
|
200
|
+
return T(e, this._config);
|
|
202
201
|
}
|
|
203
202
|
setAreaColor(e, i) {
|
|
204
203
|
const s = this._config.series?.[i];
|
|
@@ -206,10 +205,10 @@ class o extends T {
|
|
|
206
205
|
visible: !0,
|
|
207
206
|
seriesIndex: i,
|
|
208
207
|
config: this._config
|
|
209
|
-
}),
|
|
208
|
+
}), q(e, i, this._config));
|
|
210
209
|
}
|
|
211
210
|
/**
|
|
212
|
-
* Gets whether to hide oversized data labels of the side-by-side series based on the series index.
|
|
211
|
+
* Gets whether to hide oversized data labels of the side-by-side series based on the series index.
|
|
213
212
|
*
|
|
214
213
|
* If the index is out of bounds, it will return `undefined`.
|
|
215
214
|
*
|
|
@@ -220,7 +219,7 @@ class o extends T {
|
|
|
220
219
|
}
|
|
221
220
|
setSeriesHideOversizedSideBySideLabels(e, i) {
|
|
222
221
|
const s = this._config.series?.[i];
|
|
223
|
-
|
|
222
|
+
h(s) && b(e, i, this._config);
|
|
224
223
|
}
|
|
225
224
|
/**
|
|
226
225
|
* Gets whether to hide oversized data labels of the stacked series based on the series index.
|
|
@@ -233,7 +232,7 @@ class o extends T {
|
|
|
233
232
|
}
|
|
234
233
|
setSeriesHideOversizedStackedLabels(e, i) {
|
|
235
234
|
const s = this._config.series?.[i];
|
|
236
|
-
|
|
235
|
+
h(s) && L(e, i, this._config);
|
|
237
236
|
}
|
|
238
237
|
}
|
|
239
238
|
n([
|
|
@@ -272,8 +271,8 @@ n([
|
|
|
272
271
|
n([
|
|
273
272
|
a
|
|
274
273
|
], o.prototype, "setSeriesHideOversizedStackedLabels");
|
|
275
|
-
const K = [
|
|
276
|
-
|
|
274
|
+
const K = [w, u];
|
|
275
|
+
R(o, K);
|
|
277
276
|
export {
|
|
278
277
|
o as ComboBarLineChartModel
|
|
279
278
|
};
|
|
@@ -1,43 +1,58 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { cloneDeep as
|
|
3
|
-
import { C as
|
|
4
|
-
import {
|
|
5
|
-
var
|
|
6
|
-
for (var s =
|
|
7
|
-
(
|
|
8
|
-
return s &&
|
|
2
|
+
import { cloneDeep as m } from "lodash-es";
|
|
3
|
+
import { C as L, m as d } from "./model-setter.js";
|
|
4
|
+
import { H as p, T as l, M as v } from "./index.js";
|
|
5
|
+
var y = Object.defineProperty, u = Object.getOwnPropertyDescriptor, f = (e, t, a, r) => {
|
|
6
|
+
for (var s = u(t, a), o = e.length - 1, i; o >= 0; o--)
|
|
7
|
+
(i = e[o]) && (s = i(t, a, s) || s);
|
|
8
|
+
return s && y(t, a, s), s;
|
|
9
9
|
};
|
|
10
10
|
function h(e) {
|
|
11
11
|
return e !== void 0 && "dataLabelsSymbol" in e;
|
|
12
12
|
}
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
const n = (e, t) => {
|
|
14
|
+
if (t !== void 0)
|
|
15
|
+
return e.series[t]?.dataLabels?.content;
|
|
16
|
+
for (const a of e.series)
|
|
17
|
+
if (a.dataLabels !== void 0)
|
|
18
|
+
return a.dataLabels.content;
|
|
19
|
+
}, b = (e, t, a) => {
|
|
20
|
+
const r = a !== void 0 ? [t.series[a]] : t.series;
|
|
21
|
+
for (const s of r)
|
|
22
|
+
s !== void 0 && ((s.dataLabels === void 0 || e === void 0) && (s.dataLabels = p({
|
|
20
23
|
text: "",
|
|
21
24
|
visible: !0,
|
|
22
|
-
font:
|
|
23
|
-
type:
|
|
24
|
-
})), e !== void 0 && (
|
|
25
|
+
font: v(l.DataLabels),
|
|
26
|
+
type: l.DataLabels
|
|
27
|
+
})), e !== void 0 && (s.dataLabels.content = m(e)));
|
|
25
28
|
};
|
|
26
|
-
class
|
|
29
|
+
class c extends L {
|
|
27
30
|
/**
|
|
28
31
|
* Data labels text symbol (font, color, style).
|
|
29
32
|
*/
|
|
30
33
|
get dataLabelsSymbol() {
|
|
31
|
-
return
|
|
34
|
+
return n(this._config);
|
|
32
35
|
}
|
|
33
36
|
set dataLabelsSymbol(t) {
|
|
34
|
-
|
|
37
|
+
b(t, this._config);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Gets the data labels text symbol for a specific series in the chart config.
|
|
41
|
+
*/
|
|
42
|
+
getDataLabelsSymbol(t) {
|
|
43
|
+
return n(this._config, t);
|
|
44
|
+
}
|
|
45
|
+
setDataLabelsSymbol(t, a) {
|
|
46
|
+
b(t, this._config, a);
|
|
35
47
|
}
|
|
36
48
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
],
|
|
49
|
+
f([
|
|
50
|
+
d
|
|
51
|
+
], c.prototype, "dataLabelsSymbol");
|
|
52
|
+
f([
|
|
53
|
+
d
|
|
54
|
+
], c.prototype, "setDataLabelsSymbol");
|
|
40
55
|
export {
|
|
41
|
-
|
|
56
|
+
c as W,
|
|
42
57
|
h as i
|
|
43
58
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { C as h } from "./chart-model.js";
|
|
3
3
|
import { k as y } from "./chart-object-literals.js";
|
|
4
|
-
import {
|
|
4
|
+
import { X as d, H as b, T as r, M as v } from "./index.js";
|
|
5
5
|
import { m as o, C as f } from "./model-setter.js";
|
|
6
6
|
const L = (t) => {
|
|
7
7
|
let e = !1;
|
|
8
8
|
return t.legend !== void 0 && (e = t.legend.visible ?? !0), e;
|
|
9
9
|
}, u = (t, e) => {
|
|
10
10
|
e.legend === void 0 && (e.legend = d()), e.legend.visible = t;
|
|
11
|
-
}, x = (t) => t.legend?.title?.content,
|
|
11
|
+
}, x = (t) => t.legend?.title?.content, M = (t, e) => {
|
|
12
12
|
e.legend === void 0 && (e.legend = d()), (e.legend.title === void 0 || t === void 0) && (e.legend.title = b({
|
|
13
13
|
text: "",
|
|
14
14
|
visible: !0,
|
|
15
15
|
font: v(r.LegendTitle),
|
|
16
16
|
type: r.LegendTitle
|
|
17
17
|
})), t !== void 0 && (e.legend.title.content = t);
|
|
18
|
-
},
|
|
18
|
+
}, D = (t) => t.legend?.body, V = (t, e) => {
|
|
19
19
|
e.legend === void 0 && (e.legend = d()), e.legend.body = t ?? b({
|
|
20
20
|
text: "",
|
|
21
21
|
visible: !0,
|
|
@@ -118,13 +118,13 @@ class g extends h {
|
|
|
118
118
|
return x(this._config);
|
|
119
119
|
}
|
|
120
120
|
set legendTitleSymbol(e) {
|
|
121
|
-
|
|
121
|
+
M(e, this._config);
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Legend item text symbol (font, color, style).
|
|
125
125
|
*/
|
|
126
126
|
get legendTextSymbol() {
|
|
127
|
-
return
|
|
127
|
+
return D(this._config);
|
|
128
128
|
}
|
|
129
129
|
set legendTextSymbol(e) {
|
|
130
130
|
V(e, this._config);
|
|
@@ -172,7 +172,7 @@ a([
|
|
|
172
172
|
a([
|
|
173
173
|
o
|
|
174
174
|
], g.prototype, "legendRoundMarker");
|
|
175
|
-
const
|
|
175
|
+
const k = (t, e) => t.series?.[e ?? 0]?.dataTooltipVisible ?? !0, E = (t, e, i) => {
|
|
176
176
|
i && t.series?.[i] ? t.series[i].dataTooltipVisible = e : t.series && t.series.forEach((p) => {
|
|
177
177
|
p.dataTooltipVisible = e;
|
|
178
178
|
});
|
|
@@ -181,10 +181,10 @@ const E = (t, e) => t.series?.[e ?? 0]?.dataTooltipVisible ?? !0, k = (t, e, i)
|
|
|
181
181
|
p.dataTooltipReverseColor = e;
|
|
182
182
|
});
|
|
183
183
|
};
|
|
184
|
-
var
|
|
185
|
-
for (var l =
|
|
184
|
+
var X = Object.defineProperty, q = Object.getOwnPropertyDescriptor, T = (t, e, i, p) => {
|
|
185
|
+
for (var l = q(e, i), s = t.length - 1, n; s >= 0; s--)
|
|
186
186
|
(n = t[s]) && (l = n(e, i, l) || l);
|
|
187
|
-
return l &&
|
|
187
|
+
return l && X(e, i, l), l;
|
|
188
188
|
};
|
|
189
189
|
class _ extends h {
|
|
190
190
|
/**
|
|
@@ -195,10 +195,10 @@ class _ extends h {
|
|
|
195
195
|
* @param seriesIndex - The index of the series.
|
|
196
196
|
*/
|
|
197
197
|
getDataTooltipVisibility(e) {
|
|
198
|
-
return
|
|
198
|
+
return k(this._config, e);
|
|
199
199
|
}
|
|
200
200
|
setDataTooltipVisibility(e, i) {
|
|
201
|
-
|
|
201
|
+
E(this._config, e, i);
|
|
202
202
|
}
|
|
203
203
|
/**
|
|
204
204
|
* Gets the setting of the `dataTooltipReverseColor` property.
|
|
@@ -220,15 +220,15 @@ T([
|
|
|
220
220
|
T([
|
|
221
221
|
o
|
|
222
222
|
], _.prototype, "setDataTooltipReverseColor");
|
|
223
|
-
var
|
|
224
|
-
for (var l =
|
|
223
|
+
var z = Object.defineProperty, A = Object.getOwnPropertyDescriptor, G = (t, e, i, p) => {
|
|
224
|
+
for (var l = A(e, i), s = t.length - 1, n; s >= 0; s--)
|
|
225
225
|
(n = t[s]) && (l = n(e, i, l) || l);
|
|
226
|
-
return l &&
|
|
226
|
+
return l && z(e, i, l), l;
|
|
227
227
|
};
|
|
228
|
-
const
|
|
228
|
+
const J = (t) => t.colorMatch ?? !0, K = (t, e) => {
|
|
229
229
|
e.colorMatch = t;
|
|
230
230
|
};
|
|
231
|
-
class
|
|
231
|
+
class N extends f {
|
|
232
232
|
/**
|
|
233
233
|
* Whether the chart should attempt to match the data source's colors.
|
|
234
234
|
*
|
|
@@ -236,19 +236,19 @@ class Q extends f {
|
|
|
236
236
|
* `false`: Use the colors defined in the config.
|
|
237
237
|
*/
|
|
238
238
|
get colorMatch() {
|
|
239
|
-
return
|
|
239
|
+
return J(this._config);
|
|
240
240
|
}
|
|
241
241
|
set colorMatch(e) {
|
|
242
|
-
|
|
242
|
+
K(e, this._config);
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
|
-
|
|
245
|
+
G([
|
|
246
246
|
o
|
|
247
|
-
],
|
|
248
|
-
var
|
|
249
|
-
for (var l =
|
|
247
|
+
], N.prototype, "colorMatch");
|
|
248
|
+
var Q = Object.defineProperty, U = Object.getOwnPropertyDescriptor, Y = (t, e, i, p) => {
|
|
249
|
+
for (var l = U(e, i), s = t.length - 1, n; s >= 0; s--)
|
|
250
250
|
(n = t[s]) && (l = n(e, i, l) || l);
|
|
251
|
-
return l &&
|
|
251
|
+
return l && Q(e, i, l), l;
|
|
252
252
|
};
|
|
253
253
|
const Z = (t) => t.series[0]?.dataLabels?.visible ?? !1, I = (t, e) => {
|
|
254
254
|
e.series.forEach((i) => {
|
|
@@ -276,7 +276,7 @@ Y([
|
|
|
276
276
|
], ee.prototype, "dataLabelsVisibility");
|
|
277
277
|
export {
|
|
278
278
|
g as M,
|
|
279
|
-
|
|
279
|
+
N as W,
|
|
280
280
|
_ as a,
|
|
281
281
|
ee as b
|
|
282
282
|
};
|