@arcgis/charts-components 5.2.0-next.1 → 5.2.0-next.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{BZCVDNC4.js → 255TSQSE.js} +14 -14
- package/dist/cdn/{A5GIBV5W.js → 25YAWDIB.js} +1 -1
- package/dist/cdn/{S6PJHEJ7.js → 2A7JZQX5.js} +1 -1
- package/dist/cdn/{DYC3Q36R.js → 2HTYRBIX.js} +1 -1
- package/dist/cdn/{RG3I5ORH.js → 2PAVNZEM.js} +1 -1
- package/dist/cdn/{7IV6GMF7.js → 2XYTPC2V.js} +1 -1
- package/dist/cdn/{EUOPRFMU.js → 3376CR53.js} +1 -1
- package/dist/cdn/{NS3THLCD.js → 3CFZUVMF.js} +1 -1
- package/dist/cdn/{F5Q73CFW.js → 3S3PN7AK.js} +1 -1
- package/dist/cdn/3W2A4SAP.js +2 -0
- package/dist/cdn/{V2XJSJH4.js → 4ETF22K6.js} +1 -1
- package/dist/cdn/{X6WA2KXK.js → 4J6UFQ2Q.js} +1 -1
- package/dist/cdn/4YJSRB7R.js +2 -0
- package/dist/cdn/{74JAZF7U.js → 5JNEJJU3.js} +1 -1
- package/dist/cdn/{H6NH46AS.js → 5OKNLDIJ.js} +1 -1
- package/dist/cdn/{YVVQVAJZ.js → 5V3ADOWS.js} +1 -1
- package/dist/cdn/{MOMKSNIZ.js → 6MF2R6DJ.js} +1 -1
- package/dist/cdn/{KC6CFXB7.js → 6SRJ2VKV.js} +1 -1
- package/dist/cdn/{GCSGY6GL.js → 7EEYYP6X.js} +1 -1
- package/dist/cdn/{ATIARKAU.js → BER7FMK3.js} +1 -1
- package/dist/cdn/{PKMZ6N6M.js → BJRHNVLR.js} +1 -1
- package/dist/cdn/{CPPT5HUK.js → CBHWMUGA.js} +26 -26
- package/dist/cdn/{I2M6YAUU.js → CDHUW42P.js} +1 -1
- package/dist/cdn/{FAQDMSUC.js → CEE2QRZ5.js} +1 -1
- package/dist/cdn/{TXSWWAOF.js → CGYB5KPV.js} +1 -1
- package/dist/cdn/{WASEMNYV.js → CSAUXIK2.js} +1 -1
- package/dist/cdn/{YKGZVYK2.js → DJ5OHPYW.js} +1 -1
- package/dist/cdn/EDSF5KGV.js +233 -0
- package/dist/cdn/{HUCSTT64.js → EK33HUAH.js} +1 -1
- package/dist/cdn/{5MVNVHYG.js → F7Q3XDZH.js} +1 -1
- package/dist/cdn/{UT4TYXFO.js → FTOYQNHN.js} +1 -1
- package/dist/cdn/{EQVQRZHJ.js → GBDEYCR6.js} +1 -1
- package/dist/cdn/{IWVS6SKP.js → GKPMAFU3.js} +1 -1
- package/dist/cdn/GNC62GNV.js +2 -0
- package/dist/cdn/{V76PIVCF.js → GXC7VLYM.js} +1 -1
- package/dist/cdn/{6JGLHOFY.js → H4B3ERFL.js} +1 -1
- package/dist/cdn/{RWEUTQWS.js → HD4FP3ZK.js} +1 -1
- package/dist/cdn/{FT2K3J7O.js → HFJ4EPET.js} +1 -1
- package/dist/cdn/{6PAONFHB.js → I5AALJRN.js} +1 -1
- package/dist/cdn/{FCXI523J.js → ICVAXCHZ.js} +1 -1
- package/dist/cdn/{7BEC5WZB.js → IHTJSWKK.js} +1 -1
- package/dist/cdn/{JILAM6NH.js → IKCVYV5L.js} +1 -1
- package/dist/cdn/{PEZCCXQ7.js → JEH22SPH.js} +1 -1
- package/dist/cdn/{TTDZKISK.js → JMAVBKEZ.js} +1 -1
- package/dist/cdn/{47HHRDX4.js → JQYB4ZDY.js} +1 -1
- package/dist/cdn/{DNMVB3A2.js → KB76VF4V.js} +1 -1
- package/dist/cdn/{MKQAQDRM.js → KHNP4LWB.js} +1 -1
- package/dist/cdn/{B7DM7VT6.js → KKKCWW6G.js} +1 -1
- package/dist/cdn/{XMQCH4QI.js → L6ZALCLC.js} +1 -1
- package/dist/cdn/{KKWXEF5W.js → LIPUN4CH.js} +1 -1
- package/dist/cdn/{XFZX5ULX.js → LO6KKSE4.js} +1 -1
- package/dist/cdn/{Z7EBST4A.js → LOZOENFC.js} +1 -1
- package/dist/cdn/{7SNOZDAD.js → M6JCOZIE.js} +1 -1
- package/dist/cdn/{CUJHGXNK.js → N7NZHIGS.js} +1 -1
- package/dist/cdn/{YZQ54BRI.js → NFANBMTU.js} +1 -1
- package/dist/cdn/{5HQ2CJEQ.js → NKJC4MT7.js} +1 -1
- package/dist/cdn/{ZQCUJ7VE.js → OYCT7CFU.js} +1 -1
- package/dist/cdn/{CXQOEN77.js → PJZVDHIF.js} +1 -1
- package/dist/cdn/{MRTKZZTF.js → PM6FCUUV.js} +1 -1
- package/dist/cdn/{V7MBHG4F.js → PNDFAGEB.js} +1 -1
- package/dist/cdn/{45JPWIBI.js → PRPNJEPZ.js} +1 -1
- package/dist/cdn/{4OZZXXZF.js → PZKRRAXW.js} +1 -1
- package/dist/cdn/{YYK7SPXC.js → QAIY4AMN.js} +1 -1
- package/dist/cdn/{UNUPCA4W.js → QF4UBQYT.js} +1 -1
- package/dist/cdn/{GWQJXXP3.js → QF6LHQTR.js} +1 -1
- package/dist/cdn/QM27URJR.js +2 -0
- package/dist/cdn/{P3RM2ACY.js → RA3CZHC7.js} +1 -1
- package/dist/cdn/{O4M33ZPK.js → RH4AC577.js} +1 -1
- package/dist/cdn/{KV4ZPVWQ.js → SHTFWNG3.js} +1 -1
- package/dist/cdn/SPVZ5BND.js +2 -0
- package/dist/cdn/SXT5DNXJ.js +4 -0
- package/dist/cdn/SYIW6YJN.js +2 -0
- package/dist/cdn/{TORIY3OE.js → SZEYHOGG.js} +1 -1
- package/dist/cdn/{M75ENKIU.js → TH4OHGTQ.js} +1 -1
- package/dist/cdn/{EXTKNE2L.js → U4COKMGA.js} +1 -1
- package/dist/cdn/{6LQYOBAL.js → U6USPTQ5.js} +1 -1
- package/dist/cdn/UHPAFBYO.js +2 -0
- package/dist/cdn/VL2G5M57.js +2 -0
- package/dist/cdn/{G6OHBBUT.js → VMS7DT3M.js} +1 -1
- package/dist/cdn/{RKKWMNWU.js → VSPTNIIU.js} +1 -1
- package/dist/cdn/{UQPFMDJB.js → VW4GW2JT.js} +1 -1
- package/dist/cdn/{3FTJIVFE.js → WBJ6NWHX.js} +1 -1
- package/dist/cdn/{LKY2A3U6.js → WPPMMVD5.js} +1 -1
- package/dist/cdn/{PYKHO4QI.js → X4BYDZDR.js} +1 -1
- package/dist/cdn/XACXJMSF.js +3 -0
- package/dist/cdn/{P74SXC5B.js → XJ2L7VN4.js} +1 -1
- package/dist/cdn/{7YBKGD3V.js → XP5GZU4O.js} +1 -1
- package/dist/cdn/{TZ4GOE2Q.js → XUT56VH6.js} +1 -1
- package/dist/cdn/{FJPGZEGK.js → XWZYTOHY.js} +1 -1
- package/dist/cdn/{GUH6CQE6.js → XXXXO6OB.js} +1 -1
- package/dist/cdn/{RKN64EJQ.js → YDJPGFXU.js} +1 -1
- package/dist/cdn/{P6SC5DD2.js → YSWV4FZE.js} +1 -1
- package/dist/cdn/{45PJ5TQL.js → YXWIKYN4.js} +1 -1
- package/dist/cdn/{URYNG6OA.js → Z4HCNLCD.js} +1 -1
- package/dist/cdn/{AT2NWWBG.js → Z5VVIVR3.js} +1 -1
- package/dist/cdn/{PTFRQF65.js → ZIVPZF6E.js} +1 -1
- package/dist/cdn/assets/common/t9n/messages.en.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 +8 -8
- package/dist/chunks/axis-lines-symbol.js +4 -4
- package/dist/chunks/bar-chart-model.js +13 -13
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/box-plot-data.js +5 -5
- package/dist/chunks/box-plot-model.js +18 -18
- package/dist/chunks/chart-model.js +170 -138
- package/dist/chunks/chart-ui-utils2.js +13 -13
- package/dist/chunks/class-breaks.js +21 -21
- package/dist/chunks/combo-bar-line-chart-model.js +2 -2
- package/dist/chunks/data.js +21 -21
- package/dist/chunks/gauge-model.js +14 -14
- package/dist/chunks/generate-x-axis-title.js +4 -4
- package/dist/chunks/heat-chart-model.js +19 -19
- package/dist/chunks/histogram-data.js +2 -2
- package/dist/chunks/histogram-model.js +11 -11
- package/dist/chunks/index2.js +1655 -1652
- package/dist/chunks/index3.js +38 -36
- package/dist/chunks/index4.js +10805 -680
- package/dist/chunks/index5.js +87 -10782
- package/dist/chunks/index6.js +63 -100
- package/dist/chunks/interfaces.js +3 -3
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/model-setter.js +11 -11
- package/dist/chunks/model-with-x-guides.js +6 -6
- package/dist/chunks/model-with-y-guides.js +2 -2
- package/dist/chunks/negative-values-stacked-to-baseline.js +2 -2
- package/dist/chunks/pie-chart-data.js +2 -2
- package/dist/chunks/pie-chart-model.js +2 -2
- package/dist/chunks/radar-chart-model.js +2 -2
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/scatterplot-model.js +19 -19
- package/dist/chunks/serial-chart-data.js +367 -370
- package/dist/chunks/serial-chart-model.js +44 -44
- package/dist/chunks/series-length.js +2 -2
- package/dist/chunks/series.js +2 -2
- package/dist/chunks/store.js +5 -5
- package/dist/chunks/time-zone.js +1 -1
- package/dist/chunks/type-guards3.js +4 -4
- package/dist/chunks/utils.js +14 -14
- package/dist/chunks/web-component-utils.js +557 -468
- package/dist/chunks/x-bounds.js +4 -4
- package/dist/components/arcgis-chart/customElement.d.ts +48 -41
- package/dist/components/arcgis-chart/customElement.js +4824 -4905
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +4 -0
- package/dist/components/arcgis-charts-action-bar/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-format/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-guide/customElement.js +13 -13
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +15 -15
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +75 -75
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -2
- 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 +70 -62
- package/dist/index.js +476 -471
- package/dist/json-schema/index.d.ts +52 -2
- package/dist/model/chart-model/chart-model.d.ts +2 -1
- package/dist/model/properties/data-tooltip-font-size.d.ts +20 -0
- package/dist/model/properties/rotated-state.d.ts +1 -1
- package/dist/{model.js → model/shared/setup-utils.js} +12 -12
- package/dist/spec/rest-js-object-literals.d.ts +2 -2
- package/dist/spec/web-chart.d.ts +6 -0
- package/dist/utils/chart-config/converter/index.js +723 -0
- package/dist/utils/chart-config/utils/index.d.ts +30 -0
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/chart-config/validator/interfaces.d.ts +2 -0
- package/dist/utils/defaults/index.d.ts +1 -2
- package/dist/utils/layer/index.d.ts +3 -3
- package/dist/utils/layer/inline-conversion/index.d.ts +3 -0
- package/dist/utils/layer/query-parser/index.d.ts +3 -3
- package/dist/utils/localization/interfaces.d.ts +4 -0
- package/package.json +8 -6
- package/dist/cdn/6SRISPQN.js +0 -3
- package/dist/cdn/CAJVNPHZ.js +0 -2
- package/dist/cdn/D23GGWFM.js +0 -2
- package/dist/cdn/HJHMEVMB.js +0 -2
- package/dist/cdn/HX4236ZL.js +0 -2
- package/dist/cdn/NS7OCROO.js +0 -2
- package/dist/cdn/NZR4L5AA.js +0 -2
- package/dist/cdn/OVM5QF7Q.js +0 -2
- package/dist/cdn/OY6UOUYX.js +0 -2
- package/dist/cdn/S3BC57BJ.js +0 -4
- package/dist/chunks/index7.js +0 -66
- /package/dist/cdn/{ABIVSH72.js → 2OHFSVV5.js} +0 -0
- /package/dist/cdn/{TSI3C3OV.js → 2XXW3WF3.js} +0 -0
- /package/dist/cdn/{XWKBJDZT.js → 3JYZJUOM.js} +0 -0
- /package/dist/cdn/{NHDVOYQ2.js → 3TZEMBXR.js} +0 -0
- /package/dist/cdn/{UAZ34KDJ.js → 4OH4NSIW.js} +0 -0
- /package/dist/cdn/{XIJ5VLER.js → 5SIAOUPO.js} +0 -0
- /package/dist/cdn/{75P3QRL4.js → 7QXRWMUN.js} +0 -0
- /package/dist/cdn/{4QQVKRJ5.js → AASL4RKT.js} +0 -0
- /package/dist/cdn/{PH6UOHRS.js → ANN3O54W.js} +0 -0
- /package/dist/cdn/{N6OT5IBC.js → BDGHBTPU.js} +0 -0
- /package/dist/cdn/{ZFM5RGWD.js → FFS73X36.js} +0 -0
- /package/dist/cdn/{5AOYADA3.js → FOYOG3G7.js} +0 -0
- /package/dist/cdn/{53FG76LL.js → FWAXKDYV.js} +0 -0
- /package/dist/cdn/{B4KT2HUE.js → H3EXGCE7.js} +0 -0
- /package/dist/cdn/{FLO3N6JD.js → I6UPUSLQ.js} +0 -0
- /package/dist/cdn/{WVRBLV5L.js → IVLVCLDE.js} +0 -0
- /package/dist/cdn/{NG2IHVZ4.js → IYA7HQMS.js} +0 -0
- /package/dist/cdn/{I5VHQW7B.js → L47EGLUH.js} +0 -0
- /package/dist/cdn/{OYHKUGS6.js → LROW4Y6O.js} +0 -0
- /package/dist/cdn/{DIKQ7BPQ.js → MK5ZYSOD.js} +0 -0
- /package/dist/cdn/{RDTBZUT7.js → N4L5KE23.js} +0 -0
- /package/dist/cdn/{4JQ2RRLY.js → N5ZUO6F3.js} +0 -0
- /package/dist/cdn/{2HGBRW4I.js → OFWEHJDH.js} +0 -0
- /package/dist/cdn/{M4AQLWZU.js → OXYJKZEP.js} +0 -0
- /package/dist/cdn/{O6SNP6QE.js → QR2OOC4D.js} +0 -0
- /package/dist/cdn/{4E7C5QPS.js → RSNZMJ6I.js} +0 -0
- /package/dist/cdn/{CODAXMWM.js → S3ZSZXYG.js} +0 -0
- /package/dist/cdn/{I36OAVW3.js → SERX6V5M.js} +0 -0
- /package/dist/cdn/{AJBEE7WE.js → SSQ3VCZ2.js} +0 -0
- /package/dist/cdn/{3V4HRXIT.js → TFPQDMER.js} +0 -0
- /package/dist/cdn/{2X75KJPF.js → ULWJ57VT.js} +0 -0
- /package/dist/cdn/{LNF44ZGQ.js → UYXCGSXU.js} +0 -0
- /package/dist/cdn/{OA7FHTCA.js → VDKFC44J.js} +0 -0
- /package/dist/cdn/{YIIPYKTL.js → VRZ2SY6M.js} +0 -0
- /package/dist/cdn/{VFM2EV3M.js → WAINRCCJ.js} +0 -0
- /package/dist/cdn/{MHG42BA5.js → WNKDEOFZ.js} +0 -0
- /package/dist/cdn/{DD4QUBOF.js → X2LW7GTR.js} +0 -0
- /package/dist/cdn/{N3VOUI25.js → XDMGH7YU.js} +0 -0
- /package/dist/cdn/{7ILH7ZG2.js → XY4TRZCG.js} +0 -0
- /package/dist/cdn/{66KSEDOR.js → XYKXBWIT.js} +0 -0
- /package/dist/cdn/{O2ERVMSN.js → Y6ZCTPJW.js} +0 -0
- /package/dist/cdn/{NFDXH5B3.js → YKDW7ZW3.js} +0 -0
- /package/dist/cdn/{SGOYJFLO.js → ZBIVDGNH.js} +0 -0
|
@@ -4,10 +4,12 @@ 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
9
|
import type { ChartSubType, SelectionData } from "../../misc/interfaces.js";
|
|
9
10
|
import type { WebChartSeriesSupportingTemporalBinning } from "./interfaces.js";
|
|
10
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,33 @@ 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
|
+
*/
|
|
142
|
+
export function isScatterplotAggregated(props: {
|
|
143
|
+
statsMap?: Map<string, number>;
|
|
144
|
+
dataContext?: WebChartDataItem;
|
|
145
|
+
chartLimits?: ChartElementLimit;
|
|
146
|
+
}): boolean;
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* A function to determine whether a chart is aggregated.
|
|
150
|
+
* Supports scatterplot, bar, line, combo, and pie chart. Defaults to true for the other types of chart.
|
|
151
|
+
*
|
|
152
|
+
* @param props - An optional data context object
|
|
153
|
+
* @returns A boolean indicating whether the chart is aggregated
|
|
154
|
+
*/
|
|
155
|
+
export function isChartAggregated(props: {
|
|
156
|
+
dataContext?: WebChartBin | WebChartDataItem;
|
|
157
|
+
chartConfig: WebChart;
|
|
158
|
+
chartLimits?: ChartElementLimit;
|
|
159
|
+
}): boolean;
|
|
160
|
+
|
|
131
161
|
/**
|
|
132
162
|
* Indicates whether the bar or line series is configured to use time binning.
|
|
133
163
|
*
|
|
@@ -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
|
*/
|
|
@@ -30,6 +30,7 @@ export interface CustomErrorObject {
|
|
|
30
30
|
/**
|
|
31
31
|
* Validation Status interface which described the validity of the input WebChart config
|
|
32
32
|
*
|
|
33
|
+
* @deprecated since 5.1. Won't be replaced.
|
|
33
34
|
* @internal
|
|
34
35
|
*/
|
|
35
36
|
export interface ValidationStatus {
|
|
@@ -55,6 +56,7 @@ export const ConfigErrorKeywords: {
|
|
|
55
56
|
export const DataWarningKeywords: {
|
|
56
57
|
readonly BadData: "badData";
|
|
57
58
|
readonly EmptyDataSet: "emptyDataSet";
|
|
59
|
+
readonly NoValue: "noValue";
|
|
58
60
|
readonly InvalidConfig: "invalidConfig";
|
|
59
61
|
readonly HistogramEmptyField: "histogramEmptyField";
|
|
60
62
|
readonly BarElementExceedsLimit: "barElementExceedsLimit";
|
|
@@ -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 */
|
|
@@ -450,7 +449,7 @@ export function getDefaultHistogramOverlays(): Required<HistogramOverlays>;
|
|
|
450
449
|
export function getDefaultHistogramSymbol(): ISimpleFillSymbol;
|
|
451
450
|
|
|
452
451
|
/** @internal */
|
|
453
|
-
export function getDefaultHistogramSeries(): Omit<Required<WebChartHistogramSeries>, "dataTooltipDateFormat" | "dataTooltipPercentFormat" | "dataTooltipValueFormat" | "query">;
|
|
452
|
+
export function getDefaultHistogramSeries(): Omit<Required<WebChartHistogramSeries>, "dataTooltipDateFormat" | "dataTooltipFontSize" | "dataTooltipPercentFormat" | "dataTooltipValueFormat" | "query">;
|
|
454
453
|
|
|
455
454
|
/**
|
|
456
455
|
* @param commonStrings
|
|
@@ -1,14 +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
4
|
import type Layer from "@arcgis/core/layers/Layer.js";
|
|
6
|
-
import type WCSLayer from "@arcgis/core/layers/WCSLayer.js";
|
|
7
5
|
import type CodedValueDomain from "@arcgis/core/layers/support/CodedValueDomain.js";
|
|
6
|
+
import type WCSLayer from "@arcgis/core/layers/WCSLayer.js";
|
|
8
7
|
import type Renderer from "@arcgis/core/renderers/Renderer.js";
|
|
9
8
|
import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
|
|
10
9
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
11
10
|
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
11
|
+
import type { ChartOptions } from "../../chart-rendering/common/interfaces.js";
|
|
12
12
|
import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
|
|
13
13
|
import type { IFeatureLayer, IField, IImageServiceLayer, ITiledImageServiceLayer, IWCSLayer } from "../../spec/rest-js-types.js";
|
|
14
14
|
import type { WebChart, WebChartDataFilters, WebChartQuery } from "../../spec/web-chart.js";
|
|
@@ -274,7 +274,7 @@ export function buildQueryConfig(props: {
|
|
|
274
274
|
chartConfig: WebChart;
|
|
275
275
|
runtimeDataFilters?: WebChartDataFilters;
|
|
276
276
|
ignoreViewExtent?: boolean;
|
|
277
|
-
|
|
277
|
+
view?: ChartOptions["view"];
|
|
278
278
|
}): WebChartQuery;
|
|
279
279
|
|
|
280
280
|
/**
|
|
@@ -8,6 +8,7 @@ import type { WebChart } from "../../../spec/web-chart.js";
|
|
|
8
8
|
* Creates a chart renderer based on the provided config fields and inline data.
|
|
9
9
|
*
|
|
10
10
|
* @param props - The category field, the numeric fields, the config fields and the data to convert.
|
|
11
|
+
* @internal
|
|
11
12
|
*/
|
|
12
13
|
export function convertConfigFieldsToChartRenderer(props: {
|
|
13
14
|
categoryField: string;
|
|
@@ -20,6 +21,7 @@ export function convertConfigFieldsToChartRenderer(props: {
|
|
|
20
21
|
* Converts an array of inline data to a feature set and returns an `IFeatureLayer`.
|
|
21
22
|
*
|
|
22
23
|
* @param props - The category field, the category type, the numeric fields and the inline data to convert.
|
|
24
|
+
* @internal
|
|
23
25
|
*/
|
|
24
26
|
export function convertInlineDataToLayerDefinition(props: {
|
|
25
27
|
categoryField: string;
|
|
@@ -32,6 +34,7 @@ export function convertInlineDataToLayerDefinition(props: {
|
|
|
32
34
|
* Converts an array of inline data into a feature collection. Also returns a `chartRenderer` if the `configFields` are provided.
|
|
33
35
|
*
|
|
34
36
|
* @param props - The category field, the category type, the numeric fields, the config fields and the inline data to convert.
|
|
37
|
+
* @internal
|
|
35
38
|
*/
|
|
36
39
|
export function convertInlineConfigToLayerConfig(props: {
|
|
37
40
|
categoryField: string;
|
|
@@ -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
|
|
@@ -114,6 +114,8 @@ export const CommonStringsIdentity: (value: {
|
|
|
114
114
|
};
|
|
115
115
|
notifications: {
|
|
116
116
|
invalidConfig: string;
|
|
117
|
+
invalidConfigForRaster: string;
|
|
118
|
+
invalidConfigTitle: string;
|
|
117
119
|
invalidSeriesConfig: string;
|
|
118
120
|
invalidSeriesConfigTitle: string;
|
|
119
121
|
validateAggregationTypeMsg: string;
|
|
@@ -379,6 +381,8 @@ export const CommonStringsIdentity: (value: {
|
|
|
379
381
|
};
|
|
380
382
|
notifications: {
|
|
381
383
|
invalidConfig: string;
|
|
384
|
+
invalidConfigForRaster: string;
|
|
385
|
+
invalidConfigTitle: string;
|
|
382
386
|
invalidSeriesConfig: string;
|
|
383
387
|
invalidSeriesConfigTitle: string;
|
|
384
388
|
validateAggregationTypeMsg: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/charts-components",
|
|
3
|
-
"version": "5.2.0-next.
|
|
3
|
+
"version": "5.2.0-next.10",
|
|
4
4
|
"description": "Reusable ArcGIS charting Web Components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": "./dist/index.js",
|
|
11
|
+
"./utils/chart-config/converter/index": "./dist/utils/chart-config/converter/index.js",
|
|
12
|
+
"./model/shared/setup-utils": "./dist/model/shared/setup-utils.js",
|
|
11
13
|
"./loader": "./dist/loader.js",
|
|
12
14
|
"./package.json": "./package.json",
|
|
13
15
|
"./components/*/customElement": "./dist/components/*/customElement.js",
|
|
@@ -27,7 +29,7 @@
|
|
|
27
29
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
28
30
|
"dependencies": {
|
|
29
31
|
"@amcharts/amcharts4": "^4.10.31",
|
|
30
|
-
"@amcharts/amcharts5": "~5.
|
|
32
|
+
"@amcharts/amcharts5": "~5.18.0",
|
|
31
33
|
"@esri/arcgis-html-sanitizer": "~4.1.0",
|
|
32
34
|
"@lit/task": "^1.0.3",
|
|
33
35
|
"ajv": "6.12.6",
|
|
@@ -40,12 +42,12 @@
|
|
|
40
42
|
"luxon": "~3.7.2",
|
|
41
43
|
"simple-statistics": "^7.8.8",
|
|
42
44
|
"tslib": "^2.8.1",
|
|
43
|
-
"@arcgis/lumina": "5.2.0-next.
|
|
44
|
-
"@arcgis/toolkit": "5.2.0-next.
|
|
45
|
+
"@arcgis/lumina": "5.2.0-next.10",
|
|
46
|
+
"@arcgis/toolkit": "5.2.0-next.10"
|
|
45
47
|
},
|
|
46
48
|
"peerDependencies": {
|
|
47
|
-
"@arcgis/core": "^5.
|
|
48
|
-
"@esri/calcite-components": "^5.1.
|
|
49
|
+
"@arcgis/core": "^5.2.0-next",
|
|
50
|
+
"@esri/calcite-components": "^5.1.1-next.3"
|
|
49
51
|
},
|
|
50
52
|
"css.customData": [
|
|
51
53
|
"dist/docs/vscode.css-custom-data.json"
|