@arcgis/charts-components 5.1.0-next.112 → 5.1.0-next.113
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/{D64TYM3R.js → 24TOMTMP.js} +1 -1
- package/dist/cdn/{KGUWJXNX.js → 2EPXIQFD.js} +1 -1
- package/dist/cdn/2SVBUT3V.js +2 -0
- package/dist/cdn/{KBFIWSF2.js → 2XTQT6TW.js} +1 -1
- package/dist/cdn/{PIQLTGQV.js → 2YI4HWFY.js} +36 -36
- package/dist/cdn/{VA7A24CW.js → 34WNZMJY.js} +1 -1
- package/dist/cdn/{MT2SXIFX.js → 4G5JOLEP.js} +1 -1
- package/dist/cdn/{D5HBIRFV.js → 4MZJZQDO.js} +1 -1
- package/dist/cdn/{2XZHEQOM.js → 52QMEXI6.js} +1 -1
- package/dist/cdn/{XL2LODIA.js → 5I75UYWD.js} +1 -1
- package/dist/cdn/{ABLXR4MB.js → 5M72DGYL.js} +1 -1
- package/dist/cdn/{I3AEOP2Z.js → 5PG6PXDG.js} +1 -1
- package/dist/cdn/6FGRLBTA.js +2 -0
- package/dist/cdn/6JNHTWDQ.js +2 -0
- package/dist/cdn/{BRQAPAQK.js → 6YSH3ROL.js} +1 -1
- package/dist/cdn/{D3BGIANC.js → 7AVVBDQS.js} +1 -1
- package/dist/cdn/{U4MRHS76.js → 7EDHTVVK.js} +1 -1
- package/dist/cdn/{NF2XLTBQ.js → 7MHEEH5F.js} +1 -1
- package/dist/cdn/{H2KJXNFC.js → 7Y76VKGS.js} +1 -1
- package/dist/cdn/AC2XSIOU.js +2 -0
- package/dist/cdn/{GFNVUB7K.js → AEESEH6N.js} +1 -1
- package/dist/cdn/{YINMQ55E.js → AYY2C4BW.js} +1 -1
- package/dist/cdn/{GWMDQQIJ.js → BH7WDRGU.js} +1 -1
- package/dist/cdn/CMPHBGKB.js +2 -0
- package/dist/cdn/{IBM2BU72.js → DDA7NVBX.js} +1 -1
- package/dist/cdn/{JGJIYKDB.js → DMDXALHQ.js} +1 -1
- package/dist/cdn/{JVHLFBSS.js → DX5LK7LS.js} +1 -1
- package/dist/cdn/{3FXHEHMZ.js → ERUYMQOC.js} +1 -1
- package/dist/cdn/{E6KDF7I4.js → ESUMWLYT.js} +1 -1
- package/dist/cdn/{P2QKEA6M.js → EULFJ5JL.js} +1 -1
- package/dist/cdn/{S5AL63QJ.js → EX27CNDS.js} +1 -1
- package/dist/cdn/FYI7J2KF.js +2 -0
- package/dist/cdn/{6KZXKGN5.js → GGZNH26O.js} +1 -1
- package/dist/cdn/{XWRRNCXX.js → HIQSXKPT.js} +1 -1
- package/dist/cdn/{RD6ECNGH.js → HS2WQJEO.js} +1 -1
- package/dist/cdn/{6MJZVFHH.js → IBCUXQZ4.js} +1 -1
- package/dist/cdn/{KKRB2MKQ.js → IC4OZCXG.js} +1 -1
- package/dist/cdn/{Y7XBFA23.js → JGD2M47O.js} +1 -1
- package/dist/cdn/KGOERXN5.js +2 -0
- package/dist/cdn/{ODQFJ4LV.js → KPXH2MNB.js} +1 -1
- package/dist/cdn/KSBWHMXE.js +2 -0
- package/dist/cdn/{CM6SMNRV.js → L3ULFQN3.js} +1 -1
- package/dist/cdn/{AHJ3Z5VK.js → LKHNZDEC.js} +1 -1
- package/dist/cdn/{UMYKMOTP.js → LXVLBS7T.js} +1 -1
- package/dist/cdn/{FBAOV5K3.js → M5E3NFDP.js} +1 -1
- package/dist/cdn/{EXMOSLLD.js → MKEUDI3M.js} +1 -1
- package/dist/cdn/{CM3VU2OY.js → MKQPW6B4.js} +1 -1
- package/dist/cdn/MVAMHZ3Q.js +2 -0
- package/dist/cdn/{5HINM2VQ.js → N265ZHHU.js} +1 -1
- package/dist/cdn/{R7CJ4O3L.js → N2S6YV3I.js} +1 -1
- package/dist/cdn/N3EATDXE.js +2 -0
- package/dist/cdn/{X67CUQNM.js → NR3BCOHU.js} +1 -1
- package/dist/cdn/{67KR6LRC.js → O2JEDVIA.js} +1 -1
- package/dist/cdn/{LOCJNU5K.js → OB7IDW6S.js} +1 -1
- package/dist/cdn/{AEUYFUBD.js → OBPCKG62.js} +1 -1
- package/dist/cdn/{PJNQHWV6.js → OCERCT4I.js} +1 -1
- package/dist/cdn/{5LC3XI7H.js → OFN7ED75.js} +1 -1
- package/dist/cdn/{KMEU5ARZ.js → OQSFVGUL.js} +1 -1
- package/dist/cdn/{DQCPY5W2.js → PA3PSUQ3.js} +1 -1
- package/dist/cdn/PYFMKPMO.js +2 -0
- package/dist/cdn/QRZ32JMG.js +2 -0
- package/dist/cdn/{3HD6QKW5.js → R3GNKVFS.js} +1 -1
- package/dist/cdn/R3Y2F64T.js +2 -0
- package/dist/cdn/{PBODMDBX.js → RBVV7JGY.js} +9 -9
- package/dist/cdn/{ESYVOEM3.js → S32VCEG7.js} +1 -1
- package/dist/cdn/{OML6Q2NW.js → S7ASARWB.js} +1 -1
- package/dist/cdn/{WXICRF7E.js → SVMC3JP5.js} +1 -1
- package/dist/cdn/SYXU6NZX.js +2 -0
- package/dist/cdn/{JUZN32FE.js → T3CSQ5DU.js} +1 -1
- package/dist/cdn/T3NJTAF3.js +2 -0
- package/dist/cdn/{LJRBB6FP.js → T53WJZQN.js} +1 -1
- package/dist/cdn/TES5ZESK.js +2 -0
- package/dist/cdn/U5ZB4YD6.js +2 -0
- package/dist/cdn/{3AXJHQ2G.js → UNDCO72C.js} +1 -1
- package/dist/cdn/{S76F4PYC.js → UR537UXK.js} +1 -1
- package/dist/cdn/{XJNMW7WT.js → VMAOMKFN.js} +1 -1
- package/dist/cdn/{KZPT7DNZ.js → VV7JMGHL.js} +1 -1
- package/dist/cdn/{5HA57VEM.js → W6CIWZSM.js} +1 -1
- package/dist/cdn/{SZZ4H4ZK.js → WA5XK3HC.js} +1 -1
- package/dist/cdn/{6TTUH24U.js → WD4QY4YU.js} +1 -1
- package/dist/cdn/{W7FIZJJV.js → WESXMGHU.js} +1 -1
- package/dist/cdn/{SJN44JLK.js → WFDVEHVL.js} +1 -1
- package/dist/cdn/{JSLCGSQY.js → WI3CE5TT.js} +1 -1
- package/dist/cdn/{FEYXO2GF.js → WNZ2PSFZ.js} +1 -1
- package/dist/cdn/{WURCLA4B.js → XLJSZ42M.js} +1 -1
- package/dist/cdn/{JQ46RTG7.js → XM6GBBOL.js} +1 -1
- package/dist/cdn/{QLSZLTAV.js → YE5ASSSN.js} +1 -1
- package/dist/cdn/{P6S4F5LJ.js → ZBLRD77K.js} +1 -1
- package/dist/cdn/ZZRH7LXO.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/class-breaks.js +375 -196
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/heat-chart-model.js +80 -55
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/index2.js +2 -1
- package/dist/chunks/index4.js +395 -368
- package/dist/chunks/index5.js +30 -16
- package/dist/chunks/index6.js +95 -180
- package/dist/chunks/index7.js +63 -96
- package/dist/chunks/model-setter.js +5 -4
- package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
- package/dist/chunks/serial-chart-data.js +459 -428
- package/dist/chunks/serial-chart-model.js +21 -21
- package/dist/chunks/type-guards3.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/chunks/x-bounds.js +1 -1
- package/dist/components/arcgis-chart/customElement.js +1874 -1852
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/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 +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +113 -115
- package/dist/components/arcgis-charts-config-heat-chart-popover/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-pie-chart/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.js +3 -3
- package/dist/json-schema/index.d.ts +16 -2
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +7 -0
- package/dist/spec/web-chart.d.ts +5 -1
- package/package.json +3 -3
- package/dist/cdn/263JBBGM.js +0 -2
- package/dist/cdn/35KB444X.js +0 -2
- package/dist/cdn/4HY2RXSW.js +0 -2
- package/dist/cdn/66KACO5S.js +0 -2
- package/dist/cdn/AG3TVVQ2.js +0 -2
- package/dist/cdn/ALLLIA7C.js +0 -2
- package/dist/cdn/CDQ7GWYX.js +0 -2
- package/dist/cdn/CSP5QTAR.js +0 -2
- package/dist/cdn/DK6HSROT.js +0 -2
- package/dist/cdn/EZWN2KJB.js +0 -2
- package/dist/cdn/FYM7POP4.js +0 -2
- package/dist/cdn/IYGAISDT.js +0 -2
- package/dist/cdn/J33CC7V4.js +0 -2
- package/dist/cdn/KNQ5BIHK.js +0 -2
- package/dist/cdn/KXB6IFTK.js +0 -2
- package/dist/cdn/SH6SDXJC.js +0 -2
- package/dist/cdn/SYUVV7NT.js +0 -2
- package/dist/cdn/XGNWXJ66.js +0 -2
- package/dist/chunks/index8.js +0 -66
- /package/dist/cdn/{AUFWCLGL.js → COYWSD6X.js} +0 -0
- /package/dist/cdn/{BVUORLWQ.js → Y2AULE2F.js} +0 -0
package/dist/chunks/index5.js
CHANGED
|
@@ -9001,6 +9001,20 @@ For feature-based gauge, if this property is not present, the first feature will
|
|
|
9001
9001
|
classificationMethod: {
|
|
9002
9002
|
$ref: "#/definitions/WebChartClassBreakTypes",
|
|
9003
9003
|
description: "The classification method to be used for the heat chart. `equal-interval` - divides the range of values into equal-sized intervals. `quantile` - divides the range of values into intervals that contain an equal number of features. `natural-breaks` - identifies natural groupings of values in the data by minimizing the variance within classes and maximizing the variance between classes. `manual` - allows you to manually specify the class breaks."
|
|
9004
|
+
},
|
|
9005
|
+
colorRampInfo: {
|
|
9006
|
+
type: "object",
|
|
9007
|
+
properties: {
|
|
9008
|
+
name: {
|
|
9009
|
+
type: "string",
|
|
9010
|
+
description: "The name of the color ramp to be used for the heat chart. The color ramp will be applied to the class breaks defined in `breaksCount` and `classificationMethod`."
|
|
9011
|
+
},
|
|
9012
|
+
flipped: {
|
|
9013
|
+
type: "boolean",
|
|
9014
|
+
description: "Indicates whether the selected color ramp is flipped.",
|
|
9015
|
+
default: !1
|
|
9016
|
+
}
|
|
9017
|
+
}
|
|
9004
9018
|
}
|
|
9005
9019
|
},
|
|
9006
9020
|
description: "JSON representation of the Heat chart with class breaks heat rules.",
|
|
@@ -9448,7 +9462,7 @@ Setting this property will ensure that the item with no data is displayed on the
|
|
|
9448
9462
|
properties: {
|
|
9449
9463
|
version: {
|
|
9450
9464
|
type: "string",
|
|
9451
|
-
const: "25.
|
|
9465
|
+
const: "25.1.0",
|
|
9452
9466
|
description: "Version of the specification. Used to identify when a saved config was created."
|
|
9453
9467
|
},
|
|
9454
9468
|
type: {
|
|
@@ -9613,7 +9627,7 @@ If not provided the series will be displayed as they are ordered in the config.`
|
|
|
9613
9627
|
properties: {
|
|
9614
9628
|
version: {
|
|
9615
9629
|
type: "string",
|
|
9616
|
-
const: "25.
|
|
9630
|
+
const: "25.1.0",
|
|
9617
9631
|
description: "Version of the specification. Used to identify when a saved config was created."
|
|
9618
9632
|
},
|
|
9619
9633
|
type: {
|
|
@@ -9807,7 +9821,7 @@ If not provided the series will be displayed as they are ordered in the config.`
|
|
|
9807
9821
|
properties: {
|
|
9808
9822
|
version: {
|
|
9809
9823
|
type: "string",
|
|
9810
|
-
const: "25.
|
|
9824
|
+
const: "25.1.0",
|
|
9811
9825
|
description: "Version of the specification. Used to identify when a saved config was created."
|
|
9812
9826
|
},
|
|
9813
9827
|
type: {
|
|
@@ -9991,7 +10005,7 @@ Additionally the chart will render with that option enabled only if the the seri
|
|
|
9991
10005
|
properties: {
|
|
9992
10006
|
version: {
|
|
9993
10007
|
type: "string",
|
|
9994
|
-
const: "25.
|
|
10008
|
+
const: "25.1.0",
|
|
9995
10009
|
description: "Version of the specification. Used to identify when a saved config was created."
|
|
9996
10010
|
},
|
|
9997
10011
|
type: {
|
|
@@ -10177,7 +10191,7 @@ If not provided the series will be displayed as they are ordered in the config.`
|
|
|
10177
10191
|
},
|
|
10178
10192
|
version: {
|
|
10179
10193
|
type: "string",
|
|
10180
|
-
const: "25.
|
|
10194
|
+
const: "25.1.0",
|
|
10181
10195
|
description: "Version of the specification. Used to identify when a saved config was created."
|
|
10182
10196
|
},
|
|
10183
10197
|
type: {
|
|
@@ -10336,11 +10350,11 @@ If not provided the series will be displayed as they are ordered in the config.`
|
|
|
10336
10350
|
description: "Gives a JSON representation of the heat chart object.",
|
|
10337
10351
|
title: "WebHeatChart"
|
|
10338
10352
|
},
|
|
10339
|
-
'Omit<(structure-1066060463-
|
|
10340
|
-
$ref: "#/definitions/Pick%3C(structure-1066060463-
|
|
10341
|
-
title: 'Omit<(structure-1066060463-
|
|
10353
|
+
'Omit<(structure-1066060463-59675-61418-1066060463-59600-61419-1066060463-55705-61421-1066060463-0-64474|undefined)937098756,("data"|"orderByFields")>': {
|
|
10354
|
+
$ref: "#/definitions/Pick%3C(structure-1066060463-59675-61418-1066060463-59600-61419-1066060463-55705-61421-1066060463-0-64474%7Cundefined)937098756%2CExclude%3C(%22series%22%7C%22data%22%7C%22orderByFields%22)%2C(%22data%22%7C%22orderByFields%22)%3E%3E",
|
|
10355
|
+
title: 'Omit<(structure-1066060463-59675-61418-1066060463-59600-61419-1066060463-55705-61421-1066060463-0-64474|undefined)937098756,("data"|"orderByFields")>'
|
|
10342
10356
|
},
|
|
10343
|
-
'Pick<(structure-1066060463-
|
|
10357
|
+
'Pick<(structure-1066060463-59675-61418-1066060463-59600-61419-1066060463-55705-61421-1066060463-0-64474|undefined)937098756,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>': {
|
|
10344
10358
|
type: "object",
|
|
10345
10359
|
properties: {
|
|
10346
10360
|
series: {
|
|
@@ -10351,7 +10365,7 @@ If not provided the series will be displayed as they are ordered in the config.`
|
|
|
10351
10365
|
}
|
|
10352
10366
|
},
|
|
10353
10367
|
additionalProperties: !1,
|
|
10354
|
-
title: 'Pick<(structure-1066060463-
|
|
10368
|
+
title: 'Pick<(structure-1066060463-59675-61418-1066060463-59600-61419-1066060463-55705-61421-1066060463-0-64474|undefined)937098756,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>'
|
|
10355
10369
|
},
|
|
10356
10370
|
OverlayTerms: {
|
|
10357
10371
|
type: "string",
|
|
@@ -10628,7 +10642,7 @@ async function P(i, r) {
|
|
|
10628
10642
|
}
|
|
10629
10643
|
return n;
|
|
10630
10644
|
}
|
|
10631
|
-
function
|
|
10645
|
+
function k(i) {
|
|
10632
10646
|
const r = /* @__PURE__ */ new Set(), n = H(i);
|
|
10633
10647
|
if (n) {
|
|
10634
10648
|
const e = x(i.series), t = C(i.series);
|
|
@@ -10670,7 +10684,7 @@ async function de(i) {
|
|
|
10670
10684
|
v(document.documentElement).t9nLocale,
|
|
10671
10685
|
w("./assets/common/t9n"),
|
|
10672
10686
|
"messages."
|
|
10673
|
-
)).errorStrings, o = L(n), l =
|
|
10687
|
+
)).errorStrings, o = L(n), l = k(r).filter((y) => !D(y, o));
|
|
10674
10688
|
if (l.length > 0) {
|
|
10675
10689
|
const y = l.join(", ");
|
|
10676
10690
|
t = {
|
|
@@ -10681,7 +10695,7 @@ async function de(i) {
|
|
|
10681
10695
|
}
|
|
10682
10696
|
return t;
|
|
10683
10697
|
}
|
|
10684
|
-
async function
|
|
10698
|
+
async function B(i) {
|
|
10685
10699
|
const { input: r, queryObject: n, allowUsingObjectIdStat: e, errorStrings: t } = i;
|
|
10686
10700
|
let a = [];
|
|
10687
10701
|
if (n !== void 0) {
|
|
@@ -10717,7 +10731,7 @@ async function Se(i) {
|
|
|
10717
10731
|
else {
|
|
10718
10732
|
const o = await le(r, t);
|
|
10719
10733
|
let p = [], l = [];
|
|
10720
|
-
r !== void 0 && o.length === 0 && (l = await N({ queryObject: n, chartConfig: r, errorStrings: t }), l.length === 0 && (p = await
|
|
10734
|
+
r !== void 0 && o.length === 0 && (l = await N({ queryObject: n, chartConfig: r, errorStrings: t }), l.length === 0 && (p = await B({ input: r, queryObject: n, allowUsingObjectIdStat: e, errorStrings: t }))), a = {
|
|
10721
10735
|
valid: o.length === 0 && p.length === 0 && l.length === 0,
|
|
10722
10736
|
schemaErrors: o,
|
|
10723
10737
|
customErrors: l,
|
|
@@ -10768,13 +10782,13 @@ function ve(i) {
|
|
|
10768
10782
|
}
|
|
10769
10783
|
const Ie = {
|
|
10770
10784
|
findCustomErrors: N,
|
|
10771
|
-
findWarnings:
|
|
10785
|
+
findWarnings: B,
|
|
10772
10786
|
findNumericAggregationWarnings: q,
|
|
10773
10787
|
findDuplicateSeriesIDWarnings: P,
|
|
10774
10788
|
findLayerLoadError: R,
|
|
10775
10789
|
createStartingSchema: g,
|
|
10776
10790
|
extractSchemaNameFromRefPath: O,
|
|
10777
|
-
getRequiredFieldNamesFromChartConfig:
|
|
10791
|
+
getRequiredFieldNamesFromChartConfig: k,
|
|
10778
10792
|
customizeValidationErrors: j
|
|
10779
10793
|
};
|
|
10780
10794
|
export {
|
package/dist/chunks/index6.js
CHANGED
|
@@ -1,184 +1,99 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
function
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
let n = { value: a };
|
|
76
|
-
e.forEach((o) => {
|
|
77
|
-
const c = N(l[`${t.fillColor}_${o}`]), m = l[`${t.fillOpacity}_${o}`], S = l[`${t.fillStyle}_${o}`], b = l[`${t.markerSize}_${o}`], D = N(l[`${t.outlineColor}_${o}`]), O = l[`${t.outlineOpacity}_${o}`], h = l[`${t.outlineWidth}_${o}`], k = l[`${t.outlineStyle}_${o}`], F = N(l[`${t.lineColor}_${o}`]), v = l[`${t.lineOpacity}_${o}`], d = l[`${t.lineWidth}_${o}`], _ = l[`${t.lineStyle}_${o}`], C = l[`${t.displayLabel}_${o}`];
|
|
78
|
-
if (typeof C == "string" && (n = {
|
|
79
|
-
...n,
|
|
80
|
-
label: C
|
|
81
|
-
}), b != null) {
|
|
82
|
-
const f = { type: g.SMS };
|
|
83
|
-
b && typeof b == "number" && (f.size = b), n.symbol = f;
|
|
84
|
-
}
|
|
85
|
-
if (c || R(S)) {
|
|
86
|
-
const f = n.symbol?.type === g.SMS ? n.symbol : {
|
|
87
|
-
type: g.SFS
|
|
88
|
-
};
|
|
89
|
-
if (c && (m && typeof m == "number" && (c[3] = m), f.color = c), R(S) && (f.style = S), n.symbol = f, D || h != null || I(k)) {
|
|
90
|
-
const T = { type: g.SLS };
|
|
91
|
-
D && (O && typeof O == "number" && (D[3] = O), T.color = D), I(k) && (T.style = k), h && typeof h == "number" && (T.width = h), n.symbol.outline = T;
|
|
92
|
-
}
|
|
93
|
-
} else if (F || d != null || I(_)) {
|
|
94
|
-
const f = { type: g.SLS };
|
|
95
|
-
F && (v && typeof v == "number" && (F[3] = v), f.color = F), I(_) && (f.style = _), d != null && typeof d == "number" && (f.width = d), n.symbol = f;
|
|
96
|
-
}
|
|
97
|
-
}), (n.label || n.symbol) && u.uniqueValueInfos.push(n);
|
|
98
|
-
}
|
|
99
|
-
})), u;
|
|
100
|
-
}
|
|
101
|
-
function E(i) {
|
|
102
|
-
const { numericFields: r, configFields: e, inlineData: t } = i, s = t;
|
|
103
|
-
return "dataItems" in t && Object.entries(e).forEach(([u, l]) => {
|
|
104
|
-
r.forEach((a) => {
|
|
105
|
-
const n = `${l}_${a}`;
|
|
106
|
-
t.dataItems.forEach((o) => {
|
|
107
|
-
n in o && delete o[n];
|
|
108
|
-
});
|
|
109
|
-
});
|
|
110
|
-
}), s;
|
|
111
|
-
}
|
|
112
|
-
function j(i) {
|
|
113
|
-
const { categoryField: r, categoryType: e, numericFields: t, inlineData: s } = i;
|
|
114
|
-
let u;
|
|
115
|
-
if ("dataItems" in s) {
|
|
116
|
-
const { dataItems: l } = s, a = [];
|
|
117
|
-
let n = "OBJECTID";
|
|
118
|
-
const o = l.map((m, S) => {
|
|
119
|
-
const b = { ...m };
|
|
120
|
-
return "FID" in m ? n = "FID" : "ObjectId" in m && (n = "ObjectId"), b[n] || (b[n] = S), { attributes: b };
|
|
121
|
-
});
|
|
122
|
-
a.push({ type: "esriFieldTypeOID", name: n });
|
|
123
|
-
let c;
|
|
124
|
-
switch (e) {
|
|
125
|
-
case "dateOnly":
|
|
126
|
-
c = $.DateOnly;
|
|
127
|
-
break;
|
|
128
|
-
case "timeStampOffset":
|
|
129
|
-
c = $.TimestampOffset;
|
|
130
|
-
break;
|
|
131
|
-
case "date":
|
|
132
|
-
c = $.Date;
|
|
133
|
-
break;
|
|
134
|
-
case "number":
|
|
135
|
-
c = $.Double;
|
|
136
|
-
break;
|
|
137
|
-
default:
|
|
138
|
-
c = $.String;
|
|
139
|
-
break;
|
|
140
|
-
}
|
|
141
|
-
a.push({ type: c, name: r }), t.forEach((m) => {
|
|
142
|
-
a.push({ type: $.Double, name: m });
|
|
143
|
-
}), u = {
|
|
144
|
-
id: "",
|
|
145
|
-
layerType: "ArcGISFeatureLayer",
|
|
146
|
-
featureCollection: {
|
|
147
|
-
layers: [{ layerDefinition: { fields: a }, featureSet: { features: o } }]
|
|
148
|
-
}
|
|
149
|
-
};
|
|
150
|
-
}
|
|
151
|
-
return u;
|
|
152
|
-
}
|
|
153
|
-
async function B(i) {
|
|
154
|
-
const { categoryField: r, categoryType: e, numericFields: t, configFields: s, inlineData: u } = i;
|
|
155
|
-
let l, a, n = w(u);
|
|
156
|
-
s && (l = W({
|
|
157
|
-
categoryField: r,
|
|
158
|
-
numericFields: t,
|
|
159
|
-
configFields: s,
|
|
160
|
-
inlineData: n
|
|
161
|
-
}), n = E({
|
|
162
|
-
numericFields: t,
|
|
163
|
-
configFields: s,
|
|
164
|
-
inlineData: n
|
|
165
|
-
}));
|
|
166
|
-
const o = j({
|
|
167
|
-
categoryField: r,
|
|
168
|
-
categoryType: e,
|
|
169
|
-
numericFields: t,
|
|
170
|
-
inlineData: n
|
|
171
|
-
});
|
|
172
|
-
return o && (a = await V(o)), { chartRenderer: l, iLayer: o, layer: a };
|
|
173
|
-
}
|
|
174
|
-
const M = {
|
|
175
|
-
hexToRGB: L,
|
|
176
|
-
convertColor: N,
|
|
177
|
-
removeConfigFieldsFromData: E
|
|
178
|
-
};
|
|
2
|
+
import { u as r } from "./chart-object-literals.js";
|
|
3
|
+
import { i as a } from "./rest-js-object-literals.js";
|
|
4
|
+
import { g as s } from "./series-types.js";
|
|
5
|
+
function c(e) {
|
|
6
|
+
const t = [
|
|
7
|
+
r.BarSeries,
|
|
8
|
+
r.LineSeries,
|
|
9
|
+
r.ComboLineAndBarSeries,
|
|
10
|
+
r.BoxPlotSeries
|
|
11
|
+
], i = s(e?.series);
|
|
12
|
+
return i !== void 0 ? t.includes(i) : !1;
|
|
13
|
+
}
|
|
14
|
+
function p(e) {
|
|
15
|
+
const t = [
|
|
16
|
+
r.BarSeries,
|
|
17
|
+
r.LineSeries,
|
|
18
|
+
r.ComboLineAndBarSeries,
|
|
19
|
+
r.RadarSeries
|
|
20
|
+
], i = s(e?.series);
|
|
21
|
+
return i !== void 0 ? t.includes(i) : !1;
|
|
22
|
+
}
|
|
23
|
+
function y(e) {
|
|
24
|
+
return e?.type === a.SFS;
|
|
25
|
+
}
|
|
26
|
+
function h(e) {
|
|
27
|
+
return e?.type === a.SLS;
|
|
28
|
+
}
|
|
29
|
+
function d(e) {
|
|
30
|
+
return e?.type === a.SMS;
|
|
31
|
+
}
|
|
32
|
+
function f(e) {
|
|
33
|
+
return e?.type === a.TS;
|
|
34
|
+
}
|
|
35
|
+
function m(e) {
|
|
36
|
+
return e && "iLayer" in e && e.iLayer;
|
|
37
|
+
}
|
|
38
|
+
function T(e, t) {
|
|
39
|
+
return e !== void 0 && t !== void 0 && e.series[0]?.type === t;
|
|
40
|
+
}
|
|
41
|
+
function n(e) {
|
|
42
|
+
return e?.type === r.BoxPlotSeries;
|
|
43
|
+
}
|
|
44
|
+
function C(e) {
|
|
45
|
+
return e?.type === r.LineSeries;
|
|
46
|
+
}
|
|
47
|
+
function l(e) {
|
|
48
|
+
return e?.type === r.RadarSeries;
|
|
49
|
+
}
|
|
50
|
+
function b(e) {
|
|
51
|
+
return e?.type === r.BarSeries;
|
|
52
|
+
}
|
|
53
|
+
function L(e) {
|
|
54
|
+
return e?.type === r.HeatSeries;
|
|
55
|
+
}
|
|
56
|
+
const B = (e) => s(e) === r.BarSeries, v = (e) => s(e) === r.LineSeries, A = (e) => s(e) === r.RadarSeries, x = (e) => s(e) === r.HeatSeries;
|
|
57
|
+
function I(e) {
|
|
58
|
+
return e.every(n);
|
|
59
|
+
}
|
|
60
|
+
function R(e) {
|
|
61
|
+
return e?.type === r.NumberAxisFormat;
|
|
62
|
+
}
|
|
63
|
+
function H(e) {
|
|
64
|
+
return e === void 0 || "bins" in e;
|
|
65
|
+
}
|
|
66
|
+
function O(e) {
|
|
67
|
+
return e === void 0 || "dataItems" in e;
|
|
68
|
+
}
|
|
69
|
+
function W(e) {
|
|
70
|
+
return e === void 0 || "dataItems" in e && "r2" in e;
|
|
71
|
+
}
|
|
72
|
+
function D(e) {
|
|
73
|
+
return "value" in e;
|
|
74
|
+
}
|
|
179
75
|
export {
|
|
180
76
|
B as a,
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
77
|
+
n as b,
|
|
78
|
+
I as c,
|
|
79
|
+
T as d,
|
|
80
|
+
L as e,
|
|
81
|
+
x as f,
|
|
82
|
+
C as g,
|
|
83
|
+
m as h,
|
|
84
|
+
b as i,
|
|
85
|
+
v as j,
|
|
86
|
+
R as k,
|
|
87
|
+
l,
|
|
88
|
+
A as m,
|
|
89
|
+
c as n,
|
|
90
|
+
y as o,
|
|
91
|
+
h as p,
|
|
92
|
+
d as q,
|
|
93
|
+
p as r,
|
|
94
|
+
D as s,
|
|
95
|
+
O as t,
|
|
96
|
+
H as u,
|
|
97
|
+
W as v,
|
|
98
|
+
f as w
|
|
184
99
|
};
|
package/dist/chunks/index7.js
CHANGED
|
@@ -1,99 +1,66 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/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
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
const B = (e) => s(e) === r.BarSeries, v = (e) => s(e) === r.LineSeries, A = (e) => s(e) === r.RadarSeries, x = (e) => s(e) === r.HeatSeries;
|
|
57
|
-
function I(e) {
|
|
58
|
-
return e.every(n);
|
|
59
|
-
}
|
|
60
|
-
function R(e) {
|
|
61
|
-
return e?.type === r.NumberAxisFormat;
|
|
62
|
-
}
|
|
63
|
-
function H(e) {
|
|
64
|
-
return e === void 0 || "bins" in e;
|
|
65
|
-
}
|
|
66
|
-
function O(e) {
|
|
67
|
-
return e === void 0 || "dataItems" in e;
|
|
68
|
-
}
|
|
69
|
-
function W(e) {
|
|
70
|
-
return e === void 0 || "dataItems" in e && "r2" in e;
|
|
71
|
-
}
|
|
72
|
-
function D(e) {
|
|
73
|
-
return "value" in e;
|
|
74
|
-
}
|
|
2
|
+
const a = {
|
|
3
|
+
DataProcessComplete: "arcgisDataProcessComplete",
|
|
4
|
+
DataFetchComplete: "arcgisDataFetchComplete",
|
|
5
|
+
DataProcessError: "arcgisDataProcessError",
|
|
6
|
+
LegendItemVisibilityChange: "arcgisLegendItemVisibilityChange",
|
|
7
|
+
UpdateComplete: "arcgisUpdateComplete",
|
|
8
|
+
SeriesColorChange: "arcgisSeriesColorChange",
|
|
9
|
+
AxesMinMaxChange: "arcgisAxesMinMaxChange",
|
|
10
|
+
DefaultActionSelect: "arcgisDefaultActionSelect",
|
|
11
|
+
SelectionComplete: "arcgisSelectionComplete",
|
|
12
|
+
ActionBarToggle: "arcgisActionBarToggle",
|
|
13
|
+
NoRenderPropChange: "arcgisNoRenderPropChange",
|
|
14
|
+
BadDataWarningRaise: "arcgisBadDataWarningRaise",
|
|
15
|
+
InvalidConfigRaise: "arcgisInvalidConfigWarningRaise",
|
|
16
|
+
SeriesOrder: "arcgisSeriesOrder",
|
|
17
|
+
RuntimeError: "arcgisRuntimeError",
|
|
18
|
+
ConfigChange: "arcgisConfigChange",
|
|
19
|
+
RenderingComplete: "arcgisRenderingComplete"
|
|
20
|
+
}, t = {
|
|
21
|
+
FilterBySelection: "filterBySelection",
|
|
22
|
+
FilterByExtent: "filterByExtent",
|
|
23
|
+
Legend: "legend",
|
|
24
|
+
RotateChart: "rotateChart",
|
|
25
|
+
Selection: "selection",
|
|
26
|
+
ClearSelection: "clearSelection",
|
|
27
|
+
SwitchSelection: "switchSelection",
|
|
28
|
+
Zoom: "zoom",
|
|
29
|
+
FullExtent: "fullExtent",
|
|
30
|
+
EditChart: "editChart",
|
|
31
|
+
ExportAsImage: "exportAsImage",
|
|
32
|
+
ExportAsCSV: "exportAsCSV"
|
|
33
|
+
}, i = {
|
|
34
|
+
Active: "active",
|
|
35
|
+
Inactive: "inactive"
|
|
36
|
+
}, n = {
|
|
37
|
+
Enabled: "enabled",
|
|
38
|
+
Disabled: "disabled"
|
|
39
|
+
}, r = {
|
|
40
|
+
Ignore: "ignore",
|
|
41
|
+
Throw: "throw"
|
|
42
|
+
}, e = {
|
|
43
|
+
Ignore: "ignore",
|
|
44
|
+
Refresh: "refresh"
|
|
45
|
+
}, o = e, s = e, c = e, l = e, g = {
|
|
46
|
+
/**
|
|
47
|
+
* Enable syncing selections between chart and layer view
|
|
48
|
+
*/
|
|
49
|
+
Enabled: "enabled",
|
|
50
|
+
/**
|
|
51
|
+
* Disable syncing selections between chart and layer view
|
|
52
|
+
*/
|
|
53
|
+
Disabled: "disabled"
|
|
54
|
+
};
|
|
75
55
|
export {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
R as k,
|
|
87
|
-
l,
|
|
88
|
-
A as m,
|
|
89
|
-
c as n,
|
|
90
|
-
y as o,
|
|
91
|
-
h as p,
|
|
92
|
-
d as q,
|
|
93
|
-
p as r,
|
|
94
|
-
D as s,
|
|
95
|
-
O as t,
|
|
96
|
-
H as u,
|
|
97
|
-
W as v,
|
|
98
|
-
f as w
|
|
56
|
+
n as A,
|
|
57
|
+
a as C,
|
|
58
|
+
t as D,
|
|
59
|
+
r as E,
|
|
60
|
+
c as L,
|
|
61
|
+
g as S,
|
|
62
|
+
l as V,
|
|
63
|
+
i as a,
|
|
64
|
+
o as b,
|
|
65
|
+
s as c
|
|
99
66
|
};
|
|
@@ -32,7 +32,8 @@ import "simple-statistics";
|
|
|
32
32
|
import "@arcgis/core/core/sql.js";
|
|
33
33
|
import "@arcgis/core/geometry/Extent.js";
|
|
34
34
|
import "@arcgis/toolkit/type";
|
|
35
|
-
class
|
|
35
|
+
import "./class-breaks.js";
|
|
36
|
+
class $ extends EventTarget {
|
|
36
37
|
/**
|
|
37
38
|
* @param args
|
|
38
39
|
* @privateRemarks This "any" constructor is needed for TypeScript to merge
|
|
@@ -119,7 +120,7 @@ class Z extends EventTarget {
|
|
|
119
120
|
}
|
|
120
121
|
// #endregion
|
|
121
122
|
}
|
|
122
|
-
function
|
|
123
|
+
function K(n, i, t) {
|
|
123
124
|
const s = t.set, a = t.value;
|
|
124
125
|
return s && (t.set = function(r) {
|
|
125
126
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -132,6 +133,6 @@ function $(n, i, t) {
|
|
|
132
133
|
}), t;
|
|
133
134
|
}
|
|
134
135
|
export {
|
|
135
|
-
|
|
136
|
-
|
|
136
|
+
$ as C,
|
|
137
|
+
K as m
|
|
137
138
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { s as c, b as k, g as b, a as n } from "./series.js";
|
|
3
3
|
import { X as m } from "./index.js";
|
|
4
|
-
import { g as i, l as a } from "./
|
|
4
|
+
import { g as i, l as a } from "./index6.js";
|
|
5
5
|
import { C as v, m as y } from "./model-setter.js";
|
|
6
6
|
const f = (s, e) => {
|
|
7
7
|
if (i(e.series[s]) || a(e.series[s]))
|