@arcgis/charts-components 5.2.0-next.70 → 5.2.0-next.71

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 (100) hide show
  1. package/dist/cdn/{MFYVUIPM.js → 25MA553Z.js} +1 -1
  2. package/dist/cdn/{FNJOMPCS.js → 27RKQQPS.js} +1 -1
  3. package/dist/cdn/{3PJG5RPA.js → 2K4MIK4T.js} +1 -1
  4. package/dist/cdn/{UW3WL44H.js → 2SLJKRSD.js} +1 -1
  5. package/dist/cdn/{WTB23TU5.js → 33JR3GH6.js} +1 -1
  6. package/dist/cdn/{ZSTPZFF6.js → 3B6QE7OV.js} +1 -1
  7. package/dist/cdn/3FM3YR57.js +2 -0
  8. package/dist/cdn/{55FTLFES.js → 3PDVKKKZ.js} +1 -1
  9. package/dist/cdn/{7GO7L6K4.js → 3V4ZETXH.js} +1 -1
  10. package/dist/cdn/{LTHNRIKF.js → 3WOYVXSZ.js} +1 -1
  11. package/dist/cdn/{E76O5CL2.js → 3XB2RWHK.js} +1 -1
  12. package/dist/cdn/{7AFOMUPB.js → 4DC4ARHU.js} +1 -1
  13. package/dist/cdn/{BKENQZVC.js → 4IO3VF3L.js} +1 -1
  14. package/dist/cdn/{24UNROUY.js → 4JUR3VIE.js} +1 -1
  15. package/dist/cdn/{5BMIWC4E.js → 4JWIBRGO.js} +1 -1
  16. package/dist/cdn/{3FNSOFZW.js → 4M4SAEH4.js} +1 -1
  17. package/dist/cdn/{MFVIGPEF.js → 4ODTQZJK.js} +1 -1
  18. package/dist/cdn/{NS22JUJ7.js → 54VUGIAU.js} +1 -1
  19. package/dist/cdn/{7IUKJ5PU.js → 5GZDXWTQ.js} +1 -1
  20. package/dist/cdn/{UXVU3KHY.js → 5NVOWYWZ.js} +1 -1
  21. package/dist/cdn/{7ENBCEQR.js → 6TJIHHQF.js} +1 -1
  22. package/dist/cdn/{SKQQFLCU.js → 7KNUJIOC.js} +1 -1
  23. package/dist/cdn/{SNLS5YDJ.js → 7REEJ3OW.js} +1 -1
  24. package/dist/cdn/{2WVTUVN4.js → 7XWR4EVM.js} +1 -1
  25. package/dist/cdn/{4SHVP5PZ.js → AVE3KXWQ.js} +1 -1
  26. package/dist/cdn/{KHGILG5X.js → BAFCVCT4.js} +1 -1
  27. package/dist/cdn/{GZVU6ATV.js → BNNBHYRP.js} +1 -1
  28. package/dist/cdn/BQORJ3LU.js +2 -0
  29. package/dist/cdn/{CQS3N3YT.js → BZ6FUIQF.js} +1 -1
  30. package/dist/cdn/CNI32IL3.js +2 -0
  31. package/dist/cdn/CRQK4CKK.js +2 -0
  32. package/dist/cdn/{OF3OQQID.js → CVFKL3S2.js} +1 -1
  33. package/dist/cdn/{76BU2ZWA.js → DT5BOM5F.js} +1 -1
  34. package/dist/cdn/{BIPFB5HW.js → E7QFC64H.js} +1 -1
  35. package/dist/cdn/{CGCRNEFM.js → EJWHEBKW.js} +1 -1
  36. package/dist/cdn/{KEHRL2MP.js → F5AR3N3Z.js} +1 -1
  37. package/dist/cdn/{TYVMAK67.js → GIH3U7YP.js} +1 -1
  38. package/dist/cdn/{LZABQV52.js → GKEW5JYD.js} +1 -1
  39. package/dist/cdn/{S6C5PJP4.js → I5DMUUEL.js} +1 -1
  40. package/dist/cdn/{MLPHSOJB.js → IK4FPUFJ.js} +1 -1
  41. package/dist/cdn/{CH7EMYXL.js → IO6A77U4.js} +1 -1
  42. package/dist/cdn/{MGUUHKYW.js → IODRBLGT.js} +1 -1
  43. package/dist/cdn/{OJDYJETX.js → JAQYU6KP.js} +1 -1
  44. package/dist/cdn/{6PGKTC6F.js → JYLEN3VQ.js} +1 -1
  45. package/dist/cdn/{P4VJYOCL.js → K6F2LRKI.js} +1 -1
  46. package/dist/cdn/{2GXX5IMS.js → L6DFXTSQ.js} +1 -1
  47. package/dist/cdn/{NJKSUAO7.js → LAPBDR32.js} +1 -1
  48. package/dist/cdn/{HEWG4ZZE.js → LIDWAYQH.js} +1 -1
  49. package/dist/cdn/{DGGCAG3N.js → LPYRKK25.js} +1 -1
  50. package/dist/cdn/{ANMO6CLA.js → MAC4MPUA.js} +1 -1
  51. package/dist/cdn/{EKBLEUCP.js → MOG5ZVLX.js} +1 -1
  52. package/dist/cdn/{VWOS4FBW.js → NAGOJPIX.js} +1 -1
  53. package/dist/cdn/{CWSAYMFQ.js → NF4EBNLN.js} +1 -1
  54. package/dist/cdn/{XRRDA4TC.js → NP24UZGI.js} +1 -1
  55. package/dist/cdn/{BSCFYA5P.js → NUHPR7BM.js} +1 -1
  56. package/dist/cdn/{OCYSGUCY.js → O2BQ374Y.js} +1 -1
  57. package/dist/cdn/{UGAHTOBA.js → OE7FIKPS.js} +1 -1
  58. package/dist/cdn/{AQOCENW4.js → OE7Q4MG5.js} +1 -1
  59. package/dist/cdn/{VZCYTHM2.js → OTFA727N.js} +1 -1
  60. package/dist/cdn/{V75KABKD.js → P6DBPQZO.js} +1 -1
  61. package/dist/cdn/{T2G5XRL5.js → PIEX577B.js} +1 -1
  62. package/dist/cdn/{P3WSMZJU.js → PTUMQCFF.js} +1 -1
  63. package/dist/cdn/{LNRNJHH3.js → QAXXYD6N.js} +1 -1
  64. package/dist/cdn/{PZ3FNMU7.js → QC3FMJKL.js} +1 -1
  65. package/dist/cdn/{FLKBGFAC.js → QSGJ3MAT.js} +1 -1
  66. package/dist/cdn/{YWMVQFAN.js → QT64PB4L.js} +1 -1
  67. package/dist/cdn/{ZNGT5LSV.js → QWCNHH6G.js} +1 -1
  68. package/dist/cdn/{VPHWRDJI.js → RCLHFY6O.js} +1 -1
  69. package/dist/cdn/{QB5VLM5A.js → RCZLTGQI.js} +1 -1
  70. package/dist/cdn/{A2OP6Q3D.js → ROG3HFDT.js} +1 -1
  71. package/dist/cdn/{TSQYRV3W.js → SL7NRRSJ.js} +1 -1
  72. package/dist/cdn/{UULF2NFJ.js → SSQPRUUN.js} +1 -1
  73. package/dist/cdn/{E7RGF2VG.js → V2FHLWYC.js} +1 -1
  74. package/dist/cdn/{WGPNG4C5.js → VAF3UIVA.js} +1 -1
  75. package/dist/cdn/{6JJHAS2P.js → VHW4OAKG.js} +1 -1
  76. package/dist/cdn/{W665SH4P.js → VNYRZDY5.js} +1 -1
  77. package/dist/cdn/VUHFYOLC.js +2 -0
  78. package/dist/cdn/{ILI6Z4H3.js → WDUTZ6EO.js} +1 -1
  79. package/dist/cdn/{YXOUH52R.js → WM6SCZHN.js} +1 -1
  80. package/dist/cdn/{UDAL44H7.js → WPLHZAZ3.js} +1 -1
  81. package/dist/cdn/{VWY7QP3W.js → XH57C72H.js} +1 -1
  82. package/dist/cdn/index.js +1 -1
  83. package/dist/cdn/model/shared/setup-utils.js +1 -1
  84. package/dist/chunks/bar-chart-model.js +24 -23
  85. package/dist/chunks/box-plot-model.js +36 -36
  86. package/dist/chunks/index2.js +4 -2
  87. package/dist/chunks/pie-chart-model.js +246 -242
  88. package/dist/chunks/serial-chart-model.js +2 -1
  89. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +40 -26
  90. package/dist/components/arcgis-charts-config-create-flow/customElement.js +236 -224
  91. package/dist/docs/api.json +1 -1
  92. package/dist/docs/docs.json +1 -1
  93. package/dist/docs/web-types.json +1 -1
  94. package/dist/model/shared/type-guards.d.ts +1 -1
  95. package/package.json +3 -3
  96. package/dist/cdn/FLYZW7XF.js +0 -2
  97. package/dist/cdn/O2K4WDQR.js +0 -2
  98. package/dist/cdn/OANIWZFQ.js +0 -2
  99. package/dist/cdn/ODNJBXGP.js +0 -2
  100. package/dist/cdn/Z4LBCIER.js +0 -2
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { isEqual as D } from "lodash-es";
3
- import { q as b, u, r as h } from "./chart-object-literals.js";
3
+ import { u, q as b, r as h } from "./chart-object-literals.js";
4
4
  import { bd as I, bs as v, k as p, ap as M } from "./index2.js";
5
5
  import { i as P } from "./index4.js";
6
6
  import { C as O } from "./chart-model.js";
@@ -531,6 +531,7 @@ xe(n, Xe);
531
531
  export {
532
532
  n as S,
533
533
  ve as a,
534
+ Ne as b,
534
535
  Ie as g,
535
536
  We as s
536
537
  };
@@ -1,60 +1,74 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as l } from "../../chunks/runtime.js";
3
- import { LitElement as n, createEvent as d } from "@arcgis/lumina";
4
- import { css as c, html as s } from "lit";
5
- import { isEqual as r } from "lodash-es";
2
+ import { c as h } from "../../chunks/runtime.js";
3
+ import { LitElement as f, createEvent as g } from "@arcgis/lumina";
4
+ import { css as m, html as s } from "lit";
5
+ import { isEqual as n } from "lodash-es";
6
6
  import { C as t } from "../../chunks/interfaces.js";
7
- import { bE as h, a$ as f, ac as p, bX as g, I as m, bj as u } from "../../chunks/index2.js";
8
- const C = c`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
9
- class F extends n {
7
+ import { bE as c, an as p, a$ as u, ac as C, bX as F, I as y, bj as v } from "../../chunks/index2.js";
8
+ const b = m`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
9
+ class I extends f {
10
10
  constructor() {
11
11
  super(...arguments), this.onModelConfigChange = async (e) => {
12
12
  const i = e?.detail.config ?? this.model.config;
13
13
  this.layer === void 0 && await this.updateFetchLayerFieldsInfo(i);
14
- }, this.activeColorMatch = !1, this.popoverPlacement = "leading", this.usePopupTemplateFieldsInfo = !1, this.arcgisChartsConfigNoSeriesUpdate = d();
14
+ }, this.activeColorMatch = !1, this.popoverPlacement = "leading", this.usePopupTemplateFieldsInfo = !1, this.arcgisChartsConfigNoSeriesUpdate = g();
15
15
  }
16
16
  static {
17
17
  this.properties = { layerFieldsInfo: 16, activeColorMatch: 16, model: 0, timeZone: 1, popoverPlacement: 1, seriesColor: 0, calculatedMinMaxBounds: 0, page: 1, layer: 0, usePopupTemplateFieldsInfo: 5, popupTemplateFieldInfosEnabled: 5 };
18
18
  }
19
19
  static {
20
- this.styles = C;
20
+ this.styles = b;
21
21
  }
22
22
  async load() {
23
23
  this.seriesColor !== void 0 && this.seriesColorChange(this.seriesColor), await this.updateFetchLayerFieldsInfo(this.model?.config), this.modelChange(this.model), this.updateDataFilters();
24
24
  }
25
25
  willUpdate(e) {
26
- let a = !1;
27
- e.has("model") && this.modelChange(this.model, e.get("model")), e.has("layer") && this.layer !== void 0 && !r(e.get("layer"), this.layer) && (a = !0), (e.has("usePopupTemplateFieldsInfo") && this.usePopupTemplateFieldsInfo !== void 0 && this.usePopupTemplateFieldsInfo !== e.get("usePopupTemplateFieldsInfo") || e.has("popupTemplateFieldInfosEnabled") && this.popupTemplateFieldInfosEnabled !== void 0 && this.popupTemplateFieldInfosEnabled !== e.get("popupTemplateFieldInfosEnabled")) && (a = !0), e.has("seriesColor") && this.seriesColor !== void 0 && this.seriesColorChange(this.seriesColor), this.layerFieldsInfo === void 0 && (a = !0), a && this.updateFetchLayerFieldsInfo();
26
+ let o = !1;
27
+ e.has("model") && this.modelChange(this.model, e.get("model")), e.has("layer") && this.layer !== void 0 && !n(e.get("layer"), this.layer) && (o = !0), (e.has("usePopupTemplateFieldsInfo") && this.usePopupTemplateFieldsInfo !== void 0 && this.usePopupTemplateFieldsInfo !== e.get("usePopupTemplateFieldsInfo") || e.has("popupTemplateFieldInfosEnabled") && this.popupTemplateFieldInfosEnabled !== void 0 && this.popupTemplateFieldInfosEnabled !== e.get("popupTemplateFieldInfosEnabled")) && (o = !0), e.has("seriesColor") && this.seriesColor !== void 0 && this.seriesColorChange(this.seriesColor), this.layerFieldsInfo === void 0 && (o = !0), o && this.updateFetchLayerFieldsInfo();
28
28
  }
29
29
  disconnectedCallback() {
30
30
  super.disconnectedCallback(), this.model.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
31
31
  }
32
- modelChange(e, a) {
33
- a?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
32
+ modelChange(e, o) {
33
+ o?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
34
34
  }
35
35
  seriesColorChange(e) {
36
- this.activeColorMatch = e?.get(0) === void 0, this.model.colorMatch && e?.forEach((a, i) => {
37
- h(a) && e?.get(0) !== void 0 && a?.color !== void 0 && !r(this.model.getSeriesColor(i), a?.color) && this.model.setSeriesColor(a?.color, i);
38
- });
36
+ const o = e.get(0);
37
+ if (this.activeColorMatch = o === void 0, this.model.colorMatch) {
38
+ const i = c(o) ? o.color : void 0, a = this.model.nullCategory, r = p(a);
39
+ i !== void 0 && a !== void 0 && r !== void 0 && (this.model.nullCategory = {
40
+ ...a,
41
+ fillSymbol: {
42
+ ...r,
43
+ color: i,
44
+ outline: r.outline && {
45
+ ...r.outline,
46
+ color: i
47
+ }
48
+ }
49
+ }), e.forEach((l, d) => {
50
+ c(l) && o !== void 0 && l?.color !== void 0 && !n(this.model.getSeriesColor(d), l?.color) && this.model.setSeriesColor(l?.color, d);
51
+ });
52
+ }
39
53
  }
40
54
  async updateDataFilters() {
41
- const e = this.model.getDataFilters(), a = e?.where, i = this.layer?.definitionExpression ?? void 0;
42
- r(a, i) || await this.model.setDataFilters({
55
+ const e = this.model.getDataFilters(), o = e?.where, i = this.layer?.definitionExpression ?? void 0;
56
+ n(o, i) || await this.model.setDataFilters({
43
57
  ...e,
44
58
  where: i
45
59
  });
46
60
  }
47
61
  async updateFetchLayerFieldsInfo(e) {
48
- const a = e ?? this.model.config;
62
+ const o = e ?? this.model.config;
49
63
  let i = this.layer;
50
64
  if (!i) {
51
- const o = f(a) ? a.iLayer : void 0;
52
- o && (i = await p(o));
65
+ const a = u(o) ? o.iLayer : void 0;
66
+ a && (i = await C(a));
53
67
  }
54
- i && (await g(i), this.layerFieldsInfo = m(i, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled));
68
+ i && (await F(i), this.layerFieldsInfo = y(i, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled));
55
69
  }
56
70
  render() {
57
- const e = this.layerFieldsInfo?.find((o) => o.name === this.model.xAxisField), a = e !== void 0 && u(e);
71
+ const e = this.layerFieldsInfo?.find((a) => a.name === this.model.xAxisField), o = e !== void 0 && v(e);
58
72
  let i;
59
73
  switch (this.page) {
60
74
  case t.Data:
@@ -67,7 +81,7 @@ class F extends n {
67
81
  i = s`<arcgis-charts-config-axes .model=${this.model} show-max-y-bound-option .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-axes>`;
68
82
  break;
69
83
  case t.Guides:
70
- i = s`<arcgis-charts-config-guides .model=${this.model} .timeZone=${this.timeZone} .enableXAxisGuide=${a} enable-y-axis-guide .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-guides>`;
84
+ i = s`<arcgis-charts-config-guides .model=${this.model} .timeZone=${this.timeZone} .enableXAxisGuide=${o} enable-y-axis-guide .calculatedMinMaxBounds=${this.calculatedMinMaxBounds}></arcgis-charts-config-guides>`;
71
85
  break;
72
86
  case t.Format:
73
87
  i = s`<arcgis-charts-config-format .model=${this.model}></arcgis-charts-config-format>`;
@@ -82,7 +96,7 @@ class F extends n {
82
96
  return i;
83
97
  }
84
98
  }
85
- l("arcgis-charts-config-bar-chart", F);
99
+ h("arcgis-charts-config-bar-chart", I);
86
100
  export {
87
- F as ArcgisChartsConfigBarChart
101
+ I as ArcgisChartsConfigBarChart
88
102
  };