@arcgis/charts-components 5.1.0-next.98 → 5.1.0
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/2JFIUU3X.js +2 -0
- package/dist/cdn/2JUO3GP2.js +2 -0
- package/dist/cdn/{GDFOZNYR.js → 2WDUA6L4.js} +2 -2
- package/dist/cdn/334U2KAR.js +2 -0
- package/dist/cdn/3A5542IZ.js +2 -0
- package/dist/cdn/3DYFAIW2.js +2 -0
- package/dist/cdn/43P4WOC4.js +2 -0
- package/dist/cdn/4LA6DRGM.js +2 -0
- package/dist/cdn/4P6NLXDP.js +2 -0
- package/dist/cdn/4XSIB5AA.js +2 -0
- package/dist/cdn/{OEZ2XTZE.js → 64HPM724.js} +1 -1
- package/dist/cdn/6BJXOUW2.js +2 -0
- package/dist/cdn/6IL4JEXA.js +2 -0
- package/dist/cdn/6JI4NDJ6.js +2 -0
- package/dist/cdn/6KA24PEA.js +2 -0
- package/dist/cdn/6TV5E5JT.js +2 -0
- package/dist/cdn/75Y43JLP.js +2 -0
- package/dist/cdn/777EBGS5.js +2 -0
- package/dist/cdn/7HZFPSKD.js +2 -0
- package/dist/cdn/7MKAC33Z.js +2 -0
- package/dist/cdn/7X2HKQS7.js +2 -0
- package/dist/cdn/AHPLTCSH.js +2 -0
- package/dist/cdn/AVVOHZH7.js +2 -0
- package/dist/cdn/AZEQVTDQ.js +2 -0
- package/dist/cdn/AZIX3IFP.js +2 -0
- package/dist/cdn/BNTRLKLG.js +2 -0
- package/dist/cdn/BSFUPCQF.js +2 -0
- package/dist/cdn/C2TRAWJB.js +2 -0
- package/dist/cdn/CH3BYORW.js +2 -0
- package/dist/cdn/CPYOPFIS.js +2 -0
- package/dist/cdn/CPYPTGTK.js +2 -0
- package/dist/cdn/CSV6Q3VU.js +2 -0
- package/dist/cdn/CWJZT5NA.js +2 -0
- package/dist/cdn/D64RR3BQ.js +2 -0
- package/dist/cdn/E6ICXDNS.js +2 -0
- package/dist/cdn/EBN6GWGZ.js +2 -0
- package/dist/cdn/EX7VWKWX.js +2 -0
- package/dist/cdn/EXTC334W.js +2 -0
- package/dist/cdn/F6NHEUXC.js +2 -0
- package/dist/cdn/F7KMJXGD.js +2 -0
- package/dist/cdn/FCBTMNYR.js +2 -0
- package/dist/cdn/FIMXZMTB.js +2 -0
- package/dist/cdn/FNHDDK6Y.js +2 -0
- package/dist/cdn/GFLYSDHX.js +2 -0
- package/dist/cdn/H2F4EMEO.js +2 -0
- package/dist/cdn/HBEEYG5R.js +2 -0
- package/dist/cdn/HCEKAYF5.js +2 -0
- package/dist/cdn/HCIVARDS.js +2 -0
- package/dist/cdn/HIVZ4CAD.js +2 -0
- package/dist/cdn/HXLQEUPH.js +2 -0
- package/dist/cdn/{7LOXDMX3.js → JBWK3DSH.js} +1 -1
- package/dist/cdn/JW6KFBCT.js +2 -0
- package/dist/cdn/K6N5BBOM.js +2 -0
- package/dist/cdn/K7IQIF6X.js +2 -0
- package/dist/cdn/KGNYAMFB.js +2 -0
- package/dist/cdn/{4QCCCXMK.js → KUEF5L2Y.js} +1 -1
- package/dist/cdn/LHHRGNPI.js +2 -0
- package/dist/cdn/LM3RWOCL.js +2 -0
- package/dist/cdn/LSOS2REF.js +2 -0
- package/dist/cdn/{6ES4YKXX.js → LY7A6MST.js} +1 -1
- package/dist/cdn/{MRTH2CHN.js → M23H264O.js} +1 -1
- package/dist/cdn/MEQCCHAT.js +2 -0
- package/dist/cdn/MFOZISZU.js +2 -0
- package/dist/cdn/{FPDW4F45.js → MZ2UZAFW.js} +1 -1
- package/dist/cdn/NNH6F2PX.js +2 -0
- package/dist/cdn/NQAPPISU.js +2 -0
- package/dist/cdn/OH3XEKCB.js +2 -0
- package/dist/cdn/OR5W4LAU.js +2 -0
- package/dist/cdn/OTJX7BJS.js +2 -0
- package/dist/cdn/P5XJTTU3.js +3 -0
- package/dist/cdn/PDBL2LVQ.js +2 -0
- package/dist/cdn/PUWB3ZW4.js +2 -0
- package/dist/cdn/PXEQJDTP.js +2 -0
- package/dist/cdn/QLAAJ4TP.js +2 -0
- package/dist/cdn/QMOXGUU6.js +2 -0
- package/dist/cdn/QQY7FC2J.js +2 -0
- package/dist/cdn/QV7ZOLEX.js +2 -0
- package/dist/cdn/QY4I5GS2.js +4 -0
- package/dist/cdn/R7NIN2IP.js +2 -0
- package/dist/cdn/RV3ILDL6.js +2 -0
- package/dist/cdn/RXOISEOG.js +2 -0
- package/dist/cdn/SBS4J65N.js +2 -0
- package/dist/cdn/SPI2NEGA.js +2 -0
- package/dist/cdn/SPXLWSUF.js +2 -0
- package/dist/cdn/SS5KCPTA.js +2 -0
- package/dist/cdn/SSLS3BOB.js +2 -0
- package/dist/cdn/SU5G6JQD.js +2 -0
- package/dist/cdn/{XSMRKVR2.js → TJQGGNGV.js} +1 -1
- package/dist/cdn/{HX4RTI3G.js → TLS7SEFF.js} +1 -1
- package/dist/cdn/TOO3T62Y.js +2 -0
- package/dist/cdn/TTSQHXH3.js +2 -0
- package/dist/cdn/TWUQ2ILR.js +102 -0
- package/dist/cdn/U2LFGV2U.js +2 -0
- package/dist/cdn/UFYGFN2M.js +2 -0
- package/dist/cdn/UM6YK4R4.js +2 -0
- package/dist/cdn/USBY2OTE.js +233 -0
- package/dist/cdn/UUNBOK5Y.js +2 -0
- package/dist/cdn/V6NWTBC4.js +58 -0
- package/dist/cdn/VANTG2HX.js +2 -0
- package/dist/cdn/VESCHQRS.js +2 -0
- package/dist/cdn/VKY6S62L.js +2 -0
- package/dist/cdn/VPURXMI6.js +2 -0
- package/dist/cdn/VUZ4QNET.js +2 -0
- package/dist/cdn/WC4T47OL.js +2 -0
- package/dist/cdn/WEGNK77V.js +2 -0
- package/dist/cdn/WND4PQ7O.js +2 -0
- package/dist/cdn/XI3H6GMK.js +2 -0
- package/dist/cdn/XOB365BI.js +2 -0
- package/dist/cdn/XVU4S23S.js +2 -0
- package/dist/cdn/YK5PPTDT.js +2 -0
- package/dist/cdn/YKGXUFVU.js +2 -0
- package/dist/cdn/YUO2G7OX.js +3 -0
- package/dist/cdn/YX7I5VFP.js +2 -0
- package/dist/cdn/ZPNW6LWT.js +2 -0
- package/dist/cdn/{FKZETVX5.js → ZWFVKTLC.js} +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-line-style/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/cdn/model/shared/setup-utils.js +2 -0
- package/dist/chart-rendering/common/data/utils/summarize-data/interfaces.d.ts +5 -1
- package/dist/chart-rendering/common/interfaces.d.ts +11 -10
- package/dist/chunks/axis-lines-symbol.js +13 -13
- package/dist/chunks/bar-chart-model.js +25 -52
- package/dist/chunks/bar-chart-series.js +10 -40
- package/dist/chunks/box-plot-data.js +149 -170
- package/dist/chunks/box-plot-model.js +118 -110
- package/dist/chunks/chart-model.js +184 -179
- package/dist/chunks/chart-object-literals.js +189 -0
- package/dist/chunks/chart-ui-utils.js +17 -16
- package/dist/chunks/chart-ui-utils2.js +91 -117
- package/dist/chunks/class-breaks.js +375 -196
- package/dist/chunks/combo-bar-line-chart-model.js +11 -10
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +56 -84
- package/dist/chunks/data.js +76 -99
- package/dist/chunks/default.js +6 -7
- package/dist/chunks/gauge-model.js +206 -191
- package/dist/chunks/generate-x-axis-title.js +40 -67
- package/dist/chunks/heat-chart-model.js +184 -184
- package/dist/chunks/histogram-data.js +56 -80
- package/dist/chunks/histogram-model.js +30 -30
- package/dist/chunks/index.js +568 -20527
- package/dist/chunks/index2.js +8756 -596
- package/dist/chunks/index3.js +876 -160
- package/dist/chunks/index4.js +10840 -82
- package/dist/chunks/index5.js +100 -63
- package/dist/chunks/index6.js +66 -0
- package/dist/chunks/interfaces.js +31 -32
- package/dist/chunks/line-chart-model.js +25 -24
- package/dist/chunks/model-setter.js +41 -37
- package/dist/chunks/model-types.js +43 -0
- package/dist/chunks/model-with-x-guides.js +6 -6
- package/dist/chunks/model-with-y-guides.js +90 -117
- package/dist/chunks/negative-values-stacked-to-baseline.js +50 -79
- package/dist/chunks/pie-chart-data.js +88 -110
- package/dist/chunks/pie-chart-model.js +63 -86
- package/dist/chunks/radar-chart-model.js +36 -63
- package/dist/chunks/resource.js +8 -10
- package/dist/chunks/rotated-state.js +31 -46
- package/dist/chunks/runtime.js +3 -3
- package/dist/chunks/scatterplot-model.js +59 -81
- package/dist/chunks/serial-chart-data.js +795 -704
- package/dist/chunks/serial-chart-model.js +204 -220
- package/dist/chunks/series-length.js +26 -54
- package/dist/chunks/series-types.js +21 -205
- package/dist/chunks/series.js +9 -38
- package/dist/chunks/store.js +5 -5
- package/dist/chunks/time-zone.js +22 -23
- package/dist/chunks/type-guards.js +23 -132
- package/dist/chunks/type-guards2.js +100 -191
- package/dist/chunks/type-guards3.js +173 -0
- package/dist/chunks/utils.js +120 -128
- package/dist/chunks/utils2.js +34 -63
- package/dist/chunks/web-component-utils.js +660 -396
- package/dist/chunks/x-bounds.js +74 -100
- package/dist/components/arcgis-chart/customElement.d.ts +95 -52
- package/dist/components/arcgis-chart/customElement.js +8114 -8143
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +18 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +26 -27
- package/dist/components/arcgis-charts-config-axis/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +36 -63
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +49 -72
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +33 -54
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +37 -64
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +15 -43
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +12 -39
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +87 -111
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +41 -65
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +14 -41
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +22 -49
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +17 -45
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +47 -67
- package/dist/components/arcgis-charts-config-font-style/customElement.js +21 -48
- package/dist/components/arcgis-charts-config-format/customElement.js +58 -85
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +12 -44
- package/dist/components/arcgis-charts-config-general/customElement.js +29 -55
- package/dist/components/arcgis-charts-config-guide/customElement.js +40 -64
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +22 -54
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -3
- package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +10 -39
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +29 -56
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +152 -174
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +51 -74
- package/dist/components/arcgis-charts-config-histogram/customElement.js +33 -55
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +63 -86
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +33 -57
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +27 -54
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +25 -48
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +46 -69
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +33 -61
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +14 -42
- package/dist/components/arcgis-charts-config-line-style/customElement.js +9 -11
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +28 -55
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +24 -49
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +43 -67
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +40 -67
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +15 -43
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +33 -55
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +73 -96
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +16 -42
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +10 -38
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +21 -50
- package/dist/components/arcgis-charts-info-modal/customElement.js +24 -49
- 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.d.ts +65 -3
- package/dist/index.js +476 -461
- package/dist/json-schema/index.d.ts +4834 -4729
- package/dist/loader.js +2 -2
- package/dist/model/box-plot-model/box-plot-model.d.ts +12 -12
- package/dist/model/chart-model/chart-model-base.d.ts +2 -2
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/gauge-model/gauge-model.d.ts +25 -7
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +9 -2
- package/dist/model/interfaces/chart-interfaces.d.ts +5 -2
- package/dist/model/interfaces/common.d.ts +0 -2
- package/dist/model/line-chart-model/line-chart-model.d.ts +3 -3
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +6 -6
- package/dist/model/properties/axes/x-axis/x-bounds.d.ts +2 -3
- package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
- package/dist/model/properties/rotated-state.d.ts +6 -0
- package/dist/model/properties/time-zone.d.ts +1 -11
- package/dist/model/shared/setup-utils.d.ts +5 -2
- package/dist/model/shared/setup-utils.js +80 -0
- package/dist/spec/chart-object-literals.d.ts +1 -0
- package/dist/spec/rest-js-object-literals.d.ts +2 -2
- package/dist/spec/rest-js-types.d.ts +22 -8
- package/dist/spec/web-chart.d.ts +54 -3
- 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 +2 -1
- package/dist/utils/chart-config/converter/index.js +723 -0
- package/dist/utils/chart-config/utils/index.d.ts +49 -9
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +4 -4
- package/dist/utils/components/themes.d.ts +8 -0
- package/dist/utils/data/categorical-data/index.d.ts +4 -1
- package/dist/utils/data/index.d.ts +26 -19
- package/dist/utils/defaults/index.d.ts +23 -4
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/layer/index.d.ts +32 -11
- package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
- package/dist/utils/layer/query-features/index.d.ts +20 -3
- package/dist/utils/layer/query-parser/index.d.ts +7 -5
- package/dist/utils/layer/utils/index.d.ts +21 -8
- package/dist/utils/localization/interfaces.d.ts +18 -0
- package/dist/utils/misc/index.d.ts +2 -3
- package/dist/utils/type-guards/index.d.ts +9 -1
- package/dist/utils/types/index.d.ts +1 -5
- package/package.json +12 -9
- package/dist/cdn/2L4KRFAO.js +0 -2
- package/dist/cdn/2WMGX4LG.js +0 -2
- package/dist/cdn/3LHIBPWU.js +0 -2
- package/dist/cdn/3NHSJC2V.js +0 -2
- package/dist/cdn/3TYKSX6S.js +0 -2
- package/dist/cdn/4A46GMQH.js +0 -2
- package/dist/cdn/4AP7OF2H.js +0 -2
- package/dist/cdn/4F4XNNGS.js +0 -58
- package/dist/cdn/4MGAAHBF.js +0 -2
- package/dist/cdn/533OIYHT.js +0 -2
- package/dist/cdn/54JMGDNM.js +0 -2
- package/dist/cdn/6WQO34EX.js +0 -2
- package/dist/cdn/7BIC7WRS.js +0 -2
- package/dist/cdn/7JYYEL7C.js +0 -2
- package/dist/cdn/ABRBND33.js +0 -2
- package/dist/cdn/AKNI6ZDM.js +0 -2
- package/dist/cdn/B5DED64I.js +0 -2
- package/dist/cdn/BDROQPZY.js +0 -2
- package/dist/cdn/BGHKBRAY.js +0 -2
- package/dist/cdn/BIBH7Z6B.js +0 -2
- package/dist/cdn/BYMLWT4F.js +0 -2
- package/dist/cdn/C6VFUQYR.js +0 -2
- package/dist/cdn/CBAUBDVW.js +0 -2
- package/dist/cdn/CJPYRPNG.js +0 -2
- package/dist/cdn/DOKKZWPP.js +0 -2
- package/dist/cdn/DQOPCAYH.js +0 -2
- package/dist/cdn/ETKEDYJI.js +0 -2
- package/dist/cdn/ETLJKITO.js +0 -2
- package/dist/cdn/FPOY54UW.js +0 -2
- package/dist/cdn/FSPMT24F.js +0 -2
- package/dist/cdn/FTTFIYT7.js +0 -2
- package/dist/cdn/FXE7IJTK.js +0 -2
- package/dist/cdn/FXXKMSX7.js +0 -2
- package/dist/cdn/GCLBISUU.js +0 -2
- package/dist/cdn/GG4V6IWC.js +0 -2
- package/dist/cdn/GN55TJMJ.js +0 -2
- package/dist/cdn/GOCPXSNF.js +0 -2
- package/dist/cdn/GR2MDXNR.js +0 -2
- package/dist/cdn/GSIQ3AM5.js +0 -100
- package/dist/cdn/HAPHXGDG.js +0 -2
- package/dist/cdn/HRWT2MVN.js +0 -2
- package/dist/cdn/HZLHE35F.js +0 -2
- package/dist/cdn/IYAA5JNA.js +0 -2
- package/dist/cdn/J34XNLVV.js +0 -2
- package/dist/cdn/JII3X6GD.js +0 -2
- package/dist/cdn/JIJTDQNZ.js +0 -2
- package/dist/cdn/JP5QECNE.js +0 -2
- package/dist/cdn/JQAYCBRF.js +0 -2
- package/dist/cdn/JUTIXOZ7.js +0 -2
- package/dist/cdn/JXUQXIWS.js +0 -2
- package/dist/cdn/KDU3ISRJ.js +0 -2
- package/dist/cdn/KHK4ESCR.js +0 -2
- package/dist/cdn/KYO65OVO.js +0 -2
- package/dist/cdn/KZQPT32K.js +0 -2
- package/dist/cdn/L5ESAQAD.js +0 -2
- package/dist/cdn/LRLFI235.js +0 -2
- package/dist/cdn/LTPICGE4.js +0 -2
- package/dist/cdn/M6AWZ4GQ.js +0 -2
- package/dist/cdn/N3QESBWD.js +0 -2
- package/dist/cdn/N72JHWOW.js +0 -2
- package/dist/cdn/NJOCWENE.js +0 -2
- package/dist/cdn/NLPIWZ6O.js +0 -2
- package/dist/cdn/OG6XNLNH.js +0 -2
- package/dist/cdn/OGYHFMDK.js +0 -2
- package/dist/cdn/OM2N4R7B.js +0 -2
- package/dist/cdn/OSLQS2GQ.js +0 -2
- package/dist/cdn/OXOPYUOS.js +0 -2
- package/dist/cdn/PDXLVDA2.js +0 -2
- package/dist/cdn/PE5WVBYF.js +0 -2
- package/dist/cdn/PECU6KQ5.js +0 -2
- package/dist/cdn/PHSAVE6E.js +0 -2
- package/dist/cdn/PMSMMLY4.js +0 -2
- package/dist/cdn/PSDHB4WG.js +0 -2
- package/dist/cdn/PZAAA62R.js +0 -2
- package/dist/cdn/QCLX4TIM.js +0 -2
- package/dist/cdn/QCNYOXG2.js +0 -2
- package/dist/cdn/QNEGICXV.js +0 -2
- package/dist/cdn/QQNMK2QL.js +0 -2
- package/dist/cdn/RK3BAJOA.js +0 -2
- package/dist/cdn/SCVQSDX5.js +0 -2
- package/dist/cdn/T5RPAQYI.js +0 -2
- package/dist/cdn/TCJ5YAK5.js +0 -2
- package/dist/cdn/TNXVGUYE.js +0 -2
- package/dist/cdn/TQG6RDX5.js +0 -2
- package/dist/cdn/URBTZGXF.js +0 -2
- package/dist/cdn/URX6VCYJ.js +0 -2
- package/dist/cdn/VFNQXIXU.js +0 -2
- package/dist/cdn/VFULMUE5.js +0 -2
- package/dist/cdn/VRCCFTGJ.js +0 -2
- package/dist/cdn/W553UCBH.js +0 -4
- package/dist/cdn/WMLNHOVN.js +0 -2
- package/dist/cdn/WTPRSRPB.js +0 -2
- package/dist/cdn/XEDWXXF3.js +0 -2
- package/dist/cdn/Y4DORYPQ.js +0 -2
- package/dist/cdn/YEOSKZ4Q.js +0 -2
- package/dist/cdn/ZAKAJKUI.js +0 -2
- package/dist/cdn/ZNOJBKUZ.js +0 -2
- package/dist/chunks/setup-utils.js +0 -79
- package/dist/model/index.d.ts +0 -19
- package/dist/model.js +0 -42
- package/dist/spec/index.d.ts +0 -8
- package/dist/utils/index.d.ts +0 -33
- /package/dist/cdn/{SOIF6AMX.js → 27Y4YBZ7.js} +0 -0
- /package/dist/cdn/{BQOMKKBK.js → 2W64WSBS.js} +0 -0
- /package/dist/cdn/{NGLXQHZ2.js → 3S33OYZS.js} +0 -0
- /package/dist/cdn/{ALRIN5E5.js → 47SEEPGM.js} +0 -0
- /package/dist/cdn/{EVHJVY4I.js → 4CEOP4CL.js} +0 -0
- /package/dist/cdn/{ZL5EGDOW.js → 4NXQY2SY.js} +0 -0
- /package/dist/cdn/{I3BNBZ4D.js → 4RZOR2GZ.js} +0 -0
- /package/dist/cdn/{COQ55XOW.js → 5S37PAVK.js} +0 -0
- /package/dist/cdn/{TX2SYGTH.js → 5VCKTFEN.js} +0 -0
- /package/dist/cdn/{NPVXLEZW.js → 6SLYYVAM.js} +0 -0
- /package/dist/cdn/{MS6EYP4R.js → 75WJAOD5.js} +0 -0
- /package/dist/cdn/{3OGKV4KZ.js → 76OQVFII.js} +0 -0
- /package/dist/cdn/{LOX7MXL4.js → 7GXB5ABV.js} +0 -0
- /package/dist/cdn/{AVU2CHAB.js → 7S4C7DMD.js} +0 -0
- /package/dist/cdn/{WRNEDEFZ.js → A4O5PTH7.js} +0 -0
- /package/dist/cdn/{YQJLA77R.js → A52S6LGL.js} +0 -0
- /package/dist/cdn/{DNSUOJXJ.js → BR7YHHRO.js} +0 -0
- /package/dist/cdn/{X7ENJ4HH.js → BXOAEW3W.js} +0 -0
- /package/dist/cdn/{KCILWIMQ.js → CS6SBRT6.js} +0 -0
- /package/dist/cdn/{BY77PBZ2.js → D63ZM4I6.js} +0 -0
- /package/dist/cdn/{G2L5FYWK.js → DGYDZT63.js} +0 -0
- /package/dist/cdn/{FSNQ3YXX.js → DTU5F26A.js} +0 -0
- /package/dist/cdn/{F57IRWBF.js → FCE53PT5.js} +0 -0
- /package/dist/cdn/{EIIQ2CSC.js → G626QVCR.js} +0 -0
- /package/dist/cdn/{GR4BZF3L.js → GBLD6EF5.js} +0 -0
- /package/dist/cdn/{B4ULOSFG.js → HM7TTHYN.js} +0 -0
- /package/dist/cdn/{3VMIFF7C.js → JHXWK5HY.js} +0 -0
- /package/dist/cdn/{JM6E3U5J.js → JUUAJRZL.js} +0 -0
- /package/dist/cdn/{HJW6UNEH.js → LZTVRB5K.js} +0 -0
- /package/dist/cdn/{FLSUJTUZ.js → N4ZIPC6C.js} +0 -0
- /package/dist/cdn/{GWPFABGL.js → NF4ADSMI.js} +0 -0
- /package/dist/cdn/{SXJYUHC3.js → OPJ6LPA2.js} +0 -0
- /package/dist/cdn/{S5OM65RV.js → PDWS67CW.js} +0 -0
- /package/dist/cdn/{47EOUNYO.js → QSAYNOYT.js} +0 -0
- /package/dist/cdn/{THJTENN5.js → SEV3K4MK.js} +0 -0
- /package/dist/cdn/{KBDOBMB5.js → TWPDFIMS.js} +0 -0
- /package/dist/cdn/{BUCYRXMT.js → U6BD2QQW.js} +0 -0
- /package/dist/cdn/{6HUDF5Q2.js → WXLU5XAQ.js} +0 -0
- /package/dist/cdn/{HLSO5KDC.js → XLHC66GD.js} +0 -0
- /package/dist/cdn/{NSRIVIOH.js → XQL5X2VK.js} +0 -0
- /package/dist/cdn/{S5EI7T2D.js → Y4YDLI6O.js} +0 -0
- /package/dist/cdn/{RHGKKMJG.js → YIK7I32W.js} +0 -0
- /package/dist/cdn/{5TOYNVTW.js → ZYBUK2GC.js} +0 -0
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { DataOrderParameters } from "../../../chart-rendering/common/data/utils/summarize-data/interfaces.js";
|
|
2
2
|
import type { WebChartTypes, WebChartVersionStatus } from "../../../spec/chart-object-literals.js";
|
|
3
3
|
import type { RESTSymbolType } from "../../../spec/rest-js-object-literals.js";
|
|
4
4
|
import type { IField } from "../../../spec/rest-js-types.js";
|
|
5
5
|
import type { WebBoxPlot, WebChart, WebChartLegend, WebChartSeriesType, WebHeatChart } from "../../../spec/web-chart.js";
|
|
6
6
|
import type { DataUpdateDetails } from "../../data/interfaces.js";
|
|
7
|
+
import type { ChartElementLimit } from "../../defaults/interfaces.js";
|
|
7
8
|
import type { QueryObjectOrRaster as QueryObject } from "../../layer/interfaces.js";
|
|
8
|
-
import type { ChartSubType } from "../../misc/interfaces.js";
|
|
9
|
+
import type { ChartSubType, SelectionData } from "../../misc/interfaces.js";
|
|
9
10
|
import type { WebChartSeriesSupportingTemporalBinning } from "./interfaces.js";
|
|
10
|
-
import type {
|
|
11
|
+
import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
|
|
12
|
+
import type { WebChartBin, WebChartDataItem } from "../../../spec/data-source.js";
|
|
11
13
|
|
|
12
14
|
/**
|
|
13
15
|
* Retrieve and construct chart version information based on the input version and the currently supported ArcGIS Chart versions
|
|
@@ -95,6 +97,7 @@ export function isAbsoluteTruthWhereClause(where?: string): boolean;
|
|
|
95
97
|
* - where = "field = 5" => returns "field = 5"
|
|
96
98
|
* - where = "field = 'value'" => returns "field = 'value'"
|
|
97
99
|
* - where = "field = 'va'lue'" => returns "field = 'va''lue'"
|
|
100
|
+
* - where = "field = null => returns "field IS NULL"
|
|
98
101
|
*
|
|
99
102
|
* @param props - the where clause to normalize
|
|
100
103
|
* @internal
|
|
@@ -128,6 +131,35 @@ export function getBoxPlotChartSubType(seriesConfig: WebChartSeriesType[]): Char
|
|
|
128
131
|
*/
|
|
129
132
|
export function getChartSubType(series?: WebChartSeriesType[]): ChartSubType;
|
|
130
133
|
|
|
134
|
+
/**
|
|
135
|
+
* A function to determine whether the scatterplot is aggregated.
|
|
136
|
+
* It can use a map of statistics containing the number of points (computed from the data side) or
|
|
137
|
+
* a data context object usually stored within each marker.
|
|
138
|
+
*
|
|
139
|
+
* @param props - an optional map of statistics
|
|
140
|
+
* @returns A boolean indicating whether the scatterplot is aggregated
|
|
141
|
+
* @internal
|
|
142
|
+
*/
|
|
143
|
+
export function isScatterplotAggregated(props: {
|
|
144
|
+
statsMap?: Map<string, number>;
|
|
145
|
+
dataContext?: WebChartDataItem;
|
|
146
|
+
chartLimits?: ChartElementLimit;
|
|
147
|
+
}): boolean;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* A function to determine whether a chart is aggregated.
|
|
151
|
+
* Supports scatterplot, bar, line, combo, and pie chart. Defaults to true for the other types of chart.
|
|
152
|
+
*
|
|
153
|
+
* @param props - An optional data context object
|
|
154
|
+
* @returns A boolean indicating whether the chart is aggregated
|
|
155
|
+
* @internal
|
|
156
|
+
*/
|
|
157
|
+
export function isChartAggregated(props: {
|
|
158
|
+
dataContext?: WebChartBin | WebChartDataItem;
|
|
159
|
+
chartConfig: WebChart;
|
|
160
|
+
chartLimits?: ChartElementLimit;
|
|
161
|
+
}): boolean;
|
|
162
|
+
|
|
131
163
|
/**
|
|
132
164
|
* Indicates whether the bar or line series is configured to use time binning.
|
|
133
165
|
*
|
|
@@ -163,6 +195,7 @@ export function hasConfigFilterChanged(previousConfig: WebChart, newConfig: WebC
|
|
|
163
195
|
*
|
|
164
196
|
* @param previousSeries
|
|
165
197
|
* @param newSeries
|
|
198
|
+
* @internal
|
|
166
199
|
*/
|
|
167
200
|
export function hasNumberOfSeriesChanged(previousSeries: WebChart["series"], newSeries: WebChart["series"]): boolean;
|
|
168
201
|
|
|
@@ -205,7 +238,7 @@ export function hasAdditionalTooltipFieldsChanged(props: {
|
|
|
205
238
|
* @param newConfig - The updated config
|
|
206
239
|
* @internal
|
|
207
240
|
*/
|
|
208
|
-
export function hasColorMatchChanged(oldConfig: WebChart, newConfig: WebChart): boolean;
|
|
241
|
+
export function hasColorMatchChanged(oldConfig: WebChart | undefined, newConfig: WebChart): boolean;
|
|
209
242
|
|
|
210
243
|
/**
|
|
211
244
|
* Compares two configs and indicates whether the stacked type changed
|
|
@@ -269,7 +302,7 @@ export function hasHeatRulesTypeChanged(oldConfig: WebHeatChart, newConfig: WebH
|
|
|
269
302
|
* @internal
|
|
270
303
|
*/
|
|
271
304
|
export function hasSlicesConfigChanged(props: {
|
|
272
|
-
oldConfig: WebChart;
|
|
305
|
+
oldConfig: WebChart | undefined;
|
|
273
306
|
newConfig: WebChart;
|
|
274
307
|
}): boolean;
|
|
275
308
|
|
|
@@ -279,7 +312,8 @@ export function hasSlicesConfigChanged(props: {
|
|
|
279
312
|
*/
|
|
280
313
|
export function hasDataForFilterBySelectionChanged(props: {
|
|
281
314
|
previousSelectionOIDs?: (number | string)[];
|
|
282
|
-
|
|
315
|
+
selectionData?: SelectionData;
|
|
316
|
+
filterBySelection?: boolean;
|
|
283
317
|
}): boolean;
|
|
284
318
|
|
|
285
319
|
/**
|
|
@@ -409,11 +443,14 @@ export function doSizePolicyChangesRequireSeriesReinit(oldConfig: WebChart, newC
|
|
|
409
443
|
export function doesConfigChangeRequireNewData(props: {
|
|
410
444
|
previousConfig: WebBoxPlot | WebChart;
|
|
411
445
|
newConfig: WebBoxPlot | WebChart;
|
|
412
|
-
options?: ChartOptions;
|
|
413
446
|
previousFilterBySelection?: boolean;
|
|
414
447
|
previousSelectionOIDs?: (number | string)[];
|
|
415
448
|
fieldList?: IField[];
|
|
416
449
|
queryObject?: QueryObject;
|
|
450
|
+
filterBySelection?: ChartOptions["filterBySelection"];
|
|
451
|
+
selectionData?: ChartOptions["selectionData"];
|
|
452
|
+
setTimeBinningInfoWhenNotProvided?: ChartOptions["setTimeBinningInfoWhenNotProvided"];
|
|
453
|
+
chartLimits?: ChartOptions["chartLimits"];
|
|
417
454
|
}): {
|
|
418
455
|
dataUpdateNeeded: boolean;
|
|
419
456
|
dataUpdateDetails: DataUpdateDetails;
|
|
@@ -436,6 +473,7 @@ export function sortConfigSeries<T extends WebChart | undefined>(chartConfig: T,
|
|
|
436
473
|
* This allows x and y category lists to be ordered independently from the flattened cell data traversal.
|
|
437
474
|
*
|
|
438
475
|
* @param props - The chart config containing the heat-chart multi-axis sort instructions
|
|
476
|
+
* @internal
|
|
439
477
|
*/
|
|
440
478
|
export function getHeatChartAxisDataOrderInstruction(props: {
|
|
441
479
|
chartConfig: WebHeatChart;
|
|
@@ -447,17 +485,19 @@ export function getHeatChartAxisDataOrderInstruction(props: {
|
|
|
447
485
|
*
|
|
448
486
|
* @param chartConfig - The chart configuration
|
|
449
487
|
* @returns An array of objects with sortingField, optionally an orderBy and preferLabel, or undefined.
|
|
488
|
+
* @internal
|
|
450
489
|
*/
|
|
451
|
-
export function getDataOrderParameters(chartConfig: WebChart): DataOrderParameters[] | undefined;
|
|
490
|
+
export function getDataOrderParameters(chartConfig: WebChart | undefined): DataOrderParameters[] | undefined;
|
|
452
491
|
|
|
453
492
|
/**
|
|
454
493
|
* Returns true if the data order instructions (orderType or sortingField, orderBy, and/or preferLabel) have changed, or
|
|
455
494
|
* the data update is needed.
|
|
456
495
|
*
|
|
457
496
|
* @param props - The previous chart config
|
|
497
|
+
* @internal
|
|
458
498
|
*/
|
|
459
499
|
export function isNewSortNeeded(props: {
|
|
460
|
-
oldConfig: WebChart;
|
|
500
|
+
oldConfig: WebChart | undefined;
|
|
461
501
|
newConfig: WebChart;
|
|
462
502
|
dataWasUpdated: boolean;
|
|
463
503
|
}): boolean;
|
|
@@ -9,6 +9,7 @@ import type { WebChart, WebGaugeChart } from "../../../spec/web-chart.js";
|
|
|
9
9
|
* - `Errors`: Violations in the config with regard to the JSON schema.
|
|
10
10
|
* - `Warnings`: Undesired combinations in the config which don't violate the JSON schema but should still be blocked.
|
|
11
11
|
*
|
|
12
|
+
* @deprecated since 5.1. Won't be replaced.
|
|
12
13
|
* @param props - The input config, the query object and whether to allow using the object id field as a statistic field.
|
|
13
14
|
* @returns The validation status.
|
|
14
15
|
*/
|
|
@@ -28,9 +28,9 @@ export interface CustomErrorObject {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
* Validation Status interface which described the validity of the input WebChart config
|
|
31
|
+
* Validation Status interface which described the validity of the input WebChart config.
|
|
32
32
|
*
|
|
33
|
-
* @
|
|
33
|
+
* @deprecated since 5.1. Won't be replaced.
|
|
34
34
|
*/
|
|
35
35
|
export interface ValidationStatus {
|
|
36
36
|
valid: boolean;
|
|
@@ -55,6 +55,7 @@ export const ConfigErrorKeywords: {
|
|
|
55
55
|
export const DataWarningKeywords: {
|
|
56
56
|
readonly BadData: "badData";
|
|
57
57
|
readonly EmptyDataSet: "emptyDataSet";
|
|
58
|
+
readonly NoValue: "noValue";
|
|
58
59
|
readonly InvalidConfig: "invalidConfig";
|
|
59
60
|
readonly HistogramEmptyField: "histogramEmptyField";
|
|
60
61
|
readonly BarElementExceedsLimit: "barElementExceedsLimit";
|
|
@@ -80,10 +81,9 @@ export interface ElementCountExceededParams {
|
|
|
80
81
|
seriesLimit?: number;
|
|
81
82
|
}
|
|
82
83
|
|
|
83
|
-
/** @internal */
|
|
84
84
|
export interface DataWarningObject {
|
|
85
85
|
keyword: DataWarningKeywords;
|
|
86
|
-
header
|
|
86
|
+
header?: string;
|
|
87
87
|
message: string;
|
|
88
88
|
params?: ElementCountExceededParams;
|
|
89
89
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type { WebChartQuery } from "../../../spec/web-chart.js";
|
|
1
2
|
import type { ChartElementLimit } from "../../defaults/interfaces.js";
|
|
2
3
|
import type { QueryObject } from "../../layer/interfaces.js";
|
|
3
4
|
import type { AbortControllerKeyType } from "../../layer/query-features/interfaces.js";
|
|
4
|
-
import type {
|
|
5
|
+
import type { ErrorStrings } from "../../localization/interfaces.js";
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Fetches the unique values from a given field.
|
|
@@ -23,5 +24,7 @@ export function uniqueValues(props: {
|
|
|
23
24
|
category: string;
|
|
24
25
|
splitByField?: string;
|
|
25
26
|
chartLimits?: ChartElementLimit;
|
|
27
|
+
errorStrings: ErrorStrings;
|
|
26
28
|
abortKey?: AbortControllerKeyType;
|
|
29
|
+
abortSignal?: AbortSignal;
|
|
27
30
|
}): Promise<(number | string)[]>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import type { ChartOptions } from "../../chart-rendering/common/interfaces.js";
|
|
2
|
+
import type { WebChartStatisticType } from "../../spec/chart-object-literals.js";
|
|
1
3
|
import type { WebChartBin, WebChartDataItem, WebChartDataTypes } from "../../spec/data-source.js";
|
|
2
4
|
import type { WebChart, WebChartSeriesType, WebGaugeChart } from "../../spec/web-chart.js";
|
|
3
|
-
import type { ChartSubType } from "../misc/interfaces.js";
|
|
4
|
-
import type { BoxPlotYValueProps, DataMinMax, BoxPlotYFieldKeys } from "./interfaces.js";
|
|
5
|
-
import type { ChartOptions } from "../../chart-rendering/common/interfaces.js";
|
|
6
5
|
import type { QueryObject } from "../layer/interfaces.js";
|
|
7
6
|
import type { ErrorStrings } from "../localization/interfaces.js";
|
|
7
|
+
import type { ChartSubType } from "../misc/interfaces.js";
|
|
8
|
+
import type { BoxPlotYValueProps, DataMinMax, BoxPlotYFieldKeys } from "./interfaces.js";
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* Generates the y field names for box plot
|
|
@@ -99,6 +100,7 @@ export function validateBarNLineChartDataItem(props: {
|
|
|
99
100
|
x: string;
|
|
100
101
|
y: string;
|
|
101
102
|
nullAsValid?: boolean;
|
|
103
|
+
aggregationType?: WebChartStatisticType;
|
|
102
104
|
}): boolean;
|
|
103
105
|
|
|
104
106
|
/**
|
|
@@ -156,6 +158,7 @@ export function getDataMinMaxFromSeries(props: {
|
|
|
156
158
|
* Get the series id related to the given axis (useful in dual axis mode).
|
|
157
159
|
*
|
|
158
160
|
* @param props - The chart configuration
|
|
161
|
+
* @internal
|
|
159
162
|
*/
|
|
160
163
|
export function getAxisSeriesIds(props: {
|
|
161
164
|
chartConfig: WebChart;
|
|
@@ -181,6 +184,7 @@ export function whetherLogScaleIsDataCompatible(props: {
|
|
|
181
184
|
*
|
|
182
185
|
* @param modifiedData - The data to revert
|
|
183
186
|
* @param seriesConfig - The series config
|
|
187
|
+
* @internal
|
|
184
188
|
*/
|
|
185
189
|
export function revertPieFromFieldsProperties<T extends WebChartDataItem[] | WebChartDataTypes>(modifiedData: T, seriesConfig?: WebChart["series"]): T;
|
|
186
190
|
|
|
@@ -191,6 +195,7 @@ export function revertPieFromFieldsProperties<T extends WebChartDataItem[] | Web
|
|
|
191
195
|
*
|
|
192
196
|
* @param data - The data containing modified x or y values
|
|
193
197
|
* @param seriesConfig - The series config
|
|
198
|
+
* @internal
|
|
194
199
|
*/
|
|
195
200
|
export function revertOriginalXAndYValues<T extends WebChartDataItem[] | WebChartDataTypes>(data: T, seriesConfig?: WebChart["series"]): T;
|
|
196
201
|
|
|
@@ -199,6 +204,7 @@ export function revertOriginalXAndYValues<T extends WebChartDataItem[] | WebChar
|
|
|
199
204
|
*
|
|
200
205
|
* @param dataItem - The data item to sanitize
|
|
201
206
|
* @returns The sanitized data item
|
|
207
|
+
* @internal
|
|
202
208
|
*/
|
|
203
209
|
export function removeAdditionalStatisticsPerItem(dataItem: WebChartDataItem): WebChartDataItem;
|
|
204
210
|
|
|
@@ -208,6 +214,7 @@ export function removeAdditionalStatisticsPerItem(dataItem: WebChartDataItem): W
|
|
|
208
214
|
* @param data - The data set to modify
|
|
209
215
|
* @param seriesConfig - The series config
|
|
210
216
|
* @returns The sanitized data
|
|
217
|
+
* @internal
|
|
211
218
|
*/
|
|
212
219
|
export function removeAdditionalStatistics(data: WebChartDataTypes, seriesConfig: WebChartSeriesType[]): WebChartDataTypes;
|
|
213
220
|
|
|
@@ -225,6 +232,7 @@ export function roundToDecimals(num: number, dec: number): number;
|
|
|
225
232
|
* The point is to send meaningful data to the user through events or the `chartWillRender()` function.
|
|
226
233
|
*
|
|
227
234
|
* @param props - The data to sanitize
|
|
235
|
+
* @internal
|
|
228
236
|
*/
|
|
229
237
|
export function sanitizeData(props: {
|
|
230
238
|
data?: WebChartDataTypes;
|
|
@@ -236,26 +244,25 @@ export function sanitizeData(props: {
|
|
|
236
244
|
* and if the chart is aggregated we perform queries to fetch the data.
|
|
237
245
|
*
|
|
238
246
|
* @param props - A snapshot of the updated props, used to determine whether the selection OIDs have changed
|
|
247
|
+
* @internal
|
|
239
248
|
*/
|
|
240
249
|
export function getSelectionItemsFromOIDs(props: {
|
|
241
|
-
updatedPropsSnapshot: Map<string, {
|
|
242
|
-
oldValue: unknown;
|
|
243
|
-
newValue: unknown;
|
|
244
|
-
}>;
|
|
245
250
|
chartData?: WebChartDataTypes;
|
|
246
251
|
chartConfig: WebChart;
|
|
247
252
|
queryObject: QueryObject;
|
|
248
253
|
dataWasUpdated?: boolean;
|
|
249
|
-
|
|
254
|
+
selectionData?: ChartOptions["selectionData"];
|
|
255
|
+
replaceNoValueCategoryWithZero?: ChartOptions["replaceNoValueCategoryWithZero"];
|
|
256
|
+
hideZeroCountCategories?: ChartOptions["hideZeroCountCategories"];
|
|
257
|
+
chartLimits?: ChartOptions["chartLimits"];
|
|
258
|
+
setTimeBinningInfoWhenNotProvided?: ChartOptions["setTimeBinningInfoWhenNotProvided"];
|
|
259
|
+
returnFeaturesExtent?: ChartOptions["returnFeaturesExtent"];
|
|
260
|
+
popupTemplateFieldInfosEnabled?: ChartOptions["popupTemplateFieldInfosEnabled"];
|
|
261
|
+
view?: ChartOptions["view"];
|
|
262
|
+
viewExtentUpdated?: ChartOptions["viewExtentUpdated"];
|
|
263
|
+
returnSelectionOIDs?: ChartOptions["returnSelectionOIDs"];
|
|
264
|
+
runtimeDataFilters?: ChartOptions["runtimeDataFilters"];
|
|
265
|
+
ignoreViewExtent?: ChartOptions["ignoreViewExtent"];
|
|
250
266
|
errorStrings: ErrorStrings;
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
export const dataPrivateFunctions: {
|
|
254
|
-
shouldCheckDataMinMaxForLogScaleOnXAxis: (chartConfig?: WebChart | undefined) => boolean;
|
|
255
|
-
minMaxHasZeroOrNegativeValues: (min?: number | undefined, max?: number | undefined) => boolean;
|
|
256
|
-
isChartWithZeroOrNegativeValues: (props: {
|
|
257
|
-
chartConfig: WebChart;
|
|
258
|
-
chartData: Array<WebChartDataItem> | Array<WebChartBin>;
|
|
259
|
-
axisConfigIndex: number;
|
|
260
|
-
}) => boolean;
|
|
261
|
-
};
|
|
267
|
+
selectionIDsChanged: boolean;
|
|
268
|
+
}): Promise<WebChartDataItem[] | undefined>;
|
|
@@ -7,7 +7,6 @@ import type { ChartElementLimit, ChartElementTechnicalLimit, ChartTextProps, Que
|
|
|
7
7
|
/** @internal */
|
|
8
8
|
export const histogramBinCount: 32;
|
|
9
9
|
|
|
10
|
-
/** @internal */
|
|
11
10
|
export const featuresExtentField: "arcgis_charts_features_extent";
|
|
12
11
|
|
|
13
12
|
/** @internal */
|
|
@@ -85,7 +84,10 @@ export const loaderBackgroundLight: Color;
|
|
|
85
84
|
*/
|
|
86
85
|
export const loaderBackgroundDark: Color;
|
|
87
86
|
|
|
88
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* @deprecated since 5.1. Will be replaced by the Calcite CSS variable --calcite-color-brand-hover.
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
89
91
|
export const loaderSpinnerColor: Color;
|
|
90
92
|
|
|
91
93
|
/** @internal */
|
|
@@ -268,6 +270,20 @@ export function getDefaultAxes(commonStrings: CommonStrings, chartType: WebChart
|
|
|
268
270
|
*/
|
|
269
271
|
export function getDefaultGaugeNeedle(): WebChartNeedle;
|
|
270
272
|
|
|
273
|
+
/**
|
|
274
|
+
* Returns the default progress base band symbol for gauge charts
|
|
275
|
+
*
|
|
276
|
+
* @internal
|
|
277
|
+
*/
|
|
278
|
+
export function getDefaultProgressBaseBandSymbol(): ISimpleFillSymbol;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Returns the default progress target band symbol for gauge charts
|
|
282
|
+
*
|
|
283
|
+
* @internal
|
|
284
|
+
*/
|
|
285
|
+
export function getDefaultProgressTargetBandSymbol(): ISimpleFillSymbol;
|
|
286
|
+
|
|
271
287
|
/**
|
|
272
288
|
* Returns the gauge axes
|
|
273
289
|
*
|
|
@@ -433,7 +449,7 @@ export function getDefaultHistogramOverlays(): Required<HistogramOverlays>;
|
|
|
433
449
|
export function getDefaultHistogramSymbol(): ISimpleFillSymbol;
|
|
434
450
|
|
|
435
451
|
/** @internal */
|
|
436
|
-
export function getDefaultHistogramSeries(): Omit<Required<WebChartHistogramSeries>, "dataTooltipDateFormat" | "dataTooltipPercentFormat" | "dataTooltipValueFormat" | "query">;
|
|
452
|
+
export function getDefaultHistogramSeries(): Omit<Required<WebChartHistogramSeries>, "dataTooltipDateFormat" | "dataTooltipFontSize" | "dataTooltipPercentFormat" | "dataTooltipValueFormat" | "query">;
|
|
437
453
|
|
|
438
454
|
/**
|
|
439
455
|
* @param commonStrings
|
|
@@ -504,4 +520,7 @@ export const boxPlotZScoreSuffix: "_arcgis_charts_z_score";
|
|
|
504
520
|
export const defaultColorForBoxPlotWithMeanLines: Color;
|
|
505
521
|
|
|
506
522
|
/** @internal */
|
|
507
|
-
export const percentageSuffix: " percentage ";
|
|
523
|
+
export const percentageSuffix: " percentage ";
|
|
524
|
+
|
|
525
|
+
/** @internal */
|
|
526
|
+
export const heatChartFirstDayOfWeek: 7;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Class that enhances the debugging and error handling process. Rather than returning a generic [JavaScript
|
|
3
|
-
* error](https://developer.mozilla.org/
|
|
3
|
+
* error](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error), this class returns a standardized error object with several properties.
|
|
4
4
|
*/
|
|
5
5
|
export class ArcgisChartsError<T = any> extends Error {
|
|
6
6
|
/** Creates a new `ArcgisChartsError` instance. */
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import type Extent from "@arcgis/core/geometry/Extent.js";
|
|
2
1
|
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
3
2
|
import type ImageryLayer from "@arcgis/core/layers/ImageryLayer.js";
|
|
4
3
|
import type ImageryTileLayer from "@arcgis/core/layers/ImageryTileLayer.js";
|
|
5
|
-
import type
|
|
4
|
+
import type Layer from "@arcgis/core/layers/Layer.js";
|
|
6
5
|
import type CodedValueDomain from "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
6
|
+
import type WCSLayer from "@arcgis/core/layers/WCSLayer.js";
|
|
7
7
|
import type Renderer from "@arcgis/core/renderers/Renderer.js";
|
|
8
8
|
import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
|
|
9
9
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
10
10
|
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
11
|
+
import type { ChartOptions } from "../../chart-rendering/common/interfaces.js";
|
|
11
12
|
import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
|
|
12
13
|
import type { IFeatureLayer, IField, IImageServiceLayer, ITiledImageServiceLayer, IWCSLayer } from "../../spec/rest-js-types.js";
|
|
13
14
|
import type { WebChart, WebChartDataFilters, WebChartQuery } from "../../spec/web-chart.js";
|
|
@@ -33,19 +34,28 @@ export function getRendererInfo(layerRenderer?: Renderer): RendererInfo;
|
|
|
33
34
|
export function getFeatureLayer(featureLayer: IFeatureLayer, abortSignal?: AbortSignal): Promise<FeatureLayer>;
|
|
34
35
|
|
|
35
36
|
/**
|
|
36
|
-
* A wrapper function creating a FeatureLayer, ImageryLayer,
|
|
37
|
+
* A wrapper function creating a FeatureLayer, ImageryLayer, ImageryTileLayer, or WCSLayer from a set of parameters.
|
|
37
38
|
* It returns the created FeatureLayer, ImageryLayer, ImageryTileLayer, or WCSLayer.
|
|
38
39
|
*
|
|
39
40
|
* @param iLayer
|
|
41
|
+
* @param abortSignal
|
|
40
42
|
* @internal
|
|
41
43
|
*/
|
|
42
|
-
export function getLayer(iLayer: IFeatureLayer): Promise<FeatureLayer>;
|
|
44
|
+
export function getLayer(iLayer: IFeatureLayer, abortSignal?: AbortSignal): Promise<FeatureLayer>;
|
|
43
45
|
|
|
44
|
-
/**
|
|
45
|
-
|
|
46
|
+
/**
|
|
47
|
+
* @param iLayer
|
|
48
|
+
* @param abortSignal
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
export function getLayer(iLayer: IFeatureLayer | IImageServiceLayer | ITiledImageServiceLayer | IWCSLayer, abortSignal?: AbortSignal): Promise<FeatureLayer | ImageryLayer | ImageryTileLayer | WCSLayer>;
|
|
46
52
|
|
|
47
|
-
/**
|
|
48
|
-
|
|
53
|
+
/**
|
|
54
|
+
* @param iLayer
|
|
55
|
+
* @param abortSignal
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
export function getLayer(iLayer: IFeatureLayer | IImageServiceLayer | ITiledImageServiceLayer | IWCSLayer, abortSignal?: AbortSignal): Promise<FeatureLayer | ImageryLayer | ImageryTileLayer | WCSLayer>;
|
|
49
59
|
|
|
50
60
|
/**
|
|
51
61
|
* Returns the proper query object to use according to the situation.
|
|
@@ -177,6 +187,7 @@ export function getFieldCodedValueDomain(queryObject: QueryObject, field?: strin
|
|
|
177
187
|
*
|
|
178
188
|
* @param fieldValue - The field value to get the description for
|
|
179
189
|
* @param domain - The domain of the field
|
|
190
|
+
* @internal
|
|
180
191
|
*/
|
|
181
192
|
export function getFieldDescriptionFromDomain(fieldValue: number | string, domain?: CodedValueDomain): string | undefined;
|
|
182
193
|
|
|
@@ -184,6 +195,7 @@ export function getFieldDescriptionFromDomain(fieldValue: number | string, domai
|
|
|
184
195
|
* Get the field description from the query object given a field name and a field value.
|
|
185
196
|
*
|
|
186
197
|
* @param props - The query object (layer or feature layer view)
|
|
198
|
+
* @internal
|
|
187
199
|
*/
|
|
188
200
|
export function getFieldDescriptionFromQueryObject(props: {
|
|
189
201
|
queryObject: QueryObjectOrRaster;
|
|
@@ -204,9 +216,10 @@ export function getRendererFieldNames(layer: SupportedLayer | undefined): Promis
|
|
|
204
216
|
* https://doc.arcgis.com/en/arcgis-online/reference/faq.htm#anchor7
|
|
205
217
|
*
|
|
206
218
|
* @param layer
|
|
219
|
+
* @param abortSignal
|
|
207
220
|
* @internal
|
|
208
221
|
*/
|
|
209
|
-
export function isStandardLayer(layer: SupportedLayer | undefined): Promise<boolean>;
|
|
222
|
+
export function isStandardLayer(layer: SupportedLayer | undefined, abortSignal?: AbortSignal): Promise<boolean>;
|
|
210
223
|
|
|
211
224
|
/**
|
|
212
225
|
* Finds the matching field name for a given layer based on the fieldToMatch parameter.
|
|
@@ -263,7 +276,7 @@ export function buildQueryConfig(props: {
|
|
|
263
276
|
chartConfig: WebChart;
|
|
264
277
|
runtimeDataFilters?: WebChartDataFilters;
|
|
265
278
|
ignoreViewExtent?: boolean;
|
|
266
|
-
|
|
279
|
+
view?: ChartOptions["view"];
|
|
267
280
|
}): WebChartQuery;
|
|
268
281
|
|
|
269
282
|
/**
|
|
@@ -313,4 +326,12 @@ export function extractFieldsFromConfigList(layer: SupportedLayer): Promise<stri
|
|
|
313
326
|
export function findMatchingLayerFromView(props: {
|
|
314
327
|
view?: MapView | SceneView;
|
|
315
328
|
portalItemId: string;
|
|
316
|
-
}): FeatureLayerView | SupportedLayer | undefined;
|
|
329
|
+
}): FeatureLayerView | SupportedLayer | undefined;
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Loads the layer. Generates raster info if it's an ImageryLayer or an ImageryTileLayer.
|
|
333
|
+
*
|
|
334
|
+
* @param layer - The layer
|
|
335
|
+
* @param abortSignal - Optional abort signal to cancel the request
|
|
336
|
+
*/
|
|
337
|
+
export function loadLayer(layer: Layer | SupportedLayer | SupportedRasterLayer, abortSignal?: AbortSignal): Promise<void>;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Former interface describing the property `configFields` from an inline data source.
|
|
3
3
|
* Is an object which dictate which data-item field should be used for defining a property of the rendered element (line, point, bars, etc). Used in inline data source mode only.
|
|
4
|
-
*
|
|
5
|
-
* @internal
|
|
6
4
|
*/
|
|
7
5
|
export interface WebChartConfigFields {
|
|
8
6
|
fillColor?: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type AttributeBinsGraphic from "@arcgis/core/AttributeBinsGraphic.js";
|
|
2
2
|
import type AttributeBinsFeatureSet from "@arcgis/core/rest/support/AttributeBinsFeatureSet.js";
|
|
3
|
-
import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
|
|
4
3
|
import type { WebChartDataItem } from "../../../spec/data-source.js";
|
|
5
4
|
import type { WebChartQuery, WebChartTemporalBinning, WebHeatChart } from "../../../spec/web-chart.js";
|
|
6
5
|
import type { ErrorStrings } from "../../localization/interfaces.js";
|
|
7
6
|
import type { ChartSubType } from "../../misc/interfaces.js";
|
|
8
7
|
import type { QueryObject } from "../interfaces.js";
|
|
9
8
|
import type { AbortControllerKeyType, Features } from "./interfaces.js";
|
|
9
|
+
import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Performs a query analytic.
|
|
@@ -20,6 +20,8 @@ export function queryAnalytic(props: {
|
|
|
20
20
|
outAnalytics: string;
|
|
21
21
|
outputFormat: string;
|
|
22
22
|
dataFormat: string;
|
|
23
|
+
errorStrings: ErrorStrings;
|
|
24
|
+
abortSignal?: AbortSignal;
|
|
23
25
|
}): Promise<WebChartDataItem | undefined>;
|
|
24
26
|
|
|
25
27
|
/**
|
|
@@ -45,8 +47,10 @@ export function queryAttributeBinsForHeatChart(props: {
|
|
|
45
47
|
chartConfig: WebHeatChart;
|
|
46
48
|
queryObject: QueryObject;
|
|
47
49
|
queryConfig: WebChartQuery;
|
|
48
|
-
|
|
50
|
+
view?: ChartOptions["view"];
|
|
51
|
+
syncViewTimeZone?: ChartOptions["syncViewTimeZone"];
|
|
49
52
|
errorStrings: ErrorStrings;
|
|
53
|
+
abortSignal?: AbortSignal;
|
|
50
54
|
}): Promise<AttributeBinsFeatureSet | undefined>;
|
|
51
55
|
|
|
52
56
|
/**
|
|
@@ -62,6 +66,7 @@ export function queryFeaturesForMatrixHeatChart(props: {
|
|
|
62
66
|
returnFeaturesExtent?: boolean;
|
|
63
67
|
errorStrings: ErrorStrings;
|
|
64
68
|
abortKey?: AbortControllerKeyType;
|
|
69
|
+
abortSignal?: AbortSignal;
|
|
65
70
|
}): Promise<Features | undefined>;
|
|
66
71
|
|
|
67
72
|
/**
|
|
@@ -80,6 +85,7 @@ export function queryAttributeBinsForScatterplot(props: {
|
|
|
80
85
|
x: string;
|
|
81
86
|
y: string;
|
|
82
87
|
errorStrings: ErrorStrings;
|
|
88
|
+
abortSignal?: AbortSignal;
|
|
83
89
|
}): Promise<AttributeBinsFeatureSet | undefined>;
|
|
84
90
|
|
|
85
91
|
/**
|
|
@@ -94,6 +100,7 @@ export function queryFeatureCount(props: {
|
|
|
94
100
|
chartSubType: ChartSubType;
|
|
95
101
|
x: string;
|
|
96
102
|
isGaugeByFeature?: boolean;
|
|
103
|
+
abortSignal?: AbortSignal;
|
|
97
104
|
}): Promise<number | undefined>;
|
|
98
105
|
|
|
99
106
|
/**
|
|
@@ -106,7 +113,9 @@ export function queryFeatureCount(props: {
|
|
|
106
113
|
export function queryStatistics<T extends Date | number | string>(props: {
|
|
107
114
|
queryObject: QueryObject;
|
|
108
115
|
queryConfig: WebChartQuery;
|
|
116
|
+
errorStrings: ErrorStrings;
|
|
109
117
|
abortKey?: AbortControllerKeyType;
|
|
118
|
+
abortSignal?: AbortSignal;
|
|
110
119
|
}): Promise<Map<string, T>>;
|
|
111
120
|
|
|
112
121
|
/**
|
|
@@ -117,7 +126,9 @@ export function queryFeatures(props: {
|
|
|
117
126
|
queryObject: QueryObject;
|
|
118
127
|
queryConfig?: WebChartQuery;
|
|
119
128
|
returnUniqueIdsOnly?: boolean;
|
|
129
|
+
errorStrings: ErrorStrings;
|
|
120
130
|
abortKey?: AbortControllerKeyType;
|
|
131
|
+
abortSignal?: AbortSignal;
|
|
121
132
|
}): Promise<Features>;
|
|
122
133
|
|
|
123
134
|
/**
|
|
@@ -133,7 +144,9 @@ export function queryAllFeatures(props: {
|
|
|
133
144
|
returnUniqueIdsOnly?: boolean;
|
|
134
145
|
featureCount?: number;
|
|
135
146
|
noBatch?: boolean;
|
|
147
|
+
errorStrings: ErrorStrings;
|
|
136
148
|
abortKey?: AbortControllerKeyType;
|
|
149
|
+
abortSignal?: AbortSignal;
|
|
137
150
|
}): Promise<Features>;
|
|
138
151
|
|
|
139
152
|
/**
|
|
@@ -146,6 +159,7 @@ export function queryUniqueIDs(props: {
|
|
|
146
159
|
queryObject: QueryObject;
|
|
147
160
|
queryConfig: WebChartQuery;
|
|
148
161
|
uniqueFeature?: boolean;
|
|
162
|
+
errorStrings: ErrorStrings;
|
|
149
163
|
abortKey?: AbortControllerKeyType;
|
|
150
164
|
}): Promise<(number | string)[]>;
|
|
151
165
|
|
|
@@ -182,6 +196,9 @@ export function queryAttributeBinsForTemporalData(props: {
|
|
|
182
196
|
dateField: string;
|
|
183
197
|
splitByField?: string;
|
|
184
198
|
axisTimeZone: string | undefined;
|
|
185
|
-
|
|
199
|
+
errorStrings: ErrorStrings;
|
|
200
|
+
view?: ChartOptions["view"];
|
|
201
|
+
syncViewTimeZone?: boolean;
|
|
186
202
|
abortKey?: AbortControllerKeyType;
|
|
203
|
+
abortSignal?: AbortSignal;
|
|
187
204
|
}): Promise<AttributeBinsGraphic[]>;
|
|
@@ -8,7 +8,7 @@ import type { QueryProperties } from "@arcgis/core/rest/support/Query.js";
|
|
|
8
8
|
import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
|
|
9
9
|
import type { RESTFieldType } from "../../../spec/rest-js-object-literals.js";
|
|
10
10
|
import type { WebChartHeatChartSeries, WebChartQuery, WebChartTemporalBinning } from "../../../spec/web-chart.js";
|
|
11
|
-
import type { QueryObject
|
|
11
|
+
import type { QueryObject } from "../interfaces.js";
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Indicates whether a query can be cached. It is not when:
|
|
@@ -38,11 +38,11 @@ export function combineFilters(filterList: (string | null | undefined)[], operan
|
|
|
38
38
|
/**
|
|
39
39
|
* Computes the time extent to be used by the query.
|
|
40
40
|
*
|
|
41
|
-
* @param
|
|
41
|
+
* @param viewTimeExtent - The layer or feature layer view
|
|
42
42
|
* @param defaultTimeExtent - The time extent defined at the series config level or provided at runtime
|
|
43
43
|
* @internal
|
|
44
44
|
*/
|
|
45
|
-
export function getQueryTimeExtent(
|
|
45
|
+
export function getQueryTimeExtent(viewTimeExtent?: TimeExtent | null, defaultTimeExtent?: WebChartQuery["timeExtent"]): WebChartQuery["timeExtent"] | undefined;
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
48
|
* Computes the extent to be used by the query. We prioritize the feature layer view extent
|
|
@@ -86,7 +86,8 @@ export function mapAttributeBinsQueryForTemporalData(props: {
|
|
|
86
86
|
dateField: string;
|
|
87
87
|
splitByField?: string;
|
|
88
88
|
axisTimeZone?: string;
|
|
89
|
-
|
|
89
|
+
view?: ChartOptions["view"];
|
|
90
|
+
syncViewTimeZone?: ChartOptions["syncViewTimeZone"];
|
|
90
91
|
}): AttributeBinsQuery;
|
|
91
92
|
|
|
92
93
|
/**
|
|
@@ -126,7 +127,8 @@ export function mapAttributeBinsQueryForHeatChart(props: {
|
|
|
126
127
|
firstDayOfWeek?: number;
|
|
127
128
|
configTimeZone?: string;
|
|
128
129
|
includeLeapDay?: boolean;
|
|
129
|
-
|
|
130
|
+
view?: ChartOptions["view"];
|
|
131
|
+
syncViewTimeZone?: ChartOptions["syncViewTimeZone"];
|
|
130
132
|
}): AttributeBinsQuery;
|
|
131
133
|
|
|
132
134
|
/**
|