@arcgis/charts-components 5.0.0-next.92 → 5.0.0-next.94
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/{N34TAWFT.js → 2HJBE565.js} +2 -2
- package/dist/cdn/{NHR4AORZ.js → 2RN22DAE.js} +1 -1
- package/dist/cdn/{3TREVBT6.js → 2VOZODMK.js} +2 -2
- package/dist/cdn/{HYKMJDEO.js → 33447LKM.js} +2 -2
- package/dist/cdn/{GPV25PDE.js → 35LF7VNP.js} +2 -2
- package/dist/cdn/{E33O6BDQ.js → 35S4QNWL.js} +2 -2
- package/dist/cdn/{ZUAQNNTO.js → 3FBBSFQG.js} +2 -2
- package/dist/cdn/{OVG7MVAO.js → 43E5R2JV.js} +2 -2
- package/dist/cdn/{RJ5XK5JE.js → 44AEJ3DS.js} +2 -2
- package/dist/cdn/46BRGRBV.js +4 -0
- package/dist/cdn/{5X3KPGHV.js → 4ED2WUFK.js} +2 -2
- package/dist/cdn/{4VZ6QMG5.js → 4KWDWDZM.js} +2 -2
- package/dist/cdn/{OR5BOTJS.js → 4NF5I3E2.js} +2 -2
- package/dist/cdn/{55EN2NXJ.js → 4T63UPUP.js} +2 -2
- package/dist/cdn/{22AK4F2F.js → 52HVV6NT.js} +2 -2
- package/dist/cdn/{7YJRE2QY.js → 52YGQAYL.js} +2 -2
- package/dist/cdn/{RMCMTSKO.js → 57MCL77O.js} +2 -2
- package/dist/cdn/{JGPUHVUA.js → 5BEL3G5H.js} +2 -2
- package/dist/cdn/{52VUFEZY.js → 5CL62HWW.js} +2 -2
- package/dist/cdn/{NYDRB42C.js → 5K4WN5FK.js} +2 -2
- package/dist/cdn/{FBBJQGTQ.js → 5S2PHKBT.js} +2 -2
- package/dist/cdn/{SPRMVZEV.js → 65IMZ3KN.js} +2 -2
- package/dist/cdn/{EL4AH2XG.js → 663ZWNAS.js} +2 -2
- package/dist/cdn/{KQCSEHI7.js → 6KMSDD2R.js} +2 -2
- package/dist/cdn/{OS3UZMYX.js → 6QUIHRPD.js} +2 -2
- package/dist/cdn/{RH7TSPZI.js → 6XTYB24T.js} +2 -2
- package/dist/cdn/{PM3JC75G.js → 6Y4WLWGC.js} +2 -2
- package/dist/cdn/{IRYHVRLL.js → 75FD3P3O.js} +2 -2
- package/dist/cdn/{VQLNQFW3.js → 7IL4MFFA.js} +2 -2
- package/dist/cdn/{RG7WAFGP.js → AALGX2JE.js} +2 -2
- package/dist/cdn/{2TLDPAT3.js → AHKD6ODU.js} +2 -2
- package/dist/cdn/{6ONOSKIW.js → AWIPTVJ6.js} +2 -2
- package/dist/cdn/{T2N7PRNS.js → AWNYLX2Y.js} +2 -2
- package/dist/cdn/{SZCQ5QNJ.js → AXQWCFH3.js} +2 -2
- package/dist/cdn/{4R6LUGSM.js → B7VOM22U.js} +2 -2
- package/dist/cdn/{4KT4OKBI.js → BD5VTXK3.js} +4 -4
- package/dist/cdn/{KTRD4KGM.js → BJ2EAYEL.js} +1 -1
- package/dist/cdn/{YQJIH6TU.js → BK7PJKFY.js} +2 -2
- package/dist/cdn/{6DDMIL4X.js → BSBAJH4T.js} +2 -2
- package/dist/cdn/{CBMDPUVW.js → BV3J7E6Q.js} +2 -2
- package/dist/cdn/{WTUTZVLM.js → CKNC4HQN.js} +2 -2
- package/dist/cdn/{BMKTYALT.js → CN63PHU6.js} +2 -2
- package/dist/cdn/{RLNYLN7R.js → CTPULW4H.js} +2 -2
- package/dist/cdn/{3ZC4BUPF.js → CX4REBRF.js} +2 -2
- package/dist/cdn/{AAZBQ4WV.js → CZ3H6W4F.js} +2 -2
- package/dist/cdn/{XR3G2FWH.js → D66OTFIS.js} +2 -2
- package/dist/cdn/{ZNG4CFXZ.js → DEEE6FM6.js} +2 -2
- package/dist/cdn/{MKQ7K6MX.js → DJZKDD4J.js} +2 -2
- package/dist/cdn/{SHH4SOQ7.js → DQFNLAWZ.js} +2 -2
- package/dist/cdn/{BVRRYTYE.js → EBAGG47G.js} +2 -2
- package/dist/cdn/{3WOXEF52.js → ED2AUBVU.js} +2 -2
- package/dist/cdn/{JPGBEFJY.js → EEADNHK2.js} +2 -2
- package/dist/cdn/{IGUDJWE5.js → EIPUKNI2.js} +2 -2
- package/dist/cdn/{Y6LD4Z7J.js → EKM5C2N7.js} +2 -2
- package/dist/cdn/{ZLPJTJHE.js → ERF4IG5Z.js} +2 -2
- package/dist/cdn/{WCLEO3FE.js → EVRRP4JG.js} +1 -1
- package/dist/cdn/{35O2XZHG.js → EY4PLBQH.js} +2 -2
- package/dist/cdn/{XVKA5WBJ.js → F3NVALBS.js} +2 -2
- package/dist/cdn/{VXLW5ERI.js → F44FS4ZP.js} +2 -2
- package/dist/cdn/{64FFLV2Z.js → F4OP4BAQ.js} +2 -2
- package/dist/cdn/{EXD2UGCV.js → FCJVKJNY.js} +2 -2
- package/dist/cdn/{FWHFUJH2.js → FNFMF7VS.js} +2 -2
- package/dist/cdn/{DP5EMB5H.js → FPZKXOMX.js} +3 -3
- package/dist/cdn/{NKT7GWGS.js → FRDJDWLU.js} +2 -2
- package/dist/cdn/GA3WW3PC.js +4 -0
- package/dist/cdn/{6R2BOBKT.js → GFAEERLM.js} +2 -2
- package/dist/cdn/{BBL25543.js → GJFCHF7I.js} +2 -2
- package/dist/cdn/{PI5QXU3R.js → GRHKG77Z.js} +2 -2
- package/dist/cdn/{HRYX5JOT.js → GRTRI5XQ.js} +2 -2
- package/dist/cdn/{5ZNIFW36.js → GTATQBLF.js} +2 -2
- package/dist/cdn/{3M3GO6E4.js → HBSGEPWY.js} +2 -2
- package/dist/cdn/{W7NIWUUF.js → HENOAMOX.js} +2 -2
- package/dist/cdn/{XSBF3TUF.js → HFJ5CS42.js} +2 -2
- package/dist/cdn/{RRA3W5KX.js → HPWDMOYK.js} +2 -2
- package/dist/cdn/{XTAO3PRD.js → HQYYTZPT.js} +2 -2
- package/dist/cdn/{XADR427A.js → ID3AYMNM.js} +2 -2
- package/dist/cdn/{NDPXJ25Q.js → IDWNIE35.js} +2 -2
- package/dist/cdn/{6DFYJBII.js → ILNP7PXE.js} +2 -2
- package/dist/cdn/{GAF7ZMZC.js → IU33A6VU.js} +2 -2
- package/dist/cdn/{EYAL4FRL.js → IWRPFVDI.js} +2 -2
- package/dist/cdn/{4KQATRP2.js → J2FPB6V7.js} +2 -2
- package/dist/cdn/{EWEEDI2N.js → J34I6ORY.js} +2 -2
- package/dist/cdn/{S7G7QMWT.js → J5YEKRWJ.js} +2 -2
- package/dist/cdn/{YR5HPG2Z.js → JATAPFLQ.js} +2 -2
- package/dist/cdn/{WODUPWQJ.js → JDO4CROO.js} +2 -2
- package/dist/cdn/{YLOMCWHK.js → JGDSFSXM.js} +2 -2
- package/dist/cdn/{6NTRO5KX.js → JO4VE7YC.js} +2 -2
- package/dist/cdn/{QOAF3BEM.js → KC2OG2HB.js} +2 -2
- package/dist/cdn/{SORRW6L2.js → KCXAC5OO.js} +2 -2
- package/dist/cdn/{XY44M4HH.js → KGUF47SK.js} +2 -2
- package/dist/cdn/{HNTO4WLF.js → KP7TQTBR.js} +2 -2
- package/dist/cdn/{EGALYNNE.js → LC3REWUB.js} +2 -2
- package/dist/cdn/{RYQ6SCXY.js → LEBCKEIF.js} +2 -2
- package/dist/cdn/{XCBQ6WPS.js → LJY4F6B7.js} +2 -2
- package/dist/cdn/{B6GMWMC3.js → LLOR7KOH.js} +2 -2
- package/dist/cdn/{YVKVLWFH.js → LNNXIDQK.js} +2 -2
- package/dist/cdn/{4JZIZCJQ.js → LQRCLHCV.js} +2 -2
- package/dist/cdn/{SJYLKIX2.js → M27LZWCH.js} +2 -2
- package/dist/cdn/{5SIATZAU.js → M7L5OSBI.js} +2 -2
- package/dist/cdn/{YZGWI7F6.js → ME4UOSFC.js} +2 -2
- package/dist/cdn/{T77ONTPI.js → MJX267PM.js} +2 -2
- package/dist/cdn/{3GT2R7QQ.js → MMT3J2A6.js} +2 -2
- package/dist/cdn/{K56TSX5A.js → MRYYH5HR.js} +2 -2
- package/dist/cdn/MSG6UPD5.js +4 -0
- package/dist/cdn/{POOLKYHJ.js → MWQPSIKY.js} +2 -2
- package/dist/cdn/{OP5DH6EI.js → MWU3AU5C.js} +2 -2
- package/dist/cdn/{QQNRTBSD.js → NPNWEUJ5.js} +2 -2
- package/dist/cdn/{EGGBGFEA.js → NZP5ZPDM.js} +2 -2
- package/dist/cdn/O3FYCH5X.js +4 -0
- package/dist/cdn/{F32QBAZA.js → OAGBI4VW.js} +2 -2
- package/dist/cdn/OGXRN2A7.js +4 -0
- package/dist/cdn/{XHVLCVK4.js → OJBCCH57.js} +2 -2
- package/dist/cdn/{33YOF5RY.js → OQ4HHZTU.js} +1 -1
- package/dist/cdn/{4QV5HUW7.js → OXH5IJHA.js} +2 -2
- package/dist/cdn/PGDUSOAQ.js +4 -0
- package/dist/cdn/{HCGKMVNY.js → PHDO2V2G.js} +1 -1
- package/dist/cdn/{RI6CGF7Q.js → PHJM7RX4.js} +2 -2
- package/dist/cdn/{L5CO2JJU.js → PWZKK6NG.js} +2 -2
- package/dist/cdn/{Q2SBTG5O.js → PXDB64AB.js} +2 -2
- package/dist/cdn/{MAW4POZR.js → Q76U4OXB.js} +2 -2
- package/dist/cdn/{IQ3E64TG.js → QJABFO37.js} +2 -2
- package/dist/cdn/{RPR4JNE2.js → QNO4IY4R.js} +2 -2
- package/dist/cdn/{JFRJ5JXQ.js → QSLKOUUS.js} +2 -2
- package/dist/cdn/{4777QUW4.js → R6HC2F5X.js} +2 -2
- package/dist/cdn/{G6CSJDUZ.js → RAXMGFGM.js} +2 -2
- package/dist/cdn/{W2OVUC3H.js → RGV5LFIZ.js} +2 -2
- package/dist/cdn/{ADAO26AB.js → RYAACKQM.js} +2 -2
- package/dist/cdn/{B7P2A6H4.js → RYJR23TU.js} +2 -2
- package/dist/cdn/{RLYRHI6F.js → S3ML56K6.js} +2 -2
- package/dist/cdn/{WQ3IKXAI.js → SCCFCUZH.js} +18 -18
- package/dist/cdn/{UMQEBGAU.js → SRDD3SW3.js} +2 -2
- package/dist/cdn/{GNJ55HZ3.js → T4B73BHS.js} +2 -2
- package/dist/cdn/{DXA2FAEM.js → TBELIR6V.js} +2 -2
- package/dist/cdn/{BJH2D36B.js → TDBV7XHO.js} +2 -2
- package/dist/cdn/{FCCAQSJN.js → TNMDCOGX.js} +2 -2
- package/dist/cdn/{FF7I7CQ5.js → TWJOTFFO.js} +2 -2
- package/dist/cdn/{KOBFWR75.js → TYS4XNRV.js} +2 -2
- package/dist/cdn/{CXD6IB6P.js → U3LG6H3V.js} +2 -2
- package/dist/cdn/{4VLLPVUD.js → U6X23JIO.js} +2 -2
- package/dist/cdn/{QAYQKKZW.js → UE42HRO7.js} +2 -2
- package/dist/cdn/{PVMMRVX2.js → UHWMQBHW.js} +2 -2
- package/dist/cdn/{E7ZQWB2M.js → UI7MXKA2.js} +2 -2
- package/dist/cdn/{OK4U5LPQ.js → UTM6DWAD.js} +2 -2
- package/dist/cdn/{RTJ7I6AU.js → UVWYAML4.js} +2 -2
- package/dist/cdn/{LVOZOQFD.js → UZBHMAGJ.js} +2 -2
- package/dist/cdn/{KTOREEDV.js → V5S6J6H3.js} +2 -2
- package/dist/cdn/{MALMNJGS.js → V6UHOV4H.js} +2 -2
- package/dist/cdn/{HSI6OOJB.js → V7QQ4G5O.js} +2 -2
- package/dist/cdn/{BOZLCMTH.js → VQXRYJ7Z.js} +2 -2
- package/dist/cdn/{HZ23PIDY.js → VUJUAVIG.js} +2 -2
- package/dist/cdn/{HHSW7P2D.js → VVSU7MBQ.js} +1 -1
- package/dist/cdn/{TJMM56E5.js → VY3FVW2V.js} +2 -2
- package/dist/cdn/{DVCOVYWF.js → W37MWTWC.js} +2 -2
- package/dist/cdn/{Z27KXTHV.js → WPYK3MIO.js} +2 -2
- package/dist/cdn/{UNVW7MKQ.js → WRKHWWMA.js} +2 -2
- package/dist/cdn/{TN23IJY4.js → WW5GBZ6B.js} +2 -2
- package/dist/cdn/{2LURLH2T.js → X2HQHUNK.js} +2 -2
- package/dist/cdn/{SE3MVGV3.js → X5QVQDOO.js} +2 -2
- package/dist/cdn/{7WKH6224.js → XCRTXDVY.js} +2 -2
- package/dist/cdn/{PGINT6OT.js → XHKJZGWW.js} +2 -2
- package/dist/cdn/{FJQBFLZT.js → XTFJ6XUK.js} +2 -2
- package/dist/cdn/{O65YUIVN.js → Y3SO7A52.js} +2 -2
- package/dist/cdn/{FCIITVHF.js → YDZXE37D.js} +1 -1
- package/dist/cdn/{LWQTDICJ.js → YGGWR5LW.js} +2 -2
- package/dist/cdn/{HA4SKVSE.js → YK5BER2E.js} +1 -1
- package/dist/cdn/{CME4FZL3.js → YRYXE7CX.js} +2 -2
- package/dist/cdn/{WB37ZNNA.js → YW66S5TY.js} +2 -2
- package/dist/cdn/{55DS4LOX.js → ZGDG5XE3.js} +2 -2
- package/dist/cdn/{RJAVBT7B.js → ZJPNUCPV.js} +2 -2
- package/dist/cdn/{EA2MSUSU.js → ZK7NH6WF.js} +2 -2
- package/dist/cdn/{UKSH7SZU.js → ZTBS4SXK.js} +2 -2
- package/dist/cdn/{2JTQH26T.js → ZVOIXJ22.js} +2 -2
- package/dist/cdn/{O7MHYL5H.js → ZW53DN3F.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/action-bar-utils.js +10 -10
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +2 -2
- 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 +27 -27
- package/dist/chunks/box-plot-model.js +2 -2
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +16 -16
- package/dist/chunks/combo-bar-line-chart-model.js +2 -2
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +5 -5
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +11 -11
- package/dist/chunks/heat-chart-model.js +9 -9
- package/dist/chunks/histogram-data.js +2 -2
- package/dist/chunks/histogram-model.js +8 -8
- package/dist/chunks/index.js +410 -378
- package/dist/chunks/index2.js +2 -2
- 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 +9 -9
- package/dist/chunks/model-with-multi-axes.js +536 -467
- package/dist/chunks/pie-chart-data.js +22 -22
- package/dist/chunks/pie-chart-model.js +250 -191
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +5 -5
- package/dist/chunks/resource.js +4 -4
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +20 -20
- package/dist/chunks/serial-chart-data.js +295 -280
- package/dist/chunks/serial-chart-model.js +2 -2
- 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 +76 -44
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +55 -55
- package/dist/components/arcgis-chart/customElement.d.ts +7 -0
- package/dist/components/arcgis-chart/customElement.js +2930 -2758
- package/dist/components/arcgis-charts-action-bar/customElement.js +2 -2
- 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 +10 -10
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +13 -13
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +6 -6
- 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 +11 -11
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-format/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +5 -5
- 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 +2 -2
- 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 +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +2 -2
- 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 +31 -2
- package/dist/docs/docs.json +24 -2
- package/dist/docs/vscode.html-custom-data.json +5 -0
- package/dist/docs/web-types.json +14 -1
- package/dist/index.js +406 -396
- package/dist/loader.js +2 -2
- package/dist/model/mixins/model-with-basic-x-axis.d.ts +5 -0
- package/dist/model/mixins/model-with-multi-axes.d.ts +27 -1
- package/dist/model/mixins/utils/axes.d.ts +29 -1
- package/dist/model/mixins/utils/guides.d.ts +2 -0
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +12 -1
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +18 -0
- package/dist/model/pie-chart-model/utils/pie-chart-legend.d.ts +13 -1
- package/dist/model/pie-chart-model/utils/pie-chart-series.d.ts +26 -0
- package/dist/model/shared/type-guards.d.ts +44 -3
- package/dist/model.js +36 -28
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/preact10.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/components/themes.d.ts +133 -0
- package/dist/utils/defaults/index.d.ts +2 -0
- package/package.json +3 -3
- package/dist/cdn/HSESSWPA.js +0 -4
- package/dist/cdn/KAL77LC7.js +0 -4
- package/dist/cdn/QLEYELDZ.js +0 -4
- package/dist/cdn/TNIMF6GQ.js +0 -4
- package/dist/cdn/UO33HVTL.js +0 -4
- package/dist/cdn/X33LEDFS.js +0 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { W as
|
|
1
|
+
import { W as p } from "./series-types.js";
|
|
2
2
|
import "@arcgis/toolkit/intl";
|
|
3
|
-
import { cloneDeep as
|
|
3
|
+
import { cloneDeep as M } from "lodash-es";
|
|
4
4
|
import "d3-array";
|
|
5
|
-
import {
|
|
5
|
+
import { aQ as d, b8 as v, aM as S, aw as P, p as _, dd as f, _ as F, bh as w, ba as A } from "./index.js";
|
|
6
6
|
import "@arcgis/core/geometry/support/jsonUtils.js";
|
|
7
7
|
import "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
8
8
|
import "@arcgis/core/rest/support/Query.js";
|
|
@@ -12,9 +12,9 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
12
12
|
import "@arcgis/core/request.js";
|
|
13
13
|
import "./runtime.js";
|
|
14
14
|
import "@arcgis/toolkit/dom";
|
|
15
|
-
import { u as T, m as s, C as
|
|
16
|
-
import { b as
|
|
17
|
-
import { d as
|
|
15
|
+
import { u as T, m as s, C as W, v as G, w as k, y as z } from "./model-with-multi-axes.js";
|
|
16
|
+
import { b as c, a as h } from "./common.js";
|
|
17
|
+
import { d as V, e as B, Z as R } from "./serial-chart-data.js";
|
|
18
18
|
import "@arcgis/core/Graphic.js";
|
|
19
19
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
20
20
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -24,34 +24,38 @@ import "@arcgis/core/smartMapping/statistics/histogram.js";
|
|
|
24
24
|
import "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
25
25
|
import "simple-statistics";
|
|
26
26
|
import "@arcgis/core/AttributeBinsGraphic.js";
|
|
27
|
-
import { g as b, s as E, a as j, c as
|
|
28
|
-
import { R as
|
|
27
|
+
import { g as b, s as E, a as j, c as U, b as K, d as $, e as Q, f as Z, h as O, i as L, j as q } from "./pie-chart-data.js";
|
|
28
|
+
import { R as y } from "./rest-js-object-literals.js";
|
|
29
29
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
30
30
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
31
|
-
v5.0.0-next.
|
|
32
|
-
const
|
|
33
|
-
e.series[0]?.type ===
|
|
34
|
-
}, X = (t) => t.legend?.
|
|
35
|
-
e.series[0]?.type ===
|
|
36
|
-
}, ee = (t) => t.legend?.
|
|
37
|
-
e.series[0]?.type ===
|
|
31
|
+
v5.0.0-next.94 */
|
|
32
|
+
const H = (t) => t.legend?.displayNumericValue ?? !1, J = (t, e) => {
|
|
33
|
+
e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.displayNumericValue = t);
|
|
34
|
+
}, X = (t) => t.legend?.displayCategory ?? !1, Y = (t, e) => {
|
|
35
|
+
e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.displayCategory = t);
|
|
36
|
+
}, ee = (t) => t.legend?.displayPercentage ?? !1, te = (t, e) => {
|
|
37
|
+
e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.displayPercentage = t);
|
|
38
|
+
}, ie = (t) => t.legend?.labelMaxWidth ?? 200, se = (t, e) => {
|
|
39
|
+
e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.labelMaxWidth = t);
|
|
40
|
+
}, re = (t) => t.legend?.valueLabelMaxWidth ?? 200, ae = (t, e) => {
|
|
41
|
+
e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.valueLabelMaxWidth = t);
|
|
38
42
|
};
|
|
39
|
-
var
|
|
40
|
-
for (var
|
|
41
|
-
(
|
|
42
|
-
return
|
|
43
|
+
var oe = Object.defineProperty, le = Object.getOwnPropertyDescriptor, m = (t, e, i, o) => {
|
|
44
|
+
for (var l = le(e, i), n = t.length - 1, g; n >= 0; n--)
|
|
45
|
+
(g = t[n]) && (l = g(e, i, l) || l);
|
|
46
|
+
return l && oe(e, i, l), l;
|
|
43
47
|
};
|
|
44
|
-
class
|
|
48
|
+
class u extends T {
|
|
45
49
|
/**
|
|
46
50
|
* Gets the setting for the display of numerical value in the legend items.
|
|
47
51
|
*
|
|
48
52
|
* **Note**: This setting is only applicable to pie charts.
|
|
49
53
|
*/
|
|
50
54
|
getDisplayNumericValue() {
|
|
51
|
-
return
|
|
55
|
+
return H(this._config);
|
|
52
56
|
}
|
|
53
57
|
setDisplayNumericValue(e) {
|
|
54
|
-
|
|
58
|
+
J(e, this._config);
|
|
55
59
|
}
|
|
56
60
|
/**
|
|
57
61
|
* Gets the setting for the display of percentage in the legend items.
|
|
@@ -59,10 +63,10 @@ class p extends T {
|
|
|
59
63
|
* **Note**: This setting is only applicable to pie charts.
|
|
60
64
|
*/
|
|
61
65
|
getDisplayPercentage() {
|
|
62
|
-
return
|
|
66
|
+
return ee(this._config);
|
|
63
67
|
}
|
|
64
68
|
setDisplayPercentage(e) {
|
|
65
|
-
|
|
69
|
+
te(e, this._config);
|
|
66
70
|
}
|
|
67
71
|
/**
|
|
68
72
|
* Gets the maximum width in pixel for the legend item labels.
|
|
@@ -70,111 +74,130 @@ class p extends T {
|
|
|
70
74
|
* **Note**: This setting is only applicable to pie charts.
|
|
71
75
|
*/
|
|
72
76
|
getLabelMaxWidth() {
|
|
73
|
-
return
|
|
77
|
+
return ie(this._config);
|
|
74
78
|
}
|
|
75
79
|
setLabelMaxWidth(e) {
|
|
76
|
-
|
|
80
|
+
se(e, this._config);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* The maximum width in pixel for the legend value labels.
|
|
84
|
+
* @returns {number}
|
|
85
|
+
*/
|
|
86
|
+
get valueLabelMaxWidth() {
|
|
87
|
+
return re(this._config);
|
|
88
|
+
}
|
|
89
|
+
set valueLabelMaxWidth(e) {
|
|
90
|
+
ae(e, this._config), this.emitConfigUpdate("valueLabelMaxWidth");
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Whether to display the category in the legend.
|
|
94
|
+
*/
|
|
95
|
+
get displayCategory() {
|
|
96
|
+
return X(this._config);
|
|
97
|
+
}
|
|
98
|
+
set displayCategory(e) {
|
|
99
|
+
Y(e, this._config), this.emitConfigUpdate("displayCategory");
|
|
77
100
|
}
|
|
78
101
|
}
|
|
79
|
-
|
|
102
|
+
m([
|
|
80
103
|
s
|
|
81
|
-
],
|
|
82
|
-
|
|
104
|
+
], u.prototype, "setDisplayNumericValue");
|
|
105
|
+
m([
|
|
83
106
|
s
|
|
84
|
-
],
|
|
85
|
-
|
|
107
|
+
], u.prototype, "setDisplayPercentage");
|
|
108
|
+
m([
|
|
86
109
|
s
|
|
87
|
-
],
|
|
88
|
-
|
|
89
|
-
const
|
|
110
|
+
], u.prototype, "setLabelMaxWidth");
|
|
111
|
+
V(u, [T]);
|
|
112
|
+
const ne = (t) => t.series?.[0]?.innerRadius, ge = (t, e) => {
|
|
90
113
|
e.series?.[0] && (e.series[0].innerRadius = t);
|
|
91
|
-
},
|
|
114
|
+
}, ce = (t) => t.series?.[0]?.dataLabelsCharacterLimit, pe = (t, e) => {
|
|
92
115
|
e.series?.[0] && (e.series[0].dataLabelsCharacterLimit = t);
|
|
93
|
-
},
|
|
116
|
+
}, D = (t) => t.series[0]?.startAngle, de = (t, e) => {
|
|
94
117
|
e.series?.[0] && (e.series[0].startAngle = t);
|
|
95
|
-
},
|
|
118
|
+
}, ue = (t, e) => {
|
|
96
119
|
e.series?.[0] && (e.series[0].endAngle = t);
|
|
97
|
-
},
|
|
120
|
+
}, fe = (t) => t.series?.[0]?.displayCategoryOnTooltip ?? !0, he = (t) => t.series?.[0]?.displayCategoryOnDataLabel ?? !0, ye = (t) => t.series?.[0]?.displayNumericValueOnDataLabel ?? !0, me = (t) => t.series?.[0]?.displayPercentageOnDataLabel ?? !1, Se = (t) => t.series?.[0]?.displayNumericValueOnTooltip ?? !0, _e = (t) => t.series?.[0]?.displayPercentageOnTooltip ?? !0, be = (t, e) => {
|
|
98
121
|
e.series[0] && (e.series[0].displayPercentageOnTooltip = t);
|
|
99
|
-
},
|
|
122
|
+
}, Oe = (t) => t.series?.[0]?.valuePrefix, Le = (t, e) => {
|
|
100
123
|
e.series?.[0] && (e.series[0].valuePrefix = t);
|
|
101
|
-
},
|
|
124
|
+
}, De = (t) => t.series?.[0]?.valueSuffix, Ce = (t, e) => {
|
|
102
125
|
e.series?.[0] && (e.series[0].valueSuffix = t);
|
|
103
|
-
},
|
|
126
|
+
}, ve = (t) => t.series?.[0]?.percentagePrefix, Pe = (t, e) => {
|
|
104
127
|
e.series?.[0] && (e.series[0].percentagePrefix = t);
|
|
105
|
-
},
|
|
128
|
+
}, Te = (t) => t.series?.[0]?.percentageSuffix, Ve = (t, e) => {
|
|
106
129
|
e.series?.[0] && (e.series[0].percentageSuffix = t);
|
|
107
|
-
},
|
|
130
|
+
}, xe = (t) => {
|
|
108
131
|
let e;
|
|
109
132
|
const i = t.series?.[0];
|
|
110
|
-
return i?.displayNumericValueOnDataLabel === !0 && i?.displayPercentageOnDataLabel === !0 ? e =
|
|
111
|
-
},
|
|
112
|
-
const i = t ===
|
|
113
|
-
e.series?.[0] && (e.series[0].displayNumericValueOnDataLabel = i, e.series[0].displayPercentageOnDataLabel =
|
|
133
|
+
return i?.displayNumericValueOnDataLabel === !0 && i?.displayPercentageOnDataLabel === !0 ? e = c.Both : i?.displayNumericValueOnDataLabel === !0 ? e = c.Value : e = c.Percentage, e;
|
|
134
|
+
}, Ie = (t, e) => {
|
|
135
|
+
const i = t === c.Value || t === c.Both, o = t === c.Percentage || t === c.Both;
|
|
136
|
+
e.series?.[0] && (e.series[0].displayNumericValueOnDataLabel = i, e.series[0].displayPercentageOnDataLabel = o), e.legend && (e.legend = {
|
|
114
137
|
...e.legend,
|
|
115
138
|
displayNumericValue: i,
|
|
116
|
-
displayPercentage:
|
|
139
|
+
displayPercentage: o
|
|
117
140
|
});
|
|
118
|
-
},
|
|
141
|
+
}, Ne = (t) => t.series?.[0]?.alignDataLabels ?? !1, Me = (t, e) => {
|
|
119
142
|
e.series[0] && (e.series[0].alignDataLabels = t);
|
|
120
|
-
},
|
|
143
|
+
}, Fe = (t) => t.series?.[0]?.dataLabelsInside ?? !1, we = (t, e) => {
|
|
121
144
|
e.series[0] && (e.series[0].dataLabelsInside = t);
|
|
122
|
-
},
|
|
145
|
+
}, Ae = (t) => t.series?.[0]?.dataLabelsOffset ?? 10, We = (t, e) => {
|
|
123
146
|
e.series[0] && (e.series[0].dataLabelsOffset = t);
|
|
124
|
-
},
|
|
147
|
+
}, Ge = (t) => t.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits, ke = (t, e) => {
|
|
125
148
|
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);
|
|
126
|
-
},
|
|
149
|
+
}, ze = (t) => t.series?.[0]?.optimizeDataLabelsOverlapping ?? !1, Be = (t, e) => {
|
|
127
150
|
e.series[0] && (e.series[0].optimizeDataLabelsOverlapping = t);
|
|
128
|
-
},
|
|
129
|
-
e.series?.[0] && (e.series[0].ticks ??=
|
|
130
|
-
},
|
|
131
|
-
t && e.series?.[0] && (e.series[0].ticks ??=
|
|
132
|
-
},
|
|
151
|
+
}, Re = (t) => t.series[0]?.ticks?.visible ?? !1, Ee = (t, e) => {
|
|
152
|
+
e.series?.[0] && (e.series[0].ticks ??= v(), e.series[0].ticks.visible = t);
|
|
153
|
+
}, je = (t) => t.series[0]?.ticks?.lineSymbol, Ue = (t, e) => {
|
|
154
|
+
t && e.series?.[0] && (e.series[0].ticks ??= v(), e.series[0].ticks.lineSymbol = M(t));
|
|
155
|
+
}, Ke = (t, e) => e.series?.[0]?.slices?.[t]?.originalLabel, $e = (t, e) => e.series?.[0]?.slices?.[t]?.label, Qe = (t, e, i) => {
|
|
133
156
|
i.series?.[0]?.slices?.[e] && (i.series[0].slices[e].label = t);
|
|
134
|
-
},
|
|
135
|
-
const
|
|
136
|
-
|
|
137
|
-
type:
|
|
157
|
+
}, Ze = (t, e) => e.series?.[0]?.slices?.[t]?.fillSymbol?.color, qe = (t, e, i) => {
|
|
158
|
+
const o = i.series?.[0]?.slices?.[e]?.fillSymbol;
|
|
159
|
+
o !== void 0 ? (o.color = t, o.outline !== void 0 ? o.outline.color = t : o.outline = { type: y.SLS, color: t }) : i.series?.[0]?.slices?.[e] !== void 0 && (i.series[0].slices[e].fillSymbol = {
|
|
160
|
+
type: y.SFS,
|
|
138
161
|
color: t,
|
|
139
|
-
outline: { type:
|
|
162
|
+
outline: { type: y.SLS, color: t }
|
|
140
163
|
});
|
|
141
|
-
},
|
|
164
|
+
}, He = (t) => t.series?.[0]?.slices?.map((e) => e.sliceId), C = (t, e) => {
|
|
142
165
|
e.series?.[0]?.slices?.sort(
|
|
143
|
-
(i,
|
|
166
|
+
(i, o) => t.findIndex((l) => i.sliceId === l) - t.findIndex((l) => o.sliceId === l)
|
|
144
167
|
);
|
|
145
|
-
},
|
|
168
|
+
}, Je = (t) => t.series?.[0]?.sliceGrouping, x = (t, e) => {
|
|
146
169
|
e.series?.[0] && (e.series[0].sliceGrouping = t);
|
|
147
|
-
},
|
|
170
|
+
}, I = (t) => t.series?.[0]?.sliceGrouping?.percentageThreshold, Xe = (t, e) => {
|
|
148
171
|
e.series?.[0]?.sliceGrouping !== void 0 ? e.series[0].sliceGrouping.percentageThreshold = t : e.series[0].sliceGrouping = {
|
|
149
|
-
sliceId:
|
|
172
|
+
sliceId: P.defaultGroupOfSlicesId,
|
|
150
173
|
percentageThreshold: t
|
|
151
174
|
};
|
|
152
|
-
},
|
|
175
|
+
}, Ye = (t) => t.series?.[0]?.slices, N = (t, e) => {
|
|
153
176
|
e.series?.[0] && (e.series[0].slices = t);
|
|
154
|
-
},
|
|
155
|
-
N(void 0, t),
|
|
177
|
+
}, et = (t) => {
|
|
178
|
+
N(void 0, t), x(
|
|
156
179
|
{
|
|
157
|
-
sliceId:
|
|
158
|
-
percentageThreshold:
|
|
180
|
+
sliceId: P.defaultGroupOfSlicesId,
|
|
181
|
+
percentageThreshold: I(t) ?? 0
|
|
159
182
|
},
|
|
160
183
|
t
|
|
161
184
|
);
|
|
162
|
-
},
|
|
163
|
-
var
|
|
164
|
-
for (var
|
|
165
|
-
(
|
|
166
|
-
return
|
|
185
|
+
}, tt = (t, e) => e.series[0]?.slices?.[t]?.sliceId, it = (t, e) => e.series[0]?.slices?.findIndex((i) => i.sliceId === t), st = (t) => t.series[0]?.slices?.length ?? 0;
|
|
186
|
+
var rt = Object.defineProperty, at = Object.getOwnPropertyDescriptor, a = (t, e, i, o) => {
|
|
187
|
+
for (var l = at(e, i), n = t.length - 1, g; n >= 0; n--)
|
|
188
|
+
(g = t[n]) && (l = g(e, i, l) || l);
|
|
189
|
+
return l && rt(e, i, l), l;
|
|
167
190
|
};
|
|
168
|
-
class r extends
|
|
191
|
+
class r extends W {
|
|
169
192
|
constructor() {
|
|
170
|
-
super(...arguments), this._chartType =
|
|
193
|
+
super(...arguments), this._chartType = p.PieSeries, this._mode = h.Category, this._groupedSliceIds = [];
|
|
171
194
|
}
|
|
172
195
|
async setup(e) {
|
|
173
196
|
await this.loadConfigFromLayer(e);
|
|
174
197
|
const { config: i } = e;
|
|
175
198
|
if (i !== void 0) {
|
|
176
|
-
const
|
|
177
|
-
this._mode =
|
|
199
|
+
const o = _(i.series);
|
|
200
|
+
this._mode = o !== f.PieFromFields ? h.Category : h.Fields;
|
|
178
201
|
}
|
|
179
202
|
typeof this.resolveSetup == "function" && this.resolveSetup();
|
|
180
203
|
}
|
|
@@ -188,7 +211,7 @@ class r extends G {
|
|
|
188
211
|
return b(this._config);
|
|
189
212
|
}
|
|
190
213
|
set category(e) {
|
|
191
|
-
(!
|
|
214
|
+
(!F(this._config) || e.trim() !== "") && (E({
|
|
192
215
|
newCategory: e,
|
|
193
216
|
config: this._config,
|
|
194
217
|
layerInfo: this.layerInfo,
|
|
@@ -203,7 +226,7 @@ class r extends G {
|
|
|
203
226
|
return j(this._config);
|
|
204
227
|
}
|
|
205
228
|
set numericFields(e) {
|
|
206
|
-
typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ? B(this.layerInfo.layerFieldsInfo, e) : !0) ? (
|
|
229
|
+
typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ? B(this.layerInfo.layerFieldsInfo, e) : !0) ? (U({
|
|
207
230
|
newNumericFields: e,
|
|
208
231
|
config: this._config,
|
|
209
232
|
layerInfo: this.layerInfo,
|
|
@@ -215,10 +238,10 @@ class r extends G {
|
|
|
215
238
|
* Aggregation type for the pie chart.
|
|
216
239
|
*/
|
|
217
240
|
get aggregationType() {
|
|
218
|
-
return
|
|
241
|
+
return K(this._config, this._mode);
|
|
219
242
|
}
|
|
220
243
|
set aggregationType(e) {
|
|
221
|
-
|
|
244
|
+
$({
|
|
222
245
|
newAggregationType: e,
|
|
223
246
|
config: this._config,
|
|
224
247
|
layerInfo: this.layerInfo,
|
|
@@ -230,10 +253,10 @@ class r extends G {
|
|
|
230
253
|
* Gets the sort order for the pie chart.
|
|
231
254
|
*/
|
|
232
255
|
getSortOrder() {
|
|
233
|
-
return
|
|
256
|
+
return Q(this._config, this._mode);
|
|
234
257
|
}
|
|
235
258
|
setSortOrder(e, i) {
|
|
236
|
-
|
|
259
|
+
Z({
|
|
237
260
|
newSortOrderKind: e,
|
|
238
261
|
config: this._config,
|
|
239
262
|
orderByList: i
|
|
@@ -268,17 +291,17 @@ class r extends G {
|
|
|
268
291
|
*/
|
|
269
292
|
async getCustomSortValues() {
|
|
270
293
|
const e = b(this._config), i = _(this._config.series);
|
|
271
|
-
let
|
|
272
|
-
return i ===
|
|
294
|
+
let o = [];
|
|
295
|
+
return i === f.PieFromFields ? o = this.numericFields : e.trim() !== "" && i === f.PieFromCategory && (o = await R({
|
|
273
296
|
category: e,
|
|
274
297
|
config: this._config,
|
|
275
298
|
layerInfo: this.layerInfo
|
|
276
|
-
})),
|
|
299
|
+
})), o;
|
|
277
300
|
}
|
|
278
301
|
moveCustomSortValuesInOrderByList(e, i) {
|
|
279
|
-
const
|
|
280
|
-
|
|
281
|
-
values:
|
|
302
|
+
const o = O(this._config, this._mode), [l] = o.splice(e, 1);
|
|
303
|
+
o.splice(i, 0, l), L({
|
|
304
|
+
values: o,
|
|
282
305
|
config: this._config,
|
|
283
306
|
mode: this._mode
|
|
284
307
|
});
|
|
@@ -290,10 +313,10 @@ class r extends G {
|
|
|
290
313
|
* Ticks symbol connecting slices to labels.
|
|
291
314
|
*/
|
|
292
315
|
get ticksSymbol() {
|
|
293
|
-
return
|
|
316
|
+
return je(this._config);
|
|
294
317
|
}
|
|
295
318
|
set ticksSymbol(e) {
|
|
296
|
-
|
|
319
|
+
Ue(e, this._config);
|
|
297
320
|
}
|
|
298
321
|
// ---------------------------------------------------------------------------------------------
|
|
299
322
|
// #region Slices Props
|
|
@@ -302,7 +325,7 @@ class r extends G {
|
|
|
302
325
|
* Array of slices for the pie chart.
|
|
303
326
|
*/
|
|
304
327
|
get slices() {
|
|
305
|
-
return
|
|
328
|
+
return Ye(this._config);
|
|
306
329
|
}
|
|
307
330
|
set slices(e) {
|
|
308
331
|
N(e, this._config);
|
|
@@ -320,55 +343,55 @@ class r extends G {
|
|
|
320
343
|
* Slice grouping configuration for the pie chart.
|
|
321
344
|
*/
|
|
322
345
|
get sliceGrouping() {
|
|
323
|
-
return
|
|
346
|
+
return Je(this._config);
|
|
324
347
|
}
|
|
325
348
|
set sliceGrouping(e) {
|
|
326
|
-
|
|
349
|
+
x(e, this._config);
|
|
327
350
|
}
|
|
328
351
|
/**
|
|
329
352
|
* Inner radius size for the pie chart.
|
|
330
353
|
*/
|
|
331
354
|
get innerRadiusSize() {
|
|
332
|
-
return
|
|
355
|
+
return ne(this._config) ?? 0;
|
|
333
356
|
}
|
|
334
357
|
set innerRadiusSize(e) {
|
|
335
|
-
|
|
358
|
+
ge(e, this._config);
|
|
336
359
|
}
|
|
337
360
|
/**
|
|
338
361
|
* Threshold below which slices will be grouped.
|
|
339
362
|
*/
|
|
340
363
|
get groupingThreshold() {
|
|
341
|
-
return
|
|
364
|
+
return I(this._config) ?? 0;
|
|
342
365
|
}
|
|
343
366
|
set groupingThreshold(e) {
|
|
344
|
-
|
|
367
|
+
Xe(e, this._config);
|
|
345
368
|
}
|
|
346
369
|
/**
|
|
347
370
|
* Character limit for the slice labels.
|
|
348
371
|
*/
|
|
349
372
|
get labelCharacterLimit() {
|
|
350
|
-
return
|
|
373
|
+
return ce(this._config) ?? null;
|
|
351
374
|
}
|
|
352
375
|
set labelCharacterLimit(e) {
|
|
353
|
-
|
|
376
|
+
pe(e, this._config);
|
|
354
377
|
}
|
|
355
378
|
/**
|
|
356
379
|
* Number of decimal places to display in the slice values.
|
|
357
380
|
*/
|
|
358
381
|
get decimalPlaces() {
|
|
359
|
-
return
|
|
382
|
+
return Ge(this._config) ?? 1;
|
|
360
383
|
}
|
|
361
384
|
set decimalPlaces(e) {
|
|
362
|
-
|
|
385
|
+
ke(e, this._config);
|
|
363
386
|
}
|
|
364
387
|
/**
|
|
365
388
|
* Display type for the pie chart slices. Specifies whether to display the slices as a percentage, value, or both.
|
|
366
389
|
*/
|
|
367
390
|
get displayType() {
|
|
368
|
-
return
|
|
391
|
+
return xe(this._config);
|
|
369
392
|
}
|
|
370
393
|
set displayType(e) {
|
|
371
|
-
|
|
394
|
+
Ie(e, this._config);
|
|
372
395
|
}
|
|
373
396
|
// ---------------------------------------------------------------------------------------------
|
|
374
397
|
// #region Protected methods
|
|
@@ -386,7 +409,7 @@ class r extends G {
|
|
|
386
409
|
* @param sliceIndex - The index of the slice.
|
|
387
410
|
*/
|
|
388
411
|
getOriginalSliceName(e) {
|
|
389
|
-
return
|
|
412
|
+
return Ke(e, this._config);
|
|
390
413
|
}
|
|
391
414
|
/**
|
|
392
415
|
* Gets the name of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
|
|
@@ -394,10 +417,10 @@ class r extends G {
|
|
|
394
417
|
* @param sliceIndex - The index of the slice.
|
|
395
418
|
*/
|
|
396
419
|
getSliceName(e) {
|
|
397
|
-
return
|
|
420
|
+
return $e(e, this._config);
|
|
398
421
|
}
|
|
399
422
|
setSliceName(e, i) {
|
|
400
|
-
|
|
423
|
+
Qe(e, i, this._config);
|
|
401
424
|
}
|
|
402
425
|
/**
|
|
403
426
|
* Gets the color of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
|
|
@@ -405,25 +428,25 @@ class r extends G {
|
|
|
405
428
|
* @param sliceIndex - The index of the slice.
|
|
406
429
|
*/
|
|
407
430
|
getSliceColor(e) {
|
|
408
|
-
return
|
|
431
|
+
return Ze(e, this._config);
|
|
409
432
|
}
|
|
410
433
|
setSliceColor(e, i) {
|
|
411
|
-
|
|
434
|
+
qe(e, i, this._config);
|
|
412
435
|
}
|
|
413
436
|
/**
|
|
414
437
|
* Order of the slice array by returning an array of slice ids
|
|
415
438
|
*/
|
|
416
439
|
get orderOfSlices() {
|
|
417
|
-
return
|
|
440
|
+
return He(this._config);
|
|
418
441
|
}
|
|
419
442
|
set orderOfSlices(e) {
|
|
420
|
-
e !== void 0 &&
|
|
443
|
+
e !== void 0 && C(e, this._config);
|
|
421
444
|
}
|
|
422
445
|
moveSeries(e, i) {
|
|
423
|
-
const
|
|
424
|
-
if (
|
|
425
|
-
const [
|
|
426
|
-
|
|
446
|
+
const o = this.orderOfSlices;
|
|
447
|
+
if (o !== void 0) {
|
|
448
|
+
const [l] = o.splice(e, 1);
|
|
449
|
+
o.splice(i, 0, l), C(o, this._config);
|
|
427
450
|
}
|
|
428
451
|
}
|
|
429
452
|
/**
|
|
@@ -432,7 +455,7 @@ class r extends G {
|
|
|
432
455
|
* @param sliceIndex - The index of the slice.
|
|
433
456
|
*/
|
|
434
457
|
getSliceId(e) {
|
|
435
|
-
return
|
|
458
|
+
return tt(e, this._config);
|
|
436
459
|
}
|
|
437
460
|
/**
|
|
438
461
|
* Gets the slice index for a given slice id. If the `sliceId` is not found, this function will return `undefined`.
|
|
@@ -440,16 +463,16 @@ class r extends G {
|
|
|
440
463
|
* @param sliceId - The id of the slice.
|
|
441
464
|
*/
|
|
442
465
|
getSliceIndex(e) {
|
|
443
|
-
return
|
|
466
|
+
return it(e, this._config);
|
|
444
467
|
}
|
|
445
468
|
/**
|
|
446
469
|
* Gets the length of the slices array.
|
|
447
470
|
*/
|
|
448
471
|
getSlicesLength() {
|
|
449
|
-
return
|
|
472
|
+
return st(this._config);
|
|
450
473
|
}
|
|
451
474
|
resetSlices() {
|
|
452
|
-
|
|
475
|
+
et(this._config);
|
|
453
476
|
}
|
|
454
477
|
/**
|
|
455
478
|
* Returns whether the series styling is able to be reset.
|
|
@@ -457,10 +480,10 @@ class r extends G {
|
|
|
457
480
|
resetAvailable() {
|
|
458
481
|
const e = !this.colorMatch;
|
|
459
482
|
let i = !1;
|
|
460
|
-
const
|
|
461
|
-
for (let
|
|
462
|
-
const
|
|
463
|
-
if (
|
|
483
|
+
const o = this.slices?.length ?? 0;
|
|
484
|
+
for (let l = 0; l < o; l += 1) {
|
|
485
|
+
const n = this.getOriginalSliceName(l), g = this.getSliceName(l);
|
|
486
|
+
if (n !== void 0 && n?.toString() !== g?.toString()) {
|
|
464
487
|
i = !0;
|
|
465
488
|
break;
|
|
466
489
|
}
|
|
@@ -471,28 +494,40 @@ class r extends G {
|
|
|
471
494
|
* Visibility of the ticks.
|
|
472
495
|
*/
|
|
473
496
|
get ticksVisibility() {
|
|
474
|
-
return
|
|
497
|
+
return Re(this._config);
|
|
475
498
|
}
|
|
476
499
|
set ticksVisibility(e) {
|
|
477
|
-
|
|
500
|
+
Ee(e, this._config);
|
|
478
501
|
}
|
|
479
502
|
/**
|
|
480
503
|
* Start angle of the pie chart.
|
|
481
504
|
*/
|
|
482
505
|
get startAngle() {
|
|
483
|
-
return
|
|
506
|
+
return D(this._config);
|
|
484
507
|
}
|
|
485
508
|
set startAngle(e) {
|
|
486
|
-
|
|
509
|
+
de(e, this._config);
|
|
487
510
|
}
|
|
488
511
|
/**
|
|
489
512
|
* End angle of the pie chart.
|
|
490
513
|
*/
|
|
491
514
|
get endAngle() {
|
|
492
|
-
return
|
|
515
|
+
return D(this._config);
|
|
493
516
|
}
|
|
494
517
|
set endAngle(e) {
|
|
495
|
-
|
|
518
|
+
ue(e, this._config);
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* Whether to display the category on the data label.
|
|
522
|
+
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
523
|
+
*/
|
|
524
|
+
get displayCategoryOnDataLabel() {
|
|
525
|
+
return he(this._config);
|
|
526
|
+
}
|
|
527
|
+
set displayCategoryOnDataLabel(e) {
|
|
528
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
529
|
+
this._config.series[0].displayCategoryOnDataLabel = e, this.emitConfigUpdate("displayCategoryOnDataLabel");
|
|
530
|
+
});
|
|
496
531
|
}
|
|
497
532
|
/**
|
|
498
533
|
* Display category value on tooltip setting from the chart config.
|
|
@@ -500,18 +535,42 @@ class r extends G {
|
|
|
500
535
|
* **Note**: If the setting is not found in the config, it will default to `true`.
|
|
501
536
|
*/
|
|
502
537
|
get displayCategoryValueOnTooltip() {
|
|
503
|
-
return
|
|
538
|
+
return fe(this._config);
|
|
504
539
|
}
|
|
505
540
|
set displayCategoryValueOnTooltip(e) {
|
|
506
541
|
this._config.series[0].displayCategoryOnTooltip = e;
|
|
507
542
|
}
|
|
543
|
+
/**
|
|
544
|
+
* Whether to display the numeric value on the data label.
|
|
545
|
+
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
546
|
+
*/
|
|
547
|
+
get displayNumericValueOnDataLabel() {
|
|
548
|
+
return ye(this._config);
|
|
549
|
+
}
|
|
550
|
+
set displayNumericValueOnDataLabel(e) {
|
|
551
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
552
|
+
this._config.series[0].displayNumericValueOnDataLabel = e, this.emitConfigUpdate("displayNumericValueOnDataLabel");
|
|
553
|
+
});
|
|
554
|
+
}
|
|
555
|
+
/**
|
|
556
|
+
* Whether to display the percentage on the data label.
|
|
557
|
+
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
558
|
+
*/
|
|
559
|
+
get displayPercentageOnDataLabel() {
|
|
560
|
+
return me(this._config);
|
|
561
|
+
}
|
|
562
|
+
set displayPercentageOnDataLabel(e) {
|
|
563
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
564
|
+
this._config.series[0].displayPercentageOnDataLabel = e, this.emitConfigUpdate("displayPercentageOnDataLabel");
|
|
565
|
+
});
|
|
566
|
+
}
|
|
508
567
|
/**
|
|
509
568
|
* Display numeric value on tooltip setting from the chart config.
|
|
510
569
|
*
|
|
511
570
|
* **Note**: If the setting is not found in the config, it will default to `true`.
|
|
512
571
|
*/
|
|
513
572
|
get displayNumericValueOnTooltip() {
|
|
514
|
-
return
|
|
573
|
+
return Se(this._config);
|
|
515
574
|
}
|
|
516
575
|
set displayNumericValueOnTooltip(e) {
|
|
517
576
|
this._config.series[0].displayNumericValueOnTooltip = e;
|
|
@@ -522,82 +581,82 @@ class r extends G {
|
|
|
522
581
|
* **Note**: If the setting is not found in the config, it will default to `true`.
|
|
523
582
|
*/
|
|
524
583
|
get displayPercentageOnTooltip() {
|
|
525
|
-
return
|
|
584
|
+
return _e(this._config);
|
|
526
585
|
}
|
|
527
586
|
set displayPercentageOnTooltip(e) {
|
|
528
|
-
|
|
587
|
+
be(e, this._config);
|
|
529
588
|
}
|
|
530
589
|
/**
|
|
531
590
|
* Prefix of the values of the slices.
|
|
532
591
|
*/
|
|
533
592
|
get valuePrefix() {
|
|
534
|
-
return
|
|
593
|
+
return Oe(this._config);
|
|
535
594
|
}
|
|
536
595
|
set valuePrefix(e) {
|
|
537
|
-
|
|
596
|
+
Le(e, this._config);
|
|
538
597
|
}
|
|
539
598
|
/**
|
|
540
599
|
* Suffix of the values of the slice.
|
|
541
600
|
*/
|
|
542
601
|
get valueSuffix() {
|
|
543
|
-
return
|
|
602
|
+
return De(this._config);
|
|
544
603
|
}
|
|
545
604
|
set valueSuffix(e) {
|
|
546
|
-
|
|
605
|
+
Ce(e, this._config);
|
|
547
606
|
}
|
|
548
607
|
/**
|
|
549
608
|
* Prefix of the percentages of the slices.
|
|
550
609
|
*/
|
|
551
610
|
get percentagePrefix() {
|
|
552
|
-
return
|
|
611
|
+
return ve(this._config);
|
|
553
612
|
}
|
|
554
613
|
set percentagePrefix(e) {
|
|
555
|
-
|
|
614
|
+
Pe(e, this._config);
|
|
556
615
|
}
|
|
557
616
|
/**
|
|
558
617
|
* Suffix of the percentages of the slices.
|
|
559
618
|
*/
|
|
560
619
|
get percentageSuffix() {
|
|
561
|
-
return
|
|
620
|
+
return Te(this._config);
|
|
562
621
|
}
|
|
563
622
|
set percentageSuffix(e) {
|
|
564
|
-
|
|
623
|
+
Ve(e, this._config);
|
|
565
624
|
}
|
|
566
625
|
/**
|
|
567
626
|
* Offset for the data labels.
|
|
568
627
|
*/
|
|
569
628
|
get dataLabelsOffset() {
|
|
570
|
-
return
|
|
629
|
+
return Ae(this._config);
|
|
571
630
|
}
|
|
572
631
|
set dataLabelsOffset(e) {
|
|
573
|
-
|
|
632
|
+
We(e, this._config);
|
|
574
633
|
}
|
|
575
634
|
/**
|
|
576
635
|
* Align data labels setting for the pie chart.
|
|
577
636
|
*/
|
|
578
637
|
get alignDataLabels() {
|
|
579
|
-
return
|
|
638
|
+
return Ne(this._config);
|
|
580
639
|
}
|
|
581
640
|
set alignDataLabels(e) {
|
|
582
|
-
|
|
641
|
+
Me(e, this._config);
|
|
583
642
|
}
|
|
584
643
|
/**
|
|
585
644
|
* Setting for placing the data labels inside of the slices.
|
|
586
645
|
*/
|
|
587
646
|
get dataLabelsInside() {
|
|
588
|
-
return
|
|
647
|
+
return Fe(this._config);
|
|
589
648
|
}
|
|
590
649
|
set dataLabelsInside(e) {
|
|
591
|
-
|
|
650
|
+
we(e, this._config);
|
|
592
651
|
}
|
|
593
652
|
/**
|
|
594
653
|
* Optimize data labels overlapping setting for the pie chart.
|
|
595
654
|
*/
|
|
596
655
|
get optimizeDataLabelsOverlapping() {
|
|
597
|
-
return
|
|
656
|
+
return ze(this._config);
|
|
598
657
|
}
|
|
599
658
|
set optimizeDataLabelsOverlapping(e) {
|
|
600
|
-
|
|
659
|
+
Be(e, this._config);
|
|
601
660
|
}
|
|
602
661
|
// ---------------------------------------------------------------------------------------------
|
|
603
662
|
// #region General Props
|
|
@@ -606,7 +665,7 @@ class r extends G {
|
|
|
606
665
|
* Generate the proper chart title given the current config.
|
|
607
666
|
*/
|
|
608
667
|
generateChartTitle() {
|
|
609
|
-
return
|
|
668
|
+
return q({
|
|
610
669
|
config: this._config,
|
|
611
670
|
layerInfo: this.layerInfo,
|
|
612
671
|
commonStrings: this.commonStrings,
|
|
@@ -614,112 +673,112 @@ class r extends G {
|
|
|
614
673
|
});
|
|
615
674
|
}
|
|
616
675
|
}
|
|
617
|
-
|
|
676
|
+
a([
|
|
618
677
|
s
|
|
619
678
|
], r.prototype, "category");
|
|
620
|
-
|
|
679
|
+
a([
|
|
621
680
|
s
|
|
622
681
|
], r.prototype, "numericFields");
|
|
623
|
-
|
|
682
|
+
a([
|
|
624
683
|
s
|
|
625
684
|
], r.prototype, "aggregationType");
|
|
626
|
-
|
|
685
|
+
a([
|
|
627
686
|
s
|
|
628
687
|
], r.prototype, "setSortOrder");
|
|
629
|
-
|
|
688
|
+
a([
|
|
630
689
|
s
|
|
631
690
|
], r.prototype, "orderByList");
|
|
632
|
-
|
|
691
|
+
a([
|
|
633
692
|
s
|
|
634
693
|
], r.prototype, "mode");
|
|
635
|
-
|
|
694
|
+
a([
|
|
636
695
|
s
|
|
637
696
|
], r.prototype, "moveCustomSortValuesInOrderByList");
|
|
638
|
-
|
|
697
|
+
a([
|
|
639
698
|
s
|
|
640
699
|
], r.prototype, "ticksSymbol");
|
|
641
|
-
|
|
700
|
+
a([
|
|
642
701
|
s
|
|
643
702
|
], r.prototype, "slices");
|
|
644
|
-
|
|
703
|
+
a([
|
|
645
704
|
s
|
|
646
705
|
], r.prototype, "groupedSliceIds");
|
|
647
|
-
|
|
706
|
+
a([
|
|
648
707
|
s
|
|
649
708
|
], r.prototype, "sliceGrouping");
|
|
650
|
-
|
|
709
|
+
a([
|
|
651
710
|
s
|
|
652
711
|
], r.prototype, "innerRadiusSize");
|
|
653
|
-
|
|
712
|
+
a([
|
|
654
713
|
s
|
|
655
714
|
], r.prototype, "groupingThreshold");
|
|
656
|
-
|
|
715
|
+
a([
|
|
657
716
|
s
|
|
658
717
|
], r.prototype, "labelCharacterLimit");
|
|
659
|
-
|
|
718
|
+
a([
|
|
660
719
|
s
|
|
661
720
|
], r.prototype, "decimalPlaces");
|
|
662
|
-
|
|
721
|
+
a([
|
|
663
722
|
s
|
|
664
723
|
], r.prototype, "displayType");
|
|
665
|
-
|
|
724
|
+
a([
|
|
666
725
|
s
|
|
667
726
|
], r.prototype, "setSliceName");
|
|
668
|
-
|
|
727
|
+
a([
|
|
669
728
|
s
|
|
670
729
|
], r.prototype, "setSliceColor");
|
|
671
|
-
|
|
730
|
+
a([
|
|
672
731
|
s
|
|
673
732
|
], r.prototype, "orderOfSlices");
|
|
674
|
-
|
|
733
|
+
a([
|
|
675
734
|
s
|
|
676
735
|
], r.prototype, "moveSeries");
|
|
677
|
-
|
|
736
|
+
a([
|
|
678
737
|
s
|
|
679
738
|
], r.prototype, "resetSlices");
|
|
680
|
-
|
|
739
|
+
a([
|
|
681
740
|
s
|
|
682
741
|
], r.prototype, "ticksVisibility");
|
|
683
|
-
|
|
742
|
+
a([
|
|
684
743
|
s
|
|
685
744
|
], r.prototype, "startAngle");
|
|
686
|
-
|
|
745
|
+
a([
|
|
687
746
|
s
|
|
688
747
|
], r.prototype, "endAngle");
|
|
689
|
-
|
|
748
|
+
a([
|
|
690
749
|
s
|
|
691
750
|
], r.prototype, "displayCategoryValueOnTooltip");
|
|
692
|
-
|
|
751
|
+
a([
|
|
693
752
|
s
|
|
694
753
|
], r.prototype, "displayNumericValueOnTooltip");
|
|
695
|
-
|
|
754
|
+
a([
|
|
696
755
|
s
|
|
697
756
|
], r.prototype, "displayPercentageOnTooltip");
|
|
698
|
-
|
|
757
|
+
a([
|
|
699
758
|
s
|
|
700
759
|
], r.prototype, "valuePrefix");
|
|
701
|
-
|
|
760
|
+
a([
|
|
702
761
|
s
|
|
703
762
|
], r.prototype, "valueSuffix");
|
|
704
|
-
|
|
763
|
+
a([
|
|
705
764
|
s
|
|
706
765
|
], r.prototype, "percentagePrefix");
|
|
707
|
-
|
|
766
|
+
a([
|
|
708
767
|
s
|
|
709
768
|
], r.prototype, "percentageSuffix");
|
|
710
|
-
|
|
769
|
+
a([
|
|
711
770
|
s
|
|
712
771
|
], r.prototype, "dataLabelsOffset");
|
|
713
|
-
|
|
772
|
+
a([
|
|
714
773
|
s
|
|
715
774
|
], r.prototype, "alignDataLabels");
|
|
716
|
-
|
|
775
|
+
a([
|
|
717
776
|
s
|
|
718
777
|
], r.prototype, "dataLabelsInside");
|
|
719
|
-
|
|
778
|
+
a([
|
|
720
779
|
s
|
|
721
780
|
], r.prototype, "optimizeDataLabelsOverlapping");
|
|
722
|
-
|
|
781
|
+
V(r, [u, G, k, z]);
|
|
723
782
|
export {
|
|
724
783
|
r as PieChartModel
|
|
725
784
|
};
|