@arcgis/charts-components 5.2.0-next.87 → 5.2.0-next.89
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/{UYDDYD3O.js → 255J2IDZ.js} +1 -1
- package/dist/cdn/{5DHMYPPF.js → 2GXJ2BAR.js} +1 -1
- package/dist/cdn/{MNYNXHXE.js → 2PS272XV.js} +1 -1
- package/dist/cdn/{OWYKZMAE.js → 3VGDEPLZ.js} +1 -1
- package/dist/cdn/{7CZMR2WF.js → 4EFLSDWR.js} +1 -1
- package/dist/cdn/{IG43EKA6.js → 4V35YCIC.js} +1 -1
- package/dist/cdn/{C5UI5MYS.js → 54CWBGOT.js} +1 -1
- package/dist/cdn/{CSOYZJU5.js → 5DIUGUTH.js} +1 -1
- package/dist/cdn/{KYOBS7XL.js → 5PVEURDM.js} +1 -1
- package/dist/cdn/{PF6QOHZR.js → 6EWSNVVQ.js} +1 -1
- package/dist/cdn/{QIG7WTJF.js → 6HYAHTR7.js} +1 -1
- package/dist/cdn/{IN2IL6T2.js → 6R75UK7R.js} +1 -1
- package/dist/cdn/{XHSD437D.js → 6RNJLIW7.js} +1 -1
- package/dist/cdn/{6AWJXWDQ.js → 74WIGEYX.js} +1 -1
- package/dist/cdn/{OGGEEHV2.js → 7DCT627N.js} +1 -1
- package/dist/cdn/{TVW2GMA6.js → AEKNZ5HX.js} +1 -1
- package/dist/cdn/{7ZAT46VE.js → AF2VHZ3K.js} +1 -1
- package/dist/cdn/AO3CHQZX.js +3 -0
- package/dist/cdn/{U7GQGHZY.js → APBHRWO7.js} +1 -1
- package/dist/cdn/{PK7GYSIR.js → B3J7GR64.js} +1 -1
- package/dist/cdn/{S2HIF3ZX.js → B6EQRXIO.js} +1 -1
- package/dist/cdn/BJ2GQUQQ.js +2 -0
- package/dist/cdn/{R3XOXHKQ.js → BO3LKAOY.js} +1 -1
- package/dist/cdn/{3H3PFQTD.js → CCUAQ7BS.js} +1 -1
- package/dist/cdn/{DV7I4E5D.js → CD35AZCK.js} +1 -1
- package/dist/cdn/{OADNRXFH.js → CGHKRNJC.js} +1 -1
- package/dist/cdn/{APU26Y2Z.js → CM4FOO3G.js} +1 -1
- package/dist/cdn/{WC22SRVJ.js → E4L772I2.js} +1 -1
- package/dist/cdn/{TMLVMG4C.js → EJAZNU6L.js} +1 -1
- package/dist/cdn/{CXWBQG5O.js → ENVLWI5H.js} +1 -1
- package/dist/cdn/{BV7UUWYI.js → ER6XIB34.js} +1 -1
- package/dist/cdn/{EMOHROY3.js → EZIHNH4L.js} +1 -1
- package/dist/cdn/{AWN3K3IH.js → FHYZ5QCJ.js} +1 -1
- package/dist/cdn/{3YPGCLG4.js → G4VATGUV.js} +1 -1
- package/dist/cdn/{52NR6B2J.js → GF5RCT7U.js} +1 -1
- package/dist/cdn/{KAQ5XSCQ.js → GT6SCH3C.js} +1 -1
- package/dist/cdn/{EHYBMIDH.js → HJ2PHQD5.js} +1 -1
- package/dist/cdn/{3N6RFNEA.js → I7NNKTPZ.js} +1 -1
- package/dist/cdn/{QXQC4CH5.js → IDH345JS.js} +1 -1
- package/dist/cdn/{QJFHIO72.js → IP46DLF6.js} +1 -1
- package/dist/cdn/{6SQNRMJG.js → IPKYTV7V.js} +1 -1
- package/dist/cdn/{ACMHG3RB.js → IWY3WAPJ.js} +1 -1
- package/dist/cdn/J47KRLNI.js +2 -0
- package/dist/cdn/{SILDOKXS.js → JW662K55.js} +1 -1
- package/dist/cdn/{T6OTQUMI.js → K3ZRQQD7.js} +1 -1
- package/dist/cdn/{HQ2JPCTQ.js → KLWPXDAD.js} +1 -1
- package/dist/cdn/{PTGBFACY.js → L452VJW3.js} +24 -24
- package/dist/cdn/{SC26LLWP.js → LF4LYD3D.js} +1 -1
- package/dist/cdn/{R6RFH2KK.js → LJRP7HPA.js} +2 -2
- package/dist/cdn/{XQRGIPLK.js → LMT3CJIW.js} +1 -1
- package/dist/cdn/{OYXDCECZ.js → LODICMAM.js} +1 -1
- package/dist/cdn/LPZD4ZKK.js +2 -0
- package/dist/cdn/{PDHWZPY5.js → LXKZKLGE.js} +1 -1
- package/dist/cdn/{HX4HUXZP.js → M5QTOCZ2.js} +1 -1
- package/dist/cdn/{GZEVPH4Y.js → MEOVOANP.js} +1 -1
- package/dist/cdn/{DKC4NIUA.js → MHQYPRTN.js} +1 -1
- package/dist/cdn/{F3LVXDV4.js → NBZGC5RR.js} +1 -1
- package/dist/cdn/{RCAPTQFV.js → NEDOBJNH.js} +1 -1
- package/dist/cdn/{3AYNHY7J.js → O6Y5E725.js} +1 -1
- package/dist/cdn/{LYSF2KY5.js → OEB4JHC5.js} +1 -1
- package/dist/cdn/{C7F4AVQU.js → OX6VTXSJ.js} +1 -1
- package/dist/cdn/{FBU4ODQE.js → PG5R4NDA.js} +1 -1
- package/dist/cdn/{OMORDJT2.js → POK4XAOI.js} +1 -1
- package/dist/cdn/{MITW5XKW.js → QQBBCUQ3.js} +1 -1
- package/dist/cdn/{32KKW2IG.js → QYAEDUSX.js} +1 -1
- package/dist/cdn/{2Y4OUUMJ.js → RIQLLNP5.js} +1 -1
- package/dist/cdn/{UOL7KBJK.js → RMRXMLPD.js} +1 -1
- package/dist/cdn/{ZG3WNUBC.js → RPWGXKU5.js} +1 -1
- package/dist/cdn/{VSPKBQS6.js → SHUVH6EE.js} +1 -1
- package/dist/cdn/{XBRRJQVR.js → SMR2VM6B.js} +1 -1
- package/dist/cdn/{5NGIGJYR.js → T6DZBPJC.js} +1 -1
- package/dist/cdn/{N634G5MT.js → TFA6LCYF.js} +1 -1
- package/dist/cdn/{DNHE5ZCA.js → TXFV35UH.js} +1 -1
- package/dist/cdn/{3ZF4RSY4.js → URJ4RY65.js} +1 -1
- package/dist/cdn/{HDIBDW52.js → VVLHQONN.js} +1 -1
- package/dist/cdn/WOGALV3T.js +2 -0
- package/dist/cdn/{FF46DEA7.js → WSHAUD65.js} +1 -1
- package/dist/cdn/{5LKJE2PR.js → WSL3KIDE.js} +1 -1
- package/dist/cdn/{I3BMYY7N.js → X45ACF6H.js} +1 -1
- package/dist/cdn/{AL6VZ6UZ.js → XF6T5ABY.js} +1 -1
- package/dist/cdn/{KE4AIHA7.js → YD4TDPP5.js} +1 -1
- package/dist/cdn/{LM6VCILT.js → YEZO2L2D.js} +1 -1
- package/dist/cdn/ZNTX5IKT.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +2 -2
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-model.js +12 -3
- package/dist/chunks/chart-ui-utils.js +11 -11
- package/dist/chunks/class-breaks.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +10 -10
- package/dist/chunks/data.js +17 -17
- package/dist/chunks/index.js +1365 -1348
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/rounded-corners.js +3 -3
- package/dist/chunks/scatterplot-model.js +9 -9
- package/dist/chunks/serial-chart-data.js +33 -33
- package/dist/chunks/serial-chart-model.js +15 -15
- package/dist/chunks/type-guards.js +54 -32
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/web-component-utils.js +19 -19
- package/dist/chunks/x-bounds.js +13 -13
- package/dist/components/arcgis-chart/customElement.d.ts +2 -2
- package/dist/components/arcgis-chart/customElement.js +2248 -2242
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +64 -64
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +238 -235
- package/dist/interfaces.d.ts +48 -3
- package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
- package/dist/model/shared/setup-utils.d.ts +3 -3
- package/dist/utils/chart-config/converter/index.js +14 -14
- package/dist/utils/layer/query-parser/index.d.ts +3 -3
- package/dist/utils/layer/utils/index.d.ts +22 -5
- package/package.json +5 -5
- package/dist/cdn/2BA2QD2A.js +0 -3
- package/dist/cdn/5EU4GHSG.js +0 -2
- package/dist/cdn/7U6OEWTI.js +0 -2
- package/dist/cdn/BGOWDCTO.js +0 -2
- package/dist/cdn/VNWPA5A2.js +0 -2
- package/dist/cdn/XVCBLLWW.js +0 -2
- /package/dist/cdn/{P7FI5QUW.js → 3ZNZH5XV.js} +0 -0
- /package/dist/cdn/{LXZXXY7V.js → 4EWMZYXM.js} +0 -0
- /package/dist/cdn/{C2ZX67U4.js → 4JBUJYUG.js} +0 -0
- /package/dist/cdn/{TOCBEPNS.js → 5JV6PU34.js} +0 -0
- /package/dist/cdn/{NWQ2L7IJ.js → AI2WUG3K.js} +0 -0
- /package/dist/cdn/{TJ2NRLF6.js → AKEVK6VK.js} +0 -0
- /package/dist/cdn/{KTYFDFMQ.js → B4HOQOHS.js} +0 -0
- /package/dist/cdn/{A2KSCV2I.js → BG4CYK7C.js} +0 -0
- /package/dist/cdn/{OMU647X3.js → C6UUBWI2.js} +0 -0
- /package/dist/cdn/{RMIIDRGC.js → CHHARRJP.js} +0 -0
- /package/dist/cdn/{AF2GUPVE.js → D3ZXHZRV.js} +0 -0
- /package/dist/cdn/{SVLOD3HQ.js → DF2SKHUD.js} +0 -0
- /package/dist/cdn/{EQTI5Z4G.js → E45CPXW6.js} +0 -0
- /package/dist/cdn/{RHUEVXMR.js → ESBQKSZF.js} +0 -0
- /package/dist/cdn/{FFJTVPE4.js → FPM6WDQ4.js} +0 -0
- /package/dist/cdn/{3FFCWEMV.js → FXBSBXWY.js} +0 -0
- /package/dist/cdn/{BWR5ONE2.js → G7W2RL4I.js} +0 -0
- /package/dist/cdn/{ZVOX72AF.js → HPNWQANQ.js} +0 -0
- /package/dist/cdn/{Z5EJIWAY.js → HVWOLFLT.js} +0 -0
- /package/dist/cdn/{R5LIRRMK.js → IBLGAXGT.js} +0 -0
- /package/dist/cdn/{HABS63VB.js → IC7XUYKD.js} +0 -0
- /package/dist/cdn/{26DDVOQ7.js → IUZFB3JE.js} +0 -0
- /package/dist/cdn/{AS3QP77N.js → KIIS7OLN.js} +0 -0
- /package/dist/cdn/{Q466K37N.js → LCRLYOX6.js} +0 -0
- /package/dist/cdn/{6AXYQGBN.js → MCWIIGOW.js} +0 -0
- /package/dist/cdn/{S4NQCINT.js → MW6VSJEF.js} +0 -0
- /package/dist/cdn/{PZP57FJ2.js → PSQDO4QK.js} +0 -0
- /package/dist/cdn/{NNHJ75EA.js → PWSEK3XV.js} +0 -0
- /package/dist/cdn/{XR4O3AQ6.js → QOQ5QNZV.js} +0 -0
- /package/dist/cdn/{JUFBIV44.js → SLQPIX6X.js} +0 -0
- /package/dist/cdn/{PCFEAGXP.js → SZXVQMQV.js} +0 -0
- /package/dist/cdn/{ZARYZFJ4.js → TVKP2GAI.js} +0 -0
- /package/dist/cdn/{J3BB5KXD.js → VQLXOQMY.js} +0 -0
- /package/dist/cdn/{DDNOUE2T.js → WJY4AWHX.js} +0 -0
- /package/dist/cdn/{B5Z7FBO7.js → WNDLNCF7.js} +0 -0
- /package/dist/cdn/{6U6VAS2O.js → YNED6356.js} +0 -0
- /package/dist/cdn/{B7J5YIWF.js → YZCWFNPW.js} +0 -0
- /package/dist/cdn/{OXPXA3PS.js → ZEQF2W7Y.js} +0 -0
- /package/dist/cdn/{H2DUFQAG.js → ZYK4DWCN.js} +0 -0
package/dist/interfaces.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
2
|
+
import type Layer from "@arcgis/core/layers/Layer.js";
|
|
2
3
|
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
|
|
3
4
|
import type ImageryLayer from "@arcgis/core/layers/ImageryLayer.js";
|
|
4
5
|
import type ImageryTileLayer from "@arcgis/core/layers/ImageryTileLayer.js";
|
|
@@ -8,12 +9,56 @@ import type { SupportedLocale } from "@arcgis/toolkit/intl";
|
|
|
8
9
|
import type { WebChartTemporalBinningUnits } from "./spec/chart-object-literals.js";
|
|
9
10
|
import type { List as List } from "@esri/calcite-components/components/calcite-list";
|
|
10
11
|
|
|
11
|
-
/**
|
|
12
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Supported layer types for feature charts.
|
|
14
|
+
*
|
|
15
|
+
* @deprecated since 5.2 - Use [ChartLayer](https://developers.arcgis.com/javascript/latest/references/charts-components/interfaces/#ChartLayer) or [ChartLayerInput](https://developers.arcgis.com/javascript/latest/references/charts-components/interfaces/#ChartLayerInput) instead.
|
|
16
|
+
*/
|
|
17
|
+
export type SupportedLayer = ChartLayer | SubtypeSublayer;
|
|
13
18
|
|
|
14
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* Supported layer types for imagery charts.
|
|
21
|
+
*
|
|
22
|
+
* @deprecated since 5.2 - use [ChartLayerInput](https://developers.arcgis.com/javascript/latest/references/charts-components/interfaces/#ChartLayerInput) instead.
|
|
23
|
+
*/
|
|
15
24
|
export type SupportedRasterLayer = ImageryLayer | ImageryTileLayer | WCSLayer;
|
|
16
25
|
|
|
26
|
+
/** FeatureLayer-like surface used by charts & model. */
|
|
27
|
+
export type ChartLayer = Layer
|
|
28
|
+
& {
|
|
29
|
+
type: Layer["type"];
|
|
30
|
+
id: FeatureLayer["id"];
|
|
31
|
+
url?: FeatureLayer["url"];
|
|
32
|
+
fields: FeatureLayer["fields"];
|
|
33
|
+
fieldsIndex: FeatureLayer["fieldsIndex"];
|
|
34
|
+
capabilities: FeatureLayer["capabilities"];
|
|
35
|
+
sourceJSON?: FeatureLayer["sourceJSON"];
|
|
36
|
+
objectIdField: FeatureLayer["objectIdField"];
|
|
37
|
+
outFields: FeatureLayer["outFields"];
|
|
38
|
+
load: Layer["load"];
|
|
39
|
+
queryFeatures: FeatureLayer["queryFeatures"];
|
|
40
|
+
queryFeatureCount: FeatureLayer["queryFeatureCount"];
|
|
41
|
+
queryObjectIds: FeatureLayer["queryObjectIds"];
|
|
42
|
+
queryAttributeBins: FeatureLayer["queryAttributeBins"];
|
|
43
|
+
createQuery: FeatureLayer["createQuery"];
|
|
44
|
+
getFieldDomain?: FeatureLayer["getFieldDomain"];
|
|
45
|
+
renderer?: FeatureLayer["renderer"];
|
|
46
|
+
layerId?: FeatureLayer["layerId"];
|
|
47
|
+
isTable?: FeatureLayer["isTable"];
|
|
48
|
+
title?: FeatureLayer["title"];
|
|
49
|
+
popupTemplate?: FeatureLayer["popupTemplate"];
|
|
50
|
+
definitionExpression?: FeatureLayer["definitionExpression"];
|
|
51
|
+
fullExtent?: FeatureLayer["fullExtent"];
|
|
52
|
+
portalItem?: FeatureLayer["portalItem"];
|
|
53
|
+
charts?: FeatureLayer["charts"];
|
|
54
|
+
dateFieldsTimeZone?: FeatureLayer["dateFieldsTimeZone"];
|
|
55
|
+
version?: FeatureLayer["version"];
|
|
56
|
+
uniqueIdFields?: FeatureLayer["uniqueIdFields"];
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
/** Layer input accepted by chart components and models. */
|
|
60
|
+
export type ChartLayerInput = ChartLayer | ImageryLayer | ImageryTileLayer | SubtypeSublayer | SupportedLayer | SupportedRasterLayer | WCSLayer;
|
|
61
|
+
|
|
17
62
|
export interface IntervalPopoverProps {
|
|
18
63
|
size: number;
|
|
19
64
|
unit: WebChartTemporalBinningUnits;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ChartLayerInput } from "../../interfaces.js";
|
|
2
2
|
import type { IFeatureLayer, IImageServiceLayer, ITiledImageServiceLayer } from "../../spec/rest-js-types.js";
|
|
3
3
|
import type { WebChartBarChartSeries, WebChartHeatChartSeries, WebChartLineChartSeries, WebChartRadarChartSeries } from "../../spec/web-chart.js";
|
|
4
4
|
import type { CommonStrings } from "../../utils/localization/interfaces.js";
|
|
@@ -8,7 +8,7 @@ import type { ModelTypes } from "./common.js";
|
|
|
8
8
|
/** Parameters for creating a chart model. */
|
|
9
9
|
export type ModelParams<T extends ChartConfig> = {
|
|
10
10
|
/** Layer instance associated with the chart. */
|
|
11
|
-
layer?:
|
|
11
|
+
layer?: ChartLayerInput;
|
|
12
12
|
/** Layer description to be used when the `layer` property is not set. */
|
|
13
13
|
iLayer?: IFeatureLayer | IImageServiceLayer | ITiledImageServiceLayer;
|
|
14
14
|
/** Chart config object to be edited. If not provided, a new config will be created using default values. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ChartLayerInput } from "../../interfaces.js";
|
|
2
2
|
import type { IFeatureLayer, IImageServiceLayer, ITiledImageServiceLayer } from "../../spec/rest-js-types.js";
|
|
3
3
|
import type { CommonStrings } from "../../utils/localization/interfaces.js";
|
|
4
4
|
import type { ChartConfig } from "../../utils/types/index.js";
|
|
@@ -33,7 +33,7 @@ export type CreateModelProps<T extends ModelTypes> = (ILayerAndSourcelessConfig<
|
|
|
33
33
|
* A new model of the specified type will be created using default values.
|
|
34
34
|
*/
|
|
35
35
|
export type LayerAndType<T extends ModelTypes> = {
|
|
36
|
-
layer:
|
|
36
|
+
layer: ChartLayerInput;
|
|
37
37
|
chartType: T;
|
|
38
38
|
};
|
|
39
39
|
|
|
@@ -53,7 +53,7 @@ export type ILayerAndType<T extends ModelTypes> = {
|
|
|
53
53
|
* The `config` is considered "sourceless" since its `iLayer` property is not required.
|
|
54
54
|
*/
|
|
55
55
|
export type LayerAndSourcelessConfig<T extends ModelTypes> = {
|
|
56
|
-
layer:
|
|
56
|
+
layer: ChartLayerInput;
|
|
57
57
|
config: ChartConfig<T>;
|
|
58
58
|
};
|
|
59
59
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { getElementLocale as $e } from "@arcgis/toolkit/intl/dom";
|
|
3
3
|
import { cloneDeep as n, isEmpty as B } from "lodash-es";
|
|
4
4
|
import { DateTime as Ye } from "luxon";
|
|
5
|
-
import { q as Qe,
|
|
5
|
+
import { q as Qe, cg as se, bu as Ke, W as ne, aN as ae, ch as Xe, bD as Je, bE as Ze, p as O, bh as Ue, ci as b, cj as te, N as et, O as tt, w as Z, ck as rt, cd as it, cl as ot, Y as st } from "../../../chunks/index.js";
|
|
6
6
|
import { a8 as nt, p as at, l as dt, a2 as lt, s as ct } from "../../../chunks/index3.js";
|
|
7
7
|
import { i as ut } from "../../../chunks/type-guards.js";
|
|
8
8
|
import { a as f, D as k, i as de } from "../../../chunks/index2.js";
|
|
@@ -441,7 +441,7 @@ function Ne(r) {
|
|
|
441
441
|
const e = n(r);
|
|
442
442
|
return e.horizontalAxisLabelsBehavior === L.NONE && (e.horizontalAxisLabelsBehavior = ie.Hide), e.verticalAxisLabelsBehavior === L.NONE && (e.verticalAxisLabelsBehavior = ie.Hide), e;
|
|
443
443
|
}
|
|
444
|
-
function
|
|
444
|
+
function Ee(r) {
|
|
445
445
|
const e = n(r), i = e.series[0];
|
|
446
446
|
if (i && !i.temporalBinning && st(e.series[0]) && ("timeIntervalSize" in i || "timeIntervalUnits" in i || "timeAggregationType" in i || "trimIncompleteTimeInterval" in i || "nullPolicy" in i)) {
|
|
447
447
|
if (i.temporalBinning = {}, i.timeIntervalSize !== void 0 && (i.temporalBinning.size = i.timeIntervalSize, delete i.timeIntervalSize), i.timeIntervalUnits) {
|
|
@@ -475,7 +475,7 @@ function Re(r) {
|
|
|
475
475
|
}
|
|
476
476
|
return e;
|
|
477
477
|
}
|
|
478
|
-
function
|
|
478
|
+
function Re(r) {
|
|
479
479
|
const e = n(r);
|
|
480
480
|
return e.series.forEach((i) => {
|
|
481
481
|
i.query?.outStatistics?.forEach((t) => {
|
|
@@ -537,10 +537,10 @@ function N(r) {
|
|
|
537
537
|
let e = n(r);
|
|
538
538
|
return e = Ae(e), e;
|
|
539
539
|
}
|
|
540
|
-
function
|
|
540
|
+
function E(r) {
|
|
541
541
|
return Me(r);
|
|
542
542
|
}
|
|
543
|
-
function
|
|
543
|
+
function R(r) {
|
|
544
544
|
let e = n(r);
|
|
545
545
|
return ne(e) && (e = De(e)), e;
|
|
546
546
|
}
|
|
@@ -560,10 +560,10 @@ function z(r) {
|
|
|
560
560
|
return Ne(r);
|
|
561
561
|
}
|
|
562
562
|
function H(r) {
|
|
563
|
-
return
|
|
563
|
+
return Ee(r);
|
|
564
564
|
}
|
|
565
565
|
function $(r) {
|
|
566
|
-
return
|
|
566
|
+
return Re(r);
|
|
567
567
|
}
|
|
568
568
|
function Y(r) {
|
|
569
569
|
let e = n(r);
|
|
@@ -588,7 +588,7 @@ function J(r) {
|
|
|
588
588
|
function ze(r) {
|
|
589
589
|
const { versionsToConvert: e, configToUpdate: i } = r;
|
|
590
590
|
let t = n(i);
|
|
591
|
-
return e.length > 0 && t !== void 0 && (t = Ie(t), e.includes(se) || e.includes(Xe) ? (t = je(t), t = w(t), t = A(t), t = D(t), t = M(t), t = I(t), t = W(t), t = q(t), t = N(t), t =
|
|
591
|
+
return e.length > 0 && t !== void 0 && (t = Ie(t), e.includes(se) || e.includes(Xe) ? (t = je(t), t = w(t), t = A(t), t = D(t), t = M(t), t = I(t), t = W(t), t = q(t), t = N(t), t = E(t), t = R(t), t = V(t), t = G(t), t = _(t), t = j(t), t = z(t), t = H(t), t = $(t), t = Y(t), t = Q(t), t = K(t), t = X(t), t = J(t)) : e.forEach((o) => {
|
|
592
592
|
if (t !== void 0)
|
|
593
593
|
switch (o) {
|
|
594
594
|
case "1.0.1":
|
|
@@ -616,10 +616,10 @@ function ze(r) {
|
|
|
616
616
|
t = N(t);
|
|
617
617
|
break;
|
|
618
618
|
case "9.7.0":
|
|
619
|
-
t =
|
|
619
|
+
t = E(t);
|
|
620
620
|
break;
|
|
621
621
|
case "10.0.0":
|
|
622
|
-
t =
|
|
622
|
+
t = R(t);
|
|
623
623
|
break;
|
|
624
624
|
case "11.0.0":
|
|
625
625
|
t = V(t);
|
|
@@ -702,8 +702,8 @@ const Mt = {
|
|
|
702
702
|
convertWebChartLabelBehaviorNoneToHide: Ne,
|
|
703
703
|
handleOrderOptionsChanges: We,
|
|
704
704
|
applyDataOrderInstructionForFromFieldsCharts: qe,
|
|
705
|
-
convertTemporalBinningProps:
|
|
706
|
-
convertRESTStatisticTypeToWebChartStatisticType:
|
|
705
|
+
convertTemporalBinningProps: Ee,
|
|
706
|
+
convertRESTStatisticTypeToWebChartStatisticType: Re,
|
|
707
707
|
renameChartSubtitle: Ve,
|
|
708
708
|
applyMandatoryConversions: he,
|
|
709
709
|
convertTo1x0x1: je,
|
|
@@ -715,8 +715,8 @@ const Mt = {
|
|
|
715
715
|
convertTo7x6x0: W,
|
|
716
716
|
convertTo8x0x1: q,
|
|
717
717
|
convertTo9x3x0: N,
|
|
718
|
-
convertTo10x0x0:
|
|
719
|
-
convertTo11x0x0:
|
|
718
|
+
convertTo10x0x0: E,
|
|
719
|
+
convertTo11x0x0: R,
|
|
720
720
|
convertTo12x0x0: V,
|
|
721
721
|
convertTo15x0x0: G,
|
|
722
722
|
convertTo16x1x0: _,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type Geometry from "@arcgis/core/geometry/Geometry.js";
|
|
2
|
-
import type FeatureLayer from "@arcgis/core/layers/FeatureLayer.js";
|
|
3
2
|
import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js";
|
|
4
3
|
import type AttributeBinsQuery from "@arcgis/core/rest/support/AttributeBinsQuery.js";
|
|
5
4
|
import type Query from "@arcgis/core/rest/support/Query.js";
|
|
@@ -9,6 +8,7 @@ import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js
|
|
|
9
8
|
import type { RESTFieldType } from "../../../spec/rest-js-object-literals.js";
|
|
10
9
|
import type { WebChartHeatChartSeries, WebChartQuery, WebChartTemporalBinning } from "../../../spec/web-chart.js";
|
|
11
10
|
import type { QueryObject } from "../interfaces.js";
|
|
11
|
+
import type { ChartLayer, SupportedLayer } from "../../../interfaces.js";
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Indicates whether a query can be cached. It is not when:
|
|
@@ -24,7 +24,7 @@ export function isQueryCacheable(query: AttributeBinsQuery | Query | QueryProper
|
|
|
24
24
|
* @param layer
|
|
25
25
|
* @internal
|
|
26
26
|
*/
|
|
27
|
-
export function getMaxRecords(layer?: Pick<
|
|
27
|
+
export function getMaxRecords(layer?: Pick<ChartLayer, "sourceJSON"> | SubtypeSublayer): number;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Function building a where clause by concatenating a list of filters by using the AND operator.
|
|
@@ -168,4 +168,4 @@ export function mapQuery(props: {
|
|
|
168
168
|
* @param layer
|
|
169
169
|
* @internal
|
|
170
170
|
*/
|
|
171
|
-
export function getMaxRecordCountFactor(layer?: Pick<
|
|
171
|
+
export function getMaxRecordCountFactor(layer?: Pick<ChartLayer, "sourceJSON"> | SupportedLayer): number | undefined;
|
|
@@ -4,8 +4,9 @@ import type SubtypeSublayer from "@arcgis/core/layers/support/SubtypeSublayer.js
|
|
|
4
4
|
import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
|
|
5
5
|
import type LayerView from "@arcgis/core/views/layers/LayerView.js";
|
|
6
6
|
import type Layer from "@arcgis/core/layers/Layer.js";
|
|
7
|
+
import type { SelectableLayerWithObjectIds } from "@arcgis/core/views/selection/types.js";
|
|
7
8
|
import type { QueryObject, QueryObjectOrRaster } from "../interfaces.js";
|
|
8
|
-
import type { SupportedLayer, SupportedRasterLayer } from "../../../interfaces.js";
|
|
9
|
+
import type { ChartLayer, ChartLayerInput, SupportedLayer, SupportedRasterLayer } from "../../../interfaces.js";
|
|
9
10
|
import type { WebChart } from "../../../spec/web-chart.js";
|
|
10
11
|
import type { ChartOptions } from "../../../chart-rendering/common/interfaces.js";
|
|
11
12
|
|
|
@@ -33,6 +34,22 @@ export function isFeatureLayerView(queryObject: LayerView | QueryObjectOrRaster
|
|
|
33
34
|
*/
|
|
34
35
|
export function isFeatureLayer(queryObject: Layer | QueryObjectOrRaster | undefined): queryObject is FeatureLayer;
|
|
35
36
|
|
|
37
|
+
/**
|
|
38
|
+
* Indicates whether an input exposes the feature-layer contract required by charts.
|
|
39
|
+
*
|
|
40
|
+
* @param queryObject
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
export function isFeatureLayerLike(queryObject: Layer | QueryObjectOrRaster | undefined): queryObject is ChartLayer;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Indicates whether a chart layer exposes the object ID selection contract.
|
|
47
|
+
*
|
|
48
|
+
* @param queryObject
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
export function isSelectableLayerWithObjectIds(queryObject: ChartLayerInput | undefined): queryObject is ChartLayerInput & SelectableLayerWithObjectIds;
|
|
52
|
+
|
|
36
53
|
/**
|
|
37
54
|
* Indicates whether the input object is an instance of `SubtypeGroupLayer`.
|
|
38
55
|
*
|
|
@@ -65,7 +82,7 @@ export function isSupportedLayer(queryObject: Layer | QueryObjectOrRaster | unde
|
|
|
65
82
|
* @param layer
|
|
66
83
|
* @internal
|
|
67
84
|
*/
|
|
68
|
-
export function getMainLayer(layer:
|
|
85
|
+
export function getMainLayer(layer: ChartLayer | SubtypeSublayer | undefined): ChartLayer | SubtypeGroupLayer | undefined;
|
|
69
86
|
|
|
70
87
|
/**
|
|
71
88
|
* @param layer
|
|
@@ -77,19 +94,19 @@ export function getMainLayer(layer: SupportedRasterLayer): SupportedRasterLayer;
|
|
|
77
94
|
* @param layer
|
|
78
95
|
* @internal
|
|
79
96
|
*/
|
|
80
|
-
export function getMainLayer(layer:
|
|
97
|
+
export function getMainLayer(layer: ChartLayer | SubtypeSublayer | SupportedRasterLayer): ChartLayer | SubtypeGroupLayer | SupportedRasterLayer;
|
|
81
98
|
|
|
82
99
|
/**
|
|
83
100
|
* @param layer
|
|
84
101
|
* @internal
|
|
85
102
|
*/
|
|
86
|
-
export function getMainLayer(layer:
|
|
103
|
+
export function getMainLayer(layer: ChartLayer | SubtypeSublayer | SupportedRasterLayer | undefined): ChartLayer | SubtypeGroupLayer | SupportedRasterLayer | undefined;
|
|
87
104
|
|
|
88
105
|
/**
|
|
89
106
|
* @param layer
|
|
90
107
|
* @internal
|
|
91
108
|
*/
|
|
92
|
-
export function getMainLayer(layer:
|
|
109
|
+
export function getMainLayer(layer: ChartLayer | SubtypeSublayer | SupportedRasterLayer | undefined): ChartLayer | SubtypeGroupLayer | SupportedRasterLayer | undefined;
|
|
93
110
|
|
|
94
111
|
/**
|
|
95
112
|
* Indicates whether a layer supports queries with a `distance` parameter
|
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.89",
|
|
4
4
|
"description": "Reusable ArcGIS charting Web Components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@amcharts/amcharts4": "^4.10.31",
|
|
32
|
-
"@amcharts/amcharts5": "~5.20.
|
|
33
|
-
"@arcgis/lumina": "5.2.0-next.
|
|
34
|
-
"@arcgis/toolkit": "5.2.0-next.
|
|
32
|
+
"@amcharts/amcharts5": "~5.20.3",
|
|
33
|
+
"@arcgis/lumina": "5.2.0-next.89",
|
|
34
|
+
"@arcgis/toolkit": "5.2.0-next.89",
|
|
35
35
|
"@esri/arcgis-html-sanitizer": "~4.1.0",
|
|
36
36
|
"@lit/task": "^1.0.3",
|
|
37
37
|
"@zumer/snapdom": "^2.24.1",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"tslib": "^2.8.1"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@arcgis/core": "5.2.0-next.
|
|
48
|
+
"@arcgis/core": "5.2.0-next.89",
|
|
49
49
|
"@esri/calcite-components": "^5.2.0-next.52"
|
|
50
50
|
},
|
|
51
51
|
"css.customData": [
|