@arcgis/charts-components 5.1.0-next.8 → 5.1.0-next.80
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/README.md +2 -2
- package/dist/cdn/2EFFPZSB.js +2 -0
- package/dist/cdn/{SM4LQF5M.js → 2NN5AE5D.js} +1 -1
- package/dist/cdn/3AIE3FUA.js +2 -0
- package/dist/cdn/3LYW7DPP.js +2 -0
- package/dist/cdn/3MHB5VAM.js +37 -0
- package/dist/cdn/3VEQ7HMG.js +2 -0
- package/dist/cdn/{VFP7AKUR.js → 45P5JEKC.js} +1 -1
- package/dist/cdn/{Q5N6IPFC.js → 47WDNO2P.js} +1 -1
- package/dist/cdn/4GCUO37L.js +2 -0
- package/dist/cdn/4IYPGSMC.js +2 -0
- package/dist/cdn/{6WQPKBUS.js → 4LH6RELA.js} +1 -1
- package/dist/cdn/4YZHTVL7.js +2 -0
- package/dist/cdn/52XNA2DH.js +2 -0
- package/dist/cdn/57CR5SOU.js +2 -0
- package/dist/cdn/5ZYCFKFX.js +2 -0
- package/dist/cdn/66KEM4LG.js +2 -0
- package/dist/cdn/6DGQQ4V4.js +2 -0
- package/dist/cdn/6FB455E4.js +2 -0
- package/dist/cdn/6P6HFKV2.js +2 -0
- package/dist/cdn/7BDNLABD.js +2 -0
- package/dist/cdn/7GWVJEAI.js +2 -0
- package/dist/cdn/7I2D5SVD.js +2 -0
- package/dist/cdn/7ICRLJ5R.js +2 -0
- package/dist/cdn/7K2V6YNA.js +2 -0
- package/dist/cdn/7X23S5SF.js +2 -0
- package/dist/cdn/A4FCRGKH.js +2 -0
- package/dist/cdn/ALMGT4ZN.js +2 -0
- package/dist/cdn/BBBLK7RI.js +2 -0
- package/dist/cdn/BCPVUKSF.js +2 -0
- package/dist/cdn/CXSNVG3M.js +2 -0
- package/dist/cdn/DYQRIA4G.js +2 -0
- package/dist/cdn/E5P3LY6E.js +2 -0
- package/dist/cdn/E6S67HXA.js +2 -0
- package/dist/cdn/{HAJ2VWEU.js → EEBD6KKN.js} +1 -1
- package/dist/cdn/{KACPA2Q3.js → EEBFNI6X.js} +1 -1
- package/dist/cdn/{6DSWJCEU.js → FOYNQPWL.js} +1 -1
- package/dist/cdn/G2EWR4OS.js +2 -0
- package/dist/cdn/GDTHQBCP.js +2 -0
- package/dist/cdn/GPXGV2W3.js +2 -0
- package/dist/cdn/H32MCV7J.js +2 -0
- package/dist/cdn/HESIIJTB.js +2 -0
- package/dist/cdn/HNRWEWFM.js +2 -0
- package/dist/cdn/HWJIFGRR.js +2 -0
- package/dist/cdn/ICCNKIGD.js +2 -0
- package/dist/cdn/IKRCUXIB.js +2 -0
- package/dist/cdn/IO7TJZDW.js +2 -0
- package/dist/cdn/{BHWSEWHV.js → IVWZLS7W.js} +1 -1
- package/dist/cdn/IXGXDRYR.js +2 -0
- package/dist/cdn/{EVWSDR7F.js → IZCUAYGW.js} +1 -1
- package/dist/cdn/JB527BEY.js +2 -0
- package/dist/cdn/JLFVNF5U.js +2 -0
- package/dist/cdn/JM6E3U5J.js +2 -0
- package/dist/cdn/JZPDA4LD.js +2 -0
- package/dist/cdn/{INXFZ3KK.js → KBDOBMB5.js} +7 -7
- package/dist/cdn/KC5H5WGK.js +2 -0
- package/dist/cdn/KFBMPA6U.js +2 -0
- package/dist/cdn/KFIYYH54.js +2 -0
- package/dist/cdn/KQD5PSPV.js +2 -0
- package/dist/cdn/KRGZLJM5.js +2 -0
- package/dist/cdn/KUO2EPUE.js +2 -0
- package/dist/cdn/LD2K2FUM.js +2 -0
- package/dist/cdn/LHNPAXRS.js +2 -0
- package/dist/cdn/LNTDBU7W.js +2 -0
- package/dist/cdn/LPGL66XP.js +2 -0
- package/dist/cdn/LT4HKSXR.js +2 -0
- package/dist/cdn/LX5QI6J3.js +2 -0
- package/dist/cdn/{KZ37E2J3.js → LZNL4CV3.js} +7 -7
- package/dist/cdn/{SBHIJW76.js → MBC2KQUK.js} +1 -1
- package/dist/cdn/MFIKF7RC.js +2 -0
- package/dist/cdn/{K4VD72SG.js → MGIPPTHG.js} +1 -1
- package/dist/cdn/NFBNUOS2.js +2 -0
- package/dist/cdn/NHN6CQRE.js +2 -0
- package/dist/cdn/OQLV6YYT.js +2 -0
- package/dist/cdn/P2MVLEZ7.js +2 -0
- package/dist/cdn/{VPTDXGKU.js → PDXLVDA2.js} +1 -1
- package/dist/cdn/PV4ROV2W.js +2 -0
- package/dist/cdn/Q3YDW4V6.js +2 -0
- package/dist/cdn/QGLWCPMB.js +2 -0
- package/dist/cdn/QJKJNE7A.js +2 -0
- package/dist/cdn/QVD6LHQ2.js +2 -0
- package/dist/cdn/RI65IJRW.js +2 -0
- package/dist/cdn/SJWEUS4D.js +2 -0
- package/dist/cdn/SLB3Y7Q2.js +2 -0
- package/dist/cdn/SUUMGHCO.js +2 -0
- package/dist/cdn/SYV4I4MD.js +4 -0
- package/dist/cdn/T47JP5N6.js +2 -0
- package/dist/cdn/T5RPAQYI.js +2 -0
- package/dist/cdn/TJ3ALCTV.js +2 -0
- package/dist/cdn/TWLIURYH.js +2 -0
- package/dist/cdn/TZG37HE4.js +2 -0
- package/dist/cdn/U7L3L6IV.js +2 -0
- package/dist/cdn/UM7JZ2DY.js +2 -0
- package/dist/cdn/V45SCYTC.js +2 -0
- package/dist/cdn/{TS3WIN62.js → VOR2H3D7.js} +1 -1
- package/dist/cdn/VPLVBL2P.js +2 -0
- package/dist/cdn/WTQDFRE7.js +2 -0
- package/dist/cdn/X234G7PD.js +2 -0
- package/dist/cdn/X7FQPP5T.js +2 -0
- package/dist/cdn/XJFKEIB4.js +2 -0
- package/dist/cdn/XLHQQCTU.js +2 -0
- package/dist/cdn/XSH2YEV4.js +2 -0
- package/dist/cdn/Y3E4HJZ6.js +2 -0
- package/dist/cdn/Y5KIJ6GX.js +120 -0
- package/dist/cdn/Y7IQV44J.js +2 -0
- package/dist/cdn/{ZXIRDWJW.js → YAVQSNZ6.js} +1 -1
- package/dist/cdn/YKJO6KSB.js +2 -0
- package/dist/cdn/YSZU65DU.js +2 -0
- package/dist/cdn/{PKWXSPJL.js → ZEQ6Q5SM.js} +1 -1
- package/dist/cdn/ZMVYIIG4.js +2 -0
- package/dist/cdn/ZRULG7VV.js +4 -0
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-heat-chart-data/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/charts-config-pie-chart-slices/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-select-chart-type-popover/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +8 -0
- package/dist/chart-rendering/common/interfaces.d.ts +76 -79
- package/dist/chunks/action-bar-utils.js +60 -43
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +35 -25
- package/dist/chunks/bar-chart-series.js +22 -13
- package/dist/chunks/box-plot-data.js +166 -163
- package/dist/chunks/box-plot-model.js +35 -36
- package/dist/chunks/chart-model.js +92 -54
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +66 -57
- package/dist/chunks/class-breaks.js +250 -132
- package/dist/chunks/combo-bar-line-chart-model.js +39 -32
- package/dist/chunks/common.js +2 -2
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data.js +98 -74
- package/dist/chunks/default.js +4 -4
- package/dist/chunks/gauge-model.js +63 -37
- package/dist/chunks/generate-x-axis-title.js +41 -33
- package/dist/chunks/heat-chart-model.js +168 -101
- package/dist/chunks/histogram-data.js +58 -50
- package/dist/chunks/histogram-model.js +39 -28
- package/dist/chunks/index.js +9918 -8233
- package/dist/chunks/index2.js +149 -156
- package/dist/chunks/index3.js +12 -13
- package/dist/chunks/index4.js +63 -95
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/line-chart-model.js +3 -3
- package/dist/chunks/model-setter.js +37 -28
- package/dist/chunks/model-with-guides.js +61 -42
- package/dist/chunks/model-with-tooltips.js +64 -66
- package/dist/chunks/model-with-y-guides.js +33 -25
- package/dist/chunks/negative-values-stacked-to-baseline.js +64 -57
- package/dist/chunks/pie-chart-data.js +83 -75
- package/dist/chunks/pie-chart-model.js +67 -52
- package/dist/chunks/radar-chart-model.js +23 -15
- package/dist/chunks/resources.js +15 -0
- package/dist/chunks/rest-js-object-literals.js +11 -10
- package/dist/chunks/rotated-state.js +22 -14
- package/dist/chunks/scatterplot-model.js +52 -44
- package/dist/chunks/serial-chart-data.js +636 -527
- package/dist/chunks/serial-chart-model.js +243 -225
- package/dist/chunks/series-length.js +33 -25
- package/dist/chunks/series-types.js +32 -23
- package/dist/chunks/series.js +19 -11
- package/dist/chunks/setup-utils.js +1 -1
- package/dist/chunks/store.js +25 -16
- package/dist/chunks/type-guards.js +87 -83
- package/dist/chunks/utils.js +151 -144
- package/dist/chunks/utils2.js +36 -28
- package/dist/chunks/web-component-utils.js +201 -206
- package/dist/components/arcgis-chart/customElement.d.ts +84 -45
- package/dist/components/arcgis-chart/customElement.js +16419 -17087
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +6 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +24 -24
- package/dist/components/arcgis-charts-config-axis/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +35 -28
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +40 -24
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +45 -37
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +18 -10
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +22 -14
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +21 -14
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +14 -6
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +37 -29
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +13 -5
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +25 -17
- package/dist/components/arcgis-charts-config-category-format/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +22 -14
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +133 -126
- package/dist/components/arcgis-charts-config-font-style/customElement.js +25 -17
- package/dist/components/arcgis-charts-config-format/customElement.js +55 -45
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +16 -8
- package/dist/components/arcgis-charts-config-general/customElement.js +16 -8
- package/dist/components/arcgis-charts-config-guide/customElement.js +43 -29
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +22 -14
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +15 -7
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +32 -25
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +210 -238
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +18 -10
- package/dist/components/arcgis-charts-config-histogram/customElement.js +40 -33
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +38 -30
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +30 -22
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +31 -24
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +17 -9
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +35 -27
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +13 -5
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +15 -7
- package/dist/components/arcgis-charts-config-line-style/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-number-format/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +19 -12
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +19 -11
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +30 -22
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +17 -9
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +18 -10
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +29 -21
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +15 -7
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +22 -14
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +37 -25
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +23 -14
- package/dist/components/arcgis-charts-info-modal/customElement.js +35 -20
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +440 -393
- package/dist/interfaces.d.ts +11 -5
- package/dist/json-schema/index.d.ts +220 -219
- package/dist/loader.js +7 -7
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +6 -5
- package/dist/model/box-plot-model/box-plot-model.d.ts +19 -10
- package/dist/model/chart-model/chart-model-base.d.ts +0 -1
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +18 -11
- package/dist/model/gauge-model/gauge-model.d.ts +29 -8
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +109 -38
- package/dist/model/histogram-model/histogram-model.d.ts +18 -4
- package/dist/model/interfaces/chart-interfaces.d.ts +4 -4
- package/dist/model/interfaces/common.d.ts +5 -2
- package/dist/model/line-chart-model/line-chart-model.d.ts +0 -1
- package/dist/model/mixins/model-with-guides.d.ts +11 -0
- package/dist/model/mixins/model-with-legend.d.ts +3 -15
- package/dist/model/mixins/model-with-temporal-binning.d.ts +7 -7
- package/dist/model/mixins/model-with-tooltips.d.ts +5 -5
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +6 -6
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +13 -5
- package/dist/model/properties/axes/x-axis/max-x-bound.d.ts +5 -1
- package/dist/model/properties/axes/x-axis/min-x-bound.d.ts +5 -1
- package/dist/model/properties/axes/x-axis/x-axis-title-visibility.d.ts +2 -2
- package/dist/model/properties/chart-renderer.d.ts +44 -1
- package/dist/model/properties/color-match.d.ts +0 -1
- package/dist/model/properties/data-labels/data-labels-visibility.d.ts +1 -4
- package/dist/model/properties/description/description-visibility.d.ts +0 -4
- package/dist/model/properties/layer.d.ts +2 -2
- package/dist/model/properties/subtitle/subtitle-visibility.d.ts +0 -4
- package/dist/model/properties/title/title-visibility.d.ts +0 -4
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +0 -1
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +3 -4
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +9 -13
- package/dist/model/shared/setup-utils.d.ts +13 -6
- package/dist/model/shared/type-guards.d.ts +8 -0
- package/dist/model.js +9 -8
- package/dist/spec/data-source.d.ts +26 -18
- package/dist/spec/events.d.ts +2 -5
- package/dist/spec/rest-js-object-literals.d.ts +1 -0
- package/dist/spec/rest-js-types.d.ts +44 -11
- package/dist/spec/web-chart.d.ts +281 -245
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.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 +9 -9
- package/dist/utils/chart-config/utils/index.d.ts +41 -8
- package/dist/utils/chart-config/validator/index.d.ts +8 -6
- package/dist/utils/components/event-payloads.d.ts +3 -3
- package/dist/utils/data/categorical-data/index.d.ts +1 -1
- package/dist/utils/data/index.d.ts +126 -5
- package/dist/utils/data/interfaces.d.ts +0 -1
- package/dist/utils/data/pie-chart/index.d.ts +31 -0
- package/dist/utils/defaults/index.d.ts +23 -1
- package/dist/utils/defaults/interfaces.d.ts +2 -0
- package/dist/utils/errors/index.d.ts +5 -5
- package/dist/utils/errors/interfaces.d.ts +1 -0
- package/dist/utils/layer/index.d.ts +84 -49
- package/dist/utils/layer/inline-conversion/index.d.ts +7 -8
- package/dist/utils/layer/interfaces.d.ts +10 -45
- package/dist/utils/layer/query-features/index.d.ts +6 -4
- package/dist/utils/layer/query-features/interfaces.d.ts +1 -1
- package/dist/utils/layer/query-parser/index.d.ts +17 -12
- package/dist/utils/layer/utils/index.d.ts +89 -21
- package/dist/utils/localization/index.d.ts +3 -19
- package/dist/utils/localization/interfaces.d.ts +7 -0
- package/dist/utils/misc/index.d.ts +30 -9
- package/dist/utils/misc/interfaces.d.ts +9 -6
- package/dist/utils/type-guards/index.d.ts +17 -10
- package/dist/utils/types/index.d.ts +17 -17
- package/dist/utils/ui/popover-ui-utils.d.ts +1 -1
- package/package.json +8 -9
- package/dist/cdn/2LIJ6LL6.js +0 -2
- package/dist/cdn/2OGUU3CF.js +0 -2
- package/dist/cdn/2XUJZES7.js +0 -2
- package/dist/cdn/3FSLSUSK.js +0 -2
- package/dist/cdn/3IKX7JF5.js +0 -2
- package/dist/cdn/3LSZZLGN.js +0 -2
- package/dist/cdn/3RGDIFXM.js +0 -2
- package/dist/cdn/3XL7ZAYC.js +0 -2
- package/dist/cdn/4JKSKAIM.js +0 -2
- package/dist/cdn/4XC2ZKSZ.js +0 -2
- package/dist/cdn/5AGSNJFG.js +0 -2
- package/dist/cdn/5J43WZSR.js +0 -2
- package/dist/cdn/5JLPD2NR.js +0 -2
- package/dist/cdn/5SE3ZDX2.js +0 -2
- package/dist/cdn/6HU6FAC6.js +0 -2
- package/dist/cdn/6JS63XSI.js +0 -2
- package/dist/cdn/7BFETEN2.js +0 -2
- package/dist/cdn/7EP32GQJ.js +0 -2
- package/dist/cdn/7WH6VBY6.js +0 -2
- package/dist/cdn/A6FLP7SG.js +0 -2
- package/dist/cdn/ACHYJXNP.js +0 -2
- package/dist/cdn/ANOLEK36.js +0 -2
- package/dist/cdn/ATIYLNFB.js +0 -2
- package/dist/cdn/ATYJIBQA.js +0 -2
- package/dist/cdn/B33AB3RQ.js +0 -2
- package/dist/cdn/BJPCRXMJ.js +0 -2
- package/dist/cdn/BTMNCXKX.js +0 -2
- package/dist/cdn/BTOKHA76.js +0 -2
- package/dist/cdn/CTXREB7E.js +0 -2
- package/dist/cdn/D5XDNKEV.js +0 -2
- package/dist/cdn/DAQJEXZA.js +0 -2
- package/dist/cdn/DGTF5KBL.js +0 -2
- package/dist/cdn/DSRT3QGU.js +0 -2
- package/dist/cdn/E3KNK2QL.js +0 -2
- package/dist/cdn/EAMOK76F.js +0 -2
- package/dist/cdn/ENHEXARD.js +0 -2
- package/dist/cdn/ERWSXC2D.js +0 -2
- package/dist/cdn/FYJRJVSR.js +0 -2
- package/dist/cdn/GUD54AQJ.js +0 -2
- package/dist/cdn/H7ZDNA7W.js +0 -2
- package/dist/cdn/HOVLVPQH.js +0 -2
- package/dist/cdn/HYAXYKZG.js +0 -2
- package/dist/cdn/I7WRC44V.js +0 -2
- package/dist/cdn/IASONEII.js +0 -2
- package/dist/cdn/IEY3ZHXM.js +0 -2
- package/dist/cdn/JAKJRZFS.js +0 -2
- package/dist/cdn/JCW7HW3E.js +0 -58
- package/dist/cdn/JGB4OLU5.js +0 -2
- package/dist/cdn/JTA6HTV5.js +0 -2
- package/dist/cdn/KFJXMRC6.js +0 -2
- package/dist/cdn/KIMKCXB6.js +0 -2
- package/dist/cdn/KKGG37KV.js +0 -2
- package/dist/cdn/KPYFZSB5.js +0 -2
- package/dist/cdn/KSYKVAYS.js +0 -2
- package/dist/cdn/KZ7WEJMS.js +0 -2
- package/dist/cdn/LRRTUMQS.js +0 -2
- package/dist/cdn/M7ZR4HR7.js +0 -2
- package/dist/cdn/MDLYTSBA.js +0 -2
- package/dist/cdn/MIH3XFE3.js +0 -2
- package/dist/cdn/MLDP5OXE.js +0 -2
- package/dist/cdn/MMZFC2VM.js +0 -2
- package/dist/cdn/N2UJIZEU.js +0 -2
- package/dist/cdn/OEJ6ZA3E.js +0 -2
- package/dist/cdn/OFRMMDZQ.js +0 -2
- package/dist/cdn/OJGWQ3IH.js +0 -2
- package/dist/cdn/PUCPVH4M.js +0 -2
- package/dist/cdn/QCF56OBO.js +0 -2
- package/dist/cdn/R5CKMPU7.js +0 -2
- package/dist/cdn/RF7C6WVN.js +0 -2
- package/dist/cdn/RFHASMHJ.js +0 -2
- package/dist/cdn/RUUYSZO3.js +0 -2
- package/dist/cdn/SPAXIJWK.js +0 -2
- package/dist/cdn/TGNJ76AH.js +0 -32
- package/dist/cdn/THBEEC5Q.js +0 -2
- package/dist/cdn/TLSTPQNA.js +0 -2
- package/dist/cdn/U2TWW4FY.js +0 -2
- package/dist/cdn/UJ2JV7FV.js +0 -2
- package/dist/cdn/VBOUUUVO.js +0 -2
- package/dist/cdn/VDXJP4RT.js +0 -2
- package/dist/cdn/VKLPG37D.js +0 -2
- package/dist/cdn/W7KYGPSP.js +0 -2
- package/dist/cdn/WYPEKQH6.js +0 -4
- package/dist/cdn/XHXTKPL6.js +0 -2
- package/dist/cdn/XJSBB5KR.js +0 -2
- package/dist/cdn/XPM5OZBN.js +0 -2
- package/dist/cdn/XQ26L3RE.js +0 -4
- package/dist/cdn/YFEYEBAA.js +0 -2
- package/dist/cdn/YUFKLXMQ.js +0 -2
- package/dist/cdn/YXWXHEUY.js +0 -2
- package/dist/cdn/Z3EGNO5M.js +0 -2
- package/dist/cdn/ZVVQECSL.js +0 -2
- package/dist/cdn/ZYEUKPGT.js +0 -2
- package/dist/cdn/ZYMJEZKL.js +0 -2
- package/dist/chunks/index5.js +0 -66
- /package/dist/cdn/{T73O5OD5.js → 3OGKV4KZ.js} +0 -0
- /package/dist/cdn/{DB6PUP7Y.js → 3VMIFF7C.js} +0 -0
- /package/dist/cdn/{PHPEGJKB.js → 47EOUNYO.js} +0 -0
- /package/dist/cdn/{WNLCIQAX.js → 5TOYNVTW.js} +0 -0
- /package/dist/cdn/{5IAOT56I.js → 6HUDF5Q2.js} +0 -0
- /package/dist/cdn/{QBFKFCAR.js → ALRIN5E5.js} +0 -0
- /package/dist/cdn/{RBFLURN4.js → AVU2CHAB.js} +0 -0
- /package/dist/cdn/{J3EUXZ6G.js → B4ULOSFG.js} +0 -0
- /package/dist/cdn/{V3OHZN3J.js → BQOMKKBK.js} +0 -0
- /package/dist/cdn/{W236VLPQ.js → BUCYRXMT.js} +0 -0
- /package/dist/cdn/{QXCTWH2Z.js → BY77PBZ2.js} +0 -0
- /package/dist/cdn/{VWM7AVM6.js → COQ55XOW.js} +0 -0
- /package/dist/cdn/{MUUD74AD.js → DNSUOJXJ.js} +0 -0
- /package/dist/cdn/{JXQXA2KV.js → EIIQ2CSC.js} +0 -0
- /package/dist/cdn/{CAFCD23J.js → EVHJVY4I.js} +0 -0
- /package/dist/cdn/{HBUMNQ3P.js → F57IRWBF.js} +0 -0
- /package/dist/cdn/{NLCFSYMX.js → FLSUJTUZ.js} +0 -0
- /package/dist/cdn/{7XPFSBJR.js → FSNQ3YXX.js} +0 -0
- /package/dist/cdn/{4OQCJUCA.js → G2L5FYWK.js} +0 -0
- /package/dist/cdn/{HGLFNVUQ.js → GR4BZF3L.js} +0 -0
- /package/dist/cdn/{TW4GANOP.js → GWPFABGL.js} +0 -0
- /package/dist/cdn/{NWX4MEZT.js → HJW6UNEH.js} +0 -0
- /package/dist/cdn/{MRPQHHAR.js → I3BNBZ4D.js} +0 -0
- /package/dist/cdn/{S5OM65RV.js → J6TUXYMO.js} +0 -0
- /package/dist/cdn/{YB66QEEP.js → LOX7MXL4.js} +0 -0
- /package/dist/cdn/{UBAJJGZQ.js → MS6EYP4R.js} +0 -0
- /package/dist/cdn/{UAAZT4XK.js → NGLXQHZ2.js} +0 -0
- /package/dist/cdn/{4KKFIMTJ.js → NPVXLEZW.js} +0 -0
- /package/dist/cdn/{OAX6BSTV.js → NSRIVIOH.js} +0 -0
- /package/dist/cdn/{NRAJ4BK2.js → RHGKKMJG.js} +0 -0
- /package/dist/cdn/{GPLZLU72.js → S5EI7T2D.js} +0 -0
- /package/dist/cdn/{GRDFMG2M.js → SOIF6AMX.js} +0 -0
- /package/dist/cdn/{DO4HZTZB.js → THJTENN5.js} +0 -0
- /package/dist/cdn/{7BO3HV6A.js → TX2SYGTH.js} +0 -0
- /package/dist/cdn/{L2OPHSDM.js → YQJLA77R.js} +0 -0
- /package/dist/cdn/{FOOU5K3C.js → ZL5EGDOW.js} +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer";
|
|
2
|
-
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer";
|
|
3
|
-
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer";
|
|
1
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
2
|
+
import type SubtypeGroupLayer from "@arcgis/core/layers/SubtypeGroupLayer.js";
|
|
3
|
+
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
|
|
4
4
|
import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
|
|
5
|
-
import type
|
|
6
|
-
import type {
|
|
5
|
+
import type LayerView from "@arcgis/core/views/layers/LayerView.js";
|
|
6
|
+
import type { QueryObject, QueryObjectOrRaster } from "../interfaces.js";
|
|
7
|
+
import type { SupportedLayer, SupportedRasterLayer } from "../../../interfaces.js";
|
|
7
8
|
import type { WebChart } from "../../../spec/web-chart.js";
|
|
8
9
|
|
|
9
10
|
/**
|
|
@@ -12,7 +13,7 @@ import type { WebChart } from "../../../spec/web-chart.js";
|
|
|
12
13
|
* @param queryObject
|
|
13
14
|
* @internal
|
|
14
15
|
*/
|
|
15
|
-
export function isFeatureCollectionLayer(queryObject:
|
|
16
|
+
export function isFeatureCollectionLayer(queryObject: QueryObjectOrRaster | undefined): queryObject is FeatureLayerView;
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
* Indicates whether the input object is an instance of `FeatureLayerView`.
|
|
@@ -20,7 +21,7 @@ export function isFeatureCollectionLayer(queryObject: QueryObject): queryObject
|
|
|
20
21
|
* @param queryObject
|
|
21
22
|
* @internal
|
|
22
23
|
*/
|
|
23
|
-
export function isFeatureLayerView(queryObject:
|
|
24
|
+
export function isFeatureLayerView(queryObject: LayerView | QueryObjectOrRaster | SubtypeGroupLayer | undefined): queryObject is FeatureLayerView;
|
|
24
25
|
|
|
25
26
|
/**
|
|
26
27
|
* Indicates whether the input object is an instance of `FeatureLayer`.
|
|
@@ -28,7 +29,7 @@ export function isFeatureLayerView(queryObject: QueryObject | SubtypeGroupLayer)
|
|
|
28
29
|
* @param queryObject
|
|
29
30
|
* @internal
|
|
30
31
|
*/
|
|
31
|
-
export function isFeatureLayer(queryObject:
|
|
32
|
+
export function isFeatureLayer(queryObject: QueryObjectOrRaster | undefined): queryObject is FeatureLayer;
|
|
32
33
|
|
|
33
34
|
/**
|
|
34
35
|
* Indicates whether the input object is an instance of `SubtypeGroupLayer`.
|
|
@@ -36,7 +37,7 @@ export function isFeatureLayer(queryObject: QueryObject): queryObject is Feature
|
|
|
36
37
|
* @param queryObject
|
|
37
38
|
* @internal
|
|
38
39
|
*/
|
|
39
|
-
export function isSubtypeGroupLayer(queryObject:
|
|
40
|
+
export function isSubtypeGroupLayer(queryObject: QueryObjectOrRaster | SubtypeGroupLayer | undefined): queryObject is SubtypeGroupLayer;
|
|
40
41
|
|
|
41
42
|
/**
|
|
42
43
|
* Indicates whether the input object is an instance of `SubtypeSublayer`.
|
|
@@ -44,7 +45,7 @@ export function isSubtypeGroupLayer(queryObject: QueryObject | SubtypeGroupLayer
|
|
|
44
45
|
* @param queryObject
|
|
45
46
|
* @internal
|
|
46
47
|
*/
|
|
47
|
-
export function isSubtypeSublayer(queryObject: Pick<SubtypeSublayer, "type"> |
|
|
48
|
+
export function isSubtypeSublayer(queryObject: Pick<SubtypeSublayer, "type"> | QueryObjectOrRaster | undefined): queryObject is SubtypeSublayer;
|
|
48
49
|
|
|
49
50
|
/**
|
|
50
51
|
* Indicates whether the input object is an instance of `SupportedLayer` (`FeatureLayer` or `SubtypeSublayer`).
|
|
@@ -52,7 +53,7 @@ export function isSubtypeSublayer(queryObject: Pick<SubtypeSublayer, "type"> | Q
|
|
|
52
53
|
* @param queryObject
|
|
53
54
|
* @internal
|
|
54
55
|
*/
|
|
55
|
-
export function isSupportedLayer(queryObject:
|
|
56
|
+
export function isSupportedLayer(queryObject: QueryObjectOrRaster | undefined): queryObject is SupportedLayer;
|
|
56
57
|
|
|
57
58
|
/**
|
|
58
59
|
* Returns the main `Layer` instance associated with the layer being used.
|
|
@@ -62,13 +63,19 @@ export function isSupportedLayer(queryObject: QueryObject): queryObject is Suppo
|
|
|
62
63
|
* @param layer
|
|
63
64
|
* @internal
|
|
64
65
|
*/
|
|
65
|
-
export function getMainLayer(layer: FeatureLayer |
|
|
66
|
+
export function getMainLayer(layer: FeatureLayer | SubtypeSublayer | undefined): FeatureLayer | SubtypeGroupLayer | undefined;
|
|
66
67
|
|
|
67
68
|
/** @param layer */
|
|
68
|
-
export function getMainLayer(layer:
|
|
69
|
+
export function getMainLayer(layer: SupportedRasterLayer): SupportedRasterLayer;
|
|
69
70
|
|
|
70
71
|
/** @param layer */
|
|
71
|
-
export function getMainLayer(layer: FeatureLayer |
|
|
72
|
+
export function getMainLayer(layer: FeatureLayer | SubtypeSublayer | SupportedRasterLayer): FeatureLayer | SubtypeGroupLayer | SupportedRasterLayer;
|
|
73
|
+
|
|
74
|
+
/** @param layer */
|
|
75
|
+
export function getMainLayer(layer: FeatureLayer | SubtypeSublayer | SupportedRasterLayer | undefined): FeatureLayer | SubtypeGroupLayer | SupportedRasterLayer | undefined;
|
|
76
|
+
|
|
77
|
+
/** @param layer */
|
|
78
|
+
export function getMainLayer(layer: FeatureLayer | SubtypeSublayer | SupportedRasterLayer | undefined): FeatureLayer | SubtypeGroupLayer | SupportedRasterLayer | undefined;
|
|
72
79
|
|
|
73
80
|
/**
|
|
74
81
|
* Indicates whether a layer supports queries with a `distance` parameter
|
|
@@ -77,17 +84,16 @@ export function getMainLayer(layer: FeatureLayer | Pick<SubtypeSublayer, "parent
|
|
|
77
84
|
* @returns A boolean
|
|
78
85
|
* @internal
|
|
79
86
|
*/
|
|
80
|
-
export function doesLayerSupportQueryWithDistance(layer: SupportedLayer): boolean;
|
|
87
|
+
export function doesLayerSupportQueryWithDistance(layer: SupportedLayer | undefined): boolean;
|
|
81
88
|
|
|
82
89
|
/**
|
|
83
90
|
* Indicates whether a layer supports the queryBins operation for the heat chart use case.
|
|
84
91
|
*
|
|
85
92
|
* @param layer - The layer to test
|
|
86
|
-
* @param queryObject
|
|
87
93
|
* @returns A boolean indicating whether the operation is supported
|
|
88
94
|
* @internal
|
|
89
95
|
*/
|
|
90
|
-
export function doesLayerSupportsQueryBinsForHeatChart(layer: SupportedLayer
|
|
96
|
+
export function doesLayerSupportsQueryBinsForHeatChart(layer: SupportedLayer | undefined): boolean;
|
|
91
97
|
|
|
92
98
|
/**
|
|
93
99
|
* Indicates whether a layer supports the queryBins operation for the temporal data use case.
|
|
@@ -107,7 +113,7 @@ export function doesLayerSupportsQueryBinsForTemporalData(layer?: FeatureLayerVi
|
|
|
107
113
|
* @param queryObject - The layer or feature layer view
|
|
108
114
|
* @internal
|
|
109
115
|
*/
|
|
110
|
-
export function doesLayerSupportsCacheHintForQueryBins(queryObject: QueryObject): boolean;
|
|
116
|
+
export function doesLayerSupportsCacheHintForQueryBins(queryObject: QueryObject | undefined): boolean;
|
|
111
117
|
|
|
112
118
|
/**
|
|
113
119
|
* Indicates whether the layer supports the query bins operation for scatterplot:
|
|
@@ -118,7 +124,7 @@ export function doesLayerSupportsCacheHintForQueryBins(queryObject: QueryObject)
|
|
|
118
124
|
* @param queryObject - The layer or feature layer view
|
|
119
125
|
* @internal
|
|
120
126
|
*/
|
|
121
|
-
export function doesLayerSupportsQueryBinsForScatterplot(queryObject:
|
|
127
|
+
export function doesLayerSupportsQueryBinsForScatterplot(queryObject: QueryObjectOrRaster | undefined): boolean;
|
|
122
128
|
|
|
123
129
|
/**
|
|
124
130
|
* Returns a feature layer from a QueryObject instance.
|
|
@@ -129,8 +135,21 @@ export function doesLayerSupportsQueryBinsForScatterplot(queryObject: QueryObjec
|
|
|
129
135
|
*/
|
|
130
136
|
export function getLayerFromLayerOrLayerView(layerOrLayerView: FeatureLayerView | SupportedLayer): SupportedLayer;
|
|
131
137
|
|
|
138
|
+
/**
|
|
139
|
+
* @param layerOrLayerView
|
|
140
|
+
* @internal
|
|
141
|
+
*/
|
|
142
|
+
export function getLayerFromLayerOrLayerView(layerOrLayerView: FeatureLayerView | SupportedLayer | SupportedRasterLayer): SupportedLayer | SupportedRasterLayer;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* @param layerOrLayerView
|
|
146
|
+
* @internal
|
|
147
|
+
*/
|
|
148
|
+
export function getLayerFromLayerOrLayerView(layerOrLayerView: FeatureLayerView | SupportedLayer | SupportedRasterLayer): SupportedLayer | SupportedRasterLayer;
|
|
149
|
+
|
|
132
150
|
/**
|
|
133
151
|
* Returns a feature layer from a QueryObject instance.
|
|
152
|
+
*
|
|
134
153
|
* It will use the QueryObject itself if it's a Feature Layer, or the `layer` property from it if it's a Feature Layer View.
|
|
135
154
|
*
|
|
136
155
|
* @param queryObject
|
|
@@ -138,6 +157,55 @@ export function getLayerFromLayerOrLayerView(layerOrLayerView: FeatureLayerView
|
|
|
138
157
|
*/
|
|
139
158
|
export function getLayerFromQueryObject(queryObject: QueryObject): SupportedLayer;
|
|
140
159
|
|
|
160
|
+
/**
|
|
161
|
+
* Returns a feature layer from a QueryObject instance.
|
|
162
|
+
*
|
|
163
|
+
* It will use the QueryObject itself if it's a Feature Layer, or the `layer` property from it if it's a Feature Layer View.
|
|
164
|
+
*
|
|
165
|
+
* @param queryObject
|
|
166
|
+
* @internal
|
|
167
|
+
*/
|
|
168
|
+
export function getLayerFromQueryObject(queryObject: undefined): undefined;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Returns a feature layer from a QueryObject instance.
|
|
172
|
+
*
|
|
173
|
+
* It will use the QueryObject itself if it's a Feature Layer, or the `layer` property from it if it's a Feature Layer View.
|
|
174
|
+
*
|
|
175
|
+
* @param queryObject
|
|
176
|
+
* @internal
|
|
177
|
+
*/
|
|
178
|
+
export function getLayerFromQueryObject(queryObject: QueryObject | undefined): SupportedLayer | undefined;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* @param queryObject
|
|
182
|
+
* @internal
|
|
183
|
+
*/
|
|
184
|
+
export function getLayerFromQueryObject(queryObject: SupportedRasterLayer): SupportedRasterLayer;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* @param queryObject
|
|
188
|
+
* @internal
|
|
189
|
+
*/
|
|
190
|
+
export function getLayerFromQueryObject(queryObject: QueryObjectOrRaster): SupportedLayer | SupportedRasterLayer;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* @param queryObject
|
|
194
|
+
* @internal
|
|
195
|
+
*/
|
|
196
|
+
export function getLayerFromQueryObject(queryObject: QueryObjectOrRaster | undefined): SupportedLayer | SupportedRasterLayer | undefined;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Returns a feature layer or a supported raster layer from a QueryObjectOrRaster instance.
|
|
200
|
+
*
|
|
201
|
+
* It will use the QueryObject itself if it's a Feature Layer or a supported raster Layer,
|
|
202
|
+
* or the `layer` property from it if it's a Feature Layer View.
|
|
203
|
+
*
|
|
204
|
+
* @param queryObject
|
|
205
|
+
* @internal
|
|
206
|
+
*/
|
|
207
|
+
export function getLayerFromQueryObject(queryObject: QueryObjectOrRaster | undefined): SupportedLayer | SupportedRasterLayer | undefined;
|
|
208
|
+
|
|
141
209
|
/**
|
|
142
210
|
* Computes a feature layer capabilities regarding its spatial aggregation statistics.
|
|
143
211
|
* Only considers the 'EnvelopeAggregate' for now.
|
|
@@ -146,7 +214,7 @@ export function getLayerFromQueryObject(queryObject: QueryObject): SupportedLaye
|
|
|
146
214
|
* @returns A sum up of the capabilities
|
|
147
215
|
* @internal
|
|
148
216
|
*/
|
|
149
|
-
export function getLayerSpatialAggregationStatisticsCapabilities(layer: SupportedLayer): boolean;
|
|
217
|
+
export function getLayerSpatialAggregationStatisticsCapabilities(layer: SupportedLayer | undefined): boolean;
|
|
150
218
|
|
|
151
219
|
/**
|
|
152
220
|
* Adds a iLayer to a WebChart.
|
|
@@ -158,5 +226,5 @@ export function getLayerSpatialAggregationStatisticsCapabilities(layer: Supporte
|
|
|
158
226
|
*/
|
|
159
227
|
export function addILayer<T extends WebChart>(props: {
|
|
160
228
|
chartConfig: T;
|
|
161
|
-
queryObject?:
|
|
229
|
+
queryObject?: QueryObjectOrRaster;
|
|
162
230
|
}): T & WebChart;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
2
|
-
import type {
|
|
1
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
2
|
+
import type { LocaleInfo, SupportedLocalesForFormats } from "./interfaces.js";
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Finds the locale info of the closest element to the given element.
|
|
@@ -50,20 +50,4 @@ export function localeParseFloat(localizedString: string, locale?: string): numb
|
|
|
50
50
|
* @param element - HTMLElement to get the locale from
|
|
51
51
|
* @internal
|
|
52
52
|
*/
|
|
53
|
-
export function getElementFormatLocale(element: HTMLElement): SupportedLocalesForFormats;
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Returns a default `CommonStrings` t9n object.
|
|
57
|
-
* This is used by the chart components unit tests and the charts-js Storybook demos.
|
|
58
|
-
*
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
export function getDefaultErrorsStrings(): Promise<ErrorStrings>;
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Returns a default `UtilsStrings` t9n object.
|
|
65
|
-
* This is used by the chart components unit tests and the charts-js Storybook demos.
|
|
66
|
-
*
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
69
|
-
export function getDefaultUtilsStrings(): Promise<UtilsStrings>;
|
|
53
|
+
export function getElementFormatLocale(element: HTMLElement): SupportedLocalesForFormats;
|
|
@@ -6,6 +6,7 @@ export type ErrorStrings = ReturnType<typeof CommonStringsIdentity>["errorString
|
|
|
6
6
|
|
|
7
7
|
export type UtilsStrings = ReturnType<typeof CommonStringsIdentity>["utilsStrings"];
|
|
8
8
|
|
|
9
|
+
/** @internal */
|
|
9
10
|
export type CustomAmchartsStrings = ReturnType<typeof CommonStringsIdentity>["customAmchartsStrings"];
|
|
10
11
|
|
|
11
12
|
/** @internal */
|
|
@@ -101,6 +102,9 @@ export const CommonStringsIdentity: (value: {
|
|
|
101
102
|
histogramCreateMsg: string;
|
|
102
103
|
scatterplotCreateMsg: string;
|
|
103
104
|
calendarHeatChartCreateMsg: string;
|
|
105
|
+
comboBarLineChartCreateMsg: string;
|
|
106
|
+
radarChartCreateMsg: string;
|
|
107
|
+
gaugeCreateMsg: string;
|
|
104
108
|
};
|
|
105
109
|
notifications: {
|
|
106
110
|
invalidConfig: string;
|
|
@@ -356,6 +360,9 @@ export const CommonStringsIdentity: (value: {
|
|
|
356
360
|
histogramCreateMsg: string;
|
|
357
361
|
scatterplotCreateMsg: string;
|
|
358
362
|
calendarHeatChartCreateMsg: string;
|
|
363
|
+
comboBarLineChartCreateMsg: string;
|
|
364
|
+
radarChartCreateMsg: string;
|
|
365
|
+
gaugeCreateMsg: string;
|
|
359
366
|
};
|
|
360
367
|
notifications: {
|
|
361
368
|
invalidConfig: string;
|
|
@@ -6,6 +6,15 @@ import type { IField } from "../../spec/rest-js-types.js";
|
|
|
6
6
|
import type { WebChartDataItem, WebChartDataItemValue } from "../../spec/data-source.js";
|
|
7
7
|
import type { OverlayTerms, LegendItemVisibility } from "../../spec/events.js";
|
|
8
8
|
|
|
9
|
+
/** @internal */
|
|
10
|
+
export type XYChartType = typeof WebChartTypes.BarSeries | typeof WebChartTypes.BoxPlotSeries | typeof WebChartTypes.ComboLineAndBarSeries | typeof WebChartTypes.HeatSeries | typeof WebChartTypes.HistogramSeries | typeof WebChartTypes.LineSeries | typeof WebChartTypes.RadarSeries | typeof WebChartTypes.ScatterSeries;
|
|
11
|
+
|
|
12
|
+
/** @internal */
|
|
13
|
+
export type SerialChartType = typeof WebChartTypes.BarSeries | typeof WebChartTypes.ComboLineAndBarSeries | typeof WebChartTypes.HeatSeries | typeof WebChartTypes.LineSeries | typeof WebChartTypes.RadarSeries;
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export type SupportedChartType = typeof WebChartTypes.BarSeries | typeof WebChartTypes.BoxPlotSeries | typeof WebChartTypes.HeatSeries | typeof WebChartTypes.HistogramSeries | typeof WebChartTypes.LineSeries | typeof WebChartTypes.PieSeries | typeof WebChartTypes.RadarSeries | typeof WebChartTypes.ScatterSeries;
|
|
17
|
+
|
|
9
18
|
/** @internal */
|
|
10
19
|
export type ChartTypes = Extract<WebChartTypes, WebChartType>;
|
|
11
20
|
|
|
@@ -112,18 +121,21 @@ export function getFieldAlias(fields: IField[] | undefined, fieldName: string):
|
|
|
112
121
|
/**
|
|
113
122
|
* @param fields
|
|
114
123
|
* @param fieldName
|
|
124
|
+
* @internal
|
|
115
125
|
*/
|
|
116
126
|
export function getFieldAlias(fields: IField[] | undefined, fieldName: undefined): undefined;
|
|
117
127
|
|
|
118
128
|
/**
|
|
119
129
|
* @param fields
|
|
120
130
|
* @param fieldName
|
|
131
|
+
* @internal
|
|
121
132
|
*/
|
|
122
133
|
export function getFieldAlias(fields: IField[] | undefined, fieldName: string | undefined): string | undefined;
|
|
123
134
|
|
|
124
135
|
/**
|
|
125
136
|
* @param fields
|
|
126
137
|
* @param fieldName
|
|
138
|
+
* @internal
|
|
127
139
|
*/
|
|
128
140
|
export function getFieldAlias(fields: IField[] | undefined, fieldName: string | undefined): string | undefined;
|
|
129
141
|
|
|
@@ -311,16 +323,25 @@ export function sortArrayAUsingArrayB<T, K>(props?: {
|
|
|
311
323
|
/**
|
|
312
324
|
* Gets the display x field for a chart subtype.
|
|
313
325
|
*
|
|
314
|
-
* @param chartSubType - The chart subtype
|
|
315
|
-
* @param series - The series
|
|
316
|
-
* @returns The default x field
|
|
326
|
+
* @param chartSubType - The chart subtype.
|
|
327
|
+
* @param series - The series.
|
|
328
|
+
* @returns The default x field.
|
|
329
|
+
* @internal
|
|
317
330
|
*/
|
|
318
331
|
export function getDisplayXField(chartSubType: ChartSubType, series?: WebChartSeriesType): string;
|
|
319
332
|
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
333
|
+
/**
|
|
334
|
+
* Determines if an RGBA color is light or dark, considering opacity.
|
|
335
|
+
*
|
|
336
|
+
* @param props - Red (0-255)
|
|
337
|
+
* @returns boolean
|
|
338
|
+
* @internal
|
|
339
|
+
*/
|
|
340
|
+
export function isColorLight(props: {
|
|
341
|
+
r: number;
|
|
342
|
+
g: number;
|
|
343
|
+
b: number;
|
|
344
|
+
a?: number;
|
|
345
|
+
}): boolean;
|
|
325
346
|
|
|
326
|
-
export type
|
|
347
|
+
export type WebChartType = typeof WebChartTypes.BarSeries | typeof WebChartTypes.BoxPlotSeries | typeof WebChartTypes.ComboLineAndBarSeries | typeof WebChartTypes.GaugeSeries | typeof WebChartTypes.HeatSeries | typeof WebChartTypes.HistogramSeries | typeof WebChartTypes.LineSeries | typeof WebChartTypes.PieSeries | typeof WebChartTypes.RadarSeries | typeof WebChartTypes.ScatterSeries;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { PixelHighlightTarget } from "@arcgis/core/views/types.js";
|
|
1
2
|
import type { WebChartHeatChartHeatRulesTypes } from "../../spec/chart-object-literals.js";
|
|
2
3
|
import type { WebChartDataItem } from "../../spec/data-source.js";
|
|
3
4
|
import type { Color, ISimpleFillSymbol, ISimpleLineSymbol, ISimpleMarkerSymbol } from "../../spec/rest-js-types.js";
|
|
@@ -41,6 +42,7 @@ export interface SelectionData {
|
|
|
41
42
|
selectionIndexes?: SelectionIndexes;
|
|
42
43
|
selectionOIDs?: (number | string)[];
|
|
43
44
|
selectionSource?: SelectionSource;
|
|
45
|
+
selectionPixelTarget?: PixelHighlightTarget;
|
|
44
46
|
}
|
|
45
47
|
|
|
46
48
|
export interface SelectionThemeProperties {
|
|
@@ -93,9 +95,10 @@ export type SeriesSymbols = BoxPlotSymbols | ISimpleFillSymbol | ISimpleLineSymb
|
|
|
93
95
|
|
|
94
96
|
/**
|
|
95
97
|
* Type used to provide information regarding a pie chart's slices:
|
|
96
|
-
* - `slices` contains an array of `WebChartPieChartSlice` related to the non-grouped slices
|
|
97
|
-
* - `groupedSlices` contains an array of `WebChartPieChartSlice` related to the non-visible grouped slices
|
|
98
|
-
* - `groupOfSlices` contains a `WebChartPieChartSlice`related to the group of slices
|
|
98
|
+
* - `slices` contains an array of `WebChartPieChartSlice` related to the non-grouped slices.
|
|
99
|
+
* - `groupedSlices` contains an array of `WebChartPieChartSlice` related to the non-visible grouped slices.
|
|
100
|
+
* - `groupOfSlices` contains a `WebChartPieChartSlice`related to the group of slices.
|
|
101
|
+
*
|
|
99
102
|
* The `WebChartPieChartSlice` contains information regarding a slice's id, symbol and label.
|
|
100
103
|
*/
|
|
101
104
|
export type PieSlicesSymbols = {
|
|
@@ -108,8 +111,8 @@ export type PieSlicesSymbols = {
|
|
|
108
111
|
* Map containing a chart's series symbols.
|
|
109
112
|
* The numeric key is the series' position in the series array.
|
|
110
113
|
* The value is either:
|
|
111
|
-
* -
|
|
112
|
-
* -
|
|
113
|
-
* -
|
|
114
|
+
* - A fill symbol (bar chart and histogram).
|
|
115
|
+
* - A marker symbol (scatterplot).
|
|
116
|
+
* - An object containing a line symbol and a marker symbol (line chart).
|
|
114
117
|
*/
|
|
115
118
|
export type SeriesSymbolsMap = Map<number, SeriesSymbols | undefined>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ModelTypes } from "../../model/interfaces/common.js";
|
|
2
2
|
import type { WebChartStackedKinds } from "../../spec/chart-object-literals.js";
|
|
3
3
|
import type { WebChartDataTypes, WebChartGenericDataItem, WebChartHistogramDataItem, WebChartScatterplotDataItem } from "../../spec/data-source.js";
|
|
4
|
-
import type { IFeatureLayer, ISimpleFillSymbol, ISimpleLineSymbol, ISimpleMarkerSymbol } from "../../spec/rest-js-types.js";
|
|
4
|
+
import type { IFeatureLayer, IImageServiceLayer, ISimpleFillSymbol, ISimpleLineSymbol, ISimpleMarkerSymbol, ITiledImageServiceLayer } from "../../spec/rest-js-types.js";
|
|
5
5
|
import type { CategoryFormatOptions, DateTimeFormatOptions, NumberFormatOptions, WebBoxPlot, WebChart, WebChartBarChartSeries, WebChartBoxPlotSeries, WebChartHeatChartSeries, WebChartLineChartSeries, WebChartRadarChartSeries, WebChartSeries, WebChartTextSymbol, WebGaugeChart, WebHeatChart } from "../../spec/web-chart.js";
|
|
6
6
|
import type { ChartTypes } from "../misc/index.js";
|
|
7
7
|
import type { ChartConfig } from "../types/index.js";
|
|
@@ -28,6 +28,16 @@ export type WebChartSeriesWithRotatedProp = WebChartSeries
|
|
|
28
28
|
*/
|
|
29
29
|
export function isRotationSupported(config: WebChart): config is WebChart & { series: WebChartSeriesWithRotatedProp[]; };
|
|
30
30
|
|
|
31
|
+
/**
|
|
32
|
+
* Web chart series with stackedType property
|
|
33
|
+
*
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
export type WebChartSeriesWithStackedTypeProp = WebChartSeries
|
|
37
|
+
& {
|
|
38
|
+
stackedType?: WebChartStackedKinds;
|
|
39
|
+
};
|
|
40
|
+
|
|
31
41
|
/**
|
|
32
42
|
* Check if the chart config supports rotation or not.
|
|
33
43
|
*
|
|
@@ -76,8 +86,11 @@ export function isWebChartTextSymbol(symbol: any): symbol is WebChartTextSymbol;
|
|
|
76
86
|
*/
|
|
77
87
|
export function hasILayer<T extends ModelTypes>(config: ChartConfig<T> | undefined): config is ChartConfig<T, T extends "boxPlot" ? WebBoxPlot : T extends "gauge" ? WebGaugeChart : T extends "heatChart" ? WebHeatChart : WebChart>;
|
|
78
88
|
|
|
79
|
-
/**
|
|
80
|
-
|
|
89
|
+
/**
|
|
90
|
+
* @param config
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
export function hasILayer(config: WebChart | undefined): config is WebChart & { iLayer: IFeatureLayer | IImageServiceLayer | ITiledImageServiceLayer; };
|
|
81
94
|
|
|
82
95
|
/**
|
|
83
96
|
* @param config
|
|
@@ -213,10 +226,4 @@ export function isWebChartScatterplotDataItemOrUndefined(data: WebChartDataTypes
|
|
|
213
226
|
* @param axisDataItem
|
|
214
227
|
* @internal
|
|
215
228
|
*/
|
|
216
|
-
export function isValueAxisDataItem<T extends object>(axisDataItem: T): axisDataItem is T & { value: number; };
|
|
217
|
-
|
|
218
|
-
/** Web chart series with stackedType property */
|
|
219
|
-
export type WebChartSeriesWithStackedTypeProp = WebChartSeries
|
|
220
|
-
& {
|
|
221
|
-
stackedType?: WebChartStackedKinds;
|
|
222
|
-
};
|
|
229
|
+
export function isValueAxisDataItem<T extends object>(axisDataItem: T): axisDataItem is T & { value: number; };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import type { ModelTypes, ModelTypeToSeriesType } from "../../model/interfaces/common.js";
|
|
2
2
|
import type { WebBoxPlot, WebChart, WebChartBarChartSeries, WebChartBoxPlotSeries, WebChartGaugeSeries, WebChartHistogramSeries, WebChartLegend, WebChartLineChartSeries, WebChartPieChartLegend, WebChartPieChartSeries, WebChartRadarChartSeries, WebChartScatterplotSeries, WebGaugeChart, WebHeatChart } from "../../spec/web-chart.js";
|
|
3
3
|
|
|
4
|
-
/** Interface to hold action bar
|
|
4
|
+
/** Interface to hold the action bar properties. */
|
|
5
5
|
export interface ActionBarHideActionsProps {
|
|
6
|
-
/**
|
|
6
|
+
/** Determines whether to hide clear selection action or not. */
|
|
7
7
|
hideClearSelection?: boolean;
|
|
8
|
-
/**
|
|
8
|
+
/** Determines whether to hide filter by extent action or not. */
|
|
9
9
|
hideFilterByExtent?: boolean;
|
|
10
|
-
/**
|
|
10
|
+
/** Determines whether to hide filter by selection action or not. */
|
|
11
11
|
hideFilterBySelection?: boolean;
|
|
12
|
-
/**
|
|
12
|
+
/** Determines whether to hide full extent action or not. */
|
|
13
13
|
hideFullExtent?: boolean;
|
|
14
|
-
/**
|
|
14
|
+
/** Determines whether to hide legend action or not. */
|
|
15
15
|
hideLegend?: boolean;
|
|
16
|
-
/**
|
|
16
|
+
/** Determines whether to hide rotate action or not. */
|
|
17
17
|
hideRotateChart?: boolean;
|
|
18
|
-
/**
|
|
18
|
+
/** Determines whether to hide selection action or not. */
|
|
19
19
|
hideSelection?: boolean;
|
|
20
|
-
/**
|
|
20
|
+
/** Determines whether to hide switch selection action or not. */
|
|
21
21
|
hideSwitchSelection?: boolean;
|
|
22
|
-
/**
|
|
22
|
+
/** Determines whether to hide zoom action or not. */
|
|
23
23
|
hideZoom?: boolean;
|
|
24
|
-
/**
|
|
24
|
+
/** Determines whether to hide expand action or not. */
|
|
25
25
|
hideExpandAction?: boolean;
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -64,7 +64,7 @@ export const DefaultChartActions: {
|
|
|
64
64
|
export type DefaultChartActions = (typeof DefaultChartActions)[keyof typeof DefaultChartActions];
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
|
-
* Type alias for a
|
|
67
|
+
* Type alias for a histogram config.
|
|
68
68
|
*
|
|
69
69
|
* @internal
|
|
70
70
|
*/
|
|
@@ -74,7 +74,7 @@ export type HistogramConfig = Omit<WebChart, "series">
|
|
|
74
74
|
};
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
|
-
* Type alias for a
|
|
77
|
+
* Type alias for a scatterplot config.
|
|
78
78
|
*
|
|
79
79
|
* @internal
|
|
80
80
|
*/
|
|
@@ -84,21 +84,21 @@ export type ScatterplotConfig = Omit<WebChart, "series">
|
|
|
84
84
|
};
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
|
-
* Type alias for a
|
|
87
|
+
* Type alias for a gauge config.
|
|
88
88
|
*
|
|
89
89
|
* @internal
|
|
90
90
|
*/
|
|
91
91
|
export type GaugeChartConfig = WebGaugeChart;
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
|
-
* Type alias for a
|
|
94
|
+
* Type alias for a box plot config.
|
|
95
95
|
*
|
|
96
96
|
* @internal
|
|
97
97
|
*/
|
|
98
98
|
export type BoxPlotConfig = WebBoxPlot;
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
|
-
* Type alias for a
|
|
101
|
+
* Type alias for a heat chart config.
|
|
102
102
|
*
|
|
103
103
|
* @internal
|
|
104
104
|
*/
|
|
@@ -112,7 +112,7 @@ export type HeatChartConfig = WebHeatChart;
|
|
|
112
112
|
export type SupportedChartSeries = WebChartBarChartSeries | WebChartBoxPlotSeries | WebChartGaugeSeries | WebChartHistogramSeries | WebChartLineChartSeries | WebChartPieChartSeries | WebChartRadarChartSeries | WebChartScatterplotSeries;
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
|
-
* Type alias for a
|
|
115
|
+
* Type alias for a chart configuration.
|
|
116
116
|
*
|
|
117
117
|
* This type is generic and supports configuration for different chart types, data source types, and data source requirement policies.
|
|
118
118
|
*
|
|
@@ -16,7 +16,7 @@ export function removePopover(popover: any): null;
|
|
|
16
16
|
* @param isOpen - determine whether to open popover or not
|
|
17
17
|
* @internal
|
|
18
18
|
*/
|
|
19
|
-
export function editPopover(popover
|
|
19
|
+
export function editPopover(popover?: Popover, isOpen?: boolean): void;
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Check if the selected content in the popover has changed. Ignores cases going to or coming from `undefined`, as this indicates setup or teardown of the popover rather than a change in selection.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/charts-components",
|
|
3
|
-
"version": "5.1.0-next.
|
|
3
|
+
"version": "5.1.0-next.80",
|
|
4
4
|
"description": "Reusable ArcGIS charting Web Components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -27,26 +27,25 @@
|
|
|
27
27
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@amcharts/amcharts4": "^4.10.31",
|
|
30
|
-
"@amcharts/amcharts5": "~5.
|
|
30
|
+
"@amcharts/amcharts5": "~5.17.2",
|
|
31
31
|
"@esri/arcgis-html-sanitizer": "~4.1.0",
|
|
32
|
+
"@lit/task": "^1.0.3",
|
|
32
33
|
"ajv": "6.12.6",
|
|
33
|
-
"d3-array": "^3.2.1",
|
|
34
34
|
"d3-shape": "^3.2.0",
|
|
35
|
-
"fast-memoize": "^2.5.2",
|
|
36
35
|
"html2canvas": "^1.4.1",
|
|
37
36
|
"jszip": "^3.10.1",
|
|
38
37
|
"lit": "^3.3.0",
|
|
39
|
-
"lodash-es": "^4.
|
|
38
|
+
"lodash-es": "^4.18.1",
|
|
40
39
|
"luxon": "~3.7.2",
|
|
41
40
|
"simple-statistics": "^7.8.8",
|
|
42
41
|
"tslib": "^2.8.1",
|
|
43
42
|
"uuid": "^11.1.0",
|
|
44
|
-
"@arcgis/lumina": "5.1.0-next.
|
|
45
|
-
"@arcgis/toolkit": "5.1.0-next.
|
|
43
|
+
"@arcgis/lumina": "5.1.0-next.80",
|
|
44
|
+
"@arcgis/toolkit": "5.1.0-next.80"
|
|
46
45
|
},
|
|
47
46
|
"peerDependencies": {
|
|
48
|
-
"@arcgis/core": "^5.
|
|
49
|
-
"@esri/calcite-components": "^5.
|
|
47
|
+
"@arcgis/core": "^5.1.0-next",
|
|
48
|
+
"@esri/calcite-components": "^5.1.0-next.30"
|
|
50
49
|
},
|
|
51
50
|
"css.customData": [
|
|
52
51
|
"dist/docs/vscode.css-custom-data.json"
|
package/dist/cdn/2LIJ6LL6.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{b as P}from"./HAJ2VWEU.js";import{a as b}from"./6WQPKBUS.js";import a from"./TGNJ76AH.js";import{B as $,n as u}from"./DGTF5KBL.js";import"./SPAXIJWK.js";import"./ETLJKITO.js";import{A as n,F as S,g as C,h as l,m as r,x as f,y as v,z as y}from"./XQ26L3RE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,,,,,,,,,,,{z:c}])=>{var p={jsAppFlyout:"js-app-flyout",panelChildrenContainer:"panel-children-container"},L=C`.hide{display:none}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{overflow-y:auto;width:min-content}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}`,h=class extends y{constructor(){super(...arguments),this._messages=b(),this.popoverElement=f(),this.isLineSymbol=!1,this.arcgisChartsConfigPopoverClose=r(),this.arcgisChartsConfigSeriesPopoverColorChange=r(),this.arcgisChartsConfigSeriesPopoverLineStyleChange=r(),this.arcgisChartsConfigSeriesPopoverLineWidthChange=r(),this.arcgisChartsConfigSeriesPopoverNameChange=r()}static{this.properties={messageOverrides:0,referenceElement:0,selectedName:1,selectedColor:0,selectedLineStyle:1,selectedLineWidth:9,selectedSeriesIndex:9,isLineSymbol:5,placement:1,open:5,labelCanBeConfigured:5}}static{this.styles=L}async reposition(){await this.popoverElement.value?.reposition()}updated(){P(this.popoverElement.value,this.open)}seriesNameChange(e){let t=e.target.value;this.selectedName!==t&&(this.selectedName=t,this.arcgisChartsConfigSeriesPopoverNameChange.emit({name:t}))}closePopover(){this.open=!1,this.arcgisChartsConfigPopoverClose.emit()}colorChange(e){let t=e instanceof CustomEvent?e.detail:e,[s,i,o]=t,a=c*255;this.selectedColor=[s,i,o,a],this.arcgisChartsConfigSeriesPopoverColorChange.emit({color:[s,i,o,a]})}lineSymbolChange(e){let{lineStyle:t}=e.target,{color:s,style:i,width:o}=t;if(s!==void 0&&!u(s,this.selectedColor)){let[a,m,d]=s,g=c*255;this.selectedColor=[a,m,d,g],this.arcgisChartsConfigSeriesPopoverColorChange.emit({color:[a,m,d,g]})}i!==void 0&&i!==this.selectedLineStyle&&(this.selectedLineStyle=i,this.arcgisChartsConfigSeriesPopoverLineStyleChange.emit({style:i})),o!==void 0&&o!==this.selectedLineWidth&&(this.selectedLineWidth=o,this.arcgisChartsConfigSeriesPopoverLineWidthChange.emit({width:o}))}render(){let e=this.selectedColor;return l`<div class=${n({[p.jsAppFlyout]:!0})}><calcite-popover .referenceElement=${this.referenceElement??document.body} .placement=${this.placement} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${v(this.popoverElement)}><calcite-panel .heading=${this._messages.seriesElement} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}>${this.labelCanBeConfigured?l`<div class=${n(p.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${this.selectedName} @calciteInputInput=${this.seriesNameChange}></calcite-input></calcite-label></div>`:null}<div class=${n(p.panelChildrenContainer)}>${this.isLineSymbol?l`<arcgis-charts-config-line-style .open=${this.open} enable-close .lineStyle=${{type:$.SLS,style:this.selectedLineStyle,width:this.selectedLineWidth,color:e}} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.lineSymbolChange}></arcgis-charts-config-line-style>`:l`<arcgis-charts-config-colors .heading=${this._messages.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors>`}</div></calcite-panel></calcite-popover></div>`}};S("arcgis-charts-config-box-plot-series-popover",h);return h},"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/StatisticDefinition","time/TimeExtent","core/promiseUtils",a)
|
package/dist/cdn/2OGUU3CF.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{k as i}from"./EZM4ZDQI.js";import{a as r,y as n}from"./ETLJKITO.js";function a(e){switch(e){case r.BarSeries:return i.BarChart;case r.LineSeries:return i.LineChart;case r.ComboLineAndBarSeries:return i.ComboBarLineChart;case r.BoxPlotSeries:return i.BoxPlot;case r.PieSeries:return i.PieChart;case r.ScatterSeries:return i.Scatterplot;case r.HeatSeries:return i.HeatChart;case r.HistogramSeries:return i.Histogram;case r.GaugeSeries:return i.Gauge;case r.RadarSeries:return i.RadarChart;default:return}}function c(e){let t=n(e.series);return a(t)}function d(e,t){let s=a(e?.chartType);return e!==void 0&&s===t}function f(e){return e!==void 0&&"config"in e}function S(e){return e?.chartType===r.BarSeries}function p(e){return e?.chartType===r.LineSeries}function y(e){let t=e?.chartType;return t===r.LineSeries||t===r.BarSeries||t===r.ComboLineAndBarSeries||t===r.RadarSeries}function h(e){return e?.chartType===r.PieSeries}function l(e){return e?.chartType===r.BoxPlotSeries}function T(e){return e?.chartType===r.ScatterSeries}function g(e){return e?.chartType===r.HistogramSeries}function m(e){return e?.chartType===r.HeatSeries}function B(e){let t=[r.BarSeries,r.BoxPlotSeries,r.HistogramSeries,r.ScatterSeries,r.LineSeries,r.ComboLineAndBarSeries,r.HeatSeries];return e!==void 0&&t.includes(e.chartType)&&"getAxisTitleText"in e&&typeof e.getAxisTitleText=="function"}function x(e){return e!==void 0&&"getGuideVisibility"in e&&typeof e.getGuideVisibility=="function"}function v(e){return e!==void 0&&"addXAxisGuide"in e&&typeof e.addXAxisGuide=="function"}function C(e){return e!==void 0&&"addYAxisGuide"in e&&typeof e.addYAxisGuide=="function"}function b(e){return e!==void 0&&"legendVisibility"in e}function A(e){return e!==void 0&&"temporalBinningSize"in e}export{a,c as b,d as c,f as d,S as e,p as f,y as g,h,l as i,T as j,g as k,m as l,B as m,x as n,v as o,C as p,b as q,A as r};
|
package/dist/cdn/2XUJZES7.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import g from"./HOVLVPQH.js";import e from"./OFRMMDZQ.js";import c from"./ATIYLNFB.js";import b from"./IASONEII.js";import a from"./TGNJ76AH.js";import{B as K,d as $,g as E,m as j,q as z}from"./DGTF5KBL.js";import{d,e as m}from"./EZM4ZDQI.js";import{a as G,b as u,h as F,v as f}from"./ETLJKITO.js";export default $arcgis.t(([,,,{substitute:A},,,,,,,,,,,{Bb:N,Da:_,Gc:O,Nd:x,X:R,d:T,e:B,oa:Y},{a:h,b:L},{c:Z},{a:U},{g:Q}])=>{function V(r){let{config:t,layerInfo:e,mode:o,commonStrings:i}=r,a=e!==void 0?q({config:t,layerInfo:e,commonStrings:i,mode:o}):"",g=U(t),l=x(t);return a===g||l}function w(r){let{config:t,layerInfo:e,mode:o,commonStrings:i}=r,a=e!==void 0?L({config:t,layerInfo:e,commonStrings:i,numericFields:S(t),aggregationType:b(t,o)}):"",g=Z(1,t),l=x(t);return a===g||l}var P=r=>r.series?.[0]?.x??"";function W(r,t){let e=r.series?.[0];return[`${t===m.Category?e.y:B} ${F.Descending}`]}var k=(r,t)=>{let e=d.valueDesc,o=r.orderOptions?.data?.orderType??W(r,t),i=r.orderOptions?.data&&"orderBy"in r.orderOptions.data?r.orderOptions.data.orderBy:F.Descending;return o===f.Category&&Array.isArray(i)?e=d.customSort:o===f.Category?i===F.Ascending?e=d.labelAsc:e=d.labelDesc:i===F.Ascending?e=d.valueAsc:e=d.valueDesc,e},S=$(r=>{let t=[];return t=r.series?.[0]?.query?.outStatistics?.map(e=>e.onStatisticField)??[r.series?.[0]?.y??""],[...new Set(t.filter(e=>e!==""))]},r=>r.series),b=(r,t)=>{let e=S(r),o;return t===m.Fields&&e.length===0?o=u.Sum:o=r.series?.[0]?.query?.outStatistics?.[0]?.statisticType??u.NoAggregation,o};function H(r){let{config:t,layerInfo:e,mode:o,commonStrings:i}=r,a=O(e?.layer).idField,g=Y(i,a),l=P(t),c=t.series[0]?.dataLabels,n={...g,x:o===m.Category?l:T,slices:t.series?.[0]?.slices,dataLabels:{...g.dataLabels,type:g.dataLabels?.type??G.Text,content:{...g.dataLabels?.content,...c?.content,type:K.TS},visible:c?.visible??!1},innerRadiusSize:t.series?.[0]?.innerRadius,sliceGrouping:t.series?.[0]?.sliceGrouping,dataLabelsCharacterLimit:t.series?.[0]?.dataLabelsCharacterLimit,numericValueFormat:t.series?.[0]?.numericValueFormat,percentValueFormat:t.series?.[0]?.percentValueFormat,displayCategoryOnDataLabel:t.series?.[0]?.displayCategoryOnDataLabel,displayNumericValueOnDataLabel:t.series?.[0]?.displayNumericValueOnDataLabel,displayPercentageOnDataLabel:t.series?.[0]?.displayPercentageOnDataLabel},s=b(t,o);if(s!==u.NoAggregation&&a!==void 0){let y=`${s}_${a}_0`.toUpperCase();n.y=o===m.Category?y:B,n.query={outStatistics:o===m.Category?[{statisticType:s,onStatisticField:a,outStatisticFieldName:y}]:[]}}return o===m.Category&&n.query!==void 0?n.query.groupByFieldsForStatistics=[l]:delete n.query?.groupByFieldsForStatistics,E(n)}function q(r){let{config:t,layerInfo:e,mode:o,commonStrings:i}=r,{layerFieldsInfo:a}=e,{idField:g,isTraditionalTypeOID:l}=O(e.layer),c=P(t),n=S(t),s=b(t,o),y=l&&(n.length===0||n.includes(g)),p=_(s,i),v=y?"":n.map(M=>N(a??[],M)).join(", "),I=N(a??[],c),C="",D;return o===m.Fields?D=n.length===0:D=c==="",D?C=i.utilsStrings.chartType.pieChart:s===u.NoAggregation?C=A(i.titleLabels.aggrFieldsByCategory,{aggregationFields:y?g:v,category:I}):s===u.Count?C=A(i.titleLabels.aggrTypeCategory,{aggregationType:p,category:I}):n.length>0&&(I===T||j(I)||z(I)?C=A(i.titleLabels.aggrTypeOfAggrFields,{aggregationType:p,aggregationFields:v}):C=A(i.titleLabels.aggrTypeOfAggrFieldsByCategory,{aggregationType:p,aggregationFields:v,category:I})),C}var he=r=>{let{newSortOrderKind:t,config:e,orderByList:o}=r;e.orderOptions??={},t===d.customSort&&o!==void 0?e.orderOptions.data={orderType:f.Category,orderBy:[...o]}:e.orderOptions.data={orderType:t===d.labelAsc||t===d.labelDesc?f.Category:f.YValue,orderBy:t===d.labelAsc||t===d.valueAsc?F.Ascending:F.Descending}},Ae=r=>{let{newCategory:t,config:e,layerInfo:o,mode:i,commonStrings:a}=r,g=e.series?.length??0,l=V({config:e,layerInfo:o,commonStrings:a,mode:i}),c=w({config:e,layerInfo:o,commonStrings:a,mode:i});if(e.series.forEach(n=>{n.x=i===m.Category?t:T,n.query!==void 0&&t!==T?n.query.groupByFieldsForStatistics=[t]:delete n.query?.groupByFieldsForStatistics}),g===0){let n=[H({config:e,layerInfo:o,mode:i,commonStrings:a})];e.series=n}if(o!==void 0){if(c){let s=L({config:e,layerInfo:o,numericFields:S(e),aggregationType:b(e,i),commonStrings:a});h(e,1,s)}e.title&&l&&(e.title.content.text=q({config:e,layerInfo:o,commonStrings:a,mode:i}));let n=i===m.Fields?S(e).filter(s=>s!==O(o.layer).idField):S(e);X({newNumericFields:n,config:e,layerInfo:o,mode:i,commonStrings:a})}};function J(r){let{numericFields:t,aggregationType:e,config:o,layerInfo:i,mode:a,commonStrings:g}=r,{layerFieldsInfo:l}=i,c=[],n=H({config:o,layerInfo:i,mode:a,commonStrings:g}),s={...n,query:{...n.query}};t.length<=1?s.query.where=n.query?.where:delete s.query.where;let y=Q({config:o,xAxisField:P(o),numericFields:t,aggregationType:e,mode:a,layer:i.layer,fieldList:l}).name;if(e!==u.NoAggregation)if(a===m.Category){if(t.length>0){let p=t[0];s.query.outStatistics=[{...n.query?.outStatistics?.[0]??{},onStatisticField:p,outStatisticFieldName:y,statisticType:e}]}}else for(let p of t)s.query.outStatistics?.push({onStatisticField:p,outStatisticFieldName:p,statisticType:e});else s.query={};s.y=y,c.push(s),o.series=c}var qe=r=>{let{newAggregationType:t,config:e,layerInfo:o,mode:i,commonStrings:a}=r,g=S(e),l=V({config:e,layerInfo:o,commonStrings:a,mode:i}),c=w({config:e,layerInfo:o,commonStrings:a,mode:i});if(J({config:e,layerInfo:o,numericFields:g,aggregationType:t,commonStrings:a,mode:i}),c){let p=L({config:e,layerInfo:o,commonStrings:a,numericFields:S(e),aggregationType:b(e,i)});h(e,1,p)}e.title&&l&&(e.title.content.text=q({config:e,layerInfo:o,commonStrings:a,mode:i}));let n=e.series?.[0]?.displayCategoryOnDataLabel,s=e.series?.[0]?.displayNumericValueOnDataLabel,y=e.series?.[0]?.displayPercentageOnDataLabel;e.legend={...e.legend??R(),displayNumericValue:s,displayPercentage:y,displayCategory:n}},X=r=>{let{newNumericFields:t}=r,{config:e,layerInfo:o,mode:i,commonStrings:a}=r,g=O(o?.layer).idField,l=b(e,i),c=V({config:e,layerInfo:o,commonStrings:a,mode:i}),n=w({config:e,layerInfo:o,commonStrings:a,mode:i});if(t=t===""?[]:t,t=typeof t=="string"?[t]:t,g!==void 0&&(t.length===0&&i===m.Category?(t.push(g),l=u.Count):l===u.Count&&t.length>=1&&!t.includes(g)&&(l=u.Sum)),o!==void 0){if(J({config:e,layerInfo:o,commonStrings:a,numericFields:t,aggregationType:l,mode:i}),n){let s=L({config:e,layerInfo:o,commonStrings:a,numericFields:S(e),aggregationType:b(e,i)});h(e,1,s)}e.title&&c&&(e.title.content.text=q({config:e,layerInfo:o,commonStrings:a,mode:i}))}else e.series.forEach(s=>{delete s.query,s.y=t[0]})},ve=(r,t)=>{let e=[],o=r.orderOptions?.data?.orderType,i=k(r,t),a=r.orderOptions?.data&&"orderBy"in r.orderOptions.data?r.orderOptions.data.orderBy:void 0;return i===d.customSort&&o===f.Category&&Array.isArray(a)&&(e=a),e},De=r=>{let{values:t,config:e,mode:o}=r;e.orderOptions??={};let i=e.orderOptions?.data?.orderType;k(e,o)===d.customSort&&i===f.Category&&(e.orderOptions.data={orderType:f.Category,orderBy:[...t]})};return{a:P,b:k,c:S,d:b,e:q,f:he,g:Ae,h:qe,i:X,j:ve,k:De}},"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/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,b,c,e,g)
|
package/dist/cdn/3FSLSUSK.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import s from"./LRRTUMQS.js";import q from"./ACHYJXNP.js";import p from"./THBEEC5Q.js";import o from"./HOVLVPQH.js";import n from"./6JS63XSI.js";import m from"./QCF56OBO.js";import l from"./IEY3ZHXM.js";import k from"./SM4LQF5M.js";import j from"./3XL7ZAYC.js";import i from"./RFHASMHJ.js";import h from"./ANOLEK36.js";import g from"./3RGDIFXM.js";import f from"./OFRMMDZQ.js";import e from"./ATIYLNFB.js";import d from"./JAKJRZFS.js";import b from"./IASONEII.js";import"./KZ7WEJMS.js";import a from"./TGNJ76AH.js";import"./DGTF5KBL.js";import"./SPAXIJWK.js";import"./2OGUU3CF.js";import{c as r}from"./EZM4ZDQI.js";import{a as u,b as c}from"./ETLJKITO.js";import"./XQ26L3RE.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,,,,,,,,,,,{Fb:S,Gc:m,ya:_},,{c:i},,,,,,,,,,,{e:l},,{$:tt,A:D,B:L,C:k,D:B,E:P,F:R,G:W,H:I,I:U,J:E,K:M,L:h,M:y,N:H,O:N,P:Y,Q:j,R:V,S:X,T:K,U:q,V:z,W:G,X:J,Y:Q,Z:Z,_:$,aa:et,ba:it,ca:ot,da:st,ha:f,r:C,s:A,t:T,u:O,v:x,w:F,x:v,y:b,z:w},{a:rt,b:nt,d:at}])=>{var gt=Object.defineProperty,pt=Object.getOwnPropertyDescriptor,o=(p,t,s,a)=>{for(var n=pt(t,s),g=p.length-1,d;g>=0;g--)(d=p[g])&&(n=d(t,s,n)||n);return n&>(t,s,n),n},e=class extends at{constructor(){super(...arguments),this._chartType=u.HeatSeries}generateChartTitle(){return this.layerInfo!==void 0?st(this._config,this.layerInfo,this.commonStrings):""}generateYAxisTitle(){let t=this.yTemporalBinning?.unit;return t!==void 0?this.commonStrings.utilsStrings.heatChartCalendarDatePartsUnits[t]:""}async setup(t){await this.loadConfigFromLayer(t),this.setupLocalProps(),typeof this.resolveSetup=="function"&&this.resolveSetup()}get yAxisField(){return b(this._config)}set yAxisField(t){v({yField:t,config:this._config,layerInfo:this.layerInfo})}get viewType(){return J(this._config)}set viewType(t){this.guardSetterFromAsyncOverwrite(()=>{Q(t,this._config),this.emitConfigUpdate("heatChartViewType")})}get xTemporalBinning(){return D(this._config)}set xTemporalBinning(t){w({commonStrings:this.commonStrings,binning:t,config:this._config})}get yTemporalBinning(){return k(this._config)}set yTemporalBinning(t){L({commonStrings:this.commonStrings,binning:t,config:this._config})}get breaksCount(){return Z(this._config)}set breaksCount(t){this.guardSetterFromAsyncOverwrite(()=>{$(t,this._config),this.emitConfigUpdate("breaksCount")})}get classificationMethod(){return tt(this._config)}set classificationMethod(t){this.guardSetterFromAsyncOverwrite(()=>{t&&(et(t,this._config),this.emitConfigUpdate("classificationMethod"))})}get hideEmptyRowsAndColumns(){return C(this._config)}set hideEmptyRowsAndColumns(t){A(this._config,t)}get gridLineWidth(){return P(this._config)}set gridLineWidth(t){B(t,this._config)}get gridLineColor(){return W(this._config)}set gridLineColor(t){R(t,this._config)}get seriesName(){return rt(0,this._config)}set seriesName(t){typeof t=="string"&&nt(t,0,this._config)}get heatRulesType(){return O(this._config)}set heatRulesType(t){T(this._config,t)}get gradientRules(){return F(this._config)}set gradientRules(t){x(this._config,t)}get numericFields(){let t=E(this._config);return t!==void 0?[t]:[]}set numericFields(t){let{idField:s}=m(this.layerInfo.layer),a=S(t[0]),n=a?s:t[0];M(n,this._config);let g=h(this._config);a&&g!==c.Count&&y(c.Count,this._config)}get aggregationType(){return h(this._config)}set aggregationType(t){y(t,this._config)}get splitByField(){return""}set splitByField(t){}get legendPosition(){return U(this._config)}set legendPosition(t){I(t,this._config)}get nullPolicy(){return H(this._config)}set nullPolicy(t){N(t,this._config)}get emptyCell(){return Y(this._config)}set emptyCell(t){this.guardSetterFromAsyncOverwrite(()=>{j(t,this._config),this.emitConfigUpdate("emptyCell")})}getSortOrder(){return r.Asc}setSortOrder(t,s){}getXAxisSortOrder(){let t=f(this._config)[0];return t===r.Asc||t===r.Desc||t===r.customSort?t:r.Asc}setXAxisSortOrder(t,s){l(t,this._config,s)}getYAxisSortOrder(){let t=f(this._config)[1];return t===r.Asc||t===r.Desc||t===r.customSort?t:r.Asc}setYAxisSortOrder(t,s){l(t,this._config,s,!0)}get emptyCellText(){return V(this._config)}set emptyCellText(t){X(t,this._config)}get includeLeapDay(){return K(this._config)}set includeLeapDay(t){this.guardSetterFromAsyncOverwrite(()=>{q(t,this._config),this.emitConfigUpdate("includeLeapDay")})}get firstDayOfWeek(){return ot(this._config)}set firstDayOfWeek(t){this.guardSetterFromAsyncOverwrite(()=>{it(t,this._config),this.emitConfigUpdate("firstDayOfWeek")})}get emptyCellSymbol(){return z(this._config)}set emptyCellSymbol(t){G(t,this._config)}get rotatedState(){return!1}set rotatedState(t){}setAssignToSecondValueAxis(t,s){}set stackedType(t){}set binTemporalData(t){}set nullCategory(t){}generateDefaultConfig(){let t=_(this.commonStrings,m(this.layerInfo.layer).idField);return t.axes?.forEach((s,a)=>{s&&(s.valueFormat={intlOptions:{timeZone:void 0,dateStyle:a>0?"long":"medium"},type:"date"})}),t}};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,"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,"firstDayOfWeek");o([i],e.prototype,"emptyCellSymbol");o([i],e.prototype,"rotatedState");o([i],e.prototype,"setAssignToSecondValueAxis");o([i],e.prototype,"stackedType");o([i],e.prototype,"binTemporalData");o([i],e.prototype,"nullCategory");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/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,b,d,e,f,g,h,i,j,k,l,m,n,o,p,q,s)
|