@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
package/dist/loader.js
CHANGED
|
@@ -2,9 +2,9 @@ import { r as e } from "./chunks/runtime.js";
|
|
|
2
2
|
import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
5
|
-
v5.0.0-next.
|
|
5
|
+
v5.0.0-next.94 */
|
|
6
6
|
const o = t(e, {
|
|
7
|
-
"arcgis-chart": [() => import("./components/arcgis-chart/customElement.js"), "actionMode,allowUsingObjectIdStat,autoDestroyDisabled,autoDisposeChart,autoInverseDataLabelTextColor,chartIndex,chartLimits:,chartWillRender:,cursorRange,dataLabelFormatter:,disableInteractions,disableTogglingLegendItems,enableBetaFeatures,enableConfiguration,enableResponsiveFeatures,errorPolicy,featureIndex,filterByExtent,filterBySelection,gaugeInnerLabelFormatter:,guideTooltipFormatter:,hideEmptySeries,hideLicenseWatermark,hideLoaderAnimation,ignoreSmoothRenderingLimit,ignoreViewExtent,layer:,layerFieldsChangePolicy,layerFilterChangePolicy,layerItemId,layerRendererChangePolicy,legendPosition,legendValueLabelFormatter:,legendVisibility,loaderColors:,messageOverrides:,model:,nullAsValid,placeholder,queueChartCreation,replaceNoValueCategoryWithZero,returnFeaturesExtent,returnSelectionIndexes,returnSelectionOIDs,rotation,runtimeDataFilters:,secondaryYAxisLabelFormatter:,selectionData:,selectionTheme:,setTimeBinningInfoWhenNotProvided,showUIMessages,syncSelection,syncSelectionsBetweenChartAndLayerViewPolicy,timeZone,tooltipFormatter:,updateSplitBySeries:,useAnimatedCharts,usePopupTemplateFieldsInfo,view:,viewTimeExtentChangePolicy,xAxisLabelFormatter:,yAxisLabelFormatter:;clearSelection,errorAlert,exportAsCSV,exportAsImage,loadModel,notify,refresh,resetZoom,switchSelection"],
|
|
7
|
+
"arcgis-chart": [() => import("./components/arcgis-chart/customElement.js"), "actionMode,allowUsingObjectIdStat,autoDestroyDisabled,autoDisposeChart,autoInverseDataLabelTextColor,chartIndex,chartLimits:,chartWillRender:,cursorRange,dataLabelFormatter:,disableAutoTheming,disableInteractions,disableTogglingLegendItems,enableBetaFeatures,enableConfiguration,enableResponsiveFeatures,errorPolicy,featureIndex,filterByExtent,filterBySelection,gaugeInnerLabelFormatter:,guideTooltipFormatter:,hideEmptySeries,hideLicenseWatermark,hideLoaderAnimation,ignoreSmoothRenderingLimit,ignoreViewExtent,layer:,layerFieldsChangePolicy,layerFilterChangePolicy,layerItemId,layerRendererChangePolicy,legendPosition,legendValueLabelFormatter:,legendVisibility,loaderColors:,messageOverrides:,model:,nullAsValid,placeholder,queueChartCreation,replaceNoValueCategoryWithZero,returnFeaturesExtent,returnSelectionIndexes,returnSelectionOIDs,rotation,runtimeDataFilters:,secondaryYAxisLabelFormatter:,selectionData:,selectionTheme:,setTimeBinningInfoWhenNotProvided,showUIMessages,syncSelection,syncSelectionsBetweenChartAndLayerViewPolicy,timeZone,tooltipFormatter:,updateSplitBySeries:,useAnimatedCharts,usePopupTemplateFieldsInfo,view:,viewTimeExtentChangePolicy,xAxisLabelFormatter:,yAxisLabelFormatter:;clearSelection,errorAlert,exportAsCSV,exportAsImage,loadModel,notify,refresh,resetZoom,switchSelection"],
|
|
8
8
|
"arcgis-charts-action-bar": [() => import("./components/arcgis-charts-action-bar/customElement.js"), "actionBarSelectionMode,chartElement:,chartType,clearSelectionState,clearSelectionTitle,clearSelectionToggle,disableCSVExportForChartTypes:,editChartState,editChartTitle,editChartToggle,expanded,exportActionState,exportAsCSVState,exportAsCSVTitle,exportAsImageState,exportAsImageTitle,filterByExtentState,filterByExtentTitle,filterByExtentToggle,filterBySelectionState,filterBySelectionTitle,filterBySelectionToggle,forceDisableActions,fullExtentState,fullExtentTitle,fullExtentToggle,hiddenActions:,legendState,legendTitle,legendToggle,messageOverrides:,rotateChartState,rotateChartTitle,rotateChartToggle,selectionState,selectionTitle,selectionToggle,switchSelectionState,switchSelectionTitle,switchSelectionToggle,zoomState,zoomTitle,zoomToggle"],
|
|
9
9
|
"arcgis-charts-config-axes": [() => import("./components/arcgis-charts-config-axes/customElement.js"), "calculatedDataMinMaxBounds:,calculatedMinMaxBounds:,messageOverrides:,model:,open,showEnableXLogOption,showEnableYLogOption,showMaxXBoundOption,showMaxYBoundOption,showMinXBoundOption,showMinYBoundOption"],
|
|
10
10
|
"arcgis-charts-config-axis": [() => import("./components/arcgis-charts-config-axis/customElement.js"), "axisTitle,dataMaxValue,dataMinValue,initialMaxBound,initialMinBound,isXAxis,maxBoundMaxLimit,maxBoundMinLimit,messageOverrides:,minBoundMaxLimit,minBoundMinLimit,model:,showEnableLogOption,showMaxBoundOption,showMinBoundOption"],
|
|
@@ -6,6 +6,11 @@ export declare abstract class ModelWithBasicXAxis extends ChartModel {
|
|
|
6
6
|
*/
|
|
7
7
|
get xAxisTitleText(): string;
|
|
8
8
|
set xAxisTitleText(newXAxisTitleText: string);
|
|
9
|
+
/**
|
|
10
|
+
* Whether the x-axis labels are visible.
|
|
11
|
+
*/
|
|
12
|
+
get xAxisLabelsVisibility(): boolean;
|
|
13
|
+
set xAxisLabelsVisibility(newXAxisLabelsVisibility: boolean);
|
|
9
14
|
/**
|
|
10
15
|
* Whether the x-axis title is visible.
|
|
11
16
|
* true: X-axis title is visible.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { CategoryFormatOptions, DateTimeFormatOptions, ISimpleLineSymbol, NumberFormatOptions, WebChartAxisScrollBar, WebChartCursorCrosshair, WebChartLabelBehavior, WebChartTextSymbol } from '../../spec';
|
|
1
2
|
import { XYChartTypes } from '../../utils';
|
|
2
|
-
import { CategoryFormatOptions, DateTimeFormatOptions, NumberFormatOptions, WebChartAxisScrollBar, WebChartTextSymbol, ISimpleLineSymbol, WebChartLabelBehavior, WebChartCursorCrosshair } from '../../spec';
|
|
3
3
|
import { ModelWithBasicXAxis } from './model-with-basic-x-axis';
|
|
4
4
|
export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
5
5
|
protected _chartType: XYChartTypes;
|
|
@@ -17,6 +17,32 @@ export declare abstract class ModelWithMultiAxes extends ModelWithBasicXAxis {
|
|
|
17
17
|
* @param axisIndex - The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
18
18
|
*/
|
|
19
19
|
setAxisTitleText(titleText: string, axisIndex: number): void;
|
|
20
|
+
/**
|
|
21
|
+
* Gets the visibility of the specified axis.
|
|
22
|
+
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
23
|
+
* @returns {boolean}
|
|
24
|
+
*/
|
|
25
|
+
getAxisVisibility(axisIndex: number): boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Sets the visibility of the specified axis.
|
|
28
|
+
* **Note:** The visibility for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
29
|
+
* @param {boolean} isVisible The visibility state for the axis.
|
|
30
|
+
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
31
|
+
*/
|
|
32
|
+
setAxisVisibility(isVisible: boolean, axisIndex: number): void;
|
|
33
|
+
/**
|
|
34
|
+
* Gets the visibility of the specified axis labels.
|
|
35
|
+
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
36
|
+
* @returns {boolean}
|
|
37
|
+
*/
|
|
38
|
+
getAxisLabelsVisibility(axisIndex: number): boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Sets the visibility of the specified axis labels.
|
|
41
|
+
* **Note:** The labels visibility for the second Y-axis (axisIndex 2) will only be applied if there is a second Y-axis in the chart. To enable the second Y-axis, use the `setAssignToSecondValueAxis(true, 1)` method to assign a series to the second Y-axis.
|
|
42
|
+
* @param {boolean} isVisible The visibility state for the axis labels.
|
|
43
|
+
* @param {number} axisIndex The index of the axis (0 for X-axis, 1 for Y-axis, 2 for second Y-axis).
|
|
44
|
+
*/
|
|
45
|
+
setAxisLabelsVisibility(isVisible: boolean, axisIndex: number): void;
|
|
20
46
|
/**
|
|
21
47
|
* Gets the visibility of the specified axis title.
|
|
22
48
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChartConfig } from '../../../utils';
|
|
2
1
|
import { ISimpleLineSymbol, WebChartAxisScrollBar, WebChartTextSymbol } from '../../../spec';
|
|
2
|
+
import { ChartConfig } from '../../../utils';
|
|
3
3
|
/**
|
|
4
4
|
* Gets the axis title symbol for the specified axis index from the chart config.
|
|
5
5
|
*
|
|
@@ -74,6 +74,34 @@ export declare const getAxisTitleText: (axisIndex: number, config: ChartConfig)
|
|
|
74
74
|
* @param config - The chart config object
|
|
75
75
|
*/
|
|
76
76
|
export declare const setAxisTitleText: (title: string, axisIndex: number, config: ChartConfig) => void;
|
|
77
|
+
/**
|
|
78
|
+
* Gets the visibility of the axis
|
|
79
|
+
*
|
|
80
|
+
* @param axisIndex - The index of the axis
|
|
81
|
+
* @param config - The chart config object
|
|
82
|
+
*/
|
|
83
|
+
export declare const getAxisVisibility: (axisIndex: number, config: ChartConfig) => boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Sets the visibility of the axis
|
|
86
|
+
*
|
|
87
|
+
* @param visibility - Whether or not to show the axis
|
|
88
|
+
* @param axisIndex - The index of the axis
|
|
89
|
+
* @param config - The chart config object
|
|
90
|
+
*/
|
|
91
|
+
export declare const setAxisVisibility: (visibility: boolean, axisIndex: number, config: ChartConfig) => void;
|
|
92
|
+
/**
|
|
93
|
+
* Gets the visibility of the axis labels
|
|
94
|
+
* @param axisIndex - The index of the axis
|
|
95
|
+
* @param config - The chart config object
|
|
96
|
+
*/
|
|
97
|
+
export declare const getAxisLabelsVisibility: (axisIndex: number, config: ChartConfig) => boolean;
|
|
98
|
+
/**
|
|
99
|
+
* Sets the visibility of the axis labels
|
|
100
|
+
* @param visibility - Whether or not to show the axis labels
|
|
101
|
+
* @param axisIndex - The index of the axis
|
|
102
|
+
* @param config - The chart config object
|
|
103
|
+
*/
|
|
104
|
+
export declare const setAxisLabelsVisibility: (visibility: boolean, axisIndex: number, config: ChartConfig) => void;
|
|
77
105
|
/**
|
|
78
106
|
* Gets the visibility of the axis title.
|
|
79
107
|
*
|
|
@@ -3,6 +3,8 @@ import { ChartConfig } from '../../../utils';
|
|
|
3
3
|
import { GuideOrientation } from '../../interfaces/common';
|
|
4
4
|
/**
|
|
5
5
|
* Gets the guide labels text symbol from the chart config.
|
|
6
|
+
* TODO: Need to revisit how this is used. This function returns the first label found in
|
|
7
|
+
* the config, while each guide label could be different.
|
|
6
8
|
* @param config
|
|
7
9
|
*/
|
|
8
10
|
export declare const getGuideLabelsSymbol: (config: ChartConfig) => WebChartTextSymbol | undefined;
|
|
@@ -41,7 +41,18 @@ export declare abstract class PieChartLegendModel extends ModelWithLegend {
|
|
|
41
41
|
*
|
|
42
42
|
* @param labelMaxWidth - The maximum width in pixel for the legend item labels
|
|
43
43
|
*/
|
|
44
|
-
setLabelMaxWidth(labelMaxWidth: number): void;
|
|
44
|
+
setLabelMaxWidth(labelMaxWidth: number | undefined): void;
|
|
45
|
+
/**
|
|
46
|
+
* The maximum width in pixel for the legend value labels.
|
|
47
|
+
* @returns {number}
|
|
48
|
+
*/
|
|
49
|
+
get valueLabelMaxWidth(): number;
|
|
50
|
+
set valueLabelMaxWidth(valueLabelMaxWidth: number | undefined);
|
|
51
|
+
/**
|
|
52
|
+
* Whether to display the category in the legend.
|
|
53
|
+
*/
|
|
54
|
+
get displayCategory(): boolean;
|
|
55
|
+
set displayCategory(displayCategory: boolean);
|
|
45
56
|
}
|
|
46
57
|
export interface PieChartLegendModel extends ModelWithLegend {
|
|
47
58
|
}
|
|
@@ -202,6 +202,12 @@ export declare class PieChartModel extends ChartModel {
|
|
|
202
202
|
*/
|
|
203
203
|
get endAngle(): number | null | undefined;
|
|
204
204
|
set endAngle(angle: number | null | undefined);
|
|
205
|
+
/**
|
|
206
|
+
* Whether to display the category on the data label.
|
|
207
|
+
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
208
|
+
*/
|
|
209
|
+
get displayCategoryOnDataLabel(): boolean;
|
|
210
|
+
set displayCategoryOnDataLabel(display: boolean);
|
|
205
211
|
/**
|
|
206
212
|
* Display category value on tooltip setting from the chart config.
|
|
207
213
|
*
|
|
@@ -209,6 +215,18 @@ export declare class PieChartModel extends ChartModel {
|
|
|
209
215
|
*/
|
|
210
216
|
get displayCategoryValueOnTooltip(): boolean;
|
|
211
217
|
set displayCategoryValueOnTooltip(display: boolean);
|
|
218
|
+
/**
|
|
219
|
+
* Whether to display the numeric value on the data label.
|
|
220
|
+
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
221
|
+
*/
|
|
222
|
+
get displayNumericValueOnDataLabel(): boolean;
|
|
223
|
+
set displayNumericValueOnDataLabel(display: boolean);
|
|
224
|
+
/**
|
|
225
|
+
* Whether to display the percentage on the data label.
|
|
226
|
+
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
227
|
+
*/
|
|
228
|
+
get displayPercentageOnDataLabel(): boolean;
|
|
229
|
+
set displayPercentageOnDataLabel(display: boolean);
|
|
212
230
|
/**
|
|
213
231
|
* Display numeric value on tooltip setting from the chart config.
|
|
214
232
|
*
|
|
@@ -66,4 +66,16 @@ export declare const getLabelMaxWidth: (config: ChartConfig) => number;
|
|
|
66
66
|
* @param labelMaxWidth - The maximum width in pixel for the legend item labels
|
|
67
67
|
* @param config - The chart configuration object
|
|
68
68
|
*/
|
|
69
|
-
export declare const setLabelMaxWidth: (labelMaxWidth: number, config: ChartConfig) => void;
|
|
69
|
+
export declare const setLabelMaxWidth: (labelMaxWidth: number | undefined, config: ChartConfig) => void;
|
|
70
|
+
/**
|
|
71
|
+
* Gets the maximum width in pixel for the legend value labels.
|
|
72
|
+
* @param config The chart configuration object
|
|
73
|
+
* @returns {number}
|
|
74
|
+
*/
|
|
75
|
+
export declare const getValueLabelMaxWidth: (config: ChartConfig) => number;
|
|
76
|
+
/**
|
|
77
|
+
* Sets the maximum width in pixel for the legend value labels.
|
|
78
|
+
* @param valueLabelMaxWidth The maximum width in pixel for the legend value labels
|
|
79
|
+
* @param config The chart configuration object
|
|
80
|
+
*/
|
|
81
|
+
export declare const setValueLabelMaxWidth: (valueLabelMaxWidth: number | undefined, config: ChartConfig) => void;
|
|
@@ -70,6 +70,32 @@ export declare const getDisplayCategoryOnDataLabel: (config: ChartConfig<typeof
|
|
|
70
70
|
* @param config - The chart configuration.
|
|
71
71
|
*/
|
|
72
72
|
export declare const setDisplayCategoryOnDataLabel: (display: boolean, config: ChartConfig<typeof ModelTypes.PieChart>) => void;
|
|
73
|
+
/**
|
|
74
|
+
* Gets the display numeric value on data label setting from the chart config.
|
|
75
|
+
* @param config The chart configuration.
|
|
76
|
+
* @returns {boolean}
|
|
77
|
+
* **Note:** If the setting is not found in the config, it will default to `true`.
|
|
78
|
+
*/
|
|
79
|
+
export declare const getDisplayNumericValueOnDataLabel: (config: ChartConfig<typeof ModelTypes.PieChart>) => boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Sets the display numeric value on data label setting in the chart config.
|
|
82
|
+
* @param display The boolean value to set the displayNumericValueOnDataLabel to
|
|
83
|
+
* @param config The chart configuration.
|
|
84
|
+
*/
|
|
85
|
+
export declare const setDisplayNumericValueOnDataLabel: (display: boolean, config: ChartConfig<typeof ModelTypes.PieChart>) => void;
|
|
86
|
+
/**
|
|
87
|
+
* Gets whether the percentage is displayed on the data label.
|
|
88
|
+
* @param config The chart configuration.
|
|
89
|
+
* @returns {boolean}
|
|
90
|
+
* **Note:** If the setting is not found in the config, it will default to `false`.
|
|
91
|
+
*/
|
|
92
|
+
export declare const getDisplayPercentageOnDataLabel: (config: ChartConfig<typeof ModelTypes.PieChart>) => boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Whether to display the percentage on the data label.
|
|
95
|
+
* @param display The boolean value to set the displayPercentageOnDataLabel to
|
|
96
|
+
* @param config The chart configuration.
|
|
97
|
+
*/
|
|
98
|
+
export declare const setDisplayPercentageOnDataLabel: (display: boolean, config: ChartConfig<typeof ModelTypes.PieChart>) => void;
|
|
73
99
|
/**
|
|
74
100
|
* Gets the display numeric value on tooltip setting from the chart config.
|
|
75
101
|
*
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
+
import { BarChartModel, BoxPlotModel, ChartModel, ComboBarLineChartModel, GaugeModel, HistogramModel, LineChartModel, ModelOfType, ModelTypes, PieChartLegendModel, PieChartModel, ScatterplotModel, SerialChartModel } from '..';
|
|
1
2
|
import { WebChart } from '../../spec';
|
|
2
|
-
import {
|
|
3
|
-
import { ModelWithBasicXAxis, ModelWithDataLabels, ModelWithGuides, ModelWithLegend, ModelWithRotation, ModelWithTemporalBinning, ModelWithXGuides, ModelWithYGuides
|
|
3
|
+
import { HeatChartModel } from '../heat-chart-model/heat-chart-model';
|
|
4
|
+
import { ModelWithBaselineStacking, ModelWithBasicXAxis, ModelWithColorMatch, ModelWithDataLabels, ModelWithGuides, ModelWithLegend, ModelWithLineMarkerStyling, ModelWithMultiAxes, ModelWithRotation, ModelWithTemporalBinning, ModelWithTooltips, ModelWithXGuides, ModelWithYGuides } from '../mixins/index';
|
|
4
5
|
/**
|
|
5
6
|
* Determines if the provided model or config is a `ChartModel`.
|
|
6
7
|
* @param model The model to check.
|
|
7
8
|
*/
|
|
8
9
|
export declare function isChartModel(model: ChartModel | WebChart | undefined): model is ChartModel;
|
|
10
|
+
/**
|
|
11
|
+
* Determines if the provided `model` is of type `HeatChartModel`.
|
|
12
|
+
* @param model The model to check.
|
|
13
|
+
*/
|
|
14
|
+
export declare function isHeatChartModel(model: ChartModel | undefined): model is HeatChartModel;
|
|
9
15
|
/**
|
|
10
16
|
* Determines if the provided `model` is of type `BarChartModel`.
|
|
11
17
|
* @param model The model to check.
|
|
@@ -16,12 +22,17 @@ export declare function isBarChartModel(model: ChartModel | undefined): model is
|
|
|
16
22
|
* @param model The model to check.
|
|
17
23
|
*/
|
|
18
24
|
export declare function isLineChartModel(model: ChartModel | undefined): model is LineChartModel;
|
|
25
|
+
/**
|
|
26
|
+
* Determines if the provided `model` is of type `ComboBarLineChartModel`.
|
|
27
|
+
* @param model The model to check.
|
|
28
|
+
*/
|
|
29
|
+
export declare function isComboBarLineChartModel(model: ChartModel | undefined): model is ComboBarLineChartModel;
|
|
19
30
|
/**
|
|
20
31
|
* Determines if the provided `model` is of type `SerialChartModel`.
|
|
21
32
|
* This includes LineSeries, BarSeries, ComboLineAndBarSeries, and RadarSeries.
|
|
22
33
|
* @param model The model to check.
|
|
23
34
|
*/
|
|
24
|
-
export declare function isSerialChartModel(model:
|
|
35
|
+
export declare function isSerialChartModel(model: ChartModel | undefined): model is SerialChartModel;
|
|
25
36
|
/**
|
|
26
37
|
* Determines if the provided `model` is of type `PieChartModel`.
|
|
27
38
|
* @param model The model to check.
|
|
@@ -43,6 +54,11 @@ export declare function isScatterplotModel(model: ChartModel | undefined): model
|
|
|
43
54
|
* @param model The model to check.
|
|
44
55
|
*/
|
|
45
56
|
export declare function isHistogramModel(model: ChartModel | undefined): model is HistogramModel;
|
|
57
|
+
/**
|
|
58
|
+
* Determines if the provided `model` is of type `GaugeModel`.
|
|
59
|
+
* @param model The model to check.
|
|
60
|
+
*/
|
|
61
|
+
export declare function isGaugeModel(model: ChartModel | undefined): model is GaugeModel;
|
|
46
62
|
/**
|
|
47
63
|
* Type guard for ModelWithBasicXAxis
|
|
48
64
|
* @param model
|
|
@@ -53,6 +69,26 @@ export declare function isModelWithBasicXAxis(model: ChartModel | undefined): mo
|
|
|
53
69
|
* @param model
|
|
54
70
|
*/
|
|
55
71
|
export declare function isModelWithMultiAxes(model: ChartModel | undefined): model is ModelWithMultiAxes;
|
|
72
|
+
/**
|
|
73
|
+
* Type guard for ModelWithColorMatch
|
|
74
|
+
* @param model
|
|
75
|
+
*/
|
|
76
|
+
export declare function isModelWithColorMatch(model: ChartModel | undefined): model is ModelWithColorMatch;
|
|
77
|
+
/**
|
|
78
|
+
* Type guard for ModelWithLineMarkerStyling
|
|
79
|
+
* @param model
|
|
80
|
+
*/
|
|
81
|
+
export declare function isModelWithLineMarkerStyling(model: ChartModel | undefined): model is ModelWithLineMarkerStyling;
|
|
82
|
+
/**
|
|
83
|
+
* Type guard for ModelWithBaselineStacking
|
|
84
|
+
* @param model
|
|
85
|
+
*/
|
|
86
|
+
export declare function isModelWithBaselineStacking(model: ChartModel | undefined): model is ModelWithBaselineStacking;
|
|
87
|
+
/**
|
|
88
|
+
* Type guard for ModelWithTooltips
|
|
89
|
+
* @param model
|
|
90
|
+
*/
|
|
91
|
+
export declare function isModelWithTooltips(model: ChartModel | undefined): model is ModelWithTooltips;
|
|
56
92
|
/**
|
|
57
93
|
* Type guard for ModelWithRotation
|
|
58
94
|
* @param model
|
|
@@ -83,6 +119,11 @@ export declare function isModelWithYGuides(model: ChartModel | undefined): model
|
|
|
83
119
|
* @param model The model to check.
|
|
84
120
|
*/
|
|
85
121
|
export declare function isModelWithLegend(model: ChartModel | undefined): model is ModelWithLegend;
|
|
122
|
+
/**
|
|
123
|
+
* Determines if the provided `model` is of type `PieChartLegendModel`.
|
|
124
|
+
* @param model The model to check.
|
|
125
|
+
*/
|
|
126
|
+
export declare function isPieChartLegendModel(model: ChartModel | undefined): model is PieChartLegendModel;
|
|
86
127
|
/**
|
|
87
128
|
* Determines if the provided `model` is of type `ModelWithTemporalBinning`.
|
|
88
129
|
* @param model The model to check.
|
package/dist/model.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { M as i } from "./chunks/common.js";
|
|
2
|
-
import { B as m, C as y, F as g, G as C, H as w, L as f, a as u, P as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { B as m, C as y, F as g, G as C, H as w, L as f, a as u, P as L, b, S as p, T, c as B } from "./chunks/common.js";
|
|
3
|
+
import { A as s, B as r, C as n } from "./chunks/type-guards.js";
|
|
4
|
+
import { b as k, g as P, i as W, d as x, k as v, a as G, j as H, c as K, z as D, p as F, l as A, n as O, s as R, t as E, w as X, o as Y, m as $, r as j, y as q, q as z, u as I, v as J, x as N, f as Q, h as U, e as V } from "./chunks/type-guards.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
8
|
-
async function
|
|
9
|
-
const o = "config" in t ?
|
|
7
|
+
v5.0.0-next.94 */
|
|
8
|
+
async function h(t) {
|
|
9
|
+
const o = "config" in t ? s(t.config) : t.chartType;
|
|
10
10
|
let a;
|
|
11
11
|
if (!("layer" in t) && !("iLayer" in t) && "config" in t && t.config.iLayer === void 0)
|
|
12
12
|
throw new Error(
|
|
@@ -69,7 +69,7 @@ async function c(t) {
|
|
|
69
69
|
layer: "layer" in t ? t.layer : void 0,
|
|
70
70
|
iLayer: "iLayer" in t ? t.iLayer : void 0,
|
|
71
71
|
config: "config" in t ? t.config : void 0
|
|
72
|
-
}), o !== void 0 &&
|
|
72
|
+
}), o !== void 0 && r(a, o))
|
|
73
73
|
return a;
|
|
74
74
|
{
|
|
75
75
|
const e = n(a.chartType);
|
|
@@ -87,28 +87,36 @@ export {
|
|
|
87
87
|
f as LineFormatKeys,
|
|
88
88
|
i as ModelTypes,
|
|
89
89
|
u as PieChartDataModes,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
90
|
+
L as PieChartDataSortingKinds,
|
|
91
|
+
b as PieChartSlicesDisplay,
|
|
92
|
+
p as SerialChartDataSortingKinds,
|
|
93
93
|
T as TextFormatKeys,
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
h as createModel,
|
|
95
|
+
B as customSortString,
|
|
96
|
+
k as isBarChartModel,
|
|
97
97
|
P as isBoxPlotModel,
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
W as isChartModel,
|
|
99
|
+
x as isComboBarLineChartModel,
|
|
100
|
+
v as isGaugeModel,
|
|
101
|
+
G as isHeatChartModel,
|
|
102
|
+
H as isHistogramModel,
|
|
100
103
|
K as isLineChartModel,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
104
|
+
D as isModelOfType,
|
|
105
|
+
F as isModelWithBaselineStacking,
|
|
106
|
+
A as isModelWithBasicXAxis,
|
|
107
|
+
O as isModelWithColorMatch,
|
|
108
|
+
R as isModelWithDataLabels,
|
|
109
|
+
E as isModelWithGuides,
|
|
110
|
+
X as isModelWithLegend,
|
|
111
|
+
Y as isModelWithLineMarkerStyling,
|
|
112
|
+
$ as isModelWithMultiAxes,
|
|
113
|
+
j as isModelWithRotation,
|
|
114
|
+
q as isModelWithTemporalBinning,
|
|
115
|
+
z as isModelWithTooltips,
|
|
116
|
+
I as isModelWithXGuides,
|
|
117
|
+
J as isModelWithYGuides,
|
|
118
|
+
N as isPieChartLegendModel,
|
|
119
|
+
Q as isPieChartModel,
|
|
120
|
+
U as isScatterplotModel,
|
|
121
|
+
V as isSerialChartModel
|
|
114
122
|
};
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { ArcgisChart } from "../components/arcgis-chart/index.js";
|
|
|
3
3
|
import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-bar/index.js";
|
|
4
4
|
import type { h, EventHandler } from "@arcgis/lumina";
|
|
5
5
|
|
|
6
|
-
interface LuminaArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDestroyDisabled' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableTogglingLegendItems' | 'enableBetaFeatures' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | 'model' | 'nullAsValid' | 'placeholder' | 'queueChartCreation' | 'replaceNoValueCategoryWithZero' | 'returnFeaturesExtent' | 'returnSelectionIndexes' | 'returnSelectionOIDs' | 'rotation' | 'runtimeDataFilters' | 'secondaryYAxisLabelFormatter' | 'selectionData' | 'selectionTheme' | 'setTimeBinningInfoWhenNotProvided' | 'showUIMessages' | 'syncSelection' | 'syncSelectionsBetweenChartAndLayerViewPolicy' | 'timeZone' | 'tooltipFormatter' | 'updateSplitBySeries' | 'useAnimatedCharts' | 'usePopupTemplateFieldsInfo' | 'view' | 'viewTimeExtentChangePolicy' | 'xAxisLabelFormatter' | 'yAxisLabelFormatter'>>, ArcgisChartSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisChartElement> {
|
|
6
|
+
interface LuminaArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDestroyDisabled' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableAutoTheming' | 'disableTogglingLegendItems' | 'enableBetaFeatures' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | 'model' | 'nullAsValid' | 'placeholder' | 'queueChartCreation' | 'replaceNoValueCategoryWithZero' | 'returnFeaturesExtent' | 'returnSelectionIndexes' | 'returnSelectionOIDs' | 'rotation' | 'runtimeDataFilters' | 'secondaryYAxisLabelFormatter' | 'selectionData' | 'selectionTheme' | 'setTimeBinningInfoWhenNotProvided' | 'showUIMessages' | 'syncSelection' | 'syncSelectionsBetweenChartAndLayerViewPolicy' | 'timeZone' | 'tooltipFormatter' | 'updateSplitBySeries' | 'useAnimatedCharts' | 'usePopupTemplateFieldsInfo' | 'view' | 'viewTimeExtentChangePolicy' | 'xAxisLabelFormatter' | 'yAxisLabelFormatter'>>, ArcgisChartSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisChartElement> {
|
|
7
7
|
onarcgisAxesMinMaxChange?: EventHandler<HTMLArcgisChartElement["arcgisAxesMinMaxChange"]>;
|
|
8
8
|
onarcgisBadDataWarningRaise?: EventHandler<HTMLArcgisChartElement["arcgisBadDataWarningRaise"]>;
|
|
9
9
|
onarcgisChartNotFoundWarning?: EventHandler<HTMLArcgisChartElement["arcgisChartNotFoundWarning"]>;
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-b
|
|
|
4
4
|
import { HTMLAttributes } from "preact";
|
|
5
5
|
import type { EventHandler } from "@arcgis/lumina";
|
|
6
6
|
|
|
7
|
-
interface PreactArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDestroyDisabled' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableTogglingLegendItems' | 'enableBetaFeatures' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | 'model' | 'nullAsValid' | 'placeholder' | 'queueChartCreation' | 'replaceNoValueCategoryWithZero' | 'returnFeaturesExtent' | 'returnSelectionIndexes' | 'returnSelectionOIDs' | 'rotation' | 'runtimeDataFilters' | 'secondaryYAxisLabelFormatter' | 'selectionData' | 'selectionTheme' | 'setTimeBinningInfoWhenNotProvided' | 'showUIMessages' | 'syncSelection' | 'syncSelectionsBetweenChartAndLayerViewPolicy' | 'timeZone' | 'tooltipFormatter' | 'updateSplitBySeries' | 'useAnimatedCharts' | 'usePopupTemplateFieldsInfo' | 'view' | 'viewTimeExtentChangePolicy' | 'xAxisLabelFormatter' | 'yAxisLabelFormatter'>>, ArcgisChartSetterTypes, HTMLAttributes<HTMLArcgisChartElement> {
|
|
7
|
+
interface PreactArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDestroyDisabled' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableAutoTheming' | 'disableTogglingLegendItems' | 'enableBetaFeatures' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | 'model' | 'nullAsValid' | 'placeholder' | 'queueChartCreation' | 'replaceNoValueCategoryWithZero' | 'returnFeaturesExtent' | 'returnSelectionIndexes' | 'returnSelectionOIDs' | 'rotation' | 'runtimeDataFilters' | 'secondaryYAxisLabelFormatter' | 'selectionData' | 'selectionTheme' | 'setTimeBinningInfoWhenNotProvided' | 'showUIMessages' | 'syncSelection' | 'syncSelectionsBetweenChartAndLayerViewPolicy' | 'timeZone' | 'tooltipFormatter' | 'updateSplitBySeries' | 'useAnimatedCharts' | 'usePopupTemplateFieldsInfo' | 'view' | 'viewTimeExtentChangePolicy' | 'xAxisLabelFormatter' | 'yAxisLabelFormatter'>>, ArcgisChartSetterTypes, HTMLAttributes<HTMLArcgisChartElement> {
|
|
8
8
|
onarcgisAxesMinMaxChange?: EventHandler<HTMLArcgisChartElement["arcgisAxesMinMaxChange"]>;
|
|
9
9
|
onarcgisBadDataWarningRaise?: EventHandler<HTMLArcgisChartElement["arcgisBadDataWarningRaise"]>;
|
|
10
10
|
onarcgisChartNotFoundWarning?: EventHandler<HTMLArcgisChartElement["arcgisChartNotFoundWarning"]>;
|
package/dist/types/preact10.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { JSX as PreactJsx } from "preact";
|
|
|
5
5
|
import type { EventHandler } from "@arcgis/lumina";
|
|
6
6
|
|
|
7
7
|
/** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
|
|
8
|
-
interface PreactArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDestroyDisabled' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableTogglingLegendItems' | 'enableBetaFeatures' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | 'model' | 'nullAsValid' | 'placeholder' | 'queueChartCreation' | 'replaceNoValueCategoryWithZero' | 'returnFeaturesExtent' | 'returnSelectionIndexes' | 'returnSelectionOIDs' | 'rotation' | 'runtimeDataFilters' | 'secondaryYAxisLabelFormatter' | 'selectionData' | 'selectionTheme' | 'setTimeBinningInfoWhenNotProvided' | 'showUIMessages' | 'syncSelection' | 'syncSelectionsBetweenChartAndLayerViewPolicy' | 'timeZone' | 'tooltipFormatter' | 'updateSplitBySeries' | 'useAnimatedCharts' | 'usePopupTemplateFieldsInfo' | 'view' | 'viewTimeExtentChangePolicy' | 'xAxisLabelFormatter' | 'yAxisLabelFormatter'>>, ArcgisChartSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisChartElement> {
|
|
8
|
+
interface PreactArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDestroyDisabled' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableAutoTheming' | 'disableTogglingLegendItems' | 'enableBetaFeatures' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | 'model' | 'nullAsValid' | 'placeholder' | 'queueChartCreation' | 'replaceNoValueCategoryWithZero' | 'returnFeaturesExtent' | 'returnSelectionIndexes' | 'returnSelectionOIDs' | 'rotation' | 'runtimeDataFilters' | 'secondaryYAxisLabelFormatter' | 'selectionData' | 'selectionTheme' | 'setTimeBinningInfoWhenNotProvided' | 'showUIMessages' | 'syncSelection' | 'syncSelectionsBetweenChartAndLayerViewPolicy' | 'timeZone' | 'tooltipFormatter' | 'updateSplitBySeries' | 'useAnimatedCharts' | 'usePopupTemplateFieldsInfo' | 'view' | 'viewTimeExtentChangePolicy' | 'xAxisLabelFormatter' | 'yAxisLabelFormatter'>>, ArcgisChartSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisChartElement> {
|
|
9
9
|
onarcgisAxesMinMaxChange?: EventHandler<HTMLArcgisChartElement["arcgisAxesMinMaxChange"]>;
|
|
10
10
|
onarcgisBadDataWarningRaise?: EventHandler<HTMLArcgisChartElement["arcgisBadDataWarningRaise"]>;
|
|
11
11
|
onarcgisChartNotFoundWarning?: EventHandler<HTMLArcgisChartElement["arcgisChartNotFoundWarning"]>;
|
package/dist/types/react.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-b
|
|
|
4
4
|
import type { HTMLProps } from 'react';
|
|
5
5
|
import type { EventHandler } from "@arcgis/lumina";
|
|
6
6
|
|
|
7
|
-
interface ReactArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDestroyDisabled' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableTogglingLegendItems' | 'enableBetaFeatures' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | 'model' | 'nullAsValid' | 'placeholder' | 'queueChartCreation' | 'replaceNoValueCategoryWithZero' | 'returnFeaturesExtent' | 'returnSelectionIndexes' | 'returnSelectionOIDs' | 'rotation' | 'runtimeDataFilters' | 'secondaryYAxisLabelFormatter' | 'selectionData' | 'selectionTheme' | 'setTimeBinningInfoWhenNotProvided' | 'showUIMessages' | 'syncSelection' | 'syncSelectionsBetweenChartAndLayerViewPolicy' | 'timeZone' | 'tooltipFormatter' | 'updateSplitBySeries' | 'useAnimatedCharts' | 'usePopupTemplateFieldsInfo' | 'view' | 'viewTimeExtentChangePolicy' | 'xAxisLabelFormatter' | 'yAxisLabelFormatter'>>, ArcgisChartSetterTypes, HTMLProps<HTMLArcgisChartElement> {
|
|
7
|
+
interface ReactArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDestroyDisabled' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableAutoTheming' | 'disableTogglingLegendItems' | 'enableBetaFeatures' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | 'model' | 'nullAsValid' | 'placeholder' | 'queueChartCreation' | 'replaceNoValueCategoryWithZero' | 'returnFeaturesExtent' | 'returnSelectionIndexes' | 'returnSelectionOIDs' | 'rotation' | 'runtimeDataFilters' | 'secondaryYAxisLabelFormatter' | 'selectionData' | 'selectionTheme' | 'setTimeBinningInfoWhenNotProvided' | 'showUIMessages' | 'syncSelection' | 'syncSelectionsBetweenChartAndLayerViewPolicy' | 'timeZone' | 'tooltipFormatter' | 'updateSplitBySeries' | 'useAnimatedCharts' | 'usePopupTemplateFieldsInfo' | 'view' | 'viewTimeExtentChangePolicy' | 'xAxisLabelFormatter' | 'yAxisLabelFormatter'>>, ArcgisChartSetterTypes, HTMLProps<HTMLArcgisChartElement> {
|
|
8
8
|
onarcgisAxesMinMaxChange?: EventHandler<HTMLArcgisChartElement["arcgisAxesMinMaxChange"]>;
|
|
9
9
|
onarcgisBadDataWarningRaise?: EventHandler<HTMLArcgisChartElement["arcgisBadDataWarningRaise"]>;
|
|
10
10
|
onarcgisChartNotFoundWarning?: EventHandler<HTMLArcgisChartElement["arcgisChartNotFoundWarning"]>;
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-b
|
|
|
4
4
|
import { JSXBase as StencilJsx } from "@stencil/core/internal";
|
|
5
5
|
import type { EventHandler } from "@arcgis/lumina";
|
|
6
6
|
|
|
7
|
-
interface StencilArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDestroyDisabled' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableTogglingLegendItems' | 'enableBetaFeatures' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | 'model' | 'nullAsValid' | 'placeholder' | 'queueChartCreation' | 'replaceNoValueCategoryWithZero' | 'returnFeaturesExtent' | 'returnSelectionIndexes' | 'returnSelectionOIDs' | 'rotation' | 'runtimeDataFilters' | 'secondaryYAxisLabelFormatter' | 'selectionData' | 'selectionTheme' | 'setTimeBinningInfoWhenNotProvided' | 'showUIMessages' | 'syncSelection' | 'syncSelectionsBetweenChartAndLayerViewPolicy' | 'timeZone' | 'tooltipFormatter' | 'updateSplitBySeries' | 'useAnimatedCharts' | 'usePopupTemplateFieldsInfo' | 'view' | 'viewTimeExtentChangePolicy' | 'xAxisLabelFormatter' | 'yAxisLabelFormatter'>>, ArcgisChartSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisChartElement> {
|
|
7
|
+
interface StencilArcgisChart extends Partial<Pick<ArcgisChart, 'actionMode' | 'allowUsingObjectIdStat' | 'autoDestroyDisabled' | 'autoDisposeChart' | 'autoInverseDataLabelTextColor' | 'chartIndex' | 'chartLimits' | 'chartWillRender' | 'cursorRange' | 'dataLabelFormatter' | 'disableAutoTheming' | 'disableTogglingLegendItems' | 'enableBetaFeatures' | 'enableConfiguration' | 'enableResponsiveFeatures' | 'errorPolicy' | 'featureIndex' | 'filterByExtent' | 'filterBySelection' | 'gaugeInnerLabelFormatter' | 'guideTooltipFormatter' | 'hideEmptySeries' | 'hideLicenseWatermark' | 'hideLoaderAnimation' | 'ignoreSmoothRenderingLimit' | 'ignoreViewExtent' | 'layer' | 'layerFieldsChangePolicy' | 'layerFilterChangePolicy' | 'layerItemId' | 'layerRendererChangePolicy' | 'legendPosition' | 'legendValueLabelFormatter' | 'legendVisibility' | 'loaderColors' | 'messageOverrides' | 'model' | 'nullAsValid' | 'placeholder' | 'queueChartCreation' | 'replaceNoValueCategoryWithZero' | 'returnFeaturesExtent' | 'returnSelectionIndexes' | 'returnSelectionOIDs' | 'rotation' | 'runtimeDataFilters' | 'secondaryYAxisLabelFormatter' | 'selectionData' | 'selectionTheme' | 'setTimeBinningInfoWhenNotProvided' | 'showUIMessages' | 'syncSelection' | 'syncSelectionsBetweenChartAndLayerViewPolicy' | 'timeZone' | 'tooltipFormatter' | 'updateSplitBySeries' | 'useAnimatedCharts' | 'usePopupTemplateFieldsInfo' | 'view' | 'viewTimeExtentChangePolicy' | 'xAxisLabelFormatter' | 'yAxisLabelFormatter'>>, ArcgisChartSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisChartElement> {
|
|
8
8
|
onArcgisAxesMinMaxChange?: EventHandler<HTMLArcgisChartElement["arcgisAxesMinMaxChange"]>;
|
|
9
9
|
onArcgisBadDataWarningRaise?: EventHandler<HTMLArcgisChartElement["arcgisBadDataWarningRaise"]>;
|
|
10
10
|
onArcgisChartNotFoundWarning?: EventHandler<HTMLArcgisChartElement["arcgisChartNotFoundWarning"]>;
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { ChartOptions } from '../../chart-rendering/common/interfaces';
|
|
2
|
+
import { EsriColor } from '../../chart-rendering/common/types';
|
|
3
|
+
import { ArcgisChart } from '../../components/arcgis-chart/customElement.js';
|
|
4
|
+
import { Color, WebChartBarChartSeries, WebChartBoxPlotSeries, WebChartHistogramSeries, WebChartLineChartSeries, WebChartOverlay, WebChartPieChartSlice, WebChartRadarChartSeries, WebChartScatterplotSeries } from '../../spec';
|
|
5
|
+
/**
|
|
6
|
+
* Interface representing the list of colors a theme can provide.
|
|
7
|
+
*/
|
|
8
|
+
export interface ChartThemeColors {
|
|
9
|
+
backgroundColor?: EsriColor;
|
|
10
|
+
textColor?: EsriColor;
|
|
11
|
+
lineColor?: EsriColor;
|
|
12
|
+
secondLineColor?: EsriColor;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Indicates whether the Calcite dark mode is enabled on the DOM.
|
|
16
|
+
* @param chartElement The chart element
|
|
17
|
+
*/
|
|
18
|
+
export declare function isCalciteDarkModeEnabled(chartElement: HTMLElement): boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Retrieves the Calcite dark theme colors from the css variables.
|
|
21
|
+
* @param chartElement The chart element
|
|
22
|
+
*/
|
|
23
|
+
declare function getCalciteDarkThemeColors(chartElement: Element): ChartThemeColors;
|
|
24
|
+
/**
|
|
25
|
+
* Applies the theme colors to the axes.
|
|
26
|
+
* @param config The config to alter
|
|
27
|
+
* @param themeColors The theme colors to apply
|
|
28
|
+
*/
|
|
29
|
+
declare function applyThemeColorsToAxes(config: ArcgisChart["config"], themeColors: ChartThemeColors): void;
|
|
30
|
+
/**
|
|
31
|
+
* Applies the theme colors to the background.
|
|
32
|
+
* @param config The config to alter
|
|
33
|
+
* @param themeColors The theme colors to apply
|
|
34
|
+
*/
|
|
35
|
+
declare function applyThemeColorsToBackground(config: ArcgisChart["config"], themeColors: ChartThemeColors): void;
|
|
36
|
+
/**
|
|
37
|
+
* Applies the theme colors to the title, footer and subtitle.
|
|
38
|
+
* @param config The config to alter
|
|
39
|
+
* @param themeColors The theme colors to apply
|
|
40
|
+
*/
|
|
41
|
+
declare function applyThemeColorsToTitleFooterSubtitle(config: ArcgisChart["config"], themeColors: ChartThemeColors): void;
|
|
42
|
+
/**
|
|
43
|
+
* Updates the overlay symbol color (if the overlay is created and visible).
|
|
44
|
+
* @param overlayColor The color to set
|
|
45
|
+
* @param overlay The overlay to update
|
|
46
|
+
*/
|
|
47
|
+
declare function updateOverlaySymbolColor(overlayColor: Color, overlay?: WebChartOverlay): void;
|
|
48
|
+
/**
|
|
49
|
+
* Updates the marker symbol color.
|
|
50
|
+
* @param props.configElementWithFillSymbol The config element with marker symbol to update
|
|
51
|
+
* @param props.markerColor The marker color to set
|
|
52
|
+
* @param props.lineColor The line color to set (optional)
|
|
53
|
+
*/
|
|
54
|
+
declare function updateMarkerSymbolColor(props: {
|
|
55
|
+
configElementWithFillSymbol: WebChartLineChartSeries | WebChartRadarChartSeries | WebChartScatterplotSeries;
|
|
56
|
+
markerColor: Color;
|
|
57
|
+
lineColor?: Color;
|
|
58
|
+
}): void;
|
|
59
|
+
/**
|
|
60
|
+
* Updates the fill symbol color.
|
|
61
|
+
* @param props.configElementWithFillSymbol The config element with fill symbol to update
|
|
62
|
+
* @param props.fillColor The fill color to set
|
|
63
|
+
* @param props.lineColor The line color to set (optional)
|
|
64
|
+
*/
|
|
65
|
+
declare function updateFillSymbolColor(props: {
|
|
66
|
+
configElementWithFillSymbol: WebChartBarChartSeries | WebChartBoxPlotSeries | WebChartHistogramSeries | WebChartPieChartSlice;
|
|
67
|
+
fillColor: Color;
|
|
68
|
+
lineColor?: Color;
|
|
69
|
+
}): void;
|
|
70
|
+
/**
|
|
71
|
+
* Applies the theme colors to the series.
|
|
72
|
+
* @param config The config to alter
|
|
73
|
+
* @param themeColors The theme colors to apply
|
|
74
|
+
*/
|
|
75
|
+
declare function applyThemeColorsToSeries(config: ArcgisChart["config"], themeColors: ChartThemeColors): void;
|
|
76
|
+
/**
|
|
77
|
+
* Applies the theme colors to pie chart specific properties.
|
|
78
|
+
* @param config The config to alter
|
|
79
|
+
* @param themeColors The theme colors to apply
|
|
80
|
+
*/
|
|
81
|
+
declare function applyThemeColorsToPieChartSeries(config: ArcgisChart["config"], themeColors: ChartThemeColors): void;
|
|
82
|
+
/**
|
|
83
|
+
* Applies the theme colors to the legend.
|
|
84
|
+
* @param config The config to alter
|
|
85
|
+
* @param themeColors The theme colors to apply
|
|
86
|
+
*/
|
|
87
|
+
declare function applyThemeColorsToLegend(config: ArcgisChart["config"], themeColors: ChartThemeColors): void;
|
|
88
|
+
/**
|
|
89
|
+
* Applies the theme colors to gauge specific properties.
|
|
90
|
+
* @param config The config to alter
|
|
91
|
+
* @param themeColors The theme colors to apply
|
|
92
|
+
*/
|
|
93
|
+
declare function applyThemeColorsToGauge(config: ArcgisChart["config"], themeColors: ChartThemeColors): void;
|
|
94
|
+
/**
|
|
95
|
+
* Applies the theme colors to heat chart specific properties.
|
|
96
|
+
* @param config The config to alter
|
|
97
|
+
* @param themeColors The theme colors to apply
|
|
98
|
+
*/
|
|
99
|
+
declare function applyThemeColorsToHeatChart(config: ArcgisChart["config"], themeColors: ChartThemeColors): void;
|
|
100
|
+
/**
|
|
101
|
+
* Applies the theme to the loader colors in the chart options.
|
|
102
|
+
* @param props.options The chart options
|
|
103
|
+
* @param props.calciteThemeApplied The currently applied calcite theme
|
|
104
|
+
* @param props.config The chart config
|
|
105
|
+
* @returns A modified copy of the chart options
|
|
106
|
+
*/
|
|
107
|
+
export declare function applyThemeToLoaderColors(props: {
|
|
108
|
+
options: ChartOptions;
|
|
109
|
+
calciteThemeApplied: ArcgisChart["calciteThemeApplied"];
|
|
110
|
+
config: ArcgisChart["config"];
|
|
111
|
+
}): ChartOptions;
|
|
112
|
+
/**
|
|
113
|
+
* Apply a theme colors to the chart config.
|
|
114
|
+
* The only theme supported currently is the Calcite dark mode.
|
|
115
|
+
* @param chartElement The chart element
|
|
116
|
+
* @param config The chart config
|
|
117
|
+
*/
|
|
118
|
+
export declare function applyThemeColors(chartElement: HTMLArcgisChartElement, config: ArcgisChart["config"]): ArcgisChart["config"];
|
|
119
|
+
export declare const commonThemesPrivateFunctions: {
|
|
120
|
+
applyThemeColorsToAxes: typeof applyThemeColorsToAxes;
|
|
121
|
+
applyThemeColorsToBackground: typeof applyThemeColorsToBackground;
|
|
122
|
+
applyThemeColorsToTitleFooterSubtitle: typeof applyThemeColorsToTitleFooterSubtitle;
|
|
123
|
+
applyThemeColorsToSeries: typeof applyThemeColorsToSeries;
|
|
124
|
+
applyThemeColorsToPieChartSeries: typeof applyThemeColorsToPieChartSeries;
|
|
125
|
+
applyThemeColorsToLegend: typeof applyThemeColorsToLegend;
|
|
126
|
+
applyThemeColorsToGauge: typeof applyThemeColorsToGauge;
|
|
127
|
+
applyThemeColorsToHeatChart: typeof applyThemeColorsToHeatChart;
|
|
128
|
+
getCalciteDarkThemeColors: typeof getCalciteDarkThemeColors;
|
|
129
|
+
updateOverlaySymbolColor: typeof updateOverlaySymbolColor;
|
|
130
|
+
updateFillSymbolColor: typeof updateFillSymbolColor;
|
|
131
|
+
updateMarkerSymbolColor: typeof updateMarkerSymbolColor;
|
|
132
|
+
};
|
|
133
|
+
export {};
|