@arcgis/charts-components 5.0.0-next.90 → 5.0.0-next.91
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/{4TPYRUAT.js → 25NTCRVU.js} +2 -2
- package/dist/cdn/{PMLZTGGH.js → 25P5VILT.js} +2 -2
- package/dist/cdn/{VHRHF6AW.js → 2GF4KQZC.js} +1 -1
- package/dist/cdn/{7DNTKS35.js → 2MWI4CIS.js} +2 -2
- package/dist/cdn/{W7CEAICR.js → 2Q7TZTRR.js} +2 -2
- package/dist/cdn/{B2JYCH4X.js → 2TKYTFWD.js} +2 -2
- package/dist/cdn/{23765TIC.js → 3AD3O4F3.js} +2 -2
- package/dist/cdn/{OVKVQG7B.js → 3AHAK2VA.js} +2 -2
- package/dist/cdn/{BLRYFQUU.js → 3FAG4WR4.js} +2 -2
- package/dist/cdn/{DU3PAYQH.js → 3LBMQGIY.js} +2 -2
- package/dist/cdn/{HYF4YDXV.js → 3TUHMDGM.js} +1 -1
- package/dist/cdn/{7D4WUNGP.js → 44XTCPG3.js} +2 -2
- package/dist/cdn/{JOHDMLMB.js → 4ENNXHQW.js} +2 -2
- package/dist/cdn/{6JOWPFI5.js → 4JLUPZQZ.js} +2 -2
- package/dist/cdn/{MADPC4X6.js → 4YD3DM7B.js} +2 -2
- package/dist/cdn/{RVLS4QSH.js → 52YZAURV.js} +2 -2
- package/dist/cdn/{HEH7FFYU.js → 57IAECSW.js} +2 -2
- package/dist/cdn/{LHLTXQQF.js → 5DXUILOW.js} +1 -1
- package/dist/cdn/{F5AUI7D6.js → 5KDURKRJ.js} +2 -2
- package/dist/cdn/{4LGHBCNI.js → 5KGN3VAK.js} +2 -2
- package/dist/cdn/{NZEGEBOS.js → 5MG4PTO3.js} +2 -2
- package/dist/cdn/{YBCH7QZE.js → 5RQL5YBX.js} +2 -2
- package/dist/cdn/{JGFWGNA3.js → 5YPSFRJG.js} +2 -2
- package/dist/cdn/{IIOYOLV6.js → 5ZFLKL2D.js} +2 -2
- package/dist/cdn/{UVFSLVZG.js → 6FGDRS2Q.js} +2 -2
- package/dist/cdn/{GCWUWT7W.js → 6KEWPULW.js} +2 -2
- package/dist/cdn/{PB4TH7I7.js → 6O5FSW2A.js} +2 -2
- package/dist/cdn/{ZSNP5EUD.js → 6PIFXC4F.js} +2 -2
- package/dist/cdn/{ANE6SY3Y.js → 6UU7PSML.js} +2 -2
- package/dist/cdn/{S3BLJFUS.js → 746F73WC.js} +2 -2
- package/dist/cdn/{EZAM645I.js → 74ZVXYUW.js} +2 -2
- package/dist/cdn/{3WRAYY6S.js → 7AWMPCKF.js} +2 -2
- package/dist/cdn/{CO4J6YGP.js → 7F7C3ZWS.js} +2 -2
- package/dist/cdn/{Y6KSJ5H3.js → 7G22NYHQ.js} +2 -2
- package/dist/cdn/{XMMRPUMM.js → 7OUVJ5BC.js} +2 -2
- package/dist/cdn/{ELUYRJ2S.js → 7RMKX24B.js} +2 -2
- package/dist/cdn/{IXAEJNQA.js → 7SG6BYU6.js} +2 -2
- package/dist/cdn/{AP2DUFEL.js → 7XZWBZOH.js} +2 -2
- package/dist/cdn/{SANS4RQ6.js → A2ME7CP2.js} +2 -2
- package/dist/cdn/{JF5M6H6J.js → ACU4W5CO.js} +2 -2
- package/dist/cdn/{3JPMYV6Q.js → ADLV7CMM.js} +2 -2
- package/dist/cdn/{K6XGHJWF.js → ADS3FZOB.js} +2 -2
- package/dist/cdn/{QLUODWJ5.js → AE47OBPF.js} +2 -2
- package/dist/cdn/{E2GH3HH5.js → ARJIJJUZ.js} +2 -2
- package/dist/cdn/{R3R27RSX.js → AZIMD6YS.js} +2 -2
- package/dist/cdn/{6HR5THOC.js → BFD2YEBK.js} +2 -2
- package/dist/cdn/{SXYICABJ.js → BK3K6LCW.js} +2 -2
- package/dist/cdn/{2EPTKTTD.js → BLXAGOF5.js} +2 -2
- package/dist/cdn/{GN765KCZ.js → BQ653CTG.js} +2 -2
- package/dist/cdn/{ZJUXJANP.js → BQP663KL.js} +2 -2
- package/dist/cdn/{M4YTA2V3.js → BVEKDMZC.js} +2 -2
- package/dist/cdn/{QTMNAG4U.js → BVV4M3YP.js} +2 -2
- package/dist/cdn/{TAFBXDTK.js → C2J6C2P5.js} +2 -2
- package/dist/cdn/{MWGMB2AG.js → CSHEGJX7.js} +2 -2
- package/dist/cdn/{SS5FBHBV.js → CZZ3TOYN.js} +2 -2
- package/dist/cdn/{NQEBQY6B.js → D6WYIR67.js} +2 -2
- package/dist/cdn/{47QVWE7R.js → DJFY6MKZ.js} +2 -2
- package/dist/cdn/{HMSXLO4U.js → DQUWDUMB.js} +2 -2
- package/dist/cdn/{W7WRCLWM.js → DTPUXCPG.js} +2 -2
- package/dist/cdn/{3KOVYSRC.js → DXEZMMJF.js} +2 -2
- package/dist/cdn/{SAZBAEXR.js → EJMTVKBR.js} +2 -2
- package/dist/cdn/{YP24O2N7.js → EMNBNQBJ.js} +2 -2
- package/dist/cdn/{QCOYQAJ4.js → ENA6BAVJ.js} +2 -2
- package/dist/cdn/{UMO5SOVW.js → FEMBZWZ4.js} +2 -2
- package/dist/cdn/{ILASY3QH.js → FFVQD5TJ.js} +2 -2
- package/dist/cdn/{BZMJVCNP.js → FFYG7H7E.js} +2 -2
- package/dist/cdn/{SCGS54OI.js → FJNU33XH.js} +2 -2
- package/dist/cdn/{ERDUVXZS.js → FOZPPU4H.js} +2 -2
- package/dist/cdn/{IFEBXN3L.js → FTC53IVN.js} +2 -2
- package/dist/cdn/{DP2KBATF.js → GCNTTQNF.js} +2 -2
- package/dist/cdn/{PJIOOAXF.js → GP3GRCA5.js} +1 -1
- package/dist/cdn/{UQGOJGFW.js → GY5JANYQ.js} +2 -2
- package/dist/cdn/{T577WQAR.js → GZO2YG2N.js} +2 -2
- package/dist/cdn/{WL56JHWO.js → H3OI365G.js} +2 -2
- package/dist/cdn/{UGLX3RXV.js → HHL4LHRW.js} +2 -2
- package/dist/cdn/{JNAJTBVB.js → HYQDLBZV.js} +2 -2
- package/dist/cdn/{XRSJR3RL.js → I5AVRL4O.js} +2 -2
- package/dist/cdn/{EE44YUBS.js → I5KCY44G.js} +2 -2
- package/dist/cdn/{FCMOK7MS.js → IG6ETR3Z.js} +2 -2
- package/dist/cdn/{4V5THG4A.js → ILHX5MVR.js} +1 -1
- package/dist/cdn/{WUESNX5B.js → IN72YTIO.js} +2 -2
- package/dist/cdn/{IHMPF4N7.js → IU6L73I3.js} +2 -2
- package/dist/cdn/{VUPINF37.js → IYZ6IE6Y.js} +2 -2
- package/dist/cdn/{MTD3LRXG.js → JDSOO5CG.js} +2 -2
- package/dist/cdn/{FQJZHLNT.js → JJGHWM6E.js} +2 -2
- package/dist/cdn/{CY7YWUJH.js → JKFO2EOX.js} +2 -2
- package/dist/cdn/{NQ644EGP.js → JTYHXZMQ.js} +2 -2
- package/dist/cdn/{7G62OKWM.js → JXT7VL2Q.js} +2 -2
- package/dist/cdn/{5BZFS5ZE.js → JY2GWIBZ.js} +2 -2
- package/dist/cdn/{4UXTR44P.js → K63WLRMW.js} +2 -2
- package/dist/cdn/{H5UXWSZD.js → K66S232V.js} +2 -2
- package/dist/cdn/{KVKDNI6M.js → KEENISPO.js} +2 -2
- package/dist/cdn/{OTLEUN7R.js → KICFZEZR.js} +2 -2
- package/dist/cdn/{KS2DEPBU.js → KLBYHBL4.js} +2 -2
- package/dist/cdn/{XWEN7SKX.js → KLGLYEJJ.js} +2 -2
- package/dist/cdn/{4FSAXGDC.js → L4I6QP2P.js} +2 -2
- package/dist/cdn/{VWV7MYWE.js → LX4S3BK4.js} +2 -2
- package/dist/cdn/{JO55YZ2V.js → LYK24PWV.js} +2 -2
- package/dist/cdn/{PL7UI2U2.js → M4RLF6ZY.js} +2 -2
- package/dist/cdn/{K4SI5J3H.js → MBLGRL64.js} +1 -1
- package/dist/cdn/{XPK2ZWCS.js → MMWPMPL6.js} +2 -2
- package/dist/cdn/{MGAYP4HG.js → N2WMAMNO.js} +2 -2
- package/dist/cdn/{ODAF3EL7.js → N5BDX2XX.js} +1 -1
- package/dist/cdn/{Z2BF3TPF.js → NCWEAW7P.js} +2 -2
- package/dist/cdn/{SWSYNAU4.js → NL7WPCID.js} +2 -2
- package/dist/cdn/{562WZXUL.js → NYWNQDR7.js} +2 -2
- package/dist/cdn/{IR75JEJ7.js → NZSGP452.js} +2 -2
- package/dist/cdn/{XNLYODQR.js → OAOR3NI5.js} +2 -2
- package/dist/cdn/{TFOL3L6W.js → OAXIOJHM.js} +2 -2
- package/dist/cdn/{F6T7YJQ5.js → OGT6X6AI.js} +2 -2
- package/dist/cdn/{BJTSHKJM.js → OHYZQONU.js} +2 -2
- package/dist/cdn/{PNKL3ZRJ.js → OIOQPTNS.js} +2 -2
- package/dist/cdn/{4E756YIM.js → OJNUFGPO.js} +2 -2
- package/dist/cdn/{TEVFSQP3.js → OOOBDTCN.js} +2 -2
- package/dist/cdn/{WXMEAD7U.js → OSKFPBVQ.js} +2 -2
- package/dist/cdn/{257TCDZ6.js → P6BSGMG2.js} +2 -2
- package/dist/cdn/{V6F6EU3M.js → PD7KYRRU.js} +2 -2
- package/dist/cdn/{QIRM2EFP.js → PIYIEOTZ.js} +2 -2
- package/dist/cdn/{V3IOBOZR.js → POGYX3EV.js} +1 -1
- package/dist/cdn/{5MIYEBXL.js → PPO4TBIM.js} +2 -2
- package/dist/cdn/{EW7EZU76.js → PTVBKTAJ.js} +2 -2
- package/dist/cdn/{UGTB232K.js → Q2MA2UGY.js} +2 -2
- package/dist/cdn/{GZZQMAFJ.js → Q7YHRPGS.js} +2 -2
- package/dist/cdn/{GLC6RIAQ.js → QK7UUPWF.js} +2 -2
- package/dist/cdn/{V4XWL5CS.js → QKFKAA35.js} +2 -2
- package/dist/cdn/{KPU4UIVH.js → QMD3XNZD.js} +2 -2
- package/dist/cdn/{IDJAOLEL.js → QPLESBEI.js} +2 -2
- package/dist/cdn/{R7TBD6FD.js → QTZACBZE.js} +2 -2
- package/dist/cdn/{KWL7GU4O.js → QUHOGIFV.js} +2 -2
- package/dist/cdn/{EA4PHKM5.js → RX3U5XOH.js} +2 -2
- package/dist/cdn/{P6OGWM6N.js → S34KHWDC.js} +2 -2
- package/dist/cdn/{6TRFXHB5.js → SC225Z7N.js} +2 -2
- package/dist/cdn/{A6NMN4CZ.js → SE7NN54K.js} +2 -2
- package/dist/cdn/{2RFUINHU.js → SHCOQ3ZY.js} +2 -2
- package/dist/cdn/{5QSEX72G.js → SIJC45DX.js} +2 -2
- package/dist/cdn/{2JRE7VAX.js → SIZ3XXMV.js} +2 -2
- package/dist/cdn/{LQL73OL7.js → SMRECMVE.js} +2 -2
- package/dist/cdn/{EYVK7DSP.js → SUEKRFAO.js} +2 -2
- package/dist/cdn/{LFQB45AW.js → SUNRYKMM.js} +2 -2
- package/dist/cdn/{DXYEVOKV.js → T23QZPVB.js} +2 -2
- package/dist/cdn/{YZQMTYWN.js → T4CCIRIK.js} +2 -2
- package/dist/cdn/{6ETMGS4C.js → T6HT4FAT.js} +2 -2
- package/dist/cdn/{YGZHI6R2.js → TEQBMVA6.js} +2 -2
- package/dist/cdn/{LUX45LEO.js → TFJF63KL.js} +2 -2
- package/dist/cdn/{QHVXMPBV.js → TGGHTJWC.js} +1 -1
- package/dist/cdn/{KY7HZ5DK.js → TINJQNR6.js} +2 -2
- package/dist/cdn/{XIIE5V2W.js → TK7BYOQU.js} +2 -2
- package/dist/cdn/{Z23EZJR2.js → TUINCJSB.js} +10 -4
- package/dist/cdn/{YNA4L65F.js → TVAB2XLM.js} +2 -2
- package/dist/cdn/{3JV7CYG2.js → TWFZFNGW.js} +2 -2
- package/dist/cdn/{6IQP4YZ4.js → UCWZ7Z2F.js} +7 -7
- package/dist/cdn/{WQGFCXD7.js → UKA2OA26.js} +2 -2
- package/dist/cdn/{TAWAXKLI.js → UQ52P23G.js} +2 -2
- package/dist/cdn/{TPQH2R2Y.js → UYLMI7VC.js} +2 -2
- package/dist/cdn/{MSMVXKXG.js → VASRWU2R.js} +2 -2
- package/dist/cdn/{Q23HJHXG.js → VBK3AKYZ.js} +2 -2
- package/dist/cdn/{AM2KDKQS.js → VF7W4ESG.js} +2 -2
- package/dist/cdn/{BROG4MXL.js → VHBQG36W.js} +2 -2
- package/dist/cdn/{OLF65AJF.js → VI6CYSMA.js} +2 -2
- package/dist/cdn/{4JPDVGJW.js → VMEPSBQU.js} +2 -2
- package/dist/cdn/{HZPMVUW3.js → VPOXYUKT.js} +2 -2
- package/dist/cdn/{M3SECFDO.js → VY4YKIIQ.js} +2 -2
- package/dist/cdn/{57OH7NFX.js → WIUBTXT3.js} +2 -2
- package/dist/cdn/{TUR4BDNH.js → WZNKEKV4.js} +2 -2
- package/dist/cdn/{362QSPV7.js → XAJ7BBXI.js} +2 -2
- package/dist/cdn/{ZSVPA2KK.js → XSCA4NNH.js} +2 -2
- package/dist/cdn/{JC36KDRB.js → XZMVXWSM.js} +2 -2
- package/dist/cdn/{CD7ARQPS.js → YD2CL3ZK.js} +2 -2
- package/dist/cdn/{PEGY3MOM.js → YJMX4SIP.js} +2 -2
- package/dist/cdn/{EIZ5OOQT.js → YRSMUW6A.js} +2 -2
- package/dist/cdn/{YWF4GXHZ.js → YXG2RWCO.js} +2 -2
- package/dist/cdn/{FOM4PUXQ.js → Z6R6AP6J.js} +2 -2
- package/dist/cdn/{IVACYQIS.js → ZK7NTLVD.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/common/config-utils/index.d.ts +2 -2
- package/dist/chart-rendering/common/data/box-plot/index.d.ts +4 -4
- package/dist/chart-rendering/common/interfaces.d.ts +1 -27
- package/dist/chart-rendering/next/utils/config-utils/index.d.ts +5 -4
- package/dist/chart-rendering/next/utils/index.d.ts +4 -4
- package/dist/chart-rendering/stable/chart-library-elements/line-fill-marker/index.d.ts +0 -16
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +5 -6
- 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 +1 -1
- package/dist/chunks/box-plot-model.js +11 -20
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +21 -30
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +5 -9
- package/dist/chunks/heat-chart-model.js +1 -1
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -5
- package/dist/chunks/index.js +198 -192
- package/dist/chunks/index2.js +1 -1
- 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 +1 -3
- package/dist/chunks/model-with-multi-axes.js +107 -127
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +23 -29
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -3
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rest-js-object-literals.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -7
- package/dist/chunks/serial-chart-data.js +1 -1
- package/dist/chunks/serial-chart-model.js +7 -17
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/components/arcgis-chart/customElement.d.ts +77 -331
- package/dist/components/arcgis-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +17 -172
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.d.ts +3 -21
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.d.ts +9 -48
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.d.ts +8 -42
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.d.ts +5 -21
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.d.ts +6 -34
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.d.ts +2 -12
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +10 -51
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.d.ts +6 -28
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.d.ts +2 -10
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.d.ts +8 -43
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.d.ts +1 -8
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.d.ts +13 -64
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-category-format/customElement.d.ts +2 -10
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.d.ts +2 -12
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.d.ts +4 -22
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.d.ts +3 -15
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.d.ts +23 -101
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-field-select/customElement.d.ts +3 -9
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.d.ts +6 -24
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.d.ts +1 -5
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.d.ts +8 -38
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.d.ts +1 -5
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.d.ts +6 -33
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide-popover/customElement.d.ts +6 -32
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.d.ts +6 -22
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.d.ts +10 -31
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.d.ts +7 -32
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.d.ts +14 -66
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.d.ts +13 -62
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.d.ts +2 -7
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.d.ts +9 -45
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.d.ts +7 -34
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.d.ts +9 -43
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.d.ts +2 -8
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.d.ts +15 -68
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.d.ts +8 -27
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.d.ts +2 -6
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.d.ts +9 -44
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.d.ts +5 -21
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.d.ts +10 -44
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.d.ts +4 -13
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.d.ts +11 -45
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.d.ts +8 -38
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.d.ts +6 -23
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.d.ts +15 -68
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.d.ts +9 -42
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.d.ts +9 -43
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +241 -1476
- package/dist/docs/docs.json +205 -1302
- package/dist/docs/vscode.html-custom-data.json +14 -9
- package/dist/docs/web-types.json +87 -95
- package/dist/index.js +1 -1
- package/dist/interfaces.d.ts +0 -6
- package/dist/json-schema/index.d.ts +2 -2
- package/dist/loader.js +1 -1
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +10 -9
- package/dist/model/bar-chart-model/utils/bar-chart-series.d.ts +13 -12
- package/dist/model/box-plot-model/box-plot-model.d.ts +34 -41
- package/dist/model/box-plot-model/utils/box-plot-data.d.ts +11 -13
- package/dist/model/chart-model/chart-model.d.ts +21 -21
- package/dist/model/chart-model/utils/data.d.ts +15 -10
- package/dist/model/chart-model/utils/general.d.ts +33 -23
- package/dist/model/chart-model/utils/series.d.ts +7 -5
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +62 -60
- package/dist/model/gauge-model/gauge-model.d.ts +4 -8
- package/dist/model/gauge-model/utils/gauge-axes.d.ts +77 -55
- package/dist/model/gauge-model/utils/gauge-data.d.ts +31 -28
- package/dist/model/gauge-model/utils/gauge-series.d.ts +24 -19
- package/dist/model/histogram-model/histogram-model.d.ts +0 -4
- package/dist/model/line-chart-model/line-chart-model.d.ts +0 -3
- package/dist/model/mixins/model-with-baseline-stacking.d.ts +5 -5
- package/dist/model/mixins/model-with-basic-x-axis.d.ts +0 -2
- package/dist/model/mixins/model-with-guides.d.ts +52 -45
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +47 -43
- package/dist/model/mixins/model-with-multi-axes.d.ts +101 -101
- package/dist/model/mixins/model-with-tooltips.d.ts +15 -16
- package/dist/model/mixins/model-with-x-guides.d.ts +7 -4
- package/dist/model/mixins/model-with-y-guides.d.ts +7 -4
- package/dist/model/mixins/utils/axes.d.ts +120 -105
- package/dist/model/mixins/utils/axis-label-behaviors.d.ts +8 -8
- package/dist/model/mixins/utils/baseline-stacking.d.ts +8 -8
- package/dist/model/mixins/utils/cursor-crosshair.d.ts +22 -18
- package/dist/model/mixins/utils/line-marker-styling.d.ts +33 -34
- package/dist/model/mixins/utils/tooltips.d.ts +20 -20
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +18 -18
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +35 -38
- package/dist/model/pie-chart-model/utils/pie-chart-data.d.ts +5 -4
- package/dist/model/pie-chart-model/utils/pie-chart-legend.d.ts +36 -32
- package/dist/model/pie-chart-model/utils/pie-chart-series.d.ts +89 -70
- package/dist/model/pie-chart-model/utils/pie-chart-slices.d.ts +0 -9
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +0 -3
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +0 -6
- package/dist/model/scatterplot-model/utils/scatterplot-data.d.ts +10 -6
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +27 -35
- package/dist/model/serial-chart-model/utils/serial-chart-data.d.ts +47 -45
- package/dist/model/serial-chart-model/utils/serial-chart-series.d.ts +30 -31
- package/dist/model/shared/axes.d.ts +49 -45
- package/dist/model/shared/data.d.ts +31 -30
- package/dist/model/shared/setup-utils.d.ts +1 -3
- package/dist/model/shared/utils.d.ts +6 -8
- package/dist/model.js +1 -1
- package/dist/spec/web-chart.d.ts +5 -3
- package/dist/store.d.ts +18 -15
- 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/chart-config/converter/index.d.ts +7 -10
- package/dist/utils/chart-config/utils/index.d.ts +5 -5
- package/dist/utils/components/action-bar-utils.d.ts +6 -6
- package/dist/utils/components/chart-ui-utils.d.ts +4 -12
- package/dist/utils/components/message-utils.d.ts +2 -3
- package/dist/utils/components/web-component-utils.d.ts +17 -13
- package/dist/utils/data/index.d.ts +13 -11
- package/dist/utils/errors/index.d.ts +4 -4
- package/dist/utils/layer/index.d.ts +31 -50
- package/dist/utils/localization/index.d.ts +1 -9
- package/dist/utils/misc/index.d.ts +16 -11
- package/dist/utils/type-guards/index.d.ts +41 -30
- package/package.json +3 -3
package/dist/store.d.ts
CHANGED
|
@@ -39,12 +39,12 @@ declare const state: {
|
|
|
39
39
|
timeBinningIntervalMap: {};
|
|
40
40
|
};
|
|
41
41
|
/**
|
|
42
|
-
* Generates the min
|
|
43
|
-
* The key is used to fetch/store the min
|
|
42
|
+
* Generates the min/max axis key for the selected chart based on the axis type and logarithmic scale.
|
|
43
|
+
* The key is used to fetch/store the min/max axis related values in the state for the selected chart.
|
|
44
44
|
*
|
|
45
|
-
* @param
|
|
46
|
-
* @param
|
|
47
|
-
* @param
|
|
45
|
+
* @param props.chartId - The selected chart id
|
|
46
|
+
* @param props.isXAxis - The axis type (`true` for x-axis, `false` for y-axis)
|
|
47
|
+
* @param props.isLogarithmic - The axis scale (`true` for logarithmic)
|
|
48
48
|
*/
|
|
49
49
|
export declare const generateAxisMinMaxKey: (props: {
|
|
50
50
|
chartId: string;
|
|
@@ -52,26 +52,29 @@ export declare const generateAxisMinMaxKey: (props: {
|
|
|
52
52
|
isLogarithmic: boolean;
|
|
53
53
|
}) => string;
|
|
54
54
|
/**
|
|
55
|
-
* Deletes the min
|
|
55
|
+
* Deletes the min/max axis key from the state for the selected chart.
|
|
56
56
|
*
|
|
57
|
-
* @param
|
|
57
|
+
* @param appState - The current app state
|
|
58
58
|
*/
|
|
59
59
|
export declare const deleteMinMaxAxisKey: (appState: AppState) => void;
|
|
60
60
|
/**
|
|
61
|
-
* Gets the axes bound data for the selected chart
|
|
62
|
-
*
|
|
63
|
-
* @
|
|
61
|
+
* Gets the axes bound data for the selected chart.
|
|
62
|
+
*
|
|
63
|
+
* @param appState - The current app state
|
|
64
|
+
* @returns The axes bound data map for the selected chart
|
|
64
65
|
*/
|
|
65
66
|
export declare const getTimeBinningForChart: (appState: AppState) => TimeIntervalInfo | undefined;
|
|
66
67
|
/**
|
|
67
|
-
* Sets the time binning interval for a specific chart
|
|
68
|
-
*
|
|
69
|
-
* @param
|
|
68
|
+
* Sets the time binning interval for a specific chart.
|
|
69
|
+
*
|
|
70
|
+
* @param appState - The current app state
|
|
71
|
+
* @param timeBinning - The time binning interval to set
|
|
70
72
|
*/
|
|
71
73
|
export declare const setTimeBinningForChart: (appState: AppState, timeBinning: TimeIntervalInfo) => void;
|
|
72
74
|
/**
|
|
73
|
-
* Resets the time binning interval for a specific chart
|
|
74
|
-
*
|
|
75
|
+
* Resets the time binning interval for a specific chart.
|
|
76
|
+
*
|
|
77
|
+
* @param appState - The current app state
|
|
75
78
|
*/
|
|
76
79
|
export declare const resetTimeBinningForChart: (appState: AppState) => void;
|
|
77
80
|
export default state;
|
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' | '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' | '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' | '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' | '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' | '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' | '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' | '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' | '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' | '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' | '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"]>;
|
|
@@ -23,9 +23,8 @@ declare function adjustSeries(configToUpdate: WebChart): WebChart;
|
|
|
23
23
|
/**
|
|
24
24
|
* Matches the config properties that have field names which mismatch the layer data source fields.
|
|
25
25
|
*
|
|
26
|
-
* @param
|
|
27
|
-
* @param
|
|
28
|
-
* @returns {Promise<WebChart>}
|
|
26
|
+
* @param config - The chart config
|
|
27
|
+
* @param layer - The layer instance
|
|
29
28
|
*/
|
|
30
29
|
declare function matchChartFieldsToLayerFields(configToUpdate: WebChart, layer?: SupportedLayer): Promise<WebChart>;
|
|
31
30
|
/**
|
|
@@ -438,14 +437,12 @@ declare function applyConversions<T extends WebChart>(props: {
|
|
|
438
437
|
/**
|
|
439
438
|
* Main function that converts the chart config with older chart JSON Schema, comparing to the current version.
|
|
440
439
|
*
|
|
441
|
-
*
|
|
442
|
-
*
|
|
443
|
-
*
|
|
444
|
-
* to ensure certain features are working properly.
|
|
445
|
-
*
|
|
446
|
-
* @param {*} config The chart config
|
|
447
|
-
* @param {*} layer The layer instance
|
|
440
|
+
* **Note**:
|
|
441
|
+
* 1. This function will convert and update the chart config to the current version if the version is older or unrecognized.
|
|
442
|
+
* 2. This function will also call mandatory conversion functions that are not related to the spec version to ensure certain features are working properly.
|
|
448
443
|
*
|
|
444
|
+
* @param config - The chart config
|
|
445
|
+
* @param layer - The layer instance
|
|
449
446
|
* @returns the updated web chart config.
|
|
450
447
|
*/
|
|
451
448
|
export declare function convertChartSpec<T extends WebChart | WebGaugeChart>(config?: T, layerOrLayerView?: FeatureLayerView | SupportedLayer, chartContainer?: HTMLElement): Promise<T>;
|
|
@@ -200,13 +200,13 @@ declare function hasHeatChartBinningChanged(previousConfig: WebChart, newConfig:
|
|
|
200
200
|
*/
|
|
201
201
|
export declare function hasHeatChartHideEmptyRowsAndColumnsChanged(previousConfig: WebChart, newConfig: WebChart): boolean;
|
|
202
202
|
/**
|
|
203
|
-
* Compares two configs and indicates whether additional tooltip fields (only non-numeric) changed
|
|
203
|
+
* Compares two configs and indicates whether additional tooltip fields (only non-numeric) changed.
|
|
204
204
|
*
|
|
205
|
-
* **NOTE**:
|
|
205
|
+
* **NOTE**: Only applicable to scatterplot
|
|
206
206
|
*
|
|
207
|
-
* @param
|
|
208
|
-
* @param
|
|
209
|
-
* @param
|
|
207
|
+
* @param props.previousConfig - The previous config
|
|
208
|
+
* @param props.newConfig - The updated config
|
|
209
|
+
* @param props.fieldList - The layer field list
|
|
210
210
|
*/
|
|
211
211
|
export declare function hasAdditionalTooltipFieldsChanged(props: {
|
|
212
212
|
previousConfig: WebChart;
|
|
@@ -5,8 +5,8 @@ import { ChartTypes, DefaultChartActions } from '../../utils';
|
|
|
5
5
|
/**
|
|
6
6
|
* Returns the default actions for a given chart type
|
|
7
7
|
*
|
|
8
|
-
* @param
|
|
9
|
-
* @returns
|
|
8
|
+
* @param props.chartType - The chart type for which to get the default actions
|
|
9
|
+
* @returns The default actions for the given chart type
|
|
10
10
|
*/
|
|
11
11
|
export declare function getDefaultChartActions(chartType: ChartTypes | undefined): DefaultChartActions[];
|
|
12
12
|
/**
|
|
@@ -19,10 +19,10 @@ export declare const onActionBarSlotChange: (e: Event, chartComponent: HTMLArcgi
|
|
|
19
19
|
/**
|
|
20
20
|
* Updates the action bar states based on the properties of the chart component and the config object.
|
|
21
21
|
*
|
|
22
|
-
* @param
|
|
23
|
-
* @param
|
|
24
|
-
* @param
|
|
25
|
-
* @param
|
|
22
|
+
* @param props.actionBar - The action bar element to update.
|
|
23
|
+
* @param props.chartComponent - The chart component element.
|
|
24
|
+
* @param props.config - The configuration object for the chart.
|
|
25
|
+
* @param props.isWarningDisplayed - Optional flag to indicate if a warning is displayed.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export declare function updateActionBarStates(props: {
|
|
@@ -85,30 +85,22 @@ export declare function sanitizeColor(color: RGB | undefined): RGB | null;
|
|
|
85
85
|
/**
|
|
86
86
|
* Handler for "keydown" event on numberic input element. Prevents input of "e" character.
|
|
87
87
|
*
|
|
88
|
-
* @param e Input element "keydown" event
|
|
88
|
+
* @param e - Input element "keydown" event
|
|
89
89
|
*/
|
|
90
90
|
export declare const blockNumericE: (e: KeyboardEvent) => void;
|
|
91
91
|
/**
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
* @param props.pickListElement
|
|
95
|
-
* @param props.eventEmitter
|
|
96
|
-
* @param props.contentKind
|
|
97
|
-
* @category Public
|
|
92
|
+
* Emit numeric field change event.
|
|
98
93
|
*/
|
|
99
94
|
export declare const emitNumericFieldsChange: (props: NumericFieldsChangeProps) => void;
|
|
100
95
|
/**
|
|
101
96
|
* Returns the line style type based on the provided line style.
|
|
102
|
-
*
|
|
103
|
-
* @param lineStyle
|
|
104
97
|
*/
|
|
105
98
|
export declare function getLineStyleType(lineStyle: RESTSimpleLineSymbolStyle | undefined): string;
|
|
106
99
|
/**
|
|
107
100
|
* Downloads an object as a file using a data URL.
|
|
108
101
|
*
|
|
109
|
-
* @param
|
|
110
|
-
* @param
|
|
111
|
-
* @category Public
|
|
102
|
+
* @param objectURL - The data URL of the object to download.
|
|
103
|
+
* @param downloadString - The name of the file to download.
|
|
112
104
|
*/
|
|
113
105
|
export declare function downloadFile(objectURL: string, downloadString: string): void;
|
|
114
106
|
/**
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { WebChartTypes } from '../../spec';
|
|
2
2
|
import { ErrorStrings } from '../localization/interfaces';
|
|
3
3
|
/**
|
|
4
|
-
* Pulls the proper placeholder according to the chart type
|
|
4
|
+
* Pulls the proper placeholder according to the chart type.
|
|
5
5
|
*
|
|
6
|
-
* @param chartType The chart type to get the placeholder for
|
|
7
|
-
* @category Private
|
|
6
|
+
* @param chartType - The chart type to get the placeholder for
|
|
8
7
|
*/
|
|
9
8
|
export declare function getChartPlaceholder(chartType?: WebChartTypes, errorStrings?: ErrorStrings): string | undefined;
|
|
@@ -6,23 +6,18 @@ import { SupportedLocalesForFormats } from '../localization/interfaces';
|
|
|
6
6
|
import { ChartConfig } from '../types';
|
|
7
7
|
/**
|
|
8
8
|
* A utility function to compare if a value has changed deeply.
|
|
9
|
-
* @param value
|
|
10
|
-
* @param oldValue
|
|
11
9
|
*/
|
|
12
10
|
export declare function hasChangedDeep<T>(value: T, oldValue?: T): boolean;
|
|
13
11
|
/**
|
|
14
12
|
* A utility function to compare if a value has changed deeply or shallowly.
|
|
15
|
-
* @param value
|
|
16
|
-
* @param oldValue
|
|
17
13
|
*/
|
|
18
14
|
export declare function hasChangedDeepOrShallow<T>(value: T, oldValue?: T): boolean;
|
|
19
15
|
/**
|
|
20
16
|
* Formats a cell value for CSV output.
|
|
21
17
|
* This function handles quoting and escaping of special characters.
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
24
|
-
*
|
|
25
|
-
* If `false` or `undefined`, only values that contain special characters will be quoted.
|
|
18
|
+
*
|
|
19
|
+
* @param value - The value to format.
|
|
20
|
+
* @param quoteAll - Whether to quote all values. If `true`, all values will be quoted. If `false` or `undefined`, only values that contain special characters will be quoted.
|
|
26
21
|
*/
|
|
27
22
|
export declare const formatCell: (props: {
|
|
28
23
|
value: unknown;
|
|
@@ -31,6 +26,7 @@ export declare const formatCell: (props: {
|
|
|
31
26
|
}) => string;
|
|
32
27
|
/**
|
|
33
28
|
* Converts an array of objects to a CSV string.
|
|
29
|
+
*
|
|
34
30
|
* @param data - The data to convert.
|
|
35
31
|
* @param options - Options for CSV conversion.
|
|
36
32
|
* @returns The CSV string.
|
|
@@ -39,10 +35,11 @@ export declare function arrayToCSV<T extends Record<string, unknown>>(data: T[],
|
|
|
39
35
|
/**
|
|
40
36
|
* Transform the raw data to a format that is suitable for exporting to CSV.
|
|
41
37
|
* This function is used to transform the data before it is passed to the CSV export function.
|
|
42
|
-
*
|
|
38
|
+
*
|
|
39
|
+
* @param props.config - The chart configuration that defines the chart type and data transformation.
|
|
43
40
|
* @param props.rawData - The raw data to be transformed, which is an array of objects.
|
|
44
|
-
* @param props.layer -
|
|
45
|
-
* @param props.fieldList -
|
|
41
|
+
* @param props.layer - The layer associated with the chart, used for additional data context.
|
|
42
|
+
* @param props.fieldList - The list of fields in the layer, used to determine field types and names.
|
|
46
43
|
*/
|
|
47
44
|
export declare function transformChartData<T extends Record<string, unknown>>(props: {
|
|
48
45
|
config?: ChartConfig;
|
|
@@ -52,12 +49,14 @@ export declare function transformChartData<T extends Record<string, unknown>>(pr
|
|
|
52
49
|
}): T[];
|
|
53
50
|
/**
|
|
54
51
|
* Transform the histogram data to a format that is suitable for exporting to CSV.
|
|
52
|
+
*
|
|
55
53
|
* @param config - The histogram model or config
|
|
56
54
|
* @param rows - The raw data to be transformed.
|
|
57
55
|
*/
|
|
58
56
|
export declare function transformHistogramData<T extends Record<string, unknown>>(config: ChartConfig<typeof ModelTypes.Histogram>, rows: T[]): T[];
|
|
59
57
|
/**
|
|
60
58
|
* Processes the chart data for bar and line charts.
|
|
59
|
+
*
|
|
61
60
|
* @param props.config - The chart model.
|
|
62
61
|
* @param props.rows - The raw data to be transformed.
|
|
63
62
|
* @param props.layer - The layer associated with the chart.
|
|
@@ -70,6 +69,7 @@ export declare function transformBarLineChartData<T extends Record<string, unkno
|
|
|
70
69
|
}): T[];
|
|
71
70
|
/**
|
|
72
71
|
* Transform the pie chart data to a format that is suitable for exporting to CSV.
|
|
72
|
+
*
|
|
73
73
|
* @param props.model - The pie chart model.
|
|
74
74
|
* @param props.rows - The raw data to be transformed.
|
|
75
75
|
* @param props.layer - The layer associated with the chart.
|
|
@@ -82,6 +82,7 @@ export declare function transformPieChartData<T extends Record<string, unknown>>
|
|
|
82
82
|
}): T[];
|
|
83
83
|
/**
|
|
84
84
|
* Transform the box plot data to a format that is suitable for exporting to CSV.
|
|
85
|
+
*
|
|
85
86
|
* @param model - The box plot model.
|
|
86
87
|
* @param rows - The raw data to be transformed.
|
|
87
88
|
* @returns The transformed data.
|
|
@@ -94,11 +95,14 @@ export declare function transformBoxPlotData<T extends Record<string, unknown>>(
|
|
|
94
95
|
}): T[];
|
|
95
96
|
/**
|
|
96
97
|
* Check if the provided date is valid.
|
|
97
|
-
*
|
|
98
|
+
*
|
|
99
|
+
* @param date - The date to check, should be a string or a number.
|
|
98
100
|
*/
|
|
99
101
|
export declare const isValidDate: (date: unknown) => date is Date | number | string;
|
|
100
102
|
/**
|
|
101
103
|
* Returns a unique ID.
|
|
102
|
-
*
|
|
104
|
+
*
|
|
105
|
+
* @example
|
|
106
|
+
* 33c2c20e-5a9e-c7be-1b23-b210e6218831
|
|
103
107
|
*/
|
|
104
108
|
export declare function generateGUID(): string;
|
|
@@ -11,30 +11,32 @@ export declare function getBoxPlotStatisticFieldNames(y?: string): Record<BoxPlo
|
|
|
11
11
|
* Check the `subType` in the chart config to determine whether the chart is a gauge by feature.
|
|
12
12
|
* If `subType` is not defined, the chart is defaulted to be a statistic gauge.
|
|
13
13
|
*
|
|
14
|
-
* @param config the chart config
|
|
15
|
-
* @default false
|
|
14
|
+
* @param config - the chart config
|
|
16
15
|
*/
|
|
17
16
|
export declare function isGaugeByFeature(config: WebChart): boolean;
|
|
18
17
|
/**
|
|
19
18
|
* From fetched data (type: WebChartDataTypes) returns the part containing the data that
|
|
20
19
|
* is to be assigned to the chart (WebChartDataItem[] | WebChartBin[])
|
|
21
|
-
*
|
|
20
|
+
*
|
|
21
|
+
* @param props.fetchedData - The fetched finished data
|
|
22
22
|
*/
|
|
23
23
|
export declare function extractChartDataFromFetchedData(fetchedData?: WebChartDataTypes): WebChartBin[] | WebChartDataItem[] | undefined;
|
|
24
24
|
/**
|
|
25
25
|
* Determine whether the current box plot has multi-fields or not based on its query type
|
|
26
|
-
*
|
|
26
|
+
*
|
|
27
|
+
* @param chartSubType - Box plot sub type
|
|
27
28
|
*/
|
|
28
29
|
export declare function isMultiFieldsBoxPlot(chartSubType?: ChartSubType): boolean;
|
|
29
30
|
/**
|
|
30
31
|
* Compute Y value for given Box Plot Y field key based on the provided config
|
|
31
|
-
*
|
|
32
|
-
* @param props.
|
|
33
|
-
* @param props.
|
|
34
|
-
* @param props.
|
|
35
|
-
* @param props.
|
|
36
|
-
* @param props.
|
|
37
|
-
* @param props.
|
|
32
|
+
*
|
|
33
|
+
* @param props.key - The BoxPlotYFieldKeys related to the stat
|
|
34
|
+
* @param props.y - The y field to use to get the y value
|
|
35
|
+
* @param props.chartSubType - The box plot sub type
|
|
36
|
+
* @param props.splitBy - The where clause used as a split-by value for a given series
|
|
37
|
+
* @param props.splitByValue - The split-by value for a given series
|
|
38
|
+
* @param props.showOutliers - Whether to show the outliers
|
|
39
|
+
* @param props.standardizeValues - Whether to show the standardized values
|
|
38
40
|
*/
|
|
39
41
|
export declare function getBoxPlotYValue(props: BoxPlotYValueProps): string;
|
|
40
42
|
/**
|
|
@@ -17,11 +17,11 @@ export declare class ArcgisChartsError<T = any> extends Error {
|
|
|
17
17
|
*/
|
|
18
18
|
details?: T;
|
|
19
19
|
/**
|
|
20
|
-
* Creates a new ArcgisChartsError instance.
|
|
20
|
+
* Creates a new `ArcgisChartsError` instance.
|
|
21
21
|
*
|
|
22
|
-
* @param
|
|
23
|
-
* @param
|
|
24
|
-
* @param
|
|
22
|
+
* @param name - A unique error name.
|
|
23
|
+
* @param message - A message describing the details of the error.
|
|
24
|
+
* @param details - The details object provides additional details specific to the error.
|
|
25
25
|
*/
|
|
26
26
|
constructor(name: string, message?: string, details?: T);
|
|
27
27
|
}
|
|
@@ -118,31 +118,23 @@ export declare function getFieldDescription(props: {
|
|
|
118
118
|
}): string | undefined;
|
|
119
119
|
/**
|
|
120
120
|
* Returns feature layer field names used in its renderer.
|
|
121
|
-
* @param {FeatureLayer} layer
|
|
122
|
-
* @returns {Promise<string[]>}
|
|
123
121
|
*/
|
|
124
122
|
export declare function getRendererFieldNames(layer: SupportedLayer): Promise<string[]>;
|
|
125
123
|
/**
|
|
126
124
|
* Returns the ArcGIS server's rest/info url of the feature server given a feature layer url.
|
|
127
|
-
*
|
|
125
|
+
*
|
|
126
|
+
* @example
|
|
127
|
+
* getServerRestInfo(https://servicesdev.arcgis.com/b5ADkBof6gCHCFQm/arcgis/rest/services/Steph_Curry/FeatureServer/2
|
|
128
128
|
* returns https://servicesdev.arcgis.com/b5ADkBof6gCHCFQm/arcgis/rest/info
|
|
129
|
-
* @param {string} resUrl
|
|
130
|
-
* @returns {string}
|
|
131
129
|
*/
|
|
132
130
|
declare function getServerRestInfo(resUrl: string): string;
|
|
133
131
|
/**
|
|
134
132
|
* Returns a boolean to indicate if the feature layer is on standard feature data store or not.
|
|
135
133
|
* https://doc.arcgis.com/en/arcgis-online/reference/faq.htm#anchor7
|
|
136
|
-
* @param {FeatureLayer} layer
|
|
137
|
-
* @returns {Promise<boolean>}
|
|
138
134
|
*/
|
|
139
135
|
export declare function isStandardLayer(layer: SupportedLayer): Promise<boolean>;
|
|
140
136
|
/**
|
|
141
137
|
* Finds the matching field name for a given layer based on the fieldToMatch parameter.
|
|
142
|
-
* @param {QueryObject} props.queryObject
|
|
143
|
-
* @param {string} props.fieldToMatch
|
|
144
|
-
* @param {boolean} props.returnUndefinedIfNotFound
|
|
145
|
-
* @returns {Promise<string>}
|
|
146
138
|
*/
|
|
147
139
|
export declare function findMatchingLayerFieldName(props: {
|
|
148
140
|
queryObject: QueryObject;
|
|
@@ -152,25 +144,21 @@ export declare function findMatchingLayerFieldName(props: {
|
|
|
152
144
|
/**
|
|
153
145
|
* Find the matching field in a list of fields based on the fieldToMatch parameter.
|
|
154
146
|
* It first looks for a perfect match (case-sensitive), then for an approximate match (case-insensitive).
|
|
155
|
-
* @param {IField[]} layerFieldList - The list of fields to search in.
|
|
156
|
-
* @param {string} fieldToMatch - The field name to match.
|
|
157
|
-
* @returns {IField | undefined} - The matching field if found, otherwise undefined.
|
|
158
147
|
*
|
|
159
148
|
* We look for a match in 2 steps:
|
|
160
149
|
*
|
|
161
150
|
* 1. Perfect match: the case of the fields is exactly the same. This helps when the layer has fields with the same name but with a
|
|
162
|
-
*
|
|
151
|
+
* different case (e.g. "field" and "FiElD"). Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8305
|
|
163
152
|
*
|
|
164
153
|
* 2: Approximate match: we upper-case the fields to compare them
|
|
154
|
+
*
|
|
155
|
+
* @param layerFieldList - The list of fields to search in.
|
|
156
|
+
* @param fieldToMatch - The field name to match.
|
|
157
|
+
* @returns The matching field if found, otherwise undefined.
|
|
165
158
|
*/
|
|
166
159
|
export declare function findMatchingField(layerFieldList: IField[], fieldToMatch: string): IField | undefined;
|
|
167
160
|
/**
|
|
168
161
|
* Finds the matching layer fields for a list of fields.
|
|
169
|
-
*
|
|
170
|
-
* @param {(string[] | undefined)} props.fields
|
|
171
|
-
* @param {SupportedLayer} props.queryObject
|
|
172
|
-
* @param {boolean} props.returnUndefinedIfNotFound
|
|
173
|
-
* @returns
|
|
174
162
|
*/
|
|
175
163
|
export declare function matchFieldsList(props: {
|
|
176
164
|
fieldsList: string[] | undefined;
|
|
@@ -180,12 +168,12 @@ export declare function matchFieldsList(props: {
|
|
|
180
168
|
/**
|
|
181
169
|
* Builds a WebChartQuery based on information coming from the runtime filters (chart options), the config and the data source.
|
|
182
170
|
* The filters by attributes from all sources are all combined together (using the AND operator).
|
|
183
|
-
* Regarding the other filters (by geometry, gdb version and time extent) only one of each can be applied. The runtime
|
|
184
|
-
*
|
|
185
|
-
* @param props.queryObject The query object (feature layer or feature layer view)
|
|
186
|
-
* @param props.chartConfig The chart's config
|
|
187
|
-
* @param props.runtimeDataFilters The runtime data filters
|
|
188
|
-
* @param props.ignoreViewExtent Whether to ignore the view extent
|
|
171
|
+
* Regarding the other filters (by geometry, gdb version and time extent) only one of each can be applied. The runtime filters are chosen over the config filters.
|
|
172
|
+
*
|
|
173
|
+
* @param props.queryObject - The query object (feature layer or feature layer view)
|
|
174
|
+
* @param props.chartConfig - The chart's config
|
|
175
|
+
* @param props.runtimeDataFilters - The runtime data filters
|
|
176
|
+
* @param props.ignoreViewExtent - Whether to ignore the view extent
|
|
189
177
|
*/
|
|
190
178
|
export declare function buildQueryConfig(props: {
|
|
191
179
|
queryObject?: QueryObject;
|
|
@@ -195,51 +183,44 @@ export declare function buildQueryConfig(props: {
|
|
|
195
183
|
}): WebChartQuery;
|
|
196
184
|
/**
|
|
197
185
|
* Ger the list of the fields used in the charts
|
|
198
|
-
* @category Public
|
|
199
186
|
*
|
|
200
|
-
*
|
|
201
|
-
* @param
|
|
202
|
-
* @
|
|
203
|
-
*
|
|
204
|
-
* @returns {Promise<string[]>} - The list of fields used in the charts
|
|
187
|
+
* @param layer - the supported layer
|
|
188
|
+
* @param chartList - List of charts stored in the layer
|
|
189
|
+
* @returns The list of fields used in the charts
|
|
205
190
|
*/
|
|
206
191
|
export declare function getFieldsUsedInCharts(layer: SupportedLayer): Promise<string[]>;
|
|
207
192
|
/**
|
|
208
193
|
* Fetches the fields used in the chart configuration and returns the matching fields from the feature layer.
|
|
209
|
-
* @param {ChartConfig} config The chart configuration
|
|
210
|
-
* @param {SupportedLayer} layer The feature layer
|
|
211
194
|
*
|
|
212
|
-
* @
|
|
195
|
+
* @param config - The chart configuration
|
|
196
|
+
* @param layer - The feature layer
|
|
197
|
+
* @returns The list of matching fields
|
|
213
198
|
*/
|
|
214
199
|
export declare function extractFieldsUsedInConfig(config: WebChart, layer: SupportedLayer | undefined): Promise<string[]>;
|
|
215
200
|
/**
|
|
216
201
|
* Get the list of layer fields from the series list of the chart config.
|
|
217
|
-
* @param {SupportedLayer} layer The layer
|
|
218
202
|
*
|
|
219
|
-
* @
|
|
203
|
+
* @param layer - The layer
|
|
204
|
+
* @returns The list of layer fields
|
|
220
205
|
*/
|
|
221
206
|
export declare function extractFieldsFromConfigList(layer: SupportedLayer): Promise<string[]>;
|
|
222
207
|
/**
|
|
223
208
|
* Finds the matching layer in the view based on the provided layer's portal item id.
|
|
224
|
-
* The matching is done based on the portalItem id.
|
|
225
|
-
* If no matching layer is found, returns `undefined`.
|
|
226
|
-
* @param {MapView | SceneView | undefined} props.view The map or scene view
|
|
227
|
-
* @param {string} props.portalItemId The portal item id of the layer
|
|
228
|
-
*
|
|
229
|
-
* @returns {FeatureLayerView | SupportedLayer | undefined} The matching layer in the view or undefined if not found
|
|
230
|
-
*
|
|
231
|
-
* @requires
|
|
232
|
-
* - view
|
|
233
|
-
* - portalItemId
|
|
234
|
-
*
|
|
235
|
-
* ```
|
|
209
|
+
* - The matching is done based on the portalItem id.
|
|
210
|
+
* - If no matching layer is found, returns `undefined`.
|
|
236
211
|
*
|
|
237
212
|
* @example
|
|
238
213
|
* ```ts
|
|
239
214
|
* const matchingLayer = findMatchingLayerFromView({ view, portalItemId: 'abc123' });
|
|
240
215
|
* ```
|
|
241
216
|
*
|
|
242
|
-
* @
|
|
217
|
+
* @param props.view - The map or scene view
|
|
218
|
+
* @param props.portalItemId - The portal item id of the layer
|
|
219
|
+
* @returns The matching layer in the view or undefined if not found
|
|
220
|
+
*
|
|
221
|
+
* @requires
|
|
222
|
+
* - view
|
|
223
|
+
* - portalItemId
|
|
243
224
|
*/
|
|
244
225
|
export declare function findMatchingLayerFromView(props: {
|
|
245
226
|
view?: MapView | SceneView;
|
|
@@ -3,27 +3,19 @@ import { ErrorStrings, LocaleInfo, UtilsStrings, SupportedLocalesForFormats } fr
|
|
|
3
3
|
/**
|
|
4
4
|
* Finds the locale info of the closest element to the given element.
|
|
5
5
|
*
|
|
6
|
-
* @param element The element to get the locale info from.
|
|
6
|
+
* @param element - The element to get the locale info from.
|
|
7
7
|
*/
|
|
8
8
|
export declare function getLocaleInfo(element?: HTMLElement): LocaleInfo;
|
|
9
9
|
/**
|
|
10
10
|
* Converts the given `timeZone` from ArcGIS `MapView` to a valid time zone string.
|
|
11
|
-
* @param {MapView["timeZone"] | undefined} timeZone
|
|
12
|
-
* @returns {MapView["timeZone"] | undefined}
|
|
13
11
|
*/
|
|
14
12
|
export declare function convertTimeZone(timeZone: MapView["timeZone"] | undefined): string | undefined;
|
|
15
13
|
/**
|
|
16
14
|
* Returns the date string in the Calcite date picker's expected format `YYYY-MM-DD` based on the given date and time zone.
|
|
17
|
-
* @param {Date} date
|
|
18
|
-
* @param {string} timeZone
|
|
19
|
-
* @returns {string}
|
|
20
15
|
*/
|
|
21
16
|
export declare function getDateStringInCalciteDatePickerFormat(date: Date, timeZone: string): string;
|
|
22
17
|
/**
|
|
23
18
|
* Returns the time string in the Calcite time picker's expected format `HH:mm` based on the given date and time zone.
|
|
24
|
-
* @param {Date} date
|
|
25
|
-
* @param {string} timeZone
|
|
26
|
-
* @returns {string}
|
|
27
19
|
*/
|
|
28
20
|
export declare function getTimeStringInCalciteTimePickerFormat(date: Date, timeZone: string): string;
|
|
29
21
|
/**
|