@arcgis/charts-components 5.2.0-next.31 → 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,7 +1,7 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import K from "@esri/arcgis-html-sanitizer";
3
3
  import { isEmpty as U, isEqual as C } from "lodash-es";
4
- import { ao as x, ax as q, aw as X, aB as $, ad as Y, D as L, L as Q, r as Z, o as j, ay as J } from "./index.js";
4
+ import { ap as x, ay as q, ax as X, aC as $, ae as Y, E as L, L as Q, s as Z, p as j, az as J } from "./index.js";
5
5
  import { g as S } from "./series-types.js";
6
6
  import { p as b, q as ee, l as te, k as ie, s as p, u as n, g as ae } from "./chart-object-literals.js";
7
7
  import { g as T, i as y, h as re } from "./rest-js-object-literals.js";
@@ -598,9 +598,9 @@ function Ae(t) {
598
598
  maxLineTwoSeriesCountPerSeries: k,
599
599
  maxLineTwoSeriesCountTotal: O,
600
600
  maxLineThreePlusSeriesCountPerSeries: R,
601
- maxLineThreePlusSeriesCountTotal: w,
602
- maxPieChartSliceCountTotal: z,
603
- maxGaugeByFeaturesLimit: N,
601
+ maxLineThreePlusSeriesCountTotal: z,
602
+ maxPieChartSliceCountTotal: N,
603
+ maxGaugeByFeaturesLimit: w,
604
604
  maxBoxPlotSeriesCount: I,
605
605
  maxBoxUniqueSeriesCountTotal: D,
606
606
  maxBoxTwoSeriesCountTotal: W,
@@ -621,11 +621,11 @@ function Ae(t) {
621
621
  case n.RadarSeries:
622
622
  {
623
623
  const g = e / i;
624
- i <= v ? i === 0 ? o = !0 : i === 1 ? o = e <= M : i === 2 ? o = e <= O && g <= k : i > 2 && (o = e <= w && g <= R) : o = !1;
624
+ i <= v ? i === 0 ? o = !0 : i === 1 ? o = e <= M : i === 2 ? o = e <= O && g <= k : i > 2 && (o = e <= z && g <= R) : o = !1;
625
625
  }
626
626
  break;
627
627
  case n.PieSeries:
628
- o = e <= z;
628
+ o = e <= N;
629
629
  break;
630
630
  case n.BoxPlotSeries:
631
631
  {
@@ -637,7 +637,7 @@ function Ae(t) {
637
637
  o = e <= H;
638
638
  break;
639
639
  case n.GaugeSeries:
640
- o = e <= N;
640
+ o = e <= w;
641
641
  break;
642
642
  }
643
643
  }
@@ -789,10 +789,10 @@ function Re(t, e) {
789
789
  s !== void 0 && (s.visible = a);
790
790
  }
791
791
  }
792
- function we(t) {
792
+ function ze(t) {
793
793
  return new K().sanitize(t);
794
794
  }
795
- function ze(t) {
795
+ function Ne(t) {
796
796
  return t != null && !Number.isNaN(t) && Number.isFinite(t);
797
797
  }
798
798
  function ce(t, e) {
@@ -803,7 +803,7 @@ function ce(t, e) {
803
803
  }
804
804
  return i;
805
805
  }
806
- function Ne(t) {
806
+ function we(t) {
807
807
  return t.orderOptions?.orderByFields?.map((e) => ce(e).fieldToSort) ?? [];
808
808
  }
809
809
  function Ie(t) {
@@ -864,7 +864,7 @@ const He = {
864
864
  };
865
865
  export {
866
866
  ne as A,
867
- we as B,
867
+ ze as B,
868
868
  h as C,
869
869
  Ve as D,
870
870
  Re as E,
@@ -879,7 +879,7 @@ export {
879
879
  Fe as f,
880
880
  fe as g,
881
881
  ce as h,
882
- Ne as i,
882
+ we as i,
883
883
  Oe as j,
884
884
  Ce as k,
885
885
  Le as l,
@@ -894,7 +894,7 @@ export {
894
894
  We as u,
895
895
  Ie as v,
896
896
  ve as w,
897
- ze as x,
897
+ Ne as x,
898
898
  He as y,
899
899
  Be as z
900
900
  };
@@ -3,13 +3,13 @@ import { substitute as f } from "@arcgis/core/intl.js";
3
3
  import E from "ajv";
4
4
  import { g as w } from "./runtime.js";
5
5
  import { fetchT9nStringsBundle as S, getElementLocale as v } from "@arcgis/toolkit/intl";
6
- import { C as u, d1 as M, Y as T, m as F, Z as V, af as z, ak as G, E as A, aw as U, I as L, a7 as D, bk as H, a as $, aF as J, bg as _, cq as Q, V as K, k as Z, n as X, l as Y, b9 as ee, aG as te } from "./index2.js";
7
- import { g as ie, az as re } from "./index.js";
6
+ import { C as u, d2 as M, Y as T, m as F, Z as V, af as z, ak as G, E as A, aw as U, I as L, a7 as D, bk as H, a as $, aF as J, bg as _, cq as K, V as Q, k as Z, n as X, l as Y, b9 as ee, aG as te } from "./index2.js";
7
+ import { g as ie, aA as re } from "./index.js";
8
8
  import { q as x, C as h, h as ne } from "./index3.js";
9
9
  import { g as C } from "./series-types.js";
10
- import { u as d, v as ae, r as oe } from "./chart-object-literals.js";
10
+ import { u as l, v as ae, r as oe } from "./chart-object-literals.js";
11
11
  import { R as se } from "./rest-js-object-literals.js";
12
- import { c as le } from "./type-guards.js";
12
+ import { c as de } from "./type-guards.js";
13
13
  const b = {
14
14
  $schema: "http://json-schema.org/draft-07/schema#",
15
15
  definitions: {
@@ -9670,6 +9670,26 @@ If not provided the series will be displayed as they are ordered in the config.`
9670
9670
  }
9671
9671
  },
9672
9672
  description: "Chart order options for data and series."
9673
+ },
9674
+ roundCorners: {
9675
+ type: "object",
9676
+ properties: {
9677
+ rounded: {
9678
+ type: "boolean",
9679
+ description: "Whether to round top bar corners.\n\nNOTE: Applies only to bar charts and to the bar series in combo bar-line charts. `false` or `undefined` - keep square corners. `true` - top corners are rounded. Known limitation: Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).",
9680
+ default: !1
9681
+ },
9682
+ cornerRadius: {
9683
+ type: "number",
9684
+ description: "Specifies the corner radius applied to rounded corners when `rounded` is `true`.\n\nNOTE: Applies only to bar charts and to the bar series in combo bar-line charts. If `undefined`, a default radius of `5` is used. If `rounded` is `false` or `undefined`, this value is ignored. Known limitation: Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).",
9685
+ minimum: 0,
9686
+ multipleOf: 1
9687
+ }
9688
+ },
9689
+ required: [
9690
+ "rounded"
9691
+ ],
9692
+ description: "Rounded corners properties for charts supporting rounded corners. NOTE: Applies only to bar charts and to the bar series in combo bar-line charts."
9673
9693
  }
9674
9694
  },
9675
9695
  required: [
@@ -9836,6 +9856,26 @@ If not provided the series will be displayed as they are ordered in the config.`
9836
9856
  },
9837
9857
  description: "Chart order options for data and series."
9838
9858
  },
9859
+ roundCorners: {
9860
+ type: "object",
9861
+ properties: {
9862
+ rounded: {
9863
+ type: "boolean",
9864
+ description: "Whether to round top bar corners.\n\nNOTE: Applies only to bar charts and to the bar series in combo bar-line charts. `false` or `undefined` - keep square corners. `true` - top corners are rounded. Known limitation: Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).",
9865
+ default: !1
9866
+ },
9867
+ cornerRadius: {
9868
+ type: "number",
9869
+ description: "Specifies the corner radius applied to rounded corners when `rounded` is `true`.\n\nNOTE: Applies only to bar charts and to the bar series in combo bar-line charts. If `undefined`, a default radius of `5` is used. If `rounded` is `false` or `undefined`, this value is ignored. Known limitation: Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).",
9870
+ minimum: 0,
9871
+ multipleOf: 1
9872
+ }
9873
+ },
9874
+ required: [
9875
+ "rounded"
9876
+ ],
9877
+ description: "Rounded corners properties for charts supporting rounded corners. NOTE: Applies only to bar charts and to the bar series in combo bar-line charts."
9878
+ },
9839
9879
  innerRadius: {
9840
9880
  type: [
9841
9881
  "number",
@@ -10034,6 +10074,26 @@ If not provided the series will be displayed as they are ordered in the config.`
10034
10074
  },
10035
10075
  description: "Chart order options for data and series."
10036
10076
  },
10077
+ roundCorners: {
10078
+ type: "object",
10079
+ properties: {
10080
+ rounded: {
10081
+ type: "boolean",
10082
+ description: "Whether to round top bar corners.\n\nNOTE: Applies only to bar charts and to the bar series in combo bar-line charts. `false` or `undefined` - keep square corners. `true` - top corners are rounded. Known limitation: Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).",
10083
+ default: !1
10084
+ },
10085
+ cornerRadius: {
10086
+ type: "number",
10087
+ description: "Specifies the corner radius applied to rounded corners when `rounded` is `true`.\n\nNOTE: Applies only to bar charts and to the bar series in combo bar-line charts. If `undefined`, a default radius of `5` is used. If `rounded` is `false` or `undefined`, this value is ignored. Known limitation: Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).",
10088
+ minimum: 0,
10089
+ multipleOf: 1
10090
+ }
10091
+ },
10092
+ required: [
10093
+ "rounded"
10094
+ ],
10095
+ description: "Rounded corners properties for charts supporting rounded corners. NOTE: Applies only to bar charts and to the bar series in combo bar-line charts."
10096
+ },
10037
10097
  showOutliers: {
10038
10098
  type: "boolean",
10039
10099
  description: "Whether to show the outliers on the chart."
@@ -10216,6 +10276,26 @@ If not provided the series will be displayed as they are ordered in the config.`
10216
10276
  }
10217
10277
  },
10218
10278
  description: "Chart order options for data and series."
10279
+ },
10280
+ roundCorners: {
10281
+ type: "object",
10282
+ properties: {
10283
+ rounded: {
10284
+ type: "boolean",
10285
+ description: "Whether to round top bar corners.\n\nNOTE: Applies only to bar charts and to the bar series in combo bar-line charts. `false` or `undefined` - keep square corners. `true` - top corners are rounded. Known limitation: Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).",
10286
+ default: !1
10287
+ },
10288
+ cornerRadius: {
10289
+ type: "number",
10290
+ description: "Specifies the corner radius applied to rounded corners when `rounded` is `true`.\n\nNOTE: Applies only to bar charts and to the bar series in combo bar-line charts. If `undefined`, a default radius of `5` is used. If `rounded` is `false` or `undefined`, this value is ignored. Known limitation: Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).",
10291
+ minimum: 0,
10292
+ multipleOf: 1
10293
+ }
10294
+ },
10295
+ required: [
10296
+ "rounded"
10297
+ ],
10298
+ description: "Rounded corners properties for charts supporting rounded corners. NOTE: Applies only to bar charts and to the bar series in combo bar-line charts."
10219
10299
  }
10220
10300
  },
10221
10301
  required: [
@@ -10383,6 +10463,26 @@ If not provided the series will be displayed as they are ordered in the config.`
10383
10463
  },
10384
10464
  description: "Chart order options for data and series."
10385
10465
  },
10466
+ roundCorners: {
10467
+ type: "object",
10468
+ properties: {
10469
+ rounded: {
10470
+ type: "boolean",
10471
+ description: "Whether to round top bar corners.\n\nNOTE: Applies only to bar charts and to the bar series in combo bar-line charts. `false` or `undefined` - keep square corners. `true` - top corners are rounded. Known limitation: Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).",
10472
+ default: !1
10473
+ },
10474
+ cornerRadius: {
10475
+ type: "number",
10476
+ description: "Specifies the corner radius applied to rounded corners when `rounded` is `true`.\n\nNOTE: Applies only to bar charts and to the bar series in combo bar-line charts. If `undefined`, a default radius of `5` is used. If `rounded` is `false` or `undefined`, this value is ignored. Known limitation: Rounded corners are not rendered when chart interactions are disabled (`interactionsDisabled` or `disableInteractions` is `true`).",
10477
+ minimum: 0,
10478
+ multipleOf: 1
10479
+ }
10480
+ },
10481
+ required: [
10482
+ "rounded"
10483
+ ],
10484
+ description: "Rounded corners properties for charts supporting rounded corners. NOTE: Applies only to bar charts and to the bar series in combo bar-line charts."
10485
+ },
10386
10486
  hideEmptyRowsAndColumns: {
10387
10487
  type: "boolean",
10388
10488
  description: "Whether to hide entire rows or columns that are empty (i.e. contain no valid data).",
@@ -10408,11 +10508,11 @@ If not provided the series will be displayed as they are ordered in the config.`
10408
10508
  description: "Gives a JSON representation of the heat chart object.",
10409
10509
  title: "WebHeatChart"
10410
10510
  },
10411
- 'Omit<(structure-1066060463-59771-61514-1066060463-59696-61515-1066060463-55801-61517-1066060463-0-64570|undefined)937098756,("data"|"orderByFields")>': {
10412
- $ref: "#/definitions/Pick%3C(structure-1066060463-59771-61514-1066060463-59696-61515-1066060463-55801-61517-1066060463-0-64570%7Cundefined)937098756%2CExclude%3C(%22series%22%7C%22data%22%7C%22orderByFields%22)%2C(%22data%22%7C%22orderByFields%22)%3E%3E",
10413
- title: 'Omit<(structure-1066060463-59771-61514-1066060463-59696-61515-1066060463-55801-61517-1066060463-0-64570|undefined)937098756,("data"|"orderByFields")>'
10511
+ 'Omit<(structure-1066060463-59738-61481-1066060463-59663-61482-1066060463-55768-62670-1066060463-0-65723|undefined)937098756,("data"|"orderByFields")>': {
10512
+ $ref: "#/definitions/Pick%3C(structure-1066060463-59738-61481-1066060463-59663-61482-1066060463-55768-62670-1066060463-0-65723%7Cundefined)937098756%2CExclude%3C(%22series%22%7C%22data%22%7C%22orderByFields%22)%2C(%22data%22%7C%22orderByFields%22)%3E%3E",
10513
+ title: 'Omit<(structure-1066060463-59738-61481-1066060463-59663-61482-1066060463-55768-62670-1066060463-0-65723|undefined)937098756,("data"|"orderByFields")>'
10414
10514
  },
10415
- 'Pick<(structure-1066060463-59771-61514-1066060463-59696-61515-1066060463-55801-61517-1066060463-0-64570|undefined)937098756,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>': {
10515
+ 'Pick<(structure-1066060463-59738-61481-1066060463-59663-61482-1066060463-55768-62670-1066060463-0-65723|undefined)937098756,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>': {
10416
10516
  type: "object",
10417
10517
  properties: {
10418
10518
  series: {
@@ -10423,7 +10523,7 @@ If not provided the series will be displayed as they are ordered in the config.`
10423
10523
  }
10424
10524
  },
10425
10525
  additionalProperties: !1,
10426
- title: 'Pick<(structure-1066060463-59771-61514-1066060463-59696-61515-1066060463-55801-61517-1066060463-0-64570|undefined)937098756,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>'
10526
+ title: 'Pick<(structure-1066060463-59738-61481-1066060463-59663-61482-1066060463-55768-62670-1066060463-0-65723|undefined)937098756,Exclude<("series"|"data"|"orderByFields"),("data"|"orderByFields")>>'
10427
10527
  },
10428
10528
  OverlayTerms: {
10429
10529
  type: "string",
@@ -10619,20 +10719,20 @@ async function R(i, r) {
10619
10719
  }
10620
10720
  return n;
10621
10721
  }
10622
- function de() {
10722
+ function le() {
10623
10723
  const i = new E({ allErrors: !0 });
10624
10724
  return async (r, n) => {
10625
10725
  let e = [];
10626
10726
  const t = C(r?.series);
10627
10727
  let a = b;
10628
10728
  switch (t) {
10629
- case d.GaugeSeries:
10729
+ case l.GaugeSeries:
10630
10730
  a = g(b, "WebGaugeChart");
10631
10731
  break;
10632
- case d.BoxPlotSeries:
10732
+ case l.BoxPlotSeries:
10633
10733
  a = g(b, "WebBoxPlot");
10634
10734
  break;
10635
- case d.RadarSeries:
10735
+ case l.RadarSeries:
10636
10736
  a = g(b, "WebRadarChart");
10637
10737
  break;
10638
10738
  default:
@@ -10643,20 +10743,20 @@ function de() {
10643
10743
  return o(r), o.errors !== null && o.errors !== void 0 && (e = await j(o.errors, n)), e;
10644
10744
  };
10645
10745
  }
10646
- const pe = de();
10647
- async function P(i) {
10746
+ const pe = le();
10747
+ async function q(i) {
10648
10748
  const { seriesConfigs: r, queryObject: n, allowUsingObjectIdStat: e, errorStrings: t } = i, a = [], o = n ? L(n) : void 0, p = t ?? (await S(
10649
10749
  v(document.documentElement).t9nLocale,
10650
10750
  w("./assets/common/t9n"),
10651
10751
  "messages."
10652
10752
  )).errorStrings;
10653
- for (let l = 0; l < r.length; l += 1) {
10654
- const y = r[l].query?.outStatistics;
10753
+ for (let d = 0; d < r.length; d += 1) {
10754
+ const y = r[d].query?.outStatistics;
10655
10755
  if (y !== void 0)
10656
10756
  for (let m = 0; m < y.length; m += 1) {
10657
10757
  const s = y[m], c = D(s.onStatisticField, o);
10658
10758
  if (c && !(c.type === se.OID && e || H(c)) && s.statisticType !== oe.Count) {
10659
- const W = `series[${l}].query.outStatistics[${m}]`;
10759
+ const W = `series[${d}].query.outStatistics[${m}]`;
10660
10760
  a.push({
10661
10761
  keyword: $.NonNumericAggregation,
10662
10762
  message: f(p.errors.nonNumericAggregation, { dataPath: W }),
@@ -10672,7 +10772,7 @@ async function P(i) {
10672
10772
  }
10673
10773
  return a;
10674
10774
  }
10675
- async function q(i, r) {
10775
+ async function P(i, r) {
10676
10776
  const n = [], e = r ?? (await S(
10677
10777
  v(document.documentElement).t9nLocale,
10678
10778
  w("./assets/common/t9n"),
@@ -10683,15 +10783,15 @@ async function q(i, r) {
10683
10783
  let a = 0;
10684
10784
  i.series.forEach((o, p) => {
10685
10785
  if (t.add(o.id), t.size === a) {
10686
- const l = `series[${p}].id`;
10786
+ const d = `series[${p}].id`;
10687
10787
  n.push({
10688
10788
  keyword: $.DuplicateSeriesID,
10689
10789
  message: f(e.errors.duplicateSeriesID, {
10690
- dataPath: l,
10790
+ dataPath: d,
10691
10791
  seriesID: o.id,
10692
10792
  seriesName: o.name
10693
10793
  }),
10694
- dataPath: l,
10794
+ dataPath: d,
10695
10795
  params: { seriesId: o.id, seriesName: o.name }
10696
10796
  });
10697
10797
  } else
@@ -10704,8 +10804,8 @@ function k(i) {
10704
10804
  const r = /* @__PURE__ */ new Set(), n = J(i);
10705
10805
  if (n) {
10706
10806
  const e = C(i.series), t = T(i.series);
10707
- e === d.GaugeSeries && !_(i) || t === h.PieFromFields || t === h.BarAndLineFromFields || t === h.BoxPlotMonoField || t === h.BoxPlotMultiFields || t === h.BoxPlotMonoFieldAndSplitBy || t === h.BoxPlotMultiFieldsAndSplitBy || r.add(n.x);
10708
- const p = e === d.ScatterSeries || e === d.BoxPlotSeries || e === d.HeatSeries || t === h.BarAndLineNoAggregation || t === h.BarAndLineSplitByNoAggregation || t === h.PieNoAggregation, l = [
10807
+ e === l.GaugeSeries && !_(i) || t === h.PieFromFields || t === h.BarAndLineFromFields || t === h.BoxPlotMonoField || t === h.BoxPlotMultiFields || t === h.BoxPlotMonoFieldAndSplitBy || t === h.BoxPlotMultiFieldsAndSplitBy || r.add(n.x);
10808
+ const p = e === l.ScatterSeries || e === l.BoxPlotSeries || e === l.HeatSeries || t === h.BarAndLineNoAggregation || t === h.BarAndLineSplitByNoAggregation || t === h.PieNoAggregation, d = [
10709
10809
  ie,
10710
10810
  F,
10711
10811
  Z,
@@ -10714,10 +10814,10 @@ function k(i) {
10714
10814
  re.outStatistics.outStatisticFieldName ?? ""
10715
10815
  ];
10716
10816
  let y = [];
10717
- Q(i) ? y = K({
10817
+ K(i) ? y = Q({
10718
10818
  showMean: i.showMean,
10719
10819
  seriesConfig: i.series
10720
- }) : y = i.series.map((s) => "y" in s ? s.y : void 0).filter((s) => s !== void 0).flat(), p ? y.forEach((s) => r.add(s)) : l.push(...y), i.series.forEach((s) => {
10820
+ }) : y = i.series.map((s) => "y" in s ? s.y : void 0).filter((s) => s !== void 0).flat(), p ? y.forEach((s) => r.add(s)) : d.push(...y), i.series.forEach((s) => {
10721
10821
  const { query: c } = s;
10722
10822
  c && (ee(c.where) || r.add(te(c.where)), c.groupByFieldsForStatistics && c.groupByFieldsForStatistics.forEach((I) => r.add(I)), c.outStatistics && c.outStatistics.forEach((I) => r.add(I.onStatisticField)));
10723
10823
  });
@@ -10725,11 +10825,11 @@ function k(i) {
10725
10825
  if (i.orderOptions?.orderByFields && m && i.orderOptions.orderByFields.forEach((s) => {
10726
10826
  const c = ne(s).fieldToSort;
10727
10827
  r.add(c);
10728
- }), e === d.GaugeSeries && i.axes?.[0] !== void 0) {
10828
+ }), e === l.GaugeSeries && i.axes?.[0] !== void 0) {
10729
10829
  const s = i.axes?.[0];
10730
10830
  s && "minimumFromField" in s && typeof s.minimumFromField == "string" && r.add(s.minimumFromField), s && "maximumFromField" in s && typeof s.maximumFromField == "string" && r.add(s.maximumFromField);
10731
10831
  }
10732
- l.forEach((s) => {
10832
+ d.forEach((s) => {
10733
10833
  r.delete(s);
10734
10834
  });
10735
10835
  }
@@ -10742,9 +10842,9 @@ async function ce(i) {
10742
10842
  v(document.documentElement).t9nLocale,
10743
10843
  w("./assets/common/t9n"),
10744
10844
  "messages."
10745
- )).errorStrings, o = le(n) ? U({ layer: n, chartType: C(r.series) }) : L(n), l = k(r).filter((y) => !D(y, o));
10746
- if (l.length > 0) {
10747
- const y = l.join(", ");
10845
+ )).errorStrings, o = de(n) ? U({ layer: n, chartType: C(r.series) }) : L(n), d = k(r).filter((y) => !D(y, o));
10846
+ if (d.length > 0) {
10847
+ const y = d.join(", ");
10748
10848
  t = {
10749
10849
  keyword: A.LayerFieldsNotFound,
10750
10850
  message: f(a.errors.layerFieldsNotFound, { fieldNames: y }),
@@ -10757,7 +10857,7 @@ async function B(i) {
10757
10857
  const { input: r, queryObject: n, allowUsingObjectIdStat: e, errorStrings: t } = i;
10758
10858
  let a = [];
10759
10859
  if (n !== void 0) {
10760
- const o = await P({
10860
+ const o = await q({
10761
10861
  seriesConfigs: r.series,
10762
10862
  queryObject: n,
10763
10863
  allowUsingObjectIdStat: e,
@@ -10765,7 +10865,7 @@ async function B(i) {
10765
10865
  });
10766
10866
  a = a.concat(o);
10767
10867
  }
10768
- return a = a.concat(await q(r, t)), a;
10868
+ return a = a.concat(await P(r, t)), a;
10769
10869
  }
10770
10870
  async function N(i) {
10771
10871
  const { queryObject: r, chartConfig: n, errorStrings: e } = i;
@@ -10788,11 +10888,11 @@ async function Ce(i) {
10788
10888
  a = { valid: !0, schemaErrors: [], customErrors: [], warnings: [] };
10789
10889
  else {
10790
10890
  const o = await pe(r, t);
10791
- let p = [], l = [];
10792
- r !== void 0 && o.length === 0 && (l = await N({ queryObject: n, chartConfig: r, errorStrings: t }), l.length === 0 && (p = await B({ input: r, queryObject: n, allowUsingObjectIdStat: e, errorStrings: t }))), a = {
10793
- valid: o.length === 0 && p.length === 0 && l.length === 0,
10891
+ let p = [], d = [];
10892
+ r !== void 0 && o.length === 0 && (d = await N({ queryObject: n, chartConfig: r, errorStrings: t }), d.length === 0 && (p = await B({ input: r, queryObject: n, allowUsingObjectIdStat: e, errorStrings: t }))), a = {
10893
+ valid: o.length === 0 && p.length === 0 && d.length === 0,
10794
10894
  schemaErrors: o,
10795
- customErrors: l,
10895
+ customErrors: d,
10796
10896
  warnings: p
10797
10897
  };
10798
10898
  }
@@ -10802,35 +10902,35 @@ function Te(i) {
10802
10902
  const r = C(i?.series);
10803
10903
  let n = !1;
10804
10904
  switch (r) {
10805
- case d.HistogramSeries:
10806
- case d.GaugeSeries: {
10905
+ case l.HistogramSeries:
10906
+ case l.GaugeSeries: {
10807
10907
  n = (i?.series?.[0]?.x?.trim()?.length ?? 0) === 0;
10808
10908
  break;
10809
10909
  }
10810
- case d.ScatterSeries: {
10910
+ case l.ScatterSeries: {
10811
10911
  const e = i?.series;
10812
10912
  n = (e?.[0]?.x?.length ?? 0) === 0 || (e?.[0]?.y?.length ?? 0) === 0;
10813
10913
  break;
10814
10914
  }
10815
- case d.PieSeries: {
10915
+ case l.PieSeries: {
10816
10916
  const e = i?.series;
10817
10917
  T(e) === h.PieFromFields ? n = (e?.[0]?.query?.outStatistics?.length ?? 0) === 0 : n = (e?.[0]?.x?.length ?? 0) === 0 || e?.[0]?.x === F;
10818
10918
  break;
10819
10919
  }
10820
- case d.BoxPlotSeries: {
10920
+ case l.BoxPlotSeries: {
10821
10921
  const e = i?.series;
10822
10922
  n = [e?.[0]?.y].flat().length === 0 || e?.[0]?.y === "";
10823
10923
  break;
10824
10924
  }
10825
- case d.ComboLineAndBarSeries:
10826
- case d.RadarSeries:
10827
- case d.BarSeries:
10828
- case d.LineSeries: {
10925
+ case l.ComboLineAndBarSeries:
10926
+ case l.RadarSeries:
10927
+ case l.BarSeries:
10928
+ case l.LineSeries: {
10829
10929
  const e = i?.series;
10830
10930
  T(e) === h.BarAndLineFromFields ? n = (e?.[0]?.query?.outStatistics?.length ?? 0) === 0 : n = (e?.[0]?.x?.trim()?.length ?? 0) === 0;
10831
10931
  break;
10832
10932
  }
10833
- case d.HeatSeries: {
10933
+ case l.HeatSeries: {
10834
10934
  const e = i?.series, t = x(e?.[0]?.x) || x(e?.[0]?.y), a = i !== void 0 && M(i) ? !1 : e?.[0]?.xTemporalBinning === void 0;
10835
10935
  n = t || a;
10836
10936
  break;
@@ -10841,8 +10941,8 @@ function Te(i) {
10841
10941
  const xe = {
10842
10942
  findCustomErrors: N,
10843
10943
  findWarnings: B,
10844
- findNumericAggregationWarnings: P,
10845
- findDuplicateSeriesIDWarnings: q,
10944
+ findNumericAggregationWarnings: q,
10945
+ findDuplicateSeriesIDWarnings: P,
10846
10946
  findLayerLoadError: R,
10847
10947
  createStartingSchema: g,
10848
10948
  extractSchemaNameFromRefPath: O,
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { u as m } from "./chart-object-literals.js";
3
- import { U as S, Y as n, am as d, aB as c } from "./index.js";
3
+ import { V as S, Z as n, an as d, aC as c } from "./index.js";
4
4
  import { an as a } from "./index2.js";
5
5
  import { m as y } from "./model-setter.js";
6
6
  import { M as g } from "./model-with-line-marker-styling.js";
@@ -2,7 +2,7 @@
2
2
  import { fetchT9nStringsBundle as d, getElementLocale as c } from "@arcgis/toolkit/intl";
3
3
  import { g } from "./runtime.js";
4
4
  import { convertChartSpec as h } from "../utils/chart-config/converter/index.js";
5
- import { S as f } from "./index.js";
5
+ import { U as f } from "./index.js";
6
6
  import { ac as o, bw as l, I as y, an as u } from "./index2.js";
7
7
  import "lodash-es";
8
8
  import "luxon";
@@ -3,9 +3,9 @@ import { C as b } from "./chart-model.js";
3
3
  import { r as o, k as h, s as x, l as A, m as C, n as m, o as L, p as V, f as v } from "./utils.js";
4
4
  import { cloneDeep as T } from "lodash-es";
5
5
  import { j as y } from "./chart-object-literals.js";
6
- import { G as g } from "./index.js";
6
+ import { H as g } from "./index.js";
7
7
  import { m as r } from "./model-setter.js";
8
- import { g as S, b as B, e as G, f as M, c as O, d as D, a as I, s as z } from "./utils2.js";
8
+ 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";
9
9
  import { M as _, b as H, d as Y } from "./x-bounds.js";
10
10
  import { G as p } from "./common.js";
11
11
  const P = (t) => {
@@ -112,7 +112,7 @@ class a extends b {
112
112
  return o({
113
113
  config: this._config,
114
114
  axisIndex: i,
115
- func: (s) => G(s, this._config)
115
+ func: (s) => M(s, this._config)
116
116
  }) ?? !0;
117
117
  }
118
118
  /**
@@ -127,7 +127,7 @@ class a extends b {
127
127
  config: this._config,
128
128
  axisIndex: s,
129
129
  func: (e) => {
130
- M(i, e, this._config), this.emitConfigUpdate("setAxisLabelsVisibility");
130
+ O(i, e, this._config), this.emitConfigUpdate("setAxisLabelsVisibility");
131
131
  }
132
132
  });
133
133
  });
@@ -141,7 +141,7 @@ class a extends b {
141
141
  return o({
142
142
  config: this._config,
143
143
  axisIndex: i,
144
- func: (s) => O(s, this._config)
144
+ func: (s) => D(s, this._config)
145
145
  }) ?? !1;
146
146
  }
147
147
  setAxisTitleVisibility(i, s) {
@@ -149,7 +149,7 @@ class a extends b {
149
149
  config: this._config,
150
150
  axisIndex: s,
151
151
  func: (e) => {
152
- D(i, e, this._config);
152
+ G(i, e, this._config);
153
153
  }
154
154
  });
155
155
  }
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { s as c, a as k, g as b, b as n } from "./series.js";
3
- import { X as m } from "./index.js";
3
+ import { Y as m } from "./index.js";
4
4
  import { g as i, m as a } from "./index5.js";
5
5
  import { C as v, m as y } from "./model-setter.js";
6
6
  const f = (s, e) => {
@@ -34,7 +34,7 @@ const f = (s, e) => {
34
34
  }, q = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].showArea ?? !1 : !1, R = (s) => {
35
35
  const { visible: e, seriesIndex: r, config: t } = s;
36
36
  (i(t.series[r]) || a(t.series[r])) && (t.series[r].showArea = e);
37
- }, X = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].markerVisible ?? !0 : !1, E = (s) => {
37
+ }, Y = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].markerVisible ?? !0 : !1, E = (s) => {
38
38
  const { visible: e, seriesIndex: r, config: t } = s;
39
39
  (i(t.series[r]) || a(t.series[r])) && (t.series[r].markerVisible = e);
40
40
  }, G = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series[s].areaColor : void 0, H = (s, e) => i(e.series[s]) || a(e.series[s]) ? e.series?.[s]?.connectLines : void 0, J = (s) => {
@@ -89,7 +89,7 @@ export {
89
89
  J as m,
90
90
  q as n,
91
91
  R as o,
92
- X as p,
92
+ Y as p,
93
93
  E as q,
94
94
  G as r,
95
95
  d as s
@@ -1,12 +1,12 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { substitute as O } from "@arcgis/core/intl.js";
3
- import { memoize as W, isEmpty as $, isNull as M, cloneDeep as R } from "lodash-es";
3
+ import { memoize as U, isEmpty as W, isNull as $, cloneDeep as M } from "lodash-es";
4
4
  import { P as g, a as y } from "./common.js";
5
5
  import { g as A, u as q } from "./utils.js";
6
- import { g as U } from "./data.js";
6
+ import { g as R } from "./data.js";
7
7
  import { b as k } from "./series-length.js";
8
8
  import { g as z } from "./utils2.js";
9
- import { S as G, t as _, a3 as H } from "./index.js";
9
+ import { U as G, u as _, a4 as H } from "./index.js";
10
10
  import { d as P } from "./index3.js";
11
11
  import { m as h, an as L, n as V } from "./index2.js";
12
12
  import { i as w } from "./index4.js";
@@ -35,7 +35,7 @@ const K = (r, t) => {
35
35
  let e = y.valueDesc;
36
36
  const i = r.orderOptions?.data?.orderType ?? X(r, t), s = r.orderOptions?.data && "orderBy" in r.orderOptions.data ? r.orderOptions.data.orderBy : b.Descending;
37
37
  return i === F.Category && Array.isArray(s) ? e = y.customSort : i === F.Category ? s === b.Ascending ? e = y.labelAsc : e = y.labelDesc : s === b.Ascending ? e = y.valueAsc : e = y.valueDesc, e;
38
- }, f = W(
38
+ }, f = U(
39
39
  // without memoizing, the worst case efficiency is O(series.length), best case is O(1)
40
40
  // with memoizing, the worst case efficiency for repeated calls becomes O(1)
41
41
  (r) => {
@@ -83,25 +83,25 @@ function Y(r) {
83
83
  ] : []
84
84
  };
85
85
  }
86
- return i === g.Category && o.query !== void 0 ? o.query.groupByFieldsForStatistics = [d] : delete o.query?.groupByFieldsForStatistics, R(o);
86
+ return i === g.Category && o.query !== void 0 ? o.query.groupByFieldsForStatistics = [d] : delete o.query?.groupByFieldsForStatistics, M(o);
87
87
  }
88
88
  function D(r) {
89
- const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { layerFieldsInfo: a } = e, { idField: l, isTraditionalTypeOID: d } = L(e.layer), c = I(t), o = f(t), n = T(t, i), u = d && (o.length === 0 || o.includes(l)), p = _(n, s), x = u ? "" : o.map((E) => P(a ?? [], E)).join(", "), S = P(a ?? [], c);
90
- let C = "", N;
91
- return i === g.Fields ? N = o.length === 0 : N = c === "", N ? C = s.utilsStrings.chartType.pieChart : n === m.NoAggregation ? C = O(s.titleLabels.aggrFieldsByCategory, {
89
+ const { config: t, layerInfo: e, mode: i, commonStrings: s } = r, { layerFieldsInfo: a } = e, { idField: l, isTraditionalTypeOID: d } = L(e.layer), c = I(t), o = f(t), n = T(t, i), u = d && (o.length === 0 || o.includes(l)), p = _(n, s), x = u ? "" : o.map((E) => P(a ?? [], E)).join(", "), C = P(a ?? [], c);
90
+ let S = "", N;
91
+ return i === g.Fields ? N = o.length === 0 : N = c === "", N ? S = s.utilsStrings.chartType.pieChart : n === m.NoAggregation ? S = O(s.titleLabels.aggrFieldsByCategory, {
92
92
  aggregationFields: u ? l : x,
93
- category: S
94
- }) : n === m.Count ? C = O(s.titleLabels.aggrTypeCategory, {
93
+ category: C
94
+ }) : n === m.Count ? S = O(s.titleLabels.aggrTypeCategory, {
95
95
  aggregationType: p,
96
- category: S
97
- }) : o.length > 0 && (S === h || $(S) || M(S) ? C = O(s.titleLabels.aggrTypeOfAggrFields, {
96
+ category: C
97
+ }) : o.length > 0 && (C === h || W(C) || $(C) ? S = O(s.titleLabels.aggrTypeOfAggrFields, {
98
98
  aggregationType: p,
99
99
  aggregationFields: x
100
- }) : C = O(s.titleLabels.aggrTypeOfAggrFieldsByCategory, {
100
+ }) : S = O(s.titleLabels.aggrTypeOfAggrFieldsByCategory, {
101
101
  aggregationType: p,
102
102
  aggregationFields: x,
103
- category: S
104
- })), C;
103
+ category: C
104
+ })), S;
105
105
  }
106
106
  const ue = (r) => {
107
107
  const { newSortOrderKind: t, config: e, orderByList: i } = r;
@@ -149,7 +149,7 @@ function j(r) {
149
149
  }
150
150
  };
151
151
  t.length <= 1 ? n.query.where = o.query?.where : delete n.query.where;
152
- const u = U({
152
+ const u = R({
153
153
  config: i,
154
154
  xAxisField: I(i),
155
155
  numericFields: t,