@arcgis/charts-components 5.2.0-next.163 → 5.2.0-next.165

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.
Files changed (83) hide show
  1. package/dist/cdn/{ZTMZ6GG4.js → 3BD4I5JQ.js} +1 -1
  2. package/dist/cdn/{TPWN3WU6.js → 3TO4L72A.js} +1 -1
  3. package/dist/cdn/{HYQNWCWA.js → 5OIYMIQP.js} +1 -1
  4. package/dist/cdn/5XXJOV3V.js +2 -0
  5. package/dist/cdn/{F4PYAQO2.js → 6ALZCZ36.js} +1 -1
  6. package/dist/cdn/{WJINSWQO.js → 6RZNHZEN.js} +1 -1
  7. package/dist/cdn/{QPMXPJOU.js → 6SKZWI33.js} +1 -1
  8. package/dist/cdn/{6PN24NZH.js → A7U4VQMX.js} +1 -1
  9. package/dist/cdn/{YAH2CORT.js → CDVLQX4S.js} +1 -1
  10. package/dist/cdn/{VBZUDWPR.js → DW44U5PH.js} +1 -1
  11. package/dist/cdn/{IDULNX4O.js → ETHXVKWT.js} +1 -1
  12. package/dist/cdn/{L3P6D53Z.js → G63YJSVM.js} +1 -1
  13. package/dist/cdn/{4SKI2UZ4.js → G7VDU373.js} +1 -1
  14. package/dist/cdn/{UQCVYMWO.js → H4XMNS3O.js} +1 -1
  15. package/dist/cdn/{JXJGHXNJ.js → HGJNYEUX.js} +1 -1
  16. package/dist/cdn/{MMYG2RYL.js → I56GEKJB.js} +1 -1
  17. package/dist/cdn/{57IBZI2Q.js → IL763V5P.js} +1 -1
  18. package/dist/cdn/{HTC5S4WI.js → KYL7MGSG.js} +1 -1
  19. package/dist/cdn/{DHXQHBHG.js → MGLAVOUI.js} +1 -1
  20. package/dist/cdn/{SNQONC4I.js → OQ4UEZRC.js} +1 -1
  21. package/dist/cdn/{FN2RSJVM.js → PAFLJ3WT.js} +1 -1
  22. package/dist/cdn/{HFXBJYPZ.js → PXU4TMFH.js} +1 -1
  23. package/dist/cdn/{GBJ2EWWV.js → QARQR7H5.js} +1 -1
  24. package/dist/cdn/{XWZLBTHL.js → RCG3QHMV.js} +1 -1
  25. package/dist/cdn/{Y6FVIABL.js → RGK27YR7.js} +1 -1
  26. package/dist/cdn/{UMPUQD5F.js → SATVPAKF.js} +1 -1
  27. package/dist/cdn/{KQ74SEOV.js → SNFP2PAX.js} +1 -1
  28. package/dist/cdn/SQHO6UMU.js +2 -0
  29. package/dist/cdn/{J2J3NXRC.js → U7COJZ2D.js} +1 -1
  30. package/dist/cdn/{3EF66ZTP.js → UIE52DE3.js} +19 -19
  31. package/dist/cdn/{O2WFSEOJ.js → WLK4WDAW.js} +1 -1
  32. package/dist/cdn/{MDZELM6Q.js → WNFNL4XM.js} +1 -1
  33. package/dist/cdn/{BPJQFWYG.js → WX5OSLU3.js} +1 -1
  34. package/dist/cdn/{UN4K7L7T.js → XCZG24EM.js} +1 -1
  35. package/dist/cdn/{UI252GPU.js → XJIL6CYH.js} +1 -1
  36. package/dist/cdn/{QU4RD5RM.js → XP4MBNF6.js} +1 -1
  37. package/dist/cdn/{ANON4Y5O.js → XTEZ6SCO.js} +1 -1
  38. package/dist/cdn/{34EBYEM7.js → XTQ4C5NA.js} +1 -1
  39. package/dist/cdn/{WEVL6WYI.js → XXEU3UNC.js} +1 -1
  40. package/dist/cdn/{32HL4LJM.js → ZCU3SS64.js} +1 -1
  41. package/dist/cdn/{VSD6BE2P.js → ZZXYM44J.js} +1 -1
  42. package/dist/cdn/index.js +1 -1
  43. package/dist/cdn/model/shared/setup-utils.js +1 -1
  44. package/dist/chunks/action-bar-utils.js +1 -1
  45. package/dist/chunks/box-plot-data.js +1 -1
  46. package/dist/chunks/data.js +16 -16
  47. package/dist/chunks/generate-x-axis-title.js +9 -9
  48. package/dist/chunks/histogram-data.js +10 -10
  49. package/dist/chunks/index.js +5 -5
  50. package/dist/chunks/index3.js +1 -1
  51. package/dist/chunks/pie-chart-data.js +1 -1
  52. package/dist/chunks/pie-chart-model.js +162 -162
  53. package/dist/chunks/scatterplot-model.js +1 -1
  54. package/dist/chunks/serial-chart-data.js +1 -1
  55. package/dist/chunks/utils.js +1 -1
  56. package/dist/chunks/web-component-utils.js +1 -1
  57. package/dist/components/arcgis-chart/customElement.js +2080 -2058
  58. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  59. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  60. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  61. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +5 -5
  62. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  63. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  64. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +4 -4
  65. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +5 -5
  66. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +3 -3
  67. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +6 -6
  68. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +5 -5
  69. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +5 -5
  70. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +5 -5
  71. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +38 -34
  72. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  73. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  74. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  75. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  76. package/dist/docs/api.json +1 -1
  77. package/dist/docs/docs.json +1 -1
  78. package/dist/docs/web-types.json +1 -1
  79. package/dist/index.js +1 -1
  80. package/dist/utils/chart-config/converter/index.js +18 -18
  81. package/package.json +4 -4
  82. package/dist/cdn/E6TZMNXL.js +0 -2
  83. package/dist/cdn/NW7U6HWL.js +0 -2
@@ -1,119 +1,119 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { log as B } from "@arcgis/toolkit/log";
2
+ import { log as R } from "@arcgis/toolkit/log";
3
3
  import { a as g } from "./chart-object-literals.js";
4
- import { r as b, eO as E, x as f, cA as j, u as K, B as q, eM as H } from "./index.js";
5
- import { i as J } from "./index3.js";
6
- import { a7 as p, ay as A, k as L, p as G, ax as Q, af as U } from "./index2.js";
7
- import { C as X } from "./chart-model.js";
4
+ import { r as S, eO as B, y as h, cA as E, u as j, eM as K } from "./index.js";
5
+ import { i as q } from "./index3.js";
6
+ import { a7 as p, ay as k, k as b, p as A, ax as H, af as J } from "./index2.js";
7
+ import { C as Q } from "./chart-model.js";
8
8
  import { m as s } from "./model-setter.js";
9
- import { b as l, P as u } from "./common.js";
10
- import { M as Y, a as Z, W as $, b as ee } from "./data-labels-visibility.js";
11
- import { W as te } from "./data-labels-symbol.js";
12
- import { i as y, a as m, g as h, s as ie, c as se, b as re, d as ae, e as O, f as D, h as C, j as v, k as oe } from "./pie-chart-data.js";
13
- import { cloneDeep as ne } from "es-toolkit/compat";
9
+ import { b as l, P as f } from "./common.js";
10
+ import { M as U, a as X, W as Y, b as Z } from "./data-labels-visibility.js";
11
+ import { W as $ } from "./data-labels-symbol.js";
12
+ import { i as y, a as m, g as u, s as ee, c as te, b as ie, d as se, e as L, f as O, h as D, j as C, k as re } from "./pie-chart-data.js";
13
+ import { cloneDeep as ae } from "es-toolkit/compat";
14
14
  import { b as _ } from "./rest-js-object-literals.js";
15
- const P = (t) => t.legend?.displayNumericValue ?? !1, I = (t, e) => {
15
+ const v = (t) => t.legend?.displayNumericValue ?? !1, P = (t, e) => {
16
16
  e.series[0]?.type === g.PieSeries && (e.legend === void 0 && (e.legend = p()), e.legend.displayNumericValue = t);
17
- }, T = (t) => t.legend?.displayCategory ?? !1, V = (t, e) => {
17
+ }, I = (t) => t.legend?.displayCategory ?? !1, T = (t, e) => {
18
18
  e.series[0]?.type === g.PieSeries && (e.legend === void 0 && (e.legend = p()), e.legend.displayCategory = t);
19
- }, x = (t) => t.legend?.displayPercentage ?? !1, N = (t, e) => {
19
+ }, V = (t) => t.legend?.displayPercentage ?? !1, x = (t, e) => {
20
20
  e.series[0]?.type === g.PieSeries && (e.legend === void 0 && (e.legend = p()), e.legend.displayPercentage = t);
21
- }, M = (t) => t.legend?.labelMaxWidth ?? 200, F = (t, e) => {
21
+ }, N = (t) => t.legend?.labelMaxWidth ?? 200, M = (t, e) => {
22
22
  e.series[0]?.type === g.PieSeries && (e.legend === void 0 && (e.legend = p()), e.legend.labelMaxWidth = t);
23
- }, le = (t) => t.legend?.valueLabelMaxWidth ?? 200, ce = (t, e) => {
23
+ }, oe = (t) => t.legend?.valueLabelMaxWidth ?? 200, ne = (t, e) => {
24
24
  e.series[0]?.type === g.PieSeries && (e.legend === void 0 && (e.legend = p()), e.legend.valueLabelMaxWidth = t);
25
- }, ge = (t) => t.series?.[0]?.innerRadius, pe = (t, e) => {
25
+ }, le = (t) => t.series?.[0]?.innerRadius, ce = (t, e) => {
26
26
  e.series?.[0] && (e.series[0].innerRadius = t);
27
- }, de = (t) => t.series?.[0]?.innerRadius, ue = (t, e) => {
27
+ }, ge = (t) => t.series?.[0]?.innerRadius, pe = (t, e) => {
28
28
  e.series?.[0] && (e.series[0].innerRadius = t);
29
- }, he = (t) => t.series?.[0]?.dataLabelsCharacterLimit, fe = (t, e) => {
29
+ }, de = (t) => t.series?.[0]?.dataLabelsCharacterLimit, ue = (t, e) => {
30
30
  e.series?.[0] && (e.series[0].dataLabelsCharacterLimit = t);
31
- }, W = (t) => t.series[0]?.startAngle, ye = (t, e) => {
31
+ }, F = (t) => t.series[0]?.startAngle, he = (t, e) => {
32
32
  e.series?.[0] && (e.series[0].startAngle = t);
33
- }, me = (t, e) => {
33
+ }, fe = (t, e) => {
34
34
  e.series?.[0] && (e.series[0].endAngle = t);
35
- }, _e = (t) => t.series?.[0]?.displayCategoryOnTooltip ?? !0, Se = (t) => t.series?.[0]?.displayCategoryOnDataLabel ?? !0, be = (t) => t.series?.[0]?.displayNumericValueOnDataLabel ?? !0, Le = (t) => t.series?.[0]?.displayPercentageOnDataLabel ?? !1, Oe = (t) => t.series?.[0]?.displayNumericValueOnTooltip ?? !0, De = (t) => t.series?.[0]?.displayPercentageOnTooltip ?? !0, Ce = (t, e) => {
35
+ }, ye = (t) => t.series?.[0]?.displayCategoryOnTooltip ?? !0, me = (t) => t.series?.[0]?.displayCategoryOnDataLabel ?? !0, _e = (t) => t.series?.[0]?.displayNumericValueOnDataLabel ?? !0, Se = (t) => t.series?.[0]?.displayPercentageOnDataLabel ?? !1, be = (t) => t.series?.[0]?.displayNumericValueOnTooltip ?? !0, Le = (t) => t.series?.[0]?.displayPercentageOnTooltip ?? !0, Oe = (t, e) => {
36
36
  e.series[0] && (e.series[0].displayPercentageOnTooltip = t);
37
- }, ve = (t) => t.series?.[0]?.valuePrefix, Pe = (t, e) => {
37
+ }, De = (t) => t.series?.[0]?.valuePrefix, Ce = (t, e) => {
38
38
  e.series?.[0] && (e.series[0].valuePrefix = t);
39
- }, Ie = (t) => t.series?.[0]?.valueSuffix, Te = (t, e) => {
39
+ }, ve = (t) => t.series?.[0]?.valueSuffix, Pe = (t, e) => {
40
40
  e.series?.[0] && (e.series[0].valueSuffix = t);
41
- }, Ve = (t) => t.series?.[0]?.percentagePrefix, xe = (t, e) => {
41
+ }, Ie = (t) => t.series?.[0]?.percentagePrefix, Te = (t, e) => {
42
42
  e.series?.[0] && (e.series[0].percentagePrefix = t);
43
- }, Ne = (t) => t.series?.[0]?.percentageSuffix, Me = (t, e) => {
43
+ }, Ve = (t) => t.series?.[0]?.percentageSuffix, xe = (t, e) => {
44
44
  e.series?.[0] && (e.series[0].percentageSuffix = t);
45
- }, Fe = (t) => {
45
+ }, Ne = (t) => {
46
46
  let e;
47
47
  const a = t.series?.[0];
48
48
  return a?.displayNumericValueOnDataLabel === !0 && a?.displayPercentageOnDataLabel === !0 ? e = l.Both : a?.displayNumericValueOnDataLabel === !0 ? e = l.Value : e = l.Percentage, e;
49
- }, We = (t, e) => {
49
+ }, Me = (t, e) => {
50
50
  const a = t === l.Value || t === l.Both, o = t === l.Percentage || t === l.Both;
51
51
  e.series?.[0] && (e.series[0].displayNumericValueOnDataLabel = a, e.series[0].displayPercentageOnDataLabel = o), e.legend && (e.legend = {
52
52
  ...e.legend,
53
53
  displayNumericValue: a,
54
54
  displayPercentage: o
55
55
  });
56
- }, ke = (t) => t.series?.[0]?.alignDataLabels ?? !1, Ae = (t, e) => {
56
+ }, Fe = (t) => t.series?.[0]?.alignDataLabels ?? !1, We = (t, e) => {
57
57
  e.series[0] && (e.series[0].alignDataLabels = t);
58
- }, Ge = (t) => t.series?.[0]?.dataLabelsInside ?? !1, ze = (t, e) => {
58
+ }, ke = (t) => t.series?.[0]?.dataLabelsInside ?? !1, Ae = (t, e) => {
59
59
  e.series[0] && (e.series[0].dataLabelsInside = t);
60
- }, we = (t) => t.series?.[0]?.dataLabelsOffset ?? 10, Re = (t, e) => {
60
+ }, Ge = (t) => t.series?.[0]?.dataLabelsOffset ?? 10, ze = (t, e) => {
61
61
  e.series[0] && (e.series[0].dataLabelsOffset = t);
62
- }, Be = (t) => t.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits, Ee = (t, e) => {
63
- e.series?.[0] && (e.series[0].numericValueFormat ??= L(), e.series[0].numericValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].numericValueFormat.intlOptions.maximumFractionDigits = t, e.series[0].percentValueFormat ??= L(), e.series[0].percentValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].percentValueFormat.intlOptions.maximumFractionDigits = t);
64
- }, je = (t) => t.series?.[0]?.optimizeDataLabelsOverlapping ?? !1, Ke = (t, e) => {
62
+ }, we = (t) => t.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits, Re = (t, e) => {
63
+ e.series?.[0] && (e.series[0].numericValueFormat ??= b(), e.series[0].numericValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].numericValueFormat.intlOptions.maximumFractionDigits = t, e.series[0].percentValueFormat ??= b(), e.series[0].percentValueFormat.intlOptions.minimumFractionDigits = t, e.series[0].percentValueFormat.intlOptions.maximumFractionDigits = t);
64
+ }, Be = (t) => t.series?.[0]?.optimizeDataLabelsOverlapping ?? !1, Ee = (t, e) => {
65
65
  e.series[0] && (e.series[0].optimizeDataLabelsOverlapping = t);
66
- }, qe = (t) => t.series[0]?.ticks?.visible ?? !1, He = (t, e) => {
67
- e.series?.[0] && (e.series[0].ticks ??= A(), e.series[0].ticks.visible = t);
68
- }, Je = (t) => t.series[0]?.ticks?.lineSymbol, Qe = (t, e) => {
69
- t && e.series?.[0] && (e.series[0].ticks ??= A(), e.series[0].ticks.lineSymbol = ne(t));
70
- }, Ue = (t, e) => e.series?.[0]?.slices?.[t]?.originalLabel, Xe = (t, e) => e.series?.[0]?.slices?.[t]?.label, Ye = (t, e, a) => {
66
+ }, je = (t) => t.series[0]?.ticks?.visible ?? !1, Ke = (t, e) => {
67
+ e.series?.[0] && (e.series[0].ticks ??= k(), e.series[0].ticks.visible = t);
68
+ }, qe = (t) => t.series[0]?.ticks?.lineSymbol, He = (t, e) => {
69
+ t && e.series?.[0] && (e.series[0].ticks ??= k(), e.series[0].ticks.lineSymbol = ae(t));
70
+ }, Je = (t, e) => e.series?.[0]?.slices?.[t]?.originalLabel, Qe = (t, e) => e.series?.[0]?.slices?.[t]?.label, Ue = (t, e, a) => {
71
71
  a.series?.[0]?.slices?.[e] && (a.series[0].slices[e].label = t);
72
- }, Ze = (t, e) => e.series?.[0]?.slices?.[t]?.fillSymbol?.color, $e = (t, e, a) => {
72
+ }, Xe = (t, e) => e.series?.[0]?.slices?.[t]?.fillSymbol?.color, Ye = (t, e, a) => {
73
73
  const o = a.series?.[0]?.slices?.[e]?.fillSymbol;
74
74
  o !== void 0 ? (o.color = t, o.outline !== void 0 ? o.outline.color = t : o.outline = { type: _.SLS, color: t }) : a.series?.[0]?.slices?.[e] !== void 0 && (a.series[0].slices[e].fillSymbol = {
75
75
  type: _.SFS,
76
76
  color: t,
77
77
  outline: { type: _.SLS, color: t }
78
78
  });
79
- }, et = (t) => t.series?.[0]?.slices?.map((e) => e.sliceId), k = (t, e) => {
79
+ }, Ze = (t) => t.series?.[0]?.slices?.map((e) => e.sliceId), W = (t, e) => {
80
80
  e.series?.[0]?.slices?.sort(
81
81
  (a, o) => t.findIndex((n) => a.sliceId === n) - t.findIndex((n) => o.sliceId === n)
82
82
  );
83
- }, tt = (t) => t.series?.[0]?.sliceGrouping, z = (t, e) => {
83
+ }, $e = (t) => t.series?.[0]?.sliceGrouping, G = (t, e) => {
84
84
  e.series?.[0] && (e.series[0].sliceGrouping = t);
85
- }, w = (t) => t.series?.[0]?.sliceGrouping?.percentageThreshold, it = (t, e) => {
85
+ }, z = (t) => t.series?.[0]?.sliceGrouping?.percentageThreshold, et = (t, e) => {
86
86
  e.series?.[0]?.sliceGrouping !== void 0 ? e.series[0].sliceGrouping.percentageThreshold = t : e.series[0].sliceGrouping = {
87
- sliceId: G.defaultGroupOfSlicesId,
87
+ sliceId: A.defaultGroupOfSlicesId,
88
88
  percentageThreshold: t
89
89
  };
90
- }, st = (t) => t.series?.[0]?.slices, R = (t, e) => {
90
+ }, tt = (t) => t.series?.[0]?.slices, w = (t, e) => {
91
91
  e.series?.[0] && (e.series[0].slices = t);
92
- }, rt = (t) => {
93
- R(void 0, t), z(
92
+ }, it = (t) => {
93
+ w(void 0, t), G(
94
94
  {
95
- sliceId: G.defaultGroupOfSlicesId,
96
- percentageThreshold: w(t) ?? 0
95
+ sliceId: A.defaultGroupOfSlicesId,
96
+ percentageThreshold: z(t) ?? 0
97
97
  },
98
98
  t
99
99
  );
100
- }, at = (t, e) => e.series[0]?.slices?.[t]?.sliceId, ot = (t, e) => e.series[0]?.slices?.findIndex((a) => a.sliceId === t), nt = (t) => t.series[0]?.slices?.length ?? 0;
101
- var lt = Object.defineProperty, ct = Object.getOwnPropertyDescriptor, r = (t, e, a, o) => {
102
- for (var n = ct(e, a), c = t.length - 1, d; c >= 0; c--)
100
+ }, st = (t, e) => e.series[0]?.slices?.[t]?.sliceId, rt = (t, e) => e.series[0]?.slices?.findIndex((a) => a.sliceId === t), at = (t) => t.series[0]?.slices?.length ?? 0;
101
+ var ot = Object.defineProperty, nt = Object.getOwnPropertyDescriptor, r = (t, e, a, o) => {
102
+ for (var n = nt(e, a), c = t.length - 1, d; c >= 0; c--)
103
103
  (d = t[c]) && (n = d(e, a, n) || n);
104
- return n && lt(e, a, n), n;
104
+ return n && ot(e, a, n), n;
105
105
  };
106
- class i extends X {
106
+ class i extends Q {
107
107
  constructor() {
108
- super(...arguments), this._chartType = g.PieSeries, this._mode = u.Category, this._groupedSliceIds = [], this._customizedSliceIds = [];
108
+ super(...arguments), this._chartType = g.PieSeries, this._mode = f.Category, this._groupedSliceIds = [], this._customizedSliceIds = [];
109
109
  }
110
110
  async setup(e) {
111
111
  await this.loadConfigFromLayer(e);
112
112
  const { config: a } = e;
113
113
  if (a !== void 0) {
114
- const n = b(a.series) !== f.PieFromFields ? u.Category : u.Fields;
114
+ const n = S(a.series) !== h.PieFromFields ? f.Category : f.Fields;
115
115
  this._mode = y({
116
- category: h(this._config),
116
+ category: u(this._config),
117
117
  numericFields: m(this._config),
118
118
  fallbackMode: n
119
119
  });
@@ -127,14 +127,14 @@ class i extends X {
127
127
  * Category field for the pie chart.
128
128
  */
129
129
  get category() {
130
- return h(this._config);
130
+ return u(this._config);
131
131
  }
132
132
  set category(e) {
133
- (!J(this._config) || e.trim() !== "") && (this._mode = y({
133
+ (!q(this._config) || e.trim() !== "") && (this._mode = y({
134
134
  category: e,
135
135
  numericFields: m(this._config),
136
136
  fallbackMode: this._mode
137
- }), ie({
137
+ }), ee({
138
138
  newCategory: e,
139
139
  config: this._config,
140
140
  layerInfo: this.layerInfo,
@@ -149,11 +149,11 @@ class i extends X {
149
149
  return m(this._config);
150
150
  }
151
151
  set numericFields(e) {
152
- typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ? E(this.layerInfo.layerFieldsInfo, e) : !0) ? (this._mode = y({
153
- category: h(this._config),
152
+ typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ? B(this.layerInfo.layerFieldsInfo, e) : !0) ? (this._mode = y({
153
+ category: u(this._config),
154
154
  numericFields: e,
155
155
  fallbackMode: this._mode
156
- }), se({
156
+ }), te({
157
157
  newNumericFields: e,
158
158
  config: this._config,
159
159
  layerInfo: this.layerInfo,
@@ -161,16 +161,16 @@ class i extends X {
161
161
  mode: this._mode
162
162
  }), this._config.series[0].slices = this._config.series[0].slices?.filter(
163
163
  (o) => o.fillSymbol?.color !== void 0 && this._customizedSliceIds.includes(o.sliceId ?? "")
164
- ), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))) : B("error", "pie-chart-model", "Invalid `numericFields`");
164
+ ), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))) : R("error", "pie-chart-model", "Invalid `numericFields`");
165
165
  }
166
166
  /**
167
167
  * Aggregation type for the pie chart.
168
168
  */
169
169
  get aggregationType() {
170
- return re(this._config, this._mode);
170
+ return ie(this._config, this._mode);
171
171
  }
172
172
  set aggregationType(e) {
173
- ae({
173
+ se({
174
174
  newAggregationType: e,
175
175
  config: this._config,
176
176
  layerInfo: this.layerInfo,
@@ -193,10 +193,10 @@ class i extends X {
193
193
  * @since 5.2
194
194
  */
195
195
  getDataSortOrder() {
196
- return O(this._config, this._mode);
196
+ return L(this._config, this._mode);
197
197
  }
198
198
  setDataSortOrder(e, a) {
199
- D({
199
+ O({
200
200
  newSortOrderKind: e,
201
201
  config: this._config,
202
202
  orderByList: a
@@ -208,10 +208,10 @@ class i extends X {
208
208
  * @deprecated since 5.2. Use {@link model/pie-chart-model/pie-chart-model#getDataSortOrder getDataSortOrder} instead. This method will be removed from `PieChartModel` in 6.0.
209
209
  */
210
210
  getSortOrder() {
211
- return O(this._config, this._mode);
211
+ return L(this._config, this._mode);
212
212
  }
213
213
  setSortOrder(e, a) {
214
- D({
214
+ O({
215
215
  newSortOrderKind: e,
216
216
  config: this._config,
217
217
  orderByList: a
@@ -226,10 +226,10 @@ class i extends X {
226
226
  * ```
227
227
  */
228
228
  get orderByList() {
229
- return C(this._config, this._mode);
229
+ return D(this._config, this._mode);
230
230
  }
231
231
  set orderByList(e) {
232
- v({
232
+ C({
233
233
  values: e,
234
234
  config: this._config,
235
235
  mode: this._mode
@@ -254,9 +254,9 @@ class i extends X {
254
254
  * @param num The maximum number of category values to fetch.
255
255
  */
256
256
  async getCustomSortValues(e) {
257
- const a = h(this._config), o = b(this._config.series);
257
+ const a = u(this._config), o = S(this._config.series);
258
258
  let n = [];
259
- return o === f.PieFromFields ? n = this.numericFields : a.trim() !== "" && o === f.PieFromCategory && (n = await j({
259
+ return o === h.PieFromFields ? n = this.numericFields : a.trim() !== "" && o === h.PieFromCategory && (n = await E({
260
260
  category: a,
261
261
  config: this._config,
262
262
  layerInfo: this.layerInfo,
@@ -265,8 +265,8 @@ class i extends X {
265
265
  })), n;
266
266
  }
267
267
  moveCustomSortValuesInOrderByList(e, a) {
268
- const o = C(this._config, this._mode), [n] = o.splice(e, 1);
269
- o.splice(a, 0, n), v({
268
+ const o = D(this._config, this._mode), [n] = o.splice(e, 1);
269
+ o.splice(a, 0, n), C({
270
270
  values: o,
271
271
  config: this._config,
272
272
  mode: this._mode
@@ -279,10 +279,10 @@ class i extends X {
279
279
  * Ticks symbol connecting slices to labels.
280
280
  */
281
281
  get ticksSymbol() {
282
- return Je(this._config);
282
+ return qe(this._config);
283
283
  }
284
284
  set ticksSymbol(e) {
285
- Qe(e, this._config);
285
+ He(e, this._config);
286
286
  }
287
287
  // ---------------------------------------------------------------------------------------------
288
288
  // #region Slices Props
@@ -291,10 +291,10 @@ class i extends X {
291
291
  * Array of slices for the pie chart.
292
292
  */
293
293
  get slices() {
294
- return st(this._config);
294
+ return tt(this._config);
295
295
  }
296
296
  set slices(e) {
297
- R(e, this._config);
297
+ w(e, this._config);
298
298
  }
299
299
  /**
300
300
  * Array of grouped slice ids for the pie chart.
@@ -309,10 +309,10 @@ class i extends X {
309
309
  * Slice grouping configuration for the pie chart.
310
310
  */
311
311
  get sliceGrouping() {
312
- return tt(this._config);
312
+ return $e(this._config);
313
313
  }
314
314
  set sliceGrouping(e) {
315
- z(e, this._config);
315
+ G(e, this._config);
316
316
  }
317
317
  /**
318
318
  * Inner radius size for the pie chart.
@@ -321,64 +321,64 @@ class i extends X {
321
321
  * This property will be removed from `PieChartModel` in 6.0.
322
322
  */
323
323
  get innerRadiusSize() {
324
- return ge(this._config) ?? 0;
324
+ return le(this._config) ?? 0;
325
325
  }
326
326
  set innerRadiusSize(e) {
327
- pe(e, this._config);
327
+ ce(e, this._config);
328
328
  }
329
329
  /**
330
330
  * Inner radius of the pie chart.
331
331
  * @since 5.2
332
332
  */
333
333
  get innerRadius() {
334
- return de(this._config) ?? 0;
334
+ return ge(this._config) ?? 0;
335
335
  }
336
336
  set innerRadius(e) {
337
- ue(e, this._config);
337
+ pe(e, this._config);
338
338
  }
339
339
  /**
340
340
  * Threshold below which slices will be grouped.
341
341
  */
342
342
  get groupingThreshold() {
343
- return w(this._config) ?? 0;
343
+ return z(this._config) ?? 0;
344
344
  }
345
345
  set groupingThreshold(e) {
346
- it(e, this._config);
346
+ et(e, this._config);
347
347
  }
348
348
  /**
349
349
  * Character limit for the slice labels.
350
350
  */
351
351
  get labelCharacterLimit() {
352
- return he(this._config) ?? null;
352
+ return de(this._config) ?? null;
353
353
  }
354
354
  set labelCharacterLimit(e) {
355
- fe(e, this._config);
355
+ ue(e, this._config);
356
356
  }
357
357
  /**
358
358
  * Number of decimal places to display in the slice values.
359
359
  */
360
360
  get decimalPlaces() {
361
- return Be(this._config) ?? 1;
361
+ return we(this._config) ?? 1;
362
362
  }
363
363
  set decimalPlaces(e) {
364
- Ee(e, this._config);
364
+ Re(e, this._config);
365
365
  }
366
366
  /**
367
367
  * Display type for the pie chart slices. Specifies whether to display the slices as a `percentage`, `value`, or `both`.
368
368
  */
369
369
  get displayType() {
370
- return Fe(this._config);
370
+ return Ne(this._config);
371
371
  }
372
372
  set displayType(e) {
373
- We(e, this._config);
373
+ Me(e, this._config);
374
374
  }
375
375
  // ---------------------------------------------------------------------------------------------
376
376
  // #region Protected methods
377
377
  // ---------------------------------------------------------------------------------------------
378
378
  /** @private */
379
379
  generateDefaultConfig() {
380
- const e = Q(this.commonStrings);
381
- return e.series = [U(this.commonStrings, K(this.layerInfo.layer).idField)], e;
380
+ const e = H(this.commonStrings);
381
+ return e.series = [J(this.commonStrings, j(this.layerInfo.layer).idField)], e;
382
382
  }
383
383
  // ---------------------------------------------------------------------------------------------
384
384
  // #region Series Methods
@@ -389,7 +389,7 @@ class i extends X {
389
389
  * @param sliceIndex - The index of the slice.
390
390
  */
391
391
  getOriginalSliceName(e) {
392
- return Ue(e, this._config);
392
+ return Je(e, this._config);
393
393
  }
394
394
  /**
395
395
  * Gets the name of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
@@ -397,11 +397,11 @@ class i extends X {
397
397
  * @param sliceIndex - The index of the slice.
398
398
  */
399
399
  getSliceName(e) {
400
- return Xe(e, this._config);
400
+ return Qe(e, this._config);
401
401
  }
402
402
  setSliceName(e, a) {
403
403
  const o = this.getSliceId(a);
404
- o !== void 0 && this._customizedSliceIds.push(o), Ye(e, a, this._config);
404
+ o !== void 0 && this._customizedSliceIds.push(o), Ue(e, a, this._config);
405
405
  }
406
406
  /**
407
407
  * Gets the color of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
@@ -409,26 +409,26 @@ class i extends X {
409
409
  * @param sliceIndex - The index of the slice.
410
410
  */
411
411
  getSliceColor(e) {
412
- return Ze(e, this._config);
412
+ return Xe(e, this._config);
413
413
  }
414
414
  setSliceColor(e, a) {
415
415
  const o = this.getSliceId(a);
416
- e !== void 0 && o !== void 0 && this._customizedSliceIds.push(o), $e(e, a, this._config);
416
+ e !== void 0 && o !== void 0 && this._customizedSliceIds.push(o), Ye(e, a, this._config);
417
417
  }
418
418
  /**
419
419
  * Order of the slice array by returning an array of slice ids
420
420
  */
421
421
  get orderOfSlices() {
422
- return et(this._config);
422
+ return Ze(this._config);
423
423
  }
424
424
  set orderOfSlices(e) {
425
- e !== void 0 && k(e, this._config);
425
+ e !== void 0 && W(e, this._config);
426
426
  }
427
427
  moveSeries(e, a) {
428
428
  const o = this.orderOfSlices;
429
429
  if (o !== void 0) {
430
430
  const [n] = o.splice(e, 1);
431
- o.splice(a, 0, n), k(o, this._config);
431
+ o.splice(a, 0, n), W(o, this._config);
432
432
  }
433
433
  }
434
434
  /**
@@ -437,7 +437,7 @@ class i extends X {
437
437
  * @param sliceIndex - The index of the slice.
438
438
  */
439
439
  getSliceId(e) {
440
- return at(e, this._config);
440
+ return st(e, this._config);
441
441
  }
442
442
  /**
443
443
  * Gets the slice index for a given slice id. If the `sliceId` is not found, this function will return `undefined`.
@@ -445,16 +445,16 @@ class i extends X {
445
445
  * @param sliceId - The id of the slice.
446
446
  */
447
447
  getSliceIndex(e) {
448
- return ot(e, this._config);
448
+ return rt(e, this._config);
449
449
  }
450
450
  /**
451
451
  * Gets the length of the slices array.
452
452
  */
453
453
  getSlicesLength() {
454
- return nt(this._config);
454
+ return at(this._config);
455
455
  }
456
456
  resetSlices() {
457
- this._customizedSliceIds = [], rt(this._config);
457
+ this._customizedSliceIds = [], it(this._config);
458
458
  }
459
459
  /**
460
460
  * Returns whether the series styling is able to be reset.
@@ -464,8 +464,8 @@ class i extends X {
464
464
  let a = !1;
465
465
  const o = this.slices?.length ?? 0;
466
466
  for (let n = 0; n < o; n += 1) {
467
- const c = this.getOriginalSliceName(n), d = this.getSliceName(n), S = this._mode === u.Fields ? q(this.layerInfo?.layerFieldsInfo, c?.toString()) : c;
468
- if (S !== void 0 && S?.toString() !== d?.toString()) {
467
+ const c = this.getOriginalSliceName(n), d = this.getSliceName(n);
468
+ if (c !== void 0 && c?.toString() !== d?.toString()) {
469
469
  a = !0;
470
470
  break;
471
471
  }
@@ -476,35 +476,35 @@ class i extends X {
476
476
  * Visibility of the ticks.
477
477
  */
478
478
  get ticksVisibility() {
479
- return qe(this._config);
479
+ return je(this._config);
480
480
  }
481
481
  set ticksVisibility(e) {
482
- He(e, this._config);
482
+ Ke(e, this._config);
483
483
  }
484
484
  /**
485
485
  * Start angle of the pie chart.
486
486
  */
487
487
  get startAngle() {
488
- return W(this._config);
488
+ return F(this._config);
489
489
  }
490
490
  set startAngle(e) {
491
- ye(e, this._config);
491
+ he(e, this._config);
492
492
  }
493
493
  /**
494
494
  * End angle of the pie chart.
495
495
  */
496
496
  get endAngle() {
497
- return W(this._config);
497
+ return F(this._config);
498
498
  }
499
499
  set endAngle(e) {
500
- me(e, this._config);
500
+ fe(e, this._config);
501
501
  }
502
502
  /**
503
503
  * Whether to display the category on the data label.
504
504
  * **Note:** If the setting is not found in the config, it will default to `true`.
505
505
  */
506
506
  get displayCategoryOnDataLabel() {
507
- return Se(this._config);
507
+ return me(this._config);
508
508
  }
509
509
  set displayCategoryOnDataLabel(e) {
510
510
  this._config.series[0].displayCategoryOnDataLabel = e;
@@ -515,7 +515,7 @@ class i extends X {
515
515
  * **Note**: If the setting is not found in the config, it will default to `true`.
516
516
  */
517
517
  get displayCategoryValueOnTooltip() {
518
- return _e(this._config);
518
+ return ye(this._config);
519
519
  }
520
520
  set displayCategoryValueOnTooltip(e) {
521
521
  this._config.series[0].displayCategoryOnTooltip = e;
@@ -525,7 +525,7 @@ class i extends X {
525
525
  * **Note:** If the setting is not found in the config, it will default to `true`.
526
526
  */
527
527
  get displayNumericValueOnDataLabel() {
528
- return be(this._config);
528
+ return _e(this._config);
529
529
  }
530
530
  set displayNumericValueOnDataLabel(e) {
531
531
  this._config.series[0].displayNumericValueOnDataLabel = e;
@@ -536,7 +536,7 @@ class i extends X {
536
536
  * **Note:** If the setting is not found in the config, it will default to `true`.
537
537
  */
538
538
  get displayPercentageOnDataLabel() {
539
- return Le(this._config);
539
+ return Se(this._config);
540
540
  }
541
541
  set displayPercentageOnDataLabel(e) {
542
542
  this._config.series[0].displayPercentageOnDataLabel = e;
@@ -547,7 +547,7 @@ class i extends X {
547
547
  * **Note**: If the setting is not found in the config, it will default to `true`.
548
548
  */
549
549
  get displayNumericValueOnTooltip() {
550
- return Oe(this._config);
550
+ return be(this._config);
551
551
  }
552
552
  set displayNumericValueOnTooltip(e) {
553
553
  this._config.series[0].displayNumericValueOnTooltip = e;
@@ -558,82 +558,82 @@ class i extends X {
558
558
  * **Note**: If the setting is not found in the config, it will default to `true`.
559
559
  */
560
560
  get displayPercentageOnTooltip() {
561
- return De(this._config);
561
+ return Le(this._config);
562
562
  }
563
563
  set displayPercentageOnTooltip(e) {
564
- Ce(e, this._config);
564
+ Oe(e, this._config);
565
565
  }
566
566
  /**
567
567
  * Prefix of the values of the slices.
568
568
  */
569
569
  get valuePrefix() {
570
- return ve(this._config);
570
+ return De(this._config);
571
571
  }
572
572
  set valuePrefix(e) {
573
- Pe(e, this._config);
573
+ Ce(e, this._config);
574
574
  }
575
575
  /**
576
576
  * Suffix of the values of the slice.
577
577
  */
578
578
  get valueSuffix() {
579
- return Ie(this._config);
579
+ return ve(this._config);
580
580
  }
581
581
  set valueSuffix(e) {
582
- Te(e, this._config);
582
+ Pe(e, this._config);
583
583
  }
584
584
  /**
585
585
  * Prefix of the percentages of the slices.
586
586
  */
587
587
  get percentagePrefix() {
588
- return Ve(this._config);
588
+ return Ie(this._config);
589
589
  }
590
590
  set percentagePrefix(e) {
591
- xe(e, this._config);
591
+ Te(e, this._config);
592
592
  }
593
593
  /**
594
594
  * Suffix of the percentages of the slices.
595
595
  */
596
596
  get percentageSuffix() {
597
- return Ne(this._config);
597
+ return Ve(this._config);
598
598
  }
599
599
  set percentageSuffix(e) {
600
- Me(e, this._config);
600
+ xe(e, this._config);
601
601
  }
602
602
  /**
603
603
  * Offset for the data labels.
604
604
  */
605
605
  get dataLabelsOffset() {
606
- return we(this._config);
606
+ return Ge(this._config);
607
607
  }
608
608
  set dataLabelsOffset(e) {
609
- Re(e, this._config);
609
+ ze(e, this._config);
610
610
  }
611
611
  /**
612
612
  * Align the data labels on the left or right side of the chart instead of the default position around the chart.
613
613
  */
614
614
  get alignDataLabels() {
615
- return ke(this._config);
615
+ return Fe(this._config);
616
616
  }
617
617
  set alignDataLabels(e) {
618
- Ae(e, this._config);
618
+ We(e, this._config);
619
619
  }
620
620
  /**
621
621
  * Setting for placing the data labels inside of the slices.
622
622
  */
623
623
  get dataLabelsInside() {
624
- return Ge(this._config);
624
+ return ke(this._config);
625
625
  }
626
626
  set dataLabelsInside(e) {
627
- ze(e, this._config);
627
+ Ae(e, this._config);
628
628
  }
629
629
  /**
630
630
  * Optimize data labels overlapping setting for the pie chart.
631
631
  */
632
632
  get optimizeDataLabelsOverlapping() {
633
- return je(this._config);
633
+ return Be(this._config);
634
634
  }
635
635
  set optimizeDataLabelsOverlapping(e) {
636
- Ke(e, this._config);
636
+ Ee(e, this._config);
637
637
  }
638
638
  // ---------------------------------------------------------------------------------------------
639
639
  // #region Legend Props
@@ -642,46 +642,46 @@ class i extends X {
642
642
  * Whether to display the numeric value on legend items.
643
643
  */
644
644
  get displayNumericValueOnLegendItems() {
645
- return P(this._config);
645
+ return v(this._config);
646
646
  }
647
647
  set displayNumericValueOnLegendItems(e) {
648
- I(e, this._config);
648
+ P(e, this._config);
649
649
  }
650
650
  /**
651
651
  * Whether to display the percentage on legend items.
652
652
  */
653
653
  get displayPercentageOnLegendItems() {
654
- return x(this._config);
654
+ return V(this._config);
655
655
  }
656
656
  set displayPercentageOnLegendItems(e) {
657
- N(e, this._config);
657
+ x(e, this._config);
658
658
  }
659
659
  /**
660
660
  * Whether to display the category on legend items.
661
661
  */
662
662
  get displayCategoryOnLegendItems() {
663
- return T(this._config);
663
+ return I(this._config);
664
664
  }
665
665
  set displayCategoryOnLegendItems(e) {
666
- V(e, this._config);
666
+ T(e, this._config);
667
667
  }
668
668
  /**
669
669
  * Maximum width in pixels for legend item labels.
670
670
  */
671
671
  get labelMaxWidth() {
672
- return M(this._config);
672
+ return N(this._config);
673
673
  }
674
674
  set labelMaxWidth(e) {
675
- F(e, this._config);
675
+ M(e, this._config);
676
676
  }
677
677
  /**
678
678
  * Maximum width in pixels for legend value labels.
679
679
  */
680
680
  get valueLabelMaxWidth() {
681
- return le(this._config);
681
+ return oe(this._config);
682
682
  }
683
683
  set valueLabelMaxWidth(e) {
684
- ce(e, this._config);
684
+ ne(e, this._config);
685
685
  }
686
686
  /**
687
687
  * Gets the setting for displaying numerical values on legend items.
@@ -689,10 +689,10 @@ class i extends X {
689
689
  * @deprecated since 5.2. Use {@link model/pie-chart-model/pie-chart-model#displayNumericValueOnLegendItems displayNumericValueOnLegendItems} instead. This method will be removed from `PieChartModel` in 6.0.
690
690
  */
691
691
  getDisplayNumericValue() {
692
- return P(this._config);
692
+ return v(this._config);
693
693
  }
694
694
  setDisplayNumericValue(e) {
695
- I(e, this._config);
695
+ P(e, this._config);
696
696
  }
697
697
  /**
698
698
  * Gets the setting for displaying percentages on legend items.
@@ -700,10 +700,10 @@ class i extends X {
700
700
  * @deprecated since 5.2. Use {@link model/pie-chart-model/pie-chart-model#displayPercentageOnLegendItems displayPercentageOnLegendItems} instead. This method will be removed from `PieChartModel` in 6.0.
701
701
  */
702
702
  getDisplayPercentage() {
703
- return x(this._config);
703
+ return V(this._config);
704
704
  }
705
705
  setDisplayPercentage(e) {
706
- N(e, this._config);
706
+ x(e, this._config);
707
707
  }
708
708
  /**
709
709
  * Gets the maximum width in pixels for legend item labels.
@@ -711,10 +711,10 @@ class i extends X {
711
711
  * @deprecated since 5.2. Use {@link model/pie-chart-model/pie-chart-model#labelMaxWidth labelMaxWidth} instead. This method will be removed from `PieChartModel` in 6.0.
712
712
  */
713
713
  getLabelMaxWidth() {
714
- return M(this._config);
714
+ return N(this._config);
715
715
  }
716
716
  setLabelMaxWidth(e) {
717
- F(e, this._config);
717
+ M(e, this._config);
718
718
  }
719
719
  /**
720
720
  * Whether to display the category in the legend.
@@ -722,10 +722,10 @@ class i extends X {
722
722
  * @deprecated since 5.2. Use {@link model/pie-chart-model/pie-chart-model#displayCategoryOnLegendItems displayCategoryOnLegendItems} instead. This property will be removed from `PieChartModel` in 6.0.
723
723
  */
724
724
  get displayCategory() {
725
- return T(this._config);
725
+ return I(this._config);
726
726
  }
727
727
  set displayCategory(e) {
728
- V(e, this._config);
728
+ T(e, this._config);
729
729
  }
730
730
  // ---------------------------------------------------------------------------------------------
731
731
  // #region General Props
@@ -734,7 +734,7 @@ class i extends X {
734
734
  * Generate the proper chart title given the current config.
735
735
  */
736
736
  generateChartTitle() {
737
- return oe({
737
+ return re({
738
738
  config: this._config,
739
739
  layerInfo: this.layerInfo,
740
740
  commonStrings: this.commonStrings,
@@ -889,14 +889,14 @@ r([
889
889
  r([
890
890
  s
891
891
  ], i.prototype, "displayCategory");
892
- const gt = [
892
+ const lt = [
893
+ U,
894
+ X,
893
895
  Y,
894
896
  Z,
895
- $,
896
- ee,
897
- te
897
+ $
898
898
  ];
899
- H(i, gt);
899
+ K(i, lt);
900
900
  export {
901
901
  i as PieChartModel
902
902
  };