@arcgis/charts-components 5.0.0-next.160 → 5.0.0-next.162

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 (171) hide show
  1. package/dist/cdn/{RZ6R7MN4.js → 277KZ5EH.js} +1 -1
  2. package/dist/cdn/{ZNEO3KDO.js → 35FGLAKV.js} +1 -1
  3. package/dist/cdn/{F4YTYW5V.js → 37TWMIC2.js} +1 -1
  4. package/dist/cdn/{ZRXBS332.js → 3TCYZ5OB.js} +19 -19
  5. package/dist/cdn/3UBEHDWK.js +2 -0
  6. package/dist/cdn/{OPLYTZOK.js → 4L3ESTCL.js} +1 -1
  7. package/dist/cdn/{FTVGPPNT.js → 53QDB3IL.js} +1 -1
  8. package/dist/cdn/{PN64D75Z.js → 62OZB7FK.js} +1 -1
  9. package/dist/cdn/{SWT4YIO7.js → 64DXX3FX.js} +1 -1
  10. package/dist/cdn/{VDGG6FNJ.js → 6AP262U4.js} +1 -1
  11. package/dist/cdn/{67GFPMNP.js → 7HCS3J2W.js} +1 -1
  12. package/dist/cdn/{6CXURON6.js → 7HDTPUIY.js} +1 -1
  13. package/dist/cdn/{HHE4YHFC.js → 7KAPOFBN.js} +1 -1
  14. package/dist/cdn/{RDBJ4EAL.js → 7LRO7RMI.js} +1 -1
  15. package/dist/cdn/{LTTLQY6M.js → 7WZV7AE3.js} +1 -1
  16. package/dist/cdn/{GOTYA4RS.js → 7XUX4ZTI.js} +1 -1
  17. package/dist/cdn/{BQRMDGR3.js → B5LXWQRU.js} +1 -1
  18. package/dist/cdn/{PBRZV4IF.js → BYAYB5LF.js} +1 -1
  19. package/dist/cdn/{665XYLCG.js → C72B5RSG.js} +1 -1
  20. package/dist/cdn/{MJRULOQL.js → CAXYDF5R.js} +1 -1
  21. package/dist/cdn/{IYF5UHWL.js → CBTHS6I5.js} +1 -1
  22. package/dist/cdn/{FO26BDGS.js → CIW6WMFK.js} +3 -3
  23. package/dist/cdn/{XGWFSBK7.js → CTDG3FOZ.js} +1 -1
  24. package/dist/cdn/{IWZKNPYZ.js → D2HQHUZF.js} +1 -1
  25. package/dist/cdn/{UR26ITDF.js → DACWGPLL.js} +1 -1
  26. package/dist/cdn/{LG32FAGS.js → DB3UL5LX.js} +1 -1
  27. package/dist/cdn/{VAXL6P2J.js → DHBBU7AG.js} +1 -1
  28. package/dist/cdn/{L7PMTZK6.js → DKC6E3QZ.js} +1 -1
  29. package/dist/cdn/{BNTX3CFT.js → DLT5ZL25.js} +1 -1
  30. package/dist/cdn/{QTV7HK2M.js → EYXP4YQW.js} +1 -1
  31. package/dist/cdn/{6YNI4VGB.js → FGMU7G6T.js} +1 -1
  32. package/dist/cdn/{PDPZOXDT.js → G7UITT5F.js} +1 -1
  33. package/dist/cdn/{XQG5VGS4.js → GB223HFN.js} +1 -1
  34. package/dist/cdn/{RGUQ44HW.js → GKUTVRCP.js} +1 -1
  35. package/dist/cdn/{SLX36JI6.js → GRUDYKUK.js} +1 -1
  36. package/dist/cdn/{MEXLQN6D.js → HAAT4GZV.js} +1 -1
  37. package/dist/cdn/{RKQXTPOC.js → IBDFXE7F.js} +1 -1
  38. package/dist/cdn/{UVFZBFUX.js → IBMHE4HG.js} +1 -1
  39. package/dist/cdn/{UR4FYTBG.js → IDMPL6T7.js} +1 -1
  40. package/dist/cdn/{HAS5TLQ3.js → IL22JCIC.js} +1 -1
  41. package/dist/cdn/{XJUEF5CF.js → ISB65KPT.js} +1 -1
  42. package/dist/cdn/{JGXIWN67.js → IYGUWGB6.js} +1 -1
  43. package/dist/cdn/{KGZ4OZTE.js → JASXULGK.js} +1 -1
  44. package/dist/cdn/{D26O56MQ.js → JBHDZEVD.js} +1 -1
  45. package/dist/cdn/{PWNEQTL7.js → KDGGKNBV.js} +1 -1
  46. package/dist/cdn/{M6Z5DNZU.js → KF4ILYWV.js} +1 -1
  47. package/dist/cdn/KHPBPGZW.js +2 -0
  48. package/dist/cdn/{X4EAJDXE.js → KLOSKKEF.js} +1 -1
  49. package/dist/cdn/{R7BXDBMM.js → KOC7VWEQ.js} +1 -1
  50. package/dist/cdn/{3WRKA6FV.js → KPBKHH3V.js} +1 -1
  51. package/dist/cdn/LRATJMH3.js +2 -0
  52. package/dist/cdn/{MG7QVBU6.js → MMVZJQGM.js} +1 -1
  53. package/dist/cdn/{JCKTUCRW.js → MSNUKDFY.js} +1 -1
  54. package/dist/cdn/{YV3ZTJIM.js → NLNJYC2E.js} +1 -1
  55. package/dist/cdn/{44H6FBHJ.js → NNTJCO7Q.js} +1 -1
  56. package/dist/cdn/{PKZLBYM2.js → OMR6RCJW.js} +1 -1
  57. package/dist/cdn/{KY27HRBB.js → OR2MF4BU.js} +1 -1
  58. package/dist/cdn/{CH42B5JL.js → OWTDESPZ.js} +1 -1
  59. package/dist/cdn/{PAYHZG5C.js → P3XTRZL3.js} +1 -1
  60. package/dist/cdn/{4PBJ7FUT.js → PQRPDV2N.js} +1 -1
  61. package/dist/cdn/{PPNZMZXU.js → PUO6TAT3.js} +1 -1
  62. package/dist/cdn/{4UKLAJSH.js → PZ5VL76M.js} +1 -1
  63. package/dist/cdn/{GBKRQ677.js → R7TVVBB7.js} +1 -1
  64. package/dist/cdn/{O73BKEVY.js → RKJFJ3VI.js} +1 -1
  65. package/dist/cdn/{2KLSYRIH.js → S3MAP4NY.js} +1 -1
  66. package/dist/cdn/{NCTDUS4J.js → SAKNSC4M.js} +1 -1
  67. package/dist/cdn/{7743VKV6.js → SW62HLGO.js} +1 -1
  68. package/dist/cdn/{VVKJ7NJ6.js → SW6ENGEK.js} +1 -1
  69. package/dist/cdn/{2BMO22B2.js → SZ2BB7ZG.js} +1 -1
  70. package/dist/cdn/{GJAATA35.js → TBYLHPGX.js} +1 -1
  71. package/dist/cdn/{A6KHSTDR.js → TCKDCNZ6.js} +1 -1
  72. package/dist/cdn/{L4YLTTHZ.js → TQRAYSWN.js} +1 -1
  73. package/dist/cdn/{XSF4MZ74.js → TUTT6I7D.js} +1 -1
  74. package/dist/cdn/{WQIYKKB6.js → UHB77RAE.js} +1 -1
  75. package/dist/cdn/{FQHGUWNW.js → UUZWRA5G.js} +1 -1
  76. package/dist/cdn/{IFGO4IOP.js → V65HT7NA.js} +1 -1
  77. package/dist/cdn/{PXVGQP6X.js → VMSL4CWI.js} +1 -1
  78. package/dist/cdn/{TO45SJXS.js → WCBXBXTZ.js} +1 -1
  79. package/dist/cdn/WNZXN6Y2.js +2 -0
  80. package/dist/cdn/{C7TDDQQD.js → WORQWDJQ.js} +1 -1
  81. package/dist/cdn/{B2VQPKK2.js → WTZ23CRY.js} +1 -1
  82. package/dist/cdn/{2KSPR6GE.js → XIFLK5EG.js} +1 -1
  83. package/dist/cdn/XNTLXVQF.js +2 -0
  84. package/dist/cdn/{UGPLQMQT.js → XQAUA2KI.js} +1 -1
  85. package/dist/cdn/{GGMJJ64F.js → Y7OQUVXC.js} +1 -1
  86. package/dist/cdn/{LX4URLJD.js → YHIJMVJQ.js} +1 -1
  87. package/dist/cdn/{WF4C6C2Y.js → YHVWLHT7.js} +1 -1
  88. package/dist/cdn/index.js +1 -1
  89. package/dist/chunks/action-bar-utils.js +5 -5
  90. package/dist/chunks/axis-lines-symbol.js +14 -14
  91. package/dist/chunks/bar-chart-model.js +3 -3
  92. package/dist/chunks/box-plot-data.js +20 -20
  93. package/dist/chunks/box-plot-model.js +19 -19
  94. package/dist/chunks/chart-model.js +43 -43
  95. package/dist/chunks/chart-ui-utils2.js +3 -3
  96. package/dist/chunks/combo-bar-line-chart-model.js +7 -7
  97. package/dist/chunks/data-labels-symbol.js +1 -1
  98. package/dist/chunks/data.js +19 -19
  99. package/dist/chunks/gauge-model.js +16 -16
  100. package/dist/chunks/generate-x-axis-title.js +1 -1
  101. package/dist/chunks/heat-chart-model.js +12 -12
  102. package/dist/chunks/histogram-data.js +7 -7
  103. package/dist/chunks/histogram-model.js +4 -4
  104. package/dist/chunks/index.js +320 -318
  105. package/dist/chunks/index2.js +51 -51
  106. package/dist/chunks/index3.js +12 -12
  107. package/dist/chunks/line-chart-model.js +6 -6
  108. package/dist/chunks/model-setter.js +3 -3
  109. package/dist/chunks/model-with-guides.js +12 -12
  110. package/dist/chunks/model-with-tooltips.js +16 -16
  111. package/dist/chunks/model-with-y-guides.js +11 -11
  112. package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
  113. package/dist/chunks/pie-chart-data.js +25 -25
  114. package/dist/chunks/pie-chart-model.js +33 -33
  115. package/dist/chunks/radar-chart-model.js +4 -4
  116. package/dist/chunks/rotated-state.js +3 -3
  117. package/dist/chunks/scatterplot-model.js +18 -18
  118. package/dist/chunks/serial-chart-data.js +306 -300
  119. package/dist/chunks/serial-chart-model.js +13 -13
  120. package/dist/chunks/series-length.js +1 -1
  121. package/dist/chunks/series.js +7 -7
  122. package/dist/chunks/utils.js +36 -36
  123. package/dist/chunks/utils2.js +9 -9
  124. package/dist/chunks/web-component-utils.js +51 -51
  125. package/dist/components/arcgis-chart/customElement.js +1529 -1517
  126. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  127. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  128. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +10 -10
  129. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +8 -8
  130. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  131. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +5 -5
  132. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  133. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  134. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +8 -8
  135. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  136. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  137. package/dist/components/arcgis-charts-config-create-flow/customElement.js +10 -10
  138. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  139. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  140. package/dist/components/arcgis-charts-config-guide/customElement.js +5 -5
  141. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  142. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +9 -9
  143. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +7 -7
  144. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  145. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  146. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  147. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  148. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +5 -5
  149. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  150. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  151. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  152. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -5
  153. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  154. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  155. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  156. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  157. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  158. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  159. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  160. package/dist/components/arcgis-charts-info-modal/customElement.js +1 -1
  161. package/dist/docs/api.json +1 -1
  162. package/dist/docs/docs.json +1 -1
  163. package/dist/docs/web-types.json +1 -1
  164. package/dist/index.js +224 -223
  165. package/dist/utils/chart-config/utils/index.d.ts +8 -0
  166. package/package.json +3 -3
  167. package/dist/cdn/FIR7XZ4I.js +0 -2
  168. package/dist/cdn/GMI2B2TP.js +0 -2
  169. package/dist/cdn/IIQTQZRE.js +0 -2
  170. package/dist/cdn/V4BNMRTI.js +0 -2
  171. package/dist/cdn/YNDD5HWR.js +0 -2
@@ -7,7 +7,7 @@ import "luxon";
7
7
  import "d3-array";
8
8
  import "@arcgis/toolkit/type";
9
9
  import { o as y } from "./series-types.js";
10
- import { aE as g } from "./index.js";
10
+ import { aF as g } from "./index.js";
11
11
  import "@arcgis/core/Graphic.js";
12
12
  import "@arcgis/core/renderers/support/jsonUtils.js";
13
13
  import "@arcgis/core/symbols/support/symbolUtils.js";
@@ -30,16 +30,16 @@ import { m as r } from "./model-setter.js";
30
30
  import { g as S, b as B, e as M, f as O, c as D, d as G, a as I, s as z } from "./utils2.js";
31
31
  import { M as _, a as H, d as Y } from "./model-with-guides.js";
32
32
  import { G as p } from "./common.js";
33
- const P = (t) => {
33
+ const F = (t) => {
34
34
  for (const i of t.axes ?? [])
35
35
  if (i?.grid !== void 0)
36
36
  return i.grid;
37
- }, k = (t, i, s) => {
37
+ }, P = (t, i, s) => {
38
38
  const o = i.axes;
39
39
  s.forEach((c) => {
40
40
  o?.[c] !== void 0 && (o[c].grid = T(t));
41
41
  });
42
- }, F = (t, i) => i.axes?.[t]?.visible ?? !0, W = (t, i, s) => {
42
+ }, k = (t, i) => i.axes?.[t]?.visible ?? !0, W = (t, i, s) => {
43
43
  const o = s.axes?.[i];
44
44
  o !== void 0 && (o.visible = t);
45
45
  }, Z = (t, i) => t.axes?.[i]?.displayZeroLine ?? !1, w = (t, i, s) => {
@@ -47,10 +47,10 @@ const P = (t) => {
47
47
  }, N = (t, i) => t.axes?.[i]?.displayCursorTooltip ?? !1, j = (t) => {
48
48
  const { config: i, displayCursorTooltip: s, axisIndex: o } = t;
49
49
  i.axes?.[o] !== void 0 && (i.axes[o].displayCursorTooltip = s);
50
- }, $ = (t, i) => t.axes?.[i]?.buffer ?? !1, E = (t) => {
50
+ }, $ = (t, i) => t.axes?.[i]?.buffer ?? !1, U = (t) => {
51
51
  const { config: i, buffer: s, axisIndex: o } = t, c = i.axes?.[o];
52
52
  c !== void 0 && (c.buffer = s);
53
- }, U = (t, i) => t.axes?.[i]?.tickSpacing, R = (t) => {
53
+ }, E = (t, i) => t.axes?.[i]?.tickSpacing, R = (t) => {
54
54
  const { config: i, tickSpacing: s, axisIndex: o } = t;
55
55
  i.axes?.[o] !== void 0 && (i.axes[o].tickSpacing = s);
56
56
  }, X = (t, i) => t.axes?.[i]?.integerOnlyValues ?? !1, q = (t) => {
@@ -105,7 +105,7 @@ class a extends b {
105
105
  return e({
106
106
  config: this._config,
107
107
  axisIndex: i,
108
- func: (s) => F(s, this._config)
108
+ func: (s) => k(s, this._config)
109
109
  }) ?? !0;
110
110
  }
111
111
  /**
@@ -338,10 +338,10 @@ class a extends b {
338
338
  * Gets the grid lines symbol. Contains styling information such as line width, line style, and line color.
339
339
  */
340
340
  getGridLinesSymbol() {
341
- return P(this._config);
341
+ return F(this._config);
342
342
  }
343
343
  setGridLinesSymbol(i, s) {
344
- Array.isArray(s) && k(i, this._config, s);
344
+ Array.isArray(s) && P(i, this._config, s);
345
345
  }
346
346
  /**
347
347
  * Get the default x-axis title text.
@@ -420,7 +420,7 @@ class a extends b {
420
420
  config: this._config,
421
421
  axisIndex: s,
422
422
  func: (o) => {
423
- E({
423
+ U({
424
424
  config: this._config,
425
425
  buffer: i,
426
426
  axisIndex: o
@@ -435,7 +435,7 @@ class a extends b {
435
435
  * @param axisIndex - The index of the axis
436
436
  */
437
437
  getTickSpacing(i) {
438
- return U(this._config, i);
438
+ return E(this._config, i);
439
439
  }
440
440
  setTickSpacing(i, s) {
441
441
  e({
@@ -5,7 +5,7 @@ import "luxon";
5
5
  import "d3-array";
6
6
  import "@arcgis/toolkit/type";
7
7
  import "./series-types.js";
8
- import { aV as m } from "./index.js";
8
+ import { aW as m } from "./index.js";
9
9
  import "@arcgis/core/Graphic.js";
10
10
  import "@arcgis/core/renderers/support/jsonUtils.js";
11
11
  import "@arcgis/core/symbols/support/symbolUtils.js";
@@ -1,12 +1,12 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
2
  import "@arcgis/toolkit/intl";
3
- import { memoize as E, isEmpty as $, isNull as R, cloneDeep as U } from "lodash-es";
3
+ import { memoize as E, isEmpty as R, isNull as $, cloneDeep as U } from "lodash-es";
4
4
  import "luxon";
5
5
  import "d3-array";
6
6
  import "@arcgis/toolkit/type";
7
- import { a as m, g as b, t as F, W as z } from "./series-types.js";
8
- import { f as G } from "./rest-js-object-literals.js";
9
- import { d as O, bK as A, aQ as _, br as M, cY as P, Z as V, ba as Q, a as w } from "./index.js";
7
+ import { a as m, g as C, t as F, W as _ } from "./series-types.js";
8
+ import { f as z } from "./rest-js-object-literals.js";
9
+ import { d as O, bL as A, aR as G, bs as M, cZ as P, _ as V, bb as Z, a as w } from "./index.js";
10
10
  import "@arcgis/core/Graphic.js";
11
11
  import "@arcgis/core/renderers/support/jsonUtils.js";
12
12
  import "@arcgis/core/symbols/support/symbolUtils.js";
@@ -26,11 +26,11 @@ import "./runtime.js";
26
26
  import "@arcgis/toolkit/dom";
27
27
  import { g as L, u as q } from "./utils.js";
28
28
  import { a as y, P as g } from "./common.js";
29
- import { g as Z } from "./data.js";
30
- import { g as k } from "./series-length.js";
31
- import { g as H } from "./utils2.js";
29
+ import { g as k } from "./data.js";
30
+ import { g as H } from "./series-length.js";
31
+ import { g as J } from "./utils2.js";
32
32
  function v(s) {
33
- const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, a = e !== void 0 ? D({ config: t, layerInfo: e, commonStrings: r, mode: i }) : "", l = k(t), d = V(t);
33
+ const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, a = e !== void 0 ? D({ config: t, layerInfo: e, commonStrings: r, mode: i }) : "", l = H(t), d = V(t);
34
34
  return a === l || d;
35
35
  }
36
36
  function B(s) {
@@ -40,18 +40,18 @@ function B(s) {
40
40
  commonStrings: r,
41
41
  numericFields: f(t),
42
42
  aggregationType: T(t, i)
43
- }) : "", l = H(1, t), d = V(t);
43
+ }) : "", l = J(1, t), d = V(t);
44
44
  return a === l || d;
45
45
  }
46
46
  const I = (s) => s.series?.[0]?.x ?? "";
47
- function J(s, t) {
47
+ function Q(s, t) {
48
48
  const e = s.series?.[0];
49
- return [`${t === y.Category ? e.y : w} ${b.Descending}`];
49
+ return [`${t === y.Category ? e.y : w} ${C.Descending}`];
50
50
  }
51
51
  const K = (s, t) => {
52
52
  let e = g.valueDesc;
53
- const i = s.orderOptions?.data?.orderType ?? J(s, t), r = s.orderOptions?.data && "orderBy" in s.orderOptions.data ? s.orderOptions.data.orderBy : b.Descending;
54
- return i === F.Category && Array.isArray(r) ? e = g.customSort : i === F.Category ? r === b.Ascending ? e = g.labelAsc : e = g.labelDesc : r === b.Ascending ? e = g.valueAsc : e = g.valueDesc, e;
53
+ const i = s.orderOptions?.data?.orderType ?? Q(s, t), r = s.orderOptions?.data && "orderBy" in s.orderOptions.data ? s.orderOptions.data.orderBy : C.Descending;
54
+ return i === F.Category && Array.isArray(r) ? e = g.customSort : i === F.Category ? r === C.Ascending ? e = g.labelAsc : e = g.labelDesc : r === C.Ascending ? e = g.valueAsc : e = g.valueDesc, e;
55
55
  }, f = E(
56
56
  // without memoizing, the worst case efficiency is O(series.length), best case is O(1)
57
57
  // with memoizing, the worst case efficiency for repeated calls becomes O(1)
@@ -69,14 +69,14 @@ const K = (s, t) => {
69
69
  return t === y.Fields && e.length === 0 ? i = m.Sum : i = s.series?.[0]?.query?.outStatistics?.[0]?.statisticType ?? m.NoAggregation, i;
70
70
  };
71
71
  function Y(s) {
72
- const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, a = A(e?.layer).idField, l = Q(r, a), d = I(t), c = t.series[0]?.dataLabels, o = {
72
+ const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, a = A(e?.layer).idField, l = Z(r, a), d = I(t), c = t.series[0]?.dataLabels, o = {
73
73
  ...l,
74
74
  x: i === y.Category ? d : O,
75
75
  slices: t.series?.[0]?.slices,
76
76
  dataLabels: {
77
77
  ...l.dataLabels,
78
- type: l.dataLabels?.type ?? z.Text,
79
- content: { ...l.dataLabels?.content, ...c?.content, type: G.TS },
78
+ type: l.dataLabels?.type ?? _.Text,
79
+ content: { ...l.dataLabels?.content, ...c?.content, type: z.TS },
80
80
  visible: c?.visible ?? !1
81
81
  },
82
82
  innerRadiusSize: t.series?.[0]?.innerRadius,
@@ -104,21 +104,21 @@ function Y(s) {
104
104
  }
105
105
  function D(s) {
106
106
  const { config: t, layerInfo: e, mode: i, commonStrings: r } = s, { layerFieldsInfo: a } = e, { idField: l, isTraditionalTypeOID: d } = A(e.layer), c = I(t), o = f(t), n = T(t, i), u = d && (o.length === 0 || o.includes(l)), p = M(n, r), x = u ? "" : o.map((W) => P(a ?? [], W)).join(", "), S = P(a ?? [], c);
107
- let C = "", N;
108
- return i === y.Fields ? N = o.length === 0 : N = c === "", N ? C = r.utilsStrings.chartType.pieChart : n === m.NoAggregation ? C = h(r.titleLabels.aggrFieldsByCategory, {
107
+ let b = "", N;
108
+ return i === y.Fields ? N = o.length === 0 : N = c === "", N ? b = r.utilsStrings.chartType.pieChart : n === m.NoAggregation ? b = h(r.titleLabels.aggrFieldsByCategory, {
109
109
  aggregationFields: u ? l : x,
110
110
  category: S
111
- }) : n === m.Count ? C = h(r.titleLabels.aggrTypeCategory, {
111
+ }) : n === m.Count ? b = h(r.titleLabels.aggrTypeCategory, {
112
112
  aggregationType: p,
113
113
  category: S
114
- }) : o.length > 0 && (S === O || $(S) || R(S) ? C = h(r.titleLabels.aggrTypeOfAggrFields, {
114
+ }) : o.length > 0 && (S === O || R(S) || $(S) ? b = h(r.titleLabels.aggrTypeOfAggrFields, {
115
115
  aggregationType: p,
116
116
  aggregationFields: x
117
- }) : C = h(r.titleLabels.aggrTypeOfAggrFieldsByCategory, {
117
+ }) : b = h(r.titleLabels.aggrTypeOfAggrFieldsByCategory, {
118
118
  aggregationType: p,
119
119
  aggregationFields: x,
120
120
  category: S
121
- })), C;
121
+ })), b;
122
122
  }
123
123
  const ve = (s) => {
124
124
  const { newSortOrderKind: t, config: e, orderByList: i } = s;
@@ -127,7 +127,7 @@ const ve = (s) => {
127
127
  orderBy: [...i]
128
128
  } : e.orderOptions.data = {
129
129
  orderType: t === g.labelAsc || t === g.labelDesc ? F.Category : F.YValue,
130
- orderBy: t === g.labelAsc || t === g.valueAsc ? b.Ascending : b.Descending
130
+ orderBy: t === g.labelAsc || t === g.valueAsc ? C.Ascending : C.Descending
131
131
  };
132
132
  }, Be = (s) => {
133
133
  const { newCategory: t, config: e, layerInfo: i, mode: r, commonStrings: a } = s, l = e.series?.length ?? 0, d = v({ config: e, layerInfo: i, commonStrings: a, mode: r }), c = B({ config: e, layerInfo: i, commonStrings: a, mode: r });
@@ -166,7 +166,7 @@ function j(s) {
166
166
  }
167
167
  };
168
168
  t.length <= 1 ? n.query.where = o.query?.where : delete n.query.where;
169
- const u = Z({
169
+ const u = k({
170
170
  config: i,
171
171
  xAxisField: I(i),
172
172
  numericFields: t,
@@ -221,7 +221,7 @@ const Ie = (s) => {
221
221
  e.title && d && (e.title.content.text = D({ config: e, layerInfo: i, commonStrings: a, mode: r }));
222
222
  const o = e.series?.[0]?.displayCategoryOnDataLabel, n = e.series?.[0]?.displayNumericValueOnDataLabel, u = e.series?.[0]?.displayPercentageOnDataLabel;
223
223
  e.legend = {
224
- ...e.legend ?? _(),
224
+ ...e.legend ?? G(),
225
225
  displayNumericValue: n,
226
226
  displayPercentage: u,
227
227
  displayCategory: o
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import { log as M } from "@arcgis/toolkit/log";
3
- import { C as F } from "./chart-model.js";
2
+ import { log as F } from "@arcgis/toolkit/log";
3
+ import { C as M } from "./chart-model.js";
4
4
  import { m as s } from "./model-setter.js";
5
5
  import { b as c, a as f } from "./common.js";
6
6
  import { M as v, a as W, W as A, b as w } from "./model-with-tooltips.js";
@@ -12,7 +12,7 @@ import "@arcgis/toolkit/intl";
12
12
  import { cloneDeep as B } from "lodash-es";
13
13
  import "luxon";
14
14
  import "d3-array";
15
- import { aQ as d, b8 as T, aM as b, av as V, o as S, dg as h, Z as E, bh as R, ba as j, bK as U } from "./index.js";
15
+ import { aR as d, b9 as T, aN as b, aw as V, o as S, dh as h, _ as R, bi as E, bb as j, bL as U } from "./index.js";
16
16
  import "@arcgis/core/Graphic.js";
17
17
  import "@arcgis/core/renderers/support/jsonUtils.js";
18
18
  import "@arcgis/core/symbols/support/symbolUtils.js";
@@ -31,9 +31,9 @@ import "@arcgis/core/time/TimeExtent.js";
31
31
  import "@arcgis/core/core/promiseUtils.js";
32
32
  import "./runtime.js";
33
33
  import "@arcgis/toolkit/dom";
34
- import { g as _, s as K, a as $, c as Q, b as Z, d as q, e as H, f as J, h as L, i as O, j as X } from "./pie-chart-data.js";
34
+ import { g as _, s as K, a as $, c as q, b as H, d as J, e as Q, f as X, h as L, i as O, j as Y } from "./pie-chart-data.js";
35
35
  import { f as y } from "./rest-js-object-literals.js";
36
- const Y = (t) => t.legend?.displayNumericValue ?? !1, ee = (t, e) => {
36
+ const Z = (t) => t.legend?.displayNumericValue ?? !1, ee = (t, e) => {
37
37
  e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.displayNumericValue = t);
38
38
  }, te = (t) => t.legend?.displayCategory ?? !1, ie = (t, e) => {
39
39
  e.series[0]?.type === p.PieSeries && (e.legend === void 0 && (e.legend = d()), e.legend.displayCategory = t);
@@ -56,7 +56,7 @@ class u extends v {
56
56
  * **Note**: This setting is only applicable to pie charts.
57
57
  */
58
58
  getDisplayNumericValue() {
59
- return Y(this._config);
59
+ return Z(this._config);
60
60
  }
61
61
  setDisplayNumericValue(e) {
62
62
  ee(e, this._config);
@@ -130,9 +130,9 @@ const de = (t) => t.series?.[0]?.innerRadius, ue = (t, e) => {
130
130
  e.series?.[0] && (e.series[0].valueSuffix = t);
131
131
  }, xe = (t) => t.series?.[0]?.percentagePrefix, Ie = (t, e) => {
132
132
  e.series?.[0] && (e.series[0].percentagePrefix = t);
133
- }, Ne = (t) => t.series?.[0]?.percentageSuffix, Me = (t, e) => {
133
+ }, Ne = (t) => t.series?.[0]?.percentageSuffix, Fe = (t, e) => {
134
134
  e.series?.[0] && (e.series[0].percentageSuffix = t);
135
- }, Fe = (t) => {
135
+ }, Me = (t) => {
136
136
  let e;
137
137
  const i = t.series?.[0];
138
138
  return i?.displayNumericValueOnDataLabel === !0 && i?.displayPercentageOnDataLabel === !0 ? e = c.Both : i?.displayNumericValueOnDataLabel === !0 ? e = c.Value : e = c.Percentage, e;
@@ -149,17 +149,17 @@ const de = (t) => t.series?.[0]?.innerRadius, ue = (t, e) => {
149
149
  e.series[0] && (e.series[0].dataLabelsInside = t);
150
150
  }, ze = (t) => t.series?.[0]?.dataLabelsOffset ?? 10, Be = (t, e) => {
151
151
  e.series[0] && (e.series[0].dataLabelsOffset = t);
152
- }, Ee = (t) => t.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits, Re = (t, e) => {
152
+ }, Re = (t) => t.series?.[0]?.numericValueFormat?.intlOptions?.minimumFractionDigits, Ee = (t, e) => {
153
153
  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);
154
154
  }, je = (t) => t.series?.[0]?.optimizeDataLabelsOverlapping ?? !1, Ue = (t, e) => {
155
155
  e.series[0] && (e.series[0].optimizeDataLabelsOverlapping = t);
156
156
  }, Ke = (t) => t.series[0]?.ticks?.visible ?? !1, $e = (t, e) => {
157
157
  e.series?.[0] && (e.series[0].ticks ??= T(), e.series[0].ticks.visible = t);
158
- }, Qe = (t) => t.series[0]?.ticks?.lineSymbol, Ze = (t, e) => {
158
+ }, qe = (t) => t.series[0]?.ticks?.lineSymbol, He = (t, e) => {
159
159
  t && e.series?.[0] && (e.series[0].ticks ??= T(), e.series[0].ticks.lineSymbol = B(t));
160
- }, qe = (t, e) => e.series?.[0]?.slices?.[t]?.originalLabel, He = (t, e) => e.series?.[0]?.slices?.[t]?.label, Je = (t, e, i) => {
160
+ }, Je = (t, e) => e.series?.[0]?.slices?.[t]?.originalLabel, Qe = (t, e) => e.series?.[0]?.slices?.[t]?.label, Xe = (t, e, i) => {
161
161
  i.series?.[0]?.slices?.[e] && (i.series[0].slices[e].label = t);
162
- }, Xe = (t, e) => e.series?.[0]?.slices?.[t]?.fillSymbol?.color, Ye = (t, e, i) => {
162
+ }, Ye = (t, e) => e.series?.[0]?.slices?.[t]?.fillSymbol?.color, Ze = (t, e, i) => {
163
163
  const o = i.series?.[0]?.slices?.[e]?.fillSymbol;
164
164
  o !== void 0 ? (o.color = t, o.outline !== void 0 ? o.outline.color = t : o.outline = { type: y.SLS, color: t }) : i.series?.[0]?.slices?.[e] !== void 0 && (i.series[0].slices[e].fillSymbol = {
165
165
  type: y.SFS,
@@ -193,7 +193,7 @@ var nt = Object.defineProperty, gt = Object.getOwnPropertyDescriptor, a = (t, e,
193
193
  (g = t[n]) && (l = g(e, i, l) || l);
194
194
  return l && nt(e, i, l), l;
195
195
  };
196
- class r extends F {
196
+ class r extends M {
197
197
  constructor() {
198
198
  super(...arguments), this._chartType = p.PieSeries, this._mode = f.Category, this._groupedSliceIds = [];
199
199
  }
@@ -216,7 +216,7 @@ class r extends F {
216
216
  return _(this._config);
217
217
  }
218
218
  set category(e) {
219
- (!E(this._config) || e.trim() !== "") && (K({
219
+ (!R(this._config) || e.trim() !== "") && (K({
220
220
  newCategory: e,
221
221
  config: this._config,
222
222
  layerInfo: this.layerInfo,
@@ -231,22 +231,22 @@ class r extends F {
231
231
  return $(this._config);
232
232
  }
233
233
  set numericFields(e) {
234
- typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ? k(this.layerInfo.layerFieldsInfo, e) : !0) ? (Q({
234
+ typeof e == "string" && (e = [e]), (this.layerInfo !== void 0 ? k(this.layerInfo.layerFieldsInfo, e) : !0) ? (q({
235
235
  newNumericFields: e,
236
236
  config: this._config,
237
237
  layerInfo: this.layerInfo,
238
238
  commonStrings: this.commonStrings,
239
239
  mode: this._mode
240
- }), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))) : M("error", "pie-chart-model", "Invalid `numericFields`");
240
+ }), this.dispatchEvent(new CustomEvent("arcgisChartsModelDataChange"))) : F("error", "pie-chart-model", "Invalid `numericFields`");
241
241
  }
242
242
  /**
243
243
  * Aggregation type for the pie chart.
244
244
  */
245
245
  get aggregationType() {
246
- return Z(this._config, this._mode);
246
+ return H(this._config, this._mode);
247
247
  }
248
248
  set aggregationType(e) {
249
- q({
249
+ J({
250
250
  newAggregationType: e,
251
251
  config: this._config,
252
252
  layerInfo: this.layerInfo,
@@ -258,10 +258,10 @@ class r extends F {
258
258
  * Gets the sort order for the pie chart.
259
259
  */
260
260
  getSortOrder() {
261
- return H(this._config, this._mode);
261
+ return Q(this._config, this._mode);
262
262
  }
263
263
  setSortOrder(e, i) {
264
- J({
264
+ X({
265
265
  newSortOrderKind: e,
266
266
  config: this._config,
267
267
  orderByList: i
@@ -318,10 +318,10 @@ class r extends F {
318
318
  * Ticks symbol connecting slices to labels.
319
319
  */
320
320
  get ticksSymbol() {
321
- return Qe(this._config);
321
+ return qe(this._config);
322
322
  }
323
323
  set ticksSymbol(e) {
324
- Ze(e, this._config);
324
+ He(e, this._config);
325
325
  }
326
326
  // ---------------------------------------------------------------------------------------------
327
327
  // #region Slices Props
@@ -384,16 +384,16 @@ class r extends F {
384
384
  * Number of decimal places to display in the slice values.
385
385
  */
386
386
  get decimalPlaces() {
387
- return Ee(this._config) ?? 1;
387
+ return Re(this._config) ?? 1;
388
388
  }
389
389
  set decimalPlaces(e) {
390
- Re(e, this._config);
390
+ Ee(e, this._config);
391
391
  }
392
392
  /**
393
393
  * Display type for the pie chart slices. Specifies whether to display the slices as a percentage, value, or both.
394
394
  */
395
395
  get displayType() {
396
- return Fe(this._config);
396
+ return Me(this._config);
397
397
  }
398
398
  set displayType(e) {
399
399
  We(e, this._config);
@@ -403,7 +403,7 @@ class r extends F {
403
403
  // ---------------------------------------------------------------------------------------------
404
404
  /** @private */
405
405
  generateDefaultConfig() {
406
- const e = R(this.commonStrings);
406
+ const e = E(this.commonStrings);
407
407
  return e.series = [j(this.commonStrings, U(this.layerInfo.layer).idField)], e;
408
408
  }
409
409
  // ---------------------------------------------------------------------------------------------
@@ -415,7 +415,7 @@ class r extends F {
415
415
  * @param sliceIndex - The index of the slice.
416
416
  */
417
417
  getOriginalSliceName(e) {
418
- return qe(e, this._config);
418
+ return Je(e, this._config);
419
419
  }
420
420
  /**
421
421
  * Gets the name of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
@@ -423,10 +423,10 @@ class r extends F {
423
423
  * @param sliceIndex - The index of the slice.
424
424
  */
425
425
  getSliceName(e) {
426
- return He(e, this._config);
426
+ return Qe(e, this._config);
427
427
  }
428
428
  setSliceName(e, i) {
429
- Je(e, i, this._config);
429
+ Xe(e, i, this._config);
430
430
  }
431
431
  /**
432
432
  * Gets the color of the slice based on the slice index. If the index is out of bounds, this function will return `undefined`.
@@ -434,10 +434,10 @@ class r extends F {
434
434
  * @param sliceIndex - The index of the slice.
435
435
  */
436
436
  getSliceColor(e) {
437
- return Xe(e, this._config);
437
+ return Ye(e, this._config);
438
438
  }
439
439
  setSliceColor(e, i) {
440
- Ye(e, i, this._config);
440
+ Ze(e, i, this._config);
441
441
  }
442
442
  /**
443
443
  * Order of the slice array by returning an array of slice ids
@@ -626,7 +626,7 @@ class r extends F {
626
626
  return Ne(this._config);
627
627
  }
628
628
  set percentageSuffix(e) {
629
- Me(e, this._config);
629
+ Fe(e, this._config);
630
630
  }
631
631
  /**
632
632
  * Offset for the data labels.
@@ -671,7 +671,7 @@ class r extends F {
671
671
  * Generate the proper chart title given the current config.
672
672
  */
673
673
  generateChartTitle() {
674
- return X({
674
+ return Y({
675
675
  config: this._config,
676
676
  layerInfo: this.layerInfo,
677
677
  commonStrings: this.commonStrings,
@@ -5,7 +5,7 @@ import "luxon";
5
5
  import "d3-array";
6
6
  import "@arcgis/toolkit/type";
7
7
  import { W as h } from "./series-types.js";
8
- import { bg as d, b4 as n, bK as o, aC as S, ap as c } from "./index.js";
8
+ import { bh as d, b5 as n, bL as o, aD as S, aq as c } from "./index.js";
9
9
  import "@arcgis/core/Graphic.js";
10
10
  import "@arcgis/core/renderers/support/jsonUtils.js";
11
11
  import "@arcgis/core/symbols/support/symbolUtils.js";
@@ -30,10 +30,10 @@ import { s as b, a as v, b as I, c as _, d as C, W as M } from "./negative-value
30
30
  import { g as m } from "./serial-chart-data.js";
31
31
  import { m as k } from "./model-setter.js";
32
32
  import { M as D } from "./model-with-line-marker-styling.js";
33
- var F = Object.defineProperty, L = Object.getOwnPropertyDescriptor, x = (a, e, r, t) => {
34
- for (var i = L(e, r), s = a.length - 1, l; s >= 0; s--)
33
+ var L = Object.defineProperty, F = Object.getOwnPropertyDescriptor, x = (a, e, r, t) => {
34
+ for (var i = F(e, r), s = a.length - 1, l; s >= 0; s--)
35
35
  (l = a[s]) && (i = l(e, r, i) || i);
36
- return i && F(e, r, i), i;
36
+ return i && L(e, r, i), i;
37
37
  };
38
38
  class f extends y {
39
39
  constructor() {
@@ -5,7 +5,7 @@ import "luxon";
5
5
  import "d3-array";
6
6
  import "@arcgis/toolkit/type";
7
7
  import "./series-types.js";
8
- import { cS as a } from "./index.js";
8
+ import { cT as a } from "./index.js";
9
9
  import "@arcgis/core/Graphic.js";
10
10
  import "@arcgis/core/renderers/support/jsonUtils.js";
11
11
  import "@arcgis/core/symbols/support/symbolUtils.js";
@@ -29,7 +29,7 @@ var n = Object.defineProperty, d = Object.getOwnPropertyDescriptor, c = (t, r, e
29
29
  (p = t[i]) && (o = p(r, e, o) || o);
30
30
  return o && n(r, e, o), o;
31
31
  };
32
- function I(t) {
32
+ function H(t) {
33
33
  return t !== void 0 && "rotatedState" in t;
34
34
  }
35
35
  const f = (t) => a(t), S = (t, r) => {
@@ -51,5 +51,5 @@ c([
51
51
  ], _.prototype, "rotatedState");
52
52
  export {
53
53
  _ as W,
54
- I as i
54
+ H as i
55
55
  };
@@ -1,13 +1,13 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import { s as y, u as v, j as X, a as Y } from "./utils.js";
3
- import { substitute as O } from "@arcgis/core/intl.js";
2
+ import { s as y, u as v, j as X, a as O } from "./utils.js";
3
+ import { substitute as Y } from "@arcgis/core/intl.js";
4
4
  import { isEmpty as x, isEqual as D } from "lodash-es";
5
5
  import "@arcgis/toolkit/intl";
6
6
  import "luxon";
7
7
  import "d3-array";
8
8
  import "@arcgis/toolkit/type";
9
- import { W as w } from "./series-types.js";
10
- import { aY as z, aZ as p, cY as c, Z as T, bN as k, bj as E } from "./index.js";
9
+ import { W as k } from "./series-types.js";
10
+ import { aZ as w, a_ as p, cZ as c, _ as T, bO as z, bk as E } from "./index.js";
11
11
  import "@arcgis/core/Graphic.js";
12
12
  import "@arcgis/core/renderers/support/jsonUtils.js";
13
13
  import "@arcgis/core/symbols/support/symbolUtils.js";
@@ -27,7 +27,7 @@ import "@arcgis/toolkit/dom";
27
27
  import { g as V } from "./series-length.js";
28
28
  import { g as b } from "./utils2.js";
29
29
  import { C as j } from "./chart-model.js";
30
- import { M as B, a as G, W as N, b as U } from "./model-with-tooltips.js";
30
+ import { M as B, a as G, W as U, b as N } from "./model-with-tooltips.js";
31
31
  import { W as Z } from "./data-labels-symbol.js";
32
32
  import { W as q, a as H, b as J } from "./axis-lines-symbol.js";
33
33
  import { W as K, b as Q } from "./model-with-guides.js";
@@ -38,31 +38,31 @@ import { M as se } from "./model-with-x-guides.js";
38
38
  const F = (t) => {
39
39
  y({ config: t, value: null, axisIndex: 0, isMax: !1 }), y({ config: t, value: null, axisIndex: 0, isMax: !0 }), y({ config: t, value: null, axisIndex: 1, isMax: !1 }), y({ config: t, value: null, axisIndex: 1, isMax: !0 });
40
40
  }, L = (t) => {
41
- const { name: e, axisIndex: i, config: s, layerInfo: r } = t, { layerFieldsInfo: o } = r, n = o.find((h) => h.name === e), a = n !== void 0 && k(n);
41
+ const { name: e, axisIndex: i, config: s, layerInfo: r } = t, { layerFieldsInfo: o } = r, n = o.find((h) => h.name === e), a = n !== void 0 && z(n);
42
42
  X(s, i, a);
43
43
  };
44
44
  function I(t, e, i) {
45
45
  const s = g(t, e, i), r = V(t), o = T(t);
46
46
  return s === r || o;
47
47
  }
48
- function M(t, e) {
48
+ function _(t, e) {
49
49
  const { layerFieldsInfo: i } = e, s = c(i, u(t)), r = b(1, t), o = T(t);
50
50
  return s === r || o;
51
51
  }
52
- function C(t, e) {
52
+ function M(t, e) {
53
53
  const { layerFieldsInfo: i } = e, s = f(t), r = c(i, s), o = b(0, t), n = T(t);
54
54
  return r === o || n;
55
55
  }
56
56
  function g(t, e, i) {
57
57
  const s = f(t), r = u(t), { layerFieldsInfo: o } = e, n = c(o, s), a = c(o, r);
58
- return O(i.titleLabels.xAndY, { x: n, y: a });
58
+ return Y(i.titleLabels.xAndY, { x: n, y: a });
59
59
  }
60
- const _ = (t) => {
60
+ const C = (t) => {
61
61
  const { x: e, y: i, config: s, layerInfo: r, updateChartTitle: o, updateXAxisTitle: n, updateYAxisTitle: a, commonStrings: h } = t, { layerFieldsInfo: A } = r, W = c(A, e), P = c(A, i);
62
62
  !x(e) && n && v(s, 0, W), !x(i) && a && v(s, 1, P), !x(e) && !x(i) && s.title && o && (s.title.content.text = g(s, r, h));
63
63
  }, f = (t) => t.series[0]?.x ?? "", u = (t) => t.series[0]?.y ?? "", re = (t) => {
64
- const { fieldName: e, config: i, layerInfo: s, commonStrings: r } = t, o = I(i, s, r), n = C(i, s), a = M(i, s);
65
- F(i), i.series[0] && (i.series[0].x = e), _({
64
+ const { fieldName: e, config: i, layerInfo: s, commonStrings: r } = t, o = I(i, s, r), n = M(i, s), a = _(i, s);
65
+ F(i), i.series[0] && (i.series[0].x = e), C({
66
66
  x: e,
67
67
  y: u(i),
68
68
  config: i,
@@ -78,8 +78,8 @@ const _ = (t) => {
78
78
  layerInfo: s
79
79
  });
80
80
  }, oe = (t) => {
81
- const { fieldName: e, config: i, layerInfo: s, commonStrings: r } = t, o = I(i, s, r), n = C(i, s), a = M(i, s);
82
- F(i), i.series[0] && (i.series[0].y = e), _({
81
+ const { fieldName: e, config: i, layerInfo: s, commonStrings: r } = t, o = I(i, s, r), n = M(i, s), a = _(i, s);
82
+ F(i), i.series[0] && (i.series[0].y = e), C({
83
83
  x: f(i),
84
84
  y: e,
85
85
  config: i,
@@ -108,7 +108,7 @@ const _ = (t) => {
108
108
  e.series[0].overlays ??= p(), e.series[0].overlays.trendLine ??= p().trendLine, e.series[0].overlays.trendLine.visible = t;
109
109
  }, pe = (t, e) => {
110
110
  !(e.series[0]?.overlays?.trendLine?.created ?? !1) && t && (e.series[0].overlays ??= p(), e.series[0].overlays.trendLine ??= p().trendLine, e.series[0].overlays.trendLine.created = t), ce(t, e);
111
- }, S = (t) => t.series[0]?.sizePolicy ?? z(), ye = (t, e) => {
111
+ }, S = (t) => t.series[0]?.sizePolicy ?? w(), ye = (t, e) => {
112
112
  e.series[0] && (t !== void 0 && t.field?.trim() !== "" ? e.series[0].sizePolicy = { ...e.series[0].sizePolicy, ...t } : e.series[0].sizePolicy = void 0);
113
113
  }, xe = (t) => t?.series?.[0]?.overlays, fe = (t, e) => {
114
114
  e?.series[0] !== void 0 && (e.series[0].overlays = t);
@@ -124,7 +124,7 @@ var Te = Object.defineProperty, ge = Object.getOwnPropertyDescriptor, m = (t, e,
124
124
  };
125
125
  class l extends j {
126
126
  constructor() {
127
- super(...arguments), this._chartType = w.ScatterSeries;
127
+ super(...arguments), this._chartType = k.ScatterSeries;
128
128
  }
129
129
  async setup(e) {
130
130
  await this.loadConfigFromLayer(e), typeof this.resolveSetup == "function" && this.resolveSetup();
@@ -259,8 +259,8 @@ const Ae = [
259
259
  te,
260
260
  B,
261
261
  G,
262
- N,
263
262
  U,
263
+ N,
264
264
  Z,
265
265
  se,
266
266
  ie,
@@ -273,7 +273,7 @@ const Ae = [
273
273
  J,
274
274
  ee
275
275
  ];
276
- Y(l, Ae);
276
+ O(l, Ae);
277
277
  export {
278
278
  l as ScatterplotModel
279
279
  };