@arcgis/charts-components 5.2.0-next.79 → 5.2.0-next.84
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/2BA2QD2A.js +3 -0
- package/dist/cdn/{3EO4F26F.js → 2MF442VT.js} +1 -1
- package/dist/cdn/{52MUPDJX.js → 2YDNWOWT.js} +1 -1
- package/dist/cdn/{XUHTILLV.js → 3AYNHY7J.js} +1 -1
- package/dist/cdn/3H3PFQTD.js +2 -0
- package/dist/cdn/{SN4KBI42.js → 3KDTVBIG.js} +1 -1
- package/dist/cdn/{KBBPAMMT.js → 3SSQPYQA.js} +1 -1
- package/dist/cdn/{2GAKZXA7.js → 3YPGCLG4.js} +1 -1
- package/dist/cdn/{VMLRM5N5.js → 3ZKNY2GI.js} +1 -1
- package/dist/cdn/{JZFIYS3Q.js → 4KF7SUJE.js} +1 -1
- package/dist/cdn/{2ASLWSZG.js → 4U2HIMOR.js} +1 -1
- package/dist/cdn/{OILO7FSO.js → 52NR6B2J.js} +1 -1
- package/dist/cdn/{KOLRCFJY.js → 5DHMYPPF.js} +1 -1
- package/dist/cdn/5NGIGJYR.js +2 -0
- package/dist/cdn/62GSQDTE.js +2 -0
- package/dist/cdn/{IJWJOXQC.js → 6LV3ASGE.js} +1 -1
- package/dist/cdn/{UQQUQB2A.js → 6SQNRMJG.js} +1 -1
- package/dist/cdn/{O7LPETXX.js → 6WWEQU3O.js} +1 -1
- package/dist/cdn/{LJTJTGIW.js → 72KEQM4K.js} +1 -1
- package/dist/cdn/{Y3WKQVWR.js → 72VGCAR5.js} +1 -1
- package/dist/cdn/{DWGM7Z44.js → 7CZMR2WF.js} +1 -1
- package/dist/cdn/{JBDNBUXX.js → 7JA63ENU.js} +6 -6
- package/dist/cdn/{D3YWSIAT.js → 7P3FHJUU.js} +1 -1
- package/dist/cdn/{2AYYSMS5.js → 7SIKOCYK.js} +3 -3
- package/dist/cdn/{PBMWAGSX.js → 7ZAT46VE.js} +1 -1
- package/dist/cdn/{J6SZNFHT.js → ACMHG3RB.js} +1 -1
- package/dist/cdn/{EVXW4JIN.js → BV7UUWYI.js} +1 -1
- package/dist/cdn/{JILQHU4L.js → C5UI5MYS.js} +1 -1
- package/dist/cdn/{X7KNPTRQ.js → C7F4AVQU.js} +2 -2
- package/dist/cdn/{HVNUPBQA.js → CFOB77PI.js} +1 -1
- package/dist/cdn/{C5O4MQR2.js → CSOYZJU5.js} +1 -1
- package/dist/cdn/{4UZZHUBR.js → CVWT6DGY.js} +1 -1
- package/dist/cdn/{QK73NKPD.js → CXWBQG5O.js} +1 -1
- package/dist/cdn/{KBADZKOP.js → DE3CJJG3.js} +1 -1
- package/dist/cdn/{DB2GBCE3.js → DKC4NIUA.js} +1 -1
- package/dist/cdn/{3OW3AP7E.js → DW5NK2B3.js} +1 -1
- package/dist/cdn/{JMYWZDZT.js → DZWIVB6V.js} +1 -1
- package/dist/cdn/EMOHROY3.js +2 -0
- package/dist/cdn/{55MAADXE.js → EYYTKCXM.js} +1 -1
- package/dist/cdn/{HEVW64SC.js → EZLKMWI5.js} +1 -1
- package/dist/cdn/{PCAFQL35.js → F3LVXDV4.js} +1 -1
- package/dist/cdn/{CPTM5D3G.js → FBU4ODQE.js} +1 -1
- package/dist/cdn/{FWLBHMGZ.js → FQKGQHVK.js} +1 -1
- package/dist/cdn/{WIU4Z5RB.js → FRTPDJGW.js} +1 -1
- package/dist/cdn/{TS7M5QXS.js → G45UKTNI.js} +1 -1
- package/dist/cdn/{4B2OSQ56.js → GDGYKODO.js} +1 -1
- package/dist/cdn/{YWYUS2YB.js → GX64OP3A.js} +1 -1
- package/dist/cdn/{TVQYI2GA.js → GZEVPH4Y.js} +1 -1
- package/dist/cdn/{5UKSJH54.js → HDIBDW52.js} +1 -1
- package/dist/cdn/{SCBFWKS5.js → HOASAQAB.js} +1 -1
- package/dist/cdn/{FNTOEKMU.js → HQ2JPCTQ.js} +1 -1
- package/dist/cdn/{LYE5P3IM.js → I3BMYY7N.js} +1 -1
- package/dist/cdn/{BRQQTNPP.js → IN2IL6T2.js} +1 -1
- package/dist/cdn/IVM37XFX.js +2 -0
- package/dist/cdn/JMMNRCD4.js +2 -0
- package/dist/cdn/JQM5R6XW.js +2 -0
- package/dist/cdn/{6WE5NXCL.js → JUU3BZT7.js} +1 -1
- package/dist/cdn/{IC7XPCCD.js → KAQ5XSCQ.js} +1 -1
- package/dist/cdn/{ARBNJ22B.js → KG574LAE.js} +1 -1
- package/dist/cdn/{REUSRETW.js → KHJC5P5T.js} +1 -1
- package/dist/cdn/{RZHWMERW.js → KYOBS7XL.js} +1 -1
- package/dist/cdn/KZSCAJDG.js +2 -0
- package/dist/cdn/{IPEJCIHO.js → L4BZX57U.js} +1 -1
- package/dist/cdn/L5JZ5COY.js +2 -0
- package/dist/cdn/LCTDNI27.js +2 -0
- package/dist/cdn/{XGOJWQ2M.js → LM6VCILT.js} +1 -1
- package/dist/cdn/{L4E3VJVV.js → LMTSW3JM.js} +1 -1
- package/dist/cdn/{3U6ESLPG.js → LPS3VU35.js} +1 -1
- package/dist/cdn/{6IQK654E.js → M6OCFMDB.js} +1 -1
- package/dist/cdn/{N7C7MXPK.js → MITW5XKW.js} +1 -1
- package/dist/cdn/{RXIRNKPO.js → MJHVSD5B.js} +1 -1
- package/dist/cdn/{KS5BBSHY.js → MNYNXHXE.js} +1 -1
- package/dist/cdn/{4V4XGO3V.js → NH2A5QEU.js} +1 -1
- package/dist/cdn/NIDXK3GN.js +2 -0
- package/dist/cdn/{OTCRP3JF.js → OMORDJT2.js} +1 -1
- package/dist/cdn/{GRFUVWBR.js → OYXDCECZ.js} +1 -1
- package/dist/cdn/{DAFNQT4C.js → P3AYFJRV.js} +1 -1
- package/dist/cdn/{DNBUCAK5.js → PF6QOHZR.js} +1 -1
- package/dist/cdn/{TGP4YGPD.js → PMTNALXO.js} +1 -1
- package/dist/cdn/{K4APZJ2O.js → PWJBGZPW.js} +1 -1
- package/dist/cdn/{7MXV56XK.js → QIG7WTJF.js} +1 -1
- package/dist/cdn/{F4YJZZ3Z.js → QXQC4CH5.js} +1 -1
- package/dist/cdn/{KJZTU3DV.js → QYRHZJH3.js} +1 -1
- package/dist/cdn/{NIDK3VNZ.js → R5VDQBUH.js} +1 -1
- package/dist/cdn/{HHZOC34D.js → RCAPTQFV.js} +1 -1
- package/dist/cdn/{UROIIO5G.js → RPUEIRTH.js} +1 -1
- package/dist/cdn/S2HIF3ZX.js +2 -0
- package/dist/cdn/{6ILCVW7Y.js → SC26LLWP.js} +1 -1
- package/dist/cdn/{AGPCWGX5.js → SILDOKXS.js} +1 -1
- package/dist/cdn/{ZFVW3OFJ.js → TBW6K2TY.js} +1 -1
- package/dist/cdn/{JYC77MVD.js → TENIFMA5.js} +1 -1
- package/dist/cdn/{JQU6SHEI.js → TSU6UVTL.js} +1 -1
- package/dist/cdn/{TMGMKM5F.js → U3542JBJ.js} +1 -1
- package/dist/cdn/U7GQGHZY.js +2 -0
- package/dist/cdn/{ANIGKAAB.js → UYDDYD3O.js} +1 -1
- package/dist/cdn/{F7UO7P33.js → V3ITNIER.js} +1 -1
- package/dist/cdn/VQU2TVX7.js +3 -0
- package/dist/cdn/{OAGFPD22.js → VSPKBQS6.js} +1 -1
- package/dist/cdn/{XPWRCAVM.js → WC22SRVJ.js} +1 -1
- package/dist/cdn/{5TACWRME.js → XBRRJQVR.js} +1 -1
- package/dist/cdn/{AVJGLPDW.js → XFCDAI5T.js} +1 -1
- package/dist/cdn/{O3I5M2SH.js → XHZAAQMF.js} +1 -1
- package/dist/cdn/{DEEDTMN2.js → XU7TGV75.js} +1 -1
- package/dist/cdn/XVCBLLWW.js +2 -0
- package/dist/cdn/{EUTOQQ3S.js → YAWW63A5.js} +1 -1
- package/dist/cdn/ZDUW3TBJ.js +2 -0
- package/dist/cdn/{4XM7Q33B.js → ZGIM53IQ.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/action-bar-utils.js +17 -17
- package/dist/chunks/axis-lines-symbol.js +1 -1
- package/dist/chunks/bar-chart-model.js +11 -11
- package/dist/chunks/box-plot-data.js +73 -73
- package/dist/chunks/box-plot-model.js +8 -8
- package/dist/chunks/chart-model.js +33 -33
- package/dist/chunks/chart-object-literals.js +24 -24
- package/dist/chunks/chart-ui-utils.js +149 -68
- package/dist/chunks/chart-ui-utils2.js +68 -149
- package/dist/chunks/class-breaks.js +14 -14
- package/dist/chunks/combo-bar-line-chart-model.js +35 -35
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +30 -30
- package/dist/chunks/data.js +40 -40
- package/dist/chunks/default.js +6 -6
- package/dist/chunks/gauge-model.js +58 -58
- package/dist/chunks/generate-x-axis-title.js +22 -22
- package/dist/chunks/heat-chart-model.js +11 -11
- package/dist/chunks/histogram-data.js +21 -21
- package/dist/chunks/histogram-model.js +12 -12
- package/dist/chunks/index.js +9364 -1103
- package/dist/chunks/index2.js +836 -9337
- package/dist/chunks/index3.js +1166 -865
- package/dist/chunks/index4.js +8 -8
- package/dist/chunks/index5.js +5 -5
- package/dist/chunks/interfaces.js +9 -9
- package/dist/chunks/line-chart-model.js +9 -9
- package/dist/chunks/model-setter.js +3 -3
- package/dist/chunks/model-types.js +1 -1
- package/dist/chunks/model-with-y-guides.js +13 -13
- package/dist/chunks/negative-values-stacked-to-baseline.js +7 -7
- package/dist/chunks/pie-chart-data.js +10 -10
- package/dist/chunks/pie-chart-model.js +35 -35
- package/dist/chunks/radar-chart-model.js +14 -14
- package/dist/chunks/resource.js +5 -5
- package/dist/chunks/rest-js-object-literals.js +10 -10
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +7 -7
- package/dist/chunks/scatterplot-model.js +11 -11
- package/dist/chunks/serial-chart-data.js +165 -165
- package/dist/chunks/serial-chart-model.js +14 -14
- package/dist/chunks/series-length.js +17 -17
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +7 -7
- package/dist/chunks/type-guards2.js +25 -25
- package/dist/chunks/utils.js +23 -23
- package/dist/chunks/utils2.js +9 -9
- package/dist/chunks/web-component-utils.js +63 -63
- package/dist/chunks/x-bounds.js +28 -28
- package/dist/components/arcgis-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-chart/customElement.js +11 -11
- package/dist/components/arcgis-charts-action-bar/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +11 -18
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +17 -17
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +29 -36
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +21 -21
- package/dist/components/arcgis-charts-config-font-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-format/customElement.js +17 -17
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +14 -14
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/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 +19 -19
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +31 -31
- package/dist/components/arcgis-charts-config-histogram/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +14 -14
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +22 -22
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
- package/dist/components/arcgis-charts-info-modal/customElement.js +2 -2
- 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 +175 -175
- package/dist/utils/chart-config/converter/index.js +36 -36
- package/dist/utils/defaults/index.d.ts +15 -2
- package/dist/utils/defaults/interfaces.d.ts +66 -8
- package/package.json +5 -5
- package/dist/cdn/37TEXJ7K.js +0 -2
- package/dist/cdn/4DPFB567.js +0 -3
- package/dist/cdn/FDXSZJWC.js +0 -2
- package/dist/cdn/HXSSY2BO.js +0 -2
- package/dist/cdn/IAMJ6CBO.js +0 -3
- package/dist/cdn/IONJLIQQ.js +0 -2
- package/dist/cdn/JKT2UC2C.js +0 -2
- package/dist/cdn/JZVACQMQ.js +0 -2
- package/dist/cdn/N6FMZQZN.js +0 -2
- package/dist/cdn/PCHCBNEX.js +0 -2
- package/dist/cdn/QPTQD3ZH.js +0 -2
- package/dist/cdn/RPQJ6RNZ.js +0 -2
- package/dist/cdn/U43J5GMJ.js +0 -2
- package/dist/cdn/UEUCI74S.js +0 -2
- package/dist/cdn/WFNHDRCX.js +0 -2
- package/dist/cdn/WVIP7B4W.js +0 -2
- package/dist/cdn/ZAGOBG3W.js +0 -2
- /package/dist/cdn/{7SBVBD4E.js → KWN3N6VE.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { g as ce, a as
|
|
2
|
+
import { capitalize as v, isNumber as H, zip as ae, isEqual as ue } from "lodash-es";
|
|
3
|
+
import { H as W } from "./interfaces.js";
|
|
4
|
+
import { g as ce, a as q, b as oe, c as _ } from "./box-plot-data.js";
|
|
5
5
|
import { g as fe } from "./histogram-data.js";
|
|
6
6
|
import { g as me, a as de, b as ye } from "./pie-chart-data.js";
|
|
7
7
|
import { a as ie } from "./series-length.js";
|
|
8
8
|
import { g as re, d as le, e as ge } from "./serial-chart-data.js";
|
|
9
|
-
import { g as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
9
|
+
import { g as z, a as pe } from "./data.js";
|
|
10
|
+
import { p as U, r as be, q as xe, U as E, H as Fe, P as V, a1 as De, aP as Se, bI as ve } from "./index.js";
|
|
11
|
+
import { i as Y, J as $, l as I, K as Be, L as he, M as Q } from "./index3.js";
|
|
12
|
+
import { i as K, a as g, C as A } from "./index2.js";
|
|
13
13
|
import { g as Pe } from "./series-types.js";
|
|
14
14
|
import { V as Ve } from "./index5.js";
|
|
15
15
|
import { DateTime as ne } from "luxon";
|
|
16
16
|
import { P as X } from "./common.js";
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
17
|
+
import { a as k, l as L } from "./chart-object-literals.js";
|
|
18
|
+
import { d as Ce } from "./rest-js-object-literals.js";
|
|
19
19
|
function Le(l) {
|
|
20
20
|
const { hour: e, minute: t = 0, format: a, locale: o = "en-US" } = l, i = a && Object.keys(a).length > 0 ? a : {
|
|
21
21
|
hour: "numeric",
|
|
@@ -47,7 +47,7 @@ function Oe(l) {
|
|
|
47
47
|
}
|
|
48
48
|
return i;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function J(l) {
|
|
51
51
|
const { value: e, formatLocale: t, unit: a, config: o, utilsStrings: i } = l;
|
|
52
52
|
let r = { label: "", value: e.toString() };
|
|
53
53
|
switch (a) {
|
|
@@ -56,7 +56,7 @@ function G(l) {
|
|
|
56
56
|
label: i.heatChartCalendarDatePartsUnits.dayOfWeek,
|
|
57
57
|
value: Ae({
|
|
58
58
|
weekdayNumber: e,
|
|
59
|
-
firstDayOfWeek: "firstDayOfWeek" in o ? o.firstDayOfWeek :
|
|
59
|
+
firstDayOfWeek: "firstDayOfWeek" in o ? o.firstDayOfWeek : Be,
|
|
60
60
|
locale: t
|
|
61
61
|
})
|
|
62
62
|
};
|
|
@@ -131,7 +131,7 @@ function ke(l) {
|
|
|
131
131
|
maximumFractionDigits: 1
|
|
132
132
|
}).formatToParts(1.1).find((t) => t.type === "decimal")?.value ?? ".";
|
|
133
133
|
}
|
|
134
|
-
const
|
|
134
|
+
const G = (l) => {
|
|
135
135
|
const { value: e, quoteAll: t = !1, locale: a, roundDecimals: o } = l;
|
|
136
136
|
let i = e == null ? "" : String(e);
|
|
137
137
|
if (e === null)
|
|
@@ -153,11 +153,11 @@ function ct(l, e = {}) {
|
|
|
153
153
|
const f = t ?? Object.keys(l[0]), u = [], p = a ?? we(r ?? "en");
|
|
154
154
|
if (r !== void 0 && p !== "," && (c += `sep=${p}\r
|
|
155
155
|
`), o) {
|
|
156
|
-
const
|
|
157
|
-
u.push(
|
|
156
|
+
const B = f.map((b) => G({ value: b, quoteAll: i, locale: r, roundDecimals: n }));
|
|
157
|
+
u.push(B.join(p));
|
|
158
158
|
}
|
|
159
|
-
l.forEach((
|
|
160
|
-
const b = f.map((x) =>
|
|
159
|
+
l.forEach((B) => {
|
|
160
|
+
const b = f.map((x) => G({ value: B[x], quoteAll: i, locale: r, roundDecimals: n }));
|
|
161
161
|
u.push(b.join(p));
|
|
162
162
|
}), c += u.join(`\r
|
|
163
163
|
`);
|
|
@@ -169,7 +169,7 @@ function ft(l) {
|
|
|
169
169
|
let f = [];
|
|
170
170
|
if (t !== void 0 && Array.isArray(e) && e.length > 0) {
|
|
171
171
|
const u = Pe(t?.series);
|
|
172
|
-
u === k.HistogramSeries ? f =
|
|
172
|
+
u === k.HistogramSeries ? f = Ie(
|
|
173
173
|
t,
|
|
174
174
|
e,
|
|
175
175
|
i
|
|
@@ -269,7 +269,7 @@ function $e(l, e) {
|
|
|
269
269
|
}
|
|
270
270
|
function Ne(l) {
|
|
271
271
|
const { fieldName: e, dataContext: t } = l, a = A.rendererSymbolField;
|
|
272
|
-
return e === a && t !== void 0 ?
|
|
272
|
+
return e === a && t !== void 0 ? ve(t) : void 0;
|
|
273
273
|
}
|
|
274
274
|
function ee(l) {
|
|
275
275
|
const { config: e, splitByField: t, splitByValue: a, splitByValueIndex: o, layer: i, fieldList: r, timeZone: n } = l;
|
|
@@ -284,7 +284,7 @@ function ee(l) {
|
|
|
284
284
|
}), s;
|
|
285
285
|
}
|
|
286
286
|
function Te(l) {
|
|
287
|
-
const { config: e, rows: t, layer: a, fieldList: o, formatLocale: i, utilsStrings: r } = l, [n] = e.series, s = n.x, c = re(e), f = le(e), u =
|
|
287
|
+
const { config: e, rows: t, layer: a, fieldList: o, formatLocale: i, utilsStrings: r } = l, [n] = e.series, s = n.x, c = re(e), f = le(e), u = z({
|
|
288
288
|
config: e,
|
|
289
289
|
xAxisField: s,
|
|
290
290
|
numericFields: f,
|
|
@@ -293,11 +293,11 @@ function Te(l) {
|
|
|
293
293
|
fieldList: o
|
|
294
294
|
});
|
|
295
295
|
return t.map((p) => {
|
|
296
|
-
const
|
|
297
|
-
let m = { label: n.x, value:
|
|
296
|
+
const B = p[Y.xField], b = p[Y.yField], x = p[Y.valueField], D = typeof x == "number" && Number.isFinite(x) ? x.toFixed(2) : x;
|
|
297
|
+
let m = { label: n.x, value: B }, d = { label: n.y, value: b };
|
|
298
298
|
if (n.xTemporalBinning !== void 0) {
|
|
299
|
-
const { label: F, value: S } =
|
|
300
|
-
value: Number(
|
|
299
|
+
const { label: F, value: S } = J({
|
|
300
|
+
value: Number(B),
|
|
301
301
|
config: e,
|
|
302
302
|
formatLocale: i,
|
|
303
303
|
unit: n.xTemporalBinning.unit,
|
|
@@ -306,7 +306,7 @@ function Te(l) {
|
|
|
306
306
|
!K(F) && !K(S) && (m = { label: F, value: S });
|
|
307
307
|
}
|
|
308
308
|
if (n.yTemporalBinning !== void 0) {
|
|
309
|
-
const { label: F, value: S } =
|
|
309
|
+
const { label: F, value: S } = J({
|
|
310
310
|
value: Number(b),
|
|
311
311
|
config: e,
|
|
312
312
|
formatLocale: i,
|
|
@@ -322,10 +322,10 @@ function Te(l) {
|
|
|
322
322
|
};
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
function
|
|
326
|
-
const a = fe(l), o = `${
|
|
325
|
+
function Ie(l, e, t) {
|
|
326
|
+
const a = fe(l), o = `${v(W.Min)} of ${a}`, i = `${v(W.Max)} of ${a}`, r = `${v(W.Count)} of ${a}`;
|
|
327
327
|
return e.map((n) => {
|
|
328
|
-
const { minValue: s, maxValue: c, count: f } = n, u =
|
|
328
|
+
const { minValue: s, maxValue: c, count: f } = n, u = H(s), p = H(c), B = H(f), b = {};
|
|
329
329
|
if (u && (b[o] = h({
|
|
330
330
|
value: s,
|
|
331
331
|
originalValue: s,
|
|
@@ -346,16 +346,16 @@ function Re(l, e, t) {
|
|
|
346
346
|
});
|
|
347
347
|
b.Label = `${String(x ?? "")} - ${String(D ?? "")}`;
|
|
348
348
|
}
|
|
349
|
-
return
|
|
349
|
+
return B && (b[r] = f), b;
|
|
350
350
|
});
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function Re(l, e, t) {
|
|
353
353
|
const a = Object.keys(l);
|
|
354
354
|
let o = [];
|
|
355
355
|
return t ? o = t.map((i) => a.find((r) => r.toLowerCase().includes(i.toLowerCase())) || "") : o = a.filter((r) => r.toLowerCase().includes(e.toLowerCase())), o.filter((i) => i.trim() !== "");
|
|
356
356
|
}
|
|
357
357
|
function Ke(l) {
|
|
358
|
-
const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = pe(e), c = re(e), f =
|
|
358
|
+
const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = pe(e), c = re(e), f = v(c), u = le(e), p = U(e.series), B = ie(e), b = ge(e), { idField: x, isTraditionalTypeOID: D } = be(xe(a)), m = D && u.length === 1 && u[0] === x;
|
|
359
359
|
let d;
|
|
360
360
|
switch (p) {
|
|
361
361
|
case g.BarAndLineNoAggregation:
|
|
@@ -406,7 +406,7 @@ function Ke(l) {
|
|
|
406
406
|
timeZone: n
|
|
407
407
|
}), S = { [s]: F };
|
|
408
408
|
return u.forEach((P, C) => {
|
|
409
|
-
const w =
|
|
409
|
+
const w = z({
|
|
410
410
|
config: e,
|
|
411
411
|
xAxisField: s,
|
|
412
412
|
numericFields: u,
|
|
@@ -415,8 +415,8 @@ function Ke(l) {
|
|
|
415
415
|
numericFieldIndex: C,
|
|
416
416
|
fieldList: o
|
|
417
417
|
}), N = E(e.series)[C];
|
|
418
|
-
let
|
|
419
|
-
N.toLowerCase() === w.name.toLowerCase() && (
|
|
418
|
+
let R = N, Z = N;
|
|
419
|
+
N.toLowerCase() === w.name.toLowerCase() && (R = w.description, Z = w.name), S[R] = h({
|
|
420
420
|
value: y[Z],
|
|
421
421
|
originalValue: y[Z]
|
|
422
422
|
});
|
|
@@ -434,7 +434,7 @@ function Ke(l) {
|
|
|
434
434
|
useRendererLabel: r,
|
|
435
435
|
timeZone: n
|
|
436
436
|
});
|
|
437
|
-
return
|
|
437
|
+
return B.map((P, C) => {
|
|
438
438
|
const w = ee({
|
|
439
439
|
config: e,
|
|
440
440
|
splitByField: b,
|
|
@@ -462,7 +462,7 @@ function Ke(l) {
|
|
|
462
462
|
formatter: i?.xAxisLabelFormatter,
|
|
463
463
|
useRendererLabel: r,
|
|
464
464
|
timeZone: n
|
|
465
|
-
}), S =
|
|
465
|
+
}), S = Re(y, u[0], B), P = y[b], C = B.findIndex((R) => $e(R, P)), w = ee({
|
|
466
466
|
config: e,
|
|
467
467
|
splitByField: b,
|
|
468
468
|
splitByValue: P,
|
|
@@ -504,11 +504,11 @@ function je(l) {
|
|
|
504
504
|
function Ee(l) {
|
|
505
505
|
const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = me(e), c = U(e.series);
|
|
506
506
|
let f = je(t);
|
|
507
|
-
const u = de(e), p = c !== g.PieFromFields ? X.Category : X.Fields,
|
|
507
|
+
const u = de(e), p = c !== g.PieFromFields ? X.Category : X.Fields, B = ye(e, p), b = z({
|
|
508
508
|
config: e,
|
|
509
509
|
xAxisField: s,
|
|
510
510
|
numericFields: u,
|
|
511
|
-
aggregationType:
|
|
511
|
+
aggregationType: B,
|
|
512
512
|
mode: p,
|
|
513
513
|
layer: a,
|
|
514
514
|
fieldList: o
|
|
@@ -527,7 +527,7 @@ function Ee(l) {
|
|
|
527
527
|
return c === g.PieFromCategory && x.toLowerCase() === b.name.toLowerCase() && (y = b.description, F = b.name), d[y] = h({
|
|
528
528
|
value: D[F],
|
|
529
529
|
originalValue: D[F]
|
|
530
|
-
}), d[
|
|
530
|
+
}), d[v($.trim())] = h({
|
|
531
531
|
value: D[`${F}${$}`],
|
|
532
532
|
originalValue: D[`${F}${$}`]
|
|
533
533
|
}), d;
|
|
@@ -540,7 +540,7 @@ function Ee(l) {
|
|
|
540
540
|
}), d.Value = h({
|
|
541
541
|
value: m[x],
|
|
542
542
|
originalValue: m[x]
|
|
543
|
-
}), d[
|
|
543
|
+
}), d[v($.trim())] = h({
|
|
544
544
|
value: m[`${x}${$}`],
|
|
545
545
|
originalValue: m[`${x}${$}`]
|
|
546
546
|
})), d;
|
|
@@ -558,9 +558,9 @@ function j(l) {
|
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
560
|
function T(l) {
|
|
561
|
-
const { rawData: e, outRow: t, config: a, boxPlotSubType: o, layer: i, fieldList: r, timeZone: n } = l, s =
|
|
561
|
+
const { rawData: e, outRow: t, config: a, boxPlotSubType: o, layer: i, fieldList: r, timeZone: n } = l, s = q(a), c = oe(a), f = _(a);
|
|
562
562
|
let u = V.Outlier;
|
|
563
|
-
const p =
|
|
563
|
+
const p = I;
|
|
564
564
|
switch (o) {
|
|
565
565
|
case g.BoxPlotMonoFieldAndCategory: {
|
|
566
566
|
const x = se({
|
|
@@ -569,13 +569,13 @@ function T(l) {
|
|
|
569
569
|
fieldList: r,
|
|
570
570
|
timeZone: n
|
|
571
571
|
});
|
|
572
|
-
t[s] = x, t[
|
|
572
|
+
t[s] = x, t[v(V.Outlier)] = e[u];
|
|
573
573
|
break;
|
|
574
574
|
}
|
|
575
575
|
case g.BoxPlotMultiFieldsAndCategory: {
|
|
576
|
-
t[
|
|
576
|
+
t[v(s)] = e[s], u = `${c.find(
|
|
577
577
|
(D) => Object.keys(e).some((m) => m.toLowerCase().includes(D.toLowerCase()))
|
|
578
|
-
) ?? ""}_${u}`, t[
|
|
578
|
+
) ?? ""}_${u}`, t[v(V.Outlier)] = e[u];
|
|
579
579
|
break;
|
|
580
580
|
}
|
|
581
581
|
case g.BoxPlotMonoFieldAndSplitBy:
|
|
@@ -587,7 +587,7 @@ function T(l) {
|
|
|
587
587
|
fieldList: r,
|
|
588
588
|
timeZone: n
|
|
589
589
|
});
|
|
590
|
-
u = `${x}_${u}`, t.Field = e[p], t[
|
|
590
|
+
u = `${x}_${u}`, t.Field = e[p], t[v(f)] = D, t[v(V.Outlier)] = e[u];
|
|
591
591
|
break;
|
|
592
592
|
}
|
|
593
593
|
case g.BoxPlotMonoFieldAndCategoryAndSplitBy: {
|
|
@@ -598,25 +598,25 @@ function T(l) {
|
|
|
598
598
|
fieldList: r,
|
|
599
599
|
timeZone: n
|
|
600
600
|
});
|
|
601
|
-
u = `${x}_${u}`, t[
|
|
601
|
+
u = `${x}_${u}`, t[v(s)] = e[s], t[v(f)] = D, t[v(V.Outlier)] = e[u];
|
|
602
602
|
break;
|
|
603
603
|
}
|
|
604
604
|
case g.BoxPlotMonoField:
|
|
605
605
|
case g.BoxPlotMultiFields:
|
|
606
606
|
default: {
|
|
607
|
-
t.Field = e[p], t[
|
|
607
|
+
t.Field = e[p], t[v(V.Outlier)] = e[u];
|
|
608
608
|
break;
|
|
609
609
|
}
|
|
610
610
|
}
|
|
611
|
-
const
|
|
612
|
-
b !== void 0 && (t[`${
|
|
611
|
+
const B = `${u}${Q}`, b = e[B];
|
|
612
|
+
b !== void 0 && (t[`${v(V.Outlier)} Z-Score`] = b);
|
|
613
613
|
}
|
|
614
614
|
function Ue(l) {
|
|
615
|
-
const { rawData: e, outRow: t, config: a, splitByValue: o, layer: i, fieldList: r, timeZone: n } = l, s = U(a.series), c = e[`${o}_${V.Average}`], f =
|
|
615
|
+
const { rawData: e, outRow: t, config: a, splitByValue: o, layer: i, fieldList: r, timeZone: n } = l, s = U(a.series), c = e[`${o}_${V.Average}`], f = _(a), u = q(a);
|
|
616
616
|
let p = "";
|
|
617
617
|
switch (s) {
|
|
618
618
|
case g.BoxPlotMonoFieldAndSplitBy: {
|
|
619
|
-
p = `${o}_${f}`, t.Field = e[
|
|
619
|
+
p = `${o}_${f}`, t.Field = e[I], t[v(f)] = M({
|
|
620
620
|
field: f,
|
|
621
621
|
value: e[p],
|
|
622
622
|
layer: i,
|
|
@@ -626,7 +626,7 @@ function Ue(l) {
|
|
|
626
626
|
break;
|
|
627
627
|
}
|
|
628
628
|
case g.BoxPlotMultiFieldsAndSplitBy: {
|
|
629
|
-
p = `${o}_${V.Average}`, t.Field = e[
|
|
629
|
+
p = `${o}_${V.Average}`, t.Field = e[I], t[v(f)] = M({
|
|
630
630
|
field: f,
|
|
631
631
|
value: e[p],
|
|
632
632
|
layer: i,
|
|
@@ -636,7 +636,7 @@ function Ue(l) {
|
|
|
636
636
|
break;
|
|
637
637
|
}
|
|
638
638
|
case g.BoxPlotMonoFieldAndCategoryAndSplitBy: {
|
|
639
|
-
p = `${o}_${V.Average}`, t[u] = e[u], t[
|
|
639
|
+
p = `${o}_${V.Average}`, t[u] = e[u], t[v(f)] = M({
|
|
640
640
|
field: f,
|
|
641
641
|
value: o,
|
|
642
642
|
layer: i,
|
|
@@ -646,16 +646,16 @@ function Ue(l) {
|
|
|
646
646
|
break;
|
|
647
647
|
}
|
|
648
648
|
}
|
|
649
|
-
t[
|
|
650
|
-
const
|
|
651
|
-
b !== void 0 && (t[`${
|
|
649
|
+
t[v(V.Average)] = c;
|
|
650
|
+
const B = `${String(c)}${Q}`, b = e[B];
|
|
651
|
+
b !== void 0 && (t[`${v(V.Average)} Z-Score`] = b);
|
|
652
652
|
}
|
|
653
653
|
function Ze(l) {
|
|
654
654
|
const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = U(e.series);
|
|
655
655
|
let c = s;
|
|
656
656
|
const f = ce(e), u = Array.isArray(t) && t.length > 0 && t.every((m) => m[A.boxPlot.boxPlotMeanLineMarkerId] !== void 0);
|
|
657
657
|
f && !u && (s === g.BoxPlotMonoFieldAndSplitBy ? c = g.BoxPlotMonoField : s === g.BoxPlotMultiFieldsAndSplitBy ? c = g.BoxPlotMultiFields : s === g.BoxPlotMonoFieldAndCategoryAndSplitBy && (c = g.BoxPlotMonoFieldAndCategory));
|
|
658
|
-
const p =
|
|
658
|
+
const p = q(e), B = oe(e), b = ie(e), x = _(e);
|
|
659
659
|
let D;
|
|
660
660
|
switch (c) {
|
|
661
661
|
case g.BoxPlotMonoField:
|
|
@@ -684,7 +684,7 @@ function Ze(l) {
|
|
|
684
684
|
timeZone: n
|
|
685
685
|
});
|
|
686
686
|
d[p] = y;
|
|
687
|
-
} else c === g.BoxPlotMonoField && (d.Field = m[
|
|
687
|
+
} else c === g.BoxPlotMonoField && (d.Field = m[I]);
|
|
688
688
|
j({ rawData: m, outRow: d });
|
|
689
689
|
}
|
|
690
690
|
return d;
|
|
@@ -702,13 +702,13 @@ function Ze(l) {
|
|
|
702
702
|
layer: a,
|
|
703
703
|
fieldList: o,
|
|
704
704
|
timeZone: n
|
|
705
|
-
}) : (d.Field = m[
|
|
705
|
+
}) : (d.Field = m[I], j({ rawData: m, outRow: d })), [d];
|
|
706
706
|
});
|
|
707
707
|
break;
|
|
708
708
|
}
|
|
709
709
|
case g.BoxPlotMultiFieldsAndCategory: {
|
|
710
710
|
D = t.flatMap(
|
|
711
|
-
(m) =>
|
|
711
|
+
(m) => B.map((d) => {
|
|
712
712
|
const y = {};
|
|
713
713
|
let F = "";
|
|
714
714
|
if (y.Field = d, m[A.boxPlot.boxPlotOutlierId])
|
|
@@ -807,13 +807,13 @@ function Ze(l) {
|
|
|
807
807
|
const te = (l) => {
|
|
808
808
|
let e = !1;
|
|
809
809
|
return (typeof l == "string" || typeof l == "number") && (e = !Number.isNaN(new Date(l).getTime())), e;
|
|
810
|
-
},
|
|
810
|
+
}, He = (l, e) => ne.fromJSDate(l, { zone: e ?? "local" }).toFormat("yyyy-LL-dd"), We = (l, e) => ne.fromJSDate(l, { zone: e ?? "local" }).toFormat("yyyy-LL-dd'T'HH:mm:ss"), se = (l) => {
|
|
811
811
|
const { field: e, value: t, fieldList: a, timeZone: o } = l;
|
|
812
812
|
let i = t;
|
|
813
813
|
const r = a?.find((n) => n.name === e);
|
|
814
814
|
if (r) {
|
|
815
815
|
const n = r.type === Ce.DateOnly;
|
|
816
|
-
Se(r) && !n ? i = te(t) ?
|
|
816
|
+
Se(r) && !n ? i = te(t) ? We(new Date(t), o) : t : n && typeof t != "string" && (i = te(t) ? He(new Date(t), o) : t);
|
|
817
817
|
}
|
|
818
818
|
return i;
|
|
819
819
|
};
|
|
@@ -832,7 +832,7 @@ export {
|
|
|
832
832
|
mt as d,
|
|
833
833
|
ct as e,
|
|
834
834
|
Me as f,
|
|
835
|
-
|
|
835
|
+
J as g,
|
|
836
836
|
ut as h,
|
|
837
837
|
ft as t
|
|
838
838
|
};
|
package/dist/chunks/x-bounds.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import { C as _ } from "./chart-model.js";
|
|
3
3
|
import { cloneDeep as h } from "lodash-es";
|
|
4
4
|
import { G as c } from "./common.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { b as g } from "./rest-js-object-literals.js";
|
|
6
|
+
import { a as x } from "./chart-object-literals.js";
|
|
7
|
+
import { N as S, a4 as L, a5 as b, t as T } from "./index3.js";
|
|
8
|
+
import { bK as X, b as C, i as B } from "./index.js";
|
|
9
9
|
import { m as r, C as f } from "./model-setter.js";
|
|
10
|
-
import { e as
|
|
10
|
+
import { e as A, f as M } from "./utils2.js";
|
|
11
11
|
import { l as y, s as v, f as O } from "./utils.js";
|
|
12
12
|
const P = (t) => {
|
|
13
13
|
for (const e of t.axes ?? [])
|
|
@@ -39,14 +39,14 @@ const V = (t) => {
|
|
|
39
39
|
});
|
|
40
40
|
}, p = (t) => {
|
|
41
41
|
const e = X(t.start, t.end);
|
|
42
|
-
C(t.style) && e === g.SFS ? t.style = { type: g.SFS, color: t.style.color } :
|
|
42
|
+
C(t.style) && e === g.SFS ? t.style = { type: g.SFS, color: t.style.color } : B(t.style) && e === g.SLS && (t.style = { type: g.SLS, color: t.style.color });
|
|
43
43
|
}, R = (t) => {
|
|
44
44
|
const { axis: e, index: i } = d(t);
|
|
45
45
|
return e?.guides?.[i]?.start ?? null;
|
|
46
|
-
},
|
|
46
|
+
}, w = (t) => {
|
|
47
47
|
const { start: e, axis: i, index: s } = d(t);
|
|
48
48
|
i?.guides?.[s] !== void 0 && (i.guides[s].start = e, p(i.guides[s]));
|
|
49
|
-
},
|
|
49
|
+
}, F = (t) => {
|
|
50
50
|
const { axis: e, index: i } = d(t);
|
|
51
51
|
return e?.guides?.[i]?.end;
|
|
52
52
|
}, W = (t) => {
|
|
@@ -55,10 +55,10 @@ const V = (t) => {
|
|
|
55
55
|
}, j = (t) => {
|
|
56
56
|
const { axis: e, index: i } = d(t);
|
|
57
57
|
return e?.guides?.[i]?.name;
|
|
58
|
-
},
|
|
58
|
+
}, N = (t) => {
|
|
59
59
|
const { name: e, axis: i, index: s } = d(t);
|
|
60
60
|
i?.guides?.[s] !== void 0 && (i.guides[s].name = e);
|
|
61
|
-
},
|
|
61
|
+
}, $ = (t) => {
|
|
62
62
|
const { axis: e, index: i } = d(t);
|
|
63
63
|
return e?.guides?.[i]?.label?.text;
|
|
64
64
|
}, I = (t) => {
|
|
@@ -67,13 +67,13 @@ const V = (t) => {
|
|
|
67
67
|
}, Y = (t) => {
|
|
68
68
|
const { axis: e, index: i } = d(t);
|
|
69
69
|
return e?.guides?.[i]?.above ?? !1;
|
|
70
|
-
},
|
|
70
|
+
}, K = (t) => {
|
|
71
71
|
const { above: e, axis: i, index: s } = d(t);
|
|
72
72
|
i?.guides?.[s] !== void 0 && (i.guides[s].above = e);
|
|
73
|
-
},
|
|
73
|
+
}, U = (t) => {
|
|
74
74
|
const { axis: e, index: i } = d(t);
|
|
75
75
|
return e?.guides?.[i]?.style;
|
|
76
|
-
},
|
|
76
|
+
}, q = (t) => {
|
|
77
77
|
const { style: e, axis: i, index: s } = d(t);
|
|
78
78
|
i?.guides?.[s] !== void 0 && (i.guides[s].style = e);
|
|
79
79
|
}, me = (t) => {
|
|
@@ -91,17 +91,17 @@ const V = (t) => {
|
|
|
91
91
|
}, Ge = (t) => {
|
|
92
92
|
const { config: e, index: i, orientation: s } = t, o = s === c.X ? e.axes?.[0] : e.axes?.[1];
|
|
93
93
|
o?.guides !== void 0 && (i !== void 0 && i < o.guides.length ? o.guides.splice(i, 1) : o.guides.pop());
|
|
94
|
-
},
|
|
94
|
+
}, z = (t) => {
|
|
95
95
|
const { axis: e, index: i } = d(t);
|
|
96
96
|
return e?.guides?.[i]?.tooltipReverseColor ?? !1;
|
|
97
|
-
},
|
|
97
|
+
}, H = (t) => {
|
|
98
98
|
const { reverseColor: e, axis: i, index: s } = d(t);
|
|
99
99
|
i?.guides?.[s] !== void 0 && (i.guides[s].tooltipReverseColor = e);
|
|
100
100
|
};
|
|
101
|
-
var
|
|
101
|
+
var J = Object.defineProperty, Q = Object.getOwnPropertyDescriptor, l = (t, e, i, s) => {
|
|
102
102
|
for (var o = Q(e, i), n = t.length - 1, a; n >= 0; n--)
|
|
103
103
|
(a = t[n]) && (o = a(e, i, o) || o);
|
|
104
|
-
return o &&
|
|
104
|
+
return o && J(e, i, o), o;
|
|
105
105
|
};
|
|
106
106
|
class u extends _ {
|
|
107
107
|
/**
|
|
@@ -135,7 +135,7 @@ class u extends _ {
|
|
|
135
135
|
return R({ config: this._config, index: e, orientation: i });
|
|
136
136
|
}
|
|
137
137
|
setGuideStart(e, i, s) {
|
|
138
|
-
|
|
138
|
+
w({ start: e, config: this._config, index: i, orientation: s });
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
141
141
|
* Gets the end value of a guide.
|
|
@@ -144,7 +144,7 @@ class u extends _ {
|
|
|
144
144
|
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
145
145
|
*/
|
|
146
146
|
getGuideEnd(e, i) {
|
|
147
|
-
return
|
|
147
|
+
return F({ config: this._config, index: e, orientation: i });
|
|
148
148
|
}
|
|
149
149
|
setGuideEnd(e, i, s) {
|
|
150
150
|
W({ end: e, config: this._config, index: i, orientation: s });
|
|
@@ -159,7 +159,7 @@ class u extends _ {
|
|
|
159
159
|
return j({ config: this._config, index: e, orientation: i });
|
|
160
160
|
}
|
|
161
161
|
setGuideName(e, i, s) {
|
|
162
|
-
|
|
162
|
+
N({ name: e, config: this._config, index: i, orientation: s });
|
|
163
163
|
}
|
|
164
164
|
/**
|
|
165
165
|
* Gets the guide label text.
|
|
@@ -168,7 +168,7 @@ class u extends _ {
|
|
|
168
168
|
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
169
169
|
*/
|
|
170
170
|
getGuideLabelText(e, i) {
|
|
171
|
-
return
|
|
171
|
+
return $({ config: this._config, index: e, orientation: i });
|
|
172
172
|
}
|
|
173
173
|
setGuideLabelText(e, i, s) {
|
|
174
174
|
I({ labelText: e, config: this._config, index: i, orientation: s });
|
|
@@ -183,7 +183,7 @@ class u extends _ {
|
|
|
183
183
|
return Y({ config: this._config, index: e, orientation: i });
|
|
184
184
|
}
|
|
185
185
|
setGuideAbove(e, i, s) {
|
|
186
|
-
|
|
186
|
+
K({ above: e, config: this._config, index: i, orientation: s });
|
|
187
187
|
}
|
|
188
188
|
/**
|
|
189
189
|
* Gets the guide style.
|
|
@@ -192,10 +192,10 @@ class u extends _ {
|
|
|
192
192
|
* @param orientation - Default `y`. The axis orientation of the guide.
|
|
193
193
|
*/
|
|
194
194
|
getGuideStyle(e, i) {
|
|
195
|
-
return
|
|
195
|
+
return U({ config: this._config, index: e, orientation: i });
|
|
196
196
|
}
|
|
197
197
|
setGuideStyle(e, i, s) {
|
|
198
|
-
|
|
198
|
+
q({ style: e, config: this._config, index: i, orientation: s });
|
|
199
199
|
}
|
|
200
200
|
/**
|
|
201
201
|
* Gets whether the tooltip text color should be reversed for a guide.
|
|
@@ -204,10 +204,10 @@ class u extends _ {
|
|
|
204
204
|
* @param orientation - The axis orientation of the guide.
|
|
205
205
|
*/
|
|
206
206
|
getTooltipReverseColor(e, i) {
|
|
207
|
-
return
|
|
207
|
+
return z({ config: this._config, index: e, orientation: i });
|
|
208
208
|
}
|
|
209
209
|
setTooltipReverseColor(e, i, s) {
|
|
210
|
-
|
|
210
|
+
H({ reverseColor: e, config: this._config, index: i, orientation: s });
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
l([
|
|
@@ -242,11 +242,11 @@ class _e extends f {
|
|
|
242
242
|
* Whether the x-axis labels are visible.
|
|
243
243
|
*/
|
|
244
244
|
get xAxisLabelsVisibility() {
|
|
245
|
-
return
|
|
245
|
+
return A(0, this._config);
|
|
246
246
|
}
|
|
247
247
|
set xAxisLabelsVisibility(e) {
|
|
248
248
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
249
|
-
|
|
249
|
+
M(e, 0, this._config), this.emitConfigUpdate("xAxisLabelsVisibility");
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
252
|
}
|
|
@@ -717,7 +717,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
717
717
|
* ```ts
|
|
718
718
|
* chartElement.chartLimits = {
|
|
719
719
|
* behaviorAfterLimit: LimitBehavior.RenderUpToTheLimit,
|
|
720
|
-
*
|
|
720
|
+
* serialChart: { categories: 15 }
|
|
721
721
|
* };
|
|
722
722
|
* ```
|
|
723
723
|
*/
|
|
@@ -18,13 +18,13 @@ import { H as Nt } from "../../chunks/resources.js";
|
|
|
18
18
|
import { XYChart as me, PieChart as Re, AxisFill as Sm, AxisFillCircular as Cm, GaugeChart as Tt, DateAxis as Be, ValueAxis as Fe, CategoryAxis as rt, CategoryAxisDataItem as La, DateAxisDataItem as dn, LineSeries as xe, ColumnSeries as lt, PieSeries as Et, XYCursor as Sc, XYSeries as gi, SerialChart as Cc, Cursor as xm, AxisLabel as Bs, ColumnSeriesDataItem as Ms, LineSeriesDataItem as Va, CandlestickSeries as Xe, StepLineSeries as Ot, LegendDataItem as aa, Series as xc, CandlestickSeriesDataItem as vm, PieSeriesDataItem as hi, Legend as Lm, AxisRendererX as Lt, AxisRendererCircular as un, AxisLabelCircular as Ns, ValueAxisDataItem as Ps, AxisRendererY as Wa, ClockHand as Fm, Chart as vc } from "@amcharts/amcharts4/charts.js";
|
|
19
19
|
import { Color as zo, percent as ft, LinePattern as Lc, RectPattern as Fc, color as fn, DateFormatter as Ac, NumberFormatter as Tc, Group as Am, MouseCursorStyle as Zt, Label as Ho, DropShadowFilter as Tm, Sprite as Vs, utils as kc, Tooltip as Ic, Container as km, RoundedRectangle as Im, Percent as _o, Slice as Om, options as io, useTheme as Dm, unuseTheme as Rm, create as Ws } from "@amcharts/amcharts4/core.js";
|
|
20
20
|
import il from "@amcharts/amcharts4/themes/animated.js";
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
21
|
+
import { W as pe, a as y, b as Kn, c as ue, S as Oc, d as jt, e as je, f as U, g as mn, h as Dc, i as al, j as Sa, k as ol, l as Qn, m as nl, n as Ca, o as wm } from "../../chunks/chart-object-literals.js";
|
|
22
|
+
import { e as bo, i as no, a as Go, b as Rc, m as wc, c as gn, d as $c, f as qt, h as Bc, g as Mc, j as Es, s as zs, k as Nc, l as Pc, n as Xo, o as $m, p as Z, q as mt, r as oa, t as vt, u as zt, v as Hs, w as ai, x as Jn, y as xa, A as ui, z as fi, B as ht, C as we, D as yo, E as Ea, F as pi, G as _s, H as oi, I as Fa, J as ni, K as Vc, L as St, M as Gs, N as Jt, O as xi, P as te, Q as he, R as Bm, S as hn, T as Mi, U as vi, V as Li, W as Ni, X as Xs, Y as za, Z as Bt, _ as Ys, $ as Wc, a0 as Us, a1 as js, a2 as Gt, a3 as so, a4 as qs, a5 as Ha, a6 as Ec, a7 as zc, a8 as bi, a9 as Hc, aa as _c, ab as pn, ac as Zs, ad as bn, ae as Gc, af as Ks, ag as Qs, ah as Xc, ai as Yc, aj as Js, ak as Uc, al as sl, am as yn, an as jc, ao as er, ap as tr, aq as Aa, ar as Mm, as as qc, at as Zc, au as ao, av as Sn, aw as Kc, ax as Qc, ay as Nm, az as Pm, aA as Vm, aB as Wm, aC as Jc, aD as ed, aE as Em, aF as zm, aG as Hm, aH as Cn, aI as L, aJ as _m, aK as td, aL as Gm, aM as Xm, aN as si, aO as Ym, aP as Um, aQ as ro, aR as ya, aS as ir, aT as jm, aU as id, aV as qm, aW as Zm, aX as Km, aY as es, aZ as Qm, a_ as Jm, a$ as ad, b0 as eg, b1 as tg, b2 as ig, b3 as ag, b4 as og, b5 as ng, b6 as sg, b7 as rg, b8 as lg, b9 as Vo, ba as cg, bb as dg, bc as rl, bd as ug, be as fg, bf as mg, bg as gg, bh as ts, bi as hg, bj as Ii, bk as pg, bl as bg, bm as yg, bn as Sg, bo as Cg, bp as xg, bq as vg, br as Lg, bs as Fg, bt as Ag, bu as Tg, bv as kg, bw as Ig, bx as Og, by as Dg, bz as Rg } from "../../chunks/index.js";
|
|
23
|
+
import { C as Y, g as Hi, a as V, b as $e, s as Ye, i as Le, c as xn, d as is, A as Q, e as ot, f as dt, S as Se, n as od, h as nd, j as Yo, k as Wo, O as Ie, l as sd, u as wg } from "../../chunks/index2.js";
|
|
24
24
|
import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
25
|
+
import { R as Ue, a as Je, b as ee, c as as, d as vn, e as Uo } from "../../chunks/rest-js-object-literals.js";
|
|
26
|
+
import { g as ea, r as ar, f as So, a as ll, p as Vt, b as Ta, c as ds, d as $g, e as Bg, h as Mg, q as Ri, i as Oe, j as or, k as nr, l as sr, m as rd, n as ld, o as rr, s as cd, t as Ln, u as dd, v as lr, w as Ng, x as Pg, y as Vg, z as ud, A as fd, B as Wg, C as Co, D as Eg, E as ka, F as cl, G as zg } from "../../chunks/index3.js";
|
|
27
|
+
import { i as nt, a as ri } from "../../chunks/type-guards.js";
|
|
28
28
|
import { g as z, a as Hg } from "../../chunks/series-types.js";
|
|
29
29
|
import { isLight as _g } from "@amcharts/amcharts4/.internal/core/utils/Colors.js";
|
|
30
30
|
import { Scrollbar as dl } from "@amcharts/amcharts4/.internal/core/elements/Scrollbar.js";
|
|
@@ -37,17 +37,17 @@ import ih from "@amcharts/amcharts5/themes/Responsive.js";
|
|
|
37
37
|
import { g as fl, a as ah, b as oh, c as nh, d as ml, t as gl, e as hl } from "../../chunks/web-component-utils.js";
|
|
38
38
|
import { curveLinearClosed as sh, curveLinear as rh, curveCardinal as lh, curveMonotoneY as ch, curveMonotoneX as dh } from "d3-shape";
|
|
39
39
|
import { u as pl } from "../../chunks/useT9n.js";
|
|
40
|
-
import {
|
|
40
|
+
import { S as uh } from "../../chunks/interfaces.js";
|
|
41
41
|
import { s as fh, p as mh, i as gh, a as bl, u as hh, b as ph, c as bh, r as yh, f as Sh } from "../../chunks/serial-chart-data.js";
|
|
42
42
|
import { createModel as Ch } from "../../model/shared/setup-utils.js";
|
|
43
|
-
import {
|
|
43
|
+
import { i as He, a as yl, b as Sl, c as xh, d as vh, e as Cl, f as Lh } from "../../chunks/type-guards2.js";
|
|
44
44
|
import { s as Fh, a as Ah } from "../../chunks/store.js";
|
|
45
45
|
import { v as xl, i as Zi } from "../../chunks/index4.js";
|
|
46
46
|
import { u as Th, o as kh } from "../../chunks/action-bar-utils.js";
|
|
47
|
-
import { d as Ih } from "../../chunks/chart-ui-
|
|
47
|
+
import { d as Ih } from "../../chunks/chart-ui-utils.js";
|
|
48
48
|
import { d as vl } from "../../chunks/default.js";
|
|
49
|
-
import {
|
|
50
|
-
import { g as Oh,
|
|
49
|
+
import { L as bd, a as yd, b as Sd, V as Cd, S as eo, E as wo, A as Ll } from "../../chunks/index5.js";
|
|
50
|
+
import { g as Oh, a as Dh } from "../../chunks/class-breaks.js";
|
|
51
51
|
import { GenericController as Rh } from "@arcgis/lumina/controllers";
|
|
52
52
|
import { M as wh, r as $h } from "../../chunks/model-setter.js";
|
|
53
53
|
import { g as Fl } from "../../chunks/series-length.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as O } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as _, html as a } from "lit";
|
|
4
|
-
import {
|
|
4
|
+
import { S } from "../../chunks/interfaces.js";
|
|
5
5
|
import { g as z } from "../../chunks/action-bar-utils.js";
|
|
6
6
|
import { u as $ } from "../../chunks/useT9n.js";
|
|
7
7
|
import { createRef as b, ref as C } from "lit/directives/ref.js";
|
|
8
8
|
import { LitElement as V, renderElement as y, safeStyleMap as B, createEvent as D, safeClassMap as L, nothing as s } from "@arcgis/lumina";
|
|
9
|
-
import { a as n } from "../../chunks/chart-ui-
|
|
9
|
+
import { a as n } from "../../chunks/chart-ui-utils.js";
|
|
10
10
|
import { i as F } from "../../chunks/rotated-state.js";
|
|
11
|
-
import {
|
|
12
|
-
import { A as k } from "../../chunks/
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
11
|
+
import { A as t, c as o, D as e } from "../../chunks/index5.js";
|
|
12
|
+
import { A as k } from "../../chunks/index2.js";
|
|
13
|
+
import { a as I } from "../../chunks/chart-object-literals.js";
|
|
14
|
+
import { i as r, g as M } from "../../chunks/type-guards2.js";
|
|
15
15
|
function N(d) {
|
|
16
16
|
return d?.tagName.toLowerCase() === "arcgis-chart";
|
|
17
17
|
}
|