@arcgis/charts-components 6.0.0-next.40 → 6.0.0-next.41
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/{N4VKOGCE.js → 2CMGEGOB.js} +1 -1
- package/dist/cdn/{FWETNIKF.js → 2NLUPVHC.js} +1 -1
- package/dist/cdn/{RFI6U64E.js → 2V6RDUQ4.js} +1 -1
- package/dist/cdn/{MNHJXGWB.js → 2XLWTT5J.js} +1 -1
- package/dist/cdn/{SWE5OVAM.js → 3SON5ZPC.js} +1 -1
- package/dist/cdn/3T4EFKYY.js +2 -0
- package/dist/cdn/{FWB3GJHP.js → 5HGXAW7L.js} +1 -1
- package/dist/cdn/{RAXTWSX7.js → 632TROA6.js} +1 -1
- package/dist/cdn/{W34R4JQD.js → 6FZRG4EO.js} +1 -1
- package/dist/cdn/{SEAGEOR3.js → 77J6TCGN.js} +1 -1
- package/dist/cdn/{DPNQLXLE.js → 7BGIK4OA.js} +1 -1
- package/dist/cdn/{2S3IMV7O.js → 7KZBWHVH.js} +1 -1
- package/dist/cdn/{JXUSPONB.js → ABAVANHR.js} +1 -1
- package/dist/cdn/{QE2PCHA4.js → ACTB6ZBK.js} +1 -1
- package/dist/cdn/{2W6EH2HT.js → AIJWEEVP.js} +1 -1
- package/dist/cdn/{X6JMBWG7.js → AYTSMVNG.js} +1 -1
- package/dist/cdn/{DKMYO4GP.js → B4M6AGX7.js} +1 -1
- package/dist/cdn/{V564QSU3.js → BUQ5MOP3.js} +1 -1
- package/dist/cdn/{YDKVGUUH.js → CBVIPAP3.js} +1 -1
- package/dist/cdn/{HEJIMSEP.js → CMQLHBQN.js} +1 -1
- package/dist/cdn/{KIDN7AE6.js → D3DZ7A7U.js} +1 -1
- package/dist/cdn/{7JMZPDM5.js → DCUEO36P.js} +1 -1
- package/dist/cdn/{CBWKTXC5.js → DPWHTNBE.js} +1 -1
- package/dist/cdn/{3YSNYETN.js → DRSKZGA5.js} +1 -1
- package/dist/cdn/{KQXIXHLV.js → EMAAJMBF.js} +1 -1
- package/dist/cdn/{3642CP3R.js → EOHEGVDJ.js} +1 -1
- package/dist/cdn/{3ZFAYKJQ.js → EYPUS3OS.js} +1 -1
- package/dist/cdn/{FLVDCXI5.js → FQTWIBKD.js} +1 -1
- package/dist/cdn/{DVEX52DB.js → G7AMXOVC.js} +1 -1
- package/dist/cdn/{PNMVOOAS.js → GH6LRRWO.js} +1 -1
- package/dist/cdn/{AMVPRTNI.js → GLCI3ZBA.js} +1 -1
- package/dist/cdn/{WT6Y3ALM.js → GSMBQFDI.js} +1 -1
- package/dist/cdn/{AGCK7Y3J.js → GVAS6PT3.js} +1 -1
- package/dist/cdn/{UHIFEXWJ.js → H6DQWWRK.js} +1 -1
- package/dist/cdn/{XFHCIQYP.js → HADWVYUW.js} +1 -1
- package/dist/cdn/{6KL6DV3E.js → HTLGMV4S.js} +1 -1
- package/dist/cdn/{MCK5B2BZ.js → I7MZOOIY.js} +1 -1
- package/dist/cdn/{XSQEK2DR.js → I7YQ3JCN.js} +1 -1
- package/dist/cdn/{IBB72HGQ.js → IEFTCPY3.js} +1 -1
- package/dist/cdn/{B2VFTKK6.js → INDJVCWV.js} +1 -1
- package/dist/cdn/{DXIZZBC3.js → J423NIGD.js} +1 -1
- package/dist/cdn/{Z2LXXRNV.js → J6SK2Z5T.js} +1 -1
- package/dist/cdn/{HNUEP5UH.js → JOVBNTEF.js} +1 -1
- package/dist/cdn/{XBFYV6W2.js → KIFYEOUU.js} +1 -1
- package/dist/cdn/{N6IQLOCY.js → KPX7NHM3.js} +1 -1
- package/dist/cdn/{HTLTED56.js → LSPD3MG7.js} +1 -1
- package/dist/cdn/{RYSNUM3A.js → M3N747C7.js} +1 -1
- package/dist/cdn/{52TVDV6J.js → M5UN3MYY.js} +1 -1
- package/dist/cdn/ME7EHCPR.js +2 -0
- package/dist/cdn/{AHDUDHZR.js → NKO2OO5N.js} +1 -1
- package/dist/cdn/{F2UUETR2.js → NWG4Q36V.js} +1 -1
- package/dist/cdn/{2IRI6FP7.js → O5MLVZLK.js} +1 -1
- package/dist/cdn/{H5VGO7ZZ.js → OLCWI4XN.js} +1 -1
- package/dist/cdn/{OEYCWE7U.js → PER6C4U2.js} +1 -1
- package/dist/cdn/{HAXUUJKD.js → PSOSE6LU.js} +1 -1
- package/dist/cdn/{RYKZNNAE.js → QBPDUGAU.js} +1 -1
- package/dist/cdn/{S5LVF5UL.js → QD733XNJ.js} +1 -1
- package/dist/cdn/{LAVDVQYZ.js → QVOSII2D.js} +1 -1
- package/dist/cdn/{LHYIQG2Q.js → R3UAKAS4.js} +1 -1
- package/dist/cdn/{WSHSXWLF.js → RGWPVW43.js} +1 -1
- package/dist/cdn/{2HC3GCXA.js → RTKJNT6E.js} +21 -21
- package/dist/cdn/{OAQNKLKH.js → S22VFPC7.js} +1 -1
- package/dist/cdn/{ON6KUQYR.js → SU7RJZNV.js} +1 -1
- package/dist/cdn/{AHPDMFQQ.js → T2GIGPPW.js} +1 -1
- package/dist/cdn/{IMNOJDGS.js → TKKV7KPJ.js} +1 -1
- package/dist/cdn/{J5O323AF.js → TMXVA27K.js} +1 -1
- package/dist/cdn/{MNETNH5F.js → UK2UPGTC.js} +1 -1
- package/dist/cdn/UNOJKM7H.js +2 -0
- package/dist/cdn/{LHMYCCGG.js → UNRUZFCG.js} +1 -1
- package/dist/cdn/{25GQ2WOU.js → UO6RHQGP.js} +1 -1
- package/dist/cdn/{D4CBXK5J.js → VEVROTSG.js} +1 -1
- package/dist/cdn/{FVJHFMGW.js → VIID7SQW.js} +1 -1
- package/dist/cdn/{LYVMSY65.js → VKHE2T45.js} +1 -1
- package/dist/cdn/{KPG4VSFN.js → VM2DWR75.js} +1 -1
- package/dist/cdn/{HXIF6BYN.js → VRB6ZKPF.js} +1 -1
- package/dist/cdn/{JWNZPKX7.js → VWX73OUH.js} +1 -1
- package/dist/cdn/{QBZEEHY7.js → WBU6UBT7.js} +1 -1
- package/dist/cdn/{FKHPICOV.js → WBVI4QWE.js} +1 -1
- package/dist/cdn/{NQBZWHCV.js → WIT3P7NV.js} +1 -1
- package/dist/cdn/{HYPA7F2W.js → WKDTX36G.js} +1 -1
- package/dist/cdn/{EYBYOHDN.js → WORMNHOD.js} +1 -1
- package/dist/cdn/{73YNQF72.js → XE5JJDCZ.js} +1 -1
- package/dist/cdn/{2CNLZPFO.js → XTWKVYX3.js} +1 -1
- package/dist/cdn/YUUYX57N.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 +0 -16
- package/dist/chunks/action-bar-utils.js +53 -53
- package/dist/chunks/bar-chart-model.js +1 -1
- package/dist/chunks/heat-chart-model.js +8 -8
- package/dist/chunks/index.js +0 -1
- package/dist/chunks/index4.js +7 -18
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +94 -99
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/components/arcgis-chart/customElement.d.ts +3 -50
- package/dist/components/arcgis-chart/customElement.js +5001 -5020
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +1 -176
- package/dist/components/arcgis-charts-action-bar/customElement.js +82 -79
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +87 -92
- package/dist/loader.js +5 -5
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/dist/utils/types/index.d.ts +0 -35
- package/package.json +4 -4
- package/dist/cdn/ESZG2ICM.js +0 -2
- package/dist/cdn/KXKSKVSJ.js +0 -2
- package/dist/cdn/YO7YSHP3.js +0 -2
- package/dist/cdn/ZJAOAKQP.js +0 -2
|
@@ -87,14 +87,10 @@ Kt([
|
|
|
87
87
|
Pt
|
|
88
88
|
], _t.prototype, "timeZone");
|
|
89
89
|
function Yi(i, e) {
|
|
90
|
-
let t;
|
|
91
|
-
return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.position = i)), t;
|
|
92
|
-
}
|
|
93
|
-
function $i(i, e) {
|
|
94
90
|
let t;
|
|
95
91
|
return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.visible = i)), t;
|
|
96
92
|
}
|
|
97
|
-
function
|
|
93
|
+
function $i(i, e) {
|
|
98
94
|
let t;
|
|
99
95
|
return e !== void 0 && (t = { ...e, rotated: i }), t;
|
|
100
96
|
}
|
|
@@ -102,10 +98,10 @@ function Qt(i) {
|
|
|
102
98
|
let e;
|
|
103
99
|
return i !== void 0 && (e = { ...i }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
|
|
104
100
|
}
|
|
105
|
-
function
|
|
101
|
+
function Hi(i, e) {
|
|
106
102
|
return e != null || Ne(i);
|
|
107
103
|
}
|
|
108
|
-
async function
|
|
104
|
+
async function Xi(i) {
|
|
109
105
|
const { config: e, layer: t, abortSignal: r } = i;
|
|
110
106
|
let s = !1;
|
|
111
107
|
return ue(t) || _e(e) ? e && ue(t) && (s = await Qe({ config: e, layer: t, abortSignal: r })) : s = !0, s;
|
|
@@ -301,7 +297,7 @@ async function ti(i) {
|
|
|
301
297
|
function ii(i, e) {
|
|
302
298
|
e && !Ne(e) && (e = it({ chartConfig: e, queryObject: i }));
|
|
303
299
|
}
|
|
304
|
-
async function
|
|
300
|
+
async function Wi(i) {
|
|
305
301
|
const {
|
|
306
302
|
configToAlter: e,
|
|
307
303
|
layer: t,
|
|
@@ -342,7 +338,7 @@ function si(i, e) {
|
|
|
342
338
|
}
|
|
343
339
|
return t;
|
|
344
340
|
}
|
|
345
|
-
function
|
|
341
|
+
function Ui(i) {
|
|
346
342
|
const { data: e, config: t, showEmptySeries: r } = i, s = t.series.length, a = te(t);
|
|
347
343
|
let n = !1;
|
|
348
344
|
if (!r && s > 1 && e) {
|
|
@@ -391,15 +387,15 @@ function ji(i) {
|
|
|
391
387
|
}
|
|
392
388
|
return { seriesFilteredOut: n, filteredConfig: a };
|
|
393
389
|
}
|
|
394
|
-
const
|
|
390
|
+
const ji = (i) => i.hideEmptyRowsAndColumns, Ki = (i, e) => {
|
|
395
391
|
i.hideEmptyRowsAndColumns = e;
|
|
396
|
-
},
|
|
392
|
+
}, Zi = (i, e) => {
|
|
397
393
|
const t = i.series[0];
|
|
398
394
|
t.heatRulesType = e;
|
|
399
|
-
},
|
|
395
|
+
}, _i = (i) => i.series[0].heatRulesType, Qi = (i, e) => {
|
|
400
396
|
const t = i.series[0];
|
|
401
397
|
t.gradientRules = e;
|
|
402
|
-
},
|
|
398
|
+
}, zi = (i) => i.series[0].gradientRules, Gi = (i) => {
|
|
403
399
|
const { yField: e, config: t, layerInfo: r, commonStrings: s } = i, { layerFieldsInfo: a } = r, n = se(1, t), o = ai(t), c = re(t), l = t.series[0];
|
|
404
400
|
if (typeof e == "string" && o !== e && l) {
|
|
405
401
|
if (l.y = e, Qt(t), o === n || c) {
|
|
@@ -408,14 +404,14 @@ const Ki = (i) => i.hideEmptyRowsAndColumns, Zi = (i, e) => {
|
|
|
408
404
|
}
|
|
409
405
|
Pe({ commonStrings: s, config: t, layerInfo: r });
|
|
410
406
|
}
|
|
411
|
-
}, ai = (i) => i.series[0].y ?? "",
|
|
407
|
+
}, ai = (i) => i.series[0].y ?? "", Ji = (i) => {
|
|
412
408
|
const { binning: e, config: t, commonStrings: r } = i, s = t.series[0];
|
|
413
409
|
if (s.xTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
|
|
414
410
|
const a = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
|
|
415
411
|
$(t, 0, a);
|
|
416
412
|
}
|
|
417
413
|
ee({ axisIndex: 0, commonStrings: r, config: t });
|
|
418
|
-
}, ri = (i) => i.series[0].xTemporalBinning,
|
|
414
|
+
}, ri = (i) => i.series[0].xTemporalBinning, es = (i) => {
|
|
419
415
|
const { binning: e, config: t, commonStrings: r } = i, s = t.series[0];
|
|
420
416
|
if (s.yTemporalBinning = e, e?.unit !== void 0 && e.unit in r.utilsStrings.heatChartCalendarDatePartsUnits) {
|
|
421
417
|
const a = r.utilsStrings.heatChartCalendarDatePartsUnits[e.unit];
|
|
@@ -429,16 +425,16 @@ const Ki = (i) => i.hideEmptyRowsAndColumns, Zi = (i, e) => {
|
|
|
429
425
|
orderType: N.MultiAxes
|
|
430
426
|
};
|
|
431
427
|
r === ce.customSort && t === N.Category && (n.orderByX = [...i]), a === ce.customSort && s === N.Category && (n.orderByY = [...i]), Object.keys(n).length > 1 && (e.orderOptions.data = n);
|
|
432
|
-
},
|
|
428
|
+
}, ts = (i, e) => {
|
|
433
429
|
const t = e.series[0];
|
|
434
430
|
t.gridLine && (t.gridLine.width = i);
|
|
435
|
-
},
|
|
431
|
+
}, is = (i) => i.series[0].gridLine?.width, ss = (i, e) => {
|
|
436
432
|
const t = e.series[0], r = i?.length === 4 && i.every((s) => typeof s == "number");
|
|
437
433
|
t.gridLine && r && (t.gridLine.color = i);
|
|
438
|
-
},
|
|
434
|
+
}, as = (i) => i.series[0].gridLine?.color, rs = (i, e) => {
|
|
439
435
|
const t = e.legend;
|
|
440
436
|
t && (t.position = i);
|
|
441
|
-
},
|
|
437
|
+
}, ns = (i) => i.legend?.position ?? At.Bottom, os = (i) => i.series[0].query?.outStatistics?.[0]?.onStatisticField, ls = (i) => {
|
|
442
438
|
const { field: e, config: t, layerInfo: r, commonStrings: s } = i, a = t.series[0].query?.outStatistics?.[0], n = le(t, r, s);
|
|
443
439
|
a ? (a.onStatisticField = e, a.outStatisticFieldName = `${a.statisticType}_${e}`) : t.series[0].query = {
|
|
444
440
|
outStatistics: [
|
|
@@ -449,52 +445,52 @@ const Ki = (i) => i.hideEmptyRowsAndColumns, Zi = (i, e) => {
|
|
|
449
445
|
}
|
|
450
446
|
]
|
|
451
447
|
}, n && t.title && (t.title.content.text = K(t, r, s));
|
|
452
|
-
},
|
|
448
|
+
}, cs = (i) => i.series[0].query?.outStatistics?.[0].statisticType ?? I.Count, us = (i) => {
|
|
453
449
|
const { aggregationType: e, config: t, layerInfo: r, commonStrings: s } = i, a = t.series[0]?.query?.outStatistics?.[0], n = le(t, r, s);
|
|
454
450
|
a && e !== I.NoAggregation && (a.statisticType = e, a.outStatisticFieldName = `${e}_${a.onStatisticField}`), (e === I.Count || e === I.Sum) && li(X.Zero, t), n && t.title && (t.title.content.text = K(t, r, s));
|
|
455
|
-
},
|
|
451
|
+
}, ds = (i) => i.nullPolicy, li = (i, e) => {
|
|
456
452
|
e.nullPolicy = i;
|
|
457
|
-
},
|
|
453
|
+
}, ys = (i) => i.series[0].emptyCells, ms = (i, e) => {
|
|
458
454
|
e.series[0].emptyCells = i;
|
|
459
|
-
},
|
|
455
|
+
}, gs = (i) => i.series[0].emptyCells?.text, ps = (i, e) => {
|
|
460
456
|
e.series[0].emptyCells ? e.series[0].emptyCells.text = i : e.series[0].emptyCells = { text: i };
|
|
461
|
-
},
|
|
457
|
+
}, fs = (i) => i.includeLeapDay, Ss = (i, e) => {
|
|
462
458
|
e.includeLeapDay = i;
|
|
463
|
-
},
|
|
459
|
+
}, Fs = (i) => i.series[0].emptyCells?.symbol, hs = (i, e) => {
|
|
464
460
|
e.series[0].emptyCells ? e.series[0].emptyCells.symbol = i : e.series[0].emptyCells = { symbol: i };
|
|
465
461
|
};
|
|
466
|
-
function
|
|
462
|
+
function Ts(i) {
|
|
467
463
|
return i.viewType;
|
|
468
464
|
}
|
|
469
|
-
function
|
|
465
|
+
function xs(i, e) {
|
|
470
466
|
ft(e) || (e.viewType = i);
|
|
471
467
|
}
|
|
472
|
-
function
|
|
468
|
+
function Bs(i) {
|
|
473
469
|
return i.series[0].classBreaksRules?.breaksCount ?? G;
|
|
474
470
|
}
|
|
475
|
-
function
|
|
471
|
+
function Cs(i, e) {
|
|
476
472
|
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.breaksCount = i ?? G : e.series[0].classBreaksRules = {
|
|
477
473
|
breaksCount: i ?? G
|
|
478
474
|
};
|
|
479
475
|
}
|
|
480
|
-
function
|
|
476
|
+
function As(i) {
|
|
481
477
|
return i.series[0].classBreaksRules?.classificationMethod;
|
|
482
478
|
}
|
|
483
|
-
function
|
|
479
|
+
function bs(i, e) {
|
|
484
480
|
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.classificationMethod = i : e.series[0].classBreaksRules = {
|
|
485
481
|
classificationMethod: i
|
|
486
482
|
}, e.series[0].classBreaksRules.breaksCount = e.series[0].classBreaksRules.breaksCount ?? G;
|
|
487
483
|
}
|
|
488
|
-
function
|
|
484
|
+
function vs(i, e) {
|
|
489
485
|
e.firstDayOfWeek = i;
|
|
490
486
|
}
|
|
491
|
-
function
|
|
487
|
+
function Is(i) {
|
|
492
488
|
return i.firstDayOfWeek;
|
|
493
489
|
}
|
|
494
|
-
function
|
|
490
|
+
function Ls(i) {
|
|
495
491
|
return i.series[0].classBreaksRules?.colorRampInfo?.name;
|
|
496
492
|
}
|
|
497
|
-
function
|
|
493
|
+
function Ds(i, e) {
|
|
498
494
|
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
|
|
499
495
|
...e.series[0].classBreaksRules.colorRampInfo,
|
|
500
496
|
name: i
|
|
@@ -505,10 +501,10 @@ function Ns(i, e) {
|
|
|
505
501
|
}
|
|
506
502
|
};
|
|
507
503
|
}
|
|
508
|
-
function
|
|
504
|
+
function Ns(i) {
|
|
509
505
|
return i.series[0].classBreaksRules?.colorRampInfo?.flipped ?? !1;
|
|
510
506
|
}
|
|
511
|
-
function
|
|
507
|
+
function Os(i, e) {
|
|
512
508
|
e.series[0].classBreaksRules !== void 0 ? e.series[0].classBreaksRules.colorRampInfo = {
|
|
513
509
|
...e.series[0].classBreaksRules.colorRampInfo,
|
|
514
510
|
flipped: i
|
|
@@ -855,7 +851,7 @@ function $e(i) {
|
|
|
855
851
|
);
|
|
856
852
|
return p.length === 1 && m.length === 1 && Y(p[0]) && Y(m[0]) && (m[0].fillSymbol = p[0].fillSymbol), u.length === 1 && f.length === 1 && ((O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && He(f[0], u[0]), (O(u[0]) && O(f[0]) || V(u[0]) && V(f[0])) && (f[0].lineSymbol = u[0].lineSymbol, f[0].markerSymbol = u[0].markerSymbol)), l;
|
|
857
853
|
}
|
|
858
|
-
function
|
|
854
|
+
function Vs(i) {
|
|
859
855
|
const { aggregationType: e, config: t, layerInfo: r, commonStrings: s } = i, { layerFieldsInfo: a, layer: n } = r, o = P(t), c = W(t), l = Z(t), m = oe(t), f = le(t, r, s), p = Xe(t, r, s);
|
|
860
856
|
if (t.series.forEach((u, d) => {
|
|
861
857
|
const y = ae({
|
|
@@ -975,7 +971,7 @@ function pi(i) {
|
|
|
975
971
|
}
|
|
976
972
|
return d;
|
|
977
973
|
}
|
|
978
|
-
const
|
|
974
|
+
const qs = (i) => {
|
|
979
975
|
const {
|
|
980
976
|
xAxisFieldName: e,
|
|
981
977
|
splitByField: t,
|
|
@@ -1045,7 +1041,7 @@ const Rs = (i) => {
|
|
|
1045
1041
|
...e.markerSymbol,
|
|
1046
1042
|
color: i.markerSymbol?.color
|
|
1047
1043
|
});
|
|
1048
|
-
},
|
|
1044
|
+
}, Rs = (i) => {
|
|
1049
1045
|
const { config: e, seriesIndex: t, layerInfo: r, commonStrings: s } = i, a = e.series?.[t], n = Z(e);
|
|
1050
1046
|
let o;
|
|
1051
1047
|
if (ie(e.series) === w.BarAndLineFromFields)
|
|
@@ -1062,7 +1058,7 @@ const Rs = (i) => {
|
|
|
1062
1058
|
}) ?? l;
|
|
1063
1059
|
}
|
|
1064
1060
|
return o ?? a.id;
|
|
1065
|
-
},
|
|
1061
|
+
}, ks = (i, e) => {
|
|
1066
1062
|
if (H(e))
|
|
1067
1063
|
oi(i, e);
|
|
1068
1064
|
else {
|
|
@@ -1073,7 +1069,7 @@ const Rs = (i) => {
|
|
|
1073
1069
|
orderBy: [...i]
|
|
1074
1070
|
});
|
|
1075
1071
|
}
|
|
1076
|
-
},
|
|
1072
|
+
}, ws = async (i) => {
|
|
1077
1073
|
const { config: e, layerInfo: t, num: r, errorStrings: s } = i, a = P(e), n = qe(e)?.type, o = W(e), c = ie(e.series);
|
|
1078
1074
|
let l = [];
|
|
1079
1075
|
return n === x.CategoryAxisFormat && (c === w.BarAndLineFromFields || a === U ? l = o.map((m) => k(t?.layerFieldsInfo, m)) : a.trim() !== "" && a !== U && t !== void 0 && (l = await Ft({
|
|
@@ -1102,10 +1098,10 @@ function fi(i) {
|
|
|
1102
1098
|
const { config: e, layerInfo: t, commonStrings: r } = i, s = k(t.layerFieldsInfo, P(e)), a = se(0, e), n = re(e), o = P(e) === U && (a === "" || a === r.xAxis);
|
|
1103
1099
|
return s === a || n || o;
|
|
1104
1100
|
}
|
|
1105
|
-
function
|
|
1101
|
+
function Ps(i) {
|
|
1106
1102
|
return L(i.series[0]) ? i.series[0].binTemporalData ?? !0 : !1;
|
|
1107
1103
|
}
|
|
1108
|
-
function
|
|
1104
|
+
function Es(i, e) {
|
|
1109
1105
|
e?.series.forEach((t) => {
|
|
1110
1106
|
L(t) && (t.binTemporalData = i, i ? t.temporalBinning = {
|
|
1111
1107
|
unit: de.Day,
|
|
@@ -1117,82 +1113,81 @@ function Ms(i, e) {
|
|
|
1117
1113
|
});
|
|
1118
1114
|
}
|
|
1119
1115
|
export {
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1116
|
+
as as $,
|
|
1117
|
+
ks as A,
|
|
1118
|
+
qs as B,
|
|
1119
|
+
Ps as C,
|
|
1124
1120
|
Es as D,
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1121
|
+
K as E,
|
|
1122
|
+
Pe as F,
|
|
1123
|
+
ai as G,
|
|
1124
|
+
Gi as H,
|
|
1125
|
+
Ts as I,
|
|
1130
1126
|
xs as J,
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1127
|
+
ri as K,
|
|
1128
|
+
Ji as L,
|
|
1129
|
+
ni as M,
|
|
1130
|
+
es as N,
|
|
1131
|
+
Bs as O,
|
|
1136
1132
|
Cs as P,
|
|
1137
1133
|
As as Q,
|
|
1138
1134
|
bs as R,
|
|
1139
|
-
|
|
1135
|
+
Ls as S,
|
|
1140
1136
|
Ds as T,
|
|
1141
1137
|
Ns as U,
|
|
1142
1138
|
Os as V,
|
|
1143
1139
|
_t as W,
|
|
1144
|
-
|
|
1140
|
+
ji as X,
|
|
1145
1141
|
Ki as Y,
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1142
|
+
is as Z,
|
|
1143
|
+
ts as _,
|
|
1144
|
+
Hi as a,
|
|
1145
|
+
ss as a0,
|
|
1146
|
+
_i as a1,
|
|
1147
|
+
Zi as a2,
|
|
1148
|
+
zi as a3,
|
|
1149
|
+
Qi as a4,
|
|
1150
|
+
os as a5,
|
|
1155
1151
|
ls as a6,
|
|
1156
1152
|
cs as a7,
|
|
1157
1153
|
us as a8,
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1154
|
+
ns as a9,
|
|
1155
|
+
rs as aa,
|
|
1156
|
+
ds as ab,
|
|
1157
|
+
li as ac,
|
|
1158
|
+
ys as ad,
|
|
1163
1159
|
ms as ae,
|
|
1164
1160
|
gs as af,
|
|
1165
1161
|
ps as ag,
|
|
1166
1162
|
fs as ah,
|
|
1167
1163
|
Ss as ai,
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1164
|
+
Is as aj,
|
|
1165
|
+
vs as ak,
|
|
1166
|
+
Fs as al,
|
|
1171
1167
|
hs as am,
|
|
1172
|
-
Ts as an,
|
|
1173
1168
|
Yi as b,
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1169
|
+
W as c,
|
|
1170
|
+
Z as d,
|
|
1171
|
+
Rs as e,
|
|
1172
|
+
Ui as f,
|
|
1178
1173
|
oe as g,
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1174
|
+
qi as h,
|
|
1175
|
+
Xi as i,
|
|
1176
|
+
Ht as j,
|
|
1177
|
+
$t as k,
|
|
1178
|
+
Pi as l,
|
|
1179
|
+
Ri as m,
|
|
1180
|
+
Ei as n,
|
|
1181
|
+
ki as o,
|
|
1182
|
+
Wi as p,
|
|
1183
|
+
Mi as q,
|
|
1189
1184
|
Qt as r,
|
|
1190
1185
|
we as s,
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1186
|
+
wi as t,
|
|
1187
|
+
$i as u,
|
|
1188
|
+
Xt as v,
|
|
1189
|
+
Wt as w,
|
|
1190
|
+
Vs as x,
|
|
1191
|
+
me as y,
|
|
1192
|
+
ws as z
|
|
1198
1193
|
};
|
|
@@ -8,7 +8,7 @@ import { S as E } from "./common.js";
|
|
|
8
8
|
import { M as U, a as j, W as X, b as Y } from "./data-labels-visibility.js";
|
|
9
9
|
import { M as w, a as z } from "./model-with-y-guides.js";
|
|
10
10
|
import { C as O } from "./chart-model.js";
|
|
11
|
-
import { g as S,
|
|
11
|
+
import { g as S, c as u, h as K, j as q, k as G, l as $, m as Q, n as Z, o as H, q as J, t as ee, v as ie, w as te, x as se, y as m, z as T, A as B, B as d, C as re, D as oe, d as ne, E as ae, W as le } from "./serial-chart-data.js";
|
|
12
12
|
import { M as ge } from "./model-with-x-guides.js";
|
|
13
13
|
import { W as ce, c as he, d as fe } from "./axis-lines-symbol.js";
|
|
14
14
|
import { W as pe, c as me, d as de } from "./generate-x-axis-title.js";
|
|
@@ -5,7 +5,7 @@ import { g as ce, a as _, b as oe, c as q } 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
|
-
import { g as re,
|
|
8
|
+
import { g as re, c as le, d as ge } from "./serial-chart-data.js";
|
|
9
9
|
import { g as z, a as pe } from "./data.js";
|
|
10
10
|
import { O as K, r as U, u as be, t as xe, y as g, a6 as E, C as A, P as Fe, $ as P, ai as Ce, b6 as De, ch as Se } from "./index.js";
|
|
11
11
|
import { i as Y, M as k, l as R, N as ve, O as Be, P as Q } from "./index2.js";
|
|
@@ -7,7 +7,7 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
7
7
|
import type { AxisLabelFormatCallback, BarAndLineDataLabelFormatCallback, GaugeInnerLabelFormatCallback, GuideTooltipFormatCallback, HistogramLabelFormatCallback, PieChartLabelFormatCallback, PieChartLegendValueLabelFormatCallback, PreRenderCallback, ScatterplotLabelFormatCallback, TooltipFormatters } from "../../chart-rendering/common/interfaces.js";
|
|
8
8
|
import type { ChartLayerInput, CSVOptions } from "../../interfaces.js";
|
|
9
9
|
import type { ChartModel } from "../../model/chart-model/chart-model.js";
|
|
10
|
-
import type { WebChartTypes
|
|
10
|
+
import type { WebChartTypes } from "../../spec/chart-object-literals.js";
|
|
11
11
|
import type { WebChartDataTypes } from "../../spec/data-source.js";
|
|
12
12
|
import type { WebChart, WebChartDataFilters } from "../../spec/web-chart.js";
|
|
13
13
|
import type { DataWarningObject, ValidationStatus } from "../../utils/chart-config/validator/interfaces.js";
|
|
@@ -17,7 +17,7 @@ import type { CalciteThemeCSSVariables } from "../../utils/components/themes.js"
|
|
|
17
17
|
import type { ActionModes, CursorRange } from "../../utils/cursor/interfaces.js";
|
|
18
18
|
import type { ChartElementLimit } from "../../utils/defaults/interfaces.js";
|
|
19
19
|
import type { LoaderColors, SelectionData, SelectionTheme } from "../../utils/misc/interfaces.js";
|
|
20
|
-
import type { ErrorPolicy,
|
|
20
|
+
import type { ErrorPolicy, SyncSelectionsBetweenChartAndLayerViewPolicy, ViewTimeExtentChangePolicy } from "../../utils/types/index.js";
|
|
21
21
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
22
22
|
|
|
23
23
|
/**
|
|
@@ -905,13 +905,6 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
905
905
|
* @deprecated since 5.0. Use charts model's [featureIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/model/gauge-model/gauge-model/#featureIndex) prop instead.
|
|
906
906
|
*/
|
|
907
907
|
accessor featureIndex: number | undefined;
|
|
908
|
-
/**
|
|
909
|
-
* When `true`, all chart elements are filtered based on the view extent.
|
|
910
|
-
*
|
|
911
|
-
* @deprecated since 5.1. Use [filterByViewExtent](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#filterByViewExtent) instead.
|
|
912
|
-
* @default false
|
|
913
|
-
*/
|
|
914
|
-
accessor filterByExtent: boolean;
|
|
915
908
|
/**
|
|
916
909
|
* When `true`, the chart uses the current selection as a data filter and renders only selected elements instead of rendering the full dataset with selection styling.
|
|
917
910
|
* Axis bounds, time binning intervals will be computed based on the selected elements only.
|
|
@@ -1049,20 +1042,6 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1049
1042
|
* **Note**: Queries run client-side when [layer](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layer) is a [`ChartLayerView`](/references/charts-components/interfaces/#ChartLayerView), or when both [layer](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#layer) and [view](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#view) are provided.
|
|
1050
1043
|
*/
|
|
1051
1044
|
accessor layer: ChartLayerInput | undefined;
|
|
1052
|
-
/**
|
|
1053
|
-
* Allows the chart to update automatically when the layer's `fields` property changes.
|
|
1054
|
-
*
|
|
1055
|
-
* @deprecated since 5.1. Won't be replaced.
|
|
1056
|
-
* @default "refresh"
|
|
1057
|
-
*/
|
|
1058
|
-
accessor layerFieldsChangePolicy: LayerFieldsChangePolicy;
|
|
1059
|
-
/**
|
|
1060
|
-
* Whether the chart should be refreshed when the layer's filter (`definitionExpression`) changes.
|
|
1061
|
-
*
|
|
1062
|
-
* @deprecated since 5.1. Won't be replaced.
|
|
1063
|
-
* @default "refresh"
|
|
1064
|
-
*/
|
|
1065
|
-
accessor layerFilterChangePolicy: LayerFilterChangePolicy;
|
|
1066
1045
|
/**
|
|
1067
1046
|
* Layer item ID associated with the chart to be rendered. Can be used in conjunction with the [chartIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#chartIndex) property.
|
|
1068
1047
|
* If `layerItemId` is set without [chartIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#chartIndex), the first chart in the layer will be rendered.
|
|
@@ -1078,15 +1057,6 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1078
1057
|
* ```
|
|
1079
1058
|
*/
|
|
1080
1059
|
accessor layerItemId: string | undefined;
|
|
1081
|
-
/**
|
|
1082
|
-
* Allows the chart to update automatically when the layer's renderer changes. Applies when the color match is enabled.
|
|
1083
|
-
*
|
|
1084
|
-
* **Note**: If the property is set to `ignore` the chart will still use the layer's renderer information when the data is updated.
|
|
1085
|
-
*
|
|
1086
|
-
* @deprecated since 5.1. Won't be replaced.
|
|
1087
|
-
* @default "refresh"
|
|
1088
|
-
*/
|
|
1089
|
-
accessor layerRendererChangePolicy: LayerRendererChangePolicy;
|
|
1090
1060
|
/**
|
|
1091
1061
|
* When `true`, disables the toggling of series or slices from the legend items. Clicking on the legend items will not hide or show the corresponding elements on the chart.
|
|
1092
1062
|
*
|
|
@@ -1096,14 +1066,6 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1096
1066
|
* @since 5.2
|
|
1097
1067
|
*/
|
|
1098
1068
|
accessor legendInteractionsDisabled: boolean | undefined;
|
|
1099
|
-
/**
|
|
1100
|
-
* Sets the legend's position on the chart.
|
|
1101
|
-
*
|
|
1102
|
-
* **Note**: Not applicable to gauges.
|
|
1103
|
-
*
|
|
1104
|
-
* @deprecated since 5.0. Use charts model's [legendPosition](https://developers.arcgis.com/javascript/latest/references/charts-components/model/bar-chart-model/bar-chart-model/#legendPosition) prop instead.
|
|
1105
|
-
*/
|
|
1106
|
-
accessor legendPosition: WebChartLegendPositions | undefined;
|
|
1107
1069
|
/**
|
|
1108
1070
|
* When the pie chart label contains either a numeric value or a percentage (which can be set through the
|
|
1109
1071
|
* [displayNumericValueOnLegendItems](https://developers.arcgis.com/javascript/latest/references/charts-components/model/pie-chart-model/pie-chart-model/#displayNumericValueOnLegendItems) and
|
|
@@ -1568,15 +1530,6 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
1568
1530
|
* @default false
|
|
1569
1531
|
*/
|
|
1570
1532
|
accessor rotated: boolean;
|
|
1571
|
-
/**
|
|
1572
|
-
* When `true`, the chart is rotated 90 degrees so that the x-axis becomes vertical and the y-axis becomes horizontal.
|
|
1573
|
-
*
|
|
1574
|
-
* **Note**: Applicable to bar chart, line chart, combo bar line chart and box plot.
|
|
1575
|
-
*
|
|
1576
|
-
* @deprecated since 5.0. Use either [rotated](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#rotated) or the charts model's [rotated](https://developers.arcgis.com/javascript/latest/references/charts-components/model/bar-chart-model/bar-chart-model/#rotated) prop instead.
|
|
1577
|
-
* @default false
|
|
1578
|
-
*/
|
|
1579
|
-
accessor rotation: boolean;
|
|
1580
1533
|
/**
|
|
1581
1534
|
* Applies runtime data filters to the chart, features will be filtered based on the provided key value pairs.
|
|
1582
1535
|
*
|
|
@@ -2262,7 +2215,7 @@ export abstract class ArcgisChart extends LitElement {
|
|
|
2262
2215
|
* ```
|
|
2263
2216
|
*/
|
|
2264
2217
|
readonly arcgisLegendItemVisibilityChange: import("@arcgis/lumina").TargetedEvent<this, LegendItemVisibilityChangePayload>;
|
|
2265
|
-
/** Emitted when a no-render property ([rotated](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#rotated), [
|
|
2218
|
+
/** Emitted when a no-render property ([rotated](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#rotated), [legendVisibility](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#legendVisibility), [view](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#view) and [featureIndex](https://developers.arcgis.com/javascript/latest/references/charts-components/components/arcgis-chart/#featureIndex)) is changed. */
|
|
2266
2219
|
readonly arcgisNoRenderPropChange: import("@arcgis/lumina").TargetedEvent<this, NoRenderPropChangePayload>;
|
|
2267
2220
|
/**
|
|
2268
2221
|
* Emitted once the chart is created and the rendering is complete. This event also emits with any subsequent chart updates, including when the chart is refreshed or when the configuration is changed.
|