@arcgis/charts-components 5.2.0-next.7 → 5.2.0-next.71
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/{YJ6TRXMU.js → 24MSASQQ.js} +1 -1
- package/dist/cdn/25MA553Z.js +2 -0
- package/dist/cdn/{2HUAW34Q.js → 274L47ID.js} +1 -1
- package/dist/cdn/27RKQQPS.js +2 -0
- package/dist/cdn/{4USHOYLT.js → 2BE3GYK4.js} +1 -1
- package/dist/cdn/2K4MIK4T.js +2 -0
- package/dist/cdn/2QGFLRRI.js +2 -0
- package/dist/cdn/{S5UDCCRH.js → 2SLJKRSD.js} +1 -1
- package/dist/cdn/33JR3GH6.js +2 -0
- package/dist/cdn/3B6QE7OV.js +2 -0
- package/dist/cdn/3FM3YR57.js +2 -0
- package/dist/cdn/3PDVKKKZ.js +2 -0
- package/dist/cdn/{CLXVAIQX.js → 3QPQ3RE5.js} +1 -1
- package/dist/cdn/3U6ESLPG.js +2 -0
- package/dist/cdn/3V4ZETXH.js +2 -0
- package/dist/cdn/3WOYVXSZ.js +2 -0
- package/dist/cdn/3XB2RWHK.js +2 -0
- package/dist/cdn/{A5AECJXP.js → 47E3TKSH.js} +1 -1
- package/dist/cdn/{JBHGSSHS.js → 4BQ22DKZ.js} +1 -1
- package/dist/cdn/4DC4ARHU.js +2 -0
- package/dist/cdn/{CHLE2QGU.js → 4DXGXATO.js} +1 -1
- package/dist/cdn/4IO3VF3L.js +2 -0
- package/dist/cdn/4JUR3VIE.js +2 -0
- package/dist/cdn/4JWIBRGO.js +2 -0
- package/dist/cdn/4M4SAEH4.js +2 -0
- package/dist/cdn/4ODTQZJK.js +2 -0
- package/dist/cdn/54VUGIAU.js +2 -0
- package/dist/cdn/{H2A5GZ55.js → 5D2QRMC6.js} +1 -1
- package/dist/cdn/5GZDXWTQ.js +2 -0
- package/dist/cdn/{GDQBQQUP.js → 5NVOWYWZ.js} +1 -1
- package/dist/cdn/{LUSFGRHV.js → 5WIR3JWC.js} +1 -1
- package/dist/cdn/{VT4WJZN6.js → 64B7ILJI.js} +1 -1
- package/dist/cdn/{DEGBVJ76.js → 64F7QNUM.js} +1 -1
- package/dist/cdn/{HVO4LIXR.js → 6LACIKDG.js} +1 -1
- package/dist/cdn/{7FZC3RZK.js → 6PDO75JM.js} +1 -1
- package/dist/cdn/6TJIHHQF.js +2 -0
- package/dist/cdn/{SBYD2EKR.js → 6WJKLKEZ.js} +1 -1
- package/dist/cdn/{7LYAWWOE.js → 6WKTHJQK.js} +1 -1
- package/dist/cdn/{II2ZPEUZ.js → 7C2LVFNV.js} +1 -1
- package/dist/cdn/{4Z23HWDH.js → 7COM5REK.js} +1 -1
- package/dist/cdn/{7HGVEE7A.js → 7KNUJIOC.js} +1 -1
- package/dist/cdn/{TF7TE7K5.js → 7PC3VBMY.js} +1 -1
- package/dist/cdn/7REEJ3OW.js +2 -0
- package/dist/cdn/{CHQDKVVQ.js → 7SBVBD4E.js} +1 -1
- package/dist/cdn/{6XTKJ7DO.js → 7XHAJY6Q.js} +1 -1
- package/dist/cdn/7XWR4EVM.js +2 -0
- package/dist/cdn/{DKAHZ7IX.js → ACRMB7MU.js} +1 -1
- package/dist/cdn/{OJ5X6I3H.js → ADI63OO7.js} +1 -1
- package/dist/cdn/{VY3KBD6N.js → ASYRUV4T.js} +1 -1
- package/dist/cdn/AVE3KXWQ.js +2 -0
- package/dist/cdn/{TXB2I2U5.js → B2SUC7VR.js} +1 -1
- package/dist/cdn/{KFONSKQF.js → B4RCAP3J.js} +1 -1
- package/dist/cdn/BAFCVCT4.js +2 -0
- package/dist/cdn/{TACQVUBU.js → BDEDEGCZ.js} +1 -1
- package/dist/cdn/BGOWDCTO.js +2 -0
- package/dist/cdn/{LFQGH44F.js → BJC2AIS3.js} +1 -1
- package/dist/cdn/{CNFBNAPJ.js → BK7DHYA7.js} +1 -1
- package/dist/cdn/BNNBHYRP.js +2 -0
- package/dist/cdn/BQORJ3LU.js +2 -0
- package/dist/cdn/BYSUABOV.js +2 -0
- package/dist/cdn/BZ6FUIQF.js +2 -0
- package/dist/cdn/{K3GNHGEW.js → C3A3UXVR.js} +1 -1
- package/dist/cdn/{ZFZ5AEUQ.js → CKIF4L44.js} +1 -1
- package/dist/cdn/CNI32IL3.js +2 -0
- package/dist/cdn/{ADGMA3ST.js → CRNIOME2.js} +2 -2
- package/dist/cdn/CRQK4CKK.js +2 -0
- package/dist/cdn/CVFKL3S2.js +2 -0
- package/dist/cdn/{ZFJFTDJF.js → CYGMXV56.js} +1 -1
- package/dist/cdn/D3YWSIAT.js +2 -0
- package/dist/cdn/{KDJ5RVHA.js → DAFNQT4C.js} +1 -1
- package/dist/cdn/DB2GBCE3.js +2 -0
- package/dist/cdn/DGYLORDT.js +2 -0
- package/dist/cdn/{KCMZSNBL.js → DT5BOM5F.js} +1 -1
- package/dist/cdn/{DCZWZOPF.js → DWYBKGOM.js} +1 -1
- package/dist/cdn/E7QFC64H.js +2 -0
- package/dist/cdn/EJWHEBKW.js +2 -0
- package/dist/cdn/{ZXOO3X5P.js → EQD2B3I6.js} +1 -1
- package/dist/cdn/{J5NHXQLA.js → EQZBQP5A.js} +1 -1
- package/dist/cdn/F5AR3N3Z.js +2 -0
- package/dist/cdn/F7UO7P33.js +2 -0
- package/dist/cdn/{XW4PBQNW.js → FBLOPEXC.js} +1 -1
- package/dist/cdn/FJGG2VVZ.js +2 -0
- package/dist/cdn/{N6AOFBBX.js → GBOCN364.js} +1 -1
- package/dist/cdn/GIH3U7YP.js +2 -0
- package/dist/cdn/GKEW5JYD.js +2 -0
- package/dist/cdn/{L4G6FO7A.js → HDYL2BOC.js} +1 -1
- package/dist/cdn/{QMSINFQX.js → HP3GIDT5.js} +1 -1
- package/dist/cdn/{AZOBLYAP.js → I2BM5KSH.js} +1 -1
- package/dist/cdn/I5DMUUEL.js +2 -0
- package/dist/cdn/{JQKRGUBU.js → IDAOLPMA.js} +1 -1
- package/dist/cdn/IJWJOXQC.js +2 -0
- package/dist/cdn/{JRHMUFED.js → IK4FPUFJ.js} +1 -1
- package/dist/cdn/IO6A77U4.js +2 -0
- package/dist/cdn/IODRBLGT.js +2 -0
- package/dist/cdn/{P4HSSZRL.js → IONJLIQQ.js} +1 -1
- package/dist/cdn/IPEJCIHO.js +2 -0
- package/dist/cdn/{A4GEWIPY.js → IR2W7UQ3.js} +1 -1
- package/dist/cdn/{QOOBNATX.js → J3VAMS5Z.js} +1 -1
- package/dist/cdn/{QFEZPP3R.js → JAQYU6KP.js} +1 -1
- package/dist/cdn/{IPM2XKST.js → JWEGCP5P.js} +1 -1
- package/dist/cdn/{AK7X7SGI.js → JYC77MVD.js} +1 -1
- package/dist/cdn/JYLEN3VQ.js +2 -0
- package/dist/cdn/{YOT6DVSU.js → K2PVLPOV.js} +1 -1
- package/dist/cdn/K4APZJ2O.js +2 -0
- package/dist/cdn/{MVHQR4FJ.js → K6F2LRKI.js} +1 -1
- package/dist/cdn/KJZTU3DV.js +2 -0
- package/dist/cdn/{D3CFPMAR.js → KOY5DWSR.js} +1 -1
- package/dist/cdn/L6DFXTSQ.js +104 -0
- package/dist/cdn/{AY6IOQ3H.js → LAEUROZM.js} +1 -1
- package/dist/cdn/LAPBDR32.js +2 -0
- package/dist/cdn/{AJWYIBGC.js → LC4YFJSM.js} +1 -1
- package/dist/cdn/LIDWAYQH.js +45 -0
- package/dist/cdn/LJTJTGIW.js +2 -0
- package/dist/cdn/LPYRKK25.js +2 -0
- package/dist/cdn/MAC4MPUA.js +2 -0
- package/dist/cdn/{KZ7LPNX3.js → MGAMMXJW.js} +1 -1
- package/dist/cdn/MOG5ZVLX.js +2 -0
- package/dist/cdn/{ETKPMU7Z.js → MSB6J66X.js} +1 -1
- package/dist/cdn/NAGOJPIX.js +3 -0
- package/dist/cdn/NF4EBNLN.js +2 -0
- package/dist/cdn/{XG2KN6YJ.js → NKPZCF5U.js} +1 -1
- package/dist/cdn/NP24UZGI.js +2 -0
- package/dist/cdn/{VE3GFNNM.js → NRXCKYYY.js} +1 -1
- package/dist/cdn/NUHPR7BM.js +2 -0
- package/dist/cdn/{BJDRJUEJ.js → NWHLFMAD.js} +1 -1
- package/dist/cdn/{4C6KWLWN.js → NWLNHFHJ.js} +1 -1
- package/dist/cdn/O2BQ374Y.js +2 -0
- package/dist/cdn/{UT4TYXFO.js → O7LPETXX.js} +1 -1
- package/dist/cdn/{THTYR6IL.js → OAXHS4LE.js} +1 -1
- package/dist/cdn/{NAXNRCMZ.js → OD2NWPCL.js} +1 -1
- package/dist/cdn/OE7FIKPS.js +2 -0
- package/dist/cdn/OE7Q4MG5.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/{4LPXOEML.js → OTFA727N.js} +1 -1
- package/dist/cdn/{C5K6XOCR.js → P37JASN4.js} +1 -1
- package/dist/cdn/{244ZX2UP.js → P5I5RQTN.js} +1 -1
- package/dist/cdn/P6DBPQZO.js +2 -0
- package/dist/cdn/{DAB5R2BN.js → PIEX577B.js} +1 -1
- package/dist/cdn/{BJ7Q7LCT.js → PIZPF2BH.js} +1 -1
- package/dist/cdn/{FF4DUQDZ.js → PMAHEVYY.js} +1 -1
- package/dist/cdn/{AM2TOTX6.js → PQVUA4T4.js} +1 -1
- package/dist/cdn/PTUMQCFF.js +2 -0
- package/dist/cdn/{5XTQQOTT.js → Q2OIHROC.js} +1 -1
- package/dist/cdn/{E7OAEGSE.js → Q2WDEGUQ.js} +1 -1
- package/dist/cdn/QAXXYD6N.js +2 -0
- package/dist/cdn/QC3FMJKL.js +2 -0
- package/dist/cdn/{7UQHB6KY.js → QIG5H6WA.js} +1 -1
- package/dist/cdn/{XMPLEHTW.js → QKZK6MTN.js} +1 -1
- package/dist/cdn/QSGJ3MAT.js +2 -0
- package/dist/cdn/QT64PB4L.js +2 -0
- package/dist/cdn/QWCNHH6G.js +2 -0
- package/dist/cdn/RCLHFY6O.js +2 -0
- package/dist/cdn/RCZLTGQI.js +2 -0
- package/dist/cdn/ROG3HFDT.js +2 -0
- package/dist/cdn/RQ5RKGH5.js +2 -0
- package/dist/cdn/SL7NRRSJ.js +2 -0
- package/dist/cdn/{MRTKZZTF.js → SN4KBI42.js} +1 -1
- package/dist/cdn/{DNTLH5RT.js → SSOL6PCL.js} +1 -1
- package/dist/cdn/SSQPRUUN.js +2 -0
- package/dist/cdn/{ZYOWZCR7.js → TB7JE5XK.js} +1 -1
- package/dist/cdn/TMGMKM5F.js +2 -0
- package/dist/cdn/{WMPWOPRZ.js → TRAVRA3M.js} +1 -1
- package/dist/cdn/{WASEMNYV.js → TS7M5QXS.js} +1 -1
- package/dist/cdn/{P5AO3V3M.js → UD724V36.js} +1 -1
- package/dist/cdn/{DSIFL2DF.js → UQSD6YZM.js} +1 -1
- package/dist/cdn/USNJZCHH.js +2 -0
- package/dist/cdn/{Q7J7EKQW.js → UUVJGPFG.js} +1 -1
- package/dist/cdn/V2FHLWYC.js +2 -0
- package/dist/cdn/VAF3UIVA.js +2 -0
- package/dist/cdn/VHW4OAKG.js +4 -0
- package/dist/cdn/{ZQDADGLQ.js → VLCUXTLC.js} +1 -1
- package/dist/cdn/VNYRZDY5.js +2 -0
- package/dist/cdn/VUHFYOLC.js +2 -0
- package/dist/cdn/{Y7HBWU3M.js → WDMYVS4F.js} +1 -1
- package/dist/cdn/WDUTZ6EO.js +2 -0
- package/dist/cdn/WM6SCZHN.js +2 -0
- package/dist/cdn/WPLHZAZ3.js +2 -0
- package/dist/cdn/{6B7JCDQC.js → WTF2PFHV.js} +1 -1
- package/dist/cdn/{GV3TT7L5.js → XDNGNOOK.js} +1 -1
- package/dist/cdn/XH57C72H.js +2 -0
- package/dist/cdn/{JJIGLOJA.js → XJVFIGWI.js} +1 -1
- package/dist/cdn/{5MEQANMY.js → Y2NESTSK.js} +1 -1
- package/dist/cdn/{BXYNEUQY.js → YCQLYXH4.js} +1 -1
- package/dist/cdn/{XE3FKQFA.js → YFHCD7R2.js} +1 -1
- package/dist/cdn/{AWF4R7WL.js → YW6IZCRW.js} +1 -1
- package/dist/cdn/{KUZR6CGB.js → ZK2KMZEI.js} +1 -1
- package/dist/cdn/ZK5Z6BOX.js +2 -0
- package/dist/cdn/{5ZGALYWZ.js → ZLCRTIQH.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 +42 -38
- package/dist/chunks/box-plot-data.js +273 -282
- package/dist/chunks/box-plot-model.js +137 -122
- 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 +76 -76
- package/dist/chunks/combo-bar-line-chart-model.js +25 -26
- 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 +93 -64
- package/dist/chunks/histogram-data.js +22 -22
- package/dist/chunks/histogram-model.js +10 -10
- package/dist/chunks/index.js +191 -180
- package/dist/chunks/index2.js +6422 -6009
- package/dist/chunks/index3.js +97 -86
- package/dist/chunks/index4.js +316 -87
- package/dist/chunks/index5.js +63 -100
- package/dist/chunks/line-chart-model.js +12 -12
- package/dist/chunks/model-setter.js +16 -15
- package/dist/chunks/model-with-line-marker-styling.js +2 -3
- package/dist/chunks/model-with-y-guides.js +59 -74
- package/dist/chunks/negative-values-stacked-to-baseline.js +18 -18
- package/dist/chunks/pie-chart-data.js +174 -192
- package/dist/chunks/pie-chart-model.js +267 -250
- 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 +873 -753
- package/dist/chunks/serial-chart-model.js +146 -124
- 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 +104 -94
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +592 -541
- package/dist/chunks/x-bounds.js +41 -42
- package/dist/components/arcgis-chart/customElement.d.ts +547 -224
- package/dist/components/arcgis-chart/customElement.js +10300 -10278
- 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 +40 -27
- 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 +243 -229
- 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 +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 +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 +65 -66
- 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 +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 +16 -17
- 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 +470 -458
- 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.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 +44 -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 +62 -99
- 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 +27 -1
- 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 +17 -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 +56 -6
- 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 +1 -1
- package/dist/utils/data/index.d.ts +22 -19
- 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 +8 -3
- package/dist/utils/layer/query-parser/index.d.ts +9 -5
- 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 +6 -7
- 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/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/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/J6WQX4UD.js +0 -58
- 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/ML3A3MYV.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/OHF3AEWY.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/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/WGYJBMRM.js +0 -4
- 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,46 +1,46 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { log as
|
|
2
|
+
import { log as W } from "@arcgis/toolkit/log";
|
|
3
3
|
import { u as p } from "./chart-object-literals.js";
|
|
4
|
-
import { Y as
|
|
5
|
-
import { i as
|
|
6
|
-
import {
|
|
7
|
-
import { C as
|
|
8
|
-
import { C as
|
|
4
|
+
import { Y as O, ap as k } from "./index2.js";
|
|
5
|
+
import { i as w } from "./index4.js";
|
|
6
|
+
import { X as d, a8 as I, a2 as D, aB as V, a5 as G, a6 as z } from "./index.js";
|
|
7
|
+
import { C as y, d as B } from "./index3.js";
|
|
8
|
+
import { C as E } 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 { f as
|
|
14
|
-
import {
|
|
15
|
-
import { cloneDeep as
|
|
16
|
-
import { i as
|
|
17
|
-
const
|
|
10
|
+
import { b as g, P as f } from "./common.js";
|
|
11
|
+
import { M as x, a as R, W as j, b as U } from "./data-labels-visibility.js";
|
|
12
|
+
import { W as K } from "./data-labels-symbol.js";
|
|
13
|
+
import { f as N, j as $, c as X } from "./utils.js";
|
|
14
|
+
import { i as m, a as S, g as h, s as Y, c as q, b as H, d as J, e as Q, f as Z, h as C, j as v, k as ee } from "./pie-chart-data.js";
|
|
15
|
+
import { cloneDeep as te } from "lodash-es";
|
|
16
|
+
import { i as _ } from "./rest-js-object-literals.js";
|
|
17
|
+
const ie = (t) => t.legend?.displayNumericValue ?? !1, se = (t, e) => {
|
|
18
18
|
e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.displayNumericValue = t);
|
|
19
|
-
},
|
|
19
|
+
}, re = (t) => t.legend?.displayCategory ?? !1, ae = (t, e) => {
|
|
20
20
|
e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.displayCategory = t);
|
|
21
|
-
},
|
|
21
|
+
}, oe = (t) => t.legend?.displayPercentage ?? !1, le = (t, e) => {
|
|
22
22
|
e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.displayPercentage = t);
|
|
23
|
-
},
|
|
23
|
+
}, ne = (t) => t.legend?.labelMaxWidth ?? 200, ce = (t, e) => {
|
|
24
24
|
e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.labelMaxWidth = t);
|
|
25
|
-
},
|
|
25
|
+
}, ge = (t) => t.legend?.valueLabelMaxWidth ?? 200, pe = (t, e) => {
|
|
26
26
|
e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.valueLabelMaxWidth = t);
|
|
27
27
|
};
|
|
28
|
-
var
|
|
29
|
-
for (var l =
|
|
30
|
-
(
|
|
31
|
-
return l &&
|
|
28
|
+
var de = Object.defineProperty, ue = Object.getOwnPropertyDescriptor, b = (t, e, i, r) => {
|
|
29
|
+
for (var l = ue(e, i), n = t.length - 1, c; n >= 0; n--)
|
|
30
|
+
(c = t[n]) && (l = c(e, i, l) || l);
|
|
31
|
+
return l && de(e, i, l), l;
|
|
32
32
|
};
|
|
33
|
-
class u extends
|
|
33
|
+
class u extends x {
|
|
34
34
|
/**
|
|
35
35
|
* Gets the setting for the display of numerical value in the legend items.
|
|
36
36
|
*
|
|
37
37
|
* **Note**: Only applicable to pie charts.
|
|
38
38
|
*/
|
|
39
39
|
getDisplayNumericValue() {
|
|
40
|
-
return
|
|
40
|
+
return ie(this._config);
|
|
41
41
|
}
|
|
42
42
|
setDisplayNumericValue(e) {
|
|
43
|
-
|
|
43
|
+
se(e, this._config);
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
46
|
* Gets the setting for the display of percentage in the legend items.
|
|
@@ -48,10 +48,10 @@ class u extends T {
|
|
|
48
48
|
* **Note**: Only applicable to pie charts.
|
|
49
49
|
*/
|
|
50
50
|
getDisplayPercentage() {
|
|
51
|
-
return
|
|
51
|
+
return oe(this._config);
|
|
52
52
|
}
|
|
53
53
|
setDisplayPercentage(e) {
|
|
54
|
-
|
|
54
|
+
le(e, this._config);
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
57
|
* Gets the maximum width in pixel for the legend item labels.
|
|
@@ -59,131 +59,135 @@ class u extends T {
|
|
|
59
59
|
* **Note**: Only applicable to pie charts.
|
|
60
60
|
*/
|
|
61
61
|
getLabelMaxWidth() {
|
|
62
|
-
return
|
|
62
|
+
return ne(this._config);
|
|
63
63
|
}
|
|
64
64
|
setLabelMaxWidth(e) {
|
|
65
|
-
|
|
65
|
+
ce(e, this._config);
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
68
|
* The maximum width in pixel for the legend value labels.
|
|
69
69
|
* @returns {number}
|
|
70
70
|
*/
|
|
71
71
|
get valueLabelMaxWidth() {
|
|
72
|
-
return
|
|
72
|
+
return ge(this._config);
|
|
73
73
|
}
|
|
74
74
|
set valueLabelMaxWidth(e) {
|
|
75
|
-
|
|
75
|
+
pe(e, this._config), this.emitConfigUpdate("valueLabelMaxWidth");
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
78
78
|
* Whether to display the category in the legend.
|
|
79
79
|
*/
|
|
80
80
|
get displayCategory() {
|
|
81
|
-
return
|
|
81
|
+
return re(this._config);
|
|
82
82
|
}
|
|
83
83
|
set displayCategory(e) {
|
|
84
|
-
|
|
84
|
+
ae(e, this._config), this.emitConfigUpdate("displayCategory");
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
-
|
|
87
|
+
b([
|
|
88
88
|
s
|
|
89
89
|
], u.prototype, "setDisplayNumericValue");
|
|
90
|
-
|
|
90
|
+
b([
|
|
91
91
|
s
|
|
92
92
|
], u.prototype, "setDisplayPercentage");
|
|
93
|
-
|
|
93
|
+
b([
|
|
94
94
|
s
|
|
95
95
|
], u.prototype, "setLabelMaxWidth");
|
|
96
|
-
const
|
|
97
|
-
|
|
98
|
-
const
|
|
96
|
+
const fe = [x];
|
|
97
|
+
N(u, fe);
|
|
98
|
+
const he = (t) => t.series?.[0]?.innerRadius, ye = (t, e) => {
|
|
99
99
|
e.series?.[0] && (e.series[0].innerRadius = t);
|
|
100
|
-
},
|
|
100
|
+
}, me = (t) => t.series?.[0]?.dataLabelsCharacterLimit, Se = (t, e) => {
|
|
101
101
|
e.series?.[0] && (e.series[0].dataLabelsCharacterLimit = t);
|
|
102
|
-
},
|
|
102
|
+
}, P = (t) => t.series[0]?.startAngle, _e = (t, e) => {
|
|
103
103
|
e.series?.[0] && (e.series[0].startAngle = t);
|
|
104
|
-
},
|
|
104
|
+
}, be = (t, e) => {
|
|
105
105
|
e.series?.[0] && (e.series[0].endAngle = t);
|
|
106
|
-
},
|
|
106
|
+
}, Le = (t) => t.series?.[0]?.displayCategoryOnTooltip ?? !0, Oe = (t) => t.series?.[0]?.displayCategoryOnDataLabel ?? !0, De = (t) => t.series?.[0]?.displayNumericValueOnDataLabel ?? !0, Ce = (t) => t.series?.[0]?.displayPercentageOnDataLabel ?? !1, ve = (t) => t.series?.[0]?.displayNumericValueOnTooltip ?? !0, Pe = (t) => t.series?.[0]?.displayPercentageOnTooltip ?? !0, Te = (t, e) => {
|
|
107
107
|
e.series[0] && (e.series[0].displayPercentageOnTooltip = t);
|
|
108
|
-
},
|
|
108
|
+
}, Ie = (t) => t.series?.[0]?.valuePrefix, Ve = (t, e) => {
|
|
109
109
|
e.series?.[0] && (e.series[0].valuePrefix = t);
|
|
110
|
-
},
|
|
110
|
+
}, xe = (t) => t.series?.[0]?.valueSuffix, Ne = (t, e) => {
|
|
111
111
|
e.series?.[0] && (e.series[0].valueSuffix = t);
|
|
112
|
-
},
|
|
112
|
+
}, Fe = (t) => t.series?.[0]?.percentagePrefix, Me = (t, e) => {
|
|
113
113
|
e.series?.[0] && (e.series[0].percentagePrefix = t);
|
|
114
|
-
},
|
|
114
|
+
}, Ae = (t) => t.series?.[0]?.percentageSuffix, We = (t, e) => {
|
|
115
115
|
e.series?.[0] && (e.series[0].percentageSuffix = t);
|
|
116
|
-
},
|
|
116
|
+
}, ke = (t) => {
|
|
117
117
|
let e;
|
|
118
118
|
const i = t.series?.[0];
|
|
119
|
-
return i?.displayNumericValueOnDataLabel === !0 && i?.displayPercentageOnDataLabel === !0 ? e =
|
|
120
|
-
},
|
|
121
|
-
const i = t ===
|
|
122
|
-
e.series?.[0] && (e.series[0].displayNumericValueOnDataLabel = i, e.series[0].displayPercentageOnDataLabel =
|
|
119
|
+
return i?.displayNumericValueOnDataLabel === !0 && i?.displayPercentageOnDataLabel === !0 ? e = g.Both : i?.displayNumericValueOnDataLabel === !0 ? e = g.Value : e = g.Percentage, e;
|
|
120
|
+
}, we = (t, e) => {
|
|
121
|
+
const i = t === g.Value || t === g.Both, r = t === g.Percentage || t === g.Both;
|
|
122
|
+
e.series?.[0] && (e.series[0].displayNumericValueOnDataLabel = i, e.series[0].displayPercentageOnDataLabel = r), e.legend && (e.legend = {
|
|
123
123
|
...e.legend,
|
|
124
124
|
displayNumericValue: i,
|
|
125
|
-
displayPercentage:
|
|
125
|
+
displayPercentage: r
|
|
126
126
|
});
|
|
127
|
-
},
|
|
127
|
+
}, Ge = (t) => t.series?.[0]?.alignDataLabels ?? !1, ze = (t, e) => {
|
|
128
128
|
e.series[0] && (e.series[0].alignDataLabels = t);
|
|
129
|
-
},
|
|
129
|
+
}, Be = (t) => t.series?.[0]?.dataLabelsInside ?? !1, Ee = (t, e) => {
|
|
130
130
|
e.series[0] && (e.series[0].dataLabelsInside = t);
|
|
131
|
-
},
|
|
131
|
+
}, Re = (t) => t.series?.[0]?.dataLabelsOffset ?? 10, je = (t, e) => {
|
|
132
132
|
e.series[0] && (e.series[0].dataLabelsOffset = t);
|
|
133
|
-
},
|
|
134
|
-
e.series?.[0] && (e.series[0].numericValueFormat ??=
|
|
135
|
-
},
|
|
133
|
+
}, Ue = (t) => t.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits, Ke = (t, e) => {
|
|
134
|
+
e.series?.[0] && (e.series[0].numericValueFormat ??= D(), e.series[0].numericValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].numericValueFormat.intlOptions.maximumFractionDigits = t, e.series[0].percentValueFormat ??= D(), e.series[0].percentValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].percentValueFormat.intlOptions.maximumFractionDigits = t);
|
|
135
|
+
}, $e = (t) => t.series?.[0]?.optimizeDataLabelsOverlapping ?? !1, Xe = (t, e) => {
|
|
136
136
|
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
|
-
},
|
|
137
|
+
}, Ye = (t) => t.series[0]?.ticks?.visible ?? !1, qe = (t, e) => {
|
|
138
|
+
e.series?.[0] && (e.series[0].ticks ??= I(), e.series[0].ticks.visible = t);
|
|
139
|
+
}, He = (t) => t.series[0]?.ticks?.lineSymbol, Je = (t, e) => {
|
|
140
|
+
t && e.series?.[0] && (e.series[0].ticks ??= I(), e.series[0].ticks.lineSymbol = te(t));
|
|
141
|
+
}, Qe = (t, e) => e.series?.[0]?.slices?.[t]?.originalLabel, Ze = (t, e) => e.series?.[0]?.slices?.[t]?.label, et = (t, e, i) => {
|
|
142
142
|
i.series?.[0]?.slices?.[e] && (i.series[0].slices[e].label = t);
|
|
143
|
-
},
|
|
144
|
-
const
|
|
145
|
-
|
|
146
|
-
type:
|
|
143
|
+
}, tt = (t, e) => e.series?.[0]?.slices?.[t]?.fillSymbol?.color, it = (t, e, i) => {
|
|
144
|
+
const r = i.series?.[0]?.slices?.[e]?.fillSymbol;
|
|
145
|
+
r !== void 0 ? (r.color = t, r.outline !== void 0 ? r.outline.color = t : r.outline = { type: _.SLS, color: t }) : i.series?.[0]?.slices?.[e] !== void 0 && (i.series[0].slices[e].fillSymbol = {
|
|
146
|
+
type: _.SFS,
|
|
147
147
|
color: t,
|
|
148
|
-
outline: { type:
|
|
148
|
+
outline: { type: _.SLS, color: t }
|
|
149
149
|
});
|
|
150
|
-
},
|
|
150
|
+
}, st = (t) => t.series?.[0]?.slices?.map((e) => e.sliceId), T = (t, e) => {
|
|
151
151
|
e.series?.[0]?.slices?.sort(
|
|
152
|
-
(i,
|
|
152
|
+
(i, r) => t.findIndex((l) => i.sliceId === l) - t.findIndex((l) => r.sliceId === l)
|
|
153
153
|
);
|
|
154
|
-
},
|
|
154
|
+
}, rt = (t) => t.series?.[0]?.sliceGrouping, F = (t, e) => {
|
|
155
155
|
e.series?.[0] && (e.series[0].sliceGrouping = t);
|
|
156
|
-
},
|
|
156
|
+
}, M = (t) => t.series?.[0]?.sliceGrouping?.percentageThreshold, at = (t, e) => {
|
|
157
157
|
e.series?.[0]?.sliceGrouping !== void 0 ? e.series[0].sliceGrouping.percentageThreshold = t : e.series[0].sliceGrouping = {
|
|
158
|
-
sliceId:
|
|
158
|
+
sliceId: V.defaultGroupOfSlicesId,
|
|
159
159
|
percentageThreshold: t
|
|
160
160
|
};
|
|
161
|
-
},
|
|
161
|
+
}, ot = (t) => t.series?.[0]?.slices, A = (t, e) => {
|
|
162
162
|
e.series?.[0] && (e.series[0].slices = t);
|
|
163
|
-
},
|
|
164
|
-
|
|
163
|
+
}, lt = (t) => {
|
|
164
|
+
A(void 0, t), F(
|
|
165
165
|
{
|
|
166
|
-
sliceId:
|
|
167
|
-
percentageThreshold:
|
|
166
|
+
sliceId: V.defaultGroupOfSlicesId,
|
|
167
|
+
percentageThreshold: M(t) ?? 0
|
|
168
168
|
},
|
|
169
169
|
t
|
|
170
170
|
);
|
|
171
|
-
},
|
|
172
|
-
var
|
|
173
|
-
for (var l =
|
|
174
|
-
(
|
|
175
|
-
return l &&
|
|
171
|
+
}, nt = (t, e) => e.series[0]?.slices?.[t]?.sliceId, ct = (t, e) => e.series[0]?.slices?.findIndex((i) => i.sliceId === t), gt = (t) => t.series[0]?.slices?.length ?? 0;
|
|
172
|
+
var pt = Object.defineProperty, dt = Object.getOwnPropertyDescriptor, o = (t, e, i, r) => {
|
|
173
|
+
for (var l = dt(e, i), n = t.length - 1, c; n >= 0; n--)
|
|
174
|
+
(c = t[n]) && (l = c(e, i, l) || l);
|
|
175
|
+
return l && pt(e, i, l), l;
|
|
176
176
|
};
|
|
177
|
-
class
|
|
177
|
+
class a extends E {
|
|
178
178
|
constructor() {
|
|
179
|
-
super(...arguments), this._chartType = p.PieSeries, this._mode =
|
|
179
|
+
super(...arguments), this._chartType = p.PieSeries, this._mode = f.Category, this._groupedSliceIds = [], this._customizedSliceIds = [];
|
|
180
180
|
}
|
|
181
181
|
async setup(e) {
|
|
182
182
|
await this.loadConfigFromLayer(e);
|
|
183
183
|
const { config: i } = e;
|
|
184
184
|
if (i !== void 0) {
|
|
185
|
-
const
|
|
186
|
-
this._mode =
|
|
185
|
+
const l = O(i.series) !== y.PieFromFields ? f.Category : f.Fields;
|
|
186
|
+
this._mode = m({
|
|
187
|
+
category: h(this._config),
|
|
188
|
+
numericFields: S(this._config),
|
|
189
|
+
fallbackMode: l
|
|
190
|
+
});
|
|
187
191
|
}
|
|
188
192
|
typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
189
193
|
}
|
|
@@ -194,10 +198,14 @@ class r extends G {
|
|
|
194
198
|
* Category field for the pie chart.
|
|
195
199
|
*/
|
|
196
200
|
get category() {
|
|
197
|
-
return
|
|
201
|
+
return h(this._config);
|
|
198
202
|
}
|
|
199
203
|
set category(e) {
|
|
200
|
-
(!
|
|
204
|
+
(!w(this._config) || e.trim() !== "") && (this._mode = m({
|
|
205
|
+
category: e,
|
|
206
|
+
numericFields: S(this._config),
|
|
207
|
+
fallbackMode: this._mode
|
|
208
|
+
}), Y({
|
|
201
209
|
newCategory: e,
|
|
202
210
|
config: this._config,
|
|
203
211
|
layerInfo: this.layerInfo,
|
|
@@ -209,25 +217,31 @@ class r extends G {
|
|
|
209
217
|
* Numeric fields for the pie chart.
|
|
210
218
|
*/
|
|
211
219
|
get numericFields() {
|
|
212
|
-
return
|
|
220
|
+
return S(this._config);
|
|
213
221
|
}
|
|
214
222
|
set numericFields(e) {
|
|
215
|
-
typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ?
|
|
223
|
+
typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ? $(this.layerInfo.layerFieldsInfo, e) : !0) ? (this._mode = m({
|
|
224
|
+
category: h(this._config),
|
|
225
|
+
numericFields: e,
|
|
226
|
+
fallbackMode: this._mode
|
|
227
|
+
}), q({
|
|
216
228
|
newNumericFields: e,
|
|
217
229
|
config: this._config,
|
|
218
230
|
layerInfo: this.layerInfo,
|
|
219
231
|
commonStrings: this.commonStrings,
|
|
220
232
|
mode: this._mode
|
|
221
|
-
}), this.
|
|
233
|
+
}), this._config.series[0].slices = this._config.series[0].slices?.filter(
|
|
234
|
+
(r) => r.fillSymbol?.color !== void 0 && this._customizedSliceIds.includes(r.sliceId ?? "")
|
|
235
|
+
), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))) : W("error", "pie-chart-model", "Invalid `numericFields`");
|
|
222
236
|
}
|
|
223
237
|
/**
|
|
224
238
|
* Aggregation type for the pie chart.
|
|
225
239
|
*/
|
|
226
240
|
get aggregationType() {
|
|
227
|
-
return
|
|
241
|
+
return H(this._config, this._mode);
|
|
228
242
|
}
|
|
229
243
|
set aggregationType(e) {
|
|
230
|
-
|
|
244
|
+
J({
|
|
231
245
|
newAggregationType: e,
|
|
232
246
|
config: this._config,
|
|
233
247
|
layerInfo: this.layerInfo,
|
|
@@ -239,10 +253,10 @@ class r extends G {
|
|
|
239
253
|
* Gets the sort order for the pie chart.
|
|
240
254
|
*/
|
|
241
255
|
getSortOrder() {
|
|
242
|
-
return
|
|
256
|
+
return Q(this._config, this._mode);
|
|
243
257
|
}
|
|
244
258
|
setSortOrder(e, i) {
|
|
245
|
-
|
|
259
|
+
Z({
|
|
246
260
|
newSortOrderKind: e,
|
|
247
261
|
config: this._config,
|
|
248
262
|
orderByList: i
|
|
@@ -257,10 +271,10 @@ class r extends G {
|
|
|
257
271
|
* ```
|
|
258
272
|
*/
|
|
259
273
|
get orderByList() {
|
|
260
|
-
return
|
|
274
|
+
return C(this._config, this._mode);
|
|
261
275
|
}
|
|
262
276
|
set orderByList(e) {
|
|
263
|
-
|
|
277
|
+
v({
|
|
264
278
|
values: e,
|
|
265
279
|
config: this._config,
|
|
266
280
|
mode: this._mode
|
|
@@ -271,6 +285,7 @@ class r extends G {
|
|
|
271
285
|
*
|
|
272
286
|
* `category` - The chart is using values from the category field to determine each slice.
|
|
273
287
|
* `fields` - The chart is using aggregated values from the numeric fields to determine each slice.
|
|
288
|
+
* @deprecated since 5.2. Mode is inferred automatically from `category` and `numericFields`.
|
|
274
289
|
*/
|
|
275
290
|
get mode() {
|
|
276
291
|
return this._mode;
|
|
@@ -282,19 +297,19 @@ class r extends G {
|
|
|
282
297
|
* Gets the list of the category values for the chart.
|
|
283
298
|
*/
|
|
284
299
|
async getCustomSortValues() {
|
|
285
|
-
const e =
|
|
286
|
-
let
|
|
287
|
-
return i ===
|
|
300
|
+
const e = h(this._config), i = O(this._config.series);
|
|
301
|
+
let r = [];
|
|
302
|
+
return i === y.PieFromFields ? r = this.numericFields : e.trim() !== "" && i === y.PieFromCategory && (r = await X({
|
|
288
303
|
category: e,
|
|
289
304
|
config: this._config,
|
|
290
305
|
layerInfo: this.layerInfo,
|
|
291
306
|
errorStrings: this.commonStrings.errorStrings
|
|
292
|
-
})),
|
|
307
|
+
})), r;
|
|
293
308
|
}
|
|
294
309
|
moveCustomSortValuesInOrderByList(e, i) {
|
|
295
|
-
const
|
|
296
|
-
|
|
297
|
-
values:
|
|
310
|
+
const r = C(this._config, this._mode), [l] = r.splice(e, 1);
|
|
311
|
+
r.splice(i, 0, l), v({
|
|
312
|
+
values: r,
|
|
298
313
|
config: this._config,
|
|
299
314
|
mode: this._mode
|
|
300
315
|
});
|
|
@@ -306,10 +321,10 @@ class r extends G {
|
|
|
306
321
|
* Ticks symbol connecting slices to labels.
|
|
307
322
|
*/
|
|
308
323
|
get ticksSymbol() {
|
|
309
|
-
return
|
|
324
|
+
return He(this._config);
|
|
310
325
|
}
|
|
311
326
|
set ticksSymbol(e) {
|
|
312
|
-
|
|
327
|
+
Je(e, this._config);
|
|
313
328
|
}
|
|
314
329
|
// ---------------------------------------------------------------------------------------------
|
|
315
330
|
// #region Slices Props
|
|
@@ -318,10 +333,10 @@ class r extends G {
|
|
|
318
333
|
* Array of slices for the pie chart.
|
|
319
334
|
*/
|
|
320
335
|
get slices() {
|
|
321
|
-
return
|
|
336
|
+
return ot(this._config);
|
|
322
337
|
}
|
|
323
338
|
set slices(e) {
|
|
324
|
-
|
|
339
|
+
A(e, this._config);
|
|
325
340
|
}
|
|
326
341
|
/**
|
|
327
342
|
* Array of grouped slice ids for the pie chart.
|
|
@@ -336,63 +351,63 @@ class r extends G {
|
|
|
336
351
|
* Slice grouping configuration for the pie chart.
|
|
337
352
|
*/
|
|
338
353
|
get sliceGrouping() {
|
|
339
|
-
return
|
|
354
|
+
return rt(this._config);
|
|
340
355
|
}
|
|
341
356
|
set sliceGrouping(e) {
|
|
342
|
-
|
|
357
|
+
F(e, this._config);
|
|
343
358
|
}
|
|
344
359
|
/**
|
|
345
360
|
* Inner radius size for the pie chart.
|
|
346
361
|
*/
|
|
347
362
|
get innerRadiusSize() {
|
|
348
|
-
return
|
|
363
|
+
return he(this._config) ?? 0;
|
|
349
364
|
}
|
|
350
365
|
set innerRadiusSize(e) {
|
|
351
|
-
|
|
366
|
+
ye(e, this._config);
|
|
352
367
|
}
|
|
353
368
|
/**
|
|
354
369
|
* Threshold below which slices will be grouped.
|
|
355
370
|
*/
|
|
356
371
|
get groupingThreshold() {
|
|
357
|
-
return
|
|
372
|
+
return M(this._config) ?? 0;
|
|
358
373
|
}
|
|
359
374
|
set groupingThreshold(e) {
|
|
360
|
-
|
|
375
|
+
at(e, this._config);
|
|
361
376
|
}
|
|
362
377
|
/**
|
|
363
378
|
* Character limit for the slice labels.
|
|
364
379
|
*/
|
|
365
380
|
get labelCharacterLimit() {
|
|
366
|
-
return
|
|
381
|
+
return me(this._config) ?? null;
|
|
367
382
|
}
|
|
368
383
|
set labelCharacterLimit(e) {
|
|
369
|
-
|
|
384
|
+
Se(e, this._config);
|
|
370
385
|
}
|
|
371
386
|
/**
|
|
372
387
|
* Number of decimal places to display in the slice values.
|
|
373
388
|
*/
|
|
374
389
|
get decimalPlaces() {
|
|
375
|
-
return
|
|
390
|
+
return Ue(this._config) ?? 1;
|
|
376
391
|
}
|
|
377
392
|
set decimalPlaces(e) {
|
|
378
|
-
|
|
393
|
+
Ke(e, this._config);
|
|
379
394
|
}
|
|
380
395
|
/**
|
|
381
396
|
* Display type for the pie chart slices. Specifies whether to display the slices as a `percentage`, `value`, or `both`.
|
|
382
397
|
*/
|
|
383
398
|
get displayType() {
|
|
384
|
-
return
|
|
399
|
+
return ke(this._config);
|
|
385
400
|
}
|
|
386
401
|
set displayType(e) {
|
|
387
|
-
|
|
402
|
+
we(e, this._config);
|
|
388
403
|
}
|
|
389
404
|
// ---------------------------------------------------------------------------------------------
|
|
390
405
|
// #region Protected methods
|
|
391
406
|
// ---------------------------------------------------------------------------------------------
|
|
392
407
|
/** @private */
|
|
393
408
|
generateDefaultConfig() {
|
|
394
|
-
const e =
|
|
395
|
-
return e.series = [
|
|
409
|
+
const e = G(this.commonStrings);
|
|
410
|
+
return e.series = [z(this.commonStrings, k(this.layerInfo.layer).idField)], e;
|
|
396
411
|
}
|
|
397
412
|
// ---------------------------------------------------------------------------------------------
|
|
398
413
|
// #region Series Methods
|
|
@@ -403,7 +418,7 @@ class r extends G {
|
|
|
403
418
|
* @param sliceIndex - The index of the slice.
|
|
404
419
|
*/
|
|
405
420
|
getOriginalSliceName(e) {
|
|
406
|
-
return
|
|
421
|
+
return Qe(e, this._config);
|
|
407
422
|
}
|
|
408
423
|
/**
|
|
409
424
|
* 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 +426,11 @@ class r extends G {
|
|
|
411
426
|
* @param sliceIndex - The index of the slice.
|
|
412
427
|
*/
|
|
413
428
|
getSliceName(e) {
|
|
414
|
-
return
|
|
429
|
+
return Ze(e, this._config);
|
|
415
430
|
}
|
|
416
431
|
setSliceName(e, i) {
|
|
417
|
-
|
|
432
|
+
const r = this.getSliceId(i);
|
|
433
|
+
r !== void 0 && this._customizedSliceIds.push(r), et(e, i, this._config);
|
|
418
434
|
}
|
|
419
435
|
/**
|
|
420
436
|
* Gets the color of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
|
|
@@ -422,25 +438,26 @@ class r extends G {
|
|
|
422
438
|
* @param sliceIndex - The index of the slice.
|
|
423
439
|
*/
|
|
424
440
|
getSliceColor(e) {
|
|
425
|
-
return
|
|
441
|
+
return tt(e, this._config);
|
|
426
442
|
}
|
|
427
443
|
setSliceColor(e, i) {
|
|
428
|
-
|
|
444
|
+
const r = this.getSliceId(i);
|
|
445
|
+
e !== void 0 && r !== void 0 && this._customizedSliceIds.push(r), it(e, i, this._config);
|
|
429
446
|
}
|
|
430
447
|
/**
|
|
431
448
|
* Order of the slice array by returning an array of slice ids
|
|
432
449
|
*/
|
|
433
450
|
get orderOfSlices() {
|
|
434
|
-
return
|
|
451
|
+
return st(this._config);
|
|
435
452
|
}
|
|
436
453
|
set orderOfSlices(e) {
|
|
437
|
-
e !== void 0 &&
|
|
454
|
+
e !== void 0 && T(e, this._config);
|
|
438
455
|
}
|
|
439
456
|
moveSeries(e, i) {
|
|
440
|
-
const
|
|
441
|
-
if (
|
|
442
|
-
const [l] =
|
|
443
|
-
|
|
457
|
+
const r = this.orderOfSlices;
|
|
458
|
+
if (r !== void 0) {
|
|
459
|
+
const [l] = r.splice(e, 1);
|
|
460
|
+
r.splice(i, 0, l), T(r, this._config);
|
|
444
461
|
}
|
|
445
462
|
}
|
|
446
463
|
/**
|
|
@@ -449,7 +466,7 @@ class r extends G {
|
|
|
449
466
|
* @param sliceIndex - The index of the slice.
|
|
450
467
|
*/
|
|
451
468
|
getSliceId(e) {
|
|
452
|
-
return
|
|
469
|
+
return nt(e, this._config);
|
|
453
470
|
}
|
|
454
471
|
/**
|
|
455
472
|
* Gets the slice index for a given slice id. If the `sliceId` is not found, this function will return `undefined`.
|
|
@@ -457,16 +474,16 @@ class r extends G {
|
|
|
457
474
|
* @param sliceId - The id of the slice.
|
|
458
475
|
*/
|
|
459
476
|
getSliceIndex(e) {
|
|
460
|
-
return
|
|
477
|
+
return ct(e, this._config);
|
|
461
478
|
}
|
|
462
479
|
/**
|
|
463
480
|
* Gets the length of the slices array.
|
|
464
481
|
*/
|
|
465
482
|
getSlicesLength() {
|
|
466
|
-
return
|
|
483
|
+
return gt(this._config);
|
|
467
484
|
}
|
|
468
485
|
resetSlices() {
|
|
469
|
-
|
|
486
|
+
this._customizedSliceIds = [], lt(this._config);
|
|
470
487
|
}
|
|
471
488
|
/**
|
|
472
489
|
* Returns whether the series styling is able to be reset.
|
|
@@ -474,10 +491,10 @@ class r extends G {
|
|
|
474
491
|
resetAvailable() {
|
|
475
492
|
const e = !this.colorMatch;
|
|
476
493
|
let i = !1;
|
|
477
|
-
const
|
|
478
|
-
for (let l = 0; l <
|
|
479
|
-
const n = this.getOriginalSliceName(l),
|
|
480
|
-
if (
|
|
494
|
+
const r = this.slices?.length ?? 0;
|
|
495
|
+
for (let l = 0; l < r; l += 1) {
|
|
496
|
+
const n = this.getOriginalSliceName(l), c = this.getSliceName(l), L = this._mode === f.Fields ? B(this.layerInfo?.layerFieldsInfo, n?.toString()) : n;
|
|
497
|
+
if (L !== void 0 && L?.toString() !== c?.toString()) {
|
|
481
498
|
i = !0;
|
|
482
499
|
break;
|
|
483
500
|
}
|
|
@@ -488,35 +505,35 @@ class r extends G {
|
|
|
488
505
|
* Visibility of the ticks.
|
|
489
506
|
*/
|
|
490
507
|
get ticksVisibility() {
|
|
491
|
-
return
|
|
508
|
+
return Ye(this._config);
|
|
492
509
|
}
|
|
493
510
|
set ticksVisibility(e) {
|
|
494
|
-
|
|
511
|
+
qe(e, this._config);
|
|
495
512
|
}
|
|
496
513
|
/**
|
|
497
514
|
* Start angle of the pie chart.
|
|
498
515
|
*/
|
|
499
516
|
get startAngle() {
|
|
500
|
-
return
|
|
517
|
+
return P(this._config);
|
|
501
518
|
}
|
|
502
519
|
set startAngle(e) {
|
|
503
|
-
|
|
520
|
+
_e(e, this._config);
|
|
504
521
|
}
|
|
505
522
|
/**
|
|
506
523
|
* End angle of the pie chart.
|
|
507
524
|
*/
|
|
508
525
|
get endAngle() {
|
|
509
|
-
return
|
|
526
|
+
return P(this._config);
|
|
510
527
|
}
|
|
511
528
|
set endAngle(e) {
|
|
512
|
-
|
|
529
|
+
be(e, this._config);
|
|
513
530
|
}
|
|
514
531
|
/**
|
|
515
532
|
* Whether to display the category on the data label.
|
|
516
533
|
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
517
534
|
*/
|
|
518
535
|
get displayCategoryOnDataLabel() {
|
|
519
|
-
return
|
|
536
|
+
return Oe(this._config);
|
|
520
537
|
}
|
|
521
538
|
set displayCategoryOnDataLabel(e) {
|
|
522
539
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -529,7 +546,7 @@ class r extends G {
|
|
|
529
546
|
* **Note**: If the setting is not found in the config, it will default to `true`.
|
|
530
547
|
*/
|
|
531
548
|
get displayCategoryValueOnTooltip() {
|
|
532
|
-
return
|
|
549
|
+
return Le(this._config);
|
|
533
550
|
}
|
|
534
551
|
set displayCategoryValueOnTooltip(e) {
|
|
535
552
|
this._config.series[0].displayCategoryOnTooltip = e;
|
|
@@ -539,7 +556,7 @@ class r extends G {
|
|
|
539
556
|
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
540
557
|
*/
|
|
541
558
|
get displayNumericValueOnDataLabel() {
|
|
542
|
-
return
|
|
559
|
+
return De(this._config);
|
|
543
560
|
}
|
|
544
561
|
set displayNumericValueOnDataLabel(e) {
|
|
545
562
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -552,7 +569,7 @@ class r extends G {
|
|
|
552
569
|
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
553
570
|
*/
|
|
554
571
|
get displayPercentageOnDataLabel() {
|
|
555
|
-
return
|
|
572
|
+
return Ce(this._config);
|
|
556
573
|
}
|
|
557
574
|
set displayPercentageOnDataLabel(e) {
|
|
558
575
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -565,7 +582,7 @@ class r extends G {
|
|
|
565
582
|
* **Note**: If the setting is not found in the config, it will default to `true`.
|
|
566
583
|
*/
|
|
567
584
|
get displayNumericValueOnTooltip() {
|
|
568
|
-
return
|
|
585
|
+
return ve(this._config);
|
|
569
586
|
}
|
|
570
587
|
set displayNumericValueOnTooltip(e) {
|
|
571
588
|
this._config.series[0].displayNumericValueOnTooltip = e;
|
|
@@ -576,82 +593,82 @@ class r extends G {
|
|
|
576
593
|
* **Note**: If the setting is not found in the config, it will default to `true`.
|
|
577
594
|
*/
|
|
578
595
|
get displayPercentageOnTooltip() {
|
|
579
|
-
return
|
|
596
|
+
return Pe(this._config);
|
|
580
597
|
}
|
|
581
598
|
set displayPercentageOnTooltip(e) {
|
|
582
|
-
|
|
599
|
+
Te(e, this._config);
|
|
583
600
|
}
|
|
584
601
|
/**
|
|
585
602
|
* Prefix of the values of the slices.
|
|
586
603
|
*/
|
|
587
604
|
get valuePrefix() {
|
|
588
|
-
return
|
|
605
|
+
return Ie(this._config);
|
|
589
606
|
}
|
|
590
607
|
set valuePrefix(e) {
|
|
591
|
-
|
|
608
|
+
Ve(e, this._config);
|
|
592
609
|
}
|
|
593
610
|
/**
|
|
594
611
|
* Suffix of the values of the slice.
|
|
595
612
|
*/
|
|
596
613
|
get valueSuffix() {
|
|
597
|
-
return
|
|
614
|
+
return xe(this._config);
|
|
598
615
|
}
|
|
599
616
|
set valueSuffix(e) {
|
|
600
|
-
|
|
617
|
+
Ne(e, this._config);
|
|
601
618
|
}
|
|
602
619
|
/**
|
|
603
620
|
* Prefix of the percentages of the slices.
|
|
604
621
|
*/
|
|
605
622
|
get percentagePrefix() {
|
|
606
|
-
return
|
|
623
|
+
return Fe(this._config);
|
|
607
624
|
}
|
|
608
625
|
set percentagePrefix(e) {
|
|
609
|
-
|
|
626
|
+
Me(e, this._config);
|
|
610
627
|
}
|
|
611
628
|
/**
|
|
612
629
|
* Suffix of the percentages of the slices.
|
|
613
630
|
*/
|
|
614
631
|
get percentageSuffix() {
|
|
615
|
-
return
|
|
632
|
+
return Ae(this._config);
|
|
616
633
|
}
|
|
617
634
|
set percentageSuffix(e) {
|
|
618
|
-
|
|
635
|
+
We(e, this._config);
|
|
619
636
|
}
|
|
620
637
|
/**
|
|
621
638
|
* Offset for the data labels.
|
|
622
639
|
*/
|
|
623
640
|
get dataLabelsOffset() {
|
|
624
|
-
return
|
|
641
|
+
return Re(this._config);
|
|
625
642
|
}
|
|
626
643
|
set dataLabelsOffset(e) {
|
|
627
|
-
|
|
644
|
+
je(e, this._config);
|
|
628
645
|
}
|
|
629
646
|
/**
|
|
630
647
|
* Align the data labels on the left or right side of the chart instead of the default position around the chart.
|
|
631
648
|
*/
|
|
632
649
|
get alignDataLabels() {
|
|
633
|
-
return
|
|
650
|
+
return Ge(this._config);
|
|
634
651
|
}
|
|
635
652
|
set alignDataLabels(e) {
|
|
636
|
-
|
|
653
|
+
ze(e, this._config);
|
|
637
654
|
}
|
|
638
655
|
/**
|
|
639
656
|
* Setting for placing the data labels inside of the slices.
|
|
640
657
|
*/
|
|
641
658
|
get dataLabelsInside() {
|
|
642
|
-
return
|
|
659
|
+
return Be(this._config);
|
|
643
660
|
}
|
|
644
661
|
set dataLabelsInside(e) {
|
|
645
|
-
|
|
662
|
+
Ee(e, this._config);
|
|
646
663
|
}
|
|
647
664
|
/**
|
|
648
665
|
* Optimize data labels overlapping setting for the pie chart.
|
|
649
666
|
*/
|
|
650
667
|
get optimizeDataLabelsOverlapping() {
|
|
651
|
-
return
|
|
668
|
+
return $e(this._config);
|
|
652
669
|
}
|
|
653
670
|
set optimizeDataLabelsOverlapping(e) {
|
|
654
|
-
|
|
671
|
+
Xe(e, this._config);
|
|
655
672
|
}
|
|
656
673
|
// ---------------------------------------------------------------------------------------------
|
|
657
674
|
// #region General Props
|
|
@@ -660,7 +677,7 @@ class r extends G {
|
|
|
660
677
|
* Generate the proper chart title given the current config.
|
|
661
678
|
*/
|
|
662
679
|
generateChartTitle() {
|
|
663
|
-
return
|
|
680
|
+
return ee({
|
|
664
681
|
config: this._config,
|
|
665
682
|
layerInfo: this.layerInfo,
|
|
666
683
|
commonStrings: this.commonStrings,
|
|
@@ -668,119 +685,119 @@ class r extends G {
|
|
|
668
685
|
});
|
|
669
686
|
}
|
|
670
687
|
}
|
|
671
|
-
|
|
688
|
+
o([
|
|
672
689
|
s
|
|
673
|
-
],
|
|
674
|
-
|
|
690
|
+
], a.prototype, "category");
|
|
691
|
+
o([
|
|
675
692
|
s
|
|
676
|
-
],
|
|
677
|
-
|
|
693
|
+
], a.prototype, "numericFields");
|
|
694
|
+
o([
|
|
678
695
|
s
|
|
679
|
-
],
|
|
680
|
-
|
|
696
|
+
], a.prototype, "aggregationType");
|
|
697
|
+
o([
|
|
681
698
|
s
|
|
682
|
-
],
|
|
683
|
-
|
|
699
|
+
], a.prototype, "setSortOrder");
|
|
700
|
+
o([
|
|
684
701
|
s
|
|
685
|
-
],
|
|
686
|
-
|
|
702
|
+
], a.prototype, "orderByList");
|
|
703
|
+
o([
|
|
687
704
|
s
|
|
688
|
-
],
|
|
689
|
-
|
|
705
|
+
], a.prototype, "mode");
|
|
706
|
+
o([
|
|
690
707
|
s
|
|
691
|
-
],
|
|
692
|
-
|
|
708
|
+
], a.prototype, "moveCustomSortValuesInOrderByList");
|
|
709
|
+
o([
|
|
693
710
|
s
|
|
694
|
-
],
|
|
695
|
-
|
|
711
|
+
], a.prototype, "ticksSymbol");
|
|
712
|
+
o([
|
|
696
713
|
s
|
|
697
|
-
],
|
|
698
|
-
|
|
714
|
+
], a.prototype, "slices");
|
|
715
|
+
o([
|
|
699
716
|
s
|
|
700
|
-
],
|
|
701
|
-
|
|
717
|
+
], a.prototype, "groupedSliceIds");
|
|
718
|
+
o([
|
|
702
719
|
s
|
|
703
|
-
],
|
|
704
|
-
|
|
720
|
+
], a.prototype, "sliceGrouping");
|
|
721
|
+
o([
|
|
705
722
|
s
|
|
706
|
-
],
|
|
707
|
-
|
|
723
|
+
], a.prototype, "innerRadiusSize");
|
|
724
|
+
o([
|
|
708
725
|
s
|
|
709
|
-
],
|
|
710
|
-
|
|
726
|
+
], a.prototype, "groupingThreshold");
|
|
727
|
+
o([
|
|
711
728
|
s
|
|
712
|
-
],
|
|
713
|
-
|
|
729
|
+
], a.prototype, "labelCharacterLimit");
|
|
730
|
+
o([
|
|
714
731
|
s
|
|
715
|
-
],
|
|
716
|
-
|
|
732
|
+
], a.prototype, "decimalPlaces");
|
|
733
|
+
o([
|
|
717
734
|
s
|
|
718
|
-
],
|
|
719
|
-
|
|
735
|
+
], a.prototype, "displayType");
|
|
736
|
+
o([
|
|
720
737
|
s
|
|
721
|
-
],
|
|
722
|
-
|
|
738
|
+
], a.prototype, "setSliceName");
|
|
739
|
+
o([
|
|
723
740
|
s
|
|
724
|
-
],
|
|
725
|
-
|
|
741
|
+
], a.prototype, "setSliceColor");
|
|
742
|
+
o([
|
|
726
743
|
s
|
|
727
|
-
],
|
|
728
|
-
|
|
744
|
+
], a.prototype, "orderOfSlices");
|
|
745
|
+
o([
|
|
729
746
|
s
|
|
730
|
-
],
|
|
731
|
-
|
|
747
|
+
], a.prototype, "moveSeries");
|
|
748
|
+
o([
|
|
732
749
|
s
|
|
733
|
-
],
|
|
734
|
-
|
|
750
|
+
], a.prototype, "resetSlices");
|
|
751
|
+
o([
|
|
735
752
|
s
|
|
736
|
-
],
|
|
737
|
-
|
|
753
|
+
], a.prototype, "ticksVisibility");
|
|
754
|
+
o([
|
|
738
755
|
s
|
|
739
|
-
],
|
|
740
|
-
|
|
756
|
+
], a.prototype, "startAngle");
|
|
757
|
+
o([
|
|
741
758
|
s
|
|
742
|
-
],
|
|
743
|
-
|
|
759
|
+
], a.prototype, "endAngle");
|
|
760
|
+
o([
|
|
744
761
|
s
|
|
745
|
-
],
|
|
746
|
-
|
|
762
|
+
], a.prototype, "displayCategoryValueOnTooltip");
|
|
763
|
+
o([
|
|
747
764
|
s
|
|
748
|
-
],
|
|
749
|
-
|
|
765
|
+
], a.prototype, "displayNumericValueOnTooltip");
|
|
766
|
+
o([
|
|
750
767
|
s
|
|
751
|
-
],
|
|
752
|
-
|
|
768
|
+
], a.prototype, "displayPercentageOnTooltip");
|
|
769
|
+
o([
|
|
753
770
|
s
|
|
754
|
-
],
|
|
755
|
-
|
|
771
|
+
], a.prototype, "valuePrefix");
|
|
772
|
+
o([
|
|
756
773
|
s
|
|
757
|
-
],
|
|
758
|
-
|
|
774
|
+
], a.prototype, "valueSuffix");
|
|
775
|
+
o([
|
|
759
776
|
s
|
|
760
|
-
],
|
|
761
|
-
|
|
777
|
+
], a.prototype, "percentagePrefix");
|
|
778
|
+
o([
|
|
762
779
|
s
|
|
763
|
-
],
|
|
764
|
-
|
|
780
|
+
], a.prototype, "percentageSuffix");
|
|
781
|
+
o([
|
|
765
782
|
s
|
|
766
|
-
],
|
|
767
|
-
|
|
783
|
+
], a.prototype, "dataLabelsOffset");
|
|
784
|
+
o([
|
|
768
785
|
s
|
|
769
|
-
],
|
|
770
|
-
|
|
786
|
+
], a.prototype, "alignDataLabels");
|
|
787
|
+
o([
|
|
771
788
|
s
|
|
772
|
-
],
|
|
773
|
-
|
|
789
|
+
], a.prototype, "dataLabelsInside");
|
|
790
|
+
o([
|
|
774
791
|
s
|
|
775
|
-
],
|
|
776
|
-
const
|
|
792
|
+
], a.prototype, "optimizeDataLabelsOverlapping");
|
|
793
|
+
const ut = [
|
|
777
794
|
u,
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
795
|
+
R,
|
|
796
|
+
j,
|
|
797
|
+
U,
|
|
798
|
+
K
|
|
782
799
|
];
|
|
783
|
-
|
|
800
|
+
N(a, ut);
|
|
784
801
|
export {
|
|
785
|
-
|
|
802
|
+
a as PieChartModel
|
|
786
803
|
};
|