@arcgis/charts-components 5.0.0-next.102 → 5.0.0-next.103
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/{6XLGPGVV.js → 2HTL6FP7.js} +2 -2
- package/dist/cdn/{HZJFNRAT.js → 2JO6HKB3.js} +2 -2
- package/dist/cdn/{ILJTUKQZ.js → 2KT37FBK.js} +2 -2
- package/dist/cdn/{G675UJLI.js → 2MFJUWF2.js} +2 -2
- package/dist/cdn/{XTDCNDP6.js → 2MNCBYJM.js} +2 -2
- package/dist/cdn/{LMLIHFSE.js → 2XJJRXPR.js} +2 -2
- package/dist/cdn/{LHBUSPCJ.js → 34V4SC2D.js} +2 -2
- package/dist/cdn/{N3LA7KMK.js → 37ZC7XJR.js} +2 -2
- package/dist/cdn/{MJDMUXPV.js → 3KRYHHIO.js} +2 -2
- package/dist/cdn/{G5CP7AO3.js → 3OZHRZMP.js} +2 -2
- package/dist/cdn/{RZLKAKU2.js → 436KXAAY.js} +9 -9
- package/dist/cdn/{DY652DZC.js → 4BVQ5CNA.js} +2 -2
- package/dist/cdn/{KAMUEAHK.js → 4TUSM3AQ.js} +2 -2
- package/dist/cdn/{CYT6OYHT.js → 4W3NEMXF.js} +2 -2
- package/dist/cdn/{6NGM3L2C.js → 5A3DBT5W.js} +2 -2
- package/dist/cdn/{MZV5RMMS.js → 5C266XF2.js} +1 -1
- package/dist/cdn/{QIUFX7LS.js → 5HORPQE4.js} +2 -2
- package/dist/cdn/{ET5EBHJD.js → 5JMOGSCH.js} +2 -2
- package/dist/cdn/63Y5NQFO.js +6 -0
- package/dist/cdn/{NOPZQ2RJ.js → 6I5SYUMM.js} +2 -2
- package/dist/cdn/{WM36WGJY.js → 6IGFTJIY.js} +2 -2
- package/dist/cdn/{NY5FVVO6.js → 6PKG5PIH.js} +2 -2
- package/dist/cdn/{D5YBFYC4.js → 6SPQGF2E.js} +2 -2
- package/dist/cdn/{32XQFBJ5.js → 6US5LSGX.js} +2 -2
- package/dist/cdn/{ZLB6TCRW.js → 6V6O7TA3.js} +2 -2
- package/dist/cdn/{QUFEY2KE.js → 6X7UO3MM.js} +2 -2
- package/dist/cdn/{2BPUFV3E.js → 7KK4WJRU.js} +2 -2
- package/dist/cdn/{7YKDGAE6.js → 7N6LWFKP.js} +2 -2
- package/dist/cdn/{LKL3R7UD.js → 7OOTUARJ.js} +2 -2
- package/dist/cdn/{YRGL6LV6.js → 7QPDXGHL.js} +2 -2
- package/dist/cdn/{AF4BRJUN.js → 7WY444HC.js} +2 -2
- package/dist/cdn/{6SUF6LVA.js → A3O5KJAZ.js} +2 -2
- package/dist/cdn/{MJLTSZ63.js → A4OT22OG.js} +2 -2
- package/dist/cdn/{TX4WKLFV.js → ALJJAG2D.js} +2 -2
- package/dist/cdn/{YRNQ5M3J.js → ANMY32DH.js} +1 -1
- package/dist/cdn/{W4DAC7H7.js → AOB6DBLR.js} +2 -2
- package/dist/cdn/{MRZ4B67F.js → ATC7GJK3.js} +2 -2
- package/dist/cdn/{JGMHPA5V.js → AX6TUQ7F.js} +2 -2
- package/dist/cdn/{BUHUYA5O.js → AZXVGQPG.js} +2 -2
- package/dist/cdn/{ZFOGU7JL.js → B2EDL3PZ.js} +2 -2
- package/dist/cdn/{FRAESJ5H.js → B5CM3U67.js} +2 -2
- package/dist/cdn/{33ULPLL6.js → BCWNEMLO.js} +2 -2
- package/dist/cdn/{3WL5JUZ3.js → BV327R5W.js} +2 -2
- package/dist/cdn/{VKNKTJHI.js → C2MKSNPC.js} +2 -2
- package/dist/cdn/{BW46LSXV.js → C367SY3X.js} +2 -2
- package/dist/cdn/{LK4BBXFO.js → CNI6F3IQ.js} +2 -2
- package/dist/cdn/{QP3VQEVL.js → D3MAXSM6.js} +2 -2
- package/dist/cdn/{SFMVRE4F.js → D7EK3QGA.js} +2 -2
- package/dist/cdn/{SN2FRRCJ.js → DAJJZHOJ.js} +2 -2
- package/dist/cdn/{REZCDBYX.js → DK5DUUWB.js} +2 -2
- package/dist/cdn/{HCKYU4DJ.js → DNLFY3LU.js} +2 -2
- package/dist/cdn/{4G4GVLPM.js → DOF5G27X.js} +1 -1
- package/dist/cdn/{KX7UJABF.js → DRTO2BDN.js} +2 -2
- package/dist/cdn/{WUNFRDMP.js → E7IBZHXW.js} +2 -2
- package/dist/cdn/{2OVSKLWM.js → EF6PJZLD.js} +2 -2
- package/dist/cdn/{BKNLG5J6.js → EFBHNWXR.js} +2 -2
- package/dist/cdn/{EEFRRYZ7.js → EIXEFHGD.js} +2 -2
- package/dist/cdn/{RO6V2NCO.js → EJCA5NZX.js} +2 -2
- package/dist/cdn/{3PESWDXU.js → EP6SJIFY.js} +2 -2
- package/dist/cdn/{GXR3MLSX.js → EXLOV74Q.js} +2 -2
- package/dist/cdn/{KCLSP4YZ.js → EZMF4QOU.js} +2 -2
- package/dist/cdn/{PXBIU6TE.js → F2KRMXLT.js} +2 -2
- package/dist/cdn/{XQ4CFCGB.js → FFYOYUH3.js} +2 -2
- package/dist/cdn/{V7AEILOZ.js → FIMXZHFS.js} +2 -2
- package/dist/cdn/{2LI5AEMF.js → FPA4PWSR.js} +2 -2
- package/dist/cdn/{JZZLPTXN.js → FUOWIYCG.js} +2 -2
- package/dist/cdn/{MWVAN7WZ.js → FWK5PAH6.js} +2 -2
- package/dist/cdn/{FYBKHP7O.js → G5I3ROTC.js} +2 -2
- package/dist/cdn/{NBIPH2LP.js → G7DWFHDQ.js} +2 -2
- package/dist/cdn/{7QFNJN4W.js → GAHDVPWO.js} +2 -2
- package/dist/cdn/{55I7AIEJ.js → GAM37YD4.js} +2 -2
- package/dist/cdn/{BPZW6PXW.js → GFDDWZEN.js} +1 -1
- package/dist/cdn/{E73VA3FX.js → GIFGSUEN.js} +2 -2
- package/dist/cdn/{R4BCIEIP.js → GZ26Q7CX.js} +2 -2
- package/dist/cdn/{2UERDYYK.js → HD7CWUM5.js} +2 -2
- package/dist/cdn/{5G5TLNFP.js → HHMD3J4H.js} +2 -2
- package/dist/cdn/{AMEMS37G.js → HYMDLSCL.js} +2 -2
- package/dist/cdn/{OCIKRFP6.js → I24DAGG4.js} +2 -2
- package/dist/cdn/{V3XGCBNX.js → IF6SVB5Q.js} +2 -2
- package/dist/cdn/{SNEQJFZL.js → IX2FCSFH.js} +2 -2
- package/dist/cdn/{3DXAOXHJ.js → JAYLXOD4.js} +8 -8
- package/dist/cdn/{3ZJ33IVL.js → JNZRFFVW.js} +2 -2
- package/dist/cdn/{7JTAXO6X.js → JRYDZHUT.js} +2 -2
- package/dist/cdn/{K732GGAO.js → JU2YHUYD.js} +2 -2
- package/dist/cdn/{Q64R5T75.js → JVASC6GW.js} +2 -2
- package/dist/cdn/{UAK33ITT.js → K2KFOXE6.js} +2 -2
- package/dist/cdn/{IXN6XYIO.js → K2S7SWQB.js} +2 -2
- package/dist/cdn/{FYWZ5NU4.js → KFO4NOG2.js} +2 -2
- package/dist/cdn/{FKIJGFB5.js → KGWNPU2J.js} +2 -2
- package/dist/cdn/{DJZSHEIT.js → KKJH63GM.js} +2 -2
- package/dist/cdn/{VQ3LQCKQ.js → KPIH6WGN.js} +2 -2
- package/dist/cdn/{R4RO45LL.js → KQRVOTTG.js} +2 -2
- package/dist/cdn/{65E3VDVX.js → KVIW4HYT.js} +2 -2
- package/dist/cdn/{TQMO5KEM.js → KYEYD3AS.js} +2 -2
- package/dist/cdn/{AZYRVQMV.js → LDLPZ56E.js} +2 -2
- package/dist/cdn/{ELXNSRZI.js → LOTA6FLQ.js} +2 -2
- package/dist/cdn/{ALNZBBKL.js → LPDE6W2K.js} +2 -2
- package/dist/cdn/{E5GMAB4Q.js → MC645RG3.js} +2 -2
- package/dist/cdn/{YPIQOHMD.js → MCM2BPQM.js} +2 -2
- package/dist/cdn/{O4CSRPGF.js → MFRF7Y37.js} +2 -2
- package/dist/cdn/{ZCZYMOHL.js → MHAQ753S.js} +2 -2
- package/dist/cdn/{COE3LBYM.js → MICNI552.js} +2 -2
- package/dist/cdn/{5NW3WG6M.js → MJAVSPBB.js} +2 -2
- package/dist/cdn/{ROQ4XK6L.js → MSD5CTKS.js} +2 -2
- package/dist/cdn/{GX7XI5E6.js → MV2ISPDO.js} +2 -2
- package/dist/cdn/{N4GTWOSJ.js → MVDRTIQH.js} +2 -2
- package/dist/cdn/{ERLWXJJE.js → MVXGXQCS.js} +2 -2
- package/dist/cdn/{COH7VU46.js → MZZCWW2A.js} +2 -2
- package/dist/cdn/{GTRWXFSD.js → N2H3TVOI.js} +1 -1
- package/dist/cdn/{OARJ6MHQ.js → NDJTUPZR.js} +2 -2
- package/dist/cdn/{BRV4NK74.js → NFGD4TJU.js} +2 -2
- package/dist/cdn/{YOEPTM3J.js → NLMVMWAR.js} +2 -2
- package/dist/cdn/{DLW3EVLT.js → NPZK3G2E.js} +2 -2
- package/dist/cdn/{AZ7OKGGJ.js → NW64DUQO.js} +2 -2
- package/dist/cdn/{AHUK4GAJ.js → O5LLHUZS.js} +2 -2
- package/dist/cdn/{UIMH44QF.js → OBBBB2CA.js} +2 -2
- package/dist/cdn/PKNWRNXH.js +4 -0
- package/dist/cdn/{CEEOVLI2.js → Q5Q4WCFH.js} +1 -1
- package/dist/cdn/{5LZX2UDV.js → QBZ4NGTR.js} +2 -2
- package/dist/cdn/{RROMIMDM.js → QD5UD6F2.js} +2 -2
- package/dist/cdn/{UDX43XBB.js → QFB7MBUZ.js} +2 -2
- package/dist/cdn/{TP7BIYYT.js → QHKDHKK7.js} +2 -2
- package/dist/cdn/{RU2HCVG6.js → QIRTSMTV.js} +2 -2
- package/dist/cdn/{RM3CCXZN.js → QKGUWAJK.js} +2 -2
- package/dist/cdn/{2DSKRPUF.js → QL4ZDLSE.js} +2 -2
- package/dist/cdn/{6T7JES7C.js → QOCW5P3K.js} +2 -2
- package/dist/cdn/{TLM22DYH.js → QQXIO6RZ.js} +1 -1
- package/dist/cdn/{5MHH4WZK.js → QSUJGGWJ.js} +2 -2
- package/dist/cdn/{HUSHFX2M.js → R6MJVQ3E.js} +2 -2
- package/dist/cdn/{2IFCXOCH.js → RNE3DKS2.js} +2 -2
- package/dist/cdn/{VTTWGTBF.js → RQUWHP2G.js} +2 -2
- package/dist/cdn/{XHASSS5R.js → S2G6SQZC.js} +2 -2
- package/dist/cdn/{GQPTCCI4.js → S622HABK.js} +2 -2
- package/dist/cdn/{54DJTEQE.js → S7XDNS36.js} +2 -2
- package/dist/cdn/{3ZNWO7HO.js → SBSGTJWG.js} +2 -2
- package/dist/cdn/{56VAR6ZY.js → SDTH5NHU.js} +2 -2
- package/dist/cdn/{O5CRUYV2.js → SPNJUL6U.js} +2 -2
- package/dist/cdn/{2JPDE2HT.js → SVMESJLN.js} +2 -2
- package/dist/cdn/{37JWCJOL.js → T3IVVYDY.js} +2 -2
- package/dist/cdn/{7BYS23IM.js → T55TLZFO.js} +2 -2
- package/dist/cdn/{7NHXXYON.js → TKMYM7L7.js} +2 -2
- package/dist/cdn/{QNMH5WVM.js → TOK43IAZ.js} +2 -2
- package/dist/cdn/{MOBWDJSO.js → TROYMUA4.js} +2 -2
- package/dist/cdn/{YBLEOKUP.js → UAILKW4B.js} +2 -2
- package/dist/cdn/{UARM42ZY.js → UHSZMABB.js} +2 -2
- package/dist/cdn/{NEFHBQ6U.js → UONMYW4B.js} +2 -2
- package/dist/cdn/{EJ4PI7IS.js → UP7FLATR.js} +2 -2
- package/dist/cdn/{SWXOTWQ3.js → UPIPQYNS.js} +2 -2
- package/dist/cdn/{YYN2QFXF.js → VCBFQHSG.js} +2 -2
- package/dist/cdn/{S3MY57PT.js → VVDPQRG4.js} +2 -2
- package/dist/cdn/{CWE7WAGF.js → VZQRQHX3.js} +2 -2
- package/dist/cdn/{VKSSENI2.js → WAC2AJL4.js} +2 -2
- package/dist/cdn/{ORQNKXVC.js → WBFOPAPB.js} +2 -2
- package/dist/cdn/{TKGYQYLW.js → WLCHUATK.js} +1 -1
- package/dist/cdn/{EGPUTZW6.js → WQTRLTPF.js} +2 -2
- package/dist/cdn/{DSR3ELSG.js → WRH7UYGG.js} +2 -2
- package/dist/cdn/{4HZ6UE3P.js → X2XQVD3R.js} +2 -2
- package/dist/cdn/{RNQOULPD.js → X54VEOUL.js} +2 -2
- package/dist/cdn/{4TFGJ4BH.js → XBTU2ONC.js} +2 -2
- package/dist/cdn/{F3ZGRTCA.js → XF5QSPIN.js} +2 -2
- package/dist/cdn/{O5NRXBZB.js → XIJSBPF4.js} +2 -2
- package/dist/cdn/{AUCFCZPN.js → XK4ONOXJ.js} +2 -2
- package/dist/cdn/{4P746Q3F.js → XKO3RRT2.js} +2 -2
- package/dist/cdn/{MAUTZ7UB.js → XLEPTDMT.js} +2 -2
- package/dist/cdn/{SJJ5L5SW.js → XQYH4NZD.js} +2 -2
- package/dist/cdn/{Q52YD7ND.js → XSILRE36.js} +2 -2
- package/dist/cdn/{4X5U7ZYO.js → XVBDTDWG.js} +2 -2
- package/dist/cdn/{A6V2DCGB.js → YAJXIE4J.js} +2 -2
- package/dist/cdn/{B6KHLUKY.js → YRXH6OQF.js} +2 -2
- package/dist/cdn/{HDSL5A7V.js → YSLYRUKP.js} +2 -2
- package/dist/cdn/{CSO6O43I.js → YVSRYKNX.js} +2 -2
- package/dist/cdn/{JJQEYUZU.js → Z2K5XFXO.js} +2 -2
- package/dist/cdn/{SZKBSVQB.js → ZSL4VIC2.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chart-rendering/next/defaults/index.d.ts +1 -0
- package/dist/chunks/action-bar-utils.js +9 -9
- 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 +28 -28
- package/dist/chunks/box-plot-model.js +7 -7
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +2 -2
- package/dist/chunks/combo-bar-line-chart-model.js +6 -6
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +24 -24
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +14 -14
- package/dist/chunks/heat-chart-model.js +84 -73
- package/dist/chunks/histogram-data.js +9 -9
- package/dist/chunks/histogram-model.js +5 -5
- package/dist/chunks/index.js +1207 -1166
- package/dist/chunks/index2.js +20 -20
- 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 +10 -10
- package/dist/chunks/model-with-multi-axes.js +128 -128
- package/dist/chunks/pie-chart-data.js +19 -19
- package/dist/chunks/pie-chart-model.js +25 -25
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +7 -7
- 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 +24 -24
- package/dist/chunks/serial-chart-data.js +162 -158
- package/dist/chunks/serial-chart-model.js +12 -12
- 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 +23 -23
- package/dist/components/arcgis-chart/customElement.js +3 -3
- 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 +5 -5
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- 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 +8 -8
- 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 +2 -2
- 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 +10 -10
- 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 +1 -1
- 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 +6 -6
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +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 +2 -2
- 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 +5 -5
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +222 -221
- package/dist/json-schema/index.d.ts +7 -2
- package/dist/loader.js +1 -1
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +5 -0
- package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +60 -49
- package/dist/model.js +1 -1
- package/dist/spec/web-chart.d.ts +7 -2
- package/dist/utils/chart-config/converter/index.d.ts +4 -4
- package/dist/utils/chart-config/utils/index.d.ts +8 -1
- package/dist/utils/data/interfaces.d.ts +1 -0
- package/dist/utils/layer/query-parser/index.d.ts +3 -0
- package/package.json +3 -3
- package/dist/cdn/F6LLFVW7.js +0 -6
- package/dist/cdn/YM4QNWCO.js +0 -4
|
@@ -4,9 +4,9 @@ import { LayerInfo, ModelTypes } from '../../interfaces/common';
|
|
|
4
4
|
type HeatChartConfig = ChartConfig<typeof ModelTypes.HeatChart, WebHeatChart>;
|
|
5
5
|
/**
|
|
6
6
|
* Sets the x field
|
|
7
|
-
* @param xField The numeric field
|
|
8
|
-
* @param config The heat chart config
|
|
9
|
-
* @param layerInfo The layer info
|
|
7
|
+
* @param xField - The numeric field
|
|
8
|
+
* @param config - The heat chart config
|
|
9
|
+
* @param layerInfo - The layer info
|
|
10
10
|
*/
|
|
11
11
|
export declare const setXField: (props: {
|
|
12
12
|
xField: string;
|
|
@@ -15,47 +15,47 @@ export declare const setXField: (props: {
|
|
|
15
15
|
}) => void;
|
|
16
16
|
/**
|
|
17
17
|
* Gets the x field
|
|
18
|
-
* @param config the heat chart config
|
|
18
|
+
* @param config - the heat chart config
|
|
19
19
|
*/
|
|
20
20
|
export declare const getXField: (config: HeatChartConfig) => string;
|
|
21
21
|
/**
|
|
22
22
|
* Gets the hide empty rows and columns setting
|
|
23
|
-
* @param config The heat chart config
|
|
23
|
+
* @param config - The heat chart config
|
|
24
24
|
*/
|
|
25
25
|
export declare const getHideEmptyRowsAndColumns: (config: HeatChartConfig) => boolean | undefined;
|
|
26
26
|
/**
|
|
27
27
|
* Sets the hide empty rows and columns setting
|
|
28
|
-
* @param config The heat chart config
|
|
29
|
-
* @param hideEmptyRowsAndColumns The hide empty rows and columns setting
|
|
28
|
+
* @param config - The heat chart config
|
|
29
|
+
* @param hideEmptyRowsAndColumns - The hide empty rows and columns setting
|
|
30
30
|
*/
|
|
31
31
|
export declare const setHideEmptyRowsAndColumns: (config: HeatChartConfig, hideEmptyRowsAndColumns: boolean | undefined) => void;
|
|
32
32
|
/**
|
|
33
33
|
* Sets the heat rule type
|
|
34
|
-
* @param config the chart config
|
|
35
|
-
* @param heatRulesType the heat rules type
|
|
34
|
+
* @param config - the chart config
|
|
35
|
+
* @param heatRulesType - the heat rules type
|
|
36
36
|
*/
|
|
37
37
|
export declare const setHeatRulesType: (config: HeatChartConfig, heatRulesType?: WebChartHeatChartHeatRulesTypes) => void;
|
|
38
38
|
/**
|
|
39
39
|
* Gets the heat rule type
|
|
40
|
-
* @param config the chart config
|
|
40
|
+
* @param config - the chart config
|
|
41
41
|
*/
|
|
42
42
|
export declare const getHeatRulesType: (config: HeatChartConfig) => WebChartHeatChartHeatRulesTypes | undefined;
|
|
43
43
|
/**
|
|
44
44
|
* Sets the gradient rules
|
|
45
|
-
* @param config the chart config
|
|
46
|
-
* @param gradientRules the gradient rules
|
|
45
|
+
* @param config - the chart config
|
|
46
|
+
* @param gradientRules - the gradient rules
|
|
47
47
|
*/
|
|
48
48
|
export declare const setGradientRules: (config: HeatChartConfig, gradientRules?: WebChartHeatChartGradient) => void;
|
|
49
49
|
/**
|
|
50
50
|
* Gets the gradient rules
|
|
51
|
-
* @param config the chart config
|
|
51
|
+
* @param config - the chart config
|
|
52
52
|
*/
|
|
53
53
|
export declare const getGradientRules: (config: HeatChartConfig) => WebChartHeatChartGradient | undefined;
|
|
54
54
|
/**
|
|
55
55
|
* Sets the y field
|
|
56
|
-
* @param yField The numeric field
|
|
57
|
-
* @param config The heat chart config
|
|
58
|
-
* @param layerInfo The layer info
|
|
56
|
+
* @param yField - The numeric field
|
|
57
|
+
* @param config - The heat chart config
|
|
58
|
+
* @param layerInfo - The layer info
|
|
59
59
|
*/
|
|
60
60
|
export declare const setYField: (props: {
|
|
61
61
|
yField: string;
|
|
@@ -64,123 +64,134 @@ export declare const setYField: (props: {
|
|
|
64
64
|
}) => void;
|
|
65
65
|
/**
|
|
66
66
|
* Gets the y field
|
|
67
|
-
* @param config the heat chart config
|
|
67
|
+
* @param config - the heat chart config
|
|
68
68
|
*/
|
|
69
69
|
export declare const getYField: (config: HeatChartConfig) => string;
|
|
70
70
|
/**
|
|
71
71
|
* Sets x binning
|
|
72
|
-
* @param binning the x binning
|
|
73
|
-
* @param config The heat chart config
|
|
72
|
+
* @param binning - the x binning
|
|
73
|
+
* @param config - The heat chart config
|
|
74
74
|
*/
|
|
75
75
|
export declare const setXTemporalBinning: (binning: WebChartCalendarDatePartsBinning | undefined, config: HeatChartConfig) => void;
|
|
76
76
|
/**
|
|
77
77
|
* Gets the x binning
|
|
78
|
-
* @param config the heat chart config
|
|
78
|
+
* @param config - the heat chart config
|
|
79
79
|
*/
|
|
80
80
|
export declare const getXTemporalBinning: (config: HeatChartConfig) => WebChartCalendarDatePartsBinning | undefined;
|
|
81
81
|
/**
|
|
82
82
|
* Sets y binning
|
|
83
|
-
* @param binning the y binning
|
|
84
|
-
* @param config The heat chart config
|
|
83
|
+
* @param binning - the y binning
|
|
84
|
+
* @param config - The heat chart config
|
|
85
85
|
*/
|
|
86
86
|
export declare const setYTemporalBinning: (binning: WebChartCalendarDatePartsBinning | undefined, config: HeatChartConfig) => void;
|
|
87
87
|
/**
|
|
88
88
|
* Gets the y binning
|
|
89
|
-
* @param config the heat chart config
|
|
89
|
+
* @param config - the heat chart config
|
|
90
90
|
*/
|
|
91
91
|
export declare const getYTemporalBinning: (config: HeatChartConfig) => WebChartCalendarDatePartsBinning | undefined;
|
|
92
92
|
/**
|
|
93
93
|
* Set the order by list in the config. The order by list is only used when the sort order kind is custom sort.
|
|
94
|
-
* @param values The order by values
|
|
95
|
-
* @param config The heat chart config
|
|
94
|
+
* @param values - The order by values
|
|
95
|
+
* @param config - The heat chart config
|
|
96
96
|
*/
|
|
97
97
|
export declare const setHeatChartOrderByList: (values: string[], config: HeatChartConfig) => void;
|
|
98
98
|
/**
|
|
99
99
|
* Sets the grid line width
|
|
100
|
-
* @param width the grid line width
|
|
101
|
-
* @param config The heat chart config
|
|
100
|
+
* @param width - the grid line width
|
|
101
|
+
* @param config - The heat chart config
|
|
102
102
|
*/
|
|
103
103
|
export declare const setGridLineWidth: (width: number | undefined, config: HeatChartConfig) => void;
|
|
104
104
|
/**
|
|
105
105
|
* Gets the grid line width
|
|
106
|
-
* @param config the heat chart config
|
|
106
|
+
* @param config - the heat chart config
|
|
107
107
|
*/
|
|
108
108
|
export declare const getGridLineWidth: (config: HeatChartConfig) => number | undefined;
|
|
109
109
|
/**
|
|
110
110
|
* Sets the grid line color
|
|
111
|
-
* @param color the grid line color
|
|
112
|
-
* @param config The heat chart config
|
|
111
|
+
* @param color - the grid line color
|
|
112
|
+
* @param config - The heat chart config
|
|
113
113
|
*/
|
|
114
114
|
export declare const setGridLineColor: (newColor: number[] | undefined, config: HeatChartConfig) => void;
|
|
115
115
|
/**
|
|
116
116
|
* Gets the grid line width
|
|
117
|
-
* @param config the heat chart config
|
|
117
|
+
* @param config - the heat chart config
|
|
118
118
|
*/
|
|
119
119
|
export declare const getGridLineColor: (config: HeatChartConfig) => import('../../..').Color | undefined;
|
|
120
120
|
/**
|
|
121
121
|
* Sets the legend position
|
|
122
|
-
* @param position the legend position
|
|
123
|
-
* @param config The heat chart config
|
|
122
|
+
* @param position - the legend position
|
|
123
|
+
* @param config - The heat chart config
|
|
124
124
|
*/
|
|
125
125
|
export declare const setLegendPosition: (position: WebChartLegendPositions, config: HeatChartConfig) => void;
|
|
126
126
|
/**
|
|
127
127
|
* Gets the legend position
|
|
128
|
-
* @param config the heat chart config
|
|
128
|
+
* @param config - the heat chart config
|
|
129
129
|
*/
|
|
130
130
|
export declare const getLegendPosition: (config: HeatChartConfig) => WebChartLegendPositions;
|
|
131
131
|
/**
|
|
132
132
|
* Gets the numericField from the query
|
|
133
|
-
* @param config The heat chart config
|
|
133
|
+
* @param config - The heat chart config
|
|
134
134
|
*/
|
|
135
135
|
export declare const getNumericField: (config: HeatChartConfig) => string | undefined;
|
|
136
136
|
/**
|
|
137
137
|
* Sets the numericField for the query
|
|
138
|
-
* @param field the field
|
|
139
|
-
* @param config The heat chart config
|
|
138
|
+
* @param field - the field
|
|
139
|
+
* @param config - The heat chart config
|
|
140
140
|
*/
|
|
141
141
|
export declare const setNumericField: (field: string, config: HeatChartConfig) => void;
|
|
142
142
|
/**
|
|
143
143
|
* Gets the aggregationType from the query
|
|
144
|
-
* @param config the heat chart config
|
|
144
|
+
* @param config - the heat chart config
|
|
145
145
|
*/
|
|
146
146
|
export declare const getAggregationType: (config: HeatChartConfig) => "count" | "sum" | "min" | "max" | "avg" | "stddev" | "var" | "percentile-continuous" | "percentile-discrete" | "envelope-aggregate" | "centroid-aggregate" | "convex-hull-aggregate";
|
|
147
147
|
/**
|
|
148
148
|
* Sets the aggregationType for the query
|
|
149
|
-
* @param aggregationType the aggregation type
|
|
150
|
-
* @param config The heat chart config
|
|
149
|
+
* @param aggregationType - the aggregation type
|
|
150
|
+
* @param config - The heat chart config
|
|
151
151
|
*/
|
|
152
152
|
export declare const setAggregationType: (aggregationType: WebChartStatisticType, config: HeatChartConfig) => void;
|
|
153
153
|
/**
|
|
154
154
|
* Gets the null policy
|
|
155
|
-
* @param config the heat chart config
|
|
155
|
+
* @param config - the heat chart config
|
|
156
156
|
*/
|
|
157
157
|
export declare const getNullPolicy: (config: HeatChartConfig) => WebChartNullPolicyTypes | undefined;
|
|
158
158
|
/**
|
|
159
159
|
* Sets the null policy for the query
|
|
160
|
-
* @param nullPolicy the null policy
|
|
161
|
-
* @param config The heat chart config
|
|
160
|
+
* @param nullPolicy - the null policy
|
|
161
|
+
* @param config - The heat chart config
|
|
162
162
|
*/
|
|
163
163
|
export declare const setNullPolicy: (nullPolicy: WebChartNullPolicyTypes | undefined, config: HeatChartConfig) => void;
|
|
164
164
|
/**
|
|
165
165
|
* Gets the empty cell text
|
|
166
|
-
* @param config the heat chart config
|
|
166
|
+
* @param config - the heat chart config
|
|
167
167
|
*/
|
|
168
168
|
export declare const getEmptyCellText: (config: HeatChartConfig) => string | undefined;
|
|
169
169
|
/**
|
|
170
170
|
* Sets the empty cell text
|
|
171
|
-
* @param text the text
|
|
172
|
-
* @param config The heat chart config
|
|
171
|
+
* @param text - the text
|
|
172
|
+
* @param config - The heat chart config
|
|
173
173
|
*/
|
|
174
174
|
export declare const setEmptyCellText: (text: string | undefined, config: HeatChartConfig) => void;
|
|
175
|
+
/**
|
|
176
|
+
* Gets include leap day flag
|
|
177
|
+
* @param config - the heat chart config
|
|
178
|
+
*/
|
|
179
|
+
export declare const getIncludeLeapDay: (config: HeatChartConfig) => boolean | undefined;
|
|
180
|
+
/**
|
|
181
|
+
* Sets the include leap day flag
|
|
182
|
+
* @param include - the include leap day flag
|
|
183
|
+
* @param config - The heat chart config
|
|
184
|
+
*/
|
|
185
|
+
export declare const setIncludeLeapDay: (include: boolean | undefined, config: HeatChartConfig) => void;
|
|
175
186
|
/**
|
|
176
187
|
* Gets the empty cell symbol
|
|
177
|
-
* @param config the heat chart config
|
|
188
|
+
* @param config - the heat chart config
|
|
178
189
|
*/
|
|
179
190
|
export declare const getEmptyCellSymbol: (config: HeatChartConfig) => ISimpleFillSymbol | undefined;
|
|
180
191
|
/**
|
|
181
192
|
* Sets the empty cell symbol
|
|
182
|
-
* @param symbol the symbol
|
|
183
|
-
* @param config The heat chart config
|
|
193
|
+
* @param symbol - the symbol
|
|
194
|
+
* @param config - The heat chart config
|
|
184
195
|
*/
|
|
185
196
|
export declare const setEmptyCellSymbol: (symbol: ISimpleFillSymbol | undefined, config: HeatChartConfig) => void;
|
|
186
197
|
export {};
|
package/dist/model.js
CHANGED
|
@@ -4,7 +4,7 @@ import { A as s, B as r, C as n } from "./chunks/type-guards.js";
|
|
|
4
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.
|
|
7
|
+
v5.0.0-next.103 */
|
|
8
8
|
async function h(t) {
|
|
9
9
|
const o = "config" in t ? s(t.config) : t.chartType;
|
|
10
10
|
let a;
|
package/dist/spec/web-chart.d.ts
CHANGED
|
@@ -6,9 +6,9 @@ import { QueryMixin } from '@arcgis/core/rest/support/QueryMixin';
|
|
|
6
6
|
/**
|
|
7
7
|
* Version of the current specification.
|
|
8
8
|
*/
|
|
9
|
-
export declare const WebChartCurrentVersion = "24.
|
|
9
|
+
export declare const WebChartCurrentVersion = "24.8.0";
|
|
10
10
|
/**
|
|
11
|
-
* Stores information regarding a numeric conversion
|
|
11
|
+
* Stores information regarding a numeric conversion.
|
|
12
12
|
*/
|
|
13
13
|
export interface ValueConversion {
|
|
14
14
|
/**
|
|
@@ -1607,5 +1607,10 @@ export interface WebHeatChart extends WebChart, WebChartTemporalBinningExtras {
|
|
|
1607
1607
|
* @default false
|
|
1608
1608
|
*/
|
|
1609
1609
|
hideEmptyRowsAndColumns?: boolean;
|
|
1610
|
+
/**
|
|
1611
|
+
* Whether to include leap day (Feb. 29th) in queries
|
|
1612
|
+
* @default false
|
|
1613
|
+
*/
|
|
1614
|
+
includeLeapDay?: boolean;
|
|
1610
1615
|
}
|
|
1611
1616
|
export {};
|
|
@@ -407,12 +407,12 @@ declare function convertTo21x1x0(configToUpdate: WebChart): WebChart;
|
|
|
407
407
|
*/
|
|
408
408
|
declare function convertTo23x3x0(configToUpdate: WebChart): WebChart;
|
|
409
409
|
/**
|
|
410
|
-
* Conversion for v24.
|
|
410
|
+
* Conversion for v24.8.0:
|
|
411
411
|
* - Converts the temporal binning properties from the old pattern to the new pattern
|
|
412
412
|
* @param configToUpdate The chart's config to update
|
|
413
413
|
* @returns The updated chart config
|
|
414
414
|
*/
|
|
415
|
-
declare function
|
|
415
|
+
declare function convertTo24x8x0(configToUpdate: WebChart): WebChart;
|
|
416
416
|
/**
|
|
417
417
|
* Apply the needed function calls depending on the current chart version.
|
|
418
418
|
* Note: Additional switch cases and convertToxxx functions are to be added to this function accordingly.
|
|
@@ -443,7 +443,7 @@ declare function applyConversions<T extends WebChart>(props: {
|
|
|
443
443
|
*
|
|
444
444
|
* @param config - The chart config
|
|
445
445
|
* @param layer - The layer instance
|
|
446
|
-
* @returns the updated web chart config
|
|
446
|
+
* @returns the updated web chart config
|
|
447
447
|
*/
|
|
448
448
|
export declare function convertChartSpec<T extends WebChart | WebGaugeChart>(config?: T, layerOrLayerView?: FeatureLayerView | SupportedLayer, chartContainer?: HTMLElement): Promise<T>;
|
|
449
449
|
export declare const chartConfigConverterPrivateFunctions: {
|
|
@@ -498,7 +498,7 @@ export declare const chartConfigConverterPrivateFunctions: {
|
|
|
498
498
|
convertTo20x2x0: typeof convertTo20x2x0;
|
|
499
499
|
convertTo21x1x0: typeof convertTo21x1x0;
|
|
500
500
|
convertTo23x3x0: typeof convertTo23x3x0;
|
|
501
|
-
|
|
501
|
+
convertTo24x8x0: typeof convertTo24x8x0;
|
|
502
502
|
convertTemporalBinningProps2: typeof convertTemporalBinningProps2;
|
|
503
503
|
applyConversions: typeof applyConversions;
|
|
504
504
|
convertDataSourceToILayer: typeof convertDataSourceToILayer;
|
|
@@ -200,7 +200,14 @@ declare function hasHeatChartBinningChanged(previousConfig: WebHeatChart, newCon
|
|
|
200
200
|
*/
|
|
201
201
|
export declare function hasHeatChartHideEmptyRowsAndColumnsChanged(previousConfig: WebHeatChart, newConfig: WebHeatChart): boolean;
|
|
202
202
|
/**
|
|
203
|
-
* Compares two configs and indicates whether
|
|
203
|
+
* Compares two heat chart configs and indicates whether to include leap day
|
|
204
|
+
*
|
|
205
|
+
* @param previousConfig The previous config
|
|
206
|
+
* @param newConfig The updated config
|
|
207
|
+
*/
|
|
208
|
+
export declare function hasHeatChartIncludeLeapDayChanged(previousConfig: WebChart, newConfig: WebChart): boolean;
|
|
209
|
+
/**
|
|
210
|
+
* Compares two configs and indicates whether additional tooltip fields (only non-numeric) changed
|
|
204
211
|
*
|
|
205
212
|
* **NOTE**: Only applicable to scatterplot
|
|
206
213
|
*
|
|
@@ -79,6 +79,7 @@ export declare function mapAttributeBinsQueryForTemporalData(props: {
|
|
|
79
79
|
* @param props.outTimeZone The output time zone
|
|
80
80
|
* @param props.dataTimeZone The data time zone
|
|
81
81
|
* @param props.runsOnClientQueryEngine Whether the query will be executed on the client query engine (FeatureLayerView) or on the server
|
|
82
|
+
* @param props.includeLeapDay Whether to include the leap day in the response
|
|
82
83
|
*/
|
|
83
84
|
export declare function getCalendarDatePartsParameters(props: {
|
|
84
85
|
field: string;
|
|
@@ -88,6 +89,7 @@ export declare function getCalendarDatePartsParameters(props: {
|
|
|
88
89
|
outTimeZone?: string;
|
|
89
90
|
dataTimeZone?: string | null;
|
|
90
91
|
runsOnClientQueryEngine?: boolean;
|
|
92
|
+
includeLeapDay?: boolean;
|
|
91
93
|
}): {
|
|
92
94
|
expression?: string;
|
|
93
95
|
start?: number;
|
|
@@ -113,6 +115,7 @@ export declare function mapAttributeBinsQueryForHeatChart(props: {
|
|
|
113
115
|
yTemporalBinning?: WebChartHeatChartSeries["yTemporalBinning"];
|
|
114
116
|
firstDayOfWeek?: number;
|
|
115
117
|
outTimeZone?: string;
|
|
118
|
+
includeLeapDay?: boolean;
|
|
116
119
|
}): Promise<AttributeBinsQuery>;
|
|
117
120
|
/**
|
|
118
121
|
* Maps properties from a WebChartQuery and properties specific to temporal binning into an AttributeBinsQuery object.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/charts-components",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.103",
|
|
4
4
|
"description": "Reusable ArcGIS charting Web Components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@amcharts/amcharts4": "^4.10.31",
|
|
30
30
|
"@amcharts/amcharts5": "~5.14.4",
|
|
31
|
-
"@arcgis/lumina": "5.0.0-next.
|
|
32
|
-
"@arcgis/toolkit": "5.0.0-next.
|
|
31
|
+
"@arcgis/lumina": "5.0.0-next.103",
|
|
32
|
+
"@arcgis/toolkit": "5.0.0-next.103",
|
|
33
33
|
"ajv": "6.12.6",
|
|
34
34
|
"d3-array": "^3.2.1",
|
|
35
35
|
"d3-shape": "^3.2.0",
|
package/dist/cdn/F6LLFVW7.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.102 */
|
|
4
|
-
import{c as N}from"./E5GMAB4Q.js";import f from"./DY652DZC.js";import e from"./Q52YD7ND.js";import d from"./S3MY57PT.js";import c from"./QUFEY2KE.js";import b from"./SN2FRRCJ.js";import a from"./RZLKAKU2.js";import{e as F,j as J,k as $,p as V}from"./TKGYQYLW.js";import{e as q}from"./TLM22DYH.js";import{a as P,w as W}from"./CEEOVLI2.js";export default $arcgis.t(([{Cc:Q,Cd:h,E:M,Ga:Y,Gc:U,Ha:D,Ja:v,Ka:L,Nd:X,Xc:k,qb:B,rb:d,sc:K},{f:ee,g:E},{Ua:oe,Va:te,Wa:ie,X:H},{k:R,l:T,m:z,x:se},{b:ne},{a:ae,c:re,d:le}])=>{var Ce=[P.BarSeries,P.BoxPlotSeries,P.LineSeries,P.PieSeries,P.HistogramSeries,P.ScatterSeries],Oe=1,De={PNG:"png"};function ue(r,e){return!J(r,e)}function he(r,e){return ue(r,e)||r!==e}function fe(r){return(new Intl.NumberFormat(r,{minimumFractionDigits:1,maximumFractionDigits:1}).formatToParts(1.1).find(e=>e.type==="decimal")?.value??".")==="."?",":";"}var de=r=>{let{value:e,quoteAll:t=!1,locale:s="en"}=r,a=e==null?"":String(e);if(Number.isFinite(Number(a))){let o=Number(a);a=new Intl.NumberFormat(s,{minimumFractionDigits:0,maximumFractionDigits:2}).format(o).replace(/\u202F/gu," ")}return(t||/[",\r\n]/u.test(a))&&(a=`"${a.replace(/"/gu,'""')}"`),a};function Ne(r,e={}){let{columns:t,delimiter:s,includeHeader:a=!0,quoteAll:o=!1,locale:l}=e,m=r.length===0,n="";if(!m){let f=t??Object.keys(r[0]),g=[],b=l??X().formatLocale,p=s??fe(b);if(n+=`sep=${p}\r
|
|
5
|
-
`,a){let i=f.map(c=>de({value:c,quoteAll:o,locale:b}));g.push(i.join(p))}r.forEach(i=>{let c=f.map(u=>de({value:i[u],quoteAll:o,locale:b}));g.push(c.join(p))}),n+=g.join(`\r
|
|
6
|
-
`)}return n}function Re(r){let{rawData:e,config:t,layer:s,fieldList:a}=r,o=e;if(t!==void 0&&Array.isArray(e)&&e.length>0){let l=W(t?.series);l===P.HistogramSeries?o=me(t,e):l===P.BarSeries||l===P.LineSeries||l===P.ComboLineAndBarSeries?o=pe({config:t,rows:e,layer:s,fieldList:a}):l===P.PieSeries?o=be({config:t,rows:e,layer:s,fieldList:a}):l===P.BoxPlotSeries&&(o=ge({config:t,rows:e,fieldList:a}))}return o}function me(r,e){let t=ne(r),s=`${F(N.Min)} of ${t}`,a=`${F(N.Max)} of ${t}`,o=`${F(N.Count)} of ${t}`;return e.map(l=>{let{minValue:m,maxValue:n,count:f}=l,g=$(m),b=$(n),p=$(f),i={};return g&&(i[s]=m.toFixed(2)),b&&(i[a]=n.toFixed(2)),g&&b&&(i.Label=`${m.toFixed(2)} - ${n.toFixed(2)}`),p&&(i[o]=f),i})}function ce(r,e,t){let s=Object.keys(r),a=[];return t?a=t.map(o=>s.find(l=>l.toLowerCase().includes(o.toLowerCase()))||""):a=s.filter(o=>o.toLowerCase().includes(e.toLowerCase())),a.filter(o=>o.trim()!=="")}function pe(r){let{config:e,rows:t,layer:s,fieldList:a}=r,o=ee(e),l=oe(e),m=F(l),n=ie(e),f=k(e.series),g=H(e),b=te(e),{idField:p,isTraditionalTypeOID:i}=Q(K(s)),c=i&&n.length===1&&n[0]===p,u;switch(f){case d.BarAndLineNoAggregation:u=t.map(x=>{let y=S({field:o,value:x[o],fieldList:a}),w={[o]:y};return Object.assign(w,...n.map(A=>({[A]:x[A]}))),w});break;case d.BarAndLineFromFields:u=V(n,t).map(([x,y])=>{let w=h(e.series)[0],A={};return y!==void 0&&x!==void 0&&(A.Field=y[o],A.Value=y[w]),A});break;case d.BarAndLineMonoField:case d.BarAndLineMultiFields:u=t.map(x=>{let y=S({field:o,value:x[o],fieldList:a}),w={[o]:y};return n.forEach((A,O)=>{let I=E({config:e,xAxisField:o,numericFields:n,aggregationType:l,layer:s,numericFieldIndex:O,fieldList:a}),_=h(e.series)[O],Z=_,G=_;_.toLowerCase()===I.name.toLowerCase()&&(Z=I.description,G=I.name),w[Z]=x[G]}),w});break;case d.BarAndLineSplitBy:u=t.flatMap(x=>{let y=ce(x,n[0]),w=S({field:o,value:x[o],fieldList:a});return g.map((A,O)=>({[o]:w,[b]:A,[c?m:`${m} of ${n[0]}`]:x[y[O]]}))});break;case d.BarAndLineSplitByNoAggregation:u=t.map(x=>{let y=S({field:o,value:x[o],fieldList:a}),w=ce(x,n[0],g);return{[o]:y,[b]:x[b],[n[0]]:x[w[0]]}});break;default:u=t}return u}function xe(r,e=2){if(r.length===0)return[];let t=r.reduce((s,a)=>{for(let[o,l]of Object.entries(a))typeof l=="number"&&Number.isFinite(l)&&(s[o]=(s[o]??0)+l);return s},{});return r.map(s=>{let a={...s};for(let[o,l]of Object.entries(s))if(typeof l=="number"&&t[o]>0){let m=l/t[o]*100;a[`${o}${v}`]=`${m.toFixed(e)}%`}return a})}function be(r){let{config:e,rows:t,layer:s,fieldList:a}=r,o=ae(e),l=k(e.series),m=xe(t,2),n=re(e),f=l!==d.PieFromFields?q.Category:q.Fields,g=le(e,f),b=E({config:e,xAxisField:o,numericFields:n,aggregationType:g,mode:f,layer:s,fieldList:a}),p=h(e.series)[0];return l===d.PieFromCategory?m=m.map(i=>{let c=S({field:o,value:i[o],fieldList:a}),u={[o]:c},x=p,y=p;return p.toLowerCase()===b.name.toLowerCase()&&(x=b.description,y=b.name),u[x]=i[y],u[F(v.trim())]=i[`${y}${v}`],u}):l===d.PieFromFields&&(m=V(n,m).map(([i,c])=>{let u={};return c!==void 0&&i!==void 0&&(u.Field=c[o],u.Value=c[p],u[F(v.trim())]=c[`${p}${v}`]),u})),m}function j(r){let{rawData:e,keyBase:t="",outRow:s}=r;for(let[a,o]of Object.entries(B)){let l=e[t+o];l!==void 0&&(s[a]=$(l)?l.toFixed(2):l);let m=e[t+o+Y];m!==void 0&&(s[`${a} Outlier`]=$(m)?m.toFixed(2):m);let n=e[t+o+D];n!==void 0&&(s[`${a} Z-Score`]=$(n)?n.toFixed(2):n)}}function C(r){let{rawData:e,outRow:t,config:s,boxPlotSubType:a,fieldList:o}=r,l=R(s),m=z(s),n=T(s),f=B.Outlier,g=M;switch(a){case d.BoxPlotMonoFieldAndCategory:{let i=S({field:l,value:e[l],fieldList:o});t[l]=i,t[F(B.Outlier)]=e[f];break}case d.BoxPlotMultiFieldsAndCategory:{t[F(l)]=e[l],f=`${m.find(i=>Object.keys(e).some(c=>c.toLowerCase().includes(i.toLowerCase())))??""}_${f}`,t[F(B.Outlier)]=e[f];break}case d.BoxPlotMonoFieldAndSplitBy:case d.BoxPlotMultiFieldsAndSplitBy:{let i=e[n];f=`${i}_${f}`,t.Field=e[g],t[F(n)]=i,t[F(B.Outlier)]=e[f];break}case d.BoxPlotMonoFieldAndCategoryAndSplitBy:{let i=e[n];f=`${i}_${f}`,t[F(l)]=e[l],t[F(n)]=i,t[F(B.Outlier)]=e[f];break}case d.BoxPlotMonoField:case d.BoxPlotMultiFields:default:{t.Field=e[g],t[F(B.Outlier)]=e[f];break}}let b=`${f}${D}`,p=e[b];p!==void 0&&(t[`${F(B.Outlier)} Z-Score`]=$(p)?p.toFixed(2):p)}function Fe(r){let{rawData:e,outRow:t,config:s,splitByValue:a}=r,o=k(s.series),l=e[`${a}_${B.Average}`],m=T(s),n=R(s),f="";switch(o){case d.BoxPlotMonoFieldAndSplitBy:{f=`${a}_${m}`,t.Field=e[M],t[F(m)]=e[f];break}case d.BoxPlotMultiFieldsAndSplitBy:{f=`${a}_${B.Average}`,t.Field=e[M],t[F(m)]=e[f];break}case d.BoxPlotMonoFieldAndCategoryAndSplitBy:{f=`${a}_${B.Average}`,t[n]=e[n],t[F(m)]=a;break}}t[F(B.Average)]=$(l)?l.toFixed(2):l;let g=`${l}${D}`,b=e[g];b!==void 0&&(t[`${F(B.Average)} Z-Score`]=$(b)?b.toFixed(2):b)}function ge(r){let{config:e,rows:t,fieldList:s}=r,a=k(e.series),o=a,l=se(e),m=Array.isArray(t)&&t.length>0&&t.every(i=>i[L.boxPlot.boxPlotMeanLineMarkerId]!==void 0);l&&!m&&(a===d.BoxPlotMonoFieldAndSplitBy?o=d.BoxPlotMonoField:a===d.BoxPlotMultiFieldsAndSplitBy?o=d.BoxPlotMultiFields:a===d.BoxPlotMonoFieldAndCategoryAndSplitBy&&(o=d.BoxPlotMonoFieldAndCategory));let n=R(e),f=z(e),g=H(e),b=T(e),p;switch(o){case d.BoxPlotMonoField:case d.BoxPlotMonoFieldAndCategory:{p=t.map(i=>{let c={};if(i[L.boxPlot.boxPlotOutlierId])C({rawData:i,outRow:c,config:e,boxPlotSubType:o});else{if(o===d.BoxPlotMonoFieldAndCategory){let u=S({field:n,value:i[n],fieldList:s});c[n]=u}else o===d.BoxPlotMonoField&&(c.Field=i[M]);j({rawData:i,outRow:c})}return c});break}case d.BoxPlotMultiFields:{p=t.flatMap(i=>{let c={};return i[L.boxPlot.boxPlotOutlierId]?C({rawData:i,outRow:c,config:e,boxPlotSubType:o}):(c.Field=i[M],j({rawData:i,outRow:c})),[c]});break}case d.BoxPlotMultiFieldsAndCategory:{p=t.flatMap(i=>f.map(c=>{let u={},x="";if(u.Field=c,i[L.boxPlot.boxPlotOutlierId])C({rawData:i,outRow:u,config:e,boxPlotSubType:o});else{if(o===d.BoxPlotMultiFieldsAndCategory){let y=S({field:n,value:i[n],fieldList:s});u[n]=y,x=`${c}_`}j({rawData:i,outRow:u,keyBase:x})}return u}));break}case d.BoxPlotMonoFieldAndSplitBy:case d.BoxPlotMultiFieldsAndSplitBy:case d.BoxPlotMonoFieldAndCategoryAndSplitBy:{p=t.flatMap(i=>{if(i[L.boxPlot.boxPlotOutlierId]){let c={};return C({rawData:i,outRow:c,config:e,boxPlotSubType:o}),[c]}else return i[L.boxPlot.boxPlotMeanLineMarkerId]?g?.map(c=>{let u={};return Fe({rawData:i,outRow:u,splitByValue:c,config:e}),u}):g.map(c=>{let u={};if(o===d.BoxPlotMonoFieldAndCategoryAndSplitBy){let x=S({field:n,value:i[n],fieldList:s});u[n]=x}return i[L.boxPlot.boxPlotOutlierId]?C({rawData:i,outRow:u,config:e,boxPlotSubType:o}):(u[b]=c,j({rawData:i,outRow:u,keyBase:`${c}_`})),u})});break}default:p=t}return p}var ye=r=>{let e=!1;return(typeof r=="string"||typeof r=="number")&&(e=!Number.isNaN(new Date(r).getTime())),e},S=r=>{let{field:e,value:t,fieldList:s}=r,a=!1;return s!==void 0&&s.length>0&&(a=U(s).some(o=>o===e)),ye(t)&&a?new Date(t).toISOString():t};function Te(){let r=()=>((1+Math.random())*65536|0).toString(16).substring(1);return`${r()+r()}-${r()}-${r()}-${r()}-${r()}${r()}${r()}`}return{a:Ce,b:Oe,c:De,d:ue,e:he,f:Ne,g:Re,h:Te}},a,b,c,d,e,f)
|
package/dist/cdn/YM4QNWCO.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.102 */
|
|
4
|
-
import e from"./MJDMUXPV.js";import d from"./SZKBSVQB.js";import c from"./QUFEY2KE.js";import"./AZYRVQMV.js";import b from"./SN2FRRCJ.js";import a from"./RZLKAKU2.js";import"./TKGYQYLW.js";import"./5G5TLNFP.js";import{c as s}from"./TLM22DYH.js";import{a as y}from"./CEEOVLI2.js";import"./GTRWXFSD.js";import"./4G4GVLPM.js";export default $arcgis.t(([,,,,,,,,,,,,,,,{Cc:f,Db:d,wa:c},{e:g},{Aa:R,Ba:P,Ca:v,Da:w,Ea:L,Fa:D,Ga:E,Ha:I,Ia:W,Ja:H,Ka:N,La:X,Ma:j,Na:k,Oa:M,Pa:V,Qa:Y,Ra:J,Sa:z,Xa:l,d:h,pa:u,qa:_,ra:x,sa:T,ta:A,u:i,ua:S,va:C,wa:F,xa:O,ya:b,za:B},{e:G,g:K,m:Q,n:U},Z])=>{var $=Object.defineProperty,q=Object.getOwnPropertyDescriptor,o=(p,t,r,tt)=>{for(var n=q(t,r),a=p.length-1,m;a>=0;a--)(m=p[a])&&(n=m(t,r,n)||n);return n&&$(t,r,n),n},e=class extends Z{constructor(){super(...arguments),this._chartType=y.HeatSeries}generateChartTitle(){throw new Error("Method not implemented.")}async setup(t){await this.loadConfigFromLayer(t),typeof this.resolveSetup=="function"&&this.resolveSetup()}get xAxisField(){return _(this._config)}set xAxisField(t){u({xField:t,config:this._config,layerInfo:this.layerInfo})}get yAxisField(){return b(this._config)}set yAxisField(t){O({yField:t,config:this._config,layerInfo:this.layerInfo})}get xTemporalBinning(){return R(this._config)}set xTemporalBinning(t){B(t,this._config)}get yTemporalBinning(){return v(this._config)}set yTemporalBinning(t){P(t,this._config)}get hideEmptyRowsAndColumns(){return x(this._config)}set hideEmptyRowsAndColumns(t){T(this._config,t)}get gridLineWidth(){return L(this._config)}set gridLineWidth(t){w(t,this._config)}get gridLineColor(){return E(this._config)}set gridLineColor(t){D(t,this._config)}get seriesName(){return Q(0,this._config)}set seriesName(t){typeof t=="string"&&U(t,0,this.config)}get heatRulesType(){return S(this._config)}set heatRulesType(t){A(this._config,t)}get gradientRules(){return F(this._config)}set gradientRules(t){C(this._config,t)}get numericFields(){let t=H(this._config);return t!==void 0?[t]:[]}set numericFields(t){let r=t[0];d(r)||N(r,this._config)}get aggregationType(){return X(this._config)}set aggregationType(t){j(t,this._config)}get splitByField(){return""}set splitByField(t){}set legendTitleText(t){}get legendPosition(){return W(this._config)}set legendPosition(t){I(t,this._config)}get nullPolicy(){return k(this._config)}set nullPolicy(t){M(t,this._config)}getSortOrder(){return s.Asc}setSortOrder(t,r){}getXAxisSortOrder(){let t=l(this._config)[0];return t===s.Asc||t===s.Desc||t===s.customSort?t:s.Asc}setXAxisSortOrder(t,r){g(t,this._config,r)}getYAxisSortOrder(){let t=l(this._config)[1];return t===s.Asc||t===s.Desc||t===s.customSort?t:s.Asc}setYAxisSortOrder(t,r){g(t,this._config,r,!0)}get emptyCellText(){return V(this._config)}set emptyCellText(t){Y(t,this._config)}get emptyCellSymbol(){return J(this._config)}set emptyCellSymbol(t){z(t,this._config)}setAssignToSecondValueAxis(t,r){}set stackedType(t){}set binTemporalData(t){}set nullCategory(t){}generateDefaultConfig(){let t=c(this.commonStrings,f(this.layerInfo.layer).idField);return t.axes?.forEach(r=>{r&&(r.valueFormat={intlOptions:{timeZone:void 0},type:"date"})}),t}};o([i],e.prototype,"xAxisField");o([i],e.prototype,"yAxisField");o([i],e.prototype,"xTemporalBinning");o([i],e.prototype,"yTemporalBinning");o([i],e.prototype,"hideEmptyRowsAndColumns");o([i],e.prototype,"gridLineWidth");o([i],e.prototype,"gridLineColor");o([i],e.prototype,"seriesName");o([i],e.prototype,"heatRulesType");o([i],e.prototype,"gradientRules");o([i],e.prototype,"numericFields");o([i],e.prototype,"aggregationType");o([i],e.prototype,"splitByField");o([i],e.prototype,"legendTitleText");o([i],e.prototype,"legendPosition");o([i],e.prototype,"nullPolicy");o([i],e.prototype,"setSortOrder");o([i],e.prototype,"setXAxisSortOrder");o([i],e.prototype,"setYAxisSortOrder");o([i],e.prototype,"emptyCellText");o([i],e.prototype,"emptyCellSymbol");o([i],e.prototype,"setAssignToSecondValueAxis");o([i],e.prototype,"stackedType");o([i],e.prototype,"binTemporalData");o([i],e.prototype,"nullCategory");h(e,[G,K]);return e},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,b,c,d,e)
|