@arcgis/charts-components 5.2.0-next.8 → 5.2.0-next.85
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/LICENSE.md +4 -2
- package/README.md +2 -2
- package/dist/cdn/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/{5MEQANMY.js → 26DDVOQ7.js} +1 -1
- package/dist/cdn/2BA2QD2A.js +3 -0
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/2MF442VT.js +2 -0
- package/dist/cdn/{VY3KBD6N.js → 2YDNWOWT.js} +1 -1
- package/dist/cdn/3AYNHY7J.js +2 -0
- package/dist/cdn/{DCZWZOPF.js → 3FFCWEMV.js} +1 -1
- package/dist/cdn/3H3PFQTD.js +2 -0
- package/dist/cdn/3KDTVBIG.js +2 -0
- package/dist/cdn/3SSQPYQA.js +2 -0
- package/dist/cdn/{JRHMUFED.js → 3YPGCLG4.js} +1 -1
- package/dist/cdn/{Y7HBWU3M.js → 3ZKNY2GI.js} +1 -1
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/4KF7SUJE.js +2 -0
- package/dist/cdn/{MVHQR4FJ.js → 4U2HIMOR.js} +1 -1
- package/dist/cdn/52NR6B2J.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/5DHMYPPF.js +2 -0
- package/dist/cdn/5NGIGJYR.js +2 -0
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/62GSQDTE.js +2 -0
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/{CLXVAIQX.js → 6AXYQGBN.js} +1 -1
- package/dist/cdn/6LV3ASGE.js +2 -0
- package/dist/cdn/6SQNRMJG.js +2 -0
- package/dist/cdn/{ETKPMU7Z.js → 6U6VAS2O.js} +1 -1
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → 6WWEQU3O.js} +1 -1
- package/dist/cdn/72KEQM4K.js +2 -0
- package/dist/cdn/72VGCAR5.js +2 -0
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/7CZMR2WF.js +2 -0
- package/dist/cdn/7JA63ENU.js +45 -0
- package/dist/cdn/7P3FHJUU.js +2 -0
- package/dist/cdn/7SIKOCYK.js +4 -0
- package/dist/cdn/7ZAT46VE.js +2 -0
- package/dist/cdn/{A5AECJXP.js → A2KSCV2I.js} +1 -1
- package/dist/cdn/ACMHG3RB.js +2 -0
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/{E7OAEGSE.js → AF2GUPVE.js} +1 -1
- package/dist/cdn/{AJWYIBGC.js → AS3QP77N.js} +1 -1
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{LFQGH44F.js → B5Z7FBO7.js} +1 -1
- package/dist/cdn/{2HUAW34Q.js → B7J5YIWF.js} +1 -1
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/BGOWDCTO.js +2 -0
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BV7UUWYI.js +2 -0
- package/dist/cdn/{N6AOFBBX.js → BWR5ONE2.js} +1 -1
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/{AWF4R7WL.js → C2ZX67U4.js} +1 -1
- package/dist/cdn/C5UI5MYS.js +2 -0
- package/dist/cdn/C7F4AVQU.js +104 -0
- package/dist/cdn/{EXXLJVGS.js → CFOB77PI.js} +1 -1
- package/dist/cdn/CSOYZJU5.js +2 -0
- package/dist/cdn/CVWT6DGY.js +2 -0
- package/dist/cdn/CXWBQG5O.js +2 -0
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/{L4G6FO7A.js → DDNOUE2T.js} +1 -1
- package/dist/cdn/DE3CJJG3.js +2 -0
- package/dist/cdn/DKC4NIUA.js +2 -0
- package/dist/cdn/DW5NK2B3.js +2 -0
- package/dist/cdn/DZWIVB6V.js +2 -0
- package/dist/cdn/EMOHROY3.js +2 -0
- package/dist/cdn/{HVO4LIXR.js → EQTI5Z4G.js} +1 -1
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/EYYTKCXM.js +2 -0
- package/dist/cdn/EZLKMWI5.js +2 -0
- package/dist/cdn/F3LVXDV4.js +2 -0
- package/dist/cdn/FBU4ODQE.js +2 -0
- package/dist/cdn/{A4GEWIPY.js → FFJTVPE4.js} +1 -1
- package/dist/cdn/FQKGQHVK.js +2 -0
- package/dist/cdn/{JCH3RDLR.js → FRTPDJGW.js} +1 -1
- package/dist/cdn/{WASEMNYV.js → G45UKTNI.js} +1 -1
- package/dist/cdn/GDGYKODO.js +2 -0
- package/dist/cdn/GX64OP3A.js +2 -0
- package/dist/cdn/GZEVPH4Y.js +2 -0
- package/dist/cdn/{XE3FKQFA.js → H2DUFQAG.js} +1 -1
- package/dist/cdn/{JJIGLOJA.js → HABS63VB.js} +1 -1
- package/dist/cdn/HDIBDW52.js +2 -0
- package/dist/cdn/HOASAQAB.js +2 -0
- package/dist/cdn/HQ2JPCTQ.js +2 -0
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/I3BMYY7N.js +2 -0
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/IN2IL6T2.js +2 -0
- package/dist/cdn/IVM37XFX.js +2 -0
- package/dist/cdn/{DKAHZ7IX.js → J3BB5KXD.js} +1 -1
- package/dist/cdn/JMMNRCD4.js +2 -0
- package/dist/cdn/JQM5R6XW.js +2 -0
- package/dist/cdn/{XW4PBQNW.js → JUFBIV44.js} +1 -1
- package/dist/cdn/JUU3BZT7.js +2 -0
- package/dist/cdn/KAQ5XSCQ.js +2 -0
- package/dist/cdn/KG574LAE.js +2 -0
- package/dist/cdn/KHJC5P5T.js +2 -0
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/{QOOBNATX.js → KTYFDFMQ.js} +1 -1
- package/dist/cdn/{CHQDKVVQ.js → KWN3N6VE.js} +1 -1
- package/dist/cdn/KYOBS7XL.js +2 -0
- package/dist/cdn/KZSCAJDG.js +2 -0
- package/dist/cdn/L4BZX57U.js +2 -0
- package/dist/cdn/L5JZ5COY.js +2 -0
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LCTDNI27.js +2 -0
- package/dist/cdn/LM6VCILT.js +2 -0
- package/dist/cdn/LMTSW3JM.js +2 -0
- package/dist/cdn/LPS3VU35.js +2 -0
- package/dist/cdn/{6XTKJ7DO.js → LXZXXY7V.js} +1 -1
- package/dist/cdn/M6OCFMDB.js +2 -0
- package/dist/cdn/MITW5XKW.js +2 -0
- package/dist/cdn/MJHVSD5B.js +2 -0
- package/dist/cdn/MNYNXHXE.js +2 -0
- package/dist/cdn/NH2A5QEU.js +2 -0
- package/dist/cdn/NIDXK3GN.js +2 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/{YOT6DVSU.js → NNHJ75EA.js} +1 -1
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/{TF7TE7K5.js → NWQ2L7IJ.js} +1 -1
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/{4ZIZEJXS.js → OISERMTF.js} +1 -1
- package/dist/cdn/{ETOGNYFU.js → OKAZOAYZ.js} +1 -1
- package/dist/cdn/OMORDJT2.js +2 -0
- package/dist/cdn/{DEGBVJ76.js → OMU647X3.js} +1 -1
- package/dist/cdn/{XUERYUEG.js → OQFM5DBD.js} +1 -1
- package/dist/cdn/{AM2TOTX6.js → OXPXA3PS.js} +1 -1
- package/dist/cdn/OYXDCECZ.js +2 -0
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{KDJ5RVHA.js → P3AYFJRV.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/{BJDRJUEJ.js → P7FI5QUW.js} +1 -1
- package/dist/cdn/{KZ7LPNX3.js → PCFEAGXP.js} +1 -1
- package/dist/cdn/PF6QOHZR.js +2 -0
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/{GDQBQQUP.js → PMTNALXO.js} +1 -1
- package/dist/cdn/PWJBGZPW.js +2 -0
- package/dist/cdn/{ZXOO3X5P.js → PZP57FJ2.js} +1 -1
- package/dist/cdn/{QMSINFQX.js → Q466K37N.js} +1 -1
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/QIG7WTJF.js +2 -0
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/QXQC4CH5.js +2 -0
- package/dist/cdn/QYRHZJH3.js +2 -0
- package/dist/cdn/{7FZC3RZK.js → R5LIRRMK.js} +1 -1
- package/dist/cdn/R5VDQBUH.js +2 -0
- package/dist/cdn/RCAPTQFV.js +2 -0
- package/dist/cdn/{K3GNHGEW.js → RHUEVXMR.js} +1 -1
- package/dist/cdn/{IPM2XKST.js → RMIIDRGC.js} +1 -1
- package/dist/cdn/RPUEIRTH.js +2 -0
- package/dist/cdn/S2HIF3ZX.js +2 -0
- package/dist/cdn/{KFONSKQF.js → S4NQCINT.js} +1 -1
- package/dist/cdn/SC26LLWP.js +2 -0
- package/dist/cdn/{ML3A3MYV.js → SILDOKXS.js} +1 -1
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/{FF4DUQDZ.js → SVLOD3HQ.js} +1 -1
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/TBW6K2TY.js +2 -0
- package/dist/cdn/{AK7X7SGI.js → TENIFMA5.js} +1 -1
- package/dist/cdn/{5XTQQOTT.js → TJ2NRLF6.js} +1 -1
- package/dist/cdn/{KUZR6CGB.js → TOCBEPNS.js} +1 -1
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/TSU6UVTL.js +2 -0
- package/dist/cdn/U3542JBJ.js +2 -0
- package/dist/cdn/U7GQGHZY.js +2 -0
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/UYDDYD3O.js +2 -0
- package/dist/cdn/V3ITNIER.js +2 -0
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/VQU2TVX7.js +3 -0
- package/dist/cdn/VSPKBQS6.js +2 -0
- package/dist/cdn/WC22SRVJ.js +2 -0
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/XBRRJQVR.js +2 -0
- package/dist/cdn/XFCDAI5T.js +2 -0
- package/dist/cdn/XHZAAQMF.js +2 -0
- package/dist/cdn/{SBYD2EKR.js → XR4O3AQ6.js} +1 -1
- package/dist/cdn/{7HGVEE7A.js → XU7TGV75.js} +1 -1
- package/dist/cdn/XVCBLLWW.js +2 -0
- package/dist/cdn/YAWW63A5.js +2 -0
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/{JBHGSSHS.js → Z5EJIWAY.js} +1 -1
- package/dist/cdn/{GV3TT7L5.js → ZARYZFJ4.js} +1 -1
- package/dist/cdn/ZDUW3TBJ.js +2 -0
- package/dist/cdn/ZGIM53IQ.js +2 -0
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.js} +1 -1
- package/dist/cdn/{ZFZ5AEUQ.js → ZVOX72AF.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/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +52 -22
- package/dist/chunks/{type-guards3.js → action-bar-utils.js} +37 -45
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +42 -38
- package/dist/chunks/box-plot-data.js +270 -279
- package/dist/chunks/box-plot-model.js +159 -144
- package/dist/chunks/chart-model.js +182 -150
- package/dist/chunks/chart-object-literals.js +26 -25
- package/dist/chunks/chart-ui-utils.js +148 -66
- package/dist/chunks/chart-ui-utils2.js +68 -149
- package/dist/chunks/class-breaks.js +24 -24
- package/dist/chunks/combo-bar-line-chart-model.js +48 -40
- package/dist/chunks/data-labels-symbol.js +39 -24
- package/dist/chunks/data-labels-visibility.js +8 -8
- package/dist/chunks/data.js +68 -68
- package/dist/chunks/default.js +6 -6
- package/dist/chunks/gauge-model.js +61 -61
- package/dist/chunks/generate-x-axis-title.js +15 -15
- package/dist/chunks/heat-chart-model.js +95 -66
- package/dist/chunks/histogram-data.js +23 -23
- package/dist/chunks/histogram-model.js +9 -9
- package/dist/chunks/index.js +9363 -1079
- package/dist/chunks/index2.js +852 -8752
- package/dist/chunks/index3.js +1169 -847
- package/dist/chunks/index4.js +315 -86
- package/dist/chunks/index5.js +63 -100
- package/dist/chunks/interfaces.js +9 -9
- package/dist/chunks/line-chart-model.js +18 -18
- package/dist/chunks/model-setter.js +57 -34
- package/dist/chunks/model-types.js +1 -1
- package/dist/chunks/model-with-line-marker-styling.js +18 -9
- package/dist/chunks/model-with-y-guides.js +52 -67
- package/dist/chunks/negative-values-stacked-to-baseline.js +40 -36
- package/dist/chunks/pie-chart-data.js +175 -193
- package/dist/chunks/pie-chart-model.js +388 -320
- package/dist/chunks/radar-chart-model.js +397 -46
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +10 -10
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +73 -0
- package/dist/chunks/scatterplot-model.js +12 -12
- package/dist/chunks/serial-chart-data.js +868 -748
- package/dist/chunks/serial-chart-model.js +145 -123
- package/dist/chunks/series-length.js +17 -17
- package/dist/chunks/series-types.js +22 -18
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +16 -12
- package/dist/chunks/type-guards2.js +61 -52
- package/dist/chunks/utils.js +101 -91
- package/dist/chunks/utils2.js +9 -9
- package/dist/chunks/web-component-utils.js +591 -540
- package/dist/chunks/x-bounds.js +98 -97
- package/dist/components/arcgis-chart/customElement.d.ts +628 -254
- package/dist/components/arcgis-chart/customElement.js +10420 -10099
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +8 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +34 -31
- package/dist/components/arcgis-charts-config-axis/customElement.js +70 -64
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +39 -33
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +29 -29
- 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 +31 -39
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +26 -28
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- 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-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +244 -230
- package/dist/components/arcgis-charts-config-field-picker/customElement.js +30 -0
- package/dist/components/arcgis-charts-config-font-style/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-format/customElement.js +94 -87
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +8 -11
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +21 -22
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +10 -13
- 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 +65 -77
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +58 -59
- package/dist/components/arcgis-charts-config-histogram/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +28 -28
- package/dist/components/arcgis-charts-config-histogram-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +35 -36
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +42 -44
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +7 -8
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -6
- 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 +56 -57
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +66 -67
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +7 -10
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +27 -23
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +80 -80
- 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 +7 -7
- 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 +61 -61
- package/dist/index.js +476 -463
- package/dist/interfaces.d.ts +9 -11
- package/dist/json-schema/index.d.ts +211 -6
- package/dist/loader.js +2 -2
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
- package/dist/model/box-plot-model/box-plot-model.d.ts +7 -1
- package/dist/model/chart-model/chart-model-base.d.ts +10 -0
- package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
- 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 +19 -7
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +41 -8
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/mixins/model-with-guides.d.ts +1 -1
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +16 -7
- package/dist/model/mixins/model-with-multi-axes.d.ts +62 -99
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +61 -2
- 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/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 +27 -1
- package/dist/model/shared/type-guards.d.ts +38 -22
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/data-source.d.ts +17 -3
- package/dist/spec/rest-js-types.d.ts +22 -8
- package/dist/spec/web-chart.d.ts +42 -6
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +3 -3
- package/dist/utils/chart-config/converter/index.js +210 -191
- package/dist/utils/chart-config/utils/index.d.ts +58 -8
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +4 -3
- package/dist/utils/components/interfaces.d.ts +2 -0
- package/dist/utils/cursor/interfaces.d.ts +21 -0
- package/dist/utils/data/categorical-data/index.d.ts +1 -1
- package/dist/utils/data/index.d.ts +28 -22
- package/dist/utils/data/interfaces.d.ts +4 -3
- package/dist/utils/defaults/index.d.ts +31 -6
- package/dist/utils/defaults/interfaces.d.ts +73 -4
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +6 -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 +8 -3
- package/dist/utils/layer/query-parser/index.d.ts +10 -6
- package/dist/utils/localization/interfaces.d.ts +8 -0
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/misc/interfaces.d.ts +1 -0
- 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/32FR66QO.js +0 -2
- package/dist/cdn/3EIVHDDK.js +0 -2
- package/dist/cdn/3NUNWPAR.js +0 -2
- package/dist/cdn/4ACX3XOE.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/6C6AH4LL.js +0 -2
- package/dist/cdn/6CFIKYKR.js +0 -2
- package/dist/cdn/6GLTSMOR.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/ADGMA3ST.js +0 -3
- package/dist/cdn/ADPDJISV.js +0 -2
- package/dist/cdn/AWKELFV6.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/C2FOUUEM.js +0 -2
- package/dist/cdn/CBNT3DO7.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/DF5P34HK.js +0 -2
- package/dist/cdn/DJACBOFO.js +0 -2
- package/dist/cdn/DPNTYHTH.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/FDFYTCDO.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/IXRBZPQL.js +0 -2
- package/dist/cdn/JNNB2DIA.js +0 -2
- package/dist/cdn/JPPGHHIA.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/JWPAMNU4.js +0 -2
- package/dist/cdn/K4WI2SGM.js +0 -2
- package/dist/cdn/KCMZSNBL.js +0 -2
- package/dist/cdn/KLHZFPYK.js +0 -2
- package/dist/cdn/KVUFR34S.js +0 -2
- package/dist/cdn/LTQRSPSC.js +0 -2
- package/dist/cdn/MBVTB42G.js +0 -2
- package/dist/cdn/MRTKZZTF.js +0 -2
- package/dist/cdn/NNEDF6G4.js +0 -2
- 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/OJIUI56Z.js +0 -2
- package/dist/cdn/OSNA56IW.js +0 -4
- package/dist/cdn/P3YHDWG2.js +0 -2
- package/dist/cdn/P4HSSZRL.js +0 -2
- package/dist/cdn/PAIRUVLU.js +0 -2
- package/dist/cdn/PBWZYX5M.js +0 -58
- package/dist/cdn/PPGRM3VJ.js +0 -2
- package/dist/cdn/PRGFNLY7.js +0 -2
- package/dist/cdn/PRMN6W5R.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/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/S5UDCCRH.js +0 -2
- package/dist/cdn/SCAZDS2G.js +0 -2
- package/dist/cdn/SRPOC65M.js +0 -2
- package/dist/cdn/TCTQ4LMU.js +0 -2
- package/dist/cdn/TDHHWIIC.js +0 -2
- package/dist/cdn/THTYR6IL.js +0 -2
- package/dist/cdn/TJMPLGQI.js +0 -2
- package/dist/cdn/TJMTF45U.js +0 -3
- package/dist/cdn/U2CYVAIC.js +0 -102
- package/dist/cdn/U67P6YAZ.js +0 -2
- package/dist/cdn/UZEMSOA2.js +0 -2
- package/dist/cdn/VBHQFV2H.js +0 -2
- package/dist/cdn/VOTZAPI3.js +0 -2
- package/dist/cdn/VQU6N5HX.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/cdn/ZS6EP5BD.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,189 +1,122 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { log as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { i as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { C as
|
|
2
|
+
import { log as w } from "@arcgis/toolkit/log";
|
|
3
|
+
import { a as g } from "./chart-object-literals.js";
|
|
4
|
+
import { p as b, r as B } from "./index.js";
|
|
5
|
+
import { i as E } from "./index4.js";
|
|
6
|
+
import { a6 as p, ax as W, j as L, p as k, aw as R, af as j } from "./index3.js";
|
|
7
|
+
import { a as h, b as K } from "./index2.js";
|
|
8
|
+
import { C as q } from "./chart-model.js";
|
|
9
9
|
import { m as s } from "./model-setter.js";
|
|
10
|
-
import { b as
|
|
11
|
-
import { M as
|
|
12
|
-
import { W as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { cloneDeep as
|
|
16
|
-
import {
|
|
17
|
-
const
|
|
18
|
-
e.series[0]?.type ===
|
|
19
|
-
},
|
|
20
|
-
e.series[0]?.type ===
|
|
21
|
-
},
|
|
22
|
-
e.series[0]?.type ===
|
|
23
|
-
},
|
|
24
|
-
e.series[0]?.type ===
|
|
25
|
-
},
|
|
26
|
-
e.series[0]?.type ===
|
|
27
|
-
}
|
|
28
|
-
var ge = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, m = (t, e, i, o) => {
|
|
29
|
-
for (var l = ce(e, i), n = t.length - 1, g; n >= 0; n--)
|
|
30
|
-
(g = t[n]) && (l = g(e, i, l) || l);
|
|
31
|
-
return l && ge(e, i, l), l;
|
|
32
|
-
};
|
|
33
|
-
class u extends T {
|
|
34
|
-
/**
|
|
35
|
-
* Gets the setting for the display of numerical value in the legend items.
|
|
36
|
-
*
|
|
37
|
-
* **Note**: Only applicable to pie charts.
|
|
38
|
-
*/
|
|
39
|
-
getDisplayNumericValue() {
|
|
40
|
-
return Z(this._config);
|
|
41
|
-
}
|
|
42
|
-
setDisplayNumericValue(e) {
|
|
43
|
-
ee(e, this._config);
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Gets the setting for the display of percentage in the legend items.
|
|
47
|
-
*
|
|
48
|
-
* **Note**: Only applicable to pie charts.
|
|
49
|
-
*/
|
|
50
|
-
getDisplayPercentage() {
|
|
51
|
-
return se(this._config);
|
|
52
|
-
}
|
|
53
|
-
setDisplayPercentage(e) {
|
|
54
|
-
re(e, this._config);
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Gets the maximum width in pixel for the legend item labels.
|
|
58
|
-
*
|
|
59
|
-
* **Note**: Only applicable to pie charts.
|
|
60
|
-
*/
|
|
61
|
-
getLabelMaxWidth() {
|
|
62
|
-
return ae(this._config);
|
|
63
|
-
}
|
|
64
|
-
setLabelMaxWidth(e) {
|
|
65
|
-
oe(e, this._config);
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* The maximum width in pixel for the legend value labels.
|
|
69
|
-
* @returns {number}
|
|
70
|
-
*/
|
|
71
|
-
get valueLabelMaxWidth() {
|
|
72
|
-
return le(this._config);
|
|
73
|
-
}
|
|
74
|
-
set valueLabelMaxWidth(e) {
|
|
75
|
-
ne(e, this._config), this.emitConfigUpdate("valueLabelMaxWidth");
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Whether to display the category in the legend.
|
|
79
|
-
*/
|
|
80
|
-
get displayCategory() {
|
|
81
|
-
return te(this._config);
|
|
82
|
-
}
|
|
83
|
-
set displayCategory(e) {
|
|
84
|
-
ie(e, this._config), this.emitConfigUpdate("displayCategory");
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
m([
|
|
88
|
-
s
|
|
89
|
-
], u.prototype, "setDisplayNumericValue");
|
|
90
|
-
m([
|
|
91
|
-
s
|
|
92
|
-
], u.prototype, "setDisplayPercentage");
|
|
93
|
-
m([
|
|
94
|
-
s
|
|
95
|
-
], u.prototype, "setLabelMaxWidth");
|
|
96
|
-
const pe = [T];
|
|
97
|
-
V(u, pe);
|
|
98
|
-
const de = (t) => t.series?.[0]?.innerRadius, ue = (t, e) => {
|
|
10
|
+
import { b as n, P as u } from "./common.js";
|
|
11
|
+
import { M as H, a as J, W as Q, b as U } from "./data-labels-visibility.js";
|
|
12
|
+
import { W as X } from "./data-labels-symbol.js";
|
|
13
|
+
import { j as Y, c as Z, f as $ } from "./utils.js";
|
|
14
|
+
import { i as y, a as m, g as f, s as ee, c as te, b as ie, d as se, e as re, f as ae, h as O, j as D, k as oe } from "./pie-chart-data.js";
|
|
15
|
+
import { cloneDeep as le } from "lodash-es";
|
|
16
|
+
import { b as _ } from "./rest-js-object-literals.js";
|
|
17
|
+
const C = (t) => t.legend?.displayNumericValue ?? !1, v = (t, e) => {
|
|
18
|
+
e.series[0]?.type === g.PieSeries && (e.legend === void 0 && (e.legend = p()), e.legend.displayNumericValue = t);
|
|
19
|
+
}, P = (t) => t.legend?.displayCategory ?? !1, I = (t, e) => {
|
|
20
|
+
e.series[0]?.type === g.PieSeries && (e.legend === void 0 && (e.legend = p()), e.legend.displayCategory = t);
|
|
21
|
+
}, T = (t) => t.legend?.displayPercentage ?? !1, V = (t, e) => {
|
|
22
|
+
e.series[0]?.type === g.PieSeries && (e.legend === void 0 && (e.legend = p()), e.legend.displayPercentage = t);
|
|
23
|
+
}, x = (t) => t.legend?.labelMaxWidth ?? 200, N = (t, e) => {
|
|
24
|
+
e.series[0]?.type === g.PieSeries && (e.legend === void 0 && (e.legend = p()), e.legend.labelMaxWidth = t);
|
|
25
|
+
}, ne = (t) => t.legend?.valueLabelMaxWidth ?? 200, ce = (t, e) => {
|
|
26
|
+
e.series[0]?.type === g.PieSeries && (e.legend === void 0 && (e.legend = p()), e.legend.valueLabelMaxWidth = t);
|
|
27
|
+
}, ge = (t) => t.series?.[0]?.innerRadius, pe = (t, e) => {
|
|
99
28
|
e.series?.[0] && (e.series[0].innerRadius = t);
|
|
100
|
-
},
|
|
29
|
+
}, de = (t) => t.series?.[0]?.dataLabelsCharacterLimit, ue = (t, e) => {
|
|
101
30
|
e.series?.[0] && (e.series[0].dataLabelsCharacterLimit = t);
|
|
102
|
-
},
|
|
31
|
+
}, M = (t) => t.series[0]?.startAngle, fe = (t, e) => {
|
|
103
32
|
e.series?.[0] && (e.series[0].startAngle = t);
|
|
104
|
-
},
|
|
33
|
+
}, he = (t, e) => {
|
|
105
34
|
e.series?.[0] && (e.series[0].endAngle = t);
|
|
106
|
-
},
|
|
35
|
+
}, ye = (t) => t.series?.[0]?.displayCategoryOnTooltip ?? !0, me = (t) => t.series?.[0]?.displayCategoryOnDataLabel ?? !0, _e = (t) => t.series?.[0]?.displayNumericValueOnDataLabel ?? !0, Se = (t) => t.series?.[0]?.displayPercentageOnDataLabel ?? !1, be = (t) => t.series?.[0]?.displayNumericValueOnTooltip ?? !0, Le = (t) => t.series?.[0]?.displayPercentageOnTooltip ?? !0, Oe = (t, e) => {
|
|
107
36
|
e.series[0] && (e.series[0].displayPercentageOnTooltip = t);
|
|
108
|
-
},
|
|
37
|
+
}, De = (t) => t.series?.[0]?.valuePrefix, Ce = (t, e) => {
|
|
109
38
|
e.series?.[0] && (e.series[0].valuePrefix = t);
|
|
110
|
-
},
|
|
39
|
+
}, ve = (t) => t.series?.[0]?.valueSuffix, Pe = (t, e) => {
|
|
111
40
|
e.series?.[0] && (e.series[0].valueSuffix = t);
|
|
112
|
-
},
|
|
41
|
+
}, Ie = (t) => t.series?.[0]?.percentagePrefix, Te = (t, e) => {
|
|
113
42
|
e.series?.[0] && (e.series[0].percentagePrefix = t);
|
|
114
|
-
},
|
|
43
|
+
}, Ve = (t) => t.series?.[0]?.percentageSuffix, xe = (t, e) => {
|
|
115
44
|
e.series?.[0] && (e.series[0].percentageSuffix = t);
|
|
116
|
-
},
|
|
45
|
+
}, Ne = (t) => {
|
|
117
46
|
let e;
|
|
118
|
-
const
|
|
119
|
-
return
|
|
120
|
-
},
|
|
121
|
-
const
|
|
122
|
-
e.series?.[0] && (e.series[0].displayNumericValueOnDataLabel =
|
|
47
|
+
const a = t.series?.[0];
|
|
48
|
+
return a?.displayNumericValueOnDataLabel === !0 && a?.displayPercentageOnDataLabel === !0 ? e = n.Both : a?.displayNumericValueOnDataLabel === !0 ? e = n.Value : e = n.Percentage, e;
|
|
49
|
+
}, Me = (t, e) => {
|
|
50
|
+
const a = t === n.Value || t === n.Both, o = t === n.Percentage || t === n.Both;
|
|
51
|
+
e.series?.[0] && (e.series[0].displayNumericValueOnDataLabel = a, e.series[0].displayPercentageOnDataLabel = o), e.legend && (e.legend = {
|
|
123
52
|
...e.legend,
|
|
124
|
-
displayNumericValue:
|
|
53
|
+
displayNumericValue: a,
|
|
125
54
|
displayPercentage: o
|
|
126
55
|
});
|
|
127
|
-
},
|
|
56
|
+
}, Fe = (t) => t.series?.[0]?.alignDataLabels ?? !1, We = (t, e) => {
|
|
128
57
|
e.series[0] && (e.series[0].alignDataLabels = t);
|
|
129
|
-
},
|
|
58
|
+
}, ke = (t) => t.series?.[0]?.dataLabelsInside ?? !1, Ae = (t, e) => {
|
|
130
59
|
e.series[0] && (e.series[0].dataLabelsInside = t);
|
|
131
|
-
},
|
|
60
|
+
}, Ge = (t) => t.series?.[0]?.dataLabelsOffset ?? 10, ze = (t, e) => {
|
|
132
61
|
e.series[0] && (e.series[0].dataLabelsOffset = t);
|
|
133
|
-
},
|
|
134
|
-
e.series?.[0] && (e.series[0].numericValueFormat ??=
|
|
135
|
-
},
|
|
62
|
+
}, we = (t) => t.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits, Be = (t, e) => {
|
|
63
|
+
e.series?.[0] && (e.series[0].numericValueFormat ??= L(), e.series[0].numericValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].numericValueFormat.intlOptions.maximumFractionDigits = t, e.series[0].percentValueFormat ??= L(), e.series[0].percentValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].percentValueFormat.intlOptions.maximumFractionDigits = t);
|
|
64
|
+
}, Ee = (t) => t.series?.[0]?.optimizeDataLabelsOverlapping ?? !1, Re = (t, e) => {
|
|
136
65
|
e.series[0] && (e.series[0].optimizeDataLabelsOverlapping = t);
|
|
137
|
-
},
|
|
138
|
-
e.series?.[0] && (e.series[0].ticks ??=
|
|
139
|
-
},
|
|
140
|
-
t && e.series?.[0] && (e.series[0].ticks ??=
|
|
141
|
-
},
|
|
142
|
-
|
|
143
|
-
}, Xe = (t, e) => e.series?.[0]?.slices?.[t]?.fillSymbol?.color,
|
|
144
|
-
const o =
|
|
145
|
-
o !== void 0 ? (o.color = t, o.outline !== void 0 ? o.outline.color = t : o.outline = { type:
|
|
146
|
-
type:
|
|
66
|
+
}, je = (t) => t.series[0]?.ticks?.visible ?? !1, Ke = (t, e) => {
|
|
67
|
+
e.series?.[0] && (e.series[0].ticks ??= W(), e.series[0].ticks.visible = t);
|
|
68
|
+
}, qe = (t) => t.series[0]?.ticks?.lineSymbol, He = (t, e) => {
|
|
69
|
+
t && e.series?.[0] && (e.series[0].ticks ??= W(), e.series[0].ticks.lineSymbol = le(t));
|
|
70
|
+
}, Je = (t, e) => e.series?.[0]?.slices?.[t]?.originalLabel, Qe = (t, e) => e.series?.[0]?.slices?.[t]?.label, Ue = (t, e, a) => {
|
|
71
|
+
a.series?.[0]?.slices?.[e] && (a.series[0].slices[e].label = t);
|
|
72
|
+
}, Xe = (t, e) => e.series?.[0]?.slices?.[t]?.fillSymbol?.color, Ye = (t, e, a) => {
|
|
73
|
+
const o = a.series?.[0]?.slices?.[e]?.fillSymbol;
|
|
74
|
+
o !== void 0 ? (o.color = t, o.outline !== void 0 ? o.outline.color = t : o.outline = { type: _.SLS, color: t }) : a.series?.[0]?.slices?.[e] !== void 0 && (a.series[0].slices[e].fillSymbol = {
|
|
75
|
+
type: _.SFS,
|
|
147
76
|
color: t,
|
|
148
|
-
outline: { type:
|
|
77
|
+
outline: { type: _.SLS, color: t }
|
|
149
78
|
});
|
|
150
|
-
},
|
|
79
|
+
}, Ze = (t) => t.series?.[0]?.slices?.map((e) => e.sliceId), F = (t, e) => {
|
|
151
80
|
e.series?.[0]?.slices?.sort(
|
|
152
|
-
(
|
|
81
|
+
(a, o) => t.findIndex((l) => a.sliceId === l) - t.findIndex((l) => o.sliceId === l)
|
|
153
82
|
);
|
|
154
|
-
},
|
|
83
|
+
}, $e = (t) => t.series?.[0]?.sliceGrouping, A = (t, e) => {
|
|
155
84
|
e.series?.[0] && (e.series[0].sliceGrouping = t);
|
|
156
|
-
},
|
|
85
|
+
}, G = (t) => t.series?.[0]?.sliceGrouping?.percentageThreshold, et = (t, e) => {
|
|
157
86
|
e.series?.[0]?.sliceGrouping !== void 0 ? e.series[0].sliceGrouping.percentageThreshold = t : e.series[0].sliceGrouping = {
|
|
158
|
-
sliceId:
|
|
87
|
+
sliceId: k.defaultGroupOfSlicesId,
|
|
159
88
|
percentageThreshold: t
|
|
160
89
|
};
|
|
161
|
-
},
|
|
90
|
+
}, tt = (t) => t.series?.[0]?.slices, z = (t, e) => {
|
|
162
91
|
e.series?.[0] && (e.series[0].slices = t);
|
|
163
|
-
},
|
|
164
|
-
|
|
92
|
+
}, it = (t) => {
|
|
93
|
+
z(void 0, t), A(
|
|
165
94
|
{
|
|
166
|
-
sliceId:
|
|
167
|
-
percentageThreshold:
|
|
95
|
+
sliceId: k.defaultGroupOfSlicesId,
|
|
96
|
+
percentageThreshold: G(t) ?? 0
|
|
168
97
|
},
|
|
169
98
|
t
|
|
170
99
|
);
|
|
171
|
-
},
|
|
172
|
-
var
|
|
173
|
-
for (var l =
|
|
174
|
-
(
|
|
175
|
-
return l &&
|
|
100
|
+
}, st = (t, e) => e.series[0]?.slices?.[t]?.sliceId, rt = (t, e) => e.series[0]?.slices?.findIndex((a) => a.sliceId === t), at = (t) => t.series[0]?.slices?.length ?? 0;
|
|
101
|
+
var ot = Object.defineProperty, lt = Object.getOwnPropertyDescriptor, r = (t, e, a, o) => {
|
|
102
|
+
for (var l = lt(e, a), c = t.length - 1, d; c >= 0; c--)
|
|
103
|
+
(d = t[c]) && (l = d(e, a, l) || l);
|
|
104
|
+
return l && ot(e, a, l), l;
|
|
176
105
|
};
|
|
177
|
-
class
|
|
106
|
+
class i extends q {
|
|
178
107
|
constructor() {
|
|
179
|
-
super(...arguments), this._chartType =
|
|
108
|
+
super(...arguments), this._chartType = g.PieSeries, this._mode = u.Category, this._groupedSliceIds = [], this._customizedSliceIds = [];
|
|
180
109
|
}
|
|
181
110
|
async setup(e) {
|
|
182
111
|
await this.loadConfigFromLayer(e);
|
|
183
|
-
const { config:
|
|
184
|
-
if (
|
|
185
|
-
const
|
|
186
|
-
this._mode =
|
|
112
|
+
const { config: a } = e;
|
|
113
|
+
if (a !== void 0) {
|
|
114
|
+
const l = b(a.series) !== h.PieFromFields ? u.Category : u.Fields;
|
|
115
|
+
this._mode = y({
|
|
116
|
+
category: f(this._config),
|
|
117
|
+
numericFields: m(this._config),
|
|
118
|
+
fallbackMode: l
|
|
119
|
+
});
|
|
187
120
|
}
|
|
188
121
|
typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
189
122
|
}
|
|
@@ -194,10 +127,14 @@ class r extends G {
|
|
|
194
127
|
* Category field for the pie chart.
|
|
195
128
|
*/
|
|
196
129
|
get category() {
|
|
197
|
-
return
|
|
130
|
+
return f(this._config);
|
|
198
131
|
}
|
|
199
132
|
set category(e) {
|
|
200
|
-
(!
|
|
133
|
+
(!E(this._config) || e.trim() !== "") && (this._mode = y({
|
|
134
|
+
category: e,
|
|
135
|
+
numericFields: m(this._config),
|
|
136
|
+
fallbackMode: this._mode
|
|
137
|
+
}), ee({
|
|
201
138
|
newCategory: e,
|
|
202
139
|
config: this._config,
|
|
203
140
|
layerInfo: this.layerInfo,
|
|
@@ -209,25 +146,31 @@ class r extends G {
|
|
|
209
146
|
* Numeric fields for the pie chart.
|
|
210
147
|
*/
|
|
211
148
|
get numericFields() {
|
|
212
|
-
return
|
|
149
|
+
return m(this._config);
|
|
213
150
|
}
|
|
214
151
|
set numericFields(e) {
|
|
215
|
-
typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ?
|
|
152
|
+
typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ? Y(this.layerInfo.layerFieldsInfo, e) : !0) ? (this._mode = y({
|
|
153
|
+
category: f(this._config),
|
|
154
|
+
numericFields: e,
|
|
155
|
+
fallbackMode: this._mode
|
|
156
|
+
}), te({
|
|
216
157
|
newNumericFields: e,
|
|
217
158
|
config: this._config,
|
|
218
159
|
layerInfo: this.layerInfo,
|
|
219
160
|
commonStrings: this.commonStrings,
|
|
220
161
|
mode: this._mode
|
|
221
|
-
}), this.
|
|
162
|
+
}), this._config.series[0].slices = this._config.series[0].slices?.filter(
|
|
163
|
+
(o) => o.fillSymbol?.color !== void 0 && this._customizedSliceIds.includes(o.sliceId ?? "")
|
|
164
|
+
), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))) : w("error", "pie-chart-model", "Invalid `numericFields`");
|
|
222
165
|
}
|
|
223
166
|
/**
|
|
224
167
|
* Aggregation type for the pie chart.
|
|
225
168
|
*/
|
|
226
169
|
get aggregationType() {
|
|
227
|
-
return
|
|
170
|
+
return ie(this._config, this._mode);
|
|
228
171
|
}
|
|
229
172
|
set aggregationType(e) {
|
|
230
|
-
|
|
173
|
+
se({
|
|
231
174
|
newAggregationType: e,
|
|
232
175
|
config: this._config,
|
|
233
176
|
layerInfo: this.layerInfo,
|
|
@@ -239,13 +182,13 @@ class r extends G {
|
|
|
239
182
|
* Gets the sort order for the pie chart.
|
|
240
183
|
*/
|
|
241
184
|
getSortOrder() {
|
|
242
|
-
return
|
|
185
|
+
return re(this._config, this._mode);
|
|
243
186
|
}
|
|
244
|
-
setSortOrder(e,
|
|
245
|
-
|
|
187
|
+
setSortOrder(e, a) {
|
|
188
|
+
ae({
|
|
246
189
|
newSortOrderKind: e,
|
|
247
190
|
config: this._config,
|
|
248
|
-
orderByList:
|
|
191
|
+
orderByList: a
|
|
249
192
|
});
|
|
250
193
|
}
|
|
251
194
|
/**
|
|
@@ -257,10 +200,10 @@ class r extends G {
|
|
|
257
200
|
* ```
|
|
258
201
|
*/
|
|
259
202
|
get orderByList() {
|
|
260
|
-
return
|
|
203
|
+
return O(this._config, this._mode);
|
|
261
204
|
}
|
|
262
205
|
set orderByList(e) {
|
|
263
|
-
|
|
206
|
+
D({
|
|
264
207
|
values: e,
|
|
265
208
|
config: this._config,
|
|
266
209
|
mode: this._mode
|
|
@@ -271,6 +214,7 @@ class r extends G {
|
|
|
271
214
|
*
|
|
272
215
|
* `category` - The chart is using values from the category field to determine each slice.
|
|
273
216
|
* `fields` - The chart is using aggregated values from the numeric fields to determine each slice.
|
|
217
|
+
* @deprecated since 5.2. Mode is inferred automatically from `category` and `numericFields`.
|
|
274
218
|
*/
|
|
275
219
|
get mode() {
|
|
276
220
|
return this._mode;
|
|
@@ -282,18 +226,18 @@ class r extends G {
|
|
|
282
226
|
* Gets the list of the category values for the chart.
|
|
283
227
|
*/
|
|
284
228
|
async getCustomSortValues() {
|
|
285
|
-
const e =
|
|
229
|
+
const e = f(this._config), a = b(this._config.series);
|
|
286
230
|
let o = [];
|
|
287
|
-
return
|
|
231
|
+
return a === h.PieFromFields ? o = this.numericFields : e.trim() !== "" && a === h.PieFromCategory && (o = await Z({
|
|
288
232
|
category: e,
|
|
289
233
|
config: this._config,
|
|
290
234
|
layerInfo: this.layerInfo,
|
|
291
235
|
errorStrings: this.commonStrings.errorStrings
|
|
292
236
|
})), o;
|
|
293
237
|
}
|
|
294
|
-
moveCustomSortValuesInOrderByList(e,
|
|
295
|
-
const o =
|
|
296
|
-
o.splice(
|
|
238
|
+
moveCustomSortValuesInOrderByList(e, a) {
|
|
239
|
+
const o = O(this._config, this._mode), [l] = o.splice(e, 1);
|
|
240
|
+
o.splice(a, 0, l), D({
|
|
297
241
|
values: o,
|
|
298
242
|
config: this._config,
|
|
299
243
|
mode: this._mode
|
|
@@ -306,10 +250,10 @@ class r extends G {
|
|
|
306
250
|
* Ticks symbol connecting slices to labels.
|
|
307
251
|
*/
|
|
308
252
|
get ticksSymbol() {
|
|
309
|
-
return
|
|
253
|
+
return qe(this._config);
|
|
310
254
|
}
|
|
311
255
|
set ticksSymbol(e) {
|
|
312
|
-
|
|
256
|
+
He(e, this._config);
|
|
313
257
|
}
|
|
314
258
|
// ---------------------------------------------------------------------------------------------
|
|
315
259
|
// #region Slices Props
|
|
@@ -318,10 +262,10 @@ class r extends G {
|
|
|
318
262
|
* Array of slices for the pie chart.
|
|
319
263
|
*/
|
|
320
264
|
get slices() {
|
|
321
|
-
return
|
|
265
|
+
return tt(this._config);
|
|
322
266
|
}
|
|
323
267
|
set slices(e) {
|
|
324
|
-
|
|
268
|
+
z(e, this._config);
|
|
325
269
|
}
|
|
326
270
|
/**
|
|
327
271
|
* Array of grouped slice ids for the pie chart.
|
|
@@ -336,63 +280,63 @@ class r extends G {
|
|
|
336
280
|
* Slice grouping configuration for the pie chart.
|
|
337
281
|
*/
|
|
338
282
|
get sliceGrouping() {
|
|
339
|
-
return
|
|
283
|
+
return $e(this._config);
|
|
340
284
|
}
|
|
341
285
|
set sliceGrouping(e) {
|
|
342
|
-
|
|
286
|
+
A(e, this._config);
|
|
343
287
|
}
|
|
344
288
|
/**
|
|
345
289
|
* Inner radius size for the pie chart.
|
|
346
290
|
*/
|
|
347
291
|
get innerRadiusSize() {
|
|
348
|
-
return
|
|
292
|
+
return ge(this._config) ?? 0;
|
|
349
293
|
}
|
|
350
294
|
set innerRadiusSize(e) {
|
|
351
|
-
|
|
295
|
+
pe(e, this._config);
|
|
352
296
|
}
|
|
353
297
|
/**
|
|
354
298
|
* Threshold below which slices will be grouped.
|
|
355
299
|
*/
|
|
356
300
|
get groupingThreshold() {
|
|
357
|
-
return
|
|
301
|
+
return G(this._config) ?? 0;
|
|
358
302
|
}
|
|
359
303
|
set groupingThreshold(e) {
|
|
360
|
-
|
|
304
|
+
et(e, this._config);
|
|
361
305
|
}
|
|
362
306
|
/**
|
|
363
307
|
* Character limit for the slice labels.
|
|
364
308
|
*/
|
|
365
309
|
get labelCharacterLimit() {
|
|
366
|
-
return
|
|
310
|
+
return de(this._config) ?? null;
|
|
367
311
|
}
|
|
368
312
|
set labelCharacterLimit(e) {
|
|
369
|
-
|
|
313
|
+
ue(e, this._config);
|
|
370
314
|
}
|
|
371
315
|
/**
|
|
372
316
|
* Number of decimal places to display in the slice values.
|
|
373
317
|
*/
|
|
374
318
|
get decimalPlaces() {
|
|
375
|
-
return
|
|
319
|
+
return we(this._config) ?? 1;
|
|
376
320
|
}
|
|
377
321
|
set decimalPlaces(e) {
|
|
378
|
-
|
|
322
|
+
Be(e, this._config);
|
|
379
323
|
}
|
|
380
324
|
/**
|
|
381
325
|
* Display type for the pie chart slices. Specifies whether to display the slices as a `percentage`, `value`, or `both`.
|
|
382
326
|
*/
|
|
383
327
|
get displayType() {
|
|
384
|
-
return
|
|
328
|
+
return Ne(this._config);
|
|
385
329
|
}
|
|
386
330
|
set displayType(e) {
|
|
387
|
-
|
|
331
|
+
Me(e, this._config);
|
|
388
332
|
}
|
|
389
333
|
// ---------------------------------------------------------------------------------------------
|
|
390
334
|
// #region Protected methods
|
|
391
335
|
// ---------------------------------------------------------------------------------------------
|
|
392
336
|
/** @private */
|
|
393
337
|
generateDefaultConfig() {
|
|
394
|
-
const e =
|
|
395
|
-
return e.series = [
|
|
338
|
+
const e = R(this.commonStrings);
|
|
339
|
+
return e.series = [j(this.commonStrings, B(this.layerInfo.layer).idField)], e;
|
|
396
340
|
}
|
|
397
341
|
// ---------------------------------------------------------------------------------------------
|
|
398
342
|
// #region Series Methods
|
|
@@ -403,7 +347,7 @@ class r extends G {
|
|
|
403
347
|
* @param sliceIndex - The index of the slice.
|
|
404
348
|
*/
|
|
405
349
|
getOriginalSliceName(e) {
|
|
406
|
-
return
|
|
350
|
+
return Je(e, this._config);
|
|
407
351
|
}
|
|
408
352
|
/**
|
|
409
353
|
* Gets the name of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
|
|
@@ -411,10 +355,11 @@ class r extends G {
|
|
|
411
355
|
* @param sliceIndex - The index of the slice.
|
|
412
356
|
*/
|
|
413
357
|
getSliceName(e) {
|
|
414
|
-
return
|
|
358
|
+
return Qe(e, this._config);
|
|
415
359
|
}
|
|
416
|
-
setSliceName(e,
|
|
417
|
-
|
|
360
|
+
setSliceName(e, a) {
|
|
361
|
+
const o = this.getSliceId(a);
|
|
362
|
+
o !== void 0 && this._customizedSliceIds.push(o), Ue(e, a, this._config);
|
|
418
363
|
}
|
|
419
364
|
/**
|
|
420
365
|
* Gets the color of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
|
|
@@ -424,23 +369,24 @@ class r extends G {
|
|
|
424
369
|
getSliceColor(e) {
|
|
425
370
|
return Xe(e, this._config);
|
|
426
371
|
}
|
|
427
|
-
setSliceColor(e,
|
|
428
|
-
|
|
372
|
+
setSliceColor(e, a) {
|
|
373
|
+
const o = this.getSliceId(a);
|
|
374
|
+
e !== void 0 && o !== void 0 && this._customizedSliceIds.push(o), Ye(e, a, this._config);
|
|
429
375
|
}
|
|
430
376
|
/**
|
|
431
377
|
* Order of the slice array by returning an array of slice ids
|
|
432
378
|
*/
|
|
433
379
|
get orderOfSlices() {
|
|
434
|
-
return
|
|
380
|
+
return Ze(this._config);
|
|
435
381
|
}
|
|
436
382
|
set orderOfSlices(e) {
|
|
437
|
-
e !== void 0 &&
|
|
383
|
+
e !== void 0 && F(e, this._config);
|
|
438
384
|
}
|
|
439
|
-
moveSeries(e,
|
|
385
|
+
moveSeries(e, a) {
|
|
440
386
|
const o = this.orderOfSlices;
|
|
441
387
|
if (o !== void 0) {
|
|
442
388
|
const [l] = o.splice(e, 1);
|
|
443
|
-
o.splice(
|
|
389
|
+
o.splice(a, 0, l), F(o, this._config);
|
|
444
390
|
}
|
|
445
391
|
}
|
|
446
392
|
/**
|
|
@@ -449,7 +395,7 @@ class r extends G {
|
|
|
449
395
|
* @param sliceIndex - The index of the slice.
|
|
450
396
|
*/
|
|
451
397
|
getSliceId(e) {
|
|
452
|
-
return
|
|
398
|
+
return st(e, this._config);
|
|
453
399
|
}
|
|
454
400
|
/**
|
|
455
401
|
* Gets the slice index for a given slice id. If the `sliceId` is not found, this function will return `undefined`.
|
|
@@ -457,38 +403,38 @@ class r extends G {
|
|
|
457
403
|
* @param sliceId - The id of the slice.
|
|
458
404
|
*/
|
|
459
405
|
getSliceIndex(e) {
|
|
460
|
-
return
|
|
406
|
+
return rt(e, this._config);
|
|
461
407
|
}
|
|
462
408
|
/**
|
|
463
409
|
* Gets the length of the slices array.
|
|
464
410
|
*/
|
|
465
411
|
getSlicesLength() {
|
|
466
|
-
return
|
|
412
|
+
return at(this._config);
|
|
467
413
|
}
|
|
468
414
|
resetSlices() {
|
|
469
|
-
|
|
415
|
+
this._customizedSliceIds = [], it(this._config);
|
|
470
416
|
}
|
|
471
417
|
/**
|
|
472
418
|
* Returns whether the series styling is able to be reset.
|
|
473
419
|
*/
|
|
474
420
|
resetAvailable() {
|
|
475
421
|
const e = !this.colorMatch;
|
|
476
|
-
let
|
|
422
|
+
let a = !1;
|
|
477
423
|
const o = this.slices?.length ?? 0;
|
|
478
424
|
for (let l = 0; l < o; l += 1) {
|
|
479
|
-
const
|
|
480
|
-
if (
|
|
481
|
-
|
|
425
|
+
const c = this.getOriginalSliceName(l), d = this.getSliceName(l), S = this._mode === u.Fields ? K(this.layerInfo?.layerFieldsInfo, c?.toString()) : c;
|
|
426
|
+
if (S !== void 0 && S?.toString() !== d?.toString()) {
|
|
427
|
+
a = !0;
|
|
482
428
|
break;
|
|
483
429
|
}
|
|
484
430
|
}
|
|
485
|
-
return this.sliceGrouping?.originalLabel !== void 0 && this.sliceGrouping?.label !== this.sliceGrouping.originalLabel && (
|
|
431
|
+
return this.sliceGrouping?.originalLabel !== void 0 && this.sliceGrouping?.label !== this.sliceGrouping.originalLabel && (a = !0), e || a;
|
|
486
432
|
}
|
|
487
433
|
/**
|
|
488
434
|
* Visibility of the ticks.
|
|
489
435
|
*/
|
|
490
436
|
get ticksVisibility() {
|
|
491
|
-
return
|
|
437
|
+
return je(this._config);
|
|
492
438
|
}
|
|
493
439
|
set ticksVisibility(e) {
|
|
494
440
|
Ke(e, this._config);
|
|
@@ -497,31 +443,29 @@ class r extends G {
|
|
|
497
443
|
* Start angle of the pie chart.
|
|
498
444
|
*/
|
|
499
445
|
get startAngle() {
|
|
500
|
-
return
|
|
446
|
+
return M(this._config);
|
|
501
447
|
}
|
|
502
448
|
set startAngle(e) {
|
|
503
|
-
|
|
449
|
+
fe(e, this._config);
|
|
504
450
|
}
|
|
505
451
|
/**
|
|
506
452
|
* End angle of the pie chart.
|
|
507
453
|
*/
|
|
508
454
|
get endAngle() {
|
|
509
|
-
return
|
|
455
|
+
return M(this._config);
|
|
510
456
|
}
|
|
511
457
|
set endAngle(e) {
|
|
512
|
-
|
|
458
|
+
he(e, this._config);
|
|
513
459
|
}
|
|
514
460
|
/**
|
|
515
461
|
* Whether to display the category on the data label.
|
|
516
462
|
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
517
463
|
*/
|
|
518
464
|
get displayCategoryOnDataLabel() {
|
|
519
|
-
return
|
|
465
|
+
return me(this._config);
|
|
520
466
|
}
|
|
521
467
|
set displayCategoryOnDataLabel(e) {
|
|
522
|
-
this.
|
|
523
|
-
this._config.series[0].displayCategoryOnDataLabel = e, this.emitConfigUpdate("displayCategoryOnDataLabel");
|
|
524
|
-
});
|
|
468
|
+
this._config.series[0].displayCategoryOnDataLabel = e;
|
|
525
469
|
}
|
|
526
470
|
/**
|
|
527
471
|
* Display category value on tooltip setting from the chart config.
|
|
@@ -529,7 +473,7 @@ class r extends G {
|
|
|
529
473
|
* **Note**: If the setting is not found in the config, it will default to `true`.
|
|
530
474
|
*/
|
|
531
475
|
get displayCategoryValueOnTooltip() {
|
|
532
|
-
return
|
|
476
|
+
return ye(this._config);
|
|
533
477
|
}
|
|
534
478
|
set displayCategoryValueOnTooltip(e) {
|
|
535
479
|
this._config.series[0].displayCategoryOnTooltip = e;
|
|
@@ -539,12 +483,10 @@ class r extends G {
|
|
|
539
483
|
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
540
484
|
*/
|
|
541
485
|
get displayNumericValueOnDataLabel() {
|
|
542
|
-
return
|
|
486
|
+
return _e(this._config);
|
|
543
487
|
}
|
|
544
488
|
set displayNumericValueOnDataLabel(e) {
|
|
545
|
-
this.
|
|
546
|
-
this._config.series[0].displayNumericValueOnDataLabel = e, this.emitConfigUpdate("displayNumericValueOnDataLabel");
|
|
547
|
-
});
|
|
489
|
+
this._config.series[0].displayNumericValueOnDataLabel = e;
|
|
548
490
|
}
|
|
549
491
|
/**
|
|
550
492
|
* Whether to display the percentage on the data label.
|
|
@@ -552,12 +494,10 @@ class r extends G {
|
|
|
552
494
|
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
553
495
|
*/
|
|
554
496
|
get displayPercentageOnDataLabel() {
|
|
555
|
-
return
|
|
497
|
+
return Se(this._config);
|
|
556
498
|
}
|
|
557
499
|
set displayPercentageOnDataLabel(e) {
|
|
558
|
-
this.
|
|
559
|
-
this._config.series[0].displayPercentageOnDataLabel = e, this.emitConfigUpdate("displayPercentageOnDataLabel");
|
|
560
|
-
});
|
|
500
|
+
this._config.series[0].displayPercentageOnDataLabel = e;
|
|
561
501
|
}
|
|
562
502
|
/**
|
|
563
503
|
* Display numeric value on tooltip setting from the chart config.
|
|
@@ -565,7 +505,7 @@ class r extends G {
|
|
|
565
505
|
* **Note**: If the setting is not found in the config, it will default to `true`.
|
|
566
506
|
*/
|
|
567
507
|
get displayNumericValueOnTooltip() {
|
|
568
|
-
return
|
|
508
|
+
return be(this._config);
|
|
569
509
|
}
|
|
570
510
|
set displayNumericValueOnTooltip(e) {
|
|
571
511
|
this._config.series[0].displayNumericValueOnTooltip = e;
|
|
@@ -576,82 +516,174 @@ class r extends G {
|
|
|
576
516
|
* **Note**: If the setting is not found in the config, it will default to `true`.
|
|
577
517
|
*/
|
|
578
518
|
get displayPercentageOnTooltip() {
|
|
579
|
-
return
|
|
519
|
+
return Le(this._config);
|
|
580
520
|
}
|
|
581
521
|
set displayPercentageOnTooltip(e) {
|
|
582
|
-
|
|
522
|
+
Oe(e, this._config);
|
|
583
523
|
}
|
|
584
524
|
/**
|
|
585
525
|
* Prefix of the values of the slices.
|
|
586
526
|
*/
|
|
587
527
|
get valuePrefix() {
|
|
588
|
-
return
|
|
528
|
+
return De(this._config);
|
|
589
529
|
}
|
|
590
530
|
set valuePrefix(e) {
|
|
591
|
-
|
|
531
|
+
Ce(e, this._config);
|
|
592
532
|
}
|
|
593
533
|
/**
|
|
594
534
|
* Suffix of the values of the slice.
|
|
595
535
|
*/
|
|
596
536
|
get valueSuffix() {
|
|
597
|
-
return
|
|
537
|
+
return ve(this._config);
|
|
598
538
|
}
|
|
599
539
|
set valueSuffix(e) {
|
|
600
|
-
|
|
540
|
+
Pe(e, this._config);
|
|
601
541
|
}
|
|
602
542
|
/**
|
|
603
543
|
* Prefix of the percentages of the slices.
|
|
604
544
|
*/
|
|
605
545
|
get percentagePrefix() {
|
|
606
|
-
return
|
|
546
|
+
return Ie(this._config);
|
|
607
547
|
}
|
|
608
548
|
set percentagePrefix(e) {
|
|
609
|
-
|
|
549
|
+
Te(e, this._config);
|
|
610
550
|
}
|
|
611
551
|
/**
|
|
612
552
|
* Suffix of the percentages of the slices.
|
|
613
553
|
*/
|
|
614
554
|
get percentageSuffix() {
|
|
615
|
-
return
|
|
555
|
+
return Ve(this._config);
|
|
616
556
|
}
|
|
617
557
|
set percentageSuffix(e) {
|
|
618
|
-
|
|
558
|
+
xe(e, this._config);
|
|
619
559
|
}
|
|
620
560
|
/**
|
|
621
561
|
* Offset for the data labels.
|
|
622
562
|
*/
|
|
623
563
|
get dataLabelsOffset() {
|
|
624
|
-
return
|
|
564
|
+
return Ge(this._config);
|
|
625
565
|
}
|
|
626
566
|
set dataLabelsOffset(e) {
|
|
627
|
-
|
|
567
|
+
ze(e, this._config);
|
|
628
568
|
}
|
|
629
569
|
/**
|
|
630
570
|
* Align the data labels on the left or right side of the chart instead of the default position around the chart.
|
|
631
571
|
*/
|
|
632
572
|
get alignDataLabels() {
|
|
633
|
-
return
|
|
573
|
+
return Fe(this._config);
|
|
634
574
|
}
|
|
635
575
|
set alignDataLabels(e) {
|
|
636
|
-
|
|
576
|
+
We(e, this._config);
|
|
637
577
|
}
|
|
638
578
|
/**
|
|
639
579
|
* Setting for placing the data labels inside of the slices.
|
|
640
580
|
*/
|
|
641
581
|
get dataLabelsInside() {
|
|
642
|
-
return
|
|
582
|
+
return ke(this._config);
|
|
643
583
|
}
|
|
644
584
|
set dataLabelsInside(e) {
|
|
645
|
-
|
|
585
|
+
Ae(e, this._config);
|
|
646
586
|
}
|
|
647
587
|
/**
|
|
648
588
|
* Optimize data labels overlapping setting for the pie chart.
|
|
649
589
|
*/
|
|
650
590
|
get optimizeDataLabelsOverlapping() {
|
|
651
|
-
return
|
|
591
|
+
return Ee(this._config);
|
|
652
592
|
}
|
|
653
593
|
set optimizeDataLabelsOverlapping(e) {
|
|
654
|
-
|
|
594
|
+
Re(e, this._config);
|
|
595
|
+
}
|
|
596
|
+
// ---------------------------------------------------------------------------------------------
|
|
597
|
+
// #region Legend Props
|
|
598
|
+
// ---------------------------------------------------------------------------------------------
|
|
599
|
+
/**
|
|
600
|
+
* Whether to display the numeric value on legend items.
|
|
601
|
+
*/
|
|
602
|
+
get displayNumericValueOnLegendItems() {
|
|
603
|
+
return C(this._config);
|
|
604
|
+
}
|
|
605
|
+
set displayNumericValueOnLegendItems(e) {
|
|
606
|
+
v(e, this._config);
|
|
607
|
+
}
|
|
608
|
+
/**
|
|
609
|
+
* Whether to display the percentage on legend items.
|
|
610
|
+
*/
|
|
611
|
+
get displayPercentageOnLegendItems() {
|
|
612
|
+
return T(this._config);
|
|
613
|
+
}
|
|
614
|
+
set displayPercentageOnLegendItems(e) {
|
|
615
|
+
V(e, this._config);
|
|
616
|
+
}
|
|
617
|
+
/**
|
|
618
|
+
* Whether to display the category on legend items.
|
|
619
|
+
*/
|
|
620
|
+
get displayCategoryOnLegendItems() {
|
|
621
|
+
return P(this._config);
|
|
622
|
+
}
|
|
623
|
+
set displayCategoryOnLegendItems(e) {
|
|
624
|
+
I(e, this._config);
|
|
625
|
+
}
|
|
626
|
+
/**
|
|
627
|
+
* Maximum width in pixels for legend item labels.
|
|
628
|
+
*/
|
|
629
|
+
get labelMaxWidth() {
|
|
630
|
+
return x(this._config);
|
|
631
|
+
}
|
|
632
|
+
set labelMaxWidth(e) {
|
|
633
|
+
N(e, this._config);
|
|
634
|
+
}
|
|
635
|
+
/**
|
|
636
|
+
* Maximum width in pixels for legend value labels.
|
|
637
|
+
*/
|
|
638
|
+
get valueLabelMaxWidth() {
|
|
639
|
+
return ne(this._config);
|
|
640
|
+
}
|
|
641
|
+
set valueLabelMaxWidth(e) {
|
|
642
|
+
ce(e, this._config);
|
|
643
|
+
}
|
|
644
|
+
/**
|
|
645
|
+
* Gets the setting for displaying numerical values on legend items.
|
|
646
|
+
*
|
|
647
|
+
* @deprecated since 5.2. Use {@link model/pie-chart-model/pie-chart-model#displayNumericValueOnLegendItems displayNumericValueOnLegendItems} instead. This method will be removed from `PieChartModel` in 6.0.
|
|
648
|
+
*/
|
|
649
|
+
getDisplayNumericValue() {
|
|
650
|
+
return C(this._config);
|
|
651
|
+
}
|
|
652
|
+
setDisplayNumericValue(e) {
|
|
653
|
+
v(e, this._config);
|
|
654
|
+
}
|
|
655
|
+
/**
|
|
656
|
+
* Gets the setting for displaying percentages on legend items.
|
|
657
|
+
*
|
|
658
|
+
* @deprecated since 5.2. Use {@link model/pie-chart-model/pie-chart-model#displayPercentageOnLegendItems displayPercentageOnLegendItems} instead. This method will be removed from `PieChartModel` in 6.0.
|
|
659
|
+
*/
|
|
660
|
+
getDisplayPercentage() {
|
|
661
|
+
return T(this._config);
|
|
662
|
+
}
|
|
663
|
+
setDisplayPercentage(e) {
|
|
664
|
+
V(e, this._config);
|
|
665
|
+
}
|
|
666
|
+
/**
|
|
667
|
+
* Gets the maximum width in pixels for legend item labels.
|
|
668
|
+
*
|
|
669
|
+
* @deprecated since 5.2. Use {@link model/pie-chart-model/pie-chart-model#labelMaxWidth labelMaxWidth} instead. This method will be removed from `PieChartModel` in 6.0.
|
|
670
|
+
*/
|
|
671
|
+
getLabelMaxWidth() {
|
|
672
|
+
return x(this._config);
|
|
673
|
+
}
|
|
674
|
+
setLabelMaxWidth(e) {
|
|
675
|
+
N(e, this._config);
|
|
676
|
+
}
|
|
677
|
+
/**
|
|
678
|
+
* Whether to display the category in the legend.
|
|
679
|
+
*
|
|
680
|
+
* @deprecated since 5.2. Use {@link model/pie-chart-model/pie-chart-model#displayCategoryOnLegendItems displayCategoryOnLegendItems} instead. This property will be removed from `PieChartModel` in 6.0.
|
|
681
|
+
*/
|
|
682
|
+
get displayCategory() {
|
|
683
|
+
return P(this._config);
|
|
684
|
+
}
|
|
685
|
+
set displayCategory(e) {
|
|
686
|
+
I(e, this._config);
|
|
655
687
|
}
|
|
656
688
|
// ---------------------------------------------------------------------------------------------
|
|
657
689
|
// #region General Props
|
|
@@ -660,7 +692,7 @@ class r extends G {
|
|
|
660
692
|
* Generate the proper chart title given the current config.
|
|
661
693
|
*/
|
|
662
694
|
generateChartTitle() {
|
|
663
|
-
return
|
|
695
|
+
return oe({
|
|
664
696
|
config: this._config,
|
|
665
697
|
layerInfo: this.layerInfo,
|
|
666
698
|
commonStrings: this.commonStrings,
|
|
@@ -668,119 +700,155 @@ class r extends G {
|
|
|
668
700
|
});
|
|
669
701
|
}
|
|
670
702
|
}
|
|
671
|
-
|
|
703
|
+
r([
|
|
704
|
+
s
|
|
705
|
+
], i.prototype, "category");
|
|
706
|
+
r([
|
|
707
|
+
s
|
|
708
|
+
], i.prototype, "numericFields");
|
|
709
|
+
r([
|
|
710
|
+
s
|
|
711
|
+
], i.prototype, "aggregationType");
|
|
712
|
+
r([
|
|
713
|
+
s
|
|
714
|
+
], i.prototype, "setSortOrder");
|
|
715
|
+
r([
|
|
716
|
+
s
|
|
717
|
+
], i.prototype, "orderByList");
|
|
718
|
+
r([
|
|
719
|
+
s
|
|
720
|
+
], i.prototype, "mode");
|
|
721
|
+
r([
|
|
722
|
+
s
|
|
723
|
+
], i.prototype, "moveCustomSortValuesInOrderByList");
|
|
724
|
+
r([
|
|
725
|
+
s
|
|
726
|
+
], i.prototype, "ticksSymbol");
|
|
727
|
+
r([
|
|
728
|
+
s
|
|
729
|
+
], i.prototype, "slices");
|
|
730
|
+
r([
|
|
731
|
+
s
|
|
732
|
+
], i.prototype, "groupedSliceIds");
|
|
733
|
+
r([
|
|
734
|
+
s
|
|
735
|
+
], i.prototype, "sliceGrouping");
|
|
736
|
+
r([
|
|
737
|
+
s
|
|
738
|
+
], i.prototype, "innerRadiusSize");
|
|
739
|
+
r([
|
|
672
740
|
s
|
|
673
|
-
],
|
|
674
|
-
|
|
741
|
+
], i.prototype, "groupingThreshold");
|
|
742
|
+
r([
|
|
675
743
|
s
|
|
676
|
-
],
|
|
677
|
-
|
|
744
|
+
], i.prototype, "labelCharacterLimit");
|
|
745
|
+
r([
|
|
678
746
|
s
|
|
679
|
-
],
|
|
680
|
-
|
|
747
|
+
], i.prototype, "decimalPlaces");
|
|
748
|
+
r([
|
|
681
749
|
s
|
|
682
|
-
],
|
|
683
|
-
|
|
750
|
+
], i.prototype, "displayType");
|
|
751
|
+
r([
|
|
684
752
|
s
|
|
685
|
-
],
|
|
686
|
-
|
|
753
|
+
], i.prototype, "setSliceName");
|
|
754
|
+
r([
|
|
687
755
|
s
|
|
688
|
-
],
|
|
689
|
-
|
|
756
|
+
], i.prototype, "setSliceColor");
|
|
757
|
+
r([
|
|
690
758
|
s
|
|
691
|
-
],
|
|
692
|
-
|
|
759
|
+
], i.prototype, "orderOfSlices");
|
|
760
|
+
r([
|
|
693
761
|
s
|
|
694
|
-
],
|
|
695
|
-
|
|
762
|
+
], i.prototype, "moveSeries");
|
|
763
|
+
r([
|
|
696
764
|
s
|
|
697
|
-
],
|
|
698
|
-
|
|
765
|
+
], i.prototype, "resetSlices");
|
|
766
|
+
r([
|
|
699
767
|
s
|
|
700
|
-
],
|
|
701
|
-
|
|
768
|
+
], i.prototype, "ticksVisibility");
|
|
769
|
+
r([
|
|
702
770
|
s
|
|
703
|
-
],
|
|
704
|
-
|
|
771
|
+
], i.prototype, "startAngle");
|
|
772
|
+
r([
|
|
705
773
|
s
|
|
706
|
-
],
|
|
707
|
-
|
|
774
|
+
], i.prototype, "endAngle");
|
|
775
|
+
r([
|
|
708
776
|
s
|
|
709
|
-
],
|
|
710
|
-
|
|
777
|
+
], i.prototype, "displayCategoryOnDataLabel");
|
|
778
|
+
r([
|
|
711
779
|
s
|
|
712
|
-
],
|
|
713
|
-
|
|
780
|
+
], i.prototype, "displayCategoryValueOnTooltip");
|
|
781
|
+
r([
|
|
714
782
|
s
|
|
715
|
-
],
|
|
716
|
-
|
|
783
|
+
], i.prototype, "displayNumericValueOnDataLabel");
|
|
784
|
+
r([
|
|
717
785
|
s
|
|
718
|
-
],
|
|
719
|
-
|
|
786
|
+
], i.prototype, "displayPercentageOnDataLabel");
|
|
787
|
+
r([
|
|
720
788
|
s
|
|
721
|
-
],
|
|
722
|
-
|
|
789
|
+
], i.prototype, "displayNumericValueOnTooltip");
|
|
790
|
+
r([
|
|
723
791
|
s
|
|
724
|
-
],
|
|
725
|
-
|
|
792
|
+
], i.prototype, "displayPercentageOnTooltip");
|
|
793
|
+
r([
|
|
726
794
|
s
|
|
727
|
-
],
|
|
728
|
-
|
|
795
|
+
], i.prototype, "valuePrefix");
|
|
796
|
+
r([
|
|
729
797
|
s
|
|
730
|
-
],
|
|
731
|
-
|
|
798
|
+
], i.prototype, "valueSuffix");
|
|
799
|
+
r([
|
|
732
800
|
s
|
|
733
|
-
],
|
|
734
|
-
|
|
801
|
+
], i.prototype, "percentagePrefix");
|
|
802
|
+
r([
|
|
735
803
|
s
|
|
736
|
-
],
|
|
737
|
-
|
|
804
|
+
], i.prototype, "percentageSuffix");
|
|
805
|
+
r([
|
|
738
806
|
s
|
|
739
|
-
],
|
|
740
|
-
|
|
807
|
+
], i.prototype, "dataLabelsOffset");
|
|
808
|
+
r([
|
|
741
809
|
s
|
|
742
|
-
],
|
|
743
|
-
|
|
810
|
+
], i.prototype, "alignDataLabels");
|
|
811
|
+
r([
|
|
744
812
|
s
|
|
745
|
-
],
|
|
746
|
-
|
|
813
|
+
], i.prototype, "dataLabelsInside");
|
|
814
|
+
r([
|
|
747
815
|
s
|
|
748
|
-
],
|
|
749
|
-
|
|
816
|
+
], i.prototype, "optimizeDataLabelsOverlapping");
|
|
817
|
+
r([
|
|
750
818
|
s
|
|
751
|
-
],
|
|
752
|
-
|
|
819
|
+
], i.prototype, "displayNumericValueOnLegendItems");
|
|
820
|
+
r([
|
|
753
821
|
s
|
|
754
|
-
],
|
|
755
|
-
|
|
822
|
+
], i.prototype, "displayPercentageOnLegendItems");
|
|
823
|
+
r([
|
|
756
824
|
s
|
|
757
|
-
],
|
|
758
|
-
|
|
825
|
+
], i.prototype, "displayCategoryOnLegendItems");
|
|
826
|
+
r([
|
|
759
827
|
s
|
|
760
|
-
],
|
|
761
|
-
|
|
828
|
+
], i.prototype, "labelMaxWidth");
|
|
829
|
+
r([
|
|
762
830
|
s
|
|
763
|
-
],
|
|
764
|
-
|
|
831
|
+
], i.prototype, "valueLabelMaxWidth");
|
|
832
|
+
r([
|
|
765
833
|
s
|
|
766
|
-
],
|
|
767
|
-
|
|
834
|
+
], i.prototype, "setDisplayNumericValue");
|
|
835
|
+
r([
|
|
768
836
|
s
|
|
769
|
-
],
|
|
770
|
-
|
|
837
|
+
], i.prototype, "setDisplayPercentage");
|
|
838
|
+
r([
|
|
771
839
|
s
|
|
772
|
-
],
|
|
773
|
-
|
|
840
|
+
], i.prototype, "setLabelMaxWidth");
|
|
841
|
+
r([
|
|
774
842
|
s
|
|
775
|
-
],
|
|
776
|
-
const
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
843
|
+
], i.prototype, "displayCategory");
|
|
844
|
+
const nt = [
|
|
845
|
+
H,
|
|
846
|
+
J,
|
|
847
|
+
Q,
|
|
848
|
+
U,
|
|
849
|
+
X
|
|
782
850
|
];
|
|
783
|
-
|
|
851
|
+
$(i, nt);
|
|
784
852
|
export {
|
|
785
|
-
|
|
853
|
+
i as PieChartModel
|
|
786
854
|
};
|