@arcgis/charts-components 5.2.0-next.76 → 5.2.0-next.78
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/{XKWB2T32.js → 2ASLWSZG.js} +1 -1
- package/dist/cdn/{4WJRJCLD.js → 2AYYSMS5.js} +2 -2
- package/dist/cdn/{FZV6RLK4.js → 2GAKZXA7.js} +1 -1
- package/dist/cdn/{QA5XAJG2.js → 37TEXJ7K.js} +1 -1
- package/dist/cdn/{KNHO45OE.js → 3EO4F26F.js} +1 -1
- package/dist/cdn/{Q5KQ6VU2.js → 3OW3AP7E.js} +1 -1
- package/dist/cdn/{7J5A5NFI.js → 4UZZHUBR.js} +1 -1
- package/dist/cdn/4V4XGO3V.js +2 -0
- package/dist/cdn/{W5OKNIYB.js → 4XM7Q33B.js} +1 -1
- package/dist/cdn/{K7ONVPQD.js → 55MAADXE.js} +1 -1
- package/dist/cdn/{DDKBUPNA.js → 5TACWRME.js} +1 -1
- package/dist/cdn/{G5X74FKX.js → 5UKSJH54.js} +1 -1
- package/dist/cdn/{YUSPOR5K.js → 6ILCVW7Y.js} +1 -1
- package/dist/cdn/{FVERG5WA.js → 6WE5NXCL.js} +1 -1
- package/dist/cdn/{6RP62IRP.js → 7MXV56XK.js} +1 -1
- package/dist/cdn/{436LMU5X.js → AGPCWGX5.js} +1 -1
- package/dist/cdn/{ULVVDC7F.js → ANIGKAAB.js} +1 -1
- package/dist/cdn/{VSWUT7CA.js → ARBNJ22B.js} +1 -1
- package/dist/cdn/{S3LRWKAX.js → AVJGLPDW.js} +1 -1
- package/dist/cdn/{JWSRZ2DT.js → BRQQTNPP.js} +1 -1
- package/dist/cdn/{UGEYLVIU.js → C5O4MQR2.js} +1 -1
- package/dist/cdn/{DI7KSBSF.js → CPTM5D3G.js} +1 -1
- package/dist/cdn/{GYHDXPJE.js → DEEDTMN2.js} +1 -1
- package/dist/cdn/{XZEIH6U7.js → DNBUCAK5.js} +1 -1
- package/dist/cdn/{E3JSGSZO.js → DWGM7Z44.js} +1 -1
- package/dist/cdn/{ZVZ73LEB.js → EUTOQQ3S.js} +1 -1
- package/dist/cdn/{UPZU4PT4.js → EVXW4JIN.js} +1 -1
- package/dist/cdn/{ATVDMX2J.js → F4YJZZ3Z.js} +1 -1
- package/dist/cdn/{2LA7C4QV.js → FDXSZJWC.js} +1 -1
- package/dist/cdn/{QD5L45NM.js → FNTOEKMU.js} +1 -1
- package/dist/cdn/{H2CAS5TZ.js → FWLBHMGZ.js} +1 -1
- package/dist/cdn/{5KNGV2JN.js → GRFUVWBR.js} +1 -1
- package/dist/cdn/{FPQP5PPG.js → HEVW64SC.js} +1 -1
- package/dist/cdn/{J34J6LD7.js → HHZOC34D.js} +1 -1
- package/dist/cdn/{FGT54LZQ.js → HVNUPBQA.js} +1 -1
- package/dist/cdn/{6R3FZONE.js → HXSSY2BO.js} +1 -1
- package/dist/cdn/IAMJ6CBO.js +3 -0
- package/dist/cdn/{CKNGIVV4.js → IC7XPCCD.js} +1 -1
- package/dist/cdn/{56ZK7STH.js → J6SZNFHT.js} +1 -1
- package/dist/cdn/{FENZFVR6.js → JBDNBUXX.js} +24 -24
- package/dist/cdn/{PS63GP2Q.js → JILQHU4L.js} +1 -1
- package/dist/cdn/{6HKKSGTW.js → JKT2UC2C.js} +1 -1
- package/dist/cdn/{HY7IIMH5.js → JQU6SHEI.js} +1 -1
- package/dist/cdn/{ZZBZ3M37.js → JZFIYS3Q.js} +1 -1
- package/dist/cdn/{YVQGX3ZX.js → JZVACQMQ.js} +1 -1
- package/dist/cdn/{YDNZFSLH.js → KBADZKOP.js} +1 -1
- package/dist/cdn/{2DDIAUZP.js → KBBPAMMT.js} +1 -1
- package/dist/cdn/{XAAWA7RV.js → KOLRCFJY.js} +1 -1
- package/dist/cdn/{QTYP3S5A.js → KS5BBSHY.js} +1 -1
- package/dist/cdn/L4E3VJVV.js +2 -0
- package/dist/cdn/{TVKJNNXG.js → LYE5P3IM.js} +1 -1
- package/dist/cdn/{JNWFO5XG.js → N6FMZQZN.js} +1 -1
- package/dist/cdn/{7BCQTPEQ.js → N7C7MXPK.js} +1 -1
- package/dist/cdn/{RYQCBDZQ.js → NIDK3VNZ.js} +1 -1
- package/dist/cdn/{OYE6B4A2.js → O3I5M2SH.js} +1 -1
- package/dist/cdn/{33BRETPB.js → OAGFPD22.js} +1 -1
- package/dist/cdn/{XPHNWQAT.js → OILO7FSO.js} +1 -1
- package/dist/cdn/{NM6DLR7V.js → OTCRP3JF.js} +1 -1
- package/dist/cdn/{D36WET32.js → PBMWAGSX.js} +1 -1
- package/dist/cdn/{OH23D7V4.js → PCAFQL35.js} +1 -1
- package/dist/cdn/{3P2SRGLO.js → PCHCBNEX.js} +1 -1
- package/dist/cdn/{57XZWFTY.js → QK73NKPD.js} +1 -1
- package/dist/cdn/{AHUVOOEG.js → QPTQD3ZH.js} +1 -1
- package/dist/cdn/{RACBDCMX.js → REUSRETW.js} +1 -1
- package/dist/cdn/RPQJ6RNZ.js +2 -0
- package/dist/cdn/{W2ZWCRQG.js → RXIRNKPO.js} +1 -1
- package/dist/cdn/{QXCE6JPL.js → RZHWMERW.js} +1 -1
- package/dist/cdn/{L2IC2Y47.js → SCBFWKS5.js} +1 -1
- package/dist/cdn/{7WNB2UBY.js → TGP4YGPD.js} +1 -1
- package/dist/cdn/{VNPYUGJI.js → TVQYI2GA.js} +1 -1
- package/dist/cdn/{A5YYKBOZ.js → U43J5GMJ.js} +1 -1
- package/dist/cdn/{G7ERMTBR.js → UEUCI74S.js} +1 -1
- package/dist/cdn/{H2L77BVM.js → UQQUQB2A.js} +1 -1
- package/dist/cdn/UROIIO5G.js +2 -0
- package/dist/cdn/{TND5ID5R.js → WFNHDRCX.js} +1 -1
- package/dist/cdn/{AFP2EZVP.js → WIU4Z5RB.js} +1 -1
- package/dist/cdn/{3I5WM4MV.js → X7KNPTRQ.js} +2 -2
- package/dist/cdn/{GHZGNHT2.js → XGOJWQ2M.js} +1 -1
- package/dist/cdn/{7JYCHXND.js → XPWRCAVM.js} +1 -1
- package/dist/cdn/{U3VZYTUZ.js → XUHTILLV.js} +1 -1
- package/dist/cdn/Y3WKQVWR.js +2 -0
- package/dist/cdn/{6DOH32LR.js → YWYUS2YB.js} +1 -1
- package/dist/cdn/{RJGYAQAI.js → ZAGOBG3W.js} +1 -1
- package/dist/cdn/{BGFC2AUU.js → ZFVW3OFJ.js} +1 -1
- 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 +38 -6
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/chart-model.js +1 -1
- package/dist/chunks/data.js +23 -23
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/index2.js +4070 -4010
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/model-setter.js +53 -31
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +29 -29
- package/dist/chunks/series-length.js +3 -3
- package/dist/chunks/type-guards2.js +37 -36
- package/dist/chunks/web-component-utils.js +8 -8
- package/dist/components/arcgis-chart/customElement.d.ts +11 -0
- package/dist/components/arcgis-chart/customElement.js +5665 -5469
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- 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/loader.js +1 -1
- package/dist/model/chart-model/chart-model-base.d.ts +10 -0
- package/dist/model/chart-model/chart-model-wrapper.d.ts +24 -0
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +0 -9
- package/dist/model/shared/type-guards.d.ts +22 -21
- 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.js +13 -13
- package/dist/utils/chart-config/utils/index.d.ts +2 -2
- package/dist/utils/data/index.d.ts +6 -3
- package/dist/utils/layer/index.d.ts +1 -0
- package/dist/utils/layer/query-parser/index.d.ts +1 -1
- package/dist/utils/misc/interfaces.d.ts +1 -0
- package/package.json +3 -3
- package/dist/cdn/3WSDELLU.js +0 -2
- package/dist/cdn/5X7Q3I6R.js +0 -2
- package/dist/cdn/CKS3U7SE.js +0 -2
- package/dist/cdn/GYUBEC56.js +0 -3
- package/dist/cdn/WLDEJGWX.js +0 -2
- package/dist/cdn/YJ3WIX3D.js +0 -2
|
@@ -22,41 +22,42 @@ import type { ModelWithYGuides } from "../mixins/model-with-y-guides.js";
|
|
|
22
22
|
import type { ModelWithLegend } from "../mixins/model-with-legend.js";
|
|
23
23
|
import type { ModelWithTemporalBinning } from "../mixins/model-with-temporal-binning.js";
|
|
24
24
|
import type { RadarChartModel } from "../radar-chart-model/radar-chart-model.js";
|
|
25
|
+
import type { ChartModelWrapper } from "../chart-model/chart-model-wrapper.js";
|
|
25
26
|
|
|
26
27
|
/**
|
|
27
28
|
* Determines if the provided model or config is a `ChartModel`.
|
|
28
29
|
*
|
|
29
30
|
* @param model - The model to check.
|
|
30
31
|
*/
|
|
31
|
-
export function isChartModel(model:
|
|
32
|
+
export function isChartModel(model: ChartModelBase | ChartModelWrapper | WebChart | undefined): model is ChartModel;
|
|
32
33
|
|
|
33
34
|
/**
|
|
34
35
|
* Determines if the provided `model` is of type `BarChartModel`.
|
|
35
36
|
*
|
|
36
37
|
* @param model - The model to check.
|
|
37
38
|
*/
|
|
38
|
-
export function isBarChartModel(model: ChartModelBase | undefined): model is BarChartModel;
|
|
39
|
+
export function isBarChartModel(model: ChartModelBase | ChartModelWrapper | undefined): model is BarChartModel;
|
|
39
40
|
|
|
40
41
|
/**
|
|
41
42
|
* Determines if the provided `model` is of type `LineChartModel`.
|
|
42
43
|
*
|
|
43
44
|
* @param model - The model to check.
|
|
44
45
|
*/
|
|
45
|
-
export function isLineChartModel(model: ChartModelBase | undefined): model is LineChartModel;
|
|
46
|
+
export function isLineChartModel(model: ChartModelBase | ChartModelWrapper | undefined): model is LineChartModel;
|
|
46
47
|
|
|
47
48
|
/**
|
|
48
49
|
* Determines if the provided `model` is of type `RadarChartModel`.
|
|
49
50
|
*
|
|
50
51
|
* @param model - The model to check.
|
|
51
52
|
*/
|
|
52
|
-
export function isRadarChartModel(model: ChartModelBase | undefined): model is RadarChartModel;
|
|
53
|
+
export function isRadarChartModel(model: ChartModelBase | ChartModelWrapper | undefined): model is RadarChartModel;
|
|
53
54
|
|
|
54
55
|
/**
|
|
55
56
|
* Determines if the provided `model` is of type `ComboBarLineChartModel`.
|
|
56
57
|
*
|
|
57
58
|
* @param model - The model to check.
|
|
58
59
|
*/
|
|
59
|
-
export function isComboBarLineChartModel(model: ChartModelBase | undefined): model is ComboBarLineChartModel;
|
|
60
|
+
export function isComboBarLineChartModel(model: ChartModelBase | ChartModelWrapper | undefined): model is ComboBarLineChartModel;
|
|
60
61
|
|
|
61
62
|
/**
|
|
62
63
|
* Determines if the provided `model` is of type `SerialChartModel`.
|
|
@@ -64,98 +65,98 @@ export function isComboBarLineChartModel(model: ChartModelBase | undefined): mod
|
|
|
64
65
|
*
|
|
65
66
|
* @param model - The model to check.
|
|
66
67
|
*/
|
|
67
|
-
export function isSerialChartModel(model: ChartModelBase | undefined): model is SerialChartModel;
|
|
68
|
+
export function isSerialChartModel(model: ChartModelBase | ChartModelWrapper | undefined): model is SerialChartModel;
|
|
68
69
|
|
|
69
70
|
/**
|
|
70
71
|
* Determines if the provided `model` is of type `PieChartModel`.
|
|
71
72
|
*
|
|
72
73
|
* @param model - The model to check.
|
|
73
74
|
*/
|
|
74
|
-
export function isPieChartModel(model: ChartModelBase | undefined): model is PieChartModel;
|
|
75
|
+
export function isPieChartModel(model: ChartModelBase | ChartModelWrapper | undefined): model is PieChartModel;
|
|
75
76
|
|
|
76
77
|
/**
|
|
77
78
|
* Determines if the provided `model` is of type `BoxPlotModel`.
|
|
78
79
|
*
|
|
79
80
|
* @param model - The model to check.
|
|
80
81
|
*/
|
|
81
|
-
export function isBoxPlotModel(model: ChartModelBase | undefined): model is BoxPlotModel;
|
|
82
|
+
export function isBoxPlotModel(model: ChartModelBase | ChartModelWrapper | undefined): model is BoxPlotModel;
|
|
82
83
|
|
|
83
84
|
/**
|
|
84
85
|
* Determines if the provided `model` is of type `ScatterplotModel`.
|
|
85
86
|
*
|
|
86
87
|
* @param model - The model to check.
|
|
87
88
|
*/
|
|
88
|
-
export function isScatterplotModel(model: ChartModelBase | undefined): model is ScatterplotModel;
|
|
89
|
+
export function isScatterplotModel(model: ChartModelBase | ChartModelWrapper | undefined): model is ScatterplotModel;
|
|
89
90
|
|
|
90
91
|
/**
|
|
91
92
|
* Determines if the provided `model` is of type `HistogramModel`.
|
|
92
93
|
*
|
|
93
94
|
* @param model - The model to check.
|
|
94
95
|
*/
|
|
95
|
-
export function isHistogramModel(model: ChartModelBase | undefined): model is HistogramModel;
|
|
96
|
+
export function isHistogramModel(model: ChartModelBase | ChartModelWrapper | undefined): model is HistogramModel;
|
|
96
97
|
|
|
97
98
|
/**
|
|
98
99
|
* Determines if the provided `model` is of type `HeatChartModel`.
|
|
99
100
|
*
|
|
100
101
|
* @param model - The model to check.
|
|
101
102
|
*/
|
|
102
|
-
export function isHeatChartModel(model: ChartModelBase | undefined): model is HeatChartModel;
|
|
103
|
+
export function isHeatChartModel(model: ChartModelBase | ChartModelWrapper | undefined): model is HeatChartModel;
|
|
103
104
|
|
|
104
105
|
/**
|
|
105
106
|
* Determines if the provided `model` is of type `GaugeModel`.
|
|
106
107
|
*
|
|
107
108
|
* @param model - The model to check.
|
|
108
109
|
*/
|
|
109
|
-
export function isGaugeModel(model: ChartModelBase | undefined): model is GaugeModel;
|
|
110
|
+
export function isGaugeModel(model: ChartModelBase | ChartModelWrapper | undefined): model is GaugeModel;
|
|
110
111
|
|
|
111
112
|
/**
|
|
112
113
|
* Type guard for ModelWithMultiAxes
|
|
113
114
|
*
|
|
114
115
|
* @param model
|
|
115
116
|
*/
|
|
116
|
-
export function isModelWithMultiAxes(model: ChartModel | undefined): model is ModelWithMultiAxes;
|
|
117
|
+
export function isModelWithMultiAxes(model: ChartModel | ChartModelWrapper | undefined): model is ModelWithMultiAxes;
|
|
117
118
|
|
|
118
119
|
/**
|
|
119
120
|
* Type guard for ModelWithLineMarkerStyling
|
|
120
121
|
*
|
|
121
122
|
* @param model
|
|
122
123
|
*/
|
|
123
|
-
export function isModelWithLineMarkerStyling(model: ChartModel | undefined): model is ModelWithLineMarkerStyling;
|
|
124
|
+
export function isModelWithLineMarkerStyling(model: ChartModel | ChartModelWrapper | undefined): model is ModelWithLineMarkerStyling;
|
|
124
125
|
|
|
125
126
|
/**
|
|
126
127
|
* Type guard for ModelWithTooltips
|
|
127
128
|
*
|
|
128
129
|
* @param model
|
|
129
130
|
*/
|
|
130
|
-
export function isModelWithTooltips(model: ChartModel | undefined): model is ModelWithTooltips;
|
|
131
|
+
export function isModelWithTooltips(model: ChartModel | ChartModelWrapper | undefined): model is ModelWithTooltips;
|
|
131
132
|
|
|
132
133
|
/**
|
|
133
134
|
* Determines if the provided `model` is of type `ModelWithGuides`.
|
|
134
135
|
*
|
|
135
136
|
* @param model - The model to check.
|
|
136
137
|
*/
|
|
137
|
-
export function isModelWithGuides(model: ChartModel | undefined): model is ModelWithGuides;
|
|
138
|
+
export function isModelWithGuides(model: ChartModel | ChartModelWrapper | undefined): model is ModelWithGuides;
|
|
138
139
|
|
|
139
140
|
/**
|
|
140
141
|
* Determines if the provided `model` is of type `ModelWithXGuides`.
|
|
141
142
|
*
|
|
142
143
|
* @param model - The model to check.
|
|
143
144
|
*/
|
|
144
|
-
export function isModelWithXGuides(model: ChartModel | undefined): model is ModelWithXGuides;
|
|
145
|
+
export function isModelWithXGuides(model: ChartModel | ChartModelWrapper | undefined): model is ModelWithXGuides;
|
|
145
146
|
|
|
146
147
|
/**
|
|
147
148
|
* Determines if the provided `model` is of type `ModelWithYGuides`.
|
|
148
149
|
*
|
|
149
150
|
* @param model - The model to check.
|
|
150
151
|
*/
|
|
151
|
-
export function isModelWithYGuides(model: ChartModel | undefined): model is ModelWithYGuides;
|
|
152
|
+
export function isModelWithYGuides(model: ChartModel | ChartModelWrapper | undefined): model is ModelWithYGuides;
|
|
152
153
|
|
|
153
154
|
/**
|
|
154
155
|
* Determines if the provided `model` is of type `ModelWithLegend`.
|
|
155
156
|
*
|
|
156
157
|
* @param model - The model to check.
|
|
157
158
|
*/
|
|
158
|
-
export function isModelWithLegend(model: ChartModel | undefined): model is ModelWithLegend;
|
|
159
|
+
export function isModelWithLegend(model: ChartModel | ChartModelWrapper | undefined): model is ModelWithLegend;
|
|
159
160
|
|
|
160
161
|
/**
|
|
161
162
|
* Determines if the provided `model` is of type `PieChartLegendModel`.
|
|
@@ -170,14 +171,14 @@ export function isPieChartLegendModel(model: ChartModel | undefined): model is P
|
|
|
170
171
|
*
|
|
171
172
|
* @param model - The model to check.
|
|
172
173
|
*/
|
|
173
|
-
export function isModelWithTemporalBinning(model: ChartModel | undefined): model is ModelWithTemporalBinning;
|
|
174
|
+
export function isModelWithTemporalBinning(model: ChartModel | ChartModelWrapper | undefined): model is ModelWithTemporalBinning;
|
|
174
175
|
|
|
175
176
|
/**
|
|
176
177
|
* Determines if the provided `model` supports rounded corners.
|
|
177
178
|
*
|
|
178
179
|
* @param model - The model to check.
|
|
179
180
|
*/
|
|
180
|
-
export function isModelWithRoundCorners(model: ChartModelBase | undefined): model is BarChartModel | ComboBarLineChartModel;
|
|
181
|
+
export function isModelWithRoundCorners(model: ChartModelBase | ChartModelWrapper | undefined): model is BarChartModel | ComboBarLineChartModel;
|
|
181
182
|
|
|
182
183
|
/**
|
|
183
184
|
* Determines if the provided model's type matches the `type` argument.
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { ArcgisChart } from "../components/arcgis-chart/customElement.js";
|
|
|
3
3
|
import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-bar/customElement.js";
|
|
4
4
|
import type { h, EventHandler } from "@arcgis/lumina";
|
|
5
5
|
|
|
6
|
-
interface LuminaArcgisChart extends Partial<Pick<ArcgisChart, "actionMode" | "allowUsingObjectIdStat" | "animationEnabled" | "aria" | "autoDestroyDisabled" | "autoDisposeChart" | "autoInverseDataLabelTextColor" | "calciteThemingCSSVariables" | "chartIndex" | "chartLimits" | "chartWillRender" | "configurationEnabled" | "cursorRange" | "dataLabelFormatter" | "disableInteractions" | "disableTogglingLegendItems" | "enableBetaFeatures" | "enableConfiguration" | "enableResponsiveFeatures" | "errorPolicy" | "featureIndex" | "filterByExtent" | "filterBySelection" | "filterByViewExtent" | "gaugeInnerLabelFormatter" | "guideTooltipFormatter" | "hideEmptySeries" | "hideLicenseWatermark" | "hideLoaderAnimation" | "hideUIMessages" | "hideZeroCountCategories" | "ignoreSmoothRenderingLimit" | "ignoreViewExtent" | "interactionsDisabled" | "layer" | "layerFieldsChangePolicy" | "layerFilterChangePolicy" | "layerItemId" | "layerRendererChangePolicy" | "legendPosition" | "legendValueLabelFormatter" | "legendVisibility" | "loaderColors" | "messageOverrides" | "model" | "nullAsValid" | "placeholder" | "popupTemplateFieldInfosEnabled" | "queueChartCreation" | "replaceNoValueCategoryWithZero" | "returnFeaturesExtent" | "returnSelectionIndexes" | "returnSelectionOIDs" | "rotated" | "rotation" | "runtimeDataFilters" | "secondaryYAxisLabelFormatter" | "selectionData" | "selectionManager" | "selectionTheme" | "setTimeBinningInfoWhenNotProvided" | "showEmptySeries" | "showLicenseWatermark" | "showUIMessages" | "skipChartCreationQueue" | "syncChartsSelection" | "syncSelection" | "syncSelectionsBetweenChartAndLayerViewPolicy" | "syncViewSelection" | "syncViewTimeExtent" | "syncViewTimeZone" | "syncViewTimeZoneInclusionList" | "timeZone" | "togglingLegendItemsDisabled" | "tooltipFormatter" | "updateSplitBySeries" | "useAnimatedCharts" | "usePopupTemplateFieldsInfo" | "view" | "viewTimeExtentChangePolicy" | "xAxisLabelFormatter" | "yAxisLabelFormatter">>, h.JSX.HTMLAttributes<ArcgisChart> {
|
|
6
|
+
interface LuminaArcgisChart extends Partial<Pick<ArcgisChart, "actionMode" | "allowUsingObjectIdStat" | "animationEnabled" | "aria" | "autoDestroyDisabled" | "autoDisposeChart" | "autoInverseDataLabelTextColor" | "calciteThemingCSSVariables" | "chartIndex" | "chartLimits" | "chartWillRender" | "configurationEnabled" | "cursorRange" | "dataLabelFormatter" | "disableInteractions" | "disableTogglingLegendItems" | "enableBetaFeatures" | "enableConfiguration" | "enableResponsiveFeatures" | "errorPolicy" | "featureIndex" | "filterByExtent" | "filterBySelection" | "filterByViewExtent" | "gaugeInnerLabelFormatter" | "guideTooltipFormatter" | "hideEmptySeries" | "hideLicenseWatermark" | "hideLoaderAnimation" | "hideUIMessages" | "hideZeroCountCategories" | "ignoreSmoothRenderingLimit" | "ignoreViewExtent" | "interactionsDisabled" | "layer" | "layerFieldsChangePolicy" | "layerFilterChangePolicy" | "layerItemId" | "layerRendererChangePolicy" | "legendPosition" | "legendValueLabelFormatter" | "legendVisibility" | "loaderColors" | "messageOverrides" | "model" | "nullAsValid" | "placeholder" | "popupTemplateFieldInfosEnabled" | "queueChartCreation" | "replaceNoValueCategoryWithZero" | "returnFeaturesExtent" | "returnSelectionIndexes" | "returnSelectionOIDs" | "rotated" | "rotation" | "runtimeDataFilters" | "secondaryYAxisLabelFormatter" | "selectionData" | "selectionManager" | "selectionTheme" | "setTimeBinningInfoWhenNotProvided" | "showEmptySeries" | "showLicenseWatermark" | "showUIMessages" | "skipChartCreationQueue" | "syncChartsSelection" | "syncSelection" | "syncSelectionsBetweenChartAndLayerViewPolicy" | "syncViewSelection" | "syncViewTimeExtent" | "syncViewTimeZone" | "syncViewTimeZoneInclusionList" | "timeZone" | "togglingLegendItemsDisabled" | "tooltipFormatter" | "updateSplitBySeries" | "useAnimatedCharts" | "usePopupTemplateFieldsInfo" | "view" | "viewTimeExtentChangePolicy" | "xAxisLabelFormatter" | "yAxisLabelFormatter" | "zeroCountAsValid">>, h.JSX.HTMLAttributes<ArcgisChart> {
|
|
7
7
|
onarcgisAxesMinMaxChange?: EventHandler<ArcgisChart["arcgisAxesMinMaxChange"]>;
|
|
8
8
|
onarcgisBadDataWarningRaise?: EventHandler<ArcgisChart["arcgisBadDataWarningRaise"]>;
|
|
9
9
|
onarcgisChartNotFoundWarning?: EventHandler<ArcgisChart["arcgisChartNotFoundWarning"]>;
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-b
|
|
|
4
4
|
import { HTMLAttributes } from "preact";
|
|
5
5
|
import type { EventHandler } from "@arcgis/lumina";
|
|
6
6
|
|
|
7
|
-
interface PreactArcgisChart extends Partial<Pick<ArcgisChart, "actionMode" | "allowUsingObjectIdStat" | "animationEnabled" | "aria" | "autoDestroyDisabled" | "autoDisposeChart" | "autoInverseDataLabelTextColor" | "calciteThemingCSSVariables" | "chartIndex" | "chartLimits" | "chartWillRender" | "configurationEnabled" | "cursorRange" | "dataLabelFormatter" | "disableInteractions" | "disableTogglingLegendItems" | "enableBetaFeatures" | "enableConfiguration" | "enableResponsiveFeatures" | "errorPolicy" | "featureIndex" | "filterByExtent" | "filterBySelection" | "filterByViewExtent" | "gaugeInnerLabelFormatter" | "guideTooltipFormatter" | "hideEmptySeries" | "hideLicenseWatermark" | "hideLoaderAnimation" | "hideUIMessages" | "hideZeroCountCategories" | "ignoreSmoothRenderingLimit" | "ignoreViewExtent" | "interactionsDisabled" | "layer" | "layerFieldsChangePolicy" | "layerFilterChangePolicy" | "layerItemId" | "layerRendererChangePolicy" | "legendPosition" | "legendValueLabelFormatter" | "legendVisibility" | "loaderColors" | "messageOverrides" | "model" | "nullAsValid" | "placeholder" | "popupTemplateFieldInfosEnabled" | "queueChartCreation" | "replaceNoValueCategoryWithZero" | "returnFeaturesExtent" | "returnSelectionIndexes" | "returnSelectionOIDs" | "rotated" | "rotation" | "runtimeDataFilters" | "secondaryYAxisLabelFormatter" | "selectionData" | "selectionManager" | "selectionTheme" | "setTimeBinningInfoWhenNotProvided" | "showEmptySeries" | "showLicenseWatermark" | "showUIMessages" | "skipChartCreationQueue" | "syncChartsSelection" | "syncSelection" | "syncSelectionsBetweenChartAndLayerViewPolicy" | "syncViewSelection" | "syncViewTimeExtent" | "syncViewTimeZone" | "syncViewTimeZoneInclusionList" | "timeZone" | "togglingLegendItemsDisabled" | "tooltipFormatter" | "updateSplitBySeries" | "useAnimatedCharts" | "usePopupTemplateFieldsInfo" | "view" | "viewTimeExtentChangePolicy" | "xAxisLabelFormatter" | "yAxisLabelFormatter">>, HTMLAttributes<ArcgisChart> {
|
|
7
|
+
interface PreactArcgisChart extends Partial<Pick<ArcgisChart, "actionMode" | "allowUsingObjectIdStat" | "animationEnabled" | "aria" | "autoDestroyDisabled" | "autoDisposeChart" | "autoInverseDataLabelTextColor" | "calciteThemingCSSVariables" | "chartIndex" | "chartLimits" | "chartWillRender" | "configurationEnabled" | "cursorRange" | "dataLabelFormatter" | "disableInteractions" | "disableTogglingLegendItems" | "enableBetaFeatures" | "enableConfiguration" | "enableResponsiveFeatures" | "errorPolicy" | "featureIndex" | "filterByExtent" | "filterBySelection" | "filterByViewExtent" | "gaugeInnerLabelFormatter" | "guideTooltipFormatter" | "hideEmptySeries" | "hideLicenseWatermark" | "hideLoaderAnimation" | "hideUIMessages" | "hideZeroCountCategories" | "ignoreSmoothRenderingLimit" | "ignoreViewExtent" | "interactionsDisabled" | "layer" | "layerFieldsChangePolicy" | "layerFilterChangePolicy" | "layerItemId" | "layerRendererChangePolicy" | "legendPosition" | "legendValueLabelFormatter" | "legendVisibility" | "loaderColors" | "messageOverrides" | "model" | "nullAsValid" | "placeholder" | "popupTemplateFieldInfosEnabled" | "queueChartCreation" | "replaceNoValueCategoryWithZero" | "returnFeaturesExtent" | "returnSelectionIndexes" | "returnSelectionOIDs" | "rotated" | "rotation" | "runtimeDataFilters" | "secondaryYAxisLabelFormatter" | "selectionData" | "selectionManager" | "selectionTheme" | "setTimeBinningInfoWhenNotProvided" | "showEmptySeries" | "showLicenseWatermark" | "showUIMessages" | "skipChartCreationQueue" | "syncChartsSelection" | "syncSelection" | "syncSelectionsBetweenChartAndLayerViewPolicy" | "syncViewSelection" | "syncViewTimeExtent" | "syncViewTimeZone" | "syncViewTimeZoneInclusionList" | "timeZone" | "togglingLegendItemsDisabled" | "tooltipFormatter" | "updateSplitBySeries" | "useAnimatedCharts" | "usePopupTemplateFieldsInfo" | "view" | "viewTimeExtentChangePolicy" | "xAxisLabelFormatter" | "yAxisLabelFormatter" | "zeroCountAsValid">>, HTMLAttributes<ArcgisChart> {
|
|
8
8
|
onarcgisAxesMinMaxChange?: EventHandler<ArcgisChart["arcgisAxesMinMaxChange"]>;
|
|
9
9
|
onarcgisBadDataWarningRaise?: EventHandler<ArcgisChart["arcgisBadDataWarningRaise"]>;
|
|
10
10
|
onarcgisChartNotFoundWarning?: EventHandler<ArcgisChart["arcgisChartNotFoundWarning"]>;
|
package/dist/types/react.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-b
|
|
|
4
4
|
import type { HTMLProps } from 'react';
|
|
5
5
|
import type { EventHandler } from "@arcgis/lumina";
|
|
6
6
|
|
|
7
|
-
interface ReactArcgisChart extends Partial<Pick<ArcgisChart, "actionMode" | "allowUsingObjectIdStat" | "animationEnabled" | "aria" | "autoDestroyDisabled" | "autoDisposeChart" | "autoInverseDataLabelTextColor" | "calciteThemingCSSVariables" | "chartIndex" | "chartLimits" | "chartWillRender" | "configurationEnabled" | "cursorRange" | "dataLabelFormatter" | "disableInteractions" | "disableTogglingLegendItems" | "enableBetaFeatures" | "enableConfiguration" | "enableResponsiveFeatures" | "errorPolicy" | "featureIndex" | "filterByExtent" | "filterBySelection" | "filterByViewExtent" | "gaugeInnerLabelFormatter" | "guideTooltipFormatter" | "hideEmptySeries" | "hideLicenseWatermark" | "hideLoaderAnimation" | "hideUIMessages" | "hideZeroCountCategories" | "ignoreSmoothRenderingLimit" | "ignoreViewExtent" | "interactionsDisabled" | "layer" | "layerFieldsChangePolicy" | "layerFilterChangePolicy" | "layerItemId" | "layerRendererChangePolicy" | "legendPosition" | "legendValueLabelFormatter" | "legendVisibility" | "loaderColors" | "messageOverrides" | "model" | "nullAsValid" | "placeholder" | "popupTemplateFieldInfosEnabled" | "queueChartCreation" | "replaceNoValueCategoryWithZero" | "returnFeaturesExtent" | "returnSelectionIndexes" | "returnSelectionOIDs" | "rotated" | "rotation" | "runtimeDataFilters" | "secondaryYAxisLabelFormatter" | "selectionData" | "selectionManager" | "selectionTheme" | "setTimeBinningInfoWhenNotProvided" | "showEmptySeries" | "showLicenseWatermark" | "showUIMessages" | "skipChartCreationQueue" | "syncChartsSelection" | "syncSelection" | "syncSelectionsBetweenChartAndLayerViewPolicy" | "syncViewSelection" | "syncViewTimeExtent" | "syncViewTimeZone" | "syncViewTimeZoneInclusionList" | "timeZone" | "togglingLegendItemsDisabled" | "tooltipFormatter" | "updateSplitBySeries" | "useAnimatedCharts" | "usePopupTemplateFieldsInfo" | "view" | "viewTimeExtentChangePolicy" | "xAxisLabelFormatter" | "yAxisLabelFormatter">>, HTMLProps<ArcgisChart> {
|
|
7
|
+
interface ReactArcgisChart extends Partial<Pick<ArcgisChart, "actionMode" | "allowUsingObjectIdStat" | "animationEnabled" | "aria" | "autoDestroyDisabled" | "autoDisposeChart" | "autoInverseDataLabelTextColor" | "calciteThemingCSSVariables" | "chartIndex" | "chartLimits" | "chartWillRender" | "configurationEnabled" | "cursorRange" | "dataLabelFormatter" | "disableInteractions" | "disableTogglingLegendItems" | "enableBetaFeatures" | "enableConfiguration" | "enableResponsiveFeatures" | "errorPolicy" | "featureIndex" | "filterByExtent" | "filterBySelection" | "filterByViewExtent" | "gaugeInnerLabelFormatter" | "guideTooltipFormatter" | "hideEmptySeries" | "hideLicenseWatermark" | "hideLoaderAnimation" | "hideUIMessages" | "hideZeroCountCategories" | "ignoreSmoothRenderingLimit" | "ignoreViewExtent" | "interactionsDisabled" | "layer" | "layerFieldsChangePolicy" | "layerFilterChangePolicy" | "layerItemId" | "layerRendererChangePolicy" | "legendPosition" | "legendValueLabelFormatter" | "legendVisibility" | "loaderColors" | "messageOverrides" | "model" | "nullAsValid" | "placeholder" | "popupTemplateFieldInfosEnabled" | "queueChartCreation" | "replaceNoValueCategoryWithZero" | "returnFeaturesExtent" | "returnSelectionIndexes" | "returnSelectionOIDs" | "rotated" | "rotation" | "runtimeDataFilters" | "secondaryYAxisLabelFormatter" | "selectionData" | "selectionManager" | "selectionTheme" | "setTimeBinningInfoWhenNotProvided" | "showEmptySeries" | "showLicenseWatermark" | "showUIMessages" | "skipChartCreationQueue" | "syncChartsSelection" | "syncSelection" | "syncSelectionsBetweenChartAndLayerViewPolicy" | "syncViewSelection" | "syncViewTimeExtent" | "syncViewTimeZone" | "syncViewTimeZoneInclusionList" | "timeZone" | "togglingLegendItemsDisabled" | "tooltipFormatter" | "updateSplitBySeries" | "useAnimatedCharts" | "usePopupTemplateFieldsInfo" | "view" | "viewTimeExtentChangePolicy" | "xAxisLabelFormatter" | "yAxisLabelFormatter" | "zeroCountAsValid">>, HTMLProps<ArcgisChart> {
|
|
8
8
|
onarcgisAxesMinMaxChange?: EventHandler<ArcgisChart["arcgisAxesMinMaxChange"]>;
|
|
9
9
|
onarcgisBadDataWarningRaise?: EventHandler<ArcgisChart["arcgisBadDataWarningRaise"]>;
|
|
10
10
|
onarcgisChartNotFoundWarning?: EventHandler<ArcgisChart["arcgisChartNotFoundWarning"]>;
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { ArcgisChartsActionBar } from "../components/arcgis-charts-action-b
|
|
|
4
4
|
import { JSXBase as StencilJsx } from "@stencil/core/internal";
|
|
5
5
|
import type { EventHandler } from "@arcgis/lumina";
|
|
6
6
|
|
|
7
|
-
interface StencilArcgisChart extends Partial<Pick<ArcgisChart, "actionMode" | "allowUsingObjectIdStat" | "animationEnabled" | "aria" | "autoDestroyDisabled" | "autoDisposeChart" | "autoInverseDataLabelTextColor" | "calciteThemingCSSVariables" | "chartIndex" | "chartLimits" | "chartWillRender" | "configurationEnabled" | "cursorRange" | "dataLabelFormatter" | "disableInteractions" | "disableTogglingLegendItems" | "enableBetaFeatures" | "enableConfiguration" | "enableResponsiveFeatures" | "errorPolicy" | "featureIndex" | "filterByExtent" | "filterBySelection" | "filterByViewExtent" | "gaugeInnerLabelFormatter" | "guideTooltipFormatter" | "hideEmptySeries" | "hideLicenseWatermark" | "hideLoaderAnimation" | "hideUIMessages" | "hideZeroCountCategories" | "ignoreSmoothRenderingLimit" | "ignoreViewExtent" | "interactionsDisabled" | "layer" | "layerFieldsChangePolicy" | "layerFilterChangePolicy" | "layerItemId" | "layerRendererChangePolicy" | "legendPosition" | "legendValueLabelFormatter" | "legendVisibility" | "loaderColors" | "messageOverrides" | "model" | "nullAsValid" | "placeholder" | "popupTemplateFieldInfosEnabled" | "queueChartCreation" | "replaceNoValueCategoryWithZero" | "returnFeaturesExtent" | "returnSelectionIndexes" | "returnSelectionOIDs" | "rotated" | "rotation" | "runtimeDataFilters" | "secondaryYAxisLabelFormatter" | "selectionData" | "selectionManager" | "selectionTheme" | "setTimeBinningInfoWhenNotProvided" | "showEmptySeries" | "showLicenseWatermark" | "showUIMessages" | "skipChartCreationQueue" | "syncChartsSelection" | "syncSelection" | "syncSelectionsBetweenChartAndLayerViewPolicy" | "syncViewSelection" | "syncViewTimeExtent" | "syncViewTimeZone" | "syncViewTimeZoneInclusionList" | "timeZone" | "togglingLegendItemsDisabled" | "tooltipFormatter" | "updateSplitBySeries" | "useAnimatedCharts" | "usePopupTemplateFieldsInfo" | "view" | "viewTimeExtentChangePolicy" | "xAxisLabelFormatter" | "yAxisLabelFormatter">>, StencilJsx.HTMLAttributes<ArcgisChart> {
|
|
7
|
+
interface StencilArcgisChart extends Partial<Pick<ArcgisChart, "actionMode" | "allowUsingObjectIdStat" | "animationEnabled" | "aria" | "autoDestroyDisabled" | "autoDisposeChart" | "autoInverseDataLabelTextColor" | "calciteThemingCSSVariables" | "chartIndex" | "chartLimits" | "chartWillRender" | "configurationEnabled" | "cursorRange" | "dataLabelFormatter" | "disableInteractions" | "disableTogglingLegendItems" | "enableBetaFeatures" | "enableConfiguration" | "enableResponsiveFeatures" | "errorPolicy" | "featureIndex" | "filterByExtent" | "filterBySelection" | "filterByViewExtent" | "gaugeInnerLabelFormatter" | "guideTooltipFormatter" | "hideEmptySeries" | "hideLicenseWatermark" | "hideLoaderAnimation" | "hideUIMessages" | "hideZeroCountCategories" | "ignoreSmoothRenderingLimit" | "ignoreViewExtent" | "interactionsDisabled" | "layer" | "layerFieldsChangePolicy" | "layerFilterChangePolicy" | "layerItemId" | "layerRendererChangePolicy" | "legendPosition" | "legendValueLabelFormatter" | "legendVisibility" | "loaderColors" | "messageOverrides" | "model" | "nullAsValid" | "placeholder" | "popupTemplateFieldInfosEnabled" | "queueChartCreation" | "replaceNoValueCategoryWithZero" | "returnFeaturesExtent" | "returnSelectionIndexes" | "returnSelectionOIDs" | "rotated" | "rotation" | "runtimeDataFilters" | "secondaryYAxisLabelFormatter" | "selectionData" | "selectionManager" | "selectionTheme" | "setTimeBinningInfoWhenNotProvided" | "showEmptySeries" | "showLicenseWatermark" | "showUIMessages" | "skipChartCreationQueue" | "syncChartsSelection" | "syncSelection" | "syncSelectionsBetweenChartAndLayerViewPolicy" | "syncViewSelection" | "syncViewTimeExtent" | "syncViewTimeZone" | "syncViewTimeZoneInclusionList" | "timeZone" | "togglingLegendItemsDisabled" | "tooltipFormatter" | "updateSplitBySeries" | "useAnimatedCharts" | "usePopupTemplateFieldsInfo" | "view" | "viewTimeExtentChangePolicy" | "xAxisLabelFormatter" | "yAxisLabelFormatter" | "zeroCountAsValid">>, StencilJsx.HTMLAttributes<ArcgisChart> {
|
|
8
8
|
onArcgisAxesMinMaxChange?: EventHandler<ArcgisChart["arcgisAxesMinMaxChange"]>;
|
|
9
9
|
onArcgisBadDataWarningRaise?: EventHandler<ArcgisChart["arcgisBadDataWarningRaise"]>;
|
|
10
10
|
onArcgisChartNotFoundWarning?: EventHandler<ArcgisChart["arcgisChartNotFoundWarning"]>;
|
|
@@ -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 Qe } from "luxon";
|
|
5
|
-
import { af as Ye, Q as se, Z as Ke, cT as ne,
|
|
5
|
+
import { af as Ye, Q as se, Z as Ke, cT as ne, dk as ae, ct as Je, a$ as Xe, ac as Ze, Y as O, bo as Ue, O as b, c4 as te, aI as et, aJ as tt, m as Z, bE as rt, h as it, bK as ot, w as st } from "../../../chunks/index2.js";
|
|
6
6
|
import { W as nt, aB as at, g as dt, G as lt, ag as ct } from "../../../chunks/index.js";
|
|
7
7
|
import { d as ut } from "../../../chunks/type-guards.js";
|
|
8
8
|
import { C as f, h as k, q as de } from "../../../chunks/index3.js";
|
|
@@ -491,7 +491,7 @@ function Ge(r) {
|
|
|
491
491
|
const e = n(r), i = e.series[0];
|
|
492
492
|
return i?.temporalBinning && delete i.temporalBinning?.type, e;
|
|
493
493
|
}
|
|
494
|
-
function
|
|
494
|
+
function _e(r) {
|
|
495
495
|
const e = n(r), i = e.series[0], t = r;
|
|
496
496
|
return t.series[0]?.xTemporalBinning && (i.xTemporalBinning = {
|
|
497
497
|
...t.series[0]?.xTemporalBinning,
|
|
@@ -501,7 +501,7 @@ function je(r) {
|
|
|
501
501
|
type: c.CalendarDateParts
|
|
502
502
|
}), e;
|
|
503
503
|
}
|
|
504
|
-
function
|
|
504
|
+
function je(r) {
|
|
505
505
|
let e = n(r);
|
|
506
506
|
return e = be(e), e;
|
|
507
507
|
}
|
|
@@ -550,10 +550,10 @@ function V(r) {
|
|
|
550
550
|
function G(r) {
|
|
551
551
|
return We(r);
|
|
552
552
|
}
|
|
553
|
-
function
|
|
553
|
+
function _(r) {
|
|
554
554
|
return ve(r);
|
|
555
555
|
}
|
|
556
|
-
function
|
|
556
|
+
function j(r) {
|
|
557
557
|
return qe(r);
|
|
558
558
|
}
|
|
559
559
|
function z(r) {
|
|
@@ -575,7 +575,7 @@ function Y(r) {
|
|
|
575
575
|
}
|
|
576
576
|
function K(r) {
|
|
577
577
|
let e = n(r);
|
|
578
|
-
return e =
|
|
578
|
+
return e = _e(e), e;
|
|
579
579
|
}
|
|
580
580
|
function J(r) {
|
|
581
581
|
let e = n(r);
|
|
@@ -588,7 +588,7 @@ function X(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(Je) ? (t =
|
|
591
|
+
return e.length > 0 && t !== void 0 && (t = Ie(t), e.includes(se) || e.includes(Je) ? (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 = E(t), t = R(t), t = N(t), t = V(t), t = G(t), t = _(t), t = j(t), t = z(t), t = H(t), t = $(t), t = Q(t), t = Y(t), t = K(t), t = J(t), t = X(t)) : e.forEach((o) => {
|
|
592
592
|
if (t !== void 0)
|
|
593
593
|
switch (o) {
|
|
594
594
|
case "1.0.1":
|
|
@@ -628,10 +628,10 @@ function ze(r) {
|
|
|
628
628
|
t = G(t);
|
|
629
629
|
break;
|
|
630
630
|
case "16.0.0":
|
|
631
|
-
t =
|
|
631
|
+
t = _(t);
|
|
632
632
|
break;
|
|
633
633
|
case "16.1.0":
|
|
634
|
-
t =
|
|
634
|
+
t = j(t);
|
|
635
635
|
break;
|
|
636
636
|
case "18.1.3":
|
|
637
637
|
t = z(t);
|
|
@@ -706,7 +706,7 @@ const Mt = {
|
|
|
706
706
|
convertRESTStatisticTypeToWebChartStatisticType: Ne,
|
|
707
707
|
renameChartSubtitle: Ve,
|
|
708
708
|
applyMandatoryConversions: he,
|
|
709
|
-
convertTo1x0x1:
|
|
709
|
+
convertTo1x0x1: je,
|
|
710
710
|
convertTo2x0x0: w,
|
|
711
711
|
convertTo3x5x0: A,
|
|
712
712
|
convertTo4x0x1: D,
|
|
@@ -719,8 +719,8 @@ const Mt = {
|
|
|
719
719
|
convertTo11x0x0: N,
|
|
720
720
|
convertTo12x0x0: V,
|
|
721
721
|
convertTo15x0x0: G,
|
|
722
|
-
convertTo16x1x0:
|
|
723
|
-
convertTo16x1x1:
|
|
722
|
+
convertTo16x1x0: _,
|
|
723
|
+
convertTo16x1x1: j,
|
|
724
724
|
convertTo19x0x0: z,
|
|
725
725
|
convertTo20x2x0: H,
|
|
726
726
|
convertTo21x1x0: $,
|
|
@@ -730,7 +730,7 @@ const Mt = {
|
|
|
730
730
|
convertTo25x1x0: J,
|
|
731
731
|
convertTo25x2x0: X,
|
|
732
732
|
convertTemporalBinningProps2: Ge,
|
|
733
|
-
transformPropsInHeatChart:
|
|
733
|
+
transformPropsInHeatChart: _e,
|
|
734
734
|
applyConversions: ze,
|
|
735
735
|
convertDataSourceToILayer: ve,
|
|
736
736
|
applyDefaultFirstDayOfWeek: le,
|
|
@@ -89,7 +89,7 @@ export function getSplitByValue(props: {
|
|
|
89
89
|
* @param where
|
|
90
90
|
* @internal
|
|
91
91
|
*/
|
|
92
|
-
export function isAbsoluteTruthWhereClause(where?: string): boolean;
|
|
92
|
+
export function isAbsoluteTruthWhereClause(where?: number | string): boolean;
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
95
|
* Normalizes a where clause, by escaping the "'" character and other special characters if needed.
|
|
@@ -449,7 +449,7 @@ export function doesConfigChangeRequireNewData(props: {
|
|
|
449
449
|
filterBySelection?: boolean;
|
|
450
450
|
selectionData?: ChartOptions["selectionData"];
|
|
451
451
|
setTimeBinningInfoWhenNotProvided?: boolean;
|
|
452
|
-
chartLimits?:
|
|
452
|
+
chartLimits?: ChartElementLimit;
|
|
453
453
|
}): {
|
|
454
454
|
dataUpdateNeeded: boolean;
|
|
455
455
|
dataUpdateDetails: DataUpdateDetails;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { ChartOptions } from "../../chart-rendering/common/interfaces.js";
|
|
2
2
|
import type { WebChartStatisticType } from "../../spec/chart-object-literals.js";
|
|
3
3
|
import type { WebChartBin, WebChartDataItem, WebChartDataTypes } from "../../spec/data-source.js";
|
|
4
|
-
import type { WebChart, WebChartSeriesType, WebGaugeChart } from "../../spec/web-chart.js";
|
|
4
|
+
import type { WebChart, WebChartDataFilters, WebChartSeriesType, WebGaugeChart } from "../../spec/web-chart.js";
|
|
5
|
+
import type { ChartElementLimit } from "../defaults/interfaces.js";
|
|
5
6
|
import type { QueryObject } from "../layer/interfaces.js";
|
|
6
7
|
import type { ErrorStrings } from "../localization/interfaces.js";
|
|
7
8
|
import type { ChartSubType } from "../misc/interfaces.js";
|
|
@@ -100,6 +101,7 @@ export function validateBarNLineChartDataItem(props: {
|
|
|
100
101
|
x: string;
|
|
101
102
|
y: string;
|
|
102
103
|
nullAsValid?: boolean;
|
|
104
|
+
zeroCountAsValid?: boolean;
|
|
103
105
|
aggregationType?: WebChartStatisticType;
|
|
104
106
|
}): boolean;
|
|
105
107
|
|
|
@@ -113,6 +115,7 @@ export function validateBarNLineChartDataItem(props: {
|
|
|
113
115
|
export function isEmptyDataset(props: {
|
|
114
116
|
chartConfig?: WebChart | WebGaugeChart;
|
|
115
117
|
nullAsValid?: boolean;
|
|
118
|
+
zeroCountAsValid?: boolean;
|
|
116
119
|
dataSet?: WebChartDataItem[];
|
|
117
120
|
}): boolean;
|
|
118
121
|
|
|
@@ -253,14 +256,14 @@ export function getSelectionItemsFromOIDs(props: {
|
|
|
253
256
|
selectionData?: ChartOptions["selectionData"];
|
|
254
257
|
replaceNoValueCategoryWithZero?: boolean;
|
|
255
258
|
hideZeroCountCategories?: boolean;
|
|
256
|
-
chartLimits?:
|
|
259
|
+
chartLimits?: ChartElementLimit;
|
|
257
260
|
setTimeBinningInfoWhenNotProvided?: boolean;
|
|
258
261
|
returnFeaturesExtent?: boolean;
|
|
259
262
|
popupTemplateFieldInfosEnabled?: boolean;
|
|
260
263
|
view?: ChartOptions["view"];
|
|
261
264
|
viewExtentUpdated?: ChartOptions["viewExtentUpdated"];
|
|
262
265
|
returnSelectionOIDs?: boolean | undefined;
|
|
263
|
-
runtimeDataFilters?:
|
|
266
|
+
runtimeDataFilters?: WebChartDataFilters;
|
|
264
267
|
ignoreViewExtent?: boolean;
|
|
265
268
|
errorStrings: ErrorStrings;
|
|
266
269
|
selectionIDsChanged: boolean;
|
|
@@ -275,6 +275,7 @@ export function buildQueryConfig(props: {
|
|
|
275
275
|
queryObject?: QueryObjectOrRaster;
|
|
276
276
|
chartConfig: WebChart;
|
|
277
277
|
runtimeDataFilters?: WebChartDataFilters;
|
|
278
|
+
filterByViewExtent?: boolean;
|
|
278
279
|
ignoreViewExtent?: boolean;
|
|
279
280
|
view?: ChartOptions["view"];
|
|
280
281
|
}): WebChartQuery;
|
|
@@ -33,7 +33,7 @@ export function getMaxRecords(layer?: Pick<FeatureLayer, "sourceJSON"> | Subtype
|
|
|
33
33
|
* @param operand - The operand to use to combine the filters (OR, AND...)
|
|
34
34
|
* @internal
|
|
35
35
|
*/
|
|
36
|
-
export function combineFilters(filterList: (string | null | undefined)[], operand?: string): string;
|
|
36
|
+
export function combineFilters(filterList: (number | string | null | undefined)[], operand?: string): string;
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* Computes the time extent to be used by the query.
|
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.78",
|
|
4
4
|
"description": "Reusable ArcGIS charting Web Components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"luxon": "~3.7.2",
|
|
42
42
|
"simple-statistics": "^7.8.8",
|
|
43
43
|
"tslib": "^2.8.1",
|
|
44
|
-
"@arcgis/
|
|
45
|
-
"@arcgis/
|
|
44
|
+
"@arcgis/lumina": "5.2.0-next.78",
|
|
45
|
+
"@arcgis/toolkit": "5.2.0-next.78"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@arcgis/core": "^5.2.0-next",
|
package/dist/cdn/3WSDELLU.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import f from"./6HKKSGTW.js";import e from"./3I5WM4MV.js";import d from"./YVQGX3ZX.js";import{c as K}from"./VMLRM5N5.js";import c from"./WLDEJGWX.js";import b from"./CKS3U7SE.js";import a from"./GYUBEC56.js";import{c as $,d as E,n as N}from"./4DPFB567.js";import{e as ne,f as We}from"./BGOWDCTO.js";import{J as re,K as Q,L as Re,Y as Ee,ba as Me,ca as Ve,ea as Pe,f as De,za as je}from"./WVIP7B4W.js";import{a as me,f as Ne}from"./KX7KGXKQ.js";import{d as qe,g as H,k as ke}from"./SP2IPHWF.js";import{a as oe}from"./QP5UAIC6.js";import{a as fe,c as $e}from"./KJZTU3DV.js";import{a as h,b as I,e as Oe,h as we,k as se,l as L,n as j,o as Le,v as q}from"./K4APZJ2O.js";export default $arcgis.t(([{substitute:Z},{$b:oi,Aa:ei,Ac:gi,Ba:R,Bb:ai,Ca:z,Cb:A,Cc:ui,Da:X,Ea:pe,Ec:yi,Fc:di,Ha:Se,Ic:mi,K:Ue,Ka:xe,Ma:ii,N:Ye,Qa:Fe,Z:He,ba:Qe,c:W,d:Ze,db:Be,fb:O,gb:w,hb:V,ib:he,ja:ze,jb:ti,jc:li,k:U,kb:si,lc:ci,ma:Xe,pa:Je,vb:ri,wb:ae,xa:Ke,xb:ni,ya:Ge,yb:J,z:_e,za:Y},{a:P,b:le,d:k,e:be,f:fi,g:ve,j:Ie,r:pi},{a:Si,b:xi,c:Fi},{a:Bi,e:hi},{b:ee},{a:bi,b:Te,f:M,g:G,i:ce}])=>{var kt=t=>{let e,i=t.series[0];return A(i)&&(e=i.temporalBinning?.size),e},Mi=t=>{let e,i=t.series[0];return A(i)&&(e=i.temporalBinning?.unit),e},Ot=t=>{let e,i=t.series[0];return A(i)&&(e=i.temporalBinning?.timeAggregationType),e},wt=t=>{let e,i=t.series[0];return A(i)&&(e=i.temporalBinning?.trimIncompleteTimeInterval),e},Lt=t=>{let e,i=t.series[0];return A(i)&&(e=i.temporalBinning?.nullPolicy),e},Vi=(t,e)=>{e?.series?.forEach(i=>{A(i)&&(i.temporalBinning??={},i.temporalBinning.size=t)}),k({config:e,value:null,axisIndex:1,isMax:!1}),k({config:e,value:null,axisIndex:1,isMax:!0})},Pi=(t,e)=>{e?.series?.forEach(i=>{A(i)&&(i.temporalBinning??={},i.temporalBinning.nullPolicy=t)}),k({config:e,value:null,axisIndex:1,isMax:!1}),k({config:e,value:null,axisIndex:1,isMax:!0})},Nt=(t,e)=>{e.series?.forEach(i=>{A(i)&&(i.temporalBinning??={},i.temporalBinning.unit=t)}),k({config:e,value:null,axisIndex:1,isMax:!1}),k({config:e,value:null,axisIndex:1,isMax:!0})},Dt=(t,e)=>{e.series?.forEach(i=>{A(i)&&(i.temporalBinning??={},i.temporalBinning.timeAggregationType=t)}),k({config:e,value:null,axisIndex:1,isMax:!1}),k({config:e,value:null,axisIndex:1,isMax:!0})},Rt=(t,e)=>{e.series?.forEach(i=>{A(i)&&(i.temporalBinning??={},i.temporalBinning.trimIncompleteTimeInterval=t)}),k({config:e,value:null,axisIndex:1,isMax:!1}),k({config:e,value:null,axisIndex:1,isMax:!0})},ji=t=>{Vi(0,t)},$i=Object.defineProperty,Wi=Object.getOwnPropertyDescriptor,Zi=(t,e,i,n)=>{for(var s=Wi(e,i),r=t.length-1,a;r>=0;r--)(a=t[r])&&(s=a(e,i,s)||s);return s&&$i(e,i,s),s},_i=t=>{let e;return W(t)?e=t.outTimeZone:t?.series.forEach(i=>{(i.type===h.BarSeries||i.type===h.RadarSeries||i.type===h.LineSeries)&&i.temporalBinning&&(e=i.temporalBinning.outTimeZone)}),e||(e=t?.axes?.[0]?.valueFormat.type===h.DateAxisFormat?t.axes[0].valueFormat.intlOptions.timeZone:void 0),e},ki=(t,e)=>{let i=ci(t);W(e)?t?e.outTimeZone=i:delete e.outTimeZone:e?.series.forEach(n=>{(n.type===h.BarSeries||n.type===h.RadarSeries||n.type===h.LineSeries)&&(t?(n.temporalBinning??={},n.temporalBinning.outTimeZone=i):n.temporalBinning&&delete n.temporalBinning.outTimeZone)}),e?.axes?.[0]?.valueFormat.type===h.DateAxisFormat&&(t?e.axes[0].valueFormat.intlOptions.timeZone=i:delete e.axes[0].valueFormat.intlOptions.timeZone)},Ce=class extends xi{get timeZone(){return _i(this._config)}set timeZone(e){ki(e,this._config),this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))}};Zi([Fi],Ce.prototype,"timeZone");function Et(t,e){let i;return e!==void 0&&(i={...e},i.legend!==void 0&&(i.legend.position=t)),i}function Mt(t,e){let i;return e!==void 0&&(i={...e},i.legend!==void 0&&(i.legend.visible=t)),i}function Vt(t,e){let i;return e!==void 0&&(i={...e,rotated:t}),i}function Ui(t){let e;return t!==void 0&&(e={...t},delete e.axes?.[0]?.minimum,delete e.axes?.[0]?.maximum,delete e.axes?.[1]?.minimum,delete e.axes?.[1]?.maximum),e}function Pt(t,e){return e!=null||Be(t)}async function jt(t){let{config:e,layer:i,abortSignal:n}=t,s=!1;return ne(i)||We(e)?e&&ne(i)&&(s=await Je({config:e,layer:i,abortSignal:n})):s=!0,s}async function Yi(t){let{queryObject:e,chartConfig:i,splitByField:n,errorStrings:s,abortSignal:r,runtimeDataFilters:a,ignoreViewExtent:o,setTimeBinningInfoWhenNotProvided:l,returnFeaturesExtent:y,returnStatisticsAggregatedIds:f,chartLimits:p}=t,g=[],d,u=H(i),m=u.series[0],c=ii({queryObject:e,chartConfig:u,runtimeDataFilters:a,ignoreViewExtent:o});if(c.outStatistics?.[0]?.outStatisticFieldName&&(c.outStatistics[0].outStatisticFieldName=De.outStatistics.outStatisticFieldName),A(m)&&ai({xAxisValueFormatType:_e(u),setTimeBinningInfoWhenNotProvided:l,seriesConfig:m,queryObject:e})&&Ue(n,e)){let{temporalBinning:B,x:F}=m,{uniqueQuery:S}=Fe({chartConfig:u,queryConfig:c,queryObject:e,setTimeBinningInfoWhenNotProvided:l,returnFeaturesExtent:y,chartLimits:p}),T=i.axes?.[0].valueFormat.type===h.DateAxisFormat?i.axes[0].valueFormat.intlOptions.timeZone:void 0;d=await Xe({queryObject:e,dateField:F,splitByField:n,queryConfig:S,axisTimeZone:T,temporalBinning:B,returnStatisticsAggregatedIds:f,errorStrings:s,abortSignal:r}),g=Array.from(new Set(d.flatMap(v=>{let{stackedAttributes:b}=v,C=[];return b&&(C=b.map(x=>x[n]).filter(x=>x!==void 0)),C})).values())}else{let{uniqueQuery:B}=Fe({chartConfig:u,queryObject:e,queryConfig:c,setTimeBinningInfoWhenNotProvided:l,returnFeaturesExtent:y,chartLimits:p}),{elementCount:F}=await gi({chartConfig:u,queryObject:e,queryConfig:c,behaviorAfterLimit:p?.behaviorAfterLimit,numberMaxOfFeaturesToFetch:B.num,abortSignal:r});d=await ze({queryObject:e,queryConfig:B,featureCount:F,returnStatisticsAggregatedIds:f,errorStrings:s,abortSignal:r}),g=Array.from(new Set(d.map(S=>S.attributes[n]).filter(S=>S!==void 0)).values())}return{allValues:g,preFetchedQueryResponse:d}}function Hi(t,e){let i=new Map;return t.series.forEach(n=>{let s=ae({where:n.query?.where,normalize:!0,escape:!1});e&&s!==null&&(s=Number(s));let r=fe([n]);r!==void 0&&i.set(r,[...i.get(r)??[],s])}),i}function Qi(t){let{allValues:e,configUniqueValuesPerSeriesType:i,initialConfigWasEmpty:n}=t,s=new Map;return Array.from(i.keys()).forEach(r=>{let a=i.get(r)??[],o=[];n?o=e:e.forEach(l=>{a.includes(l)||o.push(l)}),s.set(r,o)}),s}function zi(t){let{chartConfig:e,missingValue:i,splitByField:n,seriesTemplate:s}=t,r=JSON.parse(JSON.stringify({...e.series[0],...s}));if(r.query){if(i===null?r.id=$.nullValue:i===""?r.id=$.emptyStringValue:r.id=`${i}`,r.name=`${i}`,r.query.outStatistics?.[0]!==void 0){let o=r.id;r.query.outStatistics[0].outStatisticFieldName=o,"y"in r&&(r.y=o)}let a=typeof i=="number"||i===null?i:`'${i}'`;r.query.where=`${n}=${a}`}return r}async function Xi(t){let{updateSplitBySeries:e,config:i,queryObject:n,errorStrings:s,abortSignal:r,runtimeDataFilters:a,ignoreViewExtent:o,setTimeBinningInfoWhenNotProvided:l,returnFeaturesExtent:y,returnStatisticsAggregatedIds:f,chartLimits:p}=t,{seriesTemplate:g}=e??{},d;if(n&&!ne(n)&&e!==void 0&&i!==void 0&&(i.series.length>0||g!==void 0)&&e.addMissingSeries){let u=i.series.length===0;i.series.length===0&&g!==void 0&&i.series.push(g);let m=J(i.series);if(m===E.BoxPlotMonoFieldAndSplitBy||m===E.BoxPlotMultiFieldsAndSplitBy||m===E.BoxPlotMonoFieldAndCategoryAndSplitBy||m===E.BarAndLineSplitBy||m===E.BarAndLineSplitByNoAggregation){let c=ri(i.series[0]?.query?.where),B=Ke(n),F=Ge(c,B),S=F?ei(F):!1,T=await Yi({queryObject:n,chartConfig:i,splitByField:c,abortSignal:r,runtimeDataFilters:a,ignoreViewExtent:o,setTimeBinningInfoWhenNotProvided:l,returnFeaturesExtent:y,returnStatisticsAggregatedIds:f,chartLimits:p,errorStrings:s}),{allValues:v}=T;if({preFetchedQueryResponse:d}=T,v.length>0){let b=Hi(i,S),C=Qi({allValues:v,configUniqueValuesPerSeriesType:b,initialConfigWasEmpty:u});Array.from(C.keys()).forEach(x=>{(C.get(x)??[]).forEach(_=>{i.series.push(zi({chartConfig:i,seriesTemplate:g,missingValue:_,splitByField:c}))}),u&&i.series.shift()})}}}return d}function Ji(t,e){e&&!Be(e)&&(e=Ye({chartConfig:e,queryObject:t}))}async function $t(t){let{configToAlter:e,layer:i,addMissingSeries:n,updateSplitBySeries:s,chartContainer:r,queryObject:a,abortSignal:o,runtimeDataFilters:l,ignoreViewExtent:y,setTimeBinningInfoWhenNotProvided:f,returnFeaturesExtent:p,returnStatisticsAggregatedIds:g,chartLimits:d,timeZone:u,errorStrings:m}=t,c=e,B;return c&&(Ji(i,c),c=await Si(c,i,void 0,o),n&&a&&(B=await Xi({updateSplitBySeries:s,config:c,queryObject:a,errorStrings:m,abortSignal:o,runtimeDataFilters:l,ignoreViewExtent:y,setTimeBinningInfoWhenNotProvided:f,returnFeaturesExtent:p,returnStatisticsAggregatedIds:g,chartLimits:d})),c=oi(c,r),ki(u,c)),{alteredConfig:c,preFetchedQueryResponse:B}}function Ki(t,e){let i=!1;if(e!==void 0){let n=yi({key:Qe.Average,splitBy:e});i=Number.isFinite(t[n])}return i}function Wt(t){let{data:e,config:i,showEmptySeries:n}=t,s=i.series.length,r=H(i),a=!1;if(!n&&s>1&&e){let o=ui(e),l=fe(i?.series),y=J(i?.series),f=new Set;switch(l){case h.ComboLineAndBarSeries:case h.BarSeries:case h.RadarSeries:case h.LineSeries:{r.series.forEach(g=>{if(Array.isArray(o)){let d="";"y"in g&&(d=Array.isArray(g.y)?g.y[0]:g.y,y===E.BarAndLineSplitByNoAggregation&&(d=`${d}_${ae({where:g.query?.where,keepSurroundingQuotes:!1,escape:!1})}`),o.some(u=>mi({dataItem:u,x:g.x,y:d,aggregationType:i.series[0].query?.outStatistics?.[0]?.statisticType}))&&f.add(g))}});break}case h.BoxPlotSeries:{if(Ze(i)){let g=He(i);i.series.forEach(d=>{let u,m;d.type===h.BoxPlotSeries?(u=e.dataItems,m=u?.some(c=>di({dataItem:c,splitBy:d.query?.where,showOutliers:g}))):d.type===h.LineSeries&&(u=e.meanLines,m=u?.some(c=>Ki(c,d.query?.where))),m&&f.add(d)})}break}}let p=Array.from(f.values());a=p.length>0&&p.length<s,a&&(r.series=p)}return{seriesFilteredOut:a,filteredConfig:r}}var Zt=t=>t.hideEmptyRowsAndColumns,_t=(t,e)=>{t.hideEmptyRowsAndColumns=e},Ut=(t,e)=>{let i=t.series[0];i.heatRulesType=e},Yt=t=>t.series[0].heatRulesType,Ht=(t,e)=>{let i=t.series[0];i.gradientRules=e},Qt=t=>t.series[0].gradientRules,zt=t=>{let{yField:e,config:i,layerInfo:n,commonStrings:s}=t,{layerFieldsInfo:r}=n,a=K(1,i),o=Gi(i),l=ee(i),y=i.series[0];if(typeof e=="string"&&o!==e&&y){if(y.y=e,Ui(i),o===a||l){let f=N(r,e);P(i,1,f)}Oi({commonStrings:s,config:i,layerInfo:n})}},Gi=t=>t.series[0].y??"",Xt=t=>{let{binning:e,config:i,commonStrings:n}=t,s=i.series[0];if(s.xTemporalBinning=e,e?.unit!==void 0&&e.unit in n.utilsStrings.heatChartCalendarDatePartsUnits){let r=n.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];P(i,0,r)}ge({axisIndex:0,commonStrings:n,config:i})},et=t=>t.series[0].xTemporalBinning,Jt=t=>{let{binning:e,config:i,commonStrings:n}=t,s=i.series[0];if(s.yTemporalBinning=e,e?.unit!==void 0&&e.unit in n.utilsStrings.heatChartCalendarDatePartsUnits){let r=n.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];P(i,1,r)}ge({axisIndex:1,commonStrings:n,config:i})},it=t=>t.series[0].yTemporalBinning,tt=(t,e)=>{e.orderOptions??={};let i=e.axes?.[0]?.valueFormat?.type==="category"?q.Category:q.YValue,n=Ae(e)[0],s=e.axes?.[1]?.valueFormat?.type==="category"?q.Category:q.YValue,r=Ae(e)[1],a={...e.orderOptions.data??{},orderType:q.MultiAxes};n===oe.customSort&&i===q.Category&&(a.orderByX=[...t]),r===oe.customSort&&s===q.Category&&(a.orderByY=[...t]),Object.keys(a).length>1&&(e.orderOptions.data=a)},Kt=(t,e)=>{let i=e.series[0];i.gridLine&&(i.gridLine.width=t)},Gt=t=>t.series[0].gridLine?.width,es=(t,e)=>{let i=e.series[0],n=t?.length===4&&t.every(s=>typeof s=="number");i.gridLine&&n&&(i.gridLine.color=t)},is=t=>t.series[0].gridLine?.color,ts=(t,e)=>{let i=e.legend;i&&(i.position=t)},ss=t=>t.legend?.position??Oe.Bottom,rs=t=>t.series[0].query?.outStatistics?.[0]?.onStatisticField,ns=t=>{let{field:e,config:i,layerInfo:n,commonStrings:s}=t,r=i.series[0].query?.outStatistics?.[0],a=de(i,n,s);r?(r.onStatisticField=e,r.outStatisticFieldName=`${r.statisticType}_${e}`):i.series[0].query={outStatistics:[{onStatisticField:e,outStatisticFieldName:`${I.Count}_${e}`,statisticType:I.Count}]},a&&i.title&&(i.title.content.text=ie(i,n,s))},as=t=>t.series[0].query?.outStatistics?.[0].statisticType??I.Count,os=t=>{let{aggregationType:e,config:i,layerInfo:n,commonStrings:s}=t,r=i.series[0]?.query?.outStatistics?.[0],a=de(i,n,s);r&&e!==I.NoAggregation&&(r.statisticType=e,r.outStatisticFieldName=`${e}_${r.onStatisticField}`),(e===I.Count||e===I.Sum)&&st(j.Zero,i),a&&i.title&&(i.title.content.text=ie(i,n,s))},ls=t=>t.nullPolicy,st=(t,e)=>{e.nullPolicy=t},cs=t=>t.series[0].emptyCells,gs=(t,e)=>{e.series[0].emptyCells=t},us=t=>t.series[0].emptyCells?.text,ys=(t,e)=>{e.series[0].emptyCells?e.series[0].emptyCells.text=t:e.series[0].emptyCells={text:t}},ds=t=>t.includeLeapDay,ms=(t,e)=>{e.includeLeapDay=t},fs=t=>t.series[0].emptyCells?.symbol,ps=(t,e)=>{e.series[0].emptyCells?e.series[0].emptyCells.symbol=t:e.series[0].emptyCells={symbol:t}};function Ss(t){return t.viewType}function xs(t,e){li(e)||(e.viewType=t)}function Fs(t){return t.series[0].classBreaksRules?.breaksCount??$.classBreaks.breaksCount}function Bs(t,e){e.series[0].classBreaksRules!==void 0?e.series[0].classBreaksRules.breaksCount=t??$.classBreaks.breaksCount:e.series[0].classBreaksRules={breaksCount:t??$.classBreaks.breaksCount}}function hs(t){return t.series[0].classBreaksRules?.classificationMethod}function bs(t,e){e.series[0].classBreaksRules!==void 0?e.series[0].classBreaksRules.classificationMethod=t:e.series[0].classBreaksRules={classificationMethod:t},e.series[0].classBreaksRules.breaksCount=e.series[0].classBreaksRules.breaksCount??$.classBreaks.breaksCount}function vs(t,e){e.firstDayOfWeek=t}function Is(t){return t.firstDayOfWeek}function Ts(t){return t.series[0].classBreaksRules?.colorRampInfo?.name}function Cs(t,e){e.series[0].classBreaksRules!==void 0?e.series[0].classBreaksRules.colorRampInfo={...e.series[0].classBreaksRules.colorRampInfo,name:t}:e.series[0].classBreaksRules={colorRampInfo:{name:t,flipped:!1}}}function As(t){return t.series[0].classBreaksRules?.colorRampInfo?.flipped??!1}function qs(t,e){e.series[0].classBreaksRules!==void 0?e.series[0].classBreaksRules.colorRampInfo={...e.series[0].classBreaksRules.colorRampInfo,flipped:t}:e.series[0].classBreaksRules={colorRampInfo:{flipped:t}}}var rt=[L.DayOfMonth,L.MonthOfYear],vi=t=>{let e;return z(t)?e=re():(R(t)||X(t))&&(e=Q()),e},Ii=t=>R(t)||X(t),Ti=t=>{let{axisIndex:e,commonStrings:i,config:n,valueFormat:s}=t,r=n.axes?.[e]?.valueFormat;s!==void 0&&r?.type!==s.type&&Ie({config:n,commonStrings:i,valueFormat:s,axisIndex:e})},nt=(t,e)=>{let i;return e===0?i=t.series[0]?.xTemporalBinning:e===1&&(i=t.series[0]?.yTemporalBinning),i},Ci=(t,e)=>t.utilsStrings.heatChartCalendarDatePartsUnits[e]??"",Ai=(t,e)=>{let i=rt[t];return t===0&&e?.unit===L.DayOfWeek?i=L.HourOfDay:t===1&&e?.unit===L.HourOfDay&&(i=L.DayOfWeek),{type:h.CalendarDateParts,unit:i}},at=t=>{let e={};switch(t.unit){case L.DayOfMonth:e={day:"2-digit"};break;case L.DayOfWeek:e={weekday:"short"};break;case L.HourOfDay:e={hour:"numeric",hour12:!1};break;case L.MonthOfYear:e={month:"short"};break;default:e=Q().intlOptions;break}return{type:h.DateAxisFormat,intlOptions:e}},qi=t=>{let{axisIndex:e,binning:i,commonStrings:n,config:s,fieldName:r,layerInfo:a}=t,o=s.series[0],l=K(e,s),y=N(a.layerFieldsInfo,r);e===0?o.xTemporalBinning=i:e===1&&(o.yTemporalBinning=i),i!==void 0&&(l===""||l===y||l===Ci(n,i.unit)||l===n.xAxis)&&P(s,e,Ci(n,i.unit))},ge=t=>{let{axisIndex:e,commonStrings:i,config:n}=t,s=nt(n,e),r=s?at(s):void 0;Ie({config:n,commonStrings:i,valueFormat:r,axisIndex:e})},Oi=t=>{let{commonStrings:e,config:i,layerInfo:n}=t,s=i.series[0]?.x??"",r=i.series[0]?.y??"",a=xe(n.layerFieldsInfo,s),o=xe(n.layerFieldsInfo,r),l=vi(a),y=vi(o),f=Ii(a)&&Ii(o),p=z(a)&&z(o);if(Ti({axisIndex:0,commonStrings:e,config:i,valueFormat:l}),Ti({axisIndex:1,commonStrings:e,config:i,valueFormat:y}),f){let g=et(i)===void 0,d=it(i)===void 0;g&&(qi({axisIndex:0,binning:Ai(0,i.series[0].yTemporalBinning),commonStrings:e,config:i,fieldName:s,layerInfo:n}),ge({axisIndex:0,commonStrings:e,config:i})),d&&(qi({axisIndex:1,binning:Ai(1,i.series[0].xTemporalBinning),commonStrings:e,config:i,fieldName:r,layerInfo:n}),ge({axisIndex:1,commonStrings:e,config:i}))}p&&(i.series[0].xTemporalBinning=void 0,i.series[0].yTemporalBinning=void 0)};function ot(t){let e={};return t.series.forEach(i=>{$e(i)&&"nullCategory"in i&&i.nullCategory!==void 0&&(e.text??=i.nullCategory.text,i.type===h.BarSeries?e.fillSymbol??=i.nullCategory.fillSymbol:e.markerSymbol??=i.nullCategory.markerSymbol)}),e.text||e.fillSymbol||e.markerSymbol?e:void 0}function ue(t){let{seriesIndex:e,xAxisField:i,aggregationType:n,config:s,layerInfo:r,commonStrings:a}=t,o=Y(r?.layer).idField,l,y=s.series[e??0],f=!1,p=!1,g=!1;if(y===void 0){let b=s.series;f=b.slice(0,e).every(C=>O(C)),p=b.slice(0,e).every(C=>w(C)),g=b.slice(0,e).every(C=>he(C))}else f=O(y),p=w(y),g=he(y);f?l=Me({commonStrings:a,seriesIndex:e,objectIDField:o}):p?l=Ve({commonStrings:a,seriesIndex:e,objectIDField:o}):g?l=Ee(a,o):l=Pe({seriesIndex:e,objectIDField:o,commonStrings:a});let d=s.series[0]?.dataLabels,u="nullCategory"in s.series[0]?ot(s):void 0,m="binTemporalData"in s.series[0]?s.series[0].binTemporalData:void 0,c="classBreakRules"in s.series[0]?s.series[0].classBreakRules:void 0,B="xTemporalBinning"in s.series[0]?s.series[0].xTemporalBinning:void 0,F="yTemporalBinning"in s.series[0]?s.series[0].yTemporalBinning:void 0,S="emptyCells"in s.series[0]?s.series[0].emptyCells:void 0,T=s.series[0].query&&"fetchNullValues"in s.series[0].query?s.series[0].query?.fetchNullValues:void 0,v={...l,x:i,y:"",dataLabels:{...l.dataLabels,type:l.dataLabels?.type??h.Text,content:{...l.dataLabels?.content,...d?.content,type:Ne.TS},visible:d?.visible??!1},...u!==void 0?{nullCategory:u}:{},...m!==void 0?{binTemporalData:m}:{},...c!==void 0?{classBreakRules:c}:{},...B!==void 0?{xTemporalBinning:B}:{},...F!==void 0?{yTemporalBinning:F}:{},...S!==void 0?{emptyCells:S}:{}};if(v.query={groupByFieldsForStatistics:[i],...T!==void 0?{fetchNullValues:T}:{}},n!==I.NoAggregation&&o!==void 0){let b=`${n}_${o}_0`.toUpperCase();v.y=b,v.query.outStatistics=[{statisticType:n,onStatisticField:o,outStatisticFieldName:b}]}if(A(s.series[0])&&A(v)){let b=Mi(s);b===se.Quarter&&(b=se.Month),v.temporalBinning={...s.series[0]?.temporalBinning,unit:b}}return H(v)}function ie(t,e,i){let{layerFieldsInfo:n}=e,{idField:s,isTraditionalTypeOID:r}=Y(e.layer),a=M(t),o=te(t),l=Li(t),y=ye(t),f=r&&(o.length===0||o.includes(s)),p=je(l,i),g=f?"":o.map(S=>N(n??[],S)).join(", "),d=N(n??[],a),u=N(n??[],y),m=t.series.some(S=>V(S)),c=m?"category":"xAxisField",B=d,F="";if(ce({fieldName:a,numericFields:o,fieldList:n}))F=Z(i.titleLabels.aggrTypeOfAggrFields,{aggregationType:p,aggregationFields:g});else if(l===I.NoAggregation){let S=f?s:g;if(y===""){let T=m?"aggrTypeCategory":"aggrTypeXAxisField";F=Z(i.titleLabels[T],{aggregationType:S,[c]:B})}else{let T=m?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";F=Z(i.titleLabels[T],{aggregationType:S,[c]:B,splitByField:u})}}else if(l===I.Count)if(y===""){let S=m?"aggrTypeCategory":"aggrTypeXAxisField";F=Z(i.titleLabels[S],{aggregationType:p,[c]:B})}else{let S=m?"aggrTypeCategoryBySplitBy":"aggrTypeXAxisFieldBySplitBy";F=Z(i.titleLabels[S],{aggregationType:p,[c]:B,splitByField:u})}else if(y!==""){let S=m?"aggrTypeOfAggrFieldByCategoryBySplitByField":"aggrTypeOfAggrFieldByXAxisFieldBySplitByField";F=Z(i.titleLabels[S],{aggregationType:p,aggregationField:g,[c]:B,splitByField:u})}else if(o.length>0){let S=m?"aggrTypeOfAggrFieldsByCategory":"aggrTypeOfAggrFieldsByXAxisField";F=Z(i.titleLabels[S],{aggregationType:p,aggregationFields:g,[c]:B})}return F}var wi=t=>ae({where:t.query?.where,normalize:!1,escape:!1})??"",Li=t=>t?.series?.[0]?.query?.outStatistics?.[0]?.statisticType??I.NoAggregation,ye=qe(t=>{let e=t?.series?.[0]?.query?.where?.split("=")[0].trim()??"";return ni(t?.series?.[0]?.query?.where)?"":e},t=>t?.series?.[0]?.query?.where),te=t=>{let e=[];if(ye(t)==="")e=t?.series.map(i=>{let n=i.query?.outStatistics?.map(s=>s.onStatisticField)??[];return n?.length>0?n:i.y}).flat()??[];else{let i=t?.series?.[0],n=i?.query?.outStatistics?.[0]?.onStatisticField??[i?.y].flat()[0];e=n!==void 0?[n]:[]}return e.filter(i=>i!=="")};function Ni(t){let{splitByField:e,numericFields:i,layer:n,seriesIndex:s}=t,r=Y(n).idField??"";return e===""?i[s]??r:i[0]??r}function lt(t){let{numericFields:e,aggregationType:i,config:n,layerInfo:s}=t,r=!1;i===I.Count?r=!0:i===I.NoAggregation&&(r=e.every(l=>{let y=s.layerFieldsInfo.find(f=>f.name===l);return y!==void 0?pe(y):!1})),ve(n,1,r);let a=n.series.some(l=>O(l)),o=n.series.some(l=>w(l));if(a||o){let l=M(n),y=s.layerFieldsInfo.find(p=>p.name===l),f=y!==void 0&&pe(y);ve(n,0,f)}}var Ae=t=>{let e;if(W(t)){let i=t.orderOptions?.data?.orderByX??[""],n=t.orderOptions?.data?.orderByY??[""],s=t.axes?.[0]?.valueFormat?.type==="category"?q.Category:q.YValue,r=t.axes?.[1]?.valueFormat?.type==="category"?q.Category:q.YValue;e=[Te(i,s),Te(n,r)]}else{let i=t.orderOptions?.data?.orderType??q.Category,n=t.orderOptions?.data&&"orderBy"in t.orderOptions.data?t.orderOptions.data.orderBy:we.Ascending;e=[bi(n,i)]}return e};function ct(t){let{xAxisField:e,numericFields:i,aggregationType:n,config:s,layerInfo:r,commonStrings:a}=t,{layerFieldsInfo:o}=r,l=ue({config:s,xAxisField:e,aggregationType:n,layerInfo:r,seriesIndex:0,commonStrings:a}),y=G({config:s,xAxisField:e,numericFields:i,aggregationType:n,layer:r.layer,fieldList:o}).name,f=M(s),p=te(s),g=ce({fieldName:f,numericFields:p,fieldList:o})?s.series[0]:void 0,d=`series_${Date.now()}`,u=g?.id??d,m=g?.name??a.axisLabels.values,c={...g??l,id:u,name:m,x:U,y},B=[];for(let F of i)B.push({onStatisticField:F,outStatisticFieldName:`${F}_0`.toUpperCase(),statisticType:n});return c.query={outStatistics:B},s.series.length===1&&((O(c)||w(c))&&Ri(c,s.series[0]),V(c)?c.fillSymbol=s.series[0].fillSymbol:(O(c)||w(c))&&(c.lineSymbol=s.series[0].lineSymbol,c.markerSymbol=s.series[0].markerSymbol)),[c]}function Di(t){let{xAxisField:e,numericFields:i,aggregationType:n,config:s,layerInfo:r,commonStrings:a}=t,{layerFieldsInfo:o}=r,l=Y(r.layer).idField,y=[];for(let u=0;u<i.length;u+=1){let m=ue({config:s,xAxisField:e,aggregationType:n,layerInfo:r,seriesIndex:u,commonStrings:a}),c=s.series[u]?.y,B=typeof c=="string"&&c.trim()!==""&&!o.find(D=>D.name===c)?c:G({config:s,xAxisField:e,numericFields:i,aggregationType:n,layer:r.layer,numericFieldIndex:u,fieldList:o}).name,F=i[u],S=s.series.find(D=>D.query?.where===void 0&&(D.query?.outStatistics?.length===1&&D.query?.outStatistics?.[0]?.onStatisticField===F||D.query?.outStatistics===void 0&&(D.y===F||D.x===F))),T=F!==l?F:m.id,v=S?.id??T,b=S?.name??N(o,F)??v,C=S??m,x={...C,id:v,name:b},_=F;x.query!==void 0&&(n!==I.NoAggregation?(_=x.type===h.HeatSeries&&S?.type===h.HeatSeries?F:B,x.query.outStatistics=[{...C.query?.outStatistics?.[0]??{},onStatisticField:F,outStatisticFieldName:B,statisticType:n}]):delete x.query.outStatistics),x.y=_,y.push(x)}let f=y.filter(u=>V(u)),p=y.filter(u=>O(u)||w(u)),g=s.series.filter(u=>V(u)),d=s.series.filter(u=>O(u)||w(u));return g.length===1&&f.length===1&&V(g[0])&&V(f[0])&&(f[0].fillSymbol=g[0].fillSymbol),d.length===1&&p.length===1&&((O(d[0])&&O(p[0])||w(d[0])&&w(p[0]))&&Ri(p[0],d[0]),(O(d[0])&&O(p[0])||w(d[0])&&w(p[0]))&&(p[0].lineSymbol=d[0].lineSymbol,p[0].markerSymbol=d[0].markerSymbol)),y}function ks(t){let{aggregationType:e,config:i,layerInfo:n,commonStrings:s}=t,{layerFieldsInfo:r,layer:a}=n,o=M(i),l=te(i),y=ye(i),f=de(i,n,s),p=Ei(i,n,s);if(i.series.forEach((g,d)=>{let u=G({config:i,xAxisField:o,numericFields:l,aggregationType:e,splitByField:y,layer:a,seriesIndex:d,numericFieldIndex:d,fieldList:r}).name;g.y=u;let m=Ni({splitByField:y,numericFields:l,layer:a,seriesIndex:d}),c=g.query?.outStatistics?.[0]?.onStatisticField??m;g.query={...g.query,outStatistics:e===I.NoAggregation?void 0:[{...g.query?.outStatistics?.[0],outStatisticFieldName:u,statisticType:e,onStatisticField:c}]},"temporalBinning"in g&&g.temporalBinning!==void 0&&(g.temporalBinning.nullPolicy=e===I.NoAggregation?j.Interpolate:j.Null),e===I.NoAggregation&&ji(i)}),f&&i.title&&(i.title.content.text=ie(i,n,s)),p&&i.series[0].type!==h.HeatSeries){let g=le({config:i,layerInfo:n,commonStrings:s,numericFields:l,aggregationType:e});P(i,1,g)}}function gt(t){let{splitByField:e,xAxisField:i,numericFields:n,aggregationType:s,config:r,layerInfo:a,commonStrings:o,splitByFieldInfos:l}=t,{layer:y,layerFieldsInfo:f}=a,{categoriesArray:p,splitByFieldType:g}=l,d=Ni({splitByField:e,numericFields:n,layer:y,seriesIndex:0}),u=[];if(p.length===0){u=Di({xAxisField:i,numericFields:n,aggregationType:s,config:r,layerInfo:a,commonStrings:o});for(let m of u)m.query&&(m.query.where=`${e}=''`)}else for(let m=0;m<p.length;m+=1){let c=p[m],B=G({config:r,xAxisField:i,numericFields:n,aggregationType:s,layer:a.layer,seriesIndex:m,splitByField:e,fieldList:f}).name,F=ue({config:r,xAxisField:i,aggregationType:s,layerInfo:a,seriesIndex:m,commonStrings:o}),S=Se({queryObject:a.layer,fieldName:e,fieldValue:c??""}),T=`${c}`,v=r.series.find(D=>String(wi(D)).trim().replace(/'/gu,"")===T),b=v?.id??T,C=v?.name??S??b,x=v??F,_={...x,id:b,name:C,y:B,query:{...x.query,where:`${e}=${g===me.String&&c!==null?`'${c}'`:c}`,outStatistics:s!==I.NoAggregation?[{...x.query?.outStatistics?.[0]??{},onStatisticField:d,outStatisticFieldName:B,statisticType:s}]:void 0}};u.push(_)}return u}var Os=t=>{let{xAxisFieldName:e,splitByField:i,numericFields:n,aggregationType:s,config:r,layerInfo:a,commonStrings:o,splitByFieldInfos:l}=t,{layerFieldsInfo:y}=a??{},f=H(r),p=hi(r),g=M(f),d=y.find(x=>x.name===g),u=r.series[0]?.query===void 0,m=y.find(x=>x.name===e),c=de(f,a,o),B=Ei(f,a,o),F=ut({config:f,layerInfo:a,commonStrings:o}),S=be(r),T=f.series.some(x=>V(x)),v=ti(f.series),b=si(f.series),C=R(d)||R(m);if(z(m)?S=re():!X(d)&&X(m)?S=Q():!R(d)&&R(m)?S=Q():R(d)&&!R(m)&&(T?S=re():S=Re()),S!==void 0&&fi(r,o,S),p===0&&(r.series=[ue({config:r,xAxisField:e,aggregationType:s,layerInfo:a,commonStrings:o})]),r.series.forEach(x=>{x.x=e,x.query!==void 0&&(x.query.groupByFieldsForStatistics=[e])}),i===""||n.length>1?ce({fieldName:e,numericFields:n,fieldList:y})?r.series=ct({config:r,layerInfo:a,xAxisField:e,numericFields:n,aggregationType:s,commonStrings:o}):r.series=Di({config:r,layerInfo:a,xAxisField:e,numericFields:n,aggregationType:s,commonStrings:o}):l&&(r.series=gt({config:r,layerInfo:a,splitByField:i,xAxisField:e,numericFields:n,aggregationType:s,commonStrings:o,splitByFieldInfos:l})),F&&e!==U&&r.series[0].type!==h.HeatSeries){let x=N(y,e);P(r,0,x)}if(B&&r.series[0].type!==h.HeatSeries){let x=le({config:r,layerInfo:a,commonStrings:o,numericFields:n,aggregationType:s});P(r,1,x)}if(c&&r.title&&(r.title.content.text=ie(r,a,o)),k({config:r,value:null,axisIndex:1,isMax:!1}),k({config:r,value:null,axisIndex:1,isMax:!0}),lt({numericFields:n,aggregationType:s,config:r,layerInfo:a}),(v||b)&&(k({config:r,value:null,axisIndex:0,isMax:!1}),k({config:r,value:null,axisIndex:0,isMax:!0}),C&&s!==I.NoAggregation&&!W(f))){let x=R(m)?j.Null:j.Interpolate;Pi(x,r)}W(r)&&Oi({commonStrings:o,config:r,layerInfo:a}),r.series.forEach(x=>{u&&delete x.query,A(x)&&x.binTemporalData===void 0&&m?.type===me.TimeOnly&&(x.binTemporalData=!1)})},Ri=(t,e)=>{t.markerVisible=e.markerVisible,t.lineSmoothed=e.lineSmoothed,t.showArea=e.showArea,t.areaColor=e.areaColor,t.stackNegativeValuesToBaseline=e.stackNegativeValuesToBaseline,e.lineSymbol&&(t.lineSymbol={...e.lineSymbol,color:t.lineSymbol?.color}),e.markerSymbol&&(t.markerSymbol={...e.markerSymbol,color:t.markerSymbol?.color})},ws=t=>{let{config:e,seriesIndex:i,layerInfo:n,commonStrings:s}=t,r=e.series?.[i],a=ye(e),o;if(J(e.series)===E.BarAndLineFromFields)o=s.axisLabels.values;else if(ke(a)){let l=r.query?.outStatistics?.[0]?.onStatisticField;l!==void 0&&l!==Y(n.layer).idField&&(o=N(n.layerFieldsInfo,l))}else{let l=String(wi(r)).trim().replace(/'/gu,"");o=Se({queryObject:n.layer,fieldName:a,fieldValue:l??""})??l}return o??r.id},Ls=(t,e)=>{if(W(e))tt(t,e);else{e.orderOptions??={};let i=e.orderOptions?.data?.orderType;Ae(e)[0]===oe.customSort&&i===q.Category&&(e.orderOptions.data={orderType:q.Category,orderBy:[...t]})}},Ns=async t=>{let{config:e,layerInfo:i,errorStrings:n}=t,s=M(e),r=be(e)?.type,a=te(e),o=J(e.series),l=[];return r===h.CategoryAxisFormat&&(o===E.BarAndLineFromFields||s===U?l=a.map(y=>N(i?.layerFieldsInfo,y)):s.trim()!==""&&s!==U&&i!==void 0&&(l=await pi({layerInfo:i,config:e,category:s,errorStrings:n}))),l};function de(t,e,i){let n=ie(t,e,i),s=Bi(t),r=ee(t);return n===s||r}function Ei(t,e,i){let n=le({config:t,layerInfo:e,commonStrings:i,numericFields:te(t),aggregationType:Li(t)}),s=K(1,t),r=ee(t);return n===s||r}function ut(t){let{config:e,layerInfo:i,commonStrings:n}=t,s=N(i.layerFieldsInfo,M(e)),r=K(0,e),a=ee(e),o=M(e)===U&&(r===""||r===n.xAxis);return s===r||a||o}function Ds(t){return A(t.series[0])?t.series[0].binTemporalData??!0:!1}function Rs(t,e){e?.series.forEach(i=>{A(i)&&(i.binTemporalData=t,t?i.temporalBinning={unit:se.Day,size:0,timeAggregationType:Le.Start,trimIncompleteTimeInterval:!0,nullPolicy:j.Null}:delete i.temporalBinning)})}return{a:kt,b:Mi,c:Ot,d:wt,e:Lt,f:Vi,g:Pi,h:Nt,i:Dt,j:Rt,k:ji,l:ki,m:Ce,n:Et,o:Mt,p:Vt,q:Ui,r:Pt,s:jt,t:$t,u:Wt,v:Zt,w:_t,x:Ut,y:Yt,z:Ht,A:Qt,B:zt,C:Gi,D:Xt,E:et,F:Jt,G:it,H:Kt,I:Gt,J:es,K:is,L:ts,M:ss,N:rs,O:ns,P:as,Q:os,R:ls,S:st,T:cs,U:gs,V:us,W:ys,X:ds,Y:ms,Z:fs,_:ps,$:Ss,aa:xs,ba:Fs,ca:Bs,da:hs,ea:bs,fa:vs,ga:Is,ha:Ts,ia:Cs,ja:As,ka:qs,la:Oi,ma:ie,na:Li,oa:ye,pa:te,qa:Ae,ra:ks,sa:Os,ta:ws,ua:Ls,va:Ns,wa:Ds,xa:Rs}},"intl",a,b,c,d,e,f)
|
package/dist/cdn/5X7Q3I6R.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as n}from"./K4APZJ2O.js";function a(e){return e!==void 0&&"config"in e}function s(e){return e?.chartType===n.BarSeries}function u(e){return e?.chartType===n.LineSeries}function c(e){return e?.chartType===n.RadarSeries}function f(e){return e?.chartType===n.ComboLineAndBarSeries}function d(e){let r=e?.chartType;return r===n.LineSeries||r===n.BarSeries||r===n.ComboLineAndBarSeries||r===n.RadarSeries}function S(e){return e?.chartType===n.PieSeries}function p(e){return e?.chartType===n.BoxPlotSeries}function y(e){return e?.chartType===n.ScatterSeries}function T(e){return e?.chartType===n.HistogramSeries}function l(e){return e?.chartType===n.HeatSeries}function h(e){let r=[n.BarSeries,n.BoxPlotSeries,n.HistogramSeries,n.ScatterSeries,n.LineSeries,n.ComboLineAndBarSeries,n.HeatSeries];return e!==void 0&&r.includes(e.chartType)&&"getAxisTitleText"in e&&typeof e.getAxisTitleText=="function"}function g(e){return e!==void 0&&"getGuideVisibility"in e&&typeof e.getGuideVisibility=="function"}function v(e){return e!==void 0&&"addXAxisGuide"in e&&typeof e.addXAxisGuide=="function"}function x(e){return e!==void 0&&"addYAxisGuide"in e&&typeof e.addYAxisGuide=="function"}function m(e){return e!==void 0&&"legendVisibility"in e}function A(e){return e!==void 0&&"temporalBinningSize"in e}function B(e){return e!==void 0&&"nullCategory"in e}export{a,s as b,u as c,c as d,f as e,d as f,S as g,p as h,y as i,T as j,l as k,h as l,g as m,v as n,x as o,m as p,A as q,B as r};
|
package/dist/cdn/CKS3U7SE.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import a from"./GYUBEC56.js";import{C as $,j as C,n as v,r as k}from"./4DPFB567.js";import{e as b}from"./BGOWDCTO.js";import{F as q,H as j,J as B,Z as M,c as A,za as T}from"./WVIP7B4W.js";import{a as V}from"./KJZTU3DV.js";import{a as g,b as y,f as L,h as w}from"./K4APZJ2O.js";export default $arcgis.t(([{substitute:E},{Ga:P,Ha:I,Pa:S,dc:O,na:N,nb:U,wb:D,za:h}])=>{function ae(i,e,a){let t=i?.axes?.[e];t?.title!==void 0?t.title.content.text=a:t!==void 0&&(t.title=j({text:a,visible:!0,font:q(A.AxisTitle)}))}function ie(i){let{config:e,layerInfo:a,commonStrings:t,numericFields:r,aggregationType:s}=i,o="";if(e)if(C(e)===L.Stacked100)o=t.utilsStrings.statistics.percent;else{let n=T(s,t);if(e.series[0]?.type===g.HeatSeries)o=v(a.layerFieldsInfo,e.series[0].y);else if(r.length===1){let u=v(a.layerFieldsInfo,r[0]),f=h(a.layer).idField;s===y.NoAggregation?o=u:s===y.Count&&f!==void 0&&r[0]===f?o=t.utilsStrings.statistics.count:o=E(t.axisLabels.aggregationOfFieldName,{aggregation:n,fieldName:u})}else r.length>1&&(s===y.NoAggregation?o=t.axisLabels.values:o=E(t.axisLabels.aggregationOfValues,{aggregation:n}))}return o}var K=(i,e,a)=>i.axes?.[e]??M(a,i.type)[e],G=i=>{let{config:e,axis:a,axisIndex:t}=i;e.axes!==void 0&&(e.axes[t]=a)},re=i=>{let{config:e,axisIndex:a,isMax:t}=i,r=Number.NaN;return t?r=e.axes?.[a]?.maximum:r=e.axes?.[a]?.minimum,r??Number.NaN},H=i=>{let{config:e,value:a,axisIndex:t,isMax:r}=i,s=e?.axes?.[t];s!==void 0&&(r?s.maximum=a:s.minimum=a)},se=i=>i.axes?.[0]?.valueFormat??B(),oe=(i,e,a)=>{let t=K(i,0,e);if(t!==void 0&&a!==void 0){let r={...t,valueFormat:a};G({config:i,axis:r,axisIndex:0})}},ne=(i,e,a)=>{let t=i.axes?.[e];t!==void 0&&(t.integerOnlyValues=a)},R=i=>{let e=V(i.series);return e===g.BarSeries||e===g.ComboLineAndBarSeries||e===g.LineSeries},W=i=>{let{axisIndex:e,config:a,isMultiAxis:t}=i,r=!1;return e===0||e===1&&t?r=!0:e===2&&(r=R(a)),r},le=i=>{let{axisIndex:e,func:a,config:t}=i;return W({axisIndex:e,config:t,isMultiAxis:!0})?a(e):void 0},J=(i,e)=>{let a,t=e.axes?.[i]?.valueFormat;return(i===0||i>=1&&U(t))&&(a=t),a},ce=i=>{let{config:e,commonStrings:a,valueFormat:t,axisIndex:r=0}=i,s=K(e,r,a);if(s!==void 0&&t!==void 0){let o={...s,valueFormat:t};G({config:e,axis:o,axisIndex:r})}},ge=(i,e)=>i.axes?.[e]?.isLogarithmic??!1,ue=i=>{let{config:e,isLogarithmic:a,axisIndex:t}=i,r=e.axes?.[t];r&&(r.isLogarithmic=a,H({config:e,value:null,axisIndex:t,isMax:!0}),H({config:e,value:null,axisIndex:t,isMax:!1}))},fe=i=>{let{config:e,scrollbar:a,axisIndex:t}=i;e.axes?.[t]!==void 0&&(e.axes[t].scrollbar=a)};async function xe(i){let{config:e,layer:a,xAxisField:t,splitByField:r,layerFieldsInfo:s,aggregationFields:o,fetchNullValues:n,errorStrings:u}=i,f=s.filter(F=>F.name===r)[0]?.type,x=n!==!0?`${r} IS NOT NULL`:"",d=t&&n!==!0?`${t} IS NOT NULL`:"",{where:l}=e?.dataFilters??{},Q={where:S([l,x,d]),orderByFields:k(r)?[]:[`${r} ${w.Ascending}`],geometry:e?.dataFilters?.geometry},p="";o?.length===0?p=h(a).idField:o&&([p]=o);let m=a?b(a)?await N({layer:a,category:e?.series[0].x??"",splitByField:r}):await O({queryObject:a,category:e?.series[0].x??"",splitByField:r,queryConfig:Q,errorStrings:u}):[];if(m=m.slice(0,500),e){let F=e?.series.map(c=>D({where:c.query?.where})?.toString()??"").filter(c=>c!==void 0&&c!=="");m=$({arrayA:m,arrayB:F,getKey:c=>c===null?null:c?.toString()})}return{categoriesArray:m,splitByFieldType:f,numericalField:p}}function de(i,e){let a=e==="";for(let t of i)if(e===t.name){a=!0;break}return a}function me(i,e){let a=P(i),t=e.length===0,r=0;for(let s of e){for(let o of a)if(s===o&&(r+=1),r===e.length){t=!0;break}if(t)break}return t}function ye(i,e){e.forEach(a=>{Object.getOwnPropertyNames(a.prototype).forEach(t=>{Object.defineProperty(i.prototype,t,Object.getOwnPropertyDescriptor(a.prototype,t)||Object.create(null))})})}async function pe(i){let{layerInfo:e,config:a,category:t,errorStrings:r}=i,{layer:s}=e,{where:o}=a?.dataFilters??{},{fetchNullValues:n}=a?.series?.[0]?.query??{},u=n!==!0?`${t} IS NOT NULL`:"",f={where:S([o,u]),orderByFields:[],geometry:a?.dataFilters?.geometry},x;return b(s)?x=(await N({layer:s,category:t,fetchNullValues:n})).map(d=>{let l=String(d);return I({queryObject:e.layer,fieldName:t,fieldValue:l})??l}):x=(await O({queryObject:s,category:t,queryConfig:f,errorStrings:r})).map(d=>{let l=String(d);return I({queryObject:e.layer,fieldName:t,fieldValue:l})??l}),x}function Fe(i){return i!==void 0&&J(0,i)?.type===g.CategoryAxisFormat&&J(1,i)?.type===g.CategoryAxisFormat}return{a:ae,b:ie,c:re,d:H,e:se,f:oe,g:ne,h:le,i:J,j:ce,k:ge,l:ue,m:fe,n:xe,o:de,p:me,q:ye,r:pe,s:Fe}},"intl",a)
|