@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,12 +1,16 @@
|
|
|
1
|
+
import type Extent from "@arcgis/core/geometry/Extent.js";
|
|
1
2
|
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
2
|
-
import type
|
|
3
|
-
import type
|
|
3
|
+
import type ImageryLayer from "@arcgis/core/layers/ImageryLayer.js";
|
|
4
|
+
import type ImageryTileLayer from "@arcgis/core/layers/ImageryTileLayer.js";
|
|
5
|
+
import type CodedValueDomain from "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
6
|
+
import type Renderer from "@arcgis/core/renderers/Renderer.js";
|
|
7
|
+
import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
|
|
4
8
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
5
9
|
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
6
|
-
import type { SupportedLayer } from "../../interfaces.js";
|
|
7
|
-
import type {
|
|
8
|
-
import type { IFeatureLayer, IField } from "../../spec/rest-js-types.js";
|
|
10
|
+
import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
|
|
11
|
+
import type { IFeatureLayer, IField, IImageServiceLayer, ITiledImageServiceLayer } from "../../spec/rest-js-types.js";
|
|
9
12
|
import type { WebChart, WebChartDataFilters, WebChartQuery } from "../../spec/web-chart.js";
|
|
13
|
+
import type { QueryObject, QueryObjectOrRaster, QueryObjectProps, RendererInfo } from "./interfaces.js";
|
|
10
14
|
|
|
11
15
|
/**
|
|
12
16
|
* Returns the renderer type and the field and normalization field if applicable.
|
|
@@ -21,27 +25,50 @@ export function getRendererInfo(layerRenderer?: Renderer): RendererInfo;
|
|
|
21
25
|
* It returns the created Feature Layer.
|
|
22
26
|
* It is memoized (cached) to avoid multiple requests for a same feature layer.
|
|
23
27
|
*
|
|
28
|
+
* @param featureLayer
|
|
29
|
+
* @param abortSignal
|
|
24
30
|
* @internal
|
|
25
31
|
*/
|
|
26
|
-
export
|
|
32
|
+
export function getFeatureLayer(featureLayer: IFeatureLayer, abortSignal?: AbortSignal): Promise<FeatureLayer>;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* A wrapper function creating a FeatureLayer, ImageryLayer, or ImagegeryTileLayer from a set of parameters.
|
|
36
|
+
* It returns the created FeatureLayer, ImageryLayer, or ImagegeryTileLayer.
|
|
37
|
+
*
|
|
38
|
+
* @param iLayer
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
export function getLayer(iLayer: IFeatureLayer): Promise<FeatureLayer>;
|
|
42
|
+
|
|
43
|
+
/** @param iLayer */
|
|
44
|
+
export function getLayer(iLayer: IImageServiceLayer): Promise<ImageryLayer>;
|
|
45
|
+
|
|
46
|
+
/** @param iLayer */
|
|
47
|
+
export function getLayer(iLayer: ITiledImageServiceLayer): Promise<ImageryTileLayer>;
|
|
48
|
+
|
|
49
|
+
/** @param iLayer */
|
|
50
|
+
export function getLayer(iLayer: IFeatureLayer | IImageServiceLayer | ITiledImageServiceLayer): Promise<FeatureLayer | ImageryLayer | ImageryTileLayer>;
|
|
51
|
+
|
|
52
|
+
/** @param iLayer */
|
|
53
|
+
export function getLayer(iLayer: IFeatureLayer | IImageServiceLayer | ITiledImageServiceLayer): Promise<FeatureLayer | ImageryLayer | ImageryTileLayer>;
|
|
27
54
|
|
|
28
55
|
/**
|
|
29
56
|
* Returns the proper query object to use according to the situation.
|
|
30
|
-
*
|
|
57
|
+
* It can return either a FeatureLayer, an ImageryLayer, an ImageryTileLayer, or a FeatureLayerView (and possibly nothing).
|
|
31
58
|
*
|
|
32
59
|
* @param props
|
|
33
60
|
* @internal
|
|
34
61
|
*/
|
|
35
|
-
export function getQueryObject(props: QueryObjectProps): Promise<
|
|
62
|
+
export function getQueryObject(props: QueryObjectProps): Promise<QueryObjectOrRaster | undefined>;
|
|
36
63
|
|
|
37
64
|
/**
|
|
38
|
-
* Fetches all the fields info a
|
|
65
|
+
* Fetches all the fields info from a layer.
|
|
39
66
|
*
|
|
40
|
-
* @param queryObject
|
|
67
|
+
* @param queryObject - The query object (layer or feature layer view) to fetch the fields info from. **Ensure the query object's layer is loaded before calling this function**.
|
|
41
68
|
* @param usePopupTemplateFieldsInfo - whether to use the aliases from the popupTemplate
|
|
42
69
|
* @internal
|
|
43
70
|
*/
|
|
44
|
-
export function fetchLayerFieldsInfo(queryObject:
|
|
71
|
+
export function fetchLayerFieldsInfo(queryObject: QueryObjectOrRaster, usePopupTemplateFieldsInfo?: boolean): IField[];
|
|
45
72
|
|
|
46
73
|
/**
|
|
47
74
|
* Looks into a list of fields for one having a specific name, and returning it if found.
|
|
@@ -62,7 +89,7 @@ export function getFieldFromName(fieldName: string, fields?: IField[]): IField |
|
|
|
62
89
|
* When the layer is undefined, returns undefined ID fields and false for the boolean.
|
|
63
90
|
* @internal
|
|
64
91
|
*/
|
|
65
|
-
export function getLayerUniqueIdOrObjectIdFields(layer?: SupportedLayer): {
|
|
92
|
+
export function getLayerUniqueIdOrObjectIdFields(layer?: SupportedLayer | SupportedRasterLayer): {
|
|
66
93
|
idFields: string[] | undefined;
|
|
67
94
|
isTraditionalTypeOID: boolean;
|
|
68
95
|
};
|
|
@@ -74,7 +101,7 @@ export function getLayerUniqueIdOrObjectIdFields(layer?: SupportedLayer): {
|
|
|
74
101
|
* @param layer - The layer
|
|
75
102
|
* @internal
|
|
76
103
|
*/
|
|
77
|
-
export function getObjectIdField(layer?: SupportedLayer): {
|
|
104
|
+
export function getObjectIdField(layer?: SupportedLayer | SupportedRasterLayer): {
|
|
78
105
|
idField: string;
|
|
79
106
|
isTraditionalTypeOID: boolean;
|
|
80
107
|
};
|
|
@@ -86,7 +113,7 @@ export function getObjectIdField(layer?: SupportedLayer): {
|
|
|
86
113
|
* @param field
|
|
87
114
|
* @internal
|
|
88
115
|
*/
|
|
89
|
-
export function isNumericField(field
|
|
116
|
+
export function isNumericField(field?: IField): boolean;
|
|
90
117
|
|
|
91
118
|
/**
|
|
92
119
|
* Checks whether the given field has a valid date type.
|
|
@@ -95,7 +122,25 @@ export function isNumericField(field: IField): boolean;
|
|
|
95
122
|
* @param field
|
|
96
123
|
* @internal
|
|
97
124
|
*/
|
|
98
|
-
export function isDateField(field
|
|
125
|
+
export function isDateField(field?: IField): boolean;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Checks whether the given field has a valid string type.
|
|
129
|
+
* Fields descriptions are [here](http://resources.esri.com/help/9.3/ArcGISEngine/ArcObjects/esriGeoDatabase/esriFieldType.htm).
|
|
130
|
+
*
|
|
131
|
+
* @param field
|
|
132
|
+
* @internal
|
|
133
|
+
*/
|
|
134
|
+
export function isStringField(field?: IField): boolean;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Checks whether the given field has a valid time only type.
|
|
138
|
+
* Fields descriptions are [here](http://resources.esri.com/help/9.3/ArcGISEngine/ArcObjects/esriGeoDatabase/esriFieldType.htm).
|
|
139
|
+
*
|
|
140
|
+
* @param field
|
|
141
|
+
* @internal
|
|
142
|
+
*/
|
|
143
|
+
export function isTimeOnlyField(field?: IField): boolean;
|
|
99
144
|
|
|
100
145
|
/**
|
|
101
146
|
* Checks whether the given field has a valid integer type.
|
|
@@ -104,7 +149,7 @@ export function isDateField(field: IField): boolean;
|
|
|
104
149
|
* @param field
|
|
105
150
|
* @internal
|
|
106
151
|
*/
|
|
107
|
-
export function isIntegerField(field
|
|
152
|
+
export function isIntegerField(field?: IField): boolean;
|
|
108
153
|
|
|
109
154
|
/**
|
|
110
155
|
* Returns list of date field names from an array of fields of type IField
|
|
@@ -123,43 +168,32 @@ export function getLayerDateFields(fieldsInfo: IField[]): string[];
|
|
|
123
168
|
export function getLayerNumericFields(fieldsInfo: IField[]): string[];
|
|
124
169
|
|
|
125
170
|
/**
|
|
126
|
-
*
|
|
127
|
-
*
|
|
171
|
+
* Get the coded value domain associated to the given field, if any.
|
|
172
|
+
* The RangeDomain is currently not supported.
|
|
128
173
|
*
|
|
129
|
-
* @param
|
|
130
|
-
* @
|
|
131
|
-
* //TODO: may need to revise regrading the typeIdField property (See https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/42555)
|
|
174
|
+
* @param queryObject - The query object (layer or feature layer view)
|
|
175
|
+
* @param field - The field to retrieve the domain from
|
|
132
176
|
* @internal
|
|
133
177
|
*/
|
|
134
|
-
export function
|
|
135
|
-
subtypeInfo?: SubtypeInfo;
|
|
136
|
-
fieldName: string;
|
|
137
|
-
fieldValueToMatch: number | string;
|
|
138
|
-
}): string | undefined;
|
|
178
|
+
export function getFieldCodedValueDomain(queryObject: QueryObject, field?: string): CodedValueDomain | undefined;
|
|
139
179
|
|
|
140
180
|
/**
|
|
141
|
-
*
|
|
181
|
+
* Get the field description from the domain given a field value.
|
|
142
182
|
*
|
|
143
|
-
* @param
|
|
144
|
-
* @
|
|
145
|
-
* //TODO: may need to revise regrading the typeIdField property (See https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/42555)
|
|
146
|
-
* @internal
|
|
183
|
+
* @param fieldValue - The field value to get the description for
|
|
184
|
+
* @param domain - The domain of the field
|
|
147
185
|
*/
|
|
148
|
-
export function
|
|
186
|
+
export function getFieldDescriptionFromDomain(fieldValue: number | string, domain?: CodedValueDomain): string | undefined;
|
|
149
187
|
|
|
150
188
|
/**
|
|
151
|
-
* Get the field description
|
|
152
|
-
* This field description is mainly for displaying purpose (while its id is used in queries).
|
|
189
|
+
* Get the field description from the query object given a field name and a field value.
|
|
153
190
|
*
|
|
154
|
-
* @param props -
|
|
155
|
-
* @returns The field description if available; otherwise undefined.
|
|
156
|
-
* @internal
|
|
191
|
+
* @param props - The query object (layer or feature layer view)
|
|
157
192
|
*/
|
|
158
|
-
export function
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
fieldList?: IField[];
|
|
193
|
+
export function getFieldDescriptionFromQueryObject(props: {
|
|
194
|
+
queryObject: QueryObjectOrRaster;
|
|
195
|
+
fieldName?: string;
|
|
196
|
+
fieldValue: number | string;
|
|
163
197
|
}): string | undefined;
|
|
164
198
|
|
|
165
199
|
/**
|
|
@@ -168,7 +202,7 @@ export function getFieldDescription(props: {
|
|
|
168
202
|
* @param layer
|
|
169
203
|
* @internal
|
|
170
204
|
*/
|
|
171
|
-
export function getRendererFieldNames(layer: SupportedLayer): Promise<string[]>;
|
|
205
|
+
export function getRendererFieldNames(layer: SupportedLayer | undefined): Promise<string[]>;
|
|
172
206
|
|
|
173
207
|
/**
|
|
174
208
|
* Returns a boolean to indicate if the feature layer is on standard feature data store or not.
|
|
@@ -177,7 +211,7 @@ export function getRendererFieldNames(layer: SupportedLayer): Promise<string[]>;
|
|
|
177
211
|
* @param layer
|
|
178
212
|
* @internal
|
|
179
213
|
*/
|
|
180
|
-
export function isStandardLayer(layer: SupportedLayer): Promise<boolean>;
|
|
214
|
+
export function isStandardLayer(layer: SupportedLayer | undefined): Promise<boolean>;
|
|
181
215
|
|
|
182
216
|
/**
|
|
183
217
|
* Finds the matching field name for a given layer based on the fieldToMatch parameter.
|
|
@@ -186,10 +220,10 @@ export function isStandardLayer(layer: SupportedLayer): Promise<boolean>;
|
|
|
186
220
|
* @internal
|
|
187
221
|
*/
|
|
188
222
|
export function findMatchingLayerFieldName(props: {
|
|
189
|
-
queryObject:
|
|
223
|
+
queryObject: QueryObjectOrRaster;
|
|
190
224
|
fieldToMatch: string;
|
|
191
225
|
returnUndefinedIfNotFound?: boolean;
|
|
192
|
-
}):
|
|
226
|
+
}): string;
|
|
193
227
|
|
|
194
228
|
/**
|
|
195
229
|
* Find the matching field in a list of fields based on the fieldToMatch parameter.
|
|
@@ -217,9 +251,9 @@ export function findMatchingField(layerFieldList: IField[], fieldToMatch: string
|
|
|
217
251
|
*/
|
|
218
252
|
export function matchFieldsList(props: {
|
|
219
253
|
fieldsList: string[] | undefined;
|
|
220
|
-
queryObject: SupportedLayer;
|
|
254
|
+
queryObject: SupportedLayer | SupportedRasterLayer;
|
|
221
255
|
returnUndefinedIfNotFound?: boolean;
|
|
222
|
-
}):
|
|
256
|
+
}): string[] | undefined;
|
|
223
257
|
|
|
224
258
|
/**
|
|
225
259
|
* Builds a WebChartQuery based on information coming from the runtime filters (chart options), the config and the data source.
|
|
@@ -230,10 +264,11 @@ export function matchFieldsList(props: {
|
|
|
230
264
|
* @internal
|
|
231
265
|
*/
|
|
232
266
|
export function buildQueryConfig(props: {
|
|
233
|
-
queryObject?:
|
|
267
|
+
queryObject?: QueryObjectOrRaster;
|
|
234
268
|
chartConfig: WebChart;
|
|
235
269
|
runtimeDataFilters?: WebChartDataFilters;
|
|
236
270
|
ignoreViewExtent?: boolean;
|
|
271
|
+
viewExtent?: Extent;
|
|
237
272
|
}): WebChartQuery;
|
|
238
273
|
|
|
239
274
|
/**
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer";
|
|
1
|
+
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
2
2
|
import type { WebChartConfigFields } from "./interfaces.js";
|
|
3
3
|
import type { IFeatureLayer } from "../../../spec/rest-js-types.js";
|
|
4
4
|
import type { WebChartDataTypes } from "../../../spec/data-source.js";
|
|
5
5
|
import type { WebChart } from "../../../spec/web-chart.js";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
* Creates a chart renderer based on the provided config fields and inline data
|
|
8
|
+
* Creates a chart renderer based on the provided config fields and inline data.
|
|
9
9
|
*
|
|
10
|
-
* @param props - The category field
|
|
10
|
+
* @param props - The category field, the numeric fields, the config fields and the data to convert.
|
|
11
11
|
*/
|
|
12
12
|
export function convertConfigFieldsToChartRenderer(props: {
|
|
13
13
|
categoryField: string;
|
|
@@ -17,9 +17,9 @@ export function convertConfigFieldsToChartRenderer(props: {
|
|
|
17
17
|
}): WebChart["chartRenderer"];
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* Converts an array of inline data to a feature set and returns an IFeatureLayer
|
|
20
|
+
* Converts an array of inline data to a feature set and returns an `IFeatureLayer`.
|
|
21
21
|
*
|
|
22
|
-
* @param props - The category field
|
|
22
|
+
* @param props - The category field, the category type, the numeric fields and the inline data to convert.
|
|
23
23
|
*/
|
|
24
24
|
export function convertInlineDataToLayerDefinition(props: {
|
|
25
25
|
categoryField: string;
|
|
@@ -29,10 +29,9 @@ export function convertInlineDataToLayerDefinition(props: {
|
|
|
29
29
|
}): IFeatureLayer | undefined;
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
* Converts an array of inline data into a feature collection.
|
|
33
|
-
* Also returns a chartRenderer if the configFields are provided.
|
|
32
|
+
* Converts an array of inline data into a feature collection. Also returns a `chartRenderer` if the `configFields` are provided.
|
|
34
33
|
*
|
|
35
|
-
* @param props - The category field
|
|
34
|
+
* @param props - The category field, the category type, the numeric fields, the config fields and the inline data to convert.
|
|
36
35
|
*/
|
|
37
36
|
export function convertInlineConfigToLayerConfig(props: {
|
|
38
37
|
categoryField: string;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type MapView from "@arcgis/core/views/MapView";
|
|
2
|
-
import type SceneView from "@arcgis/core/views/SceneView";
|
|
3
|
-
import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView";
|
|
4
|
-
import type { SupportedLayer } from "../../interfaces.js";
|
|
5
|
-
import type { WebChart } from "../../spec/web-chart.js";
|
|
1
|
+
import type MapView from "@arcgis/core/views/MapView.js";
|
|
2
|
+
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
3
|
+
import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
|
|
4
|
+
import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
|
|
6
5
|
import type { RESTRendererType } from "../../spec/rest-js-object-literals.js";
|
|
7
|
-
import type {
|
|
6
|
+
import type { WebChart } from "../../spec/web-chart.js";
|
|
8
7
|
|
|
9
8
|
/** @internal */
|
|
10
9
|
export interface QueryObjectProps {
|
|
11
|
-
chartConfig
|
|
12
|
-
layer?:
|
|
10
|
+
chartConfig?: WebChart;
|
|
11
|
+
layer?: QueryObjectOrRaster;
|
|
13
12
|
view?: MapView | SceneView;
|
|
14
13
|
filterByExtent?: boolean;
|
|
14
|
+
abortSignal?: AbortSignal;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/** @internal */
|
|
@@ -33,41 +33,6 @@ export interface ServerRestInfo {
|
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
* Store information about coded-value domains in the subtype
|
|
38
|
-
*
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
|
-
export interface ICodedValueDomain {
|
|
42
|
-
fieldName: string;
|
|
43
|
-
name: string;
|
|
44
|
-
codedValues?: ICodedValue[];
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Store information about featureType
|
|
49
|
-
*
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
52
|
-
export interface IFeatureType {
|
|
53
|
-
id: number | string;
|
|
54
|
-
name: string;
|
|
55
|
-
domains?: ICodedValueDomain[];
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Store information about subtypes from the feature layer, if any, with:
|
|
60
|
-
* - either the couple typeIdField + types
|
|
61
|
-
* - or the couple subtypeField + subtypes
|
|
62
|
-
* representing the field name and information associating a code with a name
|
|
63
|
-
*
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
export interface SubtypeInfo {
|
|
67
|
-
typeIdField?: string;
|
|
68
|
-
types?: IFeatureType[];
|
|
69
|
-
subtypeField?: string;
|
|
70
|
-
subtypes?: IFeatureType[];
|
|
71
|
-
}
|
|
36
|
+
export type QueryObject = FeatureLayerView | SupportedLayer;
|
|
72
37
|
|
|
73
|
-
export type
|
|
38
|
+
export type QueryObjectOrRaster = QueryObject | SupportedRasterLayer;
|
|
@@ -6,6 +6,7 @@ import type { QueryObject } from "../interfaces.js";
|
|
|
6
6
|
import type { AbortControllerKeyType, Features } from "./interfaces.js";
|
|
7
7
|
import type { WebChartQuery, WebChartTemporalBinning, WebHeatChart } from "../../../spec/web-chart.js";
|
|
8
8
|
import type { WebChartDataItem } from "../../../spec/data-source.js";
|
|
9
|
+
import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* Performs a query analytic.
|
|
@@ -44,6 +45,7 @@ export function queryAttributeBinsForHeatChart(props: {
|
|
|
44
45
|
chartConfig: WebHeatChart;
|
|
45
46
|
queryObject: QueryObject;
|
|
46
47
|
queryConfig: WebChartQuery;
|
|
48
|
+
options?: ChartOptions;
|
|
47
49
|
errorStrings: ErrorStrings;
|
|
48
50
|
}): Promise<AttributeBinsFeatureSet | undefined>;
|
|
49
51
|
|
|
@@ -112,7 +114,7 @@ export function queryStatistics<T extends Date | number | string>(props: {
|
|
|
112
114
|
* @internal
|
|
113
115
|
*/
|
|
114
116
|
export function queryFeatures(props: {
|
|
115
|
-
queryObject
|
|
117
|
+
queryObject: QueryObject;
|
|
116
118
|
queryConfig?: WebChartQuery;
|
|
117
119
|
returnUniqueIdsOnly?: boolean;
|
|
118
120
|
abortKey?: AbortControllerKeyType;
|
|
@@ -126,7 +128,7 @@ export function queryFeatures(props: {
|
|
|
126
128
|
* @internal
|
|
127
129
|
*/
|
|
128
130
|
export function queryAllFeatures(props: {
|
|
129
|
-
queryObject
|
|
131
|
+
queryObject: QueryObject;
|
|
130
132
|
queryConfig?: WebChartQuery;
|
|
131
133
|
returnUniqueIdsOnly?: boolean;
|
|
132
134
|
featureCount?: number;
|
|
@@ -141,7 +143,7 @@ export function queryAllFeatures(props: {
|
|
|
141
143
|
* @internal
|
|
142
144
|
*/
|
|
143
145
|
export function queryUniqueIDs(props: {
|
|
144
|
-
queryObject
|
|
146
|
+
queryObject: QueryObject;
|
|
145
147
|
queryConfig: WebChartQuery;
|
|
146
148
|
uniqueFeature?: boolean;
|
|
147
149
|
abortKey?: AbortControllerKeyType;
|
|
@@ -174,7 +176,7 @@ export function getQueryAttributeBinsForTemporalDataAliases(x: string): {
|
|
|
174
176
|
* @internal
|
|
175
177
|
*/
|
|
176
178
|
export function queryAttributeBinsForTemporalData(props: {
|
|
177
|
-
queryObject
|
|
179
|
+
queryObject: QueryObject;
|
|
178
180
|
queryConfig: WebChartQuery;
|
|
179
181
|
temporalBinning?: WebChartTemporalBinning;
|
|
180
182
|
dateField: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type Geometry from "@arcgis/core/geometry/Geometry";
|
|
1
|
+
import type Geometry from "@arcgis/core/geometry/Geometry.js";
|
|
2
2
|
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
3
3
|
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
|
|
4
4
|
import type AttributeBinsQuery from "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
@@ -7,7 +7,8 @@ import type TimeExtent from "@arcgis/core/time/TimeExtent.js";
|
|
|
7
7
|
import type { QueryProperties } from "@arcgis/core/rest/support/Query.js";
|
|
8
8
|
import type { RESTFieldType } from "../../../spec/rest-js-object-literals.js";
|
|
9
9
|
import type { WebChartHeatChartSeries, WebChartQuery, WebChartTemporalBinning } from "../../../spec/web-chart.js";
|
|
10
|
-
import type { QueryObject } from "../interfaces.js";
|
|
10
|
+
import type { QueryObject, QueryObjectOrRaster } from "../interfaces.js";
|
|
11
|
+
import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
|
|
11
12
|
|
|
12
13
|
/**
|
|
13
14
|
* Indicates whether a query can be cached. It is not when:
|
|
@@ -19,7 +20,10 @@ import type { QueryObject } from "../interfaces.js";
|
|
|
19
20
|
*/
|
|
20
21
|
export function isQueryCacheable(query: AttributeBinsQuery | Query | QueryProperties): boolean;
|
|
21
22
|
|
|
22
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* @param layer
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
23
27
|
export function getMaxRecords(layer?: Pick<FeatureLayer, "sourceJSON"> | SubtypeSublayer): number;
|
|
24
28
|
|
|
25
29
|
/**
|
|
@@ -38,7 +42,7 @@ export function combineFilters(filterList: (string | null | undefined)[], operan
|
|
|
38
42
|
* @param defaultTimeExtent - The time extent defined at the series config level or provided at runtime
|
|
39
43
|
* @internal
|
|
40
44
|
*/
|
|
41
|
-
export function getQueryTimeExtent(queryObject
|
|
45
|
+
export function getQueryTimeExtent(queryObject?: QueryObjectOrRaster, defaultTimeExtent?: WebChartQuery["timeExtent"]): WebChartQuery["timeExtent"] | undefined;
|
|
42
46
|
|
|
43
47
|
/**
|
|
44
48
|
* Computes the extent to be used by the query. We prioritize the feature layer view extent
|
|
@@ -48,7 +52,7 @@ export function getQueryTimeExtent(queryObject: QueryObject, defaultTimeExtent?:
|
|
|
48
52
|
* @internal
|
|
49
53
|
*/
|
|
50
54
|
export function getQueryGeometry(props: {
|
|
51
|
-
queryObject
|
|
55
|
+
queryObject?: QueryObject;
|
|
52
56
|
defaultGeometry?: WebChartQuery["geometry"];
|
|
53
57
|
ignoreViewExtent?: boolean;
|
|
54
58
|
}): WebChartQuery["geometry"] | undefined;
|
|
@@ -76,12 +80,12 @@ export function mapQueryGeometry(geometryConfig?: WebChartQuery["geometry"]): Ge
|
|
|
76
80
|
* @internal
|
|
77
81
|
*/
|
|
78
82
|
export function mapAttributeBinsQueryForTemporalData(props: {
|
|
79
|
-
queryObject
|
|
83
|
+
queryObject: QueryObject;
|
|
80
84
|
queryConfig?: WebChartQuery;
|
|
81
85
|
temporalBinning: WebChartTemporalBinning;
|
|
82
86
|
dateField: string;
|
|
83
87
|
splitByField?: string;
|
|
84
|
-
}):
|
|
88
|
+
}): AttributeBinsQuery;
|
|
85
89
|
|
|
86
90
|
/**
|
|
87
91
|
* Builds a SQL expression as well as the start and end values necessary for the calendar date parts binning.
|
|
@@ -111,16 +115,17 @@ export function getCalendarDatePartsParameters(props: {
|
|
|
111
115
|
* @internal
|
|
112
116
|
*/
|
|
113
117
|
export function mapAttributeBinsQueryForHeatChart(props: {
|
|
114
|
-
queryObject
|
|
118
|
+
queryObject: QueryObject;
|
|
115
119
|
queryConfig?: WebChartQuery;
|
|
116
120
|
x: string;
|
|
117
121
|
y: string;
|
|
118
122
|
xTemporalBinning?: WebChartHeatChartSeries["xTemporalBinning"];
|
|
119
123
|
yTemporalBinning?: WebChartHeatChartSeries["yTemporalBinning"];
|
|
120
124
|
firstDayOfWeek?: number;
|
|
121
|
-
|
|
125
|
+
configTimeZone?: string;
|
|
122
126
|
includeLeapDay?: boolean;
|
|
123
|
-
|
|
127
|
+
options?: ChartOptions;
|
|
128
|
+
}): AttributeBinsQuery;
|
|
124
129
|
|
|
125
130
|
/**
|
|
126
131
|
* Maps properties from a WebChartQuery and properties specific to temporal binning into an AttributeBinsQuery object.
|
|
@@ -129,7 +134,7 @@ export function mapAttributeBinsQueryForHeatChart(props: {
|
|
|
129
134
|
* @internal
|
|
130
135
|
*/
|
|
131
136
|
export function mapAttributeBinsQueryForScatterplot(props: {
|
|
132
|
-
queryObject
|
|
137
|
+
queryObject: QueryObject;
|
|
133
138
|
queryConfig?: WebChartQuery;
|
|
134
139
|
xStep: number;
|
|
135
140
|
yStep: number;
|
|
@@ -146,7 +151,7 @@ export function mapAttributeBinsQueryForScatterplot(props: {
|
|
|
146
151
|
* @internal
|
|
147
152
|
*/
|
|
148
153
|
export function mapQuery(props: {
|
|
149
|
-
queryObject
|
|
154
|
+
queryObject: QueryObject;
|
|
150
155
|
queryConfig?: WebChartQuery;
|
|
151
156
|
maxRecordCountFactor?: number;
|
|
152
157
|
}): Query;
|