@arcgis/charts-components 5.2.0-next.87 → 5.2.0-next.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{UYDDYD3O.js → 255J2IDZ.js} +1 -1
- package/dist/cdn/{5DHMYPPF.js → 2GXJ2BAR.js} +1 -1
- package/dist/cdn/{MNYNXHXE.js → 2PS272XV.js} +1 -1
- package/dist/cdn/{OWYKZMAE.js → 3VGDEPLZ.js} +1 -1
- package/dist/cdn/{7CZMR2WF.js → 4EFLSDWR.js} +1 -1
- package/dist/cdn/{IG43EKA6.js → 4V35YCIC.js} +1 -1
- package/dist/cdn/{C5UI5MYS.js → 54CWBGOT.js} +1 -1
- package/dist/cdn/{CSOYZJU5.js → 5DIUGUTH.js} +1 -1
- package/dist/cdn/{KYOBS7XL.js → 5PVEURDM.js} +1 -1
- package/dist/cdn/{PF6QOHZR.js → 6EWSNVVQ.js} +1 -1
- package/dist/cdn/{QIG7WTJF.js → 6HYAHTR7.js} +1 -1
- package/dist/cdn/{IN2IL6T2.js → 6R75UK7R.js} +1 -1
- package/dist/cdn/{XHSD437D.js → 6RNJLIW7.js} +1 -1
- package/dist/cdn/{6AWJXWDQ.js → 74WIGEYX.js} +1 -1
- package/dist/cdn/{OGGEEHV2.js → 7DCT627N.js} +1 -1
- package/dist/cdn/{TVW2GMA6.js → AEKNZ5HX.js} +1 -1
- package/dist/cdn/{7ZAT46VE.js → AF2VHZ3K.js} +1 -1
- package/dist/cdn/AO3CHQZX.js +3 -0
- package/dist/cdn/{U7GQGHZY.js → APBHRWO7.js} +1 -1
- package/dist/cdn/{PK7GYSIR.js → B3J7GR64.js} +1 -1
- package/dist/cdn/{S2HIF3ZX.js → B6EQRXIO.js} +1 -1
- package/dist/cdn/BJ2GQUQQ.js +2 -0
- package/dist/cdn/{R3XOXHKQ.js → BO3LKAOY.js} +1 -1
- package/dist/cdn/{3H3PFQTD.js → CCUAQ7BS.js} +1 -1
- package/dist/cdn/{DV7I4E5D.js → CD35AZCK.js} +1 -1
- package/dist/cdn/{OADNRXFH.js → CGHKRNJC.js} +1 -1
- package/dist/cdn/{APU26Y2Z.js → CM4FOO3G.js} +1 -1
- package/dist/cdn/{WC22SRVJ.js → E4L772I2.js} +1 -1
- package/dist/cdn/{TMLVMG4C.js → EJAZNU6L.js} +1 -1
- package/dist/cdn/{CXWBQG5O.js → ENVLWI5H.js} +1 -1
- package/dist/cdn/{BV7UUWYI.js → ER6XIB34.js} +1 -1
- package/dist/cdn/{EMOHROY3.js → EZIHNH4L.js} +1 -1
- package/dist/cdn/{AWN3K3IH.js → FHYZ5QCJ.js} +1 -1
- package/dist/cdn/{3YPGCLG4.js → G4VATGUV.js} +1 -1
- package/dist/cdn/{52NR6B2J.js → GF5RCT7U.js} +1 -1
- package/dist/cdn/{KAQ5XSCQ.js → GT6SCH3C.js} +1 -1
- package/dist/cdn/{EHYBMIDH.js → HJ2PHQD5.js} +1 -1
- package/dist/cdn/{3N6RFNEA.js → I7NNKTPZ.js} +1 -1
- package/dist/cdn/{QXQC4CH5.js → IDH345JS.js} +1 -1
- package/dist/cdn/{QJFHIO72.js → IP46DLF6.js} +1 -1
- package/dist/cdn/{6SQNRMJG.js → IPKYTV7V.js} +1 -1
- package/dist/cdn/{ACMHG3RB.js → IWY3WAPJ.js} +1 -1
- package/dist/cdn/J47KRLNI.js +2 -0
- package/dist/cdn/{SILDOKXS.js → JW662K55.js} +1 -1
- package/dist/cdn/{T6OTQUMI.js → K3ZRQQD7.js} +1 -1
- package/dist/cdn/{HQ2JPCTQ.js → KLWPXDAD.js} +1 -1
- package/dist/cdn/{PTGBFACY.js → L452VJW3.js} +24 -24
- package/dist/cdn/{SC26LLWP.js → LF4LYD3D.js} +1 -1
- package/dist/cdn/{R6RFH2KK.js → LJRP7HPA.js} +2 -2
- package/dist/cdn/{XQRGIPLK.js → LMT3CJIW.js} +1 -1
- package/dist/cdn/{OYXDCECZ.js → LODICMAM.js} +1 -1
- package/dist/cdn/LPZD4ZKK.js +2 -0
- package/dist/cdn/{PDHWZPY5.js → LXKZKLGE.js} +1 -1
- package/dist/cdn/{HX4HUXZP.js → M5QTOCZ2.js} +1 -1
- package/dist/cdn/{GZEVPH4Y.js → MEOVOANP.js} +1 -1
- package/dist/cdn/{DKC4NIUA.js → MHQYPRTN.js} +1 -1
- package/dist/cdn/{F3LVXDV4.js → NBZGC5RR.js} +1 -1
- package/dist/cdn/{RCAPTQFV.js → NEDOBJNH.js} +1 -1
- package/dist/cdn/{3AYNHY7J.js → O6Y5E725.js} +1 -1
- package/dist/cdn/{LYSF2KY5.js → OEB4JHC5.js} +1 -1
- package/dist/cdn/{C7F4AVQU.js → OX6VTXSJ.js} +1 -1
- package/dist/cdn/{FBU4ODQE.js → PG5R4NDA.js} +1 -1
- package/dist/cdn/{OMORDJT2.js → POK4XAOI.js} +1 -1
- package/dist/cdn/{MITW5XKW.js → QQBBCUQ3.js} +1 -1
- package/dist/cdn/{32KKW2IG.js → QYAEDUSX.js} +1 -1
- package/dist/cdn/{2Y4OUUMJ.js → RIQLLNP5.js} +1 -1
- package/dist/cdn/{UOL7KBJK.js → RMRXMLPD.js} +1 -1
- package/dist/cdn/{ZG3WNUBC.js → RPWGXKU5.js} +1 -1
- package/dist/cdn/{VSPKBQS6.js → SHUVH6EE.js} +1 -1
- package/dist/cdn/{XBRRJQVR.js → SMR2VM6B.js} +1 -1
- package/dist/cdn/{5NGIGJYR.js → T6DZBPJC.js} +1 -1
- package/dist/cdn/{N634G5MT.js → TFA6LCYF.js} +1 -1
- package/dist/cdn/{DNHE5ZCA.js → TXFV35UH.js} +1 -1
- package/dist/cdn/{3ZF4RSY4.js → URJ4RY65.js} +1 -1
- package/dist/cdn/{HDIBDW52.js → VVLHQONN.js} +1 -1
- package/dist/cdn/WOGALV3T.js +2 -0
- package/dist/cdn/{FF46DEA7.js → WSHAUD65.js} +1 -1
- package/dist/cdn/{5LKJE2PR.js → WSL3KIDE.js} +1 -1
- package/dist/cdn/{I3BMYY7N.js → X45ACF6H.js} +1 -1
- package/dist/cdn/{AL6VZ6UZ.js → XF6T5ABY.js} +1 -1
- package/dist/cdn/{KE4AIHA7.js → YD4TDPP5.js} +1 -1
- package/dist/cdn/{LM6VCILT.js → YEZO2L2D.js} +1 -1
- package/dist/cdn/ZNTX5IKT.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +2 -2
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-model.js +12 -3
- package/dist/chunks/chart-ui-utils.js +11 -11
- package/dist/chunks/class-breaks.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +10 -10
- package/dist/chunks/data.js +17 -17
- package/dist/chunks/index.js +1365 -1348
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/rounded-corners.js +3 -3
- package/dist/chunks/scatterplot-model.js +9 -9
- package/dist/chunks/serial-chart-data.js +33 -33
- package/dist/chunks/serial-chart-model.js +15 -15
- package/dist/chunks/type-guards.js +54 -32
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/web-component-utils.js +19 -19
- package/dist/chunks/x-bounds.js +13 -13
- package/dist/components/arcgis-chart/customElement.d.ts +2 -2
- package/dist/components/arcgis-chart/customElement.js +2248 -2242
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +64 -64
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +238 -235
- package/dist/interfaces.d.ts +48 -3
- package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
- package/dist/model/shared/setup-utils.d.ts +3 -3
- package/dist/utils/chart-config/converter/index.js +14 -14
- package/dist/utils/layer/query-parser/index.d.ts +3 -3
- package/dist/utils/layer/utils/index.d.ts +22 -5
- package/package.json +5 -5
- package/dist/cdn/2BA2QD2A.js +0 -3
- package/dist/cdn/5EU4GHSG.js +0 -2
- package/dist/cdn/7U6OEWTI.js +0 -2
- package/dist/cdn/BGOWDCTO.js +0 -2
- package/dist/cdn/VNWPA5A2.js +0 -2
- package/dist/cdn/XVCBLLWW.js +0 -2
- /package/dist/cdn/{P7FI5QUW.js → 3ZNZH5XV.js} +0 -0
- /package/dist/cdn/{LXZXXY7V.js → 4EWMZYXM.js} +0 -0
- /package/dist/cdn/{C2ZX67U4.js → 4JBUJYUG.js} +0 -0
- /package/dist/cdn/{TOCBEPNS.js → 5JV6PU34.js} +0 -0
- /package/dist/cdn/{NWQ2L7IJ.js → AI2WUG3K.js} +0 -0
- /package/dist/cdn/{TJ2NRLF6.js → AKEVK6VK.js} +0 -0
- /package/dist/cdn/{KTYFDFMQ.js → B4HOQOHS.js} +0 -0
- /package/dist/cdn/{A2KSCV2I.js → BG4CYK7C.js} +0 -0
- /package/dist/cdn/{OMU647X3.js → C6UUBWI2.js} +0 -0
- /package/dist/cdn/{RMIIDRGC.js → CHHARRJP.js} +0 -0
- /package/dist/cdn/{AF2GUPVE.js → D3ZXHZRV.js} +0 -0
- /package/dist/cdn/{SVLOD3HQ.js → DF2SKHUD.js} +0 -0
- /package/dist/cdn/{EQTI5Z4G.js → E45CPXW6.js} +0 -0
- /package/dist/cdn/{RHUEVXMR.js → ESBQKSZF.js} +0 -0
- /package/dist/cdn/{FFJTVPE4.js → FPM6WDQ4.js} +0 -0
- /package/dist/cdn/{3FFCWEMV.js → FXBSBXWY.js} +0 -0
- /package/dist/cdn/{BWR5ONE2.js → G7W2RL4I.js} +0 -0
- /package/dist/cdn/{ZVOX72AF.js → HPNWQANQ.js} +0 -0
- /package/dist/cdn/{Z5EJIWAY.js → HVWOLFLT.js} +0 -0
- /package/dist/cdn/{R5LIRRMK.js → IBLGAXGT.js} +0 -0
- /package/dist/cdn/{HABS63VB.js → IC7XUYKD.js} +0 -0
- /package/dist/cdn/{26DDVOQ7.js → IUZFB3JE.js} +0 -0
- /package/dist/cdn/{AS3QP77N.js → KIIS7OLN.js} +0 -0
- /package/dist/cdn/{Q466K37N.js → LCRLYOX6.js} +0 -0
- /package/dist/cdn/{6AXYQGBN.js → MCWIIGOW.js} +0 -0
- /package/dist/cdn/{S4NQCINT.js → MW6VSJEF.js} +0 -0
- /package/dist/cdn/{PZP57FJ2.js → PSQDO4QK.js} +0 -0
- /package/dist/cdn/{NNHJ75EA.js → PWSEK3XV.js} +0 -0
- /package/dist/cdn/{XR4O3AQ6.js → QOQ5QNZV.js} +0 -0
- /package/dist/cdn/{JUFBIV44.js → SLQPIX6X.js} +0 -0
- /package/dist/cdn/{PCFEAGXP.js → SZXVQMQV.js} +0 -0
- /package/dist/cdn/{ZARYZFJ4.js → TVKP2GAI.js} +0 -0
- /package/dist/cdn/{J3BB5KXD.js → VQLXOQMY.js} +0 -0
- /package/dist/cdn/{DDNOUE2T.js → WJY4AWHX.js} +0 -0
- /package/dist/cdn/{B5Z7FBO7.js → WNDLNCF7.js} +0 -0
- /package/dist/cdn/{6U6VAS2O.js → YNED6356.js} +0 -0
- /package/dist/cdn/{B7J5YIWF.js → YZCWFNPW.js} +0 -0
- /package/dist/cdn/{OXPXA3PS.js → ZEQF2W7Y.js} +0 -0
- /package/dist/cdn/{H2DUFQAG.js → ZYK4DWCN.js} +0 -0
package/dist/chunks/index4.js
CHANGED
|
@@ -4,7 +4,7 @@ import E from "ajv";
|
|
|
4
4
|
import { g as w } from "./runtime.js";
|
|
5
5
|
import { fetchT9nStringsBundle as S } from "@arcgis/toolkit/intl";
|
|
6
6
|
import { getElementLocale as I } from "@arcgis/toolkit/intl/dom";
|
|
7
|
-
import {
|
|
7
|
+
import { c5 as u, bu as M, bF as V, p as T, w as F, q as z, aS as G, au as A, c6 as U, t as L, bS as D, aO as H, bp as $, c7 as J, bh as _, W as K, c8 as Q, bB as Z, y as X, c9 as Y, M as ee, N as te } from "./index.js";
|
|
8
8
|
import { l as ie, q as re } from "./index3.js";
|
|
9
9
|
import { i as x, a as h, D as ne } from "./index2.js";
|
|
10
10
|
import { g as C } from "./series-types.js";
|
|
@@ -4,7 +4,7 @@ import { getElementLocale as g } from "@arcgis/toolkit/intl/dom";
|
|
|
4
4
|
import { g as l } from "./runtime.js";
|
|
5
5
|
import { convertChartSpec as m } from "../utils/chart-config/converter/index.js";
|
|
6
6
|
import { a6 as y } from "./index3.js";
|
|
7
|
-
import {
|
|
7
|
+
import { bE as o, bc as p, t as u, r as _ } from "./index.js";
|
|
8
8
|
import { cloneDeep as C } from "lodash-es";
|
|
9
9
|
const h = 30;
|
|
10
10
|
function U(r, e, t, i) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { g as k, b as S, s as b, a as v } from "./series.js";
|
|
3
3
|
import { n } from "./index3.js";
|
|
4
|
-
import {
|
|
4
|
+
import { c2 as i, c3 as o } from "./index.js";
|
|
5
5
|
import { C as y, m as h } from "./model-setter.js";
|
|
6
6
|
const l = (s) => {
|
|
7
7
|
const { config: e, seriesIndex: a, callback: t } = s;
|
|
@@ -190,7 +190,7 @@ const ge = (s) => {
|
|
|
190
190
|
const { config: e, layerInfo: i, mode: r, commonStrings: o } = s, d = B(i?.layer).idField;
|
|
191
191
|
let l = F(e, r);
|
|
192
192
|
const c = v({ config: e, layerInfo: i, commonStrings: o, mode: r }), a = I({ config: e, layerInfo: i, commonStrings: o, mode: r });
|
|
193
|
-
if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t, d !== void 0 && (t.length === 0 && r === g.Category ? (t
|
|
193
|
+
if (t = t === "" ? [] : t, t = typeof t == "string" ? [t] : t, d !== void 0 && (t.length === 0 && r === g.Category ? (t = [d], l = p.Count) : l === p.Count && t.length >= 1 && !t.includes(d) && (l = p.Sum)), i !== void 0) {
|
|
194
194
|
if (V({
|
|
195
195
|
config: e,
|
|
196
196
|
layerInfo: i,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
2
|
+
import { b$ as n } from "./index.js";
|
|
3
3
|
import { C, m as u } from "./model-setter.js";
|
|
4
4
|
import { al as h } from "./index3.js";
|
|
5
5
|
const c = (r) => {
|
|
@@ -47,7 +47,7 @@ function p(r, e) {
|
|
|
47
47
|
function S(r) {
|
|
48
48
|
return r.roundCorners?.cornerRadius;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function O(r, e) {
|
|
51
51
|
e.roundCorners = {
|
|
52
52
|
rounded: e.roundCorners?.rounded ?? !1,
|
|
53
53
|
cornerRadius: r ?? e.roundCorners?.cornerRadius
|
|
@@ -72,7 +72,7 @@ class f extends C {
|
|
|
72
72
|
return S(this._config);
|
|
73
73
|
}
|
|
74
74
|
set cornerRadius(e) {
|
|
75
|
-
t(this._config) &&
|
|
75
|
+
t(this._config) && O(e, this._config);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
l([
|
|
@@ -6,10 +6,10 @@ import { g as z } from "./series-length.js";
|
|
|
6
6
|
import { g as b } from "./utils2.js";
|
|
7
7
|
import { aB as m, B as w, az as k } from "./index3.js";
|
|
8
8
|
import { b as y } from "./index2.js";
|
|
9
|
-
import {
|
|
9
|
+
import { bC as E } from "./index.js";
|
|
10
10
|
import { i as T } from "./index4.js";
|
|
11
|
-
import { C as
|
|
12
|
-
import { M as
|
|
11
|
+
import { C as V } from "./chart-model.js";
|
|
12
|
+
import { M as B, a as G, W as U, b as j } from "./data-labels-visibility.js";
|
|
13
13
|
import { W as N } from "./data-labels-symbol.js";
|
|
14
14
|
import { W as q, c as H, d as J } from "./axis-lines-symbol.js";
|
|
15
15
|
import { W as K, a as Q } from "./x-bounds.js";
|
|
@@ -28,11 +28,11 @@ function I(i, e, t) {
|
|
|
28
28
|
const s = g(i, e, t), r = z(i), o = T(i);
|
|
29
29
|
return s === r || o;
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function C(i, e) {
|
|
32
32
|
const { layerFieldsInfo: t } = e, s = y(t, u(i)), r = b(1, i), o = T(i);
|
|
33
33
|
return s === r || o;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function M(i, e) {
|
|
36
36
|
const { layerFieldsInfo: t } = e, s = x(i), r = y(t, s), o = b(0, i), n = T(i);
|
|
37
37
|
return r === o || n;
|
|
38
38
|
}
|
|
@@ -44,7 +44,7 @@ const _ = (i) => {
|
|
|
44
44
|
const { x: e, y: t, config: s, layerInfo: r, updateChartTitle: o, updateXAxisTitle: n, updateYAxisTitle: a, commonStrings: h } = i, { layerFieldsInfo: A } = r, W = y(A, e), P = y(A, t);
|
|
45
45
|
!f(e) && n && v(s, 0, W), !f(t) && a && v(s, 1, P), !f(e) && !f(t) && s.title && o && (s.title.content.text = g(s, r, h));
|
|
46
46
|
}, x = (i) => i.series[0]?.x ?? "", u = (i) => i.series[0]?.y ?? "", re = (i) => {
|
|
47
|
-
const { fieldName: e, config: t, layerInfo: s, commonStrings: r } = i, o = I(t, s, r), n =
|
|
47
|
+
const { fieldName: e, config: t, layerInfo: s, commonStrings: r } = i, o = I(t, s, r), n = M(t, s), a = C(t, s);
|
|
48
48
|
F(t), t.series[0] && (t.series[0].x = e), _({
|
|
49
49
|
x: e,
|
|
50
50
|
y: u(t),
|
|
@@ -61,7 +61,7 @@ const _ = (i) => {
|
|
|
61
61
|
layerInfo: s
|
|
62
62
|
});
|
|
63
63
|
}, oe = (i) => {
|
|
64
|
-
const { fieldName: e, config: t, layerInfo: s, commonStrings: r } = i, o = I(t, s, r), n =
|
|
64
|
+
const { fieldName: e, config: t, layerInfo: s, commonStrings: r } = i, o = I(t, s, r), n = M(t, s), a = C(t, s);
|
|
65
65
|
F(t), t.series[0] && (t.series[0].y = e), _({
|
|
66
66
|
x: x(t),
|
|
67
67
|
y: e,
|
|
@@ -105,7 +105,7 @@ var Te = Object.defineProperty, ge = Object.getOwnPropertyDescriptor, c = (i, e,
|
|
|
105
105
|
(n = i[o]) && (r = n(e, t, r) || r);
|
|
106
106
|
return r && Te(e, t, r), r;
|
|
107
107
|
};
|
|
108
|
-
class l extends
|
|
108
|
+
class l extends V {
|
|
109
109
|
constructor() {
|
|
110
110
|
super(...arguments), this._chartType = ee.ScatterSeries;
|
|
111
111
|
}
|
|
@@ -240,7 +240,7 @@ c([
|
|
|
240
240
|
], l.prototype, "additionalTooltipField");
|
|
241
241
|
const Ae = [
|
|
242
242
|
ie,
|
|
243
|
-
|
|
243
|
+
B,
|
|
244
244
|
G,
|
|
245
245
|
U,
|
|
246
246
|
j,
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
import { substitute as E } from "@arcgis/core/intl.js";
|
|
3
3
|
import { cloneDeep as J, memoize as Ye, isEmpty as $e } from "lodash-es";
|
|
4
4
|
import { S as oe } from "./common.js";
|
|
5
|
-
import { s as
|
|
6
|
-
import { Y as I, aN as Y, bl as Ue,
|
|
5
|
+
import { s as D, u as W, a as Ie, g as ye, b as Le, c as Xe, d as He, e as pe } from "./utils.js";
|
|
6
|
+
import { Y as I, aN as Y, bl as Ue, bO as je, bP as Ze, bD as De, f as Ke, p as ee, W as _e, V as Qe, bQ as ze, O as me, aX as Ge, bR as Je, N as et, t as tt, bS as st, aO as it, Q as at, bT as rt, _ as nt, bw as ot, bU as lt, bV as fe, bW as ct, bX as ut, bY as dt, P as yt, bZ as Se, b_ as _, bF as mt, aP as R, aW as Q, M as gt, r as j, a1 as Oe, b$ as M, bB as U, c0 as pt, c1 as ft, c2 as N, c3 as V, c4 as Fe, bC as xe } from "./index.js";
|
|
7
7
|
import { a as w, s as ge, g as te, b as he, c as St } from "./data.js";
|
|
8
8
|
import { a as T, d as v, f as Ft, l as k, t as L, h as $, g as xt, b as ht, e as le } from "./chart-object-literals.js";
|
|
9
|
-
import { d as
|
|
9
|
+
import { d as Ne, b as Tt } from "./rest-js-object-literals.js";
|
|
10
10
|
import { i as se } from "./index4.js";
|
|
11
11
|
import { q as Bt, W as z, X as ce, H as Ct, Y as bt, Z as At, _ as vt, $ as It, j as Lt } from "./index3.js";
|
|
12
12
|
import { a as P, C as X, b as q } from "./index2.js";
|
|
13
|
-
import { g as Ve, s as
|
|
14
|
-
import { C as Ot, m as
|
|
13
|
+
import { g as Ve, s as Dt } from "./series-types.js";
|
|
14
|
+
import { C as Ot, m as Nt } from "./model-setter.js";
|
|
15
15
|
import { convertChartSpec as Vt } from "../utils/chart-config/converter/index.js";
|
|
16
|
-
import { i as ue,
|
|
16
|
+
import { i as ue, h as kt } from "./type-guards.js";
|
|
17
17
|
import { g as ie } from "./utils2.js";
|
|
18
18
|
import { b as qt, g as Rt } from "./series-length.js";
|
|
19
|
-
const
|
|
19
|
+
const Ds = (s) => {
|
|
20
20
|
let e;
|
|
21
21
|
const t = s.series[0];
|
|
22
22
|
return I(t) && (e = t.temporalBinning?.size), e;
|
|
@@ -28,7 +28,7 @@ const Ns = (s) => {
|
|
|
28
28
|
let e;
|
|
29
29
|
const t = s.series[0];
|
|
30
30
|
return I(t) && (e = t.temporalBinning?.timeAggregationType), e;
|
|
31
|
-
},
|
|
31
|
+
}, Ns = (s) => {
|
|
32
32
|
let e;
|
|
33
33
|
const t = s.series[0];
|
|
34
34
|
return I(t) && (e = t.temporalBinning?.trimIncompleteTimeInterval), e;
|
|
@@ -39,23 +39,23 @@ const Ns = (s) => {
|
|
|
39
39
|
}, wt = (s, e) => {
|
|
40
40
|
e?.series?.forEach((t) => {
|
|
41
41
|
I(t) && (t.temporalBinning ??= {}, t.temporalBinning.size = s);
|
|
42
|
-
}),
|
|
42
|
+
}), D({ config: e, value: null, axisIndex: 1, isMax: !1 }), D({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
43
43
|
}, Et = (s, e) => {
|
|
44
44
|
e?.series?.forEach((t) => {
|
|
45
45
|
I(t) && (t.temporalBinning ??= {}, t.temporalBinning.nullPolicy = s);
|
|
46
|
-
}),
|
|
46
|
+
}), D({ config: e, value: null, axisIndex: 1, isMax: !1 }), D({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
47
47
|
}, ks = (s, e) => {
|
|
48
48
|
e.series?.forEach((t) => {
|
|
49
49
|
I(t) && (t.temporalBinning ??= {}, t.temporalBinning.unit = s);
|
|
50
|
-
}),
|
|
50
|
+
}), D({ config: e, value: null, axisIndex: 1, isMax: !1 }), D({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
51
51
|
}, qs = (s, e) => {
|
|
52
52
|
e.series?.forEach((t) => {
|
|
53
53
|
I(t) && (t.temporalBinning ??= {}, t.temporalBinning.timeAggregationType = s);
|
|
54
|
-
}),
|
|
54
|
+
}), D({ config: e, value: null, axisIndex: 1, isMax: !1 }), D({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
55
55
|
}, Rs = (s, e) => {
|
|
56
56
|
e.series?.forEach((t) => {
|
|
57
57
|
I(t) && (t.temporalBinning ??= {}, t.temporalBinning.trimIncompleteTimeInterval = s);
|
|
58
|
-
}),
|
|
58
|
+
}), D({ config: e, value: null, axisIndex: 1, isMax: !1 }), D({ config: e, value: null, axisIndex: 1, isMax: !0 });
|
|
59
59
|
}, Mt = (s) => {
|
|
60
60
|
wt(0, s);
|
|
61
61
|
};
|
|
@@ -87,7 +87,7 @@ class Ht extends Ot {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
$t([
|
|
90
|
-
|
|
90
|
+
Nt
|
|
91
91
|
], Ht.prototype, "timeZone");
|
|
92
92
|
function Ps(s, e) {
|
|
93
93
|
let t;
|
|
@@ -106,7 +106,7 @@ function Ut(s) {
|
|
|
106
106
|
return s !== void 0 && (e = { ...s }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
|
|
107
107
|
}
|
|
108
108
|
function Ms(s, e) {
|
|
109
|
-
return e != null ||
|
|
109
|
+
return e != null || De(s);
|
|
110
110
|
}
|
|
111
111
|
async function Ws(s) {
|
|
112
112
|
const { config: e, layer: t, abortSignal: r } = s;
|
|
@@ -302,7 +302,7 @@ async function Qt(s) {
|
|
|
302
302
|
return m;
|
|
303
303
|
}
|
|
304
304
|
function zt(s, e) {
|
|
305
|
-
e && !
|
|
305
|
+
e && !De(e) && (e = Je({ chartConfig: e, queryObject: s }));
|
|
306
306
|
}
|
|
307
307
|
async function Ys(s) {
|
|
308
308
|
const {
|
|
@@ -601,7 +601,7 @@ const as = [
|
|
|
601
601
|
function os(s) {
|
|
602
602
|
const e = {};
|
|
603
603
|
return s.series.forEach((t) => {
|
|
604
|
-
|
|
604
|
+
Dt(t) && "nullCategory" in t && t.nullCategory !== void 0 && (e.text ??= t.nullCategory.text, t.type === T.BarSeries ? e.fillSymbol ??= t.nullCategory.fillSymbol : e.markerSymbol ??= t.nullCategory.markerSymbol);
|
|
605
605
|
}), e.text || e.fillSymbol || e.markerSymbol ? e : void 0;
|
|
606
606
|
}
|
|
607
607
|
function ae(s) {
|
|
@@ -611,9 +611,9 @@ function ae(s) {
|
|
|
611
611
|
let p = !1, f = !1, u = !1;
|
|
612
612
|
if (c === void 0) {
|
|
613
613
|
const B = i.series;
|
|
614
|
-
p = B.slice(0, e).every((A) =>
|
|
614
|
+
p = B.slice(0, e).every((A) => N(A)), f = B.slice(0, e).every((A) => V(A)), u = B.slice(0, e).every((A) => Fe(A));
|
|
615
615
|
} else
|
|
616
|
-
p =
|
|
616
|
+
p = N(c), f = V(c), u = Fe(c);
|
|
617
617
|
p ? l = bt({
|
|
618
618
|
commonStrings: n,
|
|
619
619
|
seriesIndex: e,
|
|
@@ -761,7 +761,7 @@ function ls(s) {
|
|
|
761
761
|
const c = i.layerFieldsInfo.find((p) => p.name === l);
|
|
762
762
|
return c !== void 0 ? xe(c) : !1;
|
|
763
763
|
})), pe(r, 1, a);
|
|
764
|
-
const n = r.series.some((l) =>
|
|
764
|
+
const n = r.series.some((l) => N(l)), o = r.series.some((l) => V(l));
|
|
765
765
|
if (n || o) {
|
|
766
766
|
const l = w(r), c = i.layerFieldsInfo.find((f) => f.name === l), p = c !== void 0 && xe(c);
|
|
767
767
|
pe(r, 0, p);
|
|
@@ -810,7 +810,7 @@ function cs(s) {
|
|
|
810
810
|
outStatisticFieldName: `${S}_0`.toUpperCase(),
|
|
811
811
|
statisticType: r
|
|
812
812
|
});
|
|
813
|
-
return F.query = { outStatistics: h }, i.series.length === 1 && ((
|
|
813
|
+
return F.query = { outStatistics: h }, i.series.length === 1 && ((N(F) || V(F)) && Me(F, i.series[0]), M(F) ? F.fillSymbol = i.series[0].fillSymbol : (N(F) || V(F)) && (F.lineSymbol = i.series[0].lineSymbol, F.markerSymbol = i.series[0].markerSymbol)), [F];
|
|
814
814
|
}
|
|
815
815
|
function Ee(s) {
|
|
816
816
|
const { xAxisField: e, numericFields: t, aggregationType: r, config: i, layerInfo: a, commonStrings: n } = s, { layerFieldsInfo: o } = a, l = j(a.layer).idField, c = [];
|
|
@@ -848,13 +848,13 @@ function Ee(s) {
|
|
|
848
848
|
]) : delete x.query.outStatistics), x.y = H, c.push(x);
|
|
849
849
|
}
|
|
850
850
|
const p = c.filter((d) => M(d)), f = c.filter(
|
|
851
|
-
(d) =>
|
|
851
|
+
(d) => N(d) || V(d)
|
|
852
852
|
), u = i.series.filter((d) => M(d)), m = i.series.filter(
|
|
853
|
-
(d) =>
|
|
853
|
+
(d) => N(d) || V(d)
|
|
854
854
|
);
|
|
855
|
-
return u.length === 1 && p.length === 1 && M(u[0]) && M(p[0]) && (p[0].fillSymbol = u[0].fillSymbol), m.length === 1 && f.length === 1 && ((
|
|
855
|
+
return u.length === 1 && p.length === 1 && M(u[0]) && M(p[0]) && (p[0].fillSymbol = u[0].fillSymbol), m.length === 1 && f.length === 1 && ((N(m[0]) && N(f[0]) || V(m[0]) && V(f[0])) && Me(f[0], m[0]), (N(m[0]) && N(f[0]) || V(m[0]) && V(f[0])) && (f[0].lineSymbol = m[0].lineSymbol, f[0].markerSymbol = m[0].markerSymbol)), c;
|
|
856
856
|
}
|
|
857
|
-
function
|
|
857
|
+
function Di(s) {
|
|
858
858
|
const { aggregationType: e, config: t, layerInfo: r, commonStrings: i } = s, { layerFieldsInfo: a, layer: n } = r, o = w(t), l = K(t), c = re(t), p = ne(t, r, i), f = We(t, r, i);
|
|
859
859
|
if (t.series.forEach((u, m) => {
|
|
860
860
|
const d = te({
|
|
@@ -956,7 +956,7 @@ function us(s) {
|
|
|
956
956
|
y: F,
|
|
957
957
|
query: {
|
|
958
958
|
...x.query,
|
|
959
|
-
where: `${e}=${u ===
|
|
959
|
+
where: `${e}=${u === Ne.String && g !== null ? `'${g}'` : g}`,
|
|
960
960
|
outStatistics: i !== v.NoAggregation ? [
|
|
961
961
|
{
|
|
962
962
|
...x.query?.outStatistics?.[0] ?? {},
|
|
@@ -1029,19 +1029,19 @@ const Oi = (s) => {
|
|
|
1029
1029
|
});
|
|
1030
1030
|
W(a, 1, x);
|
|
1031
1031
|
}
|
|
1032
|
-
if (g && a.title && (a.title.content.text = Z(a, n, o)),
|
|
1032
|
+
if (g && a.title && (a.title.content.text = Z(a, n, o)), D({ config: a, value: null, axisIndex: 1, isMax: !1 }), D({ config: a, value: null, axisIndex: 1, isMax: !0 }), ls({ numericFields: r, aggregationType: i, config: a, layerInfo: n }), (C || B) && (D({ config: a, value: null, axisIndex: 0, isMax: !1 }), D({ config: a, value: null, axisIndex: 0, isMax: !0 }), A && i !== v.NoAggregation && !Y(p))) {
|
|
1033
1033
|
const x = R(y) ? $.Null : $.Interpolate;
|
|
1034
1034
|
Et(x, a);
|
|
1035
1035
|
}
|
|
1036
1036
|
Y(a) && qe({ commonStrings: o, config: a, layerInfo: n }), a.series.forEach((x) => {
|
|
1037
|
-
d && delete x.query, I(x) && x.binTemporalData === void 0 && y?.type ===
|
|
1037
|
+
d && delete x.query, I(x) && x.binTemporalData === void 0 && y?.type === Ne.TimeOnly && (x.binTemporalData = !1);
|
|
1038
1038
|
});
|
|
1039
1039
|
}, Me = (s, e) => {
|
|
1040
1040
|
s.markerVisible = e.markerVisible, s.lineSmoothed = e.lineSmoothed, s.showArea = e.showArea, s.areaColor = e.areaColor, s.stackNegativeValuesToBaseline = e.stackNegativeValuesToBaseline, e.lineSymbol && (s.lineSymbol = { ...e.lineSymbol, color: s.lineSymbol?.color }), e.markerSymbol && (s.markerSymbol = {
|
|
1041
1041
|
...e.markerSymbol,
|
|
1042
1042
|
color: s.markerSymbol?.color
|
|
1043
1043
|
});
|
|
1044
|
-
},
|
|
1044
|
+
}, Ni = (s) => {
|
|
1045
1045
|
const { config: e, seriesIndex: t, layerInfo: r, commonStrings: i } = s, a = e.series?.[t], n = re(e);
|
|
1046
1046
|
let o;
|
|
1047
1047
|
if (ee(e.series) === P.BarAndLineFromFields)
|
|
@@ -1171,16 +1171,16 @@ export {
|
|
|
1171
1171
|
re as e,
|
|
1172
1172
|
$s as f,
|
|
1173
1173
|
Pe as g,
|
|
1174
|
-
|
|
1174
|
+
Ni as h,
|
|
1175
1175
|
Ws as i,
|
|
1176
|
-
|
|
1176
|
+
Ds as j,
|
|
1177
1177
|
wt as k,
|
|
1178
1178
|
Pt as l,
|
|
1179
1179
|
ks as m,
|
|
1180
1180
|
Os as n,
|
|
1181
1181
|
qs as o,
|
|
1182
1182
|
Ys as p,
|
|
1183
|
-
|
|
1183
|
+
Ns as q,
|
|
1184
1184
|
Ut as r,
|
|
1185
1185
|
ke as s,
|
|
1186
1186
|
Rs as t,
|
|
@@ -1188,6 +1188,6 @@ export {
|
|
|
1188
1188
|
Vs as v,
|
|
1189
1189
|
Et as w,
|
|
1190
1190
|
Mt as x,
|
|
1191
|
-
|
|
1191
|
+
Di as y,
|
|
1192
1192
|
de as z
|
|
1193
1193
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { isEqual as D } from "lodash-es";
|
|
3
3
|
import { a as u, c as b, d as h } from "./chart-object-literals.js";
|
|
4
|
-
import {
|
|
4
|
+
import { b$ as I, c2 as v, bB as p, r as M } from "./index.js";
|
|
5
5
|
import { i as P } from "./index4.js";
|
|
6
6
|
import { C as O } from "./chart-model.js";
|
|
7
7
|
import { m as o } from "./model-setter.js";
|
|
8
8
|
import { S as V } from "./common.js";
|
|
9
9
|
import { M as N, a as k, W as E, b as U } from "./data-labels-visibility.js";
|
|
10
10
|
import { M as j, a as X } from "./model-with-y-guides.js";
|
|
11
|
-
import { g as d, d as y, j as Y, k as w, l as z, m as R, n as K, o as q,
|
|
11
|
+
import { g as d, d as y, j as Y, k as w, l as z, m as R, n as K, o as $, q, t as G, v as Z, w as H, x as J, y as Q, z as S, A as _, B as x, C as m, D as ee, E as ie, e as te, F as se, W as re } from "./serial-chart-data.js";
|
|
12
12
|
import { M as oe } from "./model-with-x-guides.js";
|
|
13
13
|
import { W as ne, c as ae, d as le } from "./axis-lines-symbol.js";
|
|
14
14
|
import { W as ge, c as ce, d as fe } from "./generate-x-axis-title.js";
|
|
@@ -16,12 +16,12 @@ import { W as he, a as pe } from "./x-bounds.js";
|
|
|
16
16
|
import { W as me } from "./data-labels-symbol.js";
|
|
17
17
|
import { W as de } from "./rotated-state.js";
|
|
18
18
|
import { g as W, u as ye, s as T, h as ue, j as Se, k as _e, f as xe } from "./utils.js";
|
|
19
|
-
import { d as F, e as
|
|
20
|
-
import { u as Fe, m as
|
|
19
|
+
import { d as F, e as B, a as Te } from "./data.js";
|
|
20
|
+
import { u as Fe, m as Be, a7 as Ce, k as Ae, j as be } from "./index3.js";
|
|
21
21
|
import { s as L } from "./series-types.js";
|
|
22
|
-
const
|
|
22
|
+
const C = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, A = (s) => {
|
|
23
23
|
const { assign: e, seriesIndex: i, config: t, commonStrings: r } = s;
|
|
24
|
-
e && t.axes !== void 0 && !t.axes?.[2] && (t.axes[2] =
|
|
24
|
+
e && t.axes !== void 0 && !t.axes?.[2] && (t.axes[2] = Ce(r, u.BarSeries)[1]), t.series && t.series.forEach((a, g) => {
|
|
25
25
|
g === i ? a.assignToSecondValueAxis = e : g !== i && a?.assignToSecondValueAxis !== !0 && (a.assignToSecondValueAxis = !1);
|
|
26
26
|
}), t.axes?.[2] && !t.series.some((a) => a.assignToSecondValueAxis) && t.axes.splice(2, 1);
|
|
27
27
|
}, Ie = (s, e) => e.series?.[s]?.name, ve = (s, e, i) => {
|
|
@@ -37,7 +37,7 @@ const B = (s, e) => e.series?.[s].assignToSecondValueAxis ?? !1, A = (s) => {
|
|
|
37
37
|
...t.fillSymbol,
|
|
38
38
|
color: s
|
|
39
39
|
} : v(t) && (t.lineSymbol = {
|
|
40
|
-
...
|
|
40
|
+
...Be(e),
|
|
41
41
|
...t.lineSymbol,
|
|
42
42
|
color: s
|
|
43
43
|
}));
|
|
@@ -99,16 +99,16 @@ class c extends O {
|
|
|
99
99
|
return K(this._config);
|
|
100
100
|
}
|
|
101
101
|
set timeAggregationType(e) {
|
|
102
|
-
|
|
102
|
+
$(e, this._config);
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
105
|
* Whether to trim incomplete time intervals for a temporal bar chart or line chart.
|
|
106
106
|
*/
|
|
107
107
|
get trimIncompleteTimeInterval() {
|
|
108
|
-
return
|
|
108
|
+
return q(this._config);
|
|
109
109
|
}
|
|
110
110
|
set trimIncompleteTimeInterval(e) {
|
|
111
|
-
|
|
111
|
+
G(e, this._config);
|
|
112
112
|
}
|
|
113
113
|
/**
|
|
114
114
|
* Policy which tells the chart how to handle null values.
|
|
@@ -207,7 +207,7 @@ class n extends O {
|
|
|
207
207
|
const i = Se(this.layerInfo?.layerFieldsInfo ?? [], e), t = (this.xAxisField === "" || this.xAxisField === p) && e.length === 0;
|
|
208
208
|
if (i && !t) {
|
|
209
209
|
const r = M(this.layerInfo.layer).idField;
|
|
210
|
-
e.length === 0 && r !== void 0 ? (e
|
|
210
|
+
e.length === 0 && r !== void 0 ? (e = [r], this._aggregationType = h.Count) : this._aggregationType === h.Count && e.length >= 1 && r !== void 0 && !e.includes(r) && (this._aggregationType = h.Sum), this._numericFields = e, this.numericFields.length > 1 && (this._splitByField = ""), this.processSeriesRebuild("numericFields");
|
|
211
211
|
} else t && this.resetConfig();
|
|
212
212
|
}
|
|
213
213
|
/**
|
|
@@ -217,7 +217,7 @@ class n extends O {
|
|
|
217
217
|
* @deprecated since 5.2. Use {@link model/serial-chart-model/serial-chart-model#getSeriesToSecondaryYAxis getSeriesToSecondaryYAxis} instead.
|
|
218
218
|
*/
|
|
219
219
|
getAssignToSecondValueAxis(e) {
|
|
220
|
-
return
|
|
220
|
+
return C(e, this._config);
|
|
221
221
|
}
|
|
222
222
|
setAssignToSecondValueAxis(e, i) {
|
|
223
223
|
A({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
|
|
@@ -228,7 +228,7 @@ class n extends O {
|
|
|
228
228
|
* @param seriesIndex - The index of the series.
|
|
229
229
|
*/
|
|
230
230
|
getSeriesToSecondaryYAxis(e) {
|
|
231
|
-
return
|
|
231
|
+
return C(e, this._config);
|
|
232
232
|
}
|
|
233
233
|
setSeriesToSecondaryYAxis(e, i) {
|
|
234
234
|
A({ assign: e, seriesIndex: i, config: this._config, commonStrings: this.commonStrings });
|
|
@@ -270,7 +270,7 @@ class n extends O {
|
|
|
270
270
|
* The list of values for custom sort.
|
|
271
271
|
*/
|
|
272
272
|
get orderByList() {
|
|
273
|
-
return
|
|
273
|
+
return B(this._config);
|
|
274
274
|
}
|
|
275
275
|
set orderByList(e) {
|
|
276
276
|
!P(this._config) && x(e, this._config);
|
|
@@ -358,7 +358,7 @@ class n extends O {
|
|
|
358
358
|
t.splice(i, 0, r), this.setOrderOfSeries(t);
|
|
359
359
|
}
|
|
360
360
|
moveCustomSortValuesInOrderByList(e, i) {
|
|
361
|
-
const t =
|
|
361
|
+
const t = B(this._config), [r] = t.splice(e, 1);
|
|
362
362
|
t.splice(i, 0, r), x(t, this._config);
|
|
363
363
|
}
|
|
364
364
|
/**
|
|
@@ -1,37 +1,59 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
2
|
+
import "@arcgis/toolkit/type";
|
|
3
|
+
function p(e) {
|
|
4
|
+
return e !== void 0 && "type" in e && e.type === "imagery";
|
|
5
|
+
}
|
|
6
|
+
function y(e) {
|
|
7
|
+
return e !== void 0 && "type" in e && e.type === "imagery-tile";
|
|
8
|
+
}
|
|
9
|
+
function u(e) {
|
|
10
|
+
return e !== void 0 && "type" in e && e.type === "wcs";
|
|
11
|
+
}
|
|
12
|
+
function t(e) {
|
|
13
|
+
return e === "imagery" || e === "imagery-tile" || e === "wcs";
|
|
14
|
+
}
|
|
15
|
+
function a(e) {
|
|
16
|
+
return e !== void 0 && "type" in e && t(e.type);
|
|
17
|
+
}
|
|
18
|
+
function g(e) {
|
|
19
|
+
return s(e?.iLayer);
|
|
20
|
+
}
|
|
21
|
+
function s(e) {
|
|
22
|
+
const r = e?.layerType;
|
|
23
|
+
return r === "ArcGISImageServiceLayer" || r === "ArcGISTiledImageServiceLayer" || r === "WCS";
|
|
24
|
+
}
|
|
25
|
+
function c(e, r) {
|
|
26
|
+
if (a(e))
|
|
27
|
+
throw new Error(r ?? "Raster layer is not supported by this operation.");
|
|
28
|
+
}
|
|
29
|
+
const i = [
|
|
30
|
+
"catalog",
|
|
31
|
+
"catalog-footprint",
|
|
32
|
+
"csv",
|
|
33
|
+
"feature",
|
|
34
|
+
"geojson",
|
|
35
|
+
"imagery",
|
|
36
|
+
"knowledge-graph-sublayer",
|
|
37
|
+
"ogc-feature",
|
|
38
|
+
"oriented-imagery",
|
|
39
|
+
"parquet",
|
|
40
|
+
"scene",
|
|
41
|
+
"stream",
|
|
42
|
+
"subtype-group",
|
|
43
|
+
"subtype-sublayer",
|
|
44
|
+
"wfs"
|
|
45
|
+
], o = new Set(i);
|
|
46
|
+
function d(e) {
|
|
47
|
+
return o.has(e.type);
|
|
27
48
|
}
|
|
28
49
|
export {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
50
|
+
c as a,
|
|
51
|
+
t as b,
|
|
52
|
+
p as c,
|
|
53
|
+
y as d,
|
|
54
|
+
d as e,
|
|
55
|
+
u as f,
|
|
56
|
+
s as g,
|
|
57
|
+
g as h,
|
|
36
58
|
a as i
|
|
37
59
|
};
|
package/dist/chunks/utils.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as j, a as f, d as A, g as w } from "./chart-object-literals.js";
|
|
3
|
-
import { r as I, ai as q,
|
|
3
|
+
import { r as I, ai as q, cc as k, cd as O, ce as L, cf as V, O as M, a1 as b } from "./index.js";
|
|
4
4
|
import { i as B } from "./type-guards.js";
|
|
5
5
|
import { f as W, b as S, i as $, q as E } from "./index2.js";
|
|
6
6
|
import { substitute as h } from "@arcgis/core/intl.js";
|