@arcgis/charts-components 5.2.0-next.10 → 5.2.0-next.11

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/{I5AALJRN.js → 24AOJE7B.js} +1 -1
  2. package/dist/cdn/{VOTZAPI3.js → 3KRPCKJZ.js} +1 -1
  3. package/dist/cdn/{LOZOENFC.js → 3TBK72EK.js} +1 -1
  4. package/dist/cdn/{RA3CZHC7.js → 425PZ2QJ.js} +1 -1
  5. package/dist/cdn/{6SRJ2VKV.js → 4PHYDOBF.js} +1 -1
  6. package/dist/cdn/{F7Q3XDZH.js → 567CLBG4.js} +1 -1
  7. package/dist/cdn/{YDJPGFXU.js → 5IIF22XN.js} +1 -1
  8. package/dist/cdn/{NKJC4MT7.js → 5IN5WK2R.js} +1 -1
  9. package/dist/cdn/{GNC62GNV.js → 5LXX2PUM.js} +1 -1
  10. package/dist/cdn/{4YJSRB7R.js → 5NTIKQP4.js} +1 -1
  11. package/dist/cdn/{QF4UBQYT.js → 5YEADAVZ.js} +1 -1
  12. package/dist/cdn/{2XYTPC2V.js → 6R7VSDDU.js} +1 -1
  13. package/dist/cdn/{ICVAXCHZ.js → 76MOP26H.js} +1 -1
  14. package/dist/cdn/77A4T4FJ.js +2 -0
  15. package/dist/cdn/{N7NZHIGS.js → 7JIHGRTB.js} +1 -1
  16. package/dist/cdn/{CHQDKVVQ.js → 7YXTWBT4.js} +1 -1
  17. package/dist/cdn/{XUT56VH6.js → AHYYQWKY.js} +1 -1
  18. package/dist/cdn/{CEE2QRZ5.js → ASI7RDYV.js} +1 -1
  19. package/dist/cdn/{4J6UFQ2Q.js → AXS3UMQJ.js} +1 -1
  20. package/dist/cdn/BHUFE4DA.js +2 -0
  21. package/dist/cdn/{2HTYRBIX.js → CEWH3LQO.js} +1 -1
  22. package/dist/cdn/{KKKCWW6G.js → CTBQ5Y4Z.js} +1 -1
  23. package/dist/cdn/CVK7KFEC.js +2 -0
  24. package/dist/cdn/{255TSQSE.js → DFKVPDMJ.js} +6 -6
  25. package/dist/cdn/DJGEQ42V.js +2 -0
  26. package/dist/cdn/DL43NPDO.js +2 -0
  27. package/dist/cdn/{PZKRRAXW.js → E2DO2HQ6.js} +1 -1
  28. package/dist/cdn/E4LJWBRC.js +2 -0
  29. package/dist/cdn/EE3KEIAT.js +2 -0
  30. package/dist/cdn/EJCGZPIV.js +2 -0
  31. package/dist/cdn/{L6ZALCLC.js → ETSB7KD3.js} +1 -1
  32. package/dist/cdn/{YSWV4FZE.js → F6QRLYSF.js} +1 -1
  33. package/dist/cdn/{ZIVPZF6E.js → FBMA7FW4.js} +1 -1
  34. package/dist/cdn/{3376CR53.js → FEKSPYHM.js} +1 -1
  35. package/dist/cdn/FUAA6IFR.js +4 -0
  36. package/dist/cdn/FWRMJQXY.js +2 -0
  37. package/dist/cdn/{M6JCOZIE.js → G5FULTB5.js} +1 -1
  38. package/dist/cdn/{PRPNJEPZ.js → GISGGO3Z.js} +1 -1
  39. package/dist/cdn/{CBHWMUGA.js → GQPOEX7B.js} +21 -21
  40. package/dist/cdn/{BJRHNVLR.js → GYXK3DV7.js} +1 -1
  41. package/dist/cdn/{Z5VVIVR3.js → H45LPCQ2.js} +1 -1
  42. package/dist/cdn/HW6MJJSX.js +2 -0
  43. package/dist/cdn/{2PAVNZEM.js → HZFHTWL6.js} +1 -1
  44. package/dist/cdn/{QF6LHQTR.js → I2EERAZ3.js} +1 -1
  45. package/dist/cdn/{PM6FCUUV.js → I5T7JUDH.js} +1 -1
  46. package/dist/cdn/IE3GLZJZ.js +2 -0
  47. package/dist/cdn/{PNDFAGEB.js → IL2FG26D.js} +1 -1
  48. package/dist/cdn/{5V3ADOWS.js → JBPYGZPJ.js} +1 -1
  49. package/dist/cdn/JEOBO5JM.js +2 -0
  50. package/dist/cdn/{XWZYTOHY.js → KPWHYSA5.js} +1 -1
  51. package/dist/cdn/{IKCVYV5L.js → KXUQJ6GE.js} +1 -1
  52. package/dist/cdn/{GXC7VLYM.js → KZQFX7LH.js} +1 -1
  53. package/dist/cdn/{VMS7DT3M.js → L5DROI2A.js} +1 -1
  54. package/dist/cdn/LL7NH3VV.js +2 -0
  55. package/dist/cdn/{CDHUW42P.js → LUMOL7ZP.js} +1 -1
  56. package/dist/cdn/{5OKNLDIJ.js → LYJFZA2M.js} +1 -1
  57. package/dist/cdn/{WBJ6NWHX.js → MBSMC77K.js} +1 -1
  58. package/dist/cdn/{25YAWDIB.js → MVGAATR7.js} +1 -1
  59. package/dist/cdn/{UHPAFBYO.js → NNZCIR7W.js} +1 -1
  60. package/dist/cdn/NZXQ5BWP.js +2 -0
  61. package/dist/cdn/{FTOYQNHN.js → O4HUYRYL.js} +1 -1
  62. package/dist/cdn/{4ETF22K6.js → O4LKWTBY.js} +1 -1
  63. package/dist/cdn/{LIPUN4CH.js → OW2DLJGU.js} +1 -1
  64. package/dist/cdn/{CSAUXIK2.js → P2F2O6MH.js} +1 -1
  65. package/dist/cdn/P4UJJCPG.js +2 -0
  66. package/dist/cdn/{BBURKBKE.js → P56ROGSK.js} +1 -1
  67. package/dist/cdn/{HD4FP3ZK.js → PMIWXHTG.js} +1 -1
  68. package/dist/cdn/{SYIW6YJN.js → PXIAM4CZ.js} +1 -1
  69. package/dist/cdn/{VL2G5M57.js → QPSJ6XOX.js} +1 -1
  70. package/dist/cdn/R7HW5WVG.js +2 -0
  71. package/dist/cdn/{2A7JZQX5.js → RJCJ3F5C.js} +1 -1
  72. package/dist/cdn/{QM27URJR.js → RKB6QZNW.js} +1 -1
  73. package/dist/cdn/{GBDEYCR6.js → S6LH7YS6.js} +1 -1
  74. package/dist/cdn/{XACXJMSF.js → S74GCXXK.js} +2 -2
  75. package/dist/cdn/{JNNB2DIA.js → SA22QZNW.js} +1 -1
  76. package/dist/cdn/{OYCT7CFU.js → SJVVFOAX.js} +1 -1
  77. package/dist/cdn/{TH4OHGTQ.js → SOKKWGPA.js} +1 -1
  78. package/dist/cdn/SQYOFBS6.js +2 -0
  79. package/dist/cdn/{KHNP4LWB.js → SVGAVKBQ.js} +1 -1
  80. package/dist/cdn/SX6SDBU7.js +2 -0
  81. package/dist/cdn/TTBRUBXY.js +2 -0
  82. package/dist/cdn/{IHTJSWKK.js → U5IM4KAQ.js} +1 -1
  83. package/dist/cdn/{VW4GW2JT.js → UE5VX2RL.js} +1 -1
  84. package/dist/cdn/{7EEYYP6X.js → UIRKQREJ.js} +1 -1
  85. package/dist/cdn/{Z4HCNLCD.js → UIY2PSG4.js} +1 -1
  86. package/dist/cdn/UNTIPIBS.js +2 -0
  87. package/dist/cdn/{KB76VF4V.js → VIY3BCJZ.js} +1 -1
  88. package/dist/cdn/{LO6KKSE4.js → WHJU66P4.js} +1 -1
  89. package/dist/cdn/{3S3PN7AK.js → WJ2VDT6B.js} +1 -1
  90. package/dist/cdn/WU3C7BQU.js +2 -0
  91. package/dist/cdn/{SPVZ5BND.js → WWO326JE.js} +1 -1
  92. package/dist/cdn/{H4B3ERFL.js → XNWSVHA3.js} +1 -1
  93. package/dist/cdn/{RH4AC577.js → XOM6LSIW.js} +1 -1
  94. package/dist/cdn/{NFANBMTU.js → XP4S2M7F.js} +1 -1
  95. package/dist/cdn/YALB4GSA.js +2 -0
  96. package/dist/cdn/YUF4ZSA5.js +2 -0
  97. package/dist/cdn/ZJHV3UVG.js +2 -0
  98. package/dist/cdn/{SZEYHOGG.js → ZQ2WG55W.js} +1 -1
  99. package/dist/cdn/index.js +1 -1
  100. package/dist/cdn/model/shared/setup-utils.js +1 -1
  101. package/dist/chunks/data.js +68 -68
  102. package/dist/chunks/index2.js +214 -208
  103. package/dist/chunks/index3.js +1 -0
  104. package/dist/chunks/index4.js +21 -14
  105. package/dist/chunks/serial-chart-data.js +588 -569
  106. package/dist/chunks/time-zone.js +1 -1
  107. package/dist/chunks/web-component-utils.js +529 -508
  108. package/dist/components/arcgis-chart/customElement.d.ts +1 -1
  109. package/dist/components/arcgis-chart/customElement.js +4167 -4128
  110. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +34 -36
  111. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +28 -28
  112. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +5 -8
  113. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +34 -35
  114. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  115. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
  116. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +14 -16
  117. package/dist/components/arcgis-charts-config-create-flow/customElement.js +11 -11
  118. package/dist/components/arcgis-charts-config-format/customElement.js +25 -25
  119. package/dist/components/arcgis-charts-config-format-popover/customElement.js +7 -10
  120. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +8 -11
  121. package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +13 -14
  122. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +25 -26
  123. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +28 -30
  124. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +4 -5
  125. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +35 -35
  126. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +37 -39
  127. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +4 -4
  128. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +5 -8
  129. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +11 -12
  130. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +8 -10
  131. package/dist/docs/api.json +1 -1
  132. package/dist/docs/docs.json +1 -1
  133. package/dist/docs/web-types.json +1 -1
  134. package/dist/json-schema/index.d.ts +9 -2
  135. package/dist/model/interfaces/common.d.ts +0 -2
  136. package/dist/spec/rest-js-types.d.ts +22 -8
  137. package/dist/spec/web-chart.d.ts +2 -2
  138. package/dist/utils/chart-config/converter/index.js +264 -264
  139. package/dist/utils/chart-config/utils/index.d.ts +1 -0
  140. package/dist/utils/chart-config/validator/interfaces.d.ts +1 -3
  141. package/dist/utils/errors/index.d.ts +1 -1
  142. package/dist/utils/layer/inline-conversion/index.d.ts +0 -3
  143. package/dist/utils/layer/inline-conversion/interfaces.d.ts +0 -2
  144. package/dist/utils/misc/index.d.ts +2 -3
  145. package/dist/utils/types/index.d.ts +1 -5
  146. package/package.json +3 -3
  147. package/dist/cdn/3CFZUVMF.js +0 -2
  148. package/dist/cdn/3W2A4SAP.js +0 -2
  149. package/dist/cdn/5JNEJJU3.js +0 -2
  150. package/dist/cdn/6MF2R6DJ.js +0 -2
  151. package/dist/cdn/BER7FMK3.js +0 -2
  152. package/dist/cdn/CGYB5KPV.js +0 -2
  153. package/dist/cdn/DJ5OHPYW.js +0 -2
  154. package/dist/cdn/EK33HUAH.js +0 -2
  155. package/dist/cdn/GKPMAFU3.js +0 -2
  156. package/dist/cdn/HFJ4EPET.js +0 -2
  157. package/dist/cdn/JEH22SPH.js +0 -2
  158. package/dist/cdn/JMAVBKEZ.js +0 -2
  159. package/dist/cdn/JQYB4ZDY.js +0 -2
  160. package/dist/cdn/PJZVDHIF.js +0 -2
  161. package/dist/cdn/QAIY4AMN.js +0 -2
  162. package/dist/cdn/SHTFWNG3.js +0 -2
  163. package/dist/cdn/SXT5DNXJ.js +0 -4
  164. package/dist/cdn/U4COKMGA.js +0 -2
  165. package/dist/cdn/U6USPTQ5.js +0 -2
  166. package/dist/cdn/VSPTNIIU.js +0 -2
  167. package/dist/cdn/X4BYDZDR.js +0 -2
  168. package/dist/cdn/XJ2L7VN4.js +0 -2
  169. package/dist/cdn/XP5GZU4O.js +0 -2
  170. package/dist/cdn/XXXXO6OB.js +0 -2
  171. package/dist/cdn/YXWIKYN4.js +0 -2
@@ -5,15 +5,14 @@ import { m as h, U as s } from "../../chunks/chart-ui-utils2.js";
5
5
  import { u as m } from "../../chunks/useT9n.js";
6
6
  import { css as p, html as d } from "lit";
7
7
  import { createRef as n, ref as l } from "lit/directives/ref.js";
8
- import { LitElement as u, createEvent as r, safeClassMap as a } from "@arcgis/lumina";
9
- import { e as g } from "../../chunks/popover-ui-utils.js";
10
- const e = {
11
- jsAppFlyout: "js-app-flyout",
8
+ import { LitElement as g, createEvent as r, safeClassMap as t } from "@arcgis/lumina";
9
+ import { e as v } from "../../chunks/popover-ui-utils.js";
10
+ const a = {
12
11
  chartRenameComponent: "chart-rename-component",
13
12
  renameLabelContainer: "rename-label-container",
14
13
  renamePanel: "rename-panel"
15
- }, v = p`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.chart-rename-component{width:var(--arcgis-charts-config-panel-width-medium);height:var(--arcgis-charts-config-panel-height)}:host{overflow-y:auto;width:min-content}.rename-label-container{display:flex;padding:0 1rem;margin-top:1rem}.rename-label-container calcite-label{flex:1 1 0px;display:flex;width:0px}.rename-panel{width:calc(var(--calcite-panel-width-multiplier) * 20vw);max-width:calc(var(--calcite-panel-width-multiplier) * 420px);min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}`;
16
- class C extends u {
14
+ }, u = p`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.chart-rename-component{width:var(--arcgis-charts-config-panel-width-medium);height:var(--arcgis-charts-config-panel-height)}:host{overflow-y:auto;width:min-content}.rename-label-container{display:flex;padding:0 1rem;margin-top:1rem}.rename-label-container calcite-label{flex:1 1 0px;display:flex;width:0px}.rename-panel{width:calc(var(--calcite-panel-width-multiplier) * 20vw);max-width:calc(var(--calcite-panel-width-multiplier) * 420px);min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}`;
15
+ class C extends g {
17
16
  constructor() {
18
17
  super(...arguments), this._messages = m(), this.characterLimitInputElement = n(), this.popoverElement = n(), this.isChartTitleInvalid = !1, this.changedName = "", this.name = "", this.open = !1, this.arcgisChartsConfigChartRenamePopoverChange = r(), this.arcgisChartsConfigPopoverClose = r();
19
18
  }
@@ -21,19 +20,19 @@ class C extends u {
21
20
  this.properties = { isChartTitleInvalid: 16, changedName: 16, messageOverrides: 0, name: 1, open: 5, referenceElement: 0 };
22
21
  }
23
22
  static {
24
- this.styles = v;
23
+ this.styles = u;
25
24
  }
26
25
  async reposition() {
27
26
  await this.popoverElement.value?.reposition();
28
27
  }
29
- willUpdate(t) {
30
- t.has("name") && (this.changedName = this.name);
28
+ willUpdate(e) {
29
+ e.has("name") && (this.changedName = this.name);
31
30
  }
32
31
  updated() {
33
- this.popoverElement.value?.reposition(), g(this.popoverElement.value, this.open);
32
+ this.popoverElement.value?.reposition(), v(this.popoverElement.value, this.open);
34
33
  }
35
- onNameChange(t) {
36
- const i = t.target.value;
34
+ onNameChange(e) {
35
+ const i = e.target.value;
37
36
  this.changedName = i, this.isChartTitleInvalid = c(i.trim()), this.characterLimitInputElement.value && h({
38
37
  inputElement: this.characterLimitInputElement.value,
39
38
  status: this.isChartTitleInvalid ? s.INVALID : s.IDLE
@@ -49,10 +48,9 @@ class C extends u {
49
48
  this.changedName = this.name, this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
50
49
  }
51
50
  render() {
52
- return d`<div class=${a({
53
- [e.chartRenameComponent]: !0,
54
- [e.jsAppFlyout]: !0
55
- })}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label auto-close ${l(this.popoverElement)}><calcite-panel class=${a(e.renamePanel)} closable .closed=${!this.open} @calcitePanelClose=${this.popoverClose} .heading=${this._messages.renameChart}><div class=${a(e.renameLabelContainer)}><calcite-label>${this._messages.chartName}<calcite-input required type=text .value=${this.changedName} @calciteInputInput=${this.onNameChange} ${l(this.characterLimitInputElement)}></calcite-input><arcgis-charts-config-invalid-input-message .invalidInputMessage=${this._messages.emptyChartTitle} .isInvalid=${this.isChartTitleInvalid}></arcgis-charts-config-invalid-input-message></calcite-label></div><calcite-button slot=footer appearance=solid scale=m width=half @click=${this.onSubmitClick}>${this._messages.submit}</calcite-button><calcite-button slot=footer appearance=outline-fill scale=m width=half @click=${this.onCancelClick}>${this._messages.cancel}</calcite-button></calcite-panel></calcite-popover></div>`;
51
+ return d`<div class=${t({
52
+ [a.chartRenameComponent]: !0
53
+ })}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} @calcitePopoverClose=${this.popoverClose} .open=${this.open} placement=bottom label auto-close ${l(this.popoverElement)}><calcite-panel class=${t(a.renamePanel)} closable .closed=${!this.open} @calcitePanelClose=${this.popoverClose} .heading=${this._messages.renameChart}><div class=${t(a.renameLabelContainer)}><calcite-label>${this._messages.chartName}<calcite-input required type=text .value=${this.changedName} @calciteInputInput=${this.onNameChange} ${l(this.characterLimitInputElement)}></calcite-input><arcgis-charts-config-invalid-input-message .invalidInputMessage=${this._messages.emptyChartTitle} .isInvalid=${this.isChartTitleInvalid}></arcgis-charts-config-invalid-input-message></calcite-label></div><calcite-button slot=footer appearance=solid scale=m width=half @click=${this.onSubmitClick}>${this._messages.submit}</calcite-button><calcite-button slot=footer appearance=outline-fill scale=m width=half @click=${this.onCancelClick}>${this._messages.cancel}</calcite-button></calcite-panel></calcite-popover></div>`;
56
54
  }
57
55
  }
58
56
  o("arcgis-charts-config-chart-rename-popover", C);
@@ -4,18 +4,18 @@ import { repeat as U } from "lit/directives/repeat.js";
4
4
  import { keyed as b } from "lit/directives/keyed.js";
5
5
  import { createModel as R } from "../../model/shared/setup-utils.js";
6
6
  import { g as S, i as T, u as _, k as v, m as I } from "../../chunks/type-guards2.js";
7
- import { i as H } from "../../chunks/rotated-state.js";
8
- import { substitute as z } from "@arcgis/core/intl.js";
7
+ import { i as z } from "../../chunks/rotated-state.js";
8
+ import { substitute as H } from "@arcgis/core/intl.js";
9
9
  import { C as n } from "../../chunks/interfaces.js";
10
10
  import { isEqual as D } from "lodash-es";
11
11
  import { i as F } from "../../chunks/index4.js";
12
- import { D as E, w as k, F as O } from "../../chunks/index3.js";
12
+ import { D as k, w as E, F as O } from "../../chunks/index3.js";
13
13
  import { LitElement as W, createEvent as f, renderElement as L, safeStyleMap as Z, safeClassMap as d } from "@arcgis/lumina";
14
14
  import { css as G, html as h } from "lit";
15
15
  import { createRef as X, ref as K } from "lit/directives/ref.js";
16
16
  import { u as P } from "../../chunks/useT9n.js";
17
17
  import { c as j, a as x, g as q } from "../../chunks/store.js";
18
- import { d0 as Y, _ as Q, d1 as J, K as ee, bZ as te } from "../../chunks/index2.js";
18
+ import { d2 as Y, _ as Q, d3 as J, K as ee, bZ as te } from "../../chunks/index2.js";
19
19
  import { A as ae } from "../../chunks/axis-model-wrapper.js";
20
20
  import { h as ie, f as y } from "../../chunks/web-component-utils.js";
21
21
  import { a as se } from "../../chunks/chart-ui-utils2.js";
@@ -38,7 +38,7 @@ function w(m, e) {
38
38
  }), t;
39
39
  }
40
40
  function ne(m, e, i) {
41
- return m?.filter((t) => k(i, t.config) && t.layer?.id === e) ?? [];
41
+ return m?.filter((t) => E(i, t.config) && t.layer?.id === e) ?? [];
42
42
  }
43
43
  function ce(m) {
44
44
  const { modelList: e, layerList: i, activeLayerId: t, disableEditing: a } = m, s = /* @__PURE__ */ new Map();
@@ -73,14 +73,14 @@ function pe(m, e) {
73
73
  const i = m;
74
74
  if (i) {
75
75
  let t = [...i.charts ?? []];
76
- t = E({
76
+ t = k({
77
77
  arrayA: t,
78
78
  arrayB: e.map((a) => a.config),
79
79
  getKey: (a) => a.id ?? a.title?.content.text ?? ""
80
80
  }), i.charts = t;
81
81
  }
82
82
  }
83
- const me = G`:host{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;height:inherit;max-height:100%}.chart-ui-component{overflow-y:auto;overflow-x:hidden}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.text{display:flex;margin-left:1rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:scroll}.row{padding:.5rem}.bin-count-container{display:flex;width:calc(100% - 1rem);padding:.5rem}.bin-count-slider{margin-left:1rem;width:calc(90% - 1rem)}.bin-count-input{margin-left:1rem;height:2rem;width:2rem}.bin-row{padding:.5rem 0 .5rem .5rem}.tab-bar{display:flex}.tab{flex:1;height:2.5rem}`;
83
+ const me = G`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;height:inherit;max-height:100%}.chart-ui-component{overflow-y:auto;overflow-x:hidden}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.text{display:flex;margin-left:1rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:scroll}.row{padding:.5rem}.bin-count-container{display:flex;width:calc(100% - 1rem);padding:.5rem}.bin-count-slider{margin-left:1rem;width:calc(90% - 1rem)}.bin-count-input{margin-left:1rem;height:2rem;width:2rem}.bin-row{padding:.5rem 0 .5rem .5rem}.tab-bar{display:flex}.tab{flex:1;height:2.5rem}`;
84
84
  class ue extends W {
85
85
  constructor() {
86
86
  super(), this.selectChartTypePopover = null, this.chartsListFlowItem = X(), this.supportedChartTypes = [
@@ -155,7 +155,7 @@ class ue extends W {
155
155
  if (r)
156
156
  switch (t) {
157
157
  case "rotation":
158
- typeof a == "boolean" && H(r) && (r.rotated = a);
158
+ typeof a == "boolean" && z(r) && (r.rotated = a);
159
159
  break;
160
160
  case "legendPosition":
161
161
  typeof a == "string" && v(r) && (r.legendPosition = a);
@@ -207,7 +207,7 @@ class ue extends W {
207
207
  }
208
208
  modelListReorderChangeListener(e) {
209
209
  const { modelList: i } = e.detail;
210
- if (this.modelList = E({
210
+ if (this.modelList = k({
211
211
  arrayA: this.modelList,
212
212
  arrayB: i,
213
213
  getKey: (t) => t.chartId ?? t.titleText ?? ""
@@ -311,7 +311,7 @@ class ue extends W {
311
311
  }
312
312
  getPlacement() {
313
313
  let e;
314
- return this.popoverPlacement !== void 0 ? e = this.popoverPlacement : e = this.modelList?.filter((a) => k(J, a.config)).length <= 2 ? "bottom" : "top", e;
314
+ return this.popoverPlacement !== void 0 ? e = this.popoverPlacement : e = this.modelList?.filter((a) => E(J, a.config)).length <= 2 ? "bottom" : "top", e;
315
315
  }
316
316
  onBackFlow() {
317
317
  this.panelNumber -= 1;
@@ -410,7 +410,7 @@ class ue extends W {
410
410
  }
411
411
  renderTabs() {
412
412
  const e = this.getModel(this.selectedChartId);
413
- return b("chart-edit", h`<calcite-flow-item .selected=${this.panelNumber >= 1 && !this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel ?? n.Data]} .description=${this.currentChartTypeText !== "" && this._messages.pageFlowTitle !== void 0 ? z(this._messages.pageFlowTitle, {
413
+ return b("chart-edit", h`<calcite-flow-item .selected=${this.panelNumber >= 1 && !this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel ?? n.Data]} .description=${this.currentChartTypeText !== "" && this._messages.pageFlowTitle !== void 0 ? H(this._messages.pageFlowTitle, {
414
414
  chartName: e?.titleText ?? this.currentChartTypeText,
415
415
  layerName: e?.layer?.title ?? ""
416
416
  }) : ""}>${e?.chartType !== void 0 ? h`<calcite-action-bar class=${d(p.tabBar)} layout=horizontal expand-disabled><calcite-action class=${d(p.tab)} icon=configure scale=s alignment=center .active=${this.selectedPanel === n.Data || this.selectedPanel === void 0} @click=${() => {
@@ -1,16 +1,16 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { c as M } from "../../chunks/runtime.js";
3
3
  import { ref as B } from "lit/directives/ref.js";
4
- import { s as S, m as n, k as h, j as T, e as V, u as w } from "../../chunks/type-guards2.js";
4
+ import { s as S, m as d, k as h, j as T, e as V, u as w } from "../../chunks/type-guards2.js";
5
5
  import { i as L } from "../../chunks/data-labels-symbol.js";
6
6
  import { i as P, a as C, b as E } from "../../chunks/axis-lines-symbol.js";
7
7
  import { isEmpty as f, cloneDeep as a, isArray as F, isObject as A, mergeWith as G } from "lodash-es";
8
8
  import { h as W } from "../../chunks/chart-ui-utils2.js";
9
9
  import { g as D, i as b } from "../../chunks/rest-js-object-literals.js";
10
10
  import { u as N } from "../../chunks/useT9n.js";
11
- import { css as H, html as u } from "lit";
12
- import { LitElement as j, renderElement as I, safeClassMap as p } from "@arcgis/lumina";
13
- import { C as O, F as i, L as d } from "../../chunks/common.js";
11
+ import { css as z, html as u } from "lit";
12
+ import { LitElement as H, renderElement as j, safeClassMap as p } from "@arcgis/lumina";
13
+ import { C as I, F as i, L as n } from "../../chunks/common.js";
14
14
  import { q as x, x as l } from "../../chunks/index5.js";
15
15
  import { r as $ } from "../../chunks/popover-ui-utils.js";
16
16
  import { u as r } from "../../chunks/chart-object-literals.js";
@@ -33,8 +33,8 @@ const v = {
33
33
  element: "chart-element",
34
34
  elementList: "element-list",
35
35
  sectionLabel: "section-label"
36
- }, R = H`:host{width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.element-list{margin:var(--arcgis-charts-config-margin-minor)}.element{user-select:none}`;
37
- class X extends j {
36
+ }, O = z`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.section-label{display:flex;margin:var(--arcgis-charts-config-margin-major) var(--arcgis-charts-config-margin-minor);justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.element-list{margin:var(--arcgis-charts-config-margin-minor)}.element{user-select:none}`;
37
+ class R extends H {
38
38
  constructor() {
39
39
  super(...arguments), this._messages = N(), this.formatPopover = null, this.selectableElements = [], this.textProperties = [], this.symbolProperties = [], this.symbolPropertyChange = (t) => {
40
40
  const e = t;
@@ -77,7 +77,7 @@ class X extends j {
77
77
  this.setFormatValue(s, e);
78
78
  }), this.selectedElement = a(t.target.selectedElement);
79
79
  }, this.updateBackground = (t) => {
80
- this.setFormatValue(O.Background, t.detail), this.selectedElement = t.detail;
80
+ this.setFormatValue(I.Background, t.detail), this.selectedElement = t.detail;
81
81
  }, this.updateTextProps = (t) => {
82
82
  const { font: e, color: s } = t.detail;
83
83
  this.selectedTexts.forEach((o) => {
@@ -106,7 +106,7 @@ class X extends j {
106
106
  this.properties = { selectedSymbols: 16, selectedTexts: 16, selectedBackground: 16, selectedElement: 16, messageOverrides: 0, model: 0 };
107
107
  }
108
108
  static {
109
- this.styles = R;
109
+ this.styles = O;
110
110
  }
111
111
  load() {
112
112
  this.modelChange(this.model);
@@ -150,7 +150,7 @@ class X extends j {
150
150
  this.formatPopover = $(this.formatPopover);
151
151
  const t = this.selectedElement;
152
152
  t?.type === b.TS || t?.type === b.SLS || // To check if the selected element is background.
153
- Array.isArray(this.selectedElement) ? (this.formatPopover = I(u`<arcgis-charts-config-format-popover .selectedElement=${this.selectedElement} .referenceElement=${this.el} @arcgisChartsConfigFormatPopoverSymbolChange=${this.updateSymbolProps} @arcgisChartsConfigFormatPopoverTextChange=${this.updateTextProps} @arcgisChartsConfigFormatPopoverColorChange=${this.updateBackground} placement=auto @arcgisChartsConfigPopoverClose=${this.formatPopoverClose} open></arcgis-charts-config-format-popover>`), this.formatPopover !== null && !document.body.contains(this.formatPopover) && document.body.appendChild(this.formatPopover)) : this.removeFormatPopover();
153
+ Array.isArray(this.selectedElement) ? (this.formatPopover = j(u`<arcgis-charts-config-format-popover .selectedElement=${this.selectedElement} .referenceElement=${this.el} @arcgisChartsConfigFormatPopoverSymbolChange=${this.updateSymbolProps} @arcgisChartsConfigFormatPopoverTextChange=${this.updateTextProps} @arcgisChartsConfigFormatPopoverColorChange=${this.updateBackground} placement=auto @arcgisChartsConfigPopoverClose=${this.formatPopoverClose} open></arcgis-charts-config-format-popover>`), this.formatPopover !== null && !document.body.contains(this.formatPopover) && document.body.appendChild(this.formatPopover)) : this.removeFormatPopover();
154
154
  }
155
155
  removeFormatPopover() {
156
156
  this.formatPopover !== null && (this.formatPopover.open = !1, this.formatPopover = $(this.formatPopover));
@@ -164,7 +164,7 @@ class X extends j {
164
164
  case i.XAxisTitle:
165
165
  return E(this.model) ? this.model.xAxisTitleSymbol : void 0;
166
166
  case i.YAxisTitle:
167
- return n(this.model) ? this.model.getAxisTitleSymbol(1) : void 0;
167
+ return d(this.model) ? this.model.getAxisTitleSymbol(1) : void 0;
168
168
  case i.AxisLabels:
169
169
  return C(this.model) ? this.model.axisLabelsSymbol : void 0;
170
170
  case i.GuideLabels:
@@ -175,11 +175,11 @@ class X extends j {
175
175
  return h(this.model) ? this.model.legendTitleSymbol : void 0;
176
176
  case i.DataLabels:
177
177
  return L(this.model) ? this.model.dataLabelsSymbol : void 0;
178
- case d.AxisLines:
178
+ case n.AxisLines:
179
179
  return P(this.model) ? this.model.axisLinesSymbol : void 0;
180
- case d.GridLines:
181
- return n(this.model) ? this.model.getGridLinesSymbol() : void 0;
182
- case d.LeaderLines:
180
+ case n.GridLines:
181
+ return d(this.model) ? this.model.getGridLinesSymbol() : void 0;
182
+ case n.LeaderLines:
183
183
  return S(this.model) ? this.model.ticksSymbol : void 0;
184
184
  case i.Background:
185
185
  return this.model.backgroundColor;
@@ -199,7 +199,7 @@ class X extends j {
199
199
  E(this.model) && l(e) && (this.model.xAxisTitleSymbol = e);
200
200
  break;
201
201
  case i.YAxisTitle:
202
- n(this.model) && l(e) && this.model.setAxisTitleSymbol(e, 1);
202
+ d(this.model) && l(e) && this.model.setAxisTitleSymbol(e, 1);
203
203
  break;
204
204
  case i.AxisLabels:
205
205
  C(this.model) && l(e) && (this.model.axisLabelsSymbol = e);
@@ -216,14 +216,14 @@ class X extends j {
216
216
  case i.DataLabels:
217
217
  L(this.model) && l(e) && (this.model.dataLabelsSymbol = e);
218
218
  break;
219
- case d.AxisLines:
219
+ case n.AxisLines:
220
220
  P(this.model) && x(e) && (this.model.axisLinesSymbol = e);
221
221
  break;
222
- case d.GridLines:
222
+ case n.GridLines:
223
223
  if (x(e)) {
224
224
  if (V(this.model))
225
225
  this.model.setGridLinesSymbol(e);
226
- else if (n(this.model)) {
226
+ else if (d(this.model)) {
227
227
  const s = this.model.chartType;
228
228
  let o = [];
229
229
  switch (s) {
@@ -247,7 +247,7 @@ class X extends j {
247
247
  }
248
248
  }
249
249
  break;
250
- case d.LeaderLines:
250
+ case n.LeaderLines:
251
251
  S(this.model) && x(e) && (this.model.ticksSymbol = e);
252
252
  break;
253
253
  case i.Background:
@@ -259,7 +259,7 @@ class X extends j {
259
259
  this.textProperties = [
260
260
  i.Title,
261
261
  ...E(this.model) ? [i.XAxisTitle] : [],
262
- ...n(this.model) ? [i.YAxisTitle] : [],
262
+ ...d(this.model) ? [i.YAxisTitle] : [],
263
263
  ...h(this.model) ? [i.LegendTitle] : [],
264
264
  i.Description,
265
265
  ...h(this.model) ? [i.LegendText] : [],
@@ -268,9 +268,9 @@ class X extends j {
268
268
  ...L(this.model) && this.model.chartType !== r.HeatSeries && this.model.chartType !== r.BoxPlotSeries ? [i.DataLabels] : []
269
269
  ], w(this.model) && (this.textProperties = this.textProperties.filter((s) => s !== i.DataLabels)), this.symbolProperties = [
270
270
  i.Background,
271
- ...P(this.model) && this.model.chartType !== r.HeatSeries ? [d.AxisLines] : [],
272
- ...n(this.model) ? [d.GridLines] : [],
273
- ...S(this.model) ? [d.LeaderLines] : []
271
+ ...P(this.model) && this.model.chartType !== r.HeatSeries ? [n.AxisLines] : [],
272
+ ...d(this.model) ? [n.GridLines] : [],
273
+ ...S(this.model) ? [n.LeaderLines] : []
274
274
  ];
275
275
  const t = this.textProperties.map((s) => this.renderTextElement(s, this.textPropertyChange)), e = this.symbolProperties.map((s) => s === i.Background ? this.renderTextElement(s, this.backgroundChange) : this.renderTextElement(s, this.symbolPropertyChange));
276
276
  return { textElements: t, symbolElements: e };
@@ -284,7 +284,7 @@ class X extends j {
284
284
  return u`<div class=${p(g.sectionLabel)}>${this._messages.textElements}</div><calcite-list label class=${p(g.elementList)} selection-mode=multiple selection-appearance=border @calciteListChange=${this.correctTextElementSelection}>${t}</calcite-list><div class=${p(g.sectionLabel)}>${this._messages.symbolElements}</div><calcite-list label class=${p(g.elementList)} selection-mode=single selection-appearance=border>${e}</calcite-list>`;
285
285
  }
286
286
  }
287
- M("arcgis-charts-config-format", X);
287
+ M("arcgis-charts-config-format", R);
288
288
  export {
289
- X as ArcgisChartsConfigFormat
289
+ R as ArcgisChartsConfigFormat
290
290
  };
@@ -3,13 +3,10 @@ import { c as i } from "../../chunks/runtime.js";
3
3
  import { html as o } from "lit";
4
4
  import { u as a } from "../../chunks/useT9n.js";
5
5
  import { createRef as l, ref as n } from "lit/directives/ref.js";
6
- import { LitElement as c, createEvent as s, safeClassMap as p } from "@arcgis/lumina";
7
- import { e as h } from "../../chunks/popover-ui-utils.js";
6
+ import { LitElement as c, createEvent as s } from "@arcgis/lumina";
7
+ import { e as p } from "../../chunks/popover-ui-utils.js";
8
8
  import { i as r } from "../../chunks/rest-js-object-literals.js";
9
- const g = {
10
- jsAppFlyout: "js-app-flyout"
11
- };
12
- class m extends c {
9
+ class h extends c {
13
10
  constructor() {
14
11
  super(...arguments), this._messages = a(), this.popoverElement = l(), this.placement = "leading", this.open = !1, this.arcgisChartsConfigFormatPopoverColorChange = s(), this.arcgisChartsConfigFormatPopoverSymbolChange = s(), this.arcgisChartsConfigFormatPopoverTextChange = s(), this.arcgisChartsConfigPopoverClose = s();
15
12
  }
@@ -20,7 +17,7 @@ class m extends c {
20
17
  await this.popoverElement.value?.reposition();
21
18
  }
22
19
  updated() {
23
- h(this.popoverElement.value, this.open);
20
+ p(this.popoverElement.value, this.open);
24
21
  }
25
22
  closePopover() {
26
23
  this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
@@ -36,10 +33,10 @@ class m extends c {
36
33
  }
37
34
  render() {
38
35
  const e = this.selectedElement, t = this.selectedElement;
39
- return o`<div class=${p(g.jsAppFlyout)}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${!this.open} label @calcitePopoverClose=${this.closePopover} pointer-disabled auto-close ${n(this.popoverElement)}>${Array.isArray(e) ? o`<arcgis-charts-config-color-style .header=${this._messages.backgroundElement} enable-close .open=${this.open} .selectedColor=${e} @arcgisChartsConfigColorStyleClose=${this.closePopover} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>` : null}${t?.type === r.SLS ? o`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close .lineStyle=${t} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>` : null}${t?.type === r.TS ? o`<arcgis-charts-config-font-style .header=${this._messages.textStyle} .open=${this.open} enable-close .fontStyle=${t} @arcgisChartsConfigFontStyleClose=${this.closePopover} @arcgisChartsConfigFontStyleChange=${this.updateTextProperties}></arcgis-charts-config-font-style>` : null}</calcite-popover></div>`;
36
+ return o`<div><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${!this.open} label @calcitePopoverClose=${this.closePopover} pointer-disabled auto-close ${n(this.popoverElement)}>${Array.isArray(e) ? o`<arcgis-charts-config-color-style .header=${this._messages.backgroundElement} enable-close .open=${this.open} .selectedColor=${e} @arcgisChartsConfigColorStyleClose=${this.closePopover} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>` : null}${t?.type === r.SLS ? o`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close .lineStyle=${t} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>` : null}${t?.type === r.TS ? o`<arcgis-charts-config-font-style .header=${this._messages.textStyle} .open=${this.open} enable-close .fontStyle=${t} @arcgisChartsConfigFontStyleClose=${this.closePopover} @arcgisChartsConfigFontStyleChange=${this.updateTextProperties}></arcgis-charts-config-font-style>` : null}</calcite-popover></div>`;
40
37
  }
41
38
  }
42
- i("arcgis-charts-config-format-popover", m);
39
+ i("arcgis-charts-config-format-popover", h);
43
40
  export {
44
- m as ArcgisChartsConfigFormatPopover
41
+ h as ArcgisChartsConfigFormatPopover
45
42
  };
@@ -4,13 +4,10 @@ import { html as t } from "lit";
4
4
  import { g as i } from "../../chunks/default.js";
5
5
  import { u as l } from "../../chunks/useT9n.js";
6
6
  import { createRef as a, ref as n } from "lit/directives/ref.js";
7
- import { LitElement as p, createEvent as s, safeClassMap as c } from "@arcgis/lumina";
8
- import { i as h } from "../../chunks/rest-js-object-literals.js";
9
- import { e as m } from "../../chunks/popover-ui-utils.js";
10
- const g = {
11
- jsAppFlyout: "js-app-flyout"
12
- };
13
- class C extends p {
7
+ import { LitElement as c, createEvent as s } from "@arcgis/lumina";
8
+ import { i as p } from "../../chunks/rest-js-object-literals.js";
9
+ import { e as h } from "../../chunks/popover-ui-utils.js";
10
+ class m extends c {
14
11
  constructor() {
15
12
  super(...arguments), this._messages = l(), this.popoverElement = a(), this.placement = "leading", this.open = !1, this.arcgisChartsConfigGuidePopoverColorChange = s(), this.arcgisChartsConfigGuidePopoverSymbolChange = s(), this.arcgisChartsConfigPopoverClose = s();
16
13
  }
@@ -21,7 +18,7 @@ class C extends p {
21
18
  await this.popoverElement.value?.reposition();
22
19
  }
23
20
  updated() {
24
- m(this.popoverElement.value, this.open);
21
+ h(this.popoverElement.value, this.open);
25
22
  }
26
23
  guidePopoverClose() {
27
24
  this.open = !1, this.arcgisChartsConfigPopoverClose.emit();
@@ -36,10 +33,10 @@ class C extends p {
36
33
  }
37
34
  render() {
38
35
  const o = this.selectedElement, e = this.selectedElement;
39
- return t`<div class=${c(g.jsAppFlyout)}><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} offset-distance=20 offset-skidding=60 label pointer-disabled @calcitePopoverClose=${this.guidePopoverClose} auto-close ${n(this.popoverElement)}>${Array.isArray(o) && t`<arcgis-charts-config-color-style .header=${this._messages.fillStyle} enable-close .open=${this.open} .selectedColor=${o} @arcgisChartsConfigColorStyleClose=${this.guidePopoverClose} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>` || ""}${e?.type === h.SLS && t`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close .lineStyle=${e} @arcgisChartsConfigLineStyleClose=${this.guidePopoverClose} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>` || ""}</calcite-popover></div>`;
36
+ return t`<div><calcite-popover .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .open=${this.open} offset-distance=20 offset-skidding=60 label pointer-disabled @calcitePopoverClose=${this.guidePopoverClose} auto-close ${n(this.popoverElement)}>${Array.isArray(o) && t`<arcgis-charts-config-color-style .header=${this._messages.fillStyle} enable-close .open=${this.open} .selectedColor=${o} @arcgisChartsConfigColorStyleClose=${this.guidePopoverClose} @arcgisChartsConfigColorStyleChange=${this.updateColorProperties}></arcgis-charts-config-color-style>` || ""}${e?.type === p.SLS && t`<arcgis-charts-config-line-style .header=${this._messages.lineStyle} .open=${this.open} enable-close .lineStyle=${e} @arcgisChartsConfigLineStyleClose=${this.guidePopoverClose} @arcgisChartsConfigLineStyleChange=${this.updateSymbolProperties}></arcgis-charts-config-line-style>` || ""}</calcite-popover></div>`;
40
37
  }
41
38
  }
42
- r("arcgis-charts-config-guide-popover", C);
39
+ r("arcgis-charts-config-guide-popover", m);
43
40
  export {
44
- C as ArcgisChartsConfigGuidePopover
41
+ m as ArcgisChartsConfigGuidePopover
45
42
  };
@@ -1,24 +1,23 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as I } from "../../chunks/runtime.js";
2
+ import { c as w } from "../../chunks/runtime.js";
3
3
  import { repeat as d } from "lit/directives/repeat.js";
4
- import { css as w, html as o } from "lit";
4
+ import { css as F, html as o } from "lit";
5
5
  import { keyed as f } from "lit/directives/keyed.js";
6
6
  import L from "@arcgis/core/Color.js";
7
7
  import { LitElement as T, createEvent as h, safeClassMap as r, nothing as g, safeStyleMap as P } from "@arcgis/lumina";
8
8
  import { createRef as u, ref as p } from "lit/directives/ref.js";
9
9
  import { isEqual as S } from "lodash-es";
10
- import { d as A, F as b } from "../../chunks/index3.js";
10
+ import { d as D, F as b } from "../../chunks/index3.js";
11
11
  import { u as v } from "../../chunks/useT9n.js";
12
12
  import { e as c, W as $ } from "../../chunks/interfaces.js";
13
- import { c as y, b as D, e as m } from "../../chunks/chart-ui-utils2.js";
13
+ import { c as y, b as A, e as m } from "../../chunks/chart-ui-utils2.js";
14
14
  import { C as x, k } from "../../chunks/class-breaks.js";
15
15
  import { R as E } from "../../chunks/rest-js-object-literals.js";
16
16
  import { r as _, i as R, e as C } from "../../chunks/chart-object-literals.js";
17
17
  import { e as B } from "../../chunks/popover-ui-utils.js";
18
18
  import { t as N, aB as M } from "../../chunks/index.js";
19
19
  import { bb as H, bk as O } from "../../chunks/index2.js";
20
- const j = w`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.pick-list-item-label{font-size:small}.panel{max-height:60vh}.color-ramp-popover{display:flex;flex-direction:column;gap:.75rem;min-width:320px;max-width:480px}.color-ramp-toolbar{display:flex;gap:.5rem;align-items:center;padding:5px 5px 0}.ramp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.5rem;max-height:300px;overflow:auto;padding:.25rem}.ramp-item{display:flex;flex-direction:column;border:1px solid var(--calcite-color-foreground-3);background:var(--calcite-color-foreground-1);cursor:pointer;box-shadow:inset 0 0 0 1px transparent;transition:box-shadow .12s;border-radius:2px;min-height:56px;padding:4px}.ramp-item:hover{box-shadow:inset 0 0 0 1px var(--calcite-color-foreground-3)}.ramp-name{font-size:.625rem;line-height:1;padding:2px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-color-text-3)}.ramp-item.selected{background-color:var(--calcite-color-brand)!important;border-color:var(--calcite-color-brand)!important;outline:2px solid var(--calcite-color-brand)!important;color:var(--calcite-color-foreground-1)}.ramp-item.selected .ramp-name{color:var(--calcite-color-foreground-1)}.ramp-item.selected .ramp-strip{box-shadow:none;border:none}.ramp-strips{display:flex;flex:1;height:28px;width:100%;overflow:hidden}.ramp-strip{flex:1;min-width:0}.ramp-strip-fallback{background:repeating-linear-gradient(45deg,var(--calcite-color-foreground-3) 0,var(--calcite-color-foreground-3) 5px,var(--calcite-color-foreground-2) 5px,var(--calcite-color-foreground-2) 10px)}.ramp-empty{grid-column:1/-1;font-size:.75rem;color:var(--calcite-color-text-3)}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}.color-ramp-popover-footer{display:flex;padding:.5rem}.color-ramp-popover-footer calcite-button{flex:1}`, s = {
21
- jsAppFlyout: "js-app-flyout",
20
+ const q = F`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.pick-list-item-label{font-size:small}.panel{max-height:60vh}.color-ramp-popover{display:flex;flex-direction:column;gap:.75rem;min-width:320px;max-width:480px}.color-ramp-toolbar{display:flex;gap:.5rem;align-items:center;padding:5px 5px 0}.ramp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.5rem;max-height:300px;overflow:auto;padding:.25rem}.ramp-item{display:flex;flex-direction:column;border:1px solid var(--calcite-color-foreground-3);background:var(--calcite-color-foreground-1);cursor:pointer;box-shadow:inset 0 0 0 1px transparent;transition:box-shadow .12s;border-radius:2px;min-height:56px;padding:4px}.ramp-item:hover{box-shadow:inset 0 0 0 1px var(--calcite-color-foreground-3)}.ramp-name{font-size:.625rem;line-height:1;padding:2px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-color-text-3)}.ramp-item.selected{background-color:var(--calcite-color-brand)!important;border-color:var(--calcite-color-brand)!important;outline:2px solid var(--calcite-color-brand)!important;color:var(--calcite-color-foreground-1)}.ramp-item.selected .ramp-name{color:var(--calcite-color-foreground-1)}.ramp-item.selected .ramp-strip{box-shadow:none;border:none}.ramp-strips{display:flex;flex:1;height:28px;width:100%;overflow:hidden}.ramp-strip{flex:1;min-width:0}.ramp-strip-fallback{background:repeating-linear-gradient(45deg,var(--calcite-color-foreground-3) 0,var(--calcite-color-foreground-3) 5px,var(--calcite-color-foreground-2) 5px,var(--calcite-color-foreground-2) 10px)}.ramp-empty{grid-column:1/-1;font-size:.75rem;color:var(--calcite-color-text-3)}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}.color-ramp-popover-footer{display:flex;padding:.5rem}.color-ramp-popover-footer calcite-button{flex:1}`, s = {
22
21
  name: "bar-chart-data-popover",
23
22
  header: "header",
24
23
  pickListItemLabel: "pick-list-item-label",
@@ -35,7 +34,7 @@ const j = w`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.a
35
34
  panelChildrenContainer: "panel-children-container",
36
35
  colorRampPopoverFooter: "color-ramp-popover-footer"
37
36
  };
38
- class q extends T {
37
+ class W extends T {
39
38
  constructor() {
40
39
  super(...arguments), this._messages = v(), this.commonStrings = v({ name: "common", blocking: !0 }), this.picklist = u(), this.popoverElement = u(), this.placement = "leading", this.offsetDistance = -200, this.availableColorRamps = [], this.selectedCategory = x.all, this.aggregationLabels = [], this.isFlipped = !1, this.open = !1, this.layerFieldsInfo = [], this.arcgisChartsConfigHeatChartColorRampChange = h(), this.arcgisChartsConfigHeatChartDataPopoverChange = h(), this.arcgisChartsConfigPopoverClose = h(), this.arcgisChartsConfigPopoverEmptyCellColorChange = h(), this.arcgisChartsConfigPopoverEmptyCellNameChange = h();
41
40
  }
@@ -43,7 +42,7 @@ class q extends T {
43
42
  this.properties = { availableColorRamps: 16, selectedColorRampName: 16, selectedCategory: 16, aggregationLabels: 16, isFlipped: 5, model: 0, messageOverrides: 0, headingTitle: 1, referenceElement: 0, open: 5, contentKind: 1, layerFieldsInfo: 0, selectedContent: 1, colorRamps: 0 };
44
43
  }
45
44
  static {
46
- this.styles = j;
45
+ this.styles = q;
47
46
  }
48
47
  async reposition() {
49
48
  await this.popoverElement.value?.reposition();
@@ -55,13 +54,13 @@ class q extends T {
55
54
  updated() {
56
55
  setTimeout(() => {
57
56
  this.picklist.value?.setFocus();
58
- }, D.PopoverTimer), B(this.popoverElement.value, this.open);
57
+ }, A.PopoverTimer), B(this.popoverElement.value, this.open);
59
58
  }
60
59
  buildAggregationListItems() {
61
60
  return d(y.filter((e) => e !== _.NoAggregation), (e) => e, (e, t) => o`<calcite-list-item .label=${this.aggregationLabels[t]} .value=${e} .selected=${m(e, this.selectedContent)}></calcite-list-item>`);
62
61
  }
63
62
  buildPickListItem(e) {
64
- return f(e.name, o`<calcite-list-item .label=${A(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${m(e.name, this.selectedContent)}></calcite-list-item>`);
63
+ return f(e.name, o`<calcite-list-item .label=${D(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${m(e.name, this.selectedContent)}></calcite-list-item>`);
65
64
  }
66
65
  buildPickListItems(e) {
67
66
  const t = this.layerFieldsInfo?.length ?? 0, a = [];
@@ -119,7 +118,7 @@ class q extends T {
119
118
  typeof a == "string" && a.length && (t = a);
120
119
  } else if (Array.isArray(e)) {
121
120
  const [a, i, l, n] = e;
122
- [a, i, l].every((F) => typeof F == "number") && (t = `rgba(${a},${i},${l},${n ?? 1})`);
121
+ [a, i, l].every((I) => typeof I == "number") && (t = `rgba(${a},${i},${l},${n ?? 1})`);
123
122
  } else if (typeof e == "object" && e) {
124
123
  const { r: a, g: i, b: l, a: n } = e;
125
124
  if (a != null && i != null && l != null)
@@ -261,10 +260,10 @@ class q extends T {
261
260
  return o`<div><div class=${r(s.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${t} @calciteInputInput=${this.nameChange}></calcite-input></calcite-label></div><div class=${r(s.panelChildrenContainer)}><arcgis-charts-config-colors .heading=${this._messages?.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></div>`;
262
261
  }
263
262
  render() {
264
- return o`<div class=${r(s.jsAppFlyout)}><calcite-popover class=${r(s.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${p(this.popoverElement)}><calcite-panel class=${r(s.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${r(s.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${void 0}</calcite-panel></calcite-popover></div>`;
263
+ return o`<div><calcite-popover class=${r(s.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${p(this.popoverElement)}><calcite-panel class=${r(s.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${r(s.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${void 0}</calcite-panel></calcite-popover></div>`;
265
264
  }
266
265
  }
267
- I("arcgis-charts-config-heat-chart-popover", q);
266
+ w("arcgis-charts-config-heat-chart-popover", W);
268
267
  export {
269
- q as ArcgisChartsConfigHeatChartPopover
268
+ W as ArcgisChartsConfigHeatChartPopover
270
269
  };
@@ -1,30 +1,29 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { c as f } from "../../chunks/runtime.js";
3
- import { css as y, html as s } from "lit";
3
+ import { css as y, html as t } from "lit";
4
4
  import { keyed as c } from "lit/directives/keyed.js";
5
- import { H as o } from "../../chunks/interfaces.js";
5
+ import { H as i } from "../../chunks/interfaces.js";
6
6
  import { b as v, o as C } from "../../chunks/chart-ui-utils2.js";
7
- import { u } from "../../chunks/useT9n.js";
7
+ import { u as b } from "../../chunks/useT9n.js";
8
8
  import { createRef as m, ref as h } from "lit/directives/ref.js";
9
- import { LitElement as b, createEvent as p, safeClassMap as t } from "@arcgis/lumina";
9
+ import { LitElement as u, createEvent as p, safeClassMap as s } from "@arcgis/lumina";
10
10
  import { i as $ } from "../../chunks/rest-js-object-literals.js";
11
- import { g as l } from "../../chunks/chart-object-literals.js";
11
+ import { g as o } from "../../chunks/chart-object-literals.js";
12
12
  import { e as P } from "../../chunks/popover-ui-utils.js";
13
13
  import { d as S } from "../../chunks/index3.js";
14
14
  import { bk as k } from "../../chunks/index2.js";
15
15
  import { aB as L } from "../../chunks/index.js";
16
- const i = {
16
+ const l = {
17
17
  symbolPropertyPopover: "symbol-property-popover",
18
18
  colorPicker: "color-picker",
19
- jsAppFlyout: "js-app-flyout",
20
19
  header: "header",
21
20
  pickListItemLabel: "pick-list-item-label",
22
21
  fieldSelectPanel: "field-select-panel",
23
22
  transformationPanel: "transformation-panel"
24
23
  }, T = y`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.right{display:block;text-align:right}.inline{display:inline-flex;flex-wrap:wrap}.symbol-property-popover{min-width:300px}.symbol-property-popover .inline{align-items:center;margin-bottom:1rem;padding:0 1rem}.symbol-property-popover .inline calcite-action{margin-left:.2rem}.symbol-property-popover .inline input,.symbol-property-popover .inline select{width:4rem;margin-left:.5rem;height:24px}.symbol-property-popover .inline select{width:6rem}.symbol-property-popover .color calcite-icon{margin-left:.5rem}.symbol-property-popover .color .color-picker{padding:1rem}.header{margin:0;font-weight:bolder}.pick-list-item-label{font-size:small}.field-select-panel{max-height:60vh}.transformation-panel{width:calc(var(--calcite-panel-width-multiplier) * 12vw);max-width:calc(var(--calcite-panel-width-multiplier) * 300px);min-width:calc(var(--calcite-panel-width-multiplier) * 150px);min-width:calc(var(--calcite-panel-width-multiplier) * 170px)}`;
25
- class F extends b {
24
+ class F extends u {
26
25
  constructor() {
27
- super(...arguments), this._messages = u(), this.picklist = m(), this.popoverElement = m(), this.layerFieldsInfo = [], this.open = !1, this.arcgisChartsConfigHistogramPopoverChange = p(), this.arcgisChartsConfigHistogramPopoverSymbolChange = p(), this.arcgisChartsConfigPopoverClose = p();
26
+ super(...arguments), this._messages = b(), this.picklist = m(), this.popoverElement = m(), this.layerFieldsInfo = [], this.open = !1, this.arcgisChartsConfigHistogramPopoverChange = p(), this.arcgisChartsConfigHistogramPopoverSymbolChange = p(), this.arcgisChartsConfigPopoverClose = p();
28
27
  }
29
28
  static {
30
29
  this.properties = { messageOverrides: 0, layerFieldsInfo: 0, headingTitle: 1, selectedNumericField: 1, selectedTransformationType: 1, selectedOverlaySymbol: 0, selectedBinColor: 0, referenceElement: 0, contentKind: 1, placement: 1, open: 5, selectedOverlaySymbolType: 1 };
@@ -42,23 +41,23 @@ class F extends b {
42
41
  }
43
42
  buildPickListItems(e) {
44
43
  const n = [];
45
- if (e === o.numericFields)
44
+ if (e === i.numericFields)
46
45
  for (let r = 0; r < this.layerFieldsInfo?.length; r += 1) {
47
46
  const a = this.layerFieldsInfo[r];
48
- k(a) && n.push(c(a.name, s`<calcite-list-item .label=${S(this.layerFieldsInfo, a.name)} .value=${a.name} .selected=${this.selectedNumericField === a.name}></calcite-list-item>`));
47
+ k(a) && n.push(c(a.name, t`<calcite-list-item .label=${S(this.layerFieldsInfo, a.name)} .value=${a.name} .selected=${this.selectedNumericField === a.name}></calcite-list-item>`));
49
48
  }
50
49
  else {
51
50
  const r = [
52
- c(l.None, s`<calcite-list-item .label=${this._messages.none} .value=${l.None} .selected=${this.selectedTransformationType === l.None}></calcite-list-item>`),
53
- c(l.Log, s`<calcite-list-item .label=${this._messages.log} .value=${l.Log} .selected=${this.selectedTransformationType === l.Log}></calcite-list-item>`),
54
- c(l.Sqrt, s`<calcite-list-item .label=${this._messages.sqRt} .value=${l.Sqrt} .selected=${this.selectedTransformationType === l.Sqrt}></calcite-list-item>`)
51
+ c(o.None, t`<calcite-list-item .label=${this._messages.none} .value=${o.None} .selected=${this.selectedTransformationType === o.None}></calcite-list-item>`),
52
+ c(o.Log, t`<calcite-list-item .label=${this._messages.log} .value=${o.Log} .selected=${this.selectedTransformationType === o.Log}></calcite-list-item>`),
53
+ c(o.Sqrt, t`<calcite-list-item .label=${this._messages.sqRt} .value=${o.Sqrt} .selected=${this.selectedTransformationType === o.Sqrt}></calcite-list-item>`)
55
54
  ];
56
55
  n.push(...r);
57
56
  }
58
57
  return n;
59
58
  }
60
59
  getPopoverClass() {
61
- return this.contentKind === o.fillSymbol || this.contentKind === o.lineSymbol ? i.symbolPropertyPopover : "";
60
+ return this.contentKind === i.fillSymbol || this.contentKind === i.lineSymbol ? l.symbolPropertyPopover : "";
62
61
  }
63
62
  closePopover() {
64
63
  (this.open || this.popoverElement.value?.open === !1) && (this.open = !1, this.arcgisChartsConfigPopoverClose.emit());
@@ -80,31 +79,31 @@ class F extends b {
80
79
  }), this.open = !1);
81
80
  }
82
81
  renderFillColor() {
83
- return s`<arcgis-charts-config-color-style class=${t(i.colorPicker)} .header=${this.headingTitle ?? this._messages.fillColor} enable-close .open=${this.open} .selectedColor=${this.selectedBinColor?.color} @arcgisChartsConfigColorStyleChange=${this.fillColorChange} @arcgisChartsConfigColorStyleClose=${this.closePopover}></arcgis-charts-config-color-style>`;
82
+ return t`<arcgis-charts-config-color-style class=${s(l.colorPicker)} .header=${this.headingTitle ?? this._messages.fillColor} enable-close .open=${this.open} .selectedColor=${this.selectedBinColor?.color} @arcgisChartsConfigColorStyleChange=${this.fillColorChange} @arcgisChartsConfigColorStyleClose=${this.closePopover}></arcgis-charts-config-color-style>`;
84
83
  }
85
84
  renderOverlayStyle() {
86
- return s`<arcgis-charts-config-line-style class=${t(i.colorPicker)} .open=${this.open} enable-close .header=${this.headingTitle ?? this._messages.lineStyle} .lineStyle=${this.selectedOverlaySymbol} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.overlaySymbolChange}></arcgis-charts-config-line-style>`;
85
+ return t`<arcgis-charts-config-line-style class=${s(l.colorPicker)} .open=${this.open} enable-close .header=${this.headingTitle ?? this._messages.lineStyle} .lineStyle=${this.selectedOverlaySymbol} @arcgisChartsConfigLineStyleClose=${this.closePopover} @arcgisChartsConfigLineStyleChange=${this.overlaySymbolChange}></arcgis-charts-config-line-style>`;
87
86
  }
88
87
  renderFieldSelect() {
89
- const e = this.buildPickListItems(o.numericFields);
90
- return s`<calcite-panel class=${t(i.fieldSelectPanel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${t(i.header)}>${this._messages.numericalFieldHeader}</div><calcite-list label selection-mode=single selection-appearance=border class=${t(i.pickListItemLabel)} filter-enabled @calciteListChange=${this.onPickListChange} ${h(this.picklist)}>${e}</calcite-list></calcite-panel>`;
88
+ const e = this.buildPickListItems(i.numericFields);
89
+ return t`<calcite-panel class=${s(l.fieldSelectPanel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${s(l.header)}>${this._messages.numericalFieldHeader}</div><calcite-list label selection-mode=single selection-appearance=border class=${s(l.pickListItemLabel)} filter-enabled @calciteListChange=${this.onPickListChange} ${h(this.picklist)}>${e}</calcite-list></calcite-panel>`;
91
90
  }
92
91
  renderTransformationSelect() {
93
- const e = this.buildPickListItems(o.transformation);
94
- return s`<calcite-panel class=${t(i.transformationPanel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${t(i.header)}>${this._messages.transformationHeader}</div><calcite-list label selection-mode=single selection-appearance=border class=${t(i.pickListItemLabel)} @calciteListChange=${this.onPickListChange}>${e}</calcite-list></calcite-panel>`;
92
+ const e = this.buildPickListItems(i.transformation);
93
+ return t`<calcite-panel class=${s(l.transformationPanel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${s(l.header)}>${this._messages.transformationHeader}</div><calcite-list label selection-mode=single selection-appearance=border class=${s(l.pickListItemLabel)} @calciteListChange=${this.onPickListChange}>${e}</calcite-list></calcite-panel>`;
95
94
  }
96
95
  render() {
97
- return s`<div class=${t({ [i.jsAppFlyout]: !0 })}><calcite-popover class=${t(this.getPopoverClass())} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .open=${this.open} .offsetDistance=${C(this.placement)} label auto-close ${h(this.popoverElement)}>${this.renderContentType()}</calcite-popover></div>`;
96
+ return t`<div><calcite-popover class=${s(this.getPopoverClass())} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .open=${this.open} .offsetDistance=${C(this.placement)} label auto-close ${h(this.popoverElement)}>${this.renderContentType()}</calcite-popover></div>`;
98
97
  }
99
98
  renderContentType() {
100
99
  switch (this.contentKind) {
101
- case o.fillSymbol:
100
+ case i.fillSymbol:
102
101
  return this.renderFillColor();
103
- case o.lineSymbol:
102
+ case i.lineSymbol:
104
103
  return this.renderOverlayStyle();
105
- case o.numericFields:
104
+ case i.numericFields:
106
105
  return this.renderFieldSelect();
107
- case o.transformation:
106
+ case i.transformation:
108
107
  return this.renderTransformationSelect();
109
108
  default:
110
109
  return;