@arcgis/charts-components 5.2.0-next.89 → 5.2.0-next.90
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/{255J2IDZ.js → 2B4DKL3R.js} +1 -1
- package/dist/cdn/{AF2VHZ3K.js → 3HG6OEAW.js} +1 -1
- package/dist/cdn/{GF5RCT7U.js → 3K7H52Y5.js} +1 -1
- package/dist/cdn/{B3J7GR64.js → 44ICH2UX.js} +1 -1
- package/dist/cdn/{LF4LYD3D.js → 4A42J7HF.js} +1 -1
- package/dist/cdn/{VVLHQONN.js → 4JMHK7HK.js} +1 -1
- package/dist/cdn/{G45UKTNI.js → 4JWNKQ22.js} +1 -1
- package/dist/cdn/{QYAEDUSX.js → 4O4L6CM3.js} +1 -1
- package/dist/cdn/{T6DZBPJC.js → 4QQRIMTI.js} +1 -1
- package/dist/cdn/{LPS3VU35.js → 4VW736DF.js} +1 -1
- package/dist/cdn/{KLWPXDAD.js → 54LUEUIT.js} +1 -1
- package/dist/cdn/{M6OCFMDB.js → 57PMXO2G.js} +1 -1
- package/dist/cdn/{AEKNZ5HX.js → 5YBMIR4F.js} +1 -1
- package/dist/cdn/{4V35YCIC.js → 65HVRSR6.js} +1 -1
- package/dist/cdn/{ENVLWI5H.js → 6K6Z6CQE.js} +1 -1
- package/dist/cdn/{WSHAUD65.js → 73DFT5MR.js} +1 -1
- package/dist/cdn/{MEOVOANP.js → 7HANUCEA.js} +1 -1
- package/dist/cdn/{3KDTVBIG.js → BHJHX65O.js} +1 -1
- package/dist/cdn/{TXFV35UH.js → BZEYWH2F.js} +1 -1
- package/dist/cdn/{LPZD4ZKK.js → BZIGQJAH.js} +1 -1
- package/dist/cdn/{IDH345JS.js → CDWFPVYG.js} +1 -1
- package/dist/cdn/{LMT3CJIW.js → CKRZTUGB.js} +1 -1
- package/dist/cdn/{J47KRLNI.js → COSE26XR.js} +1 -1
- package/dist/cdn/{WSL3KIDE.js → CPDE3ZSY.js} +1 -1
- package/dist/cdn/{IWY3WAPJ.js → D5O2M65G.js} +1 -1
- package/dist/cdn/{K3ZRQQD7.js → D7LBGWWL.js} +1 -1
- package/dist/cdn/{FHYZ5QCJ.js → DLCJMSYG.js} +1 -1
- package/dist/cdn/{YEZO2L2D.js → DOE5S7EP.js} +1 -1
- package/dist/cdn/{7DCT627N.js → EFXNPF4V.js} +1 -1
- package/dist/cdn/{5DIUGUTH.js → ELNZ7PTF.js} +1 -1
- package/dist/cdn/{NEDOBJNH.js → F66W272X.js} +1 -1
- package/dist/cdn/{V3ITNIER.js → F6VXAPTT.js} +1 -1
- package/dist/cdn/{RMRXMLPD.js → GK6IJBRW.js} +1 -1
- package/dist/cdn/{CM4FOO3G.js → GUMN6KPP.js} +1 -1
- package/dist/cdn/{BO3LKAOY.js → GUWBPR2H.js} +1 -1
- package/dist/cdn/{ER6XIB34.js → GVJF3VFV.js} +1 -1
- package/dist/cdn/{KWN3N6VE.js → H2NVXIPH.js} +2 -2
- package/dist/cdn/{LXKZKLGE.js → H4R2P2BO.js} +1 -1
- package/dist/cdn/{NBZGC5RR.js → HIVJRWLF.js} +1 -1
- package/dist/cdn/{6WWEQU3O.js → HSIYQNVK.js} +1 -1
- package/dist/cdn/{IP46DLF6.js → HZEGDF6W.js} +1 -1
- package/dist/cdn/{DZWIVB6V.js → IGE2Z7GO.js} +1 -1
- package/dist/cdn/{AO3CHQZX.js → IHDWXIBS.js} +2 -2
- package/dist/cdn/{CCUAQ7BS.js → IIV6X3KV.js} +1 -1
- package/dist/cdn/{54CWBGOT.js → JSPNXGH3.js} +1 -1
- package/dist/cdn/{74WIGEYX.js → JXAPOWHG.js} +1 -1
- package/dist/cdn/{YD4TDPP5.js → KAUOH4F3.js} +1 -1
- package/dist/cdn/{POK4XAOI.js → KHC2DMSU.js} +1 -1
- package/dist/cdn/{OEB4JHC5.js → KHWZ54IX.js} +1 -1
- package/dist/cdn/{MHQYPRTN.js → KJAMXKR3.js} +1 -1
- package/dist/cdn/{CGHKRNJC.js → KPEBWOLJ.js} +1 -1
- package/dist/cdn/{XFCDAI5T.js → KQUI4CT6.js} +1 -1
- package/dist/cdn/{5PVEURDM.js → KVWM73YN.js} +1 -1
- package/dist/cdn/{6RNJLIW7.js → KYCNUCTQ.js} +1 -1
- package/dist/cdn/KZ4SCRQT.js +2 -0
- package/dist/cdn/{SHUVH6EE.js → L6IM34J7.js} +1 -1
- package/dist/cdn/{GT6SCH3C.js → LCJVASMQ.js} +1 -1
- package/dist/cdn/{QQBBCUQ3.js → LJJPOUVA.js} +1 -1
- package/dist/cdn/{LODICMAM.js → LKC6J4IQ.js} +1 -1
- package/dist/cdn/{HJ2PHQD5.js → LU7UO6PR.js} +1 -1
- package/dist/cdn/{CD35AZCK.js → LZ3ZRY2F.js} +1 -1
- package/dist/cdn/{3VGDEPLZ.js → MF2ZBHWI.js} +1 -1
- package/dist/cdn/{X45ACF6H.js → MTFWTSTG.js} +1 -1
- package/dist/cdn/{JW662K55.js → N4XXKTCN.js} +1 -1
- package/dist/cdn/{EZIHNH4L.js → NGGJIQHT.js} +1 -1
- package/dist/cdn/{XF6T5ABY.js → NYR4K242.js} +1 -1
- package/dist/cdn/{B6EQRXIO.js → OCT2KA4Q.js} +1 -1
- package/dist/cdn/{BJ2GQUQQ.js → OPMACXLA.js} +1 -1
- package/dist/cdn/{6R75UK7R.js → OQQIDPDH.js} +1 -1
- package/dist/cdn/{LJRP7HPA.js → QBBUOEKF.js} +2 -2
- package/dist/cdn/{6LV3ASGE.js → QFXCVZYG.js} +1 -1
- package/dist/cdn/{SMR2VM6B.js → QIBUTVUN.js} +1 -1
- package/dist/cdn/{O6Y5E725.js → QVLDIB2N.js} +1 -1
- package/dist/cdn/{APBHRWO7.js → RAJO727X.js} +1 -1
- package/dist/cdn/{2PS272XV.js → RCAJJ24P.js} +1 -1
- package/dist/cdn/{7P3FHJUU.js → SBJGOYJL.js} +1 -1
- package/dist/cdn/{6EWSNVVQ.js → SBZKGQBV.js} +1 -1
- package/dist/cdn/{OX6VTXSJ.js → SJBJ2N5C.js} +2 -2
- package/dist/cdn/{I7NNKTPZ.js → SMTDJE55.js} +1 -1
- package/dist/cdn/{L4BZX57U.js → SOR4DYKA.js} +1 -1
- package/dist/cdn/{IPKYTV7V.js → SQHEWY2J.js} +1 -1
- package/dist/cdn/{GDGYKODO.js → SZNZAD56.js} +1 -1
- package/dist/cdn/{RIQLLNP5.js → ULF3LG3W.js} +1 -1
- package/dist/cdn/{72KEQM4K.js → UZHQF5CV.js} +1 -1
- package/dist/cdn/{2GXJ2BAR.js → VBDLVCPP.js} +1 -1
- package/dist/cdn/{RPWGXKU5.js → VCBFPEET.js} +1 -1
- package/dist/cdn/{U3542JBJ.js → VVOQ4Q2X.js} +1 -1
- package/dist/cdn/{G4VATGUV.js → WPLJ5BXE.js} +1 -1
- package/dist/cdn/{6HYAHTR7.js → WTABMFFY.js} +1 -1
- package/dist/cdn/{M5QTOCZ2.js → XW5I2M45.js} +1 -1
- package/dist/cdn/{E4L772I2.js → XYJJ2PIL.js} +1 -1
- package/dist/cdn/{PG5R4NDA.js → YOUTTWJN.js} +1 -1
- package/dist/cdn/{URJ4RY65.js → YQL5A2WS.js} +1 -1
- package/dist/cdn/{4EFLSDWR.js → YX7WAUQZ.js} +1 -1
- package/dist/cdn/{L452VJW3.js → Z4ZXC4GO.js} +22 -22
- package/dist/cdn/{EJAZNU6L.js → ZFHU5I2O.js} +1 -1
- package/dist/cdn/{TFA6LCYF.js → ZO4GRLG6.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/box-plot-data.js +4 -4
- package/dist/chunks/box-plot-model.js +2 -2
- 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 +19 -19
- package/dist/chunks/index.js +1603 -1582
- package/dist/chunks/index3.js +13 -13
- package/dist/chunks/index4.js +219 -231
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/negative-values-stacked-to-baseline.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 +32 -32
- package/dist/chunks/serial-chart-model.js +14 -14
- 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.js +2984 -2965
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +5 -5
- 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 +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +10 -10
- 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-histogram-data/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/components/arcgis-charts-config-scatter-plot-data/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.js +389 -381
- package/dist/utils/chart-config/converter/index.js +14 -14
- package/dist/utils/chart-config/validator/index.d.ts +1 -0
- package/dist/utils/layer/index.d.ts +20 -5
- package/dist/utils/layer/interfaces.d.ts +0 -13
- package/package.json +4 -4
- package/dist/cdn/ZNTX5IKT.js +0 -2
|
@@ -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, cf as se, bt as Ke, W as ne, aN as ae, cg as Xe, bC as Je, bD as Ze, p as O, bf as Ue, ch as b, ci as te, N as et, O as tt, w as Z, cj as rt, cc as it, ck 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 Re(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 Ee(r) {
|
|
|
475
475
|
}
|
|
476
476
|
return e;
|
|
477
477
|
}
|
|
478
|
-
function
|
|
478
|
+
function Ee(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 R(r) {
|
|
541
541
|
return Me(r);
|
|
542
542
|
}
|
|
543
|
-
function
|
|
543
|
+
function E(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 Re(r);
|
|
564
564
|
}
|
|
565
565
|
function $(r) {
|
|
566
|
-
return
|
|
566
|
+
return Ee(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 = R(t), t = E(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 = R(t);
|
|
620
620
|
break;
|
|
621
621
|
case "10.0.0":
|
|
622
|
-
t =
|
|
622
|
+
t = E(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: Re,
|
|
706
|
+
convertRESTStatisticTypeToWebChartStatisticType: Ee,
|
|
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: R,
|
|
719
|
+
convertTo11x0x0: E,
|
|
720
720
|
convertTo12x0x0: V,
|
|
721
721
|
convertTo15x0x0: G,
|
|
722
722
|
convertTo16x1x0: _,
|
|
@@ -12,7 +12,7 @@ import type { ChartOptions } from "../../chart-rendering/common/interfaces.js";
|
|
|
12
12
|
import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
|
|
13
13
|
import type { IFeatureLayer, IField, IImageServiceLayer, ITiledImageServiceLayer, IWCSLayer } from "../../spec/rest-js-types.js";
|
|
14
14
|
import type { WebChart, WebChartDataFilters, WebChartQuery } from "../../spec/web-chart.js";
|
|
15
|
-
import type { QueryObject, QueryObjectOrRaster,
|
|
15
|
+
import type { QueryObject, QueryObjectOrRaster, RendererInfo } from "./interfaces.js";
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Returns the renderer type and the field and normalization field if applicable.
|
|
@@ -22,6 +22,16 @@ import type { QueryObject, QueryObjectOrRaster, QueryObjectProps, RendererInfo }
|
|
|
22
22
|
*/
|
|
23
23
|
export function getRendererInfo(layerRenderer?: Renderer): RendererInfo;
|
|
24
24
|
|
|
25
|
+
/**
|
|
26
|
+
* Function creating a FeatureLayer from a set of parameters.
|
|
27
|
+
* It returns the created Feature Layer.
|
|
28
|
+
* It is memoized (cached) to avoid multiple creations for a same feature layer.
|
|
29
|
+
*
|
|
30
|
+
* @param featureLayer
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
export function getFeatureLayerUnloaded(featureLayer: IFeatureLayer): FeatureLayer;
|
|
34
|
+
|
|
25
35
|
/**
|
|
26
36
|
* Function creating a FeatureLayer from a set of parameters.
|
|
27
37
|
* It returns the created Feature Layer.
|
|
@@ -58,13 +68,18 @@ export function getLayer(iLayer: IFeatureLayer | IImageServiceLayer | ITiledImag
|
|
|
58
68
|
export function getLayer(iLayer: IFeatureLayer | IImageServiceLayer | ITiledImageServiceLayer | IWCSLayer, abortSignal?: AbortSignal): Promise<FeatureLayer | ImageryLayer | ImageryTileLayer | WCSLayer>;
|
|
59
69
|
|
|
60
70
|
/**
|
|
61
|
-
* Returns the
|
|
62
|
-
* It can return either a FeatureLayer, an ImageryLayer, an ImageryTileLayer,
|
|
71
|
+
* Returns the layer object for the given layer or ILayer synchronously (without loading it).
|
|
72
|
+
* It can return either a FeatureLayer, an ImageryLayer, an ImageryTileLayer, or a WCSLayer (and possibly nothing).
|
|
63
73
|
*
|
|
64
74
|
* @param props
|
|
65
75
|
* @internal
|
|
66
76
|
*/
|
|
67
|
-
export function
|
|
77
|
+
export function getQueryObjectUnloaded(props: {
|
|
78
|
+
layerOrLayerView?: QueryObjectOrRaster;
|
|
79
|
+
iLayer?: WebChart["iLayer"];
|
|
80
|
+
view?: MapView | SceneView;
|
|
81
|
+
layerItemId?: string;
|
|
82
|
+
}): QueryObjectOrRaster | undefined;
|
|
68
83
|
|
|
69
84
|
/**
|
|
70
85
|
* Fetches all the fields info from a layer.
|
|
@@ -335,4 +350,4 @@ export function findMatchingLayerFromView(props: {
|
|
|
335
350
|
* @param layer - The layer
|
|
336
351
|
* @param abortSignal - Optional abort signal to cancel the request
|
|
337
352
|
*/
|
|
338
|
-
export function loadLayer(layer: Layer | SupportedLayer | SupportedRasterLayer, abortSignal?: AbortSignal): Promise<void>;
|
|
353
|
+
export function loadLayer(layer: Layer | SupportedLayer | SupportedRasterLayer | undefined, abortSignal?: AbortSignal): Promise<void>;
|
|
@@ -1,19 +1,6 @@
|
|
|
1
|
-
import type MapView from "@arcgis/core/views/MapView.js";
|
|
2
|
-
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
3
1
|
import type FeatureLayerView from "@arcgis/core/views/layers/FeatureLayerView.js";
|
|
4
2
|
import type { SupportedLayer, SupportedRasterLayer } from "../../interfaces.js";
|
|
5
3
|
import type { RESTRendererType } from "../../spec/rest-js-object-literals.js";
|
|
6
|
-
import type { WebChart } from "../../spec/web-chart.js";
|
|
7
|
-
|
|
8
|
-
/** @internal */
|
|
9
|
-
export interface QueryObjectProps {
|
|
10
|
-
iLayer?: WebChart["iLayer"];
|
|
11
|
-
layer?: QueryObjectOrRaster;
|
|
12
|
-
view?: MapView | SceneView;
|
|
13
|
-
filterByViewExtent?: boolean;
|
|
14
|
-
isRaster?: boolean;
|
|
15
|
-
abortSignal?: AbortSignal;
|
|
16
|
-
}
|
|
17
4
|
|
|
18
5
|
/** @internal */
|
|
19
6
|
export interface RendererInfo {
|
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.90",
|
|
4
4
|
"description": "Reusable ArcGIS charting Web Components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@amcharts/amcharts4": "^4.10.31",
|
|
32
32
|
"@amcharts/amcharts5": "~5.20.3",
|
|
33
|
-
"@arcgis/lumina": "5.2.0-next.
|
|
34
|
-
"@arcgis/toolkit": "5.2.0-next.
|
|
33
|
+
"@arcgis/lumina": "5.2.0-next.90",
|
|
34
|
+
"@arcgis/toolkit": "5.2.0-next.90",
|
|
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.90",
|
|
49
49
|
"@esri/calcite-components": "^5.2.0-next.52"
|
|
50
50
|
},
|
|
51
51
|
"css.customData": [
|
package/dist/cdn/ZNTX5IKT.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import b from"./AO3CHQZX.js";import{d as B}from"./VQU2TVX7.js";import{e as $}from"./WOGALV3T.js";import{p as O}from"./62GSQDTE.js";import{e as g}from"./SP2IPHWF.js";import{a,c as f,e as I}from"./QP5UAIC6.js";import{a as S}from"./QYRHZJH3.js";import{a as n,b as m,h as c,v as d}from"./PWJBGZPW.js";export default $arcgis.t(([{Db:_,G:L,H:T,I:D,J:N,Mb:h,S:b,Xb:C,pc:v,v:F}])=>{function k(e,r){let s;return r===d.Category&&Array.isArray(e)?s=a.customSort:r===d.Category?s=e===c.Ascending?a.xAxisAsc:a.xAxisDesc:e===c.Ascending?s=a.yAxisAsc:s=a.yAxisDesc,s}function Q(e,r){let s;return r===d.Category&&Array.isArray(e)?s=f.customSort:s=e===c.Ascending?f.Asc:f.Desc,s}var R=e=>{let r=e.orderOptions?.data&&"orderBy"in e.orderOptions.data?e.orderOptions.data.orderBy:c.Ascending;return k(r,e.orderOptions?.data?.orderType??d.Category)},V=e=>{let r=S(e.series),s=!1;return(r===n.BarSeries||r===n.LineSeries)&&(s=R(e)===a.customSort),s},ee=e=>{let r=[],s=e.orderOptions?.data?.orderType;return V(e)&&s===d.Category&&(r=e.orderOptions?.data?.orderBy),r},re=(e,r,s,i)=>{let t=S(r.series),A=b(r);r.orderOptions??={};let o=A?[""]:c.Ascending;if(A)e===f.customSort&&s!==void 0?o=[...s]:o=e===f.Desc?c.Descending:c.Ascending,i?r.orderOptions.data={...r.orderOptions.data,orderByY:o,orderType:d.MultiAxes}:r.orderOptions.data={...r.orderOptions.data,orderByX:o,orderType:d.MultiAxes};else if(t===n.BarSeries||t===n.LineSeries){let p=d.Category;e===a.customSort&&s!==void 0?(o=[...s],r.orderOptions.data={orderType:p,orderBy:o}):(p=e===a.xAxisAsc||e===a.xAxisDesc?d.Category:d.YValue,o=e===a.xAxisAsc||e===a.yAxisAsc?c.Ascending:c.Descending,r.orderOptions.data={orderType:p,orderBy:o})}},se=e=>e?.series?.[0]?.x??"",ie=e=>{let{config:r,xAxisField:s,numericFields:i,aggregationType:t,mode:A,layer:o,numericFieldIndex:p,seriesIndex:U,splitByField:w="",fieldList:H}=e,M=S(r.series),P=v(r.series),u;if($(o)){let y=_(o);u=i.length===1&&i[0]===y}else{let{idField:y,isTraditionalTypeOID:Y}=h(F(o));u=Y&&i.length===1&&i[0]===y}let l="y",x="y";switch(M){case n.PieSeries:{t!==m.NoAggregation?A===I.Category?(l=`${t}_${i[0]}_0`.toUpperCase(),x=u?g(m.Count):g(`${t} of ${i[0]}`)):l=T:l=i[0];break}case n.BarSeries:case n.LineSeries:case n.ComboLineAndBarSeries:case n.RadarSeries:case n.HeatSeries:{if(w===""||i.length>1)q({fieldName:s,numericFields:i,fieldList:H??[]})||P===B.BarAndLineFromFields?l=N:(l=t!==m.NoAggregation?`${t}_${i[p??0]}_${p??0}`.toUpperCase():i[p??0],x=u?g(m.Count):g(`${t} of ${i[p??0]}`));else{let y=i[0];l=t!==m.NoAggregation?`${t}_${y}_${U??0}`.toUpperCase():y,x=u?g(m.Count):g(`${t} of ${y}`)}break}}return{name:l,description:x}};function j(e){let{fieldName:r,fieldList:s}=e,i=C(s??[],r);return r===D||r===L||r===O||r===void 0||r.trim()===""||i===void 0}function q(e){let{fieldName:r,fieldList:s,numericFields:i}=e,t=i.filter(A=>C(s??[],A)?.type!=="esriFieldTypeOID");return j({fieldName:r,fieldList:s})&&(t?.length??0)>0}return{a:k,b:Q,c:R,d:ee,e:re,f:se,g:ie,h:j,i:q}},b)
|