@arcgis/charts-components 5.2.0-next.30 → 5.2.0-next.32

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 (172) hide show
  1. package/dist/cdn/{3QO6REDF.js → 25W6T5FX.js} +8 -8
  2. package/dist/cdn/{JBR6IJMK.js → 2HG3BPPY.js} +1 -1
  3. package/dist/cdn/2Y7PYCI7.js +2 -0
  4. package/dist/cdn/{HIW5WRHR.js → 46DNECVM.js} +1 -1
  5. package/dist/cdn/{HBS6O3P3.js → 4LKQOIJR.js} +1 -1
  6. package/dist/cdn/{X7Z4LEZH.js → 4N7Q4USI.js} +1 -1
  7. package/dist/cdn/{6ANVHVX4.js → 4T3YFJA6.js} +1 -1
  8. package/dist/cdn/{BI54CNMR.js → 4WISIBCY.js} +1 -1
  9. package/dist/cdn/{6CB5R4QQ.js → 4XYMN2CV.js} +1 -1
  10. package/dist/cdn/{AZR6HVRW.js → 575YVIX7.js} +1 -1
  11. package/dist/cdn/{7VQXBQMZ.js → 5Y5QG6LJ.js} +1 -1
  12. package/dist/cdn/{YQIFZJTZ.js → 6GQLATNT.js} +1 -1
  13. package/dist/cdn/{XRLVJJBT.js → 6LH7Y7PU.js} +1 -1
  14. package/dist/cdn/{6VK54DG5.js → 7HSE4SIZ.js} +1 -1
  15. package/dist/cdn/{C4TQOUPO.js → 7ISSUJ2D.js} +1 -1
  16. package/dist/cdn/7NHOA7QL.js +3 -0
  17. package/dist/cdn/{SSKHF7PO.js → AGY2UGFW.js} +1 -1
  18. package/dist/cdn/{IWMWJN7M.js → B7TOZQEW.js} +1 -1
  19. package/dist/cdn/{X7YEBHBF.js → BECNHOTD.js} +1 -1
  20. package/dist/cdn/{T5TFLMQL.js → BNNTNT7S.js} +1 -1
  21. package/dist/cdn/{REZ2QR42.js → BXCX7QFT.js} +1 -1
  22. package/dist/cdn/{BZFGE4LO.js → BXYUDSWF.js} +1 -1
  23. package/dist/cdn/{PEYVSFSE.js → CXMIIYBK.js} +36 -36
  24. package/dist/cdn/{4BEGCEGA.js → D7N4VK2S.js} +3 -3
  25. package/dist/cdn/{KFPJI52X.js → DTG42E2P.js} +1 -1
  26. package/dist/cdn/{K27GKXGP.js → DWIKPTKJ.js} +1 -1
  27. package/dist/cdn/{QV3NMKKZ.js → EAJBDT2X.js} +1 -1
  28. package/dist/cdn/{Q2GW5LB7.js → ESUNC3JW.js} +1 -1
  29. package/dist/cdn/{2SPGX6AF.js → EXJWV5I4.js} +1 -1
  30. package/dist/cdn/{YFHB2EFH.js → G5KG5GU4.js} +1 -1
  31. package/dist/cdn/{VY3KBD6N.js → G6EAXNDR.js} +1 -1
  32. package/dist/cdn/{YWKPGNHB.js → GRPZ65P4.js} +1 -1
  33. package/dist/cdn/{BKU72IQC.js → GXXY6NI7.js} +1 -1
  34. package/dist/cdn/{G5EGTXMY.js → HWYXGOUR.js} +1 -1
  35. package/dist/cdn/{AICTKGE3.js → IAVYR2KG.js} +1 -1
  36. package/dist/cdn/{4P7URPRQ.js → IDDJVOHS.js} +1 -1
  37. package/dist/cdn/IFYT2GHB.js +2 -0
  38. package/dist/cdn/{TSA7UMSZ.js → ILZCAXS5.js} +1 -1
  39. package/dist/cdn/{Y3CXVO2M.js → J2YNPNIL.js} +1 -1
  40. package/dist/cdn/JAN3QW7E.js +2 -0
  41. package/dist/cdn/{5UO6L27Q.js → JOJIT55L.js} +1 -1
  42. package/dist/cdn/{LFXRCL7K.js → JXPTGJSF.js} +1 -1
  43. package/dist/cdn/{3NKDMMC2.js → K2V7HVU3.js} +1 -1
  44. package/dist/cdn/{5XCU5SR2.js → K3FOMGX7.js} +1 -1
  45. package/dist/cdn/{WHVW3P3O.js → K6PPZIL5.js} +1 -1
  46. package/dist/cdn/{THTYR6IL.js → KHT4LCWN.js} +1 -1
  47. package/dist/cdn/{CLN32L2L.js → KU55QTV5.js} +1 -1
  48. package/dist/cdn/{CRCAJAFA.js → KZ2OB6RV.js} +1 -1
  49. package/dist/cdn/{3YN4EKSJ.js → L2OJXJD4.js} +1 -1
  50. package/dist/cdn/{3UTF2CB3.js → L5CT3KCS.js} +1 -1
  51. package/dist/cdn/{6GV2QPKV.js → LAPPRAQF.js} +1 -1
  52. package/dist/cdn/{MVUIKY5Y.js → LHLM6RMX.js} +1 -1
  53. package/dist/cdn/{KQLAAGKI.js → LKEHGBEV.js} +1 -1
  54. package/dist/cdn/{ADYDCO3M.js → LKLFDY3E.js} +1 -1
  55. package/dist/cdn/{PAIRUVLU.js → LLUS6VGO.js} +1 -1
  56. package/dist/cdn/{TCS4HOSG.js → LLYDWCNL.js} +1 -1
  57. package/dist/cdn/{DAF2U7TN.js → LQQJXKY7.js} +1 -1
  58. package/dist/cdn/{3TBK72EK.js → LV3T5QZF.js} +1 -1
  59. package/dist/cdn/{O5NKLK7V.js → MA2J6LRE.js} +1 -1
  60. package/dist/cdn/{BQXXD2HU.js → MTYZHHDS.js} +1 -1
  61. package/dist/cdn/{MBPFBE3E.js → N72PRHWL.js} +1 -1
  62. package/dist/cdn/{Y7HBWU3M.js → NKUXUCUP.js} +1 -1
  63. package/dist/cdn/{6XIDALQU.js → NX4OLIXG.js} +1 -1
  64. package/dist/cdn/{M7QZTQSD.js → OCRAZDQR.js} +1 -1
  65. package/dist/cdn/OEBQA6SR.js +2 -0
  66. package/dist/cdn/{XRP6IFM4.js → OKPUFIIU.js} +1 -1
  67. package/dist/cdn/{DRFJC64L.js → P2KW76YO.js} +1 -1
  68. package/dist/cdn/{YWCIV7ZZ.js → PCBE7IEQ.js} +1 -1
  69. package/dist/cdn/{M4ZJRIYM.js → PRGGOOYS.js} +1 -1
  70. package/dist/cdn/{N673JFHK.js → PXGQGJAV.js} +1 -1
  71. package/dist/cdn/{6OCDFMFB.js → Q7XQPRE5.js} +1 -1
  72. package/dist/cdn/{SOGVYNPI.js → QGLWN3TS.js} +1 -1
  73. package/dist/cdn/{2ODYZG66.js → QH2YJ3TT.js} +1 -1
  74. package/dist/cdn/{Y6CFEFZM.js → RA7EKGRW.js} +1 -1
  75. package/dist/cdn/{WU62O2AU.js → RJFIQORK.js} +1 -1
  76. package/dist/cdn/{MEA74C44.js → RVFD5Z7L.js} +1 -1
  77. package/dist/cdn/{WJHIJTWS.js → SWJIRHQQ.js} +1 -1
  78. package/dist/cdn/{3SBYV6BW.js → TYDIOOT2.js} +1 -1
  79. package/dist/cdn/{4TRUG37X.js → U53OVQF2.js} +1 -1
  80. package/dist/cdn/{RKG6CXUU.js → WNH47TQQ.js} +1 -1
  81. package/dist/cdn/{Z43DVT6G.js → WPHYJV72.js} +1 -1
  82. package/dist/cdn/{GCRQHIGQ.js → WSSYOOMW.js} +1 -1
  83. package/dist/cdn/{35NSJ3NJ.js → WYU56MVP.js} +1 -1
  84. package/dist/cdn/{TOFVWGTG.js → XQ2CVQJW.js} +1 -1
  85. package/dist/cdn/{7Z7NOIH2.js → XRTGYEKU.js} +1 -1
  86. package/dist/cdn/{IPALCXFF.js → YHFANXPC.js} +1 -1
  87. package/dist/cdn/{PKQOLKTW.js → YTV5MFKS.js} +1 -1
  88. package/dist/cdn/{ZW4PF3UK.js → Z2NN43OK.js} +1 -1
  89. package/dist/cdn/{QGEFY4ND.js → Z2YPKIRL.js} +1 -1
  90. package/dist/cdn/{NKVZYKL5.js → ZK3QFPDP.js} +1 -1
  91. package/dist/cdn/{JIV6BQKG.js → ZKZGO5WD.js} +1 -1
  92. package/dist/cdn/index.js +1 -1
  93. package/dist/cdn/model/shared/setup-utils.js +1 -1
  94. package/dist/chunks/axis-lines-symbol.js +7 -7
  95. package/dist/chunks/bar-chart-model.js +39 -36
  96. package/dist/chunks/box-plot-data.js +36 -36
  97. package/dist/chunks/box-plot-model.js +5 -5
  98. package/dist/chunks/chart-model.js +38 -38
  99. package/dist/chunks/class-breaks.js +7 -7
  100. package/dist/chunks/combo-bar-line-chart-model.js +27 -27
  101. package/dist/chunks/data-labels-symbol.js +1 -1
  102. package/dist/chunks/data-labels-visibility.js +22 -22
  103. package/dist/chunks/data.js +18 -18
  104. package/dist/chunks/gauge-model.js +16 -16
  105. package/dist/chunks/generate-x-axis-title.js +9 -9
  106. package/dist/chunks/heat-chart-model.js +5 -5
  107. package/dist/chunks/histogram-data.js +15 -15
  108. package/dist/chunks/histogram-model.js +4 -4
  109. package/dist/chunks/index.js +84 -83
  110. package/dist/chunks/index2.js +989 -973
  111. package/dist/chunks/index3.js +13 -13
  112. package/dist/chunks/index4.js +149 -49
  113. package/dist/chunks/line-chart-model.js +1 -1
  114. package/dist/chunks/model-setter.js +1 -1
  115. package/dist/chunks/model-with-y-guides.js +6 -6
  116. package/dist/chunks/negative-values-stacked-to-baseline.js +3 -3
  117. package/dist/chunks/pie-chart-data.js +16 -16
  118. package/dist/chunks/pie-chart-model.js +20 -20
  119. package/dist/chunks/radar-chart-model.js +1 -1
  120. package/dist/chunks/resource.js +1 -1
  121. package/dist/chunks/rounded-corners.js +73 -0
  122. package/dist/chunks/scatterplot-model.js +3 -3
  123. package/dist/chunks/serial-chart-data.js +73 -73
  124. package/dist/chunks/serial-chart-model.js +13 -13
  125. package/dist/chunks/series-length.js +1 -1
  126. package/dist/chunks/series.js +1 -1
  127. package/dist/chunks/type-guards2.js +24 -20
  128. package/dist/chunks/utils.js +14 -14
  129. package/dist/chunks/utils2.js +1 -1
  130. package/dist/chunks/web-component-utils.js +41 -41
  131. package/dist/chunks/x-bounds.js +16 -16
  132. package/dist/components/arcgis-chart/customElement.js +6354 -6174
  133. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  134. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  135. package/dist/components/arcgis-charts-config-bar-chart-series-popover/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 +2 -2
  138. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  139. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  140. package/dist/components/arcgis-charts-config-guide/customElement.js +6 -6
  141. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  142. package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +16 -16
  143. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +4 -4
  144. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +10 -10
  145. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  146. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  147. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  148. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  149. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  150. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +5 -5
  151. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +5 -5
  152. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +5 -5
  153. package/dist/components/arcgis-charts-info-modal/customElement.js +1 -1
  154. package/dist/docs/api.json +1 -1
  155. package/dist/docs/docs.json +1 -1
  156. package/dist/docs/web-types.json +1 -1
  157. package/dist/index.js +446 -444
  158. package/dist/json-schema/index.d.ts +92 -2
  159. package/dist/model/bar-chart-model/bar-chart-model.d.ts +4 -2
  160. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +3 -2
  161. package/dist/model/properties/rounded-corners.d.ts +18 -0
  162. package/dist/model/shared/type-guards.d.ts +7 -0
  163. package/dist/spec/web-chart.d.ts +8 -0
  164. package/dist/utils/chart-config/converter/index.js +15 -15
  165. package/dist/utils/defaults/index.d.ts +4 -1
  166. package/package.json +3 -3
  167. package/dist/cdn/BJBNELDD.js +0 -3
  168. package/dist/cdn/SAYLTYWY.js +0 -2
  169. package/dist/cdn/U3MRRFML.js +0 -2
  170. package/dist/cdn/VWTJHXHI.js +0 -2
  171. package/dist/cdn/WPPMMVD5.js +0 -2
  172. package/dist/chunks/bar-chart-series.js +0 -15
@@ -1,8 +1,8 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { substitute as b } from "@arcgis/core/intl.js";
3
- import { t as j, E as q, I as w, T as k, C as M, u as $ } from "./index.js";
4
- import { g as E } from "./series-types.js";
5
- import { l as W, d as S, q as U, D as H } from "./index3.js";
3
+ import { u as j, F as q, J as w, T as k, D as M, v as $ } from "./index.js";
4
+ import { g as W } from "./series-types.js";
5
+ import { l as E, d as S, q as U, D as H } from "./index3.js";
6
6
  import { an as I, ag as K, h as O, c0 as L, a6 as h, b$ as V, aH as P } from "./index2.js";
7
7
  import { k as X } from "./index5.js";
8
8
  import { q as R, u as f, r as A, p as G } from "./chart-object-literals.js";
@@ -19,7 +19,7 @@ function re(s) {
19
19
  const { config: e, layerInfo: i, commonStrings: t, numericFields: a, aggregationType: r } = s;
20
20
  let o = "";
21
21
  if (e)
22
- if (W(e) === R.Stacked100)
22
+ if (E(e) === R.Stacked100)
23
23
  o = t.utilsStrings.statistics.percent;
24
24
  else {
25
25
  const d = j(r, t);
@@ -37,7 +37,7 @@ function re(s) {
37
37
  }
38
38
  return o;
39
39
  }
40
- const B = (s, e, i) => s.axes?.[e] ?? $(i, s.type)[e], C = (s) => {
40
+ const B = (s, e, i) => s.axes?.[e] ?? $(i, s.type)[e], D = (s) => {
41
41
  const { config: e, axis: i, axisIndex: t } = s;
42
42
  e.axes !== void 0 && (e.axes[t] = i);
43
43
  }, oe = (s) => {
@@ -54,21 +54,21 @@ const B = (s, e, i) => s.axes?.[e] ?? $(i, s.type)[e], C = (s) => {
54
54
  ...t,
55
55
  valueFormat: i
56
56
  };
57
- C({ config: s, axis: a, axisIndex: 0 });
57
+ D({ config: s, axis: a, axisIndex: 0 });
58
58
  }
59
59
  }, ce = (s, e, i) => {
60
60
  const t = s.axes?.[e];
61
61
  t !== void 0 && (t.integerOnlyValues = i);
62
- }, Q = (s) => {
63
- const e = E(s.series);
62
+ }, J = (s) => {
63
+ const e = W(s.series);
64
64
  return e === f.BarSeries || e === f.ComboLineAndBarSeries || e === f.LineSeries;
65
- }, Y = (s) => {
65
+ }, Q = (s) => {
66
66
  const { axisIndex: e, config: i, isMultiAxis: t } = s;
67
67
  let a = !1;
68
- return e === 0 || e === 1 && t ? a = !0 : e === 2 && (a = Q(i)), a;
68
+ return e === 0 || e === 1 && t ? a = !0 : e === 2 && (a = J(i)), a;
69
69
  }, ue = (s) => {
70
70
  const { axisIndex: e, func: i, config: t } = s;
71
- return Y({ axisIndex: e, config: t, isMultiAxis: !0 }) ? i(e) : void 0;
71
+ return Q({ axisIndex: e, config: t, isMultiAxis: !0 }) ? i(e) : void 0;
72
72
  }, v = (s, e) => {
73
73
  let i;
74
74
  const t = e.axes?.[s]?.valueFormat;
@@ -80,7 +80,7 @@ const B = (s, e, i) => s.axes?.[e] ?? $(i, s.type)[e], C = (s) => {
80
80
  ...r,
81
81
  valueFormat: t
82
82
  };
83
- C({
83
+ D({
84
84
  config: e,
85
85
  axis: o,
86
86
  axisIndex: a
@@ -94,7 +94,7 @@ const B = (s, e, i) => s.axes?.[e] ?? $(i, s.type)[e], C = (s) => {
94
94
  e.axes?.[t] !== void 0 && (e.axes[t].scrollbar = i);
95
95
  };
96
96
  async function ye(s) {
97
- const { config: e, layer: i, xAxisField: t, splitByField: a, layerFieldsInfo: r, aggregationFields: o, fetchNullValues: u, errorStrings: d } = s, n = r.filter((F) => F.name === a)[0]?.type, x = u !== !0 ? `${a} IS NOT NULL` : "", l = t && u !== !0 ? `${t} IS NOT NULL` : "", { where: m } = e?.dataFilters ?? {}, D = {
97
+ const { config: e, layer: i, xAxisField: t, splitByField: a, layerFieldsInfo: r, aggregationFields: o, fetchNullValues: u, errorStrings: d } = s, n = r.filter((F) => F.name === a)[0]?.type, x = u !== !0 ? `${a} IS NOT NULL` : "", l = t && u !== !0 ? `${t} IS NOT NULL` : "", { where: m } = e?.dataFilters ?? {}, C = {
98
98
  where: O([m, x, l]),
99
99
  // excluding the null values from the list
100
100
  orderByFields: U(a) ? [] : [`${a} ${G.Ascending}`],
@@ -111,7 +111,7 @@ async function ye(s) {
111
111
  queryObject: i,
112
112
  category: e?.series[0].x ?? "",
113
113
  splitByField: a,
114
- queryConfig: D,
114
+ queryConfig: C,
115
115
  errorStrings: d
116
116
  }) : [];
117
117
  if (y = y.slice(0, 500), e) {
@@ -1,5 +1,5 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { E as x, I as a, T as o } from "./index.js";
2
+ import { F as x, J as a, T as o } from "./index.js";
3
3
  const v = (e, i) => i.axes?.[e]?.labels?.visible ?? !0, f = (e, i, s) => {
4
4
  const t = s.axes?.[i];
5
5
  t?.labels !== void 0 ? t.labels.visible = e : t !== void 0 && t?.labels === void 0 && (t.labels = x({
@@ -1,14 +1,14 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { isEqual as ue, capitalize as v, isNumber as W, zip as ae } from "lodash-es";
2
+ import { isEqual as ue, capitalize as B, isNumber as W, zip as ae } from "lodash-es";
3
3
  import { d as Y } from "./interfaces.js";
4
- import { g as ce, a as q, b as oe, c as _ } from "./box-plot-data.js";
4
+ import { g as ce, a as H, b as oe, c as _ } from "./box-plot-data.js";
5
5
  import { g as fe } from "./histogram-data.js";
6
6
  import { g as me, a as de, b as ye } from "./pie-chart-data.js";
7
7
  import { g as ie } from "./series-length.js";
8
8
  import { g as re, d as le, e as ge } from "./serial-chart-data.js";
9
9
  import { g as z, a as pe } from "./data.js";
10
- import { Y as U, an as be, af as xe, aK as E, cj as Fe, B as V, a6 as De, bb as Se, d3 as ve } from "./index2.js";
11
- import { j as H, av as $, g as R, ap as Be, b as he, a as Q } from "./index.js";
10
+ import { Y as U, an as be, af as xe, aK as E, cj as Fe, B as V, a6 as De, bb as Se, d4 as Be } from "./index2.js";
11
+ import { k as q, aw as $, g as R, aq as ve, b as he, a as Q } from "./index.js";
12
12
  import { q as K, C as g, F as A } from "./index3.js";
13
13
  import { g as Pe } from "./series-types.js";
14
14
  import { V as Ve } from "./index6.js";
@@ -56,7 +56,7 @@ function G(l) {
56
56
  label: i.heatChartCalendarDatePartsUnits.dayOfWeek,
57
57
  value: Ae({
58
58
  weekdayNumber: e,
59
- firstDayOfWeek: "firstDayOfWeek" in o ? o.firstDayOfWeek : Be,
59
+ firstDayOfWeek: "firstDayOfWeek" in o ? o.firstDayOfWeek : ve,
60
60
  locale: t
61
61
  })
62
62
  };
@@ -153,11 +153,11 @@ function ct(l, e = {}) {
153
153
  const f = t ?? Object.keys(l[0]), u = [], p = a ?? we(r ?? "en");
154
154
  if (r !== void 0 && p !== "," && (c += `sep=${p}\r
155
155
  `), o) {
156
- const B = f.map((b) => J({ value: b, quoteAll: i, locale: r, roundDecimals: n }));
157
- u.push(B.join(p));
156
+ const v = f.map((b) => J({ value: b, quoteAll: i, locale: r, roundDecimals: n }));
157
+ u.push(v.join(p));
158
158
  }
159
- l.forEach((B) => {
160
- const b = f.map((x) => J({ value: B[x], quoteAll: i, locale: r, roundDecimals: n }));
159
+ l.forEach((v) => {
160
+ const b = f.map((x) => J({ value: v[x], quoteAll: i, locale: r, roundDecimals: n }));
161
161
  u.push(b.join(p));
162
162
  }), c += u.join(`\r
163
163
  `);
@@ -269,7 +269,7 @@ function $e(l, e) {
269
269
  }
270
270
  function Ne(l) {
271
271
  const { fieldName: e, dataContext: t } = l, a = A.rendererSymbolField;
272
- return e === a && t !== void 0 ? ve(t) : void 0;
272
+ return e === a && t !== void 0 ? Be(t) : void 0;
273
273
  }
274
274
  function ee(l) {
275
275
  const { config: e, splitByField: t, splitByValue: a, splitByValueIndex: o, layer: i, fieldList: r, timeZone: n } = l;
@@ -293,11 +293,11 @@ function Te(l) {
293
293
  fieldList: o
294
294
  });
295
295
  return t.map((p) => {
296
- const B = p[H.xField], b = p[H.yField], x = p[H.valueField], D = typeof x == "number" && Number.isFinite(x) ? x.toFixed(2) : x;
297
- let m = { label: n.x, value: B }, d = { label: n.y, value: b };
296
+ const v = p[q.xField], b = p[q.yField], x = p[q.valueField], D = typeof x == "number" && Number.isFinite(x) ? x.toFixed(2) : x;
297
+ let m = { label: n.x, value: v }, d = { label: n.y, value: b };
298
298
  if (n.xTemporalBinning !== void 0) {
299
299
  const { label: F, value: S } = G({
300
- value: Number(B),
300
+ value: Number(v),
301
301
  config: e,
302
302
  formatLocale: i,
303
303
  unit: n.xTemporalBinning.unit,
@@ -323,9 +323,9 @@ function Te(l) {
323
323
  });
324
324
  }
325
325
  function Re(l, e, t) {
326
- const a = fe(l), o = `${v(Y.Min)} of ${a}`, i = `${v(Y.Max)} of ${a}`, r = `${v(Y.Count)} of ${a}`;
326
+ const a = fe(l), o = `${B(Y.Min)} of ${a}`, i = `${B(Y.Max)} of ${a}`, r = `${B(Y.Count)} of ${a}`;
327
327
  return e.map((n) => {
328
- const { minValue: s, maxValue: c, count: f } = n, u = W(s), p = W(c), B = W(f), b = {};
328
+ const { minValue: s, maxValue: c, count: f } = n, u = W(s), p = W(c), v = W(f), b = {};
329
329
  if (u && (b[o] = h({
330
330
  value: s,
331
331
  originalValue: s,
@@ -346,7 +346,7 @@ function Re(l, e, t) {
346
346
  });
347
347
  b.Label = `${String(x ?? "")} - ${String(D ?? "")}`;
348
348
  }
349
- return B && (b[r] = f), b;
349
+ return v && (b[r] = f), b;
350
350
  });
351
351
  }
352
352
  function Ie(l, e, t) {
@@ -355,7 +355,7 @@ function Ie(l, e, t) {
355
355
  return t ? o = t.map((i) => a.find((r) => r.toLowerCase().includes(i.toLowerCase())) || "") : o = a.filter((r) => r.toLowerCase().includes(e.toLowerCase())), o.filter((i) => i.trim() !== "");
356
356
  }
357
357
  function Ke(l) {
358
- const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = pe(e), c = re(e), f = v(c), u = le(e), p = U(e.series), B = ie(e), b = ge(e), { idField: x, isTraditionalTypeOID: D } = be(xe(a)), m = D && u.length === 1 && u[0] === x;
358
+ const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = pe(e), c = re(e), f = B(c), u = le(e), p = U(e.series), v = ie(e), b = ge(e), { idField: x, isTraditionalTypeOID: D } = be(xe(a)), m = D && u.length === 1 && u[0] === x;
359
359
  let d;
360
360
  switch (p) {
361
361
  case g.BarAndLineNoAggregation:
@@ -434,7 +434,7 @@ function Ke(l) {
434
434
  useRendererLabel: r,
435
435
  timeZone: n
436
436
  });
437
- return B.map((P, C) => {
437
+ return v.map((P, C) => {
438
438
  const w = ee({
439
439
  config: e,
440
440
  splitByField: b,
@@ -462,7 +462,7 @@ function Ke(l) {
462
462
  formatter: i?.xAxisLabelFormatter,
463
463
  useRendererLabel: r,
464
464
  timeZone: n
465
- }), S = Ie(y, u[0], B), P = y[b], C = B.findIndex((I) => $e(I, P)), w = ee({
465
+ }), S = Ie(y, u[0], v), P = y[b], C = v.findIndex((I) => $e(I, P)), w = ee({
466
466
  config: e,
467
467
  splitByField: b,
468
468
  splitByValue: P,
@@ -504,11 +504,11 @@ function je(l) {
504
504
  function Ee(l) {
505
505
  const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = me(e), c = U(e.series);
506
506
  let f = je(t);
507
- const u = de(e), p = c !== g.PieFromFields ? X.Category : X.Fields, B = ye(e, p), b = z({
507
+ const u = de(e), p = c !== g.PieFromFields ? X.Category : X.Fields, v = ye(e, p), b = z({
508
508
  config: e,
509
509
  xAxisField: s,
510
510
  numericFields: u,
511
- aggregationType: B,
511
+ aggregationType: v,
512
512
  mode: p,
513
513
  layer: a,
514
514
  fieldList: o
@@ -527,7 +527,7 @@ function Ee(l) {
527
527
  return c === g.PieFromCategory && x.toLowerCase() === b.name.toLowerCase() && (y = b.description, F = b.name), d[y] = h({
528
528
  value: D[F],
529
529
  originalValue: D[F]
530
- }), d[v($.trim())] = h({
530
+ }), d[B($.trim())] = h({
531
531
  value: D[`${F}${$}`],
532
532
  originalValue: D[`${F}${$}`]
533
533
  }), d;
@@ -540,7 +540,7 @@ function Ee(l) {
540
540
  }), d.Value = h({
541
541
  value: m[x],
542
542
  originalValue: m[x]
543
- }), d[v($.trim())] = h({
543
+ }), d[B($.trim())] = h({
544
544
  value: m[`${x}${$}`],
545
545
  originalValue: m[`${x}${$}`]
546
546
  })), d;
@@ -558,7 +558,7 @@ function j(l) {
558
558
  }
559
559
  }
560
560
  function T(l) {
561
- const { rawData: e, outRow: t, config: a, boxPlotSubType: o, layer: i, fieldList: r, timeZone: n } = l, s = q(a), c = oe(a), f = _(a);
561
+ const { rawData: e, outRow: t, config: a, boxPlotSubType: o, layer: i, fieldList: r, timeZone: n } = l, s = H(a), c = oe(a), f = _(a);
562
562
  let u = V.Outlier;
563
563
  const p = R;
564
564
  switch (o) {
@@ -569,13 +569,13 @@ function T(l) {
569
569
  fieldList: r,
570
570
  timeZone: n
571
571
  });
572
- t[s] = x, t[v(V.Outlier)] = e[u];
572
+ t[s] = x, t[B(V.Outlier)] = e[u];
573
573
  break;
574
574
  }
575
575
  case g.BoxPlotMultiFieldsAndCategory: {
576
- t[v(s)] = e[s], u = `${c.find(
576
+ t[B(s)] = e[s], u = `${c.find(
577
577
  (D) => Object.keys(e).some((m) => m.toLowerCase().includes(D.toLowerCase()))
578
- ) ?? ""}_${u}`, t[v(V.Outlier)] = e[u];
578
+ ) ?? ""}_${u}`, t[B(V.Outlier)] = e[u];
579
579
  break;
580
580
  }
581
581
  case g.BoxPlotMonoFieldAndSplitBy:
@@ -587,7 +587,7 @@ function T(l) {
587
587
  fieldList: r,
588
588
  timeZone: n
589
589
  });
590
- u = `${x}_${u}`, t.Field = e[p], t[v(f)] = D, t[v(V.Outlier)] = e[u];
590
+ u = `${x}_${u}`, t.Field = e[p], t[B(f)] = D, t[B(V.Outlier)] = e[u];
591
591
  break;
592
592
  }
593
593
  case g.BoxPlotMonoFieldAndCategoryAndSplitBy: {
@@ -598,25 +598,25 @@ function T(l) {
598
598
  fieldList: r,
599
599
  timeZone: n
600
600
  });
601
- u = `${x}_${u}`, t[v(s)] = e[s], t[v(f)] = D, t[v(V.Outlier)] = e[u];
601
+ u = `${x}_${u}`, t[B(s)] = e[s], t[B(f)] = D, t[B(V.Outlier)] = e[u];
602
602
  break;
603
603
  }
604
604
  case g.BoxPlotMonoField:
605
605
  case g.BoxPlotMultiFields:
606
606
  default: {
607
- t.Field = e[p], t[v(V.Outlier)] = e[u];
607
+ t.Field = e[p], t[B(V.Outlier)] = e[u];
608
608
  break;
609
609
  }
610
610
  }
611
- const B = `${u}${Q}`, b = e[B];
612
- b !== void 0 && (t[`${v(V.Outlier)} Z-Score`] = b);
611
+ const v = `${u}${Q}`, b = e[v];
612
+ b !== void 0 && (t[`${B(V.Outlier)} Z-Score`] = b);
613
613
  }
614
614
  function Ue(l) {
615
- const { rawData: e, outRow: t, config: a, splitByValue: o, layer: i, fieldList: r, timeZone: n } = l, s = U(a.series), c = e[`${o}_${V.Average}`], f = _(a), u = q(a);
615
+ const { rawData: e, outRow: t, config: a, splitByValue: o, layer: i, fieldList: r, timeZone: n } = l, s = U(a.series), c = e[`${o}_${V.Average}`], f = _(a), u = H(a);
616
616
  let p = "";
617
617
  switch (s) {
618
618
  case g.BoxPlotMonoFieldAndSplitBy: {
619
- p = `${o}_${f}`, t.Field = e[R], t[v(f)] = M({
619
+ p = `${o}_${f}`, t.Field = e[R], t[B(f)] = M({
620
620
  field: f,
621
621
  value: e[p],
622
622
  layer: i,
@@ -626,7 +626,7 @@ function Ue(l) {
626
626
  break;
627
627
  }
628
628
  case g.BoxPlotMultiFieldsAndSplitBy: {
629
- p = `${o}_${V.Average}`, t.Field = e[R], t[v(f)] = M({
629
+ p = `${o}_${V.Average}`, t.Field = e[R], t[B(f)] = M({
630
630
  field: f,
631
631
  value: e[p],
632
632
  layer: i,
@@ -636,7 +636,7 @@ function Ue(l) {
636
636
  break;
637
637
  }
638
638
  case g.BoxPlotMonoFieldAndCategoryAndSplitBy: {
639
- p = `${o}_${V.Average}`, t[u] = e[u], t[v(f)] = M({
639
+ p = `${o}_${V.Average}`, t[u] = e[u], t[B(f)] = M({
640
640
  field: f,
641
641
  value: o,
642
642
  layer: i,
@@ -646,16 +646,16 @@ function Ue(l) {
646
646
  break;
647
647
  }
648
648
  }
649
- t[v(V.Average)] = c;
650
- const B = `${String(c)}${Q}`, b = e[B];
651
- b !== void 0 && (t[`${v(V.Average)} Z-Score`] = b);
649
+ t[B(V.Average)] = c;
650
+ const v = `${String(c)}${Q}`, b = e[v];
651
+ b !== void 0 && (t[`${B(V.Average)} Z-Score`] = b);
652
652
  }
653
653
  function Ze(l) {
654
654
  const { config: e, rows: t, layer: a, fieldList: o, formatters: i, useRendererLabel: r = !1, timeZone: n } = l, s = U(e.series);
655
655
  let c = s;
656
656
  const f = ce(e), u = Array.isArray(t) && t.length > 0 && t.every((m) => m[A.boxPlot.boxPlotMeanLineMarkerId] !== void 0);
657
657
  f && !u && (s === g.BoxPlotMonoFieldAndSplitBy ? c = g.BoxPlotMonoField : s === g.BoxPlotMultiFieldsAndSplitBy ? c = g.BoxPlotMultiFields : s === g.BoxPlotMonoFieldAndCategoryAndSplitBy && (c = g.BoxPlotMonoFieldAndCategory));
658
- const p = q(e), B = oe(e), b = ie(e), x = _(e);
658
+ const p = H(e), v = oe(e), b = ie(e), x = _(e);
659
659
  let D;
660
660
  switch (c) {
661
661
  case g.BoxPlotMonoField:
@@ -708,7 +708,7 @@ function Ze(l) {
708
708
  }
709
709
  case g.BoxPlotMultiFieldsAndCategory: {
710
710
  D = t.flatMap(
711
- (m) => B.map((d) => {
711
+ (m) => v.map((d) => {
712
712
  const y = {};
713
713
  let F = "";
714
714
  if (y.Field = d, m[A.boxPlot.boxPlotOutlierId])
@@ -4,7 +4,7 @@ import { cloneDeep as h } from "lodash-es";
4
4
  import { G as g } from "./common.js";
5
5
  import { i as c } from "./rest-js-object-literals.js";
6
6
  import { u as x } from "./chart-object-literals.js";
7
- import { af as S, I as L, T as b, Z as T } from "./index.js";
7
+ import { ag as S, J as L, T as b, _ as T } from "./index.js";
8
8
  import { M as C } from "./index2.js";
9
9
  import { q as X, p as B } from "./index5.js";
10
10
  import { m as a, C as f } from "./model-setter.js";
@@ -57,22 +57,22 @@ const V = (t) => {
57
57
  }, $ = (t) => {
58
58
  const { name: e, axis: i, index: s } = d(t);
59
59
  i?.guides?.[s] !== void 0 && (i.guides[s].name = e);
60
- }, I = (t) => {
60
+ }, N = (t) => {
61
61
  const { axis: e, index: i } = d(t);
62
62
  return e?.guides?.[i]?.label?.text;
63
- }, N = (t) => {
63
+ }, I = (t) => {
64
64
  const { labelText: e, axis: i, index: s } = d(t), o = i?.guides?.[s]?.label ?? S(e, L(b.GuideLabel), b.GuideLabel);
65
65
  i?.guides?.[s] !== void 0 && (i.guides[s].label = { ...o, text: e });
66
66
  }, q = (t) => {
67
67
  const { axis: e, index: i } = d(t);
68
68
  return e?.guides?.[i]?.above ?? !1;
69
- }, U = (t) => {
69
+ }, J = (t) => {
70
70
  const { above: e, axis: i, index: s } = d(t);
71
71
  i?.guides?.[s] !== void 0 && (i.guides[s].above = e);
72
- }, Y = (t) => {
72
+ }, U = (t) => {
73
73
  const { axis: e, index: i } = d(t);
74
74
  return e?.guides?.[i]?.style;
75
- }, Z = (t) => {
75
+ }, Y = (t) => {
76
76
  const { style: e, axis: i, index: s } = d(t);
77
77
  i?.guides?.[s] !== void 0 && (i.guides[s].style = e);
78
78
  }, Ge = (t) => {
@@ -97,10 +97,10 @@ const V = (t) => {
97
97
  const { reverseColor: e, axis: i, index: s } = d(t);
98
98
  i?.guides?.[s] !== void 0 && (i.guides[s].tooltipReverseColor = e);
99
99
  };
100
- var J = Object.defineProperty, K = Object.getOwnPropertyDescriptor, u = (t, e, i, s) => {
101
- for (var o = K(e, i), n = t.length - 1, r; n >= 0; n--)
100
+ var K = Object.defineProperty, Q = Object.getOwnPropertyDescriptor, u = (t, e, i, s) => {
101
+ for (var o = Q(e, i), n = t.length - 1, r; n >= 0; n--)
102
102
  (r = t[n]) && (o = r(e, i, o) || o);
103
- return o && J(e, i, o), o;
103
+ return o && K(e, i, o), o;
104
104
  };
105
105
  class l extends _ {
106
106
  /**
@@ -167,10 +167,10 @@ class l extends _ {
167
167
  * @param orientation - Default `y`. The axis orientation of the guide.
168
168
  */
169
169
  getGuideLabelText(e, i) {
170
- return I({ config: this._config, index: e, orientation: i });
170
+ return N({ config: this._config, index: e, orientation: i });
171
171
  }
172
172
  setGuideLabelText(e, i, s) {
173
- N({ labelText: e, config: this._config, index: i, orientation: s });
173
+ I({ labelText: e, config: this._config, index: i, orientation: s });
174
174
  }
175
175
  /**
176
176
  * Gets whether the guide should be rendered above the other chart elements.
@@ -182,7 +182,7 @@ class l extends _ {
182
182
  return q({ config: this._config, index: e, orientation: i });
183
183
  }
184
184
  setGuideAbove(e, i, s) {
185
- U({ above: e, config: this._config, index: i, orientation: s });
185
+ J({ above: e, config: this._config, index: i, orientation: s });
186
186
  }
187
187
  /**
188
188
  * Gets the guide style.
@@ -191,10 +191,10 @@ class l extends _ {
191
191
  * @param orientation - Default `y`. The axis orientation of the guide.
192
192
  */
193
193
  getGuideStyle(e, i) {
194
- return Y({ config: this._config, index: e, orientation: i });
194
+ return U({ config: this._config, index: e, orientation: i });
195
195
  }
196
196
  setGuideStyle(e, i, s) {
197
- Z({ style: e, config: this._config, index: i, orientation: s });
197
+ Y({ style: e, config: this._config, index: i, orientation: s });
198
198
  }
199
199
  /**
200
200
  * Gets whether the tooltip text color should be reversed for a guide.
@@ -249,10 +249,10 @@ class he extends f {
249
249
  });
250
250
  }
251
251
  }
252
- var Q = Object.defineProperty, k = Object.getOwnPropertyDescriptor, ee = (t, e, i, s) => {
252
+ var Z = Object.defineProperty, k = Object.getOwnPropertyDescriptor, ee = (t, e, i, s) => {
253
253
  for (var o = k(e, i), n = t.length - 1, r; n >= 0; n--)
254
254
  (r = t[n]) && (o = r(e, i, o) || o);
255
- return o && Q(e, i, o), o;
255
+ return o && Z(e, i, o), o;
256
256
  };
257
257
  const ie = (t) => p({ config: t, axisIndex: 0, isMax: !0 }), te = (t, e) => {
258
258
  y({ config: t, value: e, axisIndex: 0, isMax: !0 });