@arcgis/charts-components 5.0.0-next.95 → 5.0.0-next.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{PBES7KJV.js → 22QFEJPI.js} +2 -2
- package/dist/cdn/{NXQU6WDO.js → 27JNJZ7Q.js} +2 -2
- package/dist/cdn/{FBNPT3R2.js → 2MOGAMLI.js} +2 -2
- package/dist/cdn/{GRK5KEDN.js → 2XMRSBWP.js} +2 -2
- package/dist/cdn/{OCYY3ENP.js → 2XRKTN3Y.js} +2 -2
- package/dist/cdn/{6KXDY6VO.js → 2YQEVD3Q.js} +2 -2
- package/dist/cdn/{RMPPHAX6.js → 36GEL7CB.js} +2 -2
- package/dist/cdn/{TKIO4RS5.js → 37JCH3CS.js} +2 -2
- package/dist/cdn/{CYRU4PW4.js → 3FAS3A46.js} +1 -1
- package/dist/cdn/{MXYJ6FWV.js → 3LUYLYR5.js} +2 -2
- package/dist/cdn/44AN3TFK.js +4 -0
- package/dist/cdn/{QOCCPFDD.js → 4CVFBKNX.js} +2 -2
- package/dist/cdn/{QZPIIFHR.js → 4JB7TTOL.js} +2 -2
- package/dist/cdn/{6LY4SGMV.js → 5BA57IIE.js} +2 -2
- package/dist/cdn/{LRLMQDL4.js → 5KIA6XGC.js} +2 -2
- package/dist/cdn/{RCQABJRK.js → 5LKW6DJR.js} +2 -2
- package/dist/cdn/5NS6BDKU.js +4 -0
- package/dist/cdn/{5MVKC6KT.js → 5UZFT4EK.js} +2 -2
- package/dist/cdn/{FEMKQIPY.js → 5X2P75J3.js} +2 -2
- package/dist/cdn/{2AT5CXML.js → 6KZUDHTC.js} +2 -2
- package/dist/cdn/{DGN3EPEE.js → 6UCIOG2X.js} +2 -2
- package/dist/cdn/{LH73YVJS.js → 6WN7XL5Y.js} +2 -2
- package/dist/cdn/{DDUYPXO7.js → 6ZEVBUQ4.js} +2 -2
- package/dist/cdn/{5WOG5IXE.js → 723XDJUL.js} +2 -2
- package/dist/cdn/75HRBXSP.js +4 -0
- package/dist/cdn/{CCHR4SXS.js → 7JN3XFI2.js} +2 -2
- package/dist/cdn/{6E2BK7XD.js → 7LHWJDRF.js} +2 -2
- package/dist/cdn/{DRASWFNL.js → 7MUFVTWB.js} +2 -2
- package/dist/cdn/{6QGB6CNU.js → 7VV6GUP2.js} +2 -2
- package/dist/cdn/{ETSRCIJZ.js → 7WQKES6W.js} +2 -2
- package/dist/cdn/{TDT42C32.js → A7763SCU.js} +2 -2
- package/dist/cdn/{ICUHGE5P.js → AGWLVZCB.js} +2 -2
- package/dist/cdn/{CN4QI5DW.js → AJHLBSFG.js} +2 -2
- package/dist/cdn/AKRSATY4.js +4 -0
- package/dist/cdn/{FSXRX22X.js → AOYHWCE3.js} +2 -2
- package/dist/cdn/{ILNOIDRA.js → ARIWY2VN.js} +1 -1
- package/dist/cdn/{7KYP25C7.js → ARRF5I6E.js} +2 -2
- package/dist/cdn/{MKU65OMH.js → ARTUIY2V.js} +2 -2
- package/dist/cdn/{JSYR5WBK.js → AT4UYXDM.js} +2 -2
- package/dist/cdn/{2HVLZAVA.js → AUHJJXRP.js} +2 -2
- package/dist/cdn/{A2BUNFWH.js → AXP6EDF7.js} +2 -2
- package/dist/cdn/{FCLAIWLU.js → B5TQLCK5.js} +2 -2
- package/dist/cdn/{EO2ZIKVX.js → B5WSX2AG.js} +2 -2
- package/dist/cdn/{YIQ3P5CE.js → BBUOJAGA.js} +2 -2
- package/dist/cdn/{YGFUCXSL.js → BBXD7THE.js} +2 -2
- package/dist/cdn/{A7OA6AX3.js → BNDPMG3E.js} +2 -2
- package/dist/cdn/{S3ZXRBWL.js → BNEUBUMM.js} +2 -2
- package/dist/cdn/{2NB2ZD2M.js → BPL2SVYC.js} +2 -2
- package/dist/cdn/{KR4T4Y3S.js → C5T6NZXY.js} +19 -19
- package/dist/cdn/{BE5NVGCO.js → CGL3UB4G.js} +2 -2
- package/dist/cdn/{E4E2AHAC.js → CT7ROV26.js} +2 -2
- package/dist/cdn/DUSJV4SY.js +4 -0
- package/dist/cdn/{GD6IOMHI.js → EKDPKI7P.js} +2 -2
- package/dist/cdn/{ZCBGIPOA.js → EMZDOBXG.js} +2 -2
- package/dist/cdn/EZJM67KF.js +4 -0
- package/dist/cdn/{O2AVILXY.js → FBXSBUI3.js} +2 -2
- package/dist/cdn/{2XGQZS35.js → FF7AIMFV.js} +2 -2
- package/dist/cdn/FH3RKYES.js +6 -0
- package/dist/cdn/{7FIQFVGV.js → FHIK3K67.js} +2 -2
- package/dist/cdn/{ZXNOBLDR.js → FICTIWYH.js} +2 -2
- package/dist/cdn/{OGSIMNA2.js → FM2IU3YA.js} +2 -2
- package/dist/cdn/{NXMJALWN.js → FMOKFEAC.js} +2 -2
- package/dist/cdn/{WXO3KF4G.js → FVMLEMTG.js} +2 -2
- package/dist/cdn/{2AT2NTSM.js → FYAI6NE7.js} +2 -2
- package/dist/cdn/{2QUYHYCL.js → G7244N3Y.js} +2 -2
- package/dist/cdn/{YVTAXJO3.js → GBWCSWW5.js} +2 -2
- package/dist/cdn/{JAQKVJAV.js → GHNQKP66.js} +2 -2
- package/dist/cdn/{2AXQTRR6.js → GL4AQ53F.js} +2 -2
- package/dist/cdn/{S7HYI6E2.js → GLW26VHU.js} +1 -1
- package/dist/cdn/{3DEBO4ZF.js → GREP3I76.js} +2 -2
- package/dist/cdn/{JP4AZXGN.js → GXT46PZF.js} +2 -2
- package/dist/cdn/{VKBTTYO5.js → H3R6WRSB.js} +2 -2
- package/dist/cdn/{I5BRH2HS.js → HD7C7RAE.js} +2 -2
- package/dist/cdn/{4MP7AXON.js → HD7YHFNE.js} +2 -2
- package/dist/cdn/{BZAPLCLY.js → HK574X7Q.js} +2 -2
- package/dist/cdn/{52DPUNFV.js → HNFLPM3A.js} +2 -2
- package/dist/cdn/{NVFHALIZ.js → HZNEYEHU.js} +2 -2
- package/dist/cdn/{TFBLKM5T.js → I7XBYEBI.js} +2 -2
- package/dist/cdn/{QZOLXZW3.js → IF5P5LQA.js} +2 -2
- package/dist/cdn/{YUKL6ZVO.js → ITGRRIT7.js} +2 -2
- package/dist/cdn/{SSF67IIC.js → JDEB5B5S.js} +2 -2
- package/dist/cdn/{PM2KECI3.js → JHNMEXZH.js} +4 -4
- package/dist/cdn/{3DURBMIB.js → JHVVJBV5.js} +2 -2
- package/dist/cdn/{OOLHRTQV.js → JJGLPHGS.js} +2 -2
- package/dist/cdn/{CTVWIUU3.js → JKLGH7F5.js} +2 -2
- package/dist/cdn/{CLT4X3CT.js → JKYLINLZ.js} +2 -2
- package/dist/cdn/{JUVXEYMF.js → JQKOQDY6.js} +2 -2
- package/dist/cdn/{QT7LN6GU.js → JWNFWI7H.js} +2 -2
- package/dist/cdn/{EXWUUI7R.js → JYMB7C4F.js} +2 -2
- package/dist/cdn/{AVTGNMLC.js → KDOQCQ34.js} +2 -2
- package/dist/cdn/{ZWJX7UID.js → KJ3NLW3E.js} +2 -2
- package/dist/cdn/{P4BNXOUG.js → KOXGYIAZ.js} +2 -2
- package/dist/cdn/{RH6QZW4G.js → KRZYAN3V.js} +2 -2
- package/dist/cdn/KWRG5HEJ.js +4 -0
- package/dist/cdn/{GXPUYG7M.js → KY4T7IXE.js} +2 -2
- package/dist/cdn/{VPI5TQZ6.js → KYBF46OK.js} +2 -2
- package/dist/cdn/{ENVBX2VU.js → L35FLLM7.js} +2 -2
- package/dist/cdn/{LCDM6SDR.js → L5C3U6ZV.js} +2 -2
- package/dist/cdn/{BKDQECQL.js → LDXGIWXK.js} +1 -1
- package/dist/cdn/{GRA5RWJ6.js → LEPHI4I2.js} +2 -2
- package/dist/cdn/LEU2PVKB.js +4 -0
- package/dist/cdn/{Z4R32OLN.js → LJOBHYBD.js} +2 -2
- package/dist/cdn/{GLHMVT7Z.js → LKVK7PJR.js} +2 -2
- package/dist/cdn/{AYAL7O7F.js → LPL3GZEO.js} +1 -1
- package/dist/cdn/{AIXBBCJM.js → LRBSJQCC.js} +2 -2
- package/dist/cdn/{7JVE6TV7.js → LT7J4XJL.js} +2 -2
- package/dist/cdn/{ZVVB3QLU.js → LUHJVXHF.js} +2 -2
- package/dist/cdn/{J3UV2BUP.js → M3QAYWRW.js} +2 -2
- package/dist/cdn/{I66JKUUO.js → ME4TZRQC.js} +2 -2
- package/dist/cdn/{7PXOPL6H.js → MHAE2VEU.js} +2 -2
- package/dist/cdn/{GZ23QWUB.js → N3WQHYQI.js} +2 -2
- package/dist/cdn/{JNQRDAUL.js → N5VNEYPY.js} +2 -2
- package/dist/cdn/{2MVNJVDK.js → NLB2IMW7.js} +2 -2
- package/dist/cdn/{72E2P4JL.js → NLX3FYW6.js} +2 -2
- package/dist/cdn/{NBTFLAPJ.js → NZSDER7C.js} +2 -2
- package/dist/cdn/{6CGID26Y.js → OHOGQDLF.js} +2 -2
- package/dist/cdn/{2H7WFCBR.js → OL2PNOLU.js} +2 -2
- package/dist/cdn/{SRE6MFDD.js → ONBNR4F5.js} +2 -2
- package/dist/cdn/{EKKBBQRZ.js → OZHE3EKP.js} +2 -2
- package/dist/cdn/{PYEBXUDI.js → P4GE27KF.js} +2 -2
- package/dist/cdn/{HIU55FMQ.js → P6CREH7G.js} +2 -2
- package/dist/cdn/PDDB5NXV.js +4 -0
- package/dist/cdn/{YSBYYWIU.js → PHGPFRJE.js} +2 -2
- package/dist/cdn/{ROMT4IIU.js → PJ5CI37X.js} +2 -2
- package/dist/cdn/{LQDF5AYK.js → PORHLDKY.js} +2 -2
- package/dist/cdn/{NK74CVGA.js → PPA7TE7H.js} +2 -2
- package/dist/cdn/{75XMHL4N.js → PQSDY4PG.js} +2 -2
- package/dist/cdn/{KDARGE6Y.js → QC43CPPW.js} +2 -2
- package/dist/cdn/{XG7YGEV3.js → QOL23WU4.js} +2 -2
- package/dist/cdn/{AOOKZT7H.js → QPPXJHCQ.js} +1 -1
- package/dist/cdn/{4TM3YXGN.js → QQIUN5EO.js} +2 -2
- package/dist/cdn/{OQU2OZGX.js → QU627C33.js} +2 -2
- package/dist/cdn/{WGXHSQVD.js → R2AWUSZ4.js} +2 -2
- package/dist/cdn/{STVUOY7J.js → R5IJA7HR.js} +2 -2
- package/dist/cdn/{DQJ3K63P.js → RBWIALK7.js} +2 -2
- package/dist/cdn/{CPG7P6DA.js → RJ4FLOZJ.js} +2 -2
- package/dist/cdn/{22RUO5QM.js → SA7Z42NE.js} +2 -2
- package/dist/cdn/{DBVXN2ND.js → SMVZIH3T.js} +2 -2
- package/dist/cdn/{A3A45RF2.js → SQSEZ5NI.js} +2 -2
- package/dist/cdn/SWOY7XLR.js +4 -0
- package/dist/cdn/{BPM55KEB.js → TFMDZ6A3.js} +2 -2
- package/dist/cdn/{OFIYGR2T.js → TLVYYLOH.js} +2 -2
- package/dist/cdn/TPSKM3JN.js +4 -0
- package/dist/cdn/{SKCWLPKQ.js → TUEDLEDX.js} +2 -2
- package/dist/cdn/{AKMDQKGJ.js → U5WAKEXX.js} +2 -2
- package/dist/cdn/{A4A4O65V.js → UBU3NQNA.js} +2 -2
- package/dist/cdn/{MVGDITUS.js → UKOU7QIL.js} +2 -2
- package/dist/cdn/{L72HQEV6.js → USAWUPVB.js} +2 -2
- package/dist/cdn/UTMH7GGN.js +4 -0
- package/dist/cdn/{EHTW2FIB.js → V3WQMCAL.js} +1 -1
- package/dist/cdn/{QXDHQUSY.js → V4BJFJP3.js} +2 -2
- package/dist/cdn/{4VGD4QUP.js → VCF7UWAK.js} +2 -2
- package/dist/cdn/{R745W535.js → VPUEQKRY.js} +2 -2
- package/dist/cdn/{SE7W5ZXY.js → VX4OMPXZ.js} +2 -2
- package/dist/cdn/{KDAEP5SZ.js → W2D324T2.js} +1 -1
- package/dist/cdn/{TPNAZEBR.js → WFUZQHOT.js} +2 -2
- package/dist/cdn/{WFFAD5NY.js → WGBBT5K5.js} +2 -2
- package/dist/cdn/{4GGRXMIC.js → WOH5HOJO.js} +2 -2
- package/dist/cdn/{MKPV3A7B.js → WTPCP3HC.js} +2 -2
- package/dist/cdn/{YSMP7WQO.js → WXDQTREJ.js} +2 -2
- package/dist/cdn/XHXQ43AJ.js +4 -0
- package/dist/cdn/{R6C32HLN.js → XL53PBR5.js} +2 -2
- package/dist/cdn/{P4LMQA3G.js → Y4ZSXUF5.js} +2 -2
- package/dist/cdn/{44JOO6TE.js → Y5VCIBPN.js} +2 -2
- package/dist/cdn/{3FVT6NBN.js → YBUBCSRF.js} +2 -2
- package/dist/cdn/{TFMFWRPO.js → YHKJJ7SM.js} +2 -2
- package/dist/cdn/{HCTPDPYJ.js → YN7EPTD6.js} +2 -2
- package/dist/cdn/{3HXI5RF3.js → YNHURCA3.js} +2 -2
- package/dist/cdn/YS3OSJ5V.js +4 -0
- package/dist/cdn/{O2XHPHTT.js → YYRRSDUP.js} +2 -2
- package/dist/cdn/{ANDV62IN.js → ZCB4X3SU.js} +2 -2
- package/dist/cdn/{WPDCWS4C.js → ZHLTZRMH.js} +2 -2
- package/dist/cdn/{FMRSYH3K.js → ZO7JIBXS.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/data/scatter-plot/aggregation/index.d.ts +1 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/index.d.ts +1 -1
- package/dist/chart-rendering/common/tooltips/index.d.ts +1 -1
- package/dist/chunks/action-bar-utils.js +7 -7
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +43 -43
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +20 -20
- package/dist/chunks/box-plot-model.js +6 -6
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +2 -2
- package/dist/chunks/combo-bar-line-chart-model.js +48 -48
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +56 -56
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +62 -62
- package/dist/chunks/heat-chart-model.js +39 -39
- package/dist/chunks/histogram-data.js +2 -2
- package/dist/chunks/histogram-model.js +5 -5
- package/dist/chunks/index.js +3607 -3575
- package/dist/chunks/index2.js +11 -11
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/line-chart-model.js +29 -29
- package/dist/chunks/model-with-multi-axes.js +317 -317
- package/dist/chunks/pie-chart-data.js +86 -86
- package/dist/chunks/pie-chart-model.js +108 -108
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +33 -33
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +11 -11
- package/dist/chunks/serial-chart-data.js +600 -600
- package/dist/chunks/serial-chart-model.js +35 -35
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +198 -198
- package/dist/components/arcgis-chart/customElement.js +3245 -3239
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +15 -15
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +15 -15
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +14 -14
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +276 -275
- package/dist/loader.js +1 -1
- package/dist/model/shared/data.d.ts +1 -1
- package/dist/model/shared/model-types.d.ts +1 -1
- package/dist/model/shared/utils.d.ts +1 -1
- package/dist/model.js +1 -1
- package/dist/utils/data/categorical-data/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +20 -6
- package/package.json +3 -3
- package/dist/cdn/2AH5GNWY.js +0 -4
- package/dist/cdn/4KUONF33.js +0 -4
- package/dist/cdn/AD243MGT.js +0 -4
- package/dist/cdn/E5QNENEM.js +0 -4
- package/dist/cdn/IYT4CQN3.js +0 -4
- package/dist/cdn/KMQRTATD.js +0 -4
- package/dist/cdn/LD5JNWSF.js +0 -6
- package/dist/cdn/N3ZEPV4D.js +0 -4
- package/dist/cdn/OYKJFTLR.js +0 -4
- package/dist/cdn/RIH3PD2M.js +0 -4
- package/dist/cdn/TNV3FCRP.js +0 -4
- package/dist/cdn/V4JE7OF6.js +0 -4
- package/dist/cdn/V6Z5C5JF.js +0 -4
- package/dist/cdn/WLKGBQGL.js +0 -4
- package/dist/cdn/XPN7YV7T.js +0 -4
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { log as
|
|
1
|
+
import { log as F } from "@arcgis/toolkit/log";
|
|
2
2
|
import { W as p } from "./series-types.js";
|
|
3
3
|
import "@arcgis/toolkit/intl";
|
|
4
|
-
import { cloneDeep as
|
|
4
|
+
import { cloneDeep as M } from "lodash-es";
|
|
5
5
|
import "d3-array";
|
|
6
|
-
import { aQ as d, b8 as v, aM as S, aw as P, p as _,
|
|
6
|
+
import { aQ as d, b8 as v, aM as S, aw as P, p as _, de as f, _ as w, bh as A, ba as W, bJ as G } from "./index.js";
|
|
7
7
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
8
8
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
9
9
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -13,9 +13,9 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
13
13
|
import "@arcgis/core/request.js";
|
|
14
14
|
import "./runtime.js";
|
|
15
15
|
import "@arcgis/toolkit/dom";
|
|
16
|
-
import { u as T, m as s, C as
|
|
16
|
+
import { u as T, m as s, C as k, v as z, w as B, y as R } from "./model-with-multi-axes.js";
|
|
17
17
|
import { b as c, a as h } from "./common.js";
|
|
18
|
-
import { d as V, e as
|
|
18
|
+
import { d as V, e as E, Z as j } from "./serial-chart-data.js";
|
|
19
19
|
import "@arcgis/core/Graphic.js";
|
|
20
20
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
21
21
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -25,26 +25,26 @@ import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
|
25
25
|
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
26
26
|
import "simple-statistics";
|
|
27
27
|
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
28
|
-
import { g as b, s as
|
|
28
|
+
import { g as b, s as U, a as K, c as $, b as J, d as Q, e as Z, f as q, h as O, i as L, j as H } from "./pie-chart-data.js";
|
|
29
29
|
import { R as y } from "./rest-js-object-literals.js";
|
|
30
30
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
31
31
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
32
|
-
v5.0.0-next.
|
|
33
|
-
const
|
|
32
|
+
v5.0.0-next.96 */
|
|
33
|
+
const X = (t) => t.legend?.displayNumericValue ?? !1, Y = (t, e) => {
|
|
34
34
|
e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.displayNumericValue = t);
|
|
35
|
-
},
|
|
35
|
+
}, ee = (t) => t.legend?.displayCategory ?? !1, te = (t, e) => {
|
|
36
36
|
e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.displayCategory = t);
|
|
37
|
-
},
|
|
37
|
+
}, ie = (t) => t.legend?.displayPercentage ?? !1, se = (t, e) => {
|
|
38
38
|
e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.displayPercentage = t);
|
|
39
|
-
},
|
|
39
|
+
}, re = (t) => t.legend?.labelMaxWidth ?? 200, ae = (t, e) => {
|
|
40
40
|
e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.labelMaxWidth = t);
|
|
41
|
-
},
|
|
41
|
+
}, oe = (t) => t.legend?.valueLabelMaxWidth ?? 200, le = (t, e) => {
|
|
42
42
|
e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.valueLabelMaxWidth = t);
|
|
43
43
|
};
|
|
44
|
-
var
|
|
45
|
-
for (var l =
|
|
44
|
+
var ne = Object.defineProperty, ge = Object.getOwnPropertyDescriptor, m = (t, e, i, o) => {
|
|
45
|
+
for (var l = ge(e, i), n = t.length - 1, g; n >= 0; n--)
|
|
46
46
|
(g = t[n]) && (l = g(e, i, l) || l);
|
|
47
|
-
return l &&
|
|
47
|
+
return l && ne(e, i, l), l;
|
|
48
48
|
};
|
|
49
49
|
class u extends T {
|
|
50
50
|
/**
|
|
@@ -53,10 +53,10 @@ class u extends T {
|
|
|
53
53
|
* **Note**: This setting is only applicable to pie charts.
|
|
54
54
|
*/
|
|
55
55
|
getDisplayNumericValue() {
|
|
56
|
-
return
|
|
56
|
+
return X(this._config);
|
|
57
57
|
}
|
|
58
58
|
setDisplayNumericValue(e) {
|
|
59
|
-
|
|
59
|
+
Y(e, this._config);
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
62
|
* Gets the setting for the display of percentage in the legend items.
|
|
@@ -64,10 +64,10 @@ class u extends T {
|
|
|
64
64
|
* **Note**: This setting is only applicable to pie charts.
|
|
65
65
|
*/
|
|
66
66
|
getDisplayPercentage() {
|
|
67
|
-
return
|
|
67
|
+
return ie(this._config);
|
|
68
68
|
}
|
|
69
69
|
setDisplayPercentage(e) {
|
|
70
|
-
|
|
70
|
+
se(e, this._config);
|
|
71
71
|
}
|
|
72
72
|
/**
|
|
73
73
|
* Gets the maximum width in pixel for the legend item labels.
|
|
@@ -75,29 +75,29 @@ class u extends T {
|
|
|
75
75
|
* **Note**: This setting is only applicable to pie charts.
|
|
76
76
|
*/
|
|
77
77
|
getLabelMaxWidth() {
|
|
78
|
-
return
|
|
78
|
+
return re(this._config);
|
|
79
79
|
}
|
|
80
80
|
setLabelMaxWidth(e) {
|
|
81
|
-
|
|
81
|
+
ae(e, this._config);
|
|
82
82
|
}
|
|
83
83
|
/**
|
|
84
84
|
* The maximum width in pixel for the legend value labels.
|
|
85
85
|
* @returns {number}
|
|
86
86
|
*/
|
|
87
87
|
get valueLabelMaxWidth() {
|
|
88
|
-
return
|
|
88
|
+
return oe(this._config);
|
|
89
89
|
}
|
|
90
90
|
set valueLabelMaxWidth(e) {
|
|
91
|
-
|
|
91
|
+
le(e, this._config), this.emitConfigUpdate("valueLabelMaxWidth");
|
|
92
92
|
}
|
|
93
93
|
/**
|
|
94
94
|
* Whether to display the category in the legend.
|
|
95
95
|
*/
|
|
96
96
|
get displayCategory() {
|
|
97
|
-
return
|
|
97
|
+
return ee(this._config);
|
|
98
98
|
}
|
|
99
99
|
set displayCategory(e) {
|
|
100
|
-
|
|
100
|
+
te(e, this._config), this.emitConfigUpdate("displayCategory");
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
m([
|
|
@@ -110,50 +110,50 @@ m([
|
|
|
110
110
|
s
|
|
111
111
|
], u.prototype, "setLabelMaxWidth");
|
|
112
112
|
V(u, [T]);
|
|
113
|
-
const
|
|
113
|
+
const ce = (t) => t.series?.[0]?.innerRadius, pe = (t, e) => {
|
|
114
114
|
e.series?.[0] && (e.series[0].innerRadius = t);
|
|
115
|
-
},
|
|
115
|
+
}, de = (t) => t.series?.[0]?.dataLabelsCharacterLimit, ue = (t, e) => {
|
|
116
116
|
e.series?.[0] && (e.series[0].dataLabelsCharacterLimit = t);
|
|
117
|
-
}, D = (t) => t.series[0]?.startAngle,
|
|
117
|
+
}, D = (t) => t.series[0]?.startAngle, fe = (t, e) => {
|
|
118
118
|
e.series?.[0] && (e.series[0].startAngle = t);
|
|
119
|
-
},
|
|
119
|
+
}, he = (t, e) => {
|
|
120
120
|
e.series?.[0] && (e.series[0].endAngle = t);
|
|
121
|
-
},
|
|
121
|
+
}, ye = (t) => t.series?.[0]?.displayCategoryOnTooltip ?? !0, me = (t) => t.series?.[0]?.displayCategoryOnDataLabel ?? !0, Se = (t) => t.series?.[0]?.displayNumericValueOnDataLabel ?? !0, _e = (t) => t.series?.[0]?.displayPercentageOnDataLabel ?? !1, be = (t) => t.series?.[0]?.displayNumericValueOnTooltip ?? !0, Oe = (t) => t.series?.[0]?.displayPercentageOnTooltip ?? !0, Le = (t, e) => {
|
|
122
122
|
e.series[0] && (e.series[0].displayPercentageOnTooltip = t);
|
|
123
|
-
},
|
|
123
|
+
}, De = (t) => t.series?.[0]?.valuePrefix, Ce = (t, e) => {
|
|
124
124
|
e.series?.[0] && (e.series[0].valuePrefix = t);
|
|
125
|
-
},
|
|
125
|
+
}, ve = (t) => t.series?.[0]?.valueSuffix, Pe = (t, e) => {
|
|
126
126
|
e.series?.[0] && (e.series[0].valueSuffix = t);
|
|
127
|
-
},
|
|
127
|
+
}, Te = (t) => t.series?.[0]?.percentagePrefix, Ve = (t, e) => {
|
|
128
128
|
e.series?.[0] && (e.series[0].percentagePrefix = t);
|
|
129
|
-
},
|
|
129
|
+
}, xe = (t) => t.series?.[0]?.percentageSuffix, Ie = (t, e) => {
|
|
130
130
|
e.series?.[0] && (e.series[0].percentageSuffix = t);
|
|
131
|
-
},
|
|
131
|
+
}, Ne = (t) => {
|
|
132
132
|
let e;
|
|
133
133
|
const i = t.series?.[0];
|
|
134
134
|
return i?.displayNumericValueOnDataLabel === !0 && i?.displayPercentageOnDataLabel === !0 ? e = c.Both : i?.displayNumericValueOnDataLabel === !0 ? e = c.Value : e = c.Percentage, e;
|
|
135
|
-
},
|
|
135
|
+
}, Fe = (t, e) => {
|
|
136
136
|
const i = t === c.Value || t === c.Both, o = t === c.Percentage || t === c.Both;
|
|
137
137
|
e.series?.[0] && (e.series[0].displayNumericValueOnDataLabel = i, e.series[0].displayPercentageOnDataLabel = o), e.legend && (e.legend = {
|
|
138
138
|
...e.legend,
|
|
139
139
|
displayNumericValue: i,
|
|
140
140
|
displayPercentage: o
|
|
141
141
|
});
|
|
142
|
-
}, Me = (t) => t.series?.[0]?.alignDataLabels ?? !1,
|
|
142
|
+
}, Me = (t) => t.series?.[0]?.alignDataLabels ?? !1, we = (t, e) => {
|
|
143
143
|
e.series[0] && (e.series[0].alignDataLabels = t);
|
|
144
|
-
},
|
|
144
|
+
}, Ae = (t) => t.series?.[0]?.dataLabelsInside ?? !1, We = (t, e) => {
|
|
145
145
|
e.series[0] && (e.series[0].dataLabelsInside = t);
|
|
146
|
-
},
|
|
146
|
+
}, Ge = (t) => t.series?.[0]?.dataLabelsOffset ?? 10, ke = (t, e) => {
|
|
147
147
|
e.series[0] && (e.series[0].dataLabelsOffset = t);
|
|
148
|
-
},
|
|
148
|
+
}, ze = (t) => t.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits, Be = (t, e) => {
|
|
149
149
|
e.series?.[0] && (e.series[0].numericValueFormat ??= S(), e.series[0].numericValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].numericValueFormat.intlOptions.maximumFractionDigits = t, e.series[0].percentValueFormat ??= S(), e.series[0].percentValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].percentValueFormat.intlOptions.maximumFractionDigits = t);
|
|
150
|
-
},
|
|
150
|
+
}, Re = (t) => t.series?.[0]?.optimizeDataLabelsOverlapping ?? !1, Ee = (t, e) => {
|
|
151
151
|
e.series[0] && (e.series[0].optimizeDataLabelsOverlapping = t);
|
|
152
|
-
},
|
|
152
|
+
}, je = (t) => t.series[0]?.ticks?.visible ?? !1, Ue = (t, e) => {
|
|
153
153
|
e.series?.[0] && (e.series[0].ticks ??= v(), e.series[0].ticks.visible = t);
|
|
154
|
-
},
|
|
155
|
-
t && e.series?.[0] && (e.series[0].ticks ??= v(), e.series[0].ticks.lineSymbol =
|
|
156
|
-
},
|
|
154
|
+
}, Ke = (t) => t.series[0]?.ticks?.lineSymbol, $e = (t, e) => {
|
|
155
|
+
t && e.series?.[0] && (e.series[0].ticks ??= v(), e.series[0].ticks.lineSymbol = M(t));
|
|
156
|
+
}, Je = (t, e) => e.series?.[0]?.slices?.[t]?.originalLabel, Qe = (t, e) => e.series?.[0]?.slices?.[t]?.label, Ze = (t, e, i) => {
|
|
157
157
|
i.series?.[0]?.slices?.[e] && (i.series[0].slices[e].label = t);
|
|
158
158
|
}, qe = (t, e) => e.series?.[0]?.slices?.[t]?.fillSymbol?.color, He = (t, e, i) => {
|
|
159
159
|
const o = i.series?.[0]?.slices?.[e]?.fillSymbol;
|
|
@@ -162,20 +162,20 @@ const ge = (t) => t.series?.[0]?.innerRadius, ce = (t, e) => {
|
|
|
162
162
|
color: t,
|
|
163
163
|
outline: { type: y.SLS, color: t }
|
|
164
164
|
});
|
|
165
|
-
},
|
|
165
|
+
}, Xe = (t) => t.series?.[0]?.slices?.map((e) => e.sliceId), C = (t, e) => {
|
|
166
166
|
e.series?.[0]?.slices?.sort(
|
|
167
167
|
(i, o) => t.findIndex((l) => i.sliceId === l) - t.findIndex((l) => o.sliceId === l)
|
|
168
168
|
);
|
|
169
|
-
},
|
|
169
|
+
}, Ye = (t) => t.series?.[0]?.sliceGrouping, x = (t, e) => {
|
|
170
170
|
e.series?.[0] && (e.series[0].sliceGrouping = t);
|
|
171
|
-
}, I = (t) => t.series?.[0]?.sliceGrouping?.percentageThreshold,
|
|
171
|
+
}, I = (t) => t.series?.[0]?.sliceGrouping?.percentageThreshold, et = (t, e) => {
|
|
172
172
|
e.series?.[0]?.sliceGrouping !== void 0 ? e.series[0].sliceGrouping.percentageThreshold = t : e.series[0].sliceGrouping = {
|
|
173
173
|
sliceId: P.defaultGroupOfSlicesId,
|
|
174
174
|
percentageThreshold: t
|
|
175
175
|
};
|
|
176
|
-
},
|
|
176
|
+
}, tt = (t) => t.series?.[0]?.slices, N = (t, e) => {
|
|
177
177
|
e.series?.[0] && (e.series[0].slices = t);
|
|
178
|
-
},
|
|
178
|
+
}, it = (t) => {
|
|
179
179
|
N(void 0, t), x(
|
|
180
180
|
{
|
|
181
181
|
sliceId: P.defaultGroupOfSlicesId,
|
|
@@ -183,13 +183,13 @@ const ge = (t) => t.series?.[0]?.innerRadius, ce = (t, e) => {
|
|
|
183
183
|
},
|
|
184
184
|
t
|
|
185
185
|
);
|
|
186
|
-
},
|
|
187
|
-
var
|
|
188
|
-
for (var l =
|
|
186
|
+
}, st = (t, e) => e.series[0]?.slices?.[t]?.sliceId, rt = (t, e) => e.series[0]?.slices?.findIndex((i) => i.sliceId === t), at = (t) => t.series[0]?.slices?.length ?? 0;
|
|
187
|
+
var ot = Object.defineProperty, lt = Object.getOwnPropertyDescriptor, a = (t, e, i, o) => {
|
|
188
|
+
for (var l = lt(e, i), n = t.length - 1, g; n >= 0; n--)
|
|
189
189
|
(g = t[n]) && (l = g(e, i, l) || l);
|
|
190
|
-
return l &&
|
|
190
|
+
return l && ot(e, i, l), l;
|
|
191
191
|
};
|
|
192
|
-
class r extends
|
|
192
|
+
class r extends k {
|
|
193
193
|
constructor() {
|
|
194
194
|
super(...arguments), this._chartType = p.PieSeries, this._mode = h.Category, this._groupedSliceIds = [];
|
|
195
195
|
}
|
|
@@ -212,7 +212,7 @@ class r extends G {
|
|
|
212
212
|
return b(this._config);
|
|
213
213
|
}
|
|
214
214
|
set category(e) {
|
|
215
|
-
(!w(this._config) || e.trim() !== "") && (
|
|
215
|
+
(!w(this._config) || e.trim() !== "") && (U({
|
|
216
216
|
newCategory: e,
|
|
217
217
|
config: this._config,
|
|
218
218
|
layerInfo: this.layerInfo,
|
|
@@ -224,22 +224,22 @@ class r extends G {
|
|
|
224
224
|
* Numeric fields for the pie chart.
|
|
225
225
|
*/
|
|
226
226
|
get numericFields() {
|
|
227
|
-
return
|
|
227
|
+
return K(this._config);
|
|
228
228
|
}
|
|
229
229
|
set numericFields(e) {
|
|
230
|
-
typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ?
|
|
230
|
+
typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ? E(this.layerInfo.layerFieldsInfo, e) : !0) ? ($({
|
|
231
231
|
newNumericFields: e,
|
|
232
232
|
config: this._config,
|
|
233
233
|
layerInfo: this.layerInfo,
|
|
234
234
|
commonStrings: this.commonStrings,
|
|
235
235
|
mode: this._mode
|
|
236
|
-
}), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))) :
|
|
236
|
+
}), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))) : F("error", "pie-chart-model", "Invalid `numericFields`");
|
|
237
237
|
}
|
|
238
238
|
/**
|
|
239
239
|
* Aggregation type for the pie chart.
|
|
240
240
|
*/
|
|
241
241
|
get aggregationType() {
|
|
242
|
-
return
|
|
242
|
+
return J(this._config, this._mode);
|
|
243
243
|
}
|
|
244
244
|
set aggregationType(e) {
|
|
245
245
|
Q({
|
|
@@ -293,7 +293,7 @@ class r extends G {
|
|
|
293
293
|
async getCustomSortValues() {
|
|
294
294
|
const e = b(this._config), i = _(this._config.series);
|
|
295
295
|
let o = [];
|
|
296
|
-
return i === f.PieFromFields ? o = this.numericFields : e.trim() !== "" && i === f.PieFromCategory && (o = await
|
|
296
|
+
return i === f.PieFromFields ? o = this.numericFields : e.trim() !== "" && i === f.PieFromCategory && (o = await j({
|
|
297
297
|
category: e,
|
|
298
298
|
config: this._config,
|
|
299
299
|
layerInfo: this.layerInfo
|
|
@@ -314,10 +314,10 @@ class r extends G {
|
|
|
314
314
|
* Ticks symbol connecting slices to labels.
|
|
315
315
|
*/
|
|
316
316
|
get ticksSymbol() {
|
|
317
|
-
return
|
|
317
|
+
return Ke(this._config);
|
|
318
318
|
}
|
|
319
319
|
set ticksSymbol(e) {
|
|
320
|
-
|
|
320
|
+
$e(e, this._config);
|
|
321
321
|
}
|
|
322
322
|
// ---------------------------------------------------------------------------------------------
|
|
323
323
|
// #region Slices Props
|
|
@@ -326,7 +326,7 @@ class r extends G {
|
|
|
326
326
|
* Array of slices for the pie chart.
|
|
327
327
|
*/
|
|
328
328
|
get slices() {
|
|
329
|
-
return
|
|
329
|
+
return tt(this._config);
|
|
330
330
|
}
|
|
331
331
|
set slices(e) {
|
|
332
332
|
N(e, this._config);
|
|
@@ -344,7 +344,7 @@ class r extends G {
|
|
|
344
344
|
* Slice grouping configuration for the pie chart.
|
|
345
345
|
*/
|
|
346
346
|
get sliceGrouping() {
|
|
347
|
-
return
|
|
347
|
+
return Ye(this._config);
|
|
348
348
|
}
|
|
349
349
|
set sliceGrouping(e) {
|
|
350
350
|
x(e, this._config);
|
|
@@ -353,10 +353,10 @@ class r extends G {
|
|
|
353
353
|
* Inner radius size for the pie chart.
|
|
354
354
|
*/
|
|
355
355
|
get innerRadiusSize() {
|
|
356
|
-
return
|
|
356
|
+
return ce(this._config) ?? 0;
|
|
357
357
|
}
|
|
358
358
|
set innerRadiusSize(e) {
|
|
359
|
-
|
|
359
|
+
pe(e, this._config);
|
|
360
360
|
}
|
|
361
361
|
/**
|
|
362
362
|
* Threshold below which slices will be grouped.
|
|
@@ -365,41 +365,41 @@ class r extends G {
|
|
|
365
365
|
return I(this._config) ?? 0;
|
|
366
366
|
}
|
|
367
367
|
set groupingThreshold(e) {
|
|
368
|
-
|
|
368
|
+
et(e, this._config);
|
|
369
369
|
}
|
|
370
370
|
/**
|
|
371
371
|
* Character limit for the slice labels.
|
|
372
372
|
*/
|
|
373
373
|
get labelCharacterLimit() {
|
|
374
|
-
return
|
|
374
|
+
return de(this._config) ?? null;
|
|
375
375
|
}
|
|
376
376
|
set labelCharacterLimit(e) {
|
|
377
|
-
|
|
377
|
+
ue(e, this._config);
|
|
378
378
|
}
|
|
379
379
|
/**
|
|
380
380
|
* Number of decimal places to display in the slice values.
|
|
381
381
|
*/
|
|
382
382
|
get decimalPlaces() {
|
|
383
|
-
return
|
|
383
|
+
return ze(this._config) ?? 1;
|
|
384
384
|
}
|
|
385
385
|
set decimalPlaces(e) {
|
|
386
|
-
|
|
386
|
+
Be(e, this._config);
|
|
387
387
|
}
|
|
388
388
|
/**
|
|
389
389
|
* Display type for the pie chart slices. Specifies whether to display the slices as a percentage, value, or both.
|
|
390
390
|
*/
|
|
391
391
|
get displayType() {
|
|
392
|
-
return
|
|
392
|
+
return Ne(this._config);
|
|
393
393
|
}
|
|
394
394
|
set displayType(e) {
|
|
395
|
-
|
|
395
|
+
Fe(e, this._config);
|
|
396
396
|
}
|
|
397
397
|
// ---------------------------------------------------------------------------------------------
|
|
398
398
|
// #region Protected methods
|
|
399
399
|
// ---------------------------------------------------------------------------------------------
|
|
400
400
|
generateDefaultConfig() {
|
|
401
401
|
const e = A(this.commonStrings);
|
|
402
|
-
return e.series = [W(this.commonStrings, this.layerInfo
|
|
402
|
+
return e.series = [W(this.commonStrings, G(this.layerInfo.layer).idField)], e;
|
|
403
403
|
}
|
|
404
404
|
// ---------------------------------------------------------------------------------------------
|
|
405
405
|
// #region Series Methods
|
|
@@ -410,7 +410,7 @@ class r extends G {
|
|
|
410
410
|
* @param sliceIndex - The index of the slice.
|
|
411
411
|
*/
|
|
412
412
|
getOriginalSliceName(e) {
|
|
413
|
-
return
|
|
413
|
+
return Je(e, this._config);
|
|
414
414
|
}
|
|
415
415
|
/**
|
|
416
416
|
* Gets the name of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
|
|
@@ -438,7 +438,7 @@ class r extends G {
|
|
|
438
438
|
* Order of the slice array by returning an array of slice ids
|
|
439
439
|
*/
|
|
440
440
|
get orderOfSlices() {
|
|
441
|
-
return
|
|
441
|
+
return Xe(this._config);
|
|
442
442
|
}
|
|
443
443
|
set orderOfSlices(e) {
|
|
444
444
|
e !== void 0 && C(e, this._config);
|
|
@@ -456,7 +456,7 @@ class r extends G {
|
|
|
456
456
|
* @param sliceIndex - The index of the slice.
|
|
457
457
|
*/
|
|
458
458
|
getSliceId(e) {
|
|
459
|
-
return
|
|
459
|
+
return st(e, this._config);
|
|
460
460
|
}
|
|
461
461
|
/**
|
|
462
462
|
* Gets the slice index for a given slice id. If the `sliceId` is not found, this function will return `undefined`.
|
|
@@ -464,16 +464,16 @@ class r extends G {
|
|
|
464
464
|
* @param sliceId - The id of the slice.
|
|
465
465
|
*/
|
|
466
466
|
getSliceIndex(e) {
|
|
467
|
-
return
|
|
467
|
+
return rt(e, this._config);
|
|
468
468
|
}
|
|
469
469
|
/**
|
|
470
470
|
* Gets the length of the slices array.
|
|
471
471
|
*/
|
|
472
472
|
getSlicesLength() {
|
|
473
|
-
return
|
|
473
|
+
return at(this._config);
|
|
474
474
|
}
|
|
475
475
|
resetSlices() {
|
|
476
|
-
|
|
476
|
+
it(this._config);
|
|
477
477
|
}
|
|
478
478
|
/**
|
|
479
479
|
* Returns whether the series styling is able to be reset.
|
|
@@ -495,10 +495,10 @@ class r extends G {
|
|
|
495
495
|
* Visibility of the ticks.
|
|
496
496
|
*/
|
|
497
497
|
get ticksVisibility() {
|
|
498
|
-
return
|
|
498
|
+
return je(this._config);
|
|
499
499
|
}
|
|
500
500
|
set ticksVisibility(e) {
|
|
501
|
-
|
|
501
|
+
Ue(e, this._config);
|
|
502
502
|
}
|
|
503
503
|
/**
|
|
504
504
|
* Start angle of the pie chart.
|
|
@@ -507,7 +507,7 @@ class r extends G {
|
|
|
507
507
|
return D(this._config);
|
|
508
508
|
}
|
|
509
509
|
set startAngle(e) {
|
|
510
|
-
|
|
510
|
+
fe(e, this._config);
|
|
511
511
|
}
|
|
512
512
|
/**
|
|
513
513
|
* End angle of the pie chart.
|
|
@@ -516,14 +516,14 @@ class r extends G {
|
|
|
516
516
|
return D(this._config);
|
|
517
517
|
}
|
|
518
518
|
set endAngle(e) {
|
|
519
|
-
|
|
519
|
+
he(e, this._config);
|
|
520
520
|
}
|
|
521
521
|
/**
|
|
522
522
|
* Whether to display the category on the data label.
|
|
523
523
|
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
524
524
|
*/
|
|
525
525
|
get displayCategoryOnDataLabel() {
|
|
526
|
-
return
|
|
526
|
+
return me(this._config);
|
|
527
527
|
}
|
|
528
528
|
set displayCategoryOnDataLabel(e) {
|
|
529
529
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -536,7 +536,7 @@ class r extends G {
|
|
|
536
536
|
* **Note**: If the setting is not found in the config, it will default to `true`.
|
|
537
537
|
*/
|
|
538
538
|
get displayCategoryValueOnTooltip() {
|
|
539
|
-
return
|
|
539
|
+
return ye(this._config);
|
|
540
540
|
}
|
|
541
541
|
set displayCategoryValueOnTooltip(e) {
|
|
542
542
|
this._config.series[0].displayCategoryOnTooltip = e;
|
|
@@ -546,7 +546,7 @@ class r extends G {
|
|
|
546
546
|
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
547
547
|
*/
|
|
548
548
|
get displayNumericValueOnDataLabel() {
|
|
549
|
-
return
|
|
549
|
+
return Se(this._config);
|
|
550
550
|
}
|
|
551
551
|
set displayNumericValueOnDataLabel(e) {
|
|
552
552
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -558,7 +558,7 @@ class r extends G {
|
|
|
558
558
|
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
559
559
|
*/
|
|
560
560
|
get displayPercentageOnDataLabel() {
|
|
561
|
-
return
|
|
561
|
+
return _e(this._config);
|
|
562
562
|
}
|
|
563
563
|
set displayPercentageOnDataLabel(e) {
|
|
564
564
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -571,7 +571,7 @@ class r extends G {
|
|
|
571
571
|
* **Note**: If the setting is not found in the config, it will default to `true`.
|
|
572
572
|
*/
|
|
573
573
|
get displayNumericValueOnTooltip() {
|
|
574
|
-
return
|
|
574
|
+
return be(this._config);
|
|
575
575
|
}
|
|
576
576
|
set displayNumericValueOnTooltip(e) {
|
|
577
577
|
this._config.series[0].displayNumericValueOnTooltip = e;
|
|
@@ -582,55 +582,55 @@ class r extends G {
|
|
|
582
582
|
* **Note**: If the setting is not found in the config, it will default to `true`.
|
|
583
583
|
*/
|
|
584
584
|
get displayPercentageOnTooltip() {
|
|
585
|
-
return
|
|
585
|
+
return Oe(this._config);
|
|
586
586
|
}
|
|
587
587
|
set displayPercentageOnTooltip(e) {
|
|
588
|
-
|
|
588
|
+
Le(e, this._config);
|
|
589
589
|
}
|
|
590
590
|
/**
|
|
591
591
|
* Prefix of the values of the slices.
|
|
592
592
|
*/
|
|
593
593
|
get valuePrefix() {
|
|
594
|
-
return
|
|
594
|
+
return De(this._config);
|
|
595
595
|
}
|
|
596
596
|
set valuePrefix(e) {
|
|
597
|
-
|
|
597
|
+
Ce(e, this._config);
|
|
598
598
|
}
|
|
599
599
|
/**
|
|
600
600
|
* Suffix of the values of the slice.
|
|
601
601
|
*/
|
|
602
602
|
get valueSuffix() {
|
|
603
|
-
return
|
|
603
|
+
return ve(this._config);
|
|
604
604
|
}
|
|
605
605
|
set valueSuffix(e) {
|
|
606
|
-
|
|
606
|
+
Pe(e, this._config);
|
|
607
607
|
}
|
|
608
608
|
/**
|
|
609
609
|
* Prefix of the percentages of the slices.
|
|
610
610
|
*/
|
|
611
611
|
get percentagePrefix() {
|
|
612
|
-
return
|
|
612
|
+
return Te(this._config);
|
|
613
613
|
}
|
|
614
614
|
set percentagePrefix(e) {
|
|
615
|
-
|
|
615
|
+
Ve(e, this._config);
|
|
616
616
|
}
|
|
617
617
|
/**
|
|
618
618
|
* Suffix of the percentages of the slices.
|
|
619
619
|
*/
|
|
620
620
|
get percentageSuffix() {
|
|
621
|
-
return
|
|
621
|
+
return xe(this._config);
|
|
622
622
|
}
|
|
623
623
|
set percentageSuffix(e) {
|
|
624
|
-
|
|
624
|
+
Ie(e, this._config);
|
|
625
625
|
}
|
|
626
626
|
/**
|
|
627
627
|
* Offset for the data labels.
|
|
628
628
|
*/
|
|
629
629
|
get dataLabelsOffset() {
|
|
630
|
-
return
|
|
630
|
+
return Ge(this._config);
|
|
631
631
|
}
|
|
632
632
|
set dataLabelsOffset(e) {
|
|
633
|
-
|
|
633
|
+
ke(e, this._config);
|
|
634
634
|
}
|
|
635
635
|
/**
|
|
636
636
|
* Align data labels setting for the pie chart.
|
|
@@ -639,25 +639,25 @@ class r extends G {
|
|
|
639
639
|
return Me(this._config);
|
|
640
640
|
}
|
|
641
641
|
set alignDataLabels(e) {
|
|
642
|
-
|
|
642
|
+
we(e, this._config);
|
|
643
643
|
}
|
|
644
644
|
/**
|
|
645
645
|
* Setting for placing the data labels inside of the slices.
|
|
646
646
|
*/
|
|
647
647
|
get dataLabelsInside() {
|
|
648
|
-
return
|
|
648
|
+
return Ae(this._config);
|
|
649
649
|
}
|
|
650
650
|
set dataLabelsInside(e) {
|
|
651
|
-
|
|
651
|
+
We(e, this._config);
|
|
652
652
|
}
|
|
653
653
|
/**
|
|
654
654
|
* Optimize data labels overlapping setting for the pie chart.
|
|
655
655
|
*/
|
|
656
656
|
get optimizeDataLabelsOverlapping() {
|
|
657
|
-
return
|
|
657
|
+
return Re(this._config);
|
|
658
658
|
}
|
|
659
659
|
set optimizeDataLabelsOverlapping(e) {
|
|
660
|
-
|
|
660
|
+
Ee(e, this._config);
|
|
661
661
|
}
|
|
662
662
|
// ---------------------------------------------------------------------------------------------
|
|
663
663
|
// #region General Props
|
|
@@ -779,7 +779,7 @@ a([
|
|
|
779
779
|
a([
|
|
780
780
|
s
|
|
781
781
|
], r.prototype, "optimizeDataLabelsOverlapping");
|
|
782
|
-
V(r, [u,
|
|
782
|
+
V(r, [u, z, B, R]);
|
|
783
783
|
export {
|
|
784
784
|
r as PieChartModel
|
|
785
785
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isEqual as r } from "lodash-es";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
4
|
-
v5.0.0-next.
|
|
4
|
+
v5.0.0-next.96 */
|
|
5
5
|
const i = (e) => (e?.remove(), null), a = (e, t = !1) => {
|
|
6
6
|
e && (t ? (e.style.setProperty("opacity", "1"), e.style.setProperty("pointer-events", "initial")) : (e.style.removeProperty("opacity"), e.style.removeProperty("pointer-events")), e.triggerDisabled = t, e.open = t);
|
|
7
7
|
}, l = (e, t) => e !== void 0 && t !== void 0 && !r(e, t);
|