@arcgis/charts-components 5.2.0-next.71 → 5.2.0-next.73
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.
- package/LICENSE.md +4 -2
- package/dist/cdn/{4M4SAEH4.js → 27T5D3K4.js} +1 -1
- package/dist/cdn/{QSGJ3MAT.js → 2EX6L3UK.js} +1 -1
- package/dist/cdn/{54VUGIAU.js → 2NQ6MELS.js} +1 -1
- package/dist/cdn/{VHW4OAKG.js → 2TE3YZBW.js} +3 -3
- package/dist/cdn/{7XWR4EVM.js → 3K3AZU3H.js} +1 -1
- package/dist/cdn/{FJGG2VVZ.js → 3P2SRGLO.js} +1 -1
- package/dist/cdn/{5NVOWYWZ.js → 3VM4DOEZ.js} +1 -1
- package/dist/cdn/{IODRBLGT.js → 4BRBVLD3.js} +1 -1
- package/dist/cdn/{2SLJKRSD.js → 4R7PF5KX.js} +1 -1
- package/dist/cdn/{SSQPRUUN.js → 54JCSWKS.js} +1 -1
- package/dist/cdn/{IO6A77U4.js → 5LWG4OGB.js} +1 -1
- package/dist/cdn/{I5DMUUEL.js → 5ROKZRVW.js} +1 -1
- package/dist/cdn/{25MA553Z.js → 5TF4XWIC.js} +1 -1
- package/dist/cdn/{OAXHS4LE.js → 5X7Q3I6R.js} +1 -1
- package/dist/cdn/{3PDVKKKZ.js → 6F6RXEE7.js} +1 -1
- package/dist/cdn/{SL7NRRSJ.js → 6O3HF44R.js} +1 -1
- package/dist/cdn/{QWCNHH6G.js → 6QQTUFRP.js} +1 -1
- package/dist/cdn/{WDUTZ6EO.js → 76SBKWBM.js} +1 -1
- package/dist/cdn/{VUHFYOLC.js → 7NQYTB6K.js} +1 -1
- package/dist/cdn/{4DC4ARHU.js → 7O3T7HG5.js} +1 -1
- package/dist/cdn/{6TJIHHQF.js → 7VJRGF4E.js} +1 -1
- package/dist/cdn/{GIH3U7YP.js → A7ISZ5RM.js} +1 -1
- package/dist/cdn/{VNYRZDY5.js → BBWFFVQ7.js} +1 -1
- package/dist/cdn/{RCZLTGQI.js → BE3D4CYZ.js} +1 -1
- package/dist/cdn/{BZ6FUIQF.js → BRWJSQNF.js} +1 -1
- package/dist/cdn/{OTFA727N.js → BTKWU3YE.js} +1 -1
- package/dist/cdn/{PTUMQCFF.js → C6U7HPQE.js} +1 -1
- package/dist/cdn/{DT5BOM5F.js → CY3UKUIP.js} +1 -1
- package/dist/cdn/{2K4MIK4T.js → D2AGAJK7.js} +1 -1
- package/dist/cdn/{LIDWAYQH.js → D43DR25R.js} +28 -28
- package/dist/cdn/{4JWIBRGO.js → D6MRUKIA.js} +1 -1
- package/dist/cdn/{4IO3VF3L.js → DQSPIG3P.js} +1 -1
- package/dist/cdn/DY2DE7FX.js +2 -0
- package/dist/cdn/{3B6QE7OV.js → E4ZOL5K5.js} +1 -1
- package/dist/cdn/{QT64PB4L.js → EUNBXPUS.js} +1 -1
- package/dist/cdn/{ROG3HFDT.js → EUQPESOK.js} +1 -1
- package/dist/cdn/{K6F2LRKI.js → F3ZGHFA6.js} +1 -1
- package/dist/cdn/{MAC4MPUA.js → FLMUOC55.js} +1 -1
- package/dist/cdn/{WM6SCZHN.js → HOQNWF7T.js} +1 -1
- package/dist/cdn/{PIEX577B.js → HS52MRKJ.js} +1 -1
- package/dist/cdn/{QC3FMJKL.js → HXC5LKJW.js} +1 -1
- package/dist/cdn/{IK4FPUFJ.js → IMG5US47.js} +1 -1
- package/dist/cdn/{7KNUJIOC.js → IXBLQSE6.js} +1 -1
- package/dist/cdn/{V2FHLWYC.js → JYV4I2GQ.js} +1 -1
- package/dist/cdn/{3FM3YR57.js → KBROJDYY.js} +1 -1
- package/dist/cdn/{NUHPR7BM.js → KMX777EF.js} +1 -1
- package/dist/cdn/{BQORJ3LU.js → KN6WLM2H.js} +1 -1
- package/dist/cdn/{WPLHZAZ3.js → LKNQUAR2.js} +1 -1
- package/dist/cdn/{OE7Q4MG5.js → LMOH2EKW.js} +1 -1
- package/dist/cdn/{NF4EBNLN.js → LP5TTMQR.js} +1 -1
- package/dist/cdn/{OE7FIKPS.js → M2TX43TJ.js} +1 -1
- package/dist/cdn/{XH57C72H.js → MQJAK2SJ.js} +1 -1
- package/dist/cdn/{L6DFXTSQ.js → NAUEEC5O.js} +1 -1
- package/dist/cdn/{F5AR3N3Z.js → NLIYZT4J.js} +1 -1
- package/dist/cdn/{LAPBDR32.js → NPH57JQ6.js} +1 -1
- package/dist/cdn/{JYLEN3VQ.js → NQ5JEX36.js} +1 -1
- package/dist/cdn/{MOG5ZVLX.js → NVINMCGT.js} +1 -1
- package/dist/cdn/{BAFCVCT4.js → OFJFM4B4.js} +1 -1
- package/dist/cdn/{BNNBHYRP.js → OQZDT6CL.js} +1 -1
- package/dist/cdn/{3XB2RWHK.js → OUOCOHTG.js} +1 -1
- package/dist/cdn/{EJWHEBKW.js → OWJQEWK7.js} +1 -1
- package/dist/cdn/{JAQYU6KP.js → P6YFC7LU.js} +1 -1
- package/dist/cdn/{7REEJ3OW.js → PE3I5BB4.js} +1 -1
- package/dist/cdn/{5GZDXWTQ.js → PZL4HGLN.js} +1 -1
- package/dist/cdn/{CVFKL3S2.js → Q2GJNRU2.js} +1 -1
- package/dist/cdn/{O2BQ374Y.js → Q7VV6RA4.js} +1 -1
- package/dist/cdn/{3WOYVXSZ.js → R2GPX6DA.js} +1 -1
- package/dist/cdn/{VAF3UIVA.js → RHSCKBJG.js} +1 -1
- package/dist/cdn/RSLGXN7X.js +2 -0
- package/dist/cdn/{P6DBPQZO.js → RXSNPRN7.js} +1 -1
- package/dist/cdn/{ZK5Z6BOX.js → S3LRWKAX.js} +1 -1
- package/dist/cdn/{3V4ZETXH.js → S3QIWVN6.js} +1 -1
- package/dist/cdn/{LPYRKK25.js → SJ7UC3JM.js} +1 -1
- package/dist/cdn/{NP24UZGI.js → SM5PY54Q.js} +1 -1
- package/dist/cdn/{AVE3KXWQ.js → SPAWFHXG.js} +1 -1
- package/dist/cdn/{RCLHFY6O.js → TBAK2RCH.js} +1 -1
- package/dist/cdn/{33JR3GH6.js → TSORVNA6.js} +1 -1
- package/dist/cdn/{27RKQQPS.js → TTMIUSJW.js} +1 -1
- package/dist/cdn/{QAXXYD6N.js → UFCXIYYK.js} +1 -1
- package/dist/cdn/{4ODTQZJK.js → UUKKQ3K7.js} +1 -1
- package/dist/cdn/VMN2UXWS.js +3 -0
- package/dist/cdn/{GKEW5JYD.js → VZOL2AD6.js} +1 -1
- package/dist/cdn/{E7QFC64H.js → W4F6FFOT.js} +1 -1
- package/dist/cdn/{4JUR3VIE.js → XFO5L4DP.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/box-plot-model.js +37 -37
- package/dist/chunks/class-breaks.js +66 -66
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/data.js +15 -15
- package/dist/chunks/index2.js +3184 -3143
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/negative-values-stacked-to-baseline.js +6 -6
- package/dist/chunks/pie-chart-model.js +385 -334
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +50 -50
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/type-guards2.js +15 -15
- package/dist/chunks/utils.js +10 -10
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/chunks/x-bounds.js +5 -5
- package/dist/components/arcgis-chart/customElement.d.ts +11 -29
- package/dist/components/arcgis-chart/customElement.js +171 -166
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-guide/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +18 -18
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +4 -4
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +208 -207
- package/dist/model/pie-chart-model/pie-chart-legend-model.d.ts +7 -55
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +59 -2
- package/dist/model/shared/type-guards.d.ts +1 -0
- package/dist/utils/chart-config/converter/index.js +32 -32
- package/dist/utils/components/interfaces.d.ts +2 -0
- package/package.json +4 -4
- package/dist/cdn/CNI32IL3.js +0 -2
- package/dist/cdn/CRQK4CKK.js +0 -2
- package/dist/cdn/NAGOJPIX.js +0 -3
|
@@ -4,7 +4,7 @@ import { LitElement as f, createEvent as g } from "@arcgis/lumina";
|
|
|
4
4
|
import { css as m, html as s } from "lit";
|
|
5
5
|
import { isEqual as n } from "lodash-es";
|
|
6
6
|
import { C as t } from "../../chunks/interfaces.js";
|
|
7
|
-
import {
|
|
7
|
+
import { bF as c, an as p, a$ as u, ac as C, bY as F, I as y, bj as v } from "../../chunks/index2.js";
|
|
8
8
|
const b = m`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
9
9
|
class I extends f {
|
|
10
10
|
constructor() {
|
|
@@ -15,7 +15,7 @@ import { t as u, r as z, s as p } from "../../chunks/chart-object-literals.js";
|
|
|
15
15
|
import { S as m } from "../../chunks/common.js";
|
|
16
16
|
import { e as N, p as B } from "../../chunks/popover-ui-utils.js";
|
|
17
17
|
import { w as K, aj as _ } from "../../chunks/index.js";
|
|
18
|
-
import { a2 as O,
|
|
18
|
+
import { a2 as O, bs as P, bj as H, bQ as M, by as U } from "../../chunks/index2.js";
|
|
19
19
|
import { d as j, m as W } from "../../chunks/index3.js";
|
|
20
20
|
const R = D`.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}.fab{display:flex;justify-content:stretch}.popover-pick-list{font-size:small;max-width:var(--arcgis-charts-config-popover-pick-list-max-width)}.sort-icon-color{color:#000}.sort-y-axis{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}.panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}.panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}.panel .apply-button{width:17rem}`, o = {
|
|
21
21
|
name: "bar-chart-data-popover",
|
|
@@ -11,7 +11,7 @@ import { createRef as u, ref as m } from "lit/directives/ref.js";
|
|
|
11
11
|
import { LitElement as x, createEvent as g, renderElement as I, safeStyleMap as D, safeClassMap as d } from "@arcgis/lumina";
|
|
12
12
|
import { B as r } from "../../chunks/common.js";
|
|
13
13
|
import { e as S, p as T } from "../../chunks/popover-ui-utils.js";
|
|
14
|
-
import {
|
|
14
|
+
import { bs as b, by as E, a2 as w } from "../../chunks/index2.js";
|
|
15
15
|
import { d as B } from "../../chunks/index3.js";
|
|
16
16
|
import { R as C } from "../../chunks/rest-js-object-literals.js";
|
|
17
17
|
const o = {
|
|
@@ -15,7 +15,7 @@ import { css as Z, html as h } from "lit";
|
|
|
15
15
|
import { createRef as K, ref as j } from "lit/directives/ref.js";
|
|
16
16
|
import { u as L } from "../../chunks/useT9n.js";
|
|
17
17
|
import { c as q, a as S, g as Y } from "../../chunks/store.js";
|
|
18
|
-
import {
|
|
18
|
+
import { dw as Q, _ as J, dx as ee, K as te, cp as ae } from "../../chunks/index2.js";
|
|
19
19
|
import { A as ie } from "../../chunks/axis-model-wrapper.js";
|
|
20
20
|
import { h as se, f as y } from "../../chunks/web-component-utils.js";
|
|
21
21
|
import { a as re } from "../../chunks/chart-ui-utils2.js";
|
|
@@ -4,14 +4,14 @@ import { ref as M } from "lit/directives/ref.js";
|
|
|
4
4
|
import { u as y, m as d, k as h, j as S, e as V, w } from "../../chunks/type-guards2.js";
|
|
5
5
|
import { i as T } from "../../chunks/data-labels-symbol.js";
|
|
6
6
|
import { i as C, a as L, b as P } from "../../chunks/axis-lines-symbol.js";
|
|
7
|
-
import { cloneDeep as n, isArray as F, isObject as A, mergeWith as
|
|
8
|
-
import { h as
|
|
9
|
-
import { g as
|
|
7
|
+
import { cloneDeep as n, isArray as F, isObject as A, mergeWith as G, isEmpty as E } from "lodash-es";
|
|
8
|
+
import { h as W } from "../../chunks/chart-ui-utils2.js";
|
|
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
11
|
import { css as z, html as f } from "lit";
|
|
12
12
|
import { LitElement as H, renderElement as j, safeClassMap as p } from "@arcgis/lumina";
|
|
13
13
|
import { C as I, F as i, L as m } from "../../chunks/common.js";
|
|
14
|
-
import {
|
|
14
|
+
import { bG as u, bW as r } from "../../chunks/index2.js";
|
|
15
15
|
import { r as $ } from "../../chunks/popover-ui-utils.js";
|
|
16
16
|
import { F as O } from "../../chunks/index3.js";
|
|
17
17
|
import { u as a } from "../../chunks/chart-object-literals.js";
|
|
@@ -28,7 +28,7 @@ const v = {
|
|
|
28
28
|
}, k = {
|
|
29
29
|
type: b.SLS,
|
|
30
30
|
color: [1, 1, 1, 255],
|
|
31
|
-
style:
|
|
31
|
+
style: D.Solid,
|
|
32
32
|
width: 2
|
|
33
33
|
}, g = {
|
|
34
34
|
element: "chart-element",
|
|
@@ -138,7 +138,7 @@ class X extends H {
|
|
|
138
138
|
const s = n(this.getFormatValue(t[0]));
|
|
139
139
|
this.selectedElement = t?.reduce((o, l) => {
|
|
140
140
|
const c = this.getFormatValue(l);
|
|
141
|
-
return
|
|
141
|
+
return G(o, c, this.mergeFormatValues);
|
|
142
142
|
}, s);
|
|
143
143
|
} else {
|
|
144
144
|
let s = n(e);
|
|
@@ -283,7 +283,7 @@ class X extends H {
|
|
|
283
283
|
return { textElements: t, symbolElements: e };
|
|
284
284
|
}
|
|
285
285
|
renderTextElement(t, e) {
|
|
286
|
-
const s =
|
|
286
|
+
const s = W(t), o = this.getFormatValue(t), l = typeof o == "string" ? o : "", c = this.selectedTexts.includes(t) || this.selectedSymbols.includes(t) || this.selectedBackground.includes(t);
|
|
287
287
|
return f`<calcite-list-item class=${p(g.element)} .label=${this._messages[t]} .description=${l} .value=${t} .selected=${c} @click=${e} ${M(this.updateSelectableElements)}>${s !== void 0 ? f`<calcite-icon slot=content-start scale=s .icon=${s}></calcite-icon>` : null}</calcite-list-item>`;
|
|
288
288
|
}
|
|
289
289
|
render() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as R } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as X } from "lit/directives/keyed.js";
|
|
4
|
-
import { cloneDeep as
|
|
4
|
+
import { cloneDeep as E } from "lodash-es";
|
|
5
5
|
import { m as G, a as N, j as Z, k, U as S } from "../../chunks/chart-ui-utils2.js";
|
|
6
6
|
import { d as F } from "../../chunks/default.js";
|
|
7
7
|
import { g as z } from "../../chunks/resource.js";
|
|
@@ -10,7 +10,7 @@ import { css as V, html as c } from "lit";
|
|
|
10
10
|
import { createRef as h, ref as u } from "lit/directives/ref.js";
|
|
11
11
|
import { LitElement as q, createEvent as U, renderElement as M, safeStyleMap as L, safeClassMap as o } from "@arcgis/lumina";
|
|
12
12
|
import { m as W, r as Y, s as j } from "../../chunks/type-guards2.js";
|
|
13
|
-
import { M as p,
|
|
13
|
+
import { M as p, bG as m, i as H, a1 as A, aK as _, bF as K } from "../../chunks/index2.js";
|
|
14
14
|
import { a0 as J } from "../../chunks/index.js";
|
|
15
15
|
import { r as Q } from "../../chunks/popover-ui-utils.js";
|
|
16
16
|
import { i as g, g as ee } from "../../chunks/rest-js-object-literals.js";
|
|
@@ -26,7 +26,7 @@ class se extends q {
|
|
|
26
26
|
super(...arguments), this._messages = O(), this.startCalciteInput = h(), this.endCalciteInput = h(), this.startDateCalciteInput = h(), this.endDateCalciteInput = h(), this.startTimeCalciteInput = h(), this.endTimeCalciteInput = h(), this.colorElement = h(), this.colorChange = (e) => {
|
|
27
27
|
const t = e.detail, i = this.model.getGuideStart(this.index, this.orientation), a = this.model.getGuideEnd(this.index, this.orientation);
|
|
28
28
|
if (p(i, a) === g.SLS) {
|
|
29
|
-
const l =
|
|
29
|
+
const l = E(F.style), s = this.model.getGuideStyle(this.index, this.orientation), r = {
|
|
30
30
|
...l,
|
|
31
31
|
...m(s) ? s : {},
|
|
32
32
|
color: t
|
|
@@ -37,7 +37,7 @@ class se extends q {
|
|
|
37
37
|
}, this.symbolChange = (e) => {
|
|
38
38
|
const t = e?.detail, i = this.model.getGuideStart(this.index, this.orientation), a = this.model.getGuideEnd(this.index, this.orientation);
|
|
39
39
|
if (p(i, a) === g.SLS) {
|
|
40
|
-
const l =
|
|
40
|
+
const l = E(F.style), s = this.model.getGuideStyle(this.index, this.orientation), r = {
|
|
41
41
|
...l,
|
|
42
42
|
...m(s) ? s : {},
|
|
43
43
|
...m(t) ? t : {}
|
|
@@ -101,14 +101,14 @@ class se extends q {
|
|
|
101
101
|
})), this.guidePopover?.open === !0 && this.removeGuidePopover();
|
|
102
102
|
}
|
|
103
103
|
setGuideDateTimeRange() {
|
|
104
|
-
const e = this.calculatedMinMaxBounds?.find((d) => d.isXAxis)?.minimum, t = this.calculatedMinMaxBounds?.find((d) => d.isXAxis)?.maximum, i = typeof e == "number" ? new Date(e) : /* @__PURE__ */ new Date(), a = typeof t == "number" ? new Date(t) : /* @__PURE__ */ new Date(), l = new window.Intl.DateTimeFormat().resolvedOptions().timeZone, s = H(this.timeZone) ?? l, r = A(i, s), v = _(i, s), f = A(a, s), B = _(a, s), T = this.startDateCalciteInput.value?.value ?? "", C = T === "" ? r : T, D = this.startTimeCalciteInput.value?.value ?? "", I = D === "" ? v : D, x = this.endDateCalciteInput.value?.value ?? "", y = x === "" ? f : x, w = this.endTimeCalciteInput.value?.value ?? "",
|
|
104
|
+
const e = this.calculatedMinMaxBounds?.find((d) => d.isXAxis)?.minimum, t = this.calculatedMinMaxBounds?.find((d) => d.isXAxis)?.maximum, i = typeof e == "number" ? new Date(e) : /* @__PURE__ */ new Date(), a = typeof t == "number" ? new Date(t) : /* @__PURE__ */ new Date(), l = new window.Intl.DateTimeFormat().resolvedOptions().timeZone, s = H(this.timeZone) ?? l, r = A(i, s), v = _(i, s), f = A(a, s), B = _(a, s), T = this.startDateCalciteInput.value?.value ?? "", C = T === "" ? r : T, D = this.startTimeCalciteInput.value?.value ?? "", I = D === "" ? v : D, x = this.endDateCalciteInput.value?.value ?? "", y = x === "" ? f : x, w = this.endTimeCalciteInput.value?.value ?? "", P = w === "" ? B : w;
|
|
105
105
|
let $ = !1;
|
|
106
106
|
if (!Array.isArray(C) && C !== void 0 && I !== void 0) {
|
|
107
107
|
const d = `${C}T${I}`;
|
|
108
108
|
this.model.setGuideStart(d, this.index, this.orientation), $ = !0;
|
|
109
109
|
}
|
|
110
|
-
if (!Array.isArray(y) && y !== void 0 &&
|
|
111
|
-
const d = x === "" ? void 0 : `${y}T${
|
|
110
|
+
if (!Array.isArray(y) && y !== void 0 && P !== void 0) {
|
|
111
|
+
const d = x === "" ? void 0 : `${y}T${P}`;
|
|
112
112
|
this.model.setGuideEnd(d, this.index, this.orientation), $ = !0;
|
|
113
113
|
}
|
|
114
114
|
$ && (this.symbolChange(), this.arcgisChartsConfigGuideChange.emit({
|
|
@@ -16,7 +16,7 @@ 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 N } from "../../chunks/popover-ui-utils.js";
|
|
18
18
|
import { w as B, aF as M } from "../../chunks/index.js";
|
|
19
|
-
import { bj as H,
|
|
19
|
+
import { bj as H, by as O } from "../../chunks/index2.js";
|
|
20
20
|
const q = T`.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}.popover-pick-list{font-size:small;max-width:var(--arcgis-charts-config-popover-pick-list-max-width)}.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}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}.panel-children-container{padding:0 1rem;margin-top:1rem}.color-ramp-popover-footer{display:flex;padding:.5rem}.color-ramp-popover-footer calcite-button{flex:1}`, s = {
|
|
21
21
|
name: "bar-chart-data-popover",
|
|
22
22
|
header: "header",
|
|
@@ -4,7 +4,7 @@ import { isEqual as r } from "lodash-es";
|
|
|
4
4
|
import { LitElement as n } from "@arcgis/lumina";
|
|
5
5
|
import { css as d, html as i } from "lit";
|
|
6
6
|
import { C as o } from "../../chunks/interfaces.js";
|
|
7
|
-
import {
|
|
7
|
+
import { bF as h, a$ as c, ac as m, bY as f, ay as g, I as p } from "../../chunks/index2.js";
|
|
8
8
|
import { d as u } from "../../chunks/type-guards.js";
|
|
9
9
|
const y = d`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
10
10
|
class C extends n {
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
|
3
|
+
import { css as y, html as t } from "lit";
|
|
4
4
|
import { keyed as c } from "lit/directives/keyed.js";
|
|
5
5
|
import { H as i } from "../../chunks/interfaces.js";
|
|
6
|
-
import { b as
|
|
6
|
+
import { b as v, o as C } from "../../chunks/chart-ui-utils2.js";
|
|
7
7
|
import { u } from "../../chunks/useT9n.js";
|
|
8
8
|
import { createRef as m, ref as h } from "lit/directives/ref.js";
|
|
9
9
|
import { LitElement as b, createEvent as p, safeClassMap as o } from "@arcgis/lumina";
|
|
@@ -11,7 +11,7 @@ import { i as $ } from "../../chunks/rest-js-object-literals.js";
|
|
|
11
11
|
import { g as s } 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
|
-
import {
|
|
14
|
+
import { by as k } from "../../chunks/index2.js";
|
|
15
15
|
import { aF as T } from "../../chunks/index.js";
|
|
16
16
|
const l = {
|
|
17
17
|
symbolPropertyPopover: "symbol-property-popover",
|
|
@@ -20,8 +20,8 @@ const l = {
|
|
|
20
20
|
popoverPickList: "popover-pick-list",
|
|
21
21
|
fieldSelectPanel: "field-select-panel",
|
|
22
22
|
transformationPanel: "transformation-panel"
|
|
23
|
-
},
|
|
24
|
-
class
|
|
23
|
+
}, w = 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}.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 .inline{padding:0 1rem}.symbol-property-popover .color calcite-icon{margin-left:.5rem}.symbol-property-popover .color .color-picker{padding:1rem}.header{margin:0;font-weight:bolder}.popover-pick-list{font-size:small;max-width:var(--arcgis-charts-config-popover-pick-list-max-width)}.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)}`;
|
|
24
|
+
class x extends b {
|
|
25
25
|
constructor() {
|
|
26
26
|
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();
|
|
27
27
|
}
|
|
@@ -29,7 +29,7 @@ class w extends b {
|
|
|
29
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 };
|
|
30
30
|
}
|
|
31
31
|
static {
|
|
32
|
-
this.styles =
|
|
32
|
+
this.styles = w;
|
|
33
33
|
}
|
|
34
34
|
async reposition() {
|
|
35
35
|
await this.popoverElement.value?.reposition();
|
|
@@ -37,7 +37,7 @@ class w extends b {
|
|
|
37
37
|
updated() {
|
|
38
38
|
setTimeout(() => {
|
|
39
39
|
this.picklist.value?.setFocus();
|
|
40
|
-
},
|
|
40
|
+
}, v.PopoverTimer), P(this.popoverElement.value, this.open);
|
|
41
41
|
}
|
|
42
42
|
buildPickListItems(e) {
|
|
43
43
|
const n = [];
|
|
@@ -110,7 +110,7 @@ class w extends b {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
f("arcgis-charts-config-histogram-popover",
|
|
113
|
+
f("arcgis-charts-config-histogram-popover", x);
|
|
114
114
|
export {
|
|
115
|
-
|
|
115
|
+
x as ArcgisChartsConfigHistogramPopover
|
|
116
116
|
};
|
|
@@ -4,7 +4,7 @@ import { isEqual as a } from "lodash-es";
|
|
|
4
4
|
import { LitElement as n, createEvent as d } from "@arcgis/lumina";
|
|
5
5
|
import { css as h, html as o } from "lit";
|
|
6
6
|
import { C as s } from "../../chunks/interfaces.js";
|
|
7
|
-
import { a$ as c, ac as m, I as f,
|
|
7
|
+
import { a$ as c, ac as m, I as f, by as g, bj as p } from "../../chunks/index2.js";
|
|
8
8
|
const u = h`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
9
9
|
class C extends n {
|
|
10
10
|
constructor() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as L } from "../../chunks/runtime.js";
|
|
3
3
|
import { repeat as u } from "lit/directives/repeat.js";
|
|
4
4
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
5
5
|
import { LitElement as k, createEvent as v, safeClassMap as o } from "@arcgis/lumina";
|
|
@@ -8,13 +8,13 @@ import { createRef as h, ref as m } from "lit/directives/ref.js";
|
|
|
8
8
|
import { isEqual as b } from "lodash-es";
|
|
9
9
|
import { u as C } from "../../chunks/useT9n.js";
|
|
10
10
|
import { L as a } from "../../chunks/interfaces.js";
|
|
11
|
-
import { c as $, b as F, e as d, f as I, s as
|
|
12
|
-
import { R as
|
|
11
|
+
import { c as $, b as F, e as d, f as I, s as T } from "../../chunks/chart-ui-utils2.js";
|
|
12
|
+
import { R as x } from "../../chunks/rest-js-object-literals.js";
|
|
13
13
|
import { t as g, s as c } from "../../chunks/chart-object-literals.js";
|
|
14
14
|
import { e as A, p as D } from "../../chunks/popover-ui-utils.js";
|
|
15
15
|
import { w as E, aj as S } from "../../chunks/index.js";
|
|
16
16
|
import { d as z, m as w } from "../../chunks/index3.js";
|
|
17
|
-
import {
|
|
17
|
+
import { bs as N, by as y, bj as K, bQ as B } from "../../chunks/index2.js";
|
|
18
18
|
const _ = 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)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.popover-pick-list{font-size:small;max-width:var(--arcgis-charts-config-popover-pick-list-max-width)}.sort-icon-color{color:#000}.sort-y-axis{transform:rotate(90deg)}calcite-panel{max-height:60vh}calcite-panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}calcite-panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}calcite-panel .apply-button{width:17rem}`, r = {
|
|
19
19
|
name: "line-chart-data-popover",
|
|
20
20
|
header: "header",
|
|
@@ -67,14 +67,14 @@ class H extends k {
|
|
|
67
67
|
case a.numericFields: {
|
|
68
68
|
for (let l = 0; l < t; l += 1) {
|
|
69
69
|
const i = this.layerFieldsInfo?.[l];
|
|
70
|
-
i &&
|
|
70
|
+
i && y(i) && s.push(this.buildPickListItem(i));
|
|
71
71
|
}
|
|
72
72
|
break;
|
|
73
73
|
}
|
|
74
74
|
case a.xAxisField: {
|
|
75
75
|
for (let l = 0; l < t; l += 1) {
|
|
76
76
|
const i = this.layerFieldsInfo?.[l];
|
|
77
|
-
i && (
|
|
77
|
+
i && (y(i) || K(i) || B(i)) && s.push(this.buildPickListItem(i));
|
|
78
78
|
}
|
|
79
79
|
break;
|
|
80
80
|
}
|
|
@@ -83,7 +83,7 @@ class H extends k {
|
|
|
83
83
|
s.push(l);
|
|
84
84
|
for (let i = 0; i < t; i += 1) {
|
|
85
85
|
const p = this.layerFieldsInfo?.[i];
|
|
86
|
-
p && (N(p) || p.type ===
|
|
86
|
+
p && (N(p) || p.type === x.String) && s.push(this.buildPickListItem(p));
|
|
87
87
|
}
|
|
88
88
|
break;
|
|
89
89
|
}
|
|
@@ -152,7 +152,7 @@ class H extends k {
|
|
|
152
152
|
c.Month,
|
|
153
153
|
c.Year
|
|
154
154
|
];
|
|
155
|
-
return n`<div><div class=${o(r.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${
|
|
155
|
+
return n`<div><div class=${o(r.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${T(e?.size, 1)} ${m(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType ?? ""} ${m(this.intervalTypeElement)}>${t.map((s) => n`<calcite-option .value=${s} .label=${w(s, this._messages)} .selected=${e?.unit === s}></calcite-option>`)}</calcite-select></calcite-label><calcite-button class=${o(r.applyButton)} appearance=outline @click=${this.intervalChange}>${this._messages.apply}</calcite-button></div></div>`;
|
|
156
156
|
}
|
|
157
157
|
renderPopoverInfo() {
|
|
158
158
|
let e;
|
|
@@ -183,7 +183,7 @@ class H extends k {
|
|
|
183
183
|
return this.contentKind === a.numericFields && (e = n`<div slot=footer><calcite-fab class=${o(r.fab)} appearance=outline-fill kind=neutral .icon=${void 0} .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`), n`<div><calcite-popover class=${o(r.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} @calcitePopoverClose=${this.closePopover} .open=${this.open} label auto-close ${m(this.popoverElement)}><calcite-panel closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${o(r.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
|
|
186
|
+
L("arcgis-charts-config-line-chart-popover", H);
|
|
187
187
|
export {
|
|
188
188
|
H as ArcgisChartsConfigLineChartPopover
|
|
189
189
|
};
|
|
@@ -6,15 +6,15 @@ import { isEqual as k } from "lodash-es";
|
|
|
6
6
|
import { P as o } from "../../chunks/interfaces.js";
|
|
7
7
|
import { p as f, b as $, e as d, f as P } from "../../chunks/chart-ui-utils2.js";
|
|
8
8
|
import { u } from "../../chunks/useT9n.js";
|
|
9
|
-
import { css as
|
|
9
|
+
import { css as y, html as n } from "lit";
|
|
10
10
|
import { createRef as C, ref as m } from "lit/directives/ref.js";
|
|
11
|
-
import { LitElement as
|
|
11
|
+
import { LitElement as L, createEvent as b, safeClassMap as l } from "@arcgis/lumina";
|
|
12
12
|
import { e as F, p as I } from "../../chunks/popover-ui-utils.js";
|
|
13
13
|
import { w as D } from "../../chunks/index.js";
|
|
14
14
|
import { d as x } from "../../chunks/index3.js";
|
|
15
|
-
import {
|
|
15
|
+
import { bs as S, by as T } from "../../chunks/index2.js";
|
|
16
16
|
import { R as w } from "../../chunks/rest-js-object-literals.js";
|
|
17
|
-
import { a as
|
|
17
|
+
import { a as r } from "../../chunks/common.js";
|
|
18
18
|
const s = {
|
|
19
19
|
name: "pie-chart-data-popover",
|
|
20
20
|
header: "header",
|
|
@@ -23,8 +23,8 @@ const s = {
|
|
|
23
23
|
flipClass: "sort-counter-clockwise",
|
|
24
24
|
sortOrderPickList: "sort-order-pick-list",
|
|
25
25
|
panel: "panel"
|
|
26
|
-
}, E =
|
|
27
|
-
class A extends
|
|
26
|
+
}, E = 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)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.popover-pick-list{font-size:small;max-width:var(--arcgis-charts-config-popover-pick-list-max-width)}.sort-icon-color{color:#000}.sort-counter-clockwise{transform:scaleX(-1)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}`;
|
|
27
|
+
class A extends L {
|
|
28
28
|
constructor() {
|
|
29
29
|
super(...arguments), this._messages = u(), this.commonStrings = u({ name: "common", blocking: !0 }), this.picklist = C(), this.popoverElement = C(), this.placement = "leading", this.offsetDistance = -200, this.pickListHasChanged = !1, this.aggregationLabels = [], this.open = !1, this.layerFieldsInfo = [], this.arcgisChartsConfigPieChartDataPopoverChange = b(), this.arcgisChartsConfigPopoverClose = b();
|
|
30
30
|
}
|
|
@@ -54,28 +54,28 @@ class A extends y {
|
|
|
54
54
|
return h(f, (e) => e, (e, t) => n`<calcite-list-item .label=${this.aggregationLabels[t]} .value=${e} .selected=${d(e, this.selectedContent)}></calcite-list-item>`);
|
|
55
55
|
}
|
|
56
56
|
buildSortOrder() {
|
|
57
|
-
const e = Object.keys(
|
|
58
|
-
return e.splice(e.indexOf(
|
|
57
|
+
const e = Object.keys(r);
|
|
58
|
+
return e.splice(e.indexOf(r.customSort), 1), h(e, (t) => t, (t) => {
|
|
59
59
|
let i = "string";
|
|
60
60
|
const c = "rotate";
|
|
61
61
|
let a = "";
|
|
62
62
|
switch (t) {
|
|
63
|
-
case
|
|
63
|
+
case r.labelAsc:
|
|
64
64
|
i = "string";
|
|
65
65
|
break;
|
|
66
|
-
case
|
|
66
|
+
case r.labelDesc:
|
|
67
67
|
i = "string", a = s.flipClass;
|
|
68
68
|
break;
|
|
69
|
-
case
|
|
69
|
+
case r.valueAsc:
|
|
70
70
|
i = "number";
|
|
71
71
|
break;
|
|
72
|
-
case
|
|
72
|
+
case r.valueDesc:
|
|
73
73
|
i = "number", a = s.flipClass;
|
|
74
74
|
break;
|
|
75
75
|
// Do nothing for customSort for now
|
|
76
|
-
case
|
|
76
|
+
case r.customSort:
|
|
77
77
|
}
|
|
78
|
-
return n`<calcite-list-item .selected=${this.selectedContent === t} .label=${this._messages[t]} .value=${
|
|
78
|
+
return n`<calcite-list-item .selected=${this.selectedContent === t} .label=${this._messages[t]} .value=${r[t]}><calcite-icon slot=content-end .icon=${i}></calcite-icon><calcite-icon class=${l(a)} slot=content-end .icon=${c}></calcite-icon></calcite-list-item>`;
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
81
|
buildPickListItem(e) {
|
|
@@ -130,15 +130,15 @@ class A extends y {
|
|
|
130
130
|
}
|
|
131
131
|
renderAggregationType() {
|
|
132
132
|
const e = this.buildAggregationPickListItems();
|
|
133
|
-
return n`<calcite-list label class=${
|
|
133
|
+
return n`<calcite-list label class=${l(s.popoverPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
134
134
|
}
|
|
135
135
|
renderCategory() {
|
|
136
136
|
const e = this.buildPickListItems(o.category);
|
|
137
|
-
return n`<calcite-list label class=${
|
|
137
|
+
return n`<calcite-list label class=${l(s.popoverPickList)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${m(this.picklist)}>${e}</calcite-list>`;
|
|
138
138
|
}
|
|
139
139
|
renderNumericFields() {
|
|
140
140
|
const e = this.buildPickListItems(o.numericFields);
|
|
141
|
-
return n`<calcite-list label class=${
|
|
141
|
+
return n`<calcite-list label class=${l(s.popoverPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${m(this.picklist)}>${e}</calcite-list>`;
|
|
142
142
|
}
|
|
143
143
|
renderSortOrder() {
|
|
144
144
|
const e = this.buildSortOrder();
|
|
@@ -164,7 +164,7 @@ class A extends y {
|
|
|
164
164
|
}
|
|
165
165
|
render() {
|
|
166
166
|
let e;
|
|
167
|
-
return this.contentKind === o.numericFields && (e = n`<div slot=footer><calcite-fab class=${
|
|
167
|
+
return this.contentKind === o.numericFields && (e = n`<div slot=footer><calcite-fab class=${l(s.fab)} appearance=outline-fill kind=neutral .icon=${void 0} .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`), n`<div><calcite-popover class=${l(s.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} @calcitePopoverClose=${this.closePopover} .offsetDistance=${this.offsetDistance} .open=${this.open} label auto-close ${m(this.popoverElement)}><calcite-panel class=${l(s.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${l(s.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`;
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
v("arcgis-charts-config-pie-chart-popover", A);
|
|
@@ -4,7 +4,7 @@ import { isEqual as l } from "lodash-es";
|
|
|
4
4
|
import { LitElement as n, createEvent as d } from "@arcgis/lumina";
|
|
5
5
|
import { css as c, html as s } from "lit";
|
|
6
6
|
import { C as o } from "../../chunks/interfaces.js";
|
|
7
|
-
import { a$ as h, ac as p,
|
|
7
|
+
import { a$ as h, ac as p, bY as f, ay as g, I as m, ak as u } from "../../chunks/index2.js";
|
|
8
8
|
import { d as y } from "../../chunks/type-guards.js";
|
|
9
9
|
const F = c`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
10
10
|
class b extends n {
|
|
@@ -10,7 +10,7 @@ import { LitElement as S, createEvent as l, safeClassMap as r } from "@arcgis/lu
|
|
|
10
10
|
import { i as m } from "../../chunks/rest-js-object-literals.js";
|
|
11
11
|
import { e as $ } from "../../chunks/popover-ui-utils.js";
|
|
12
12
|
import { d as P } from "../../chunks/index3.js";
|
|
13
|
-
import {
|
|
13
|
+
import { by as b } from "../../chunks/index2.js";
|
|
14
14
|
const n = {
|
|
15
15
|
scatterplotPopover: "scatter-plot-popover",
|
|
16
16
|
fillColor: "fill-color",
|
|
@@ -7,7 +7,7 @@ import { LitElement as v, createEvent as c, safeClassMap as n, renderElement as
|
|
|
7
7
|
import { repeat as $ } from "lit/directives/repeat.js";
|
|
8
8
|
import { g as R } from "../../chunks/chart-ui-utils.js";
|
|
9
9
|
import { r as I } from "../../chunks/popover-ui-utils.js";
|
|
10
|
-
import {
|
|
10
|
+
import { cU as b } from "../../chunks/index2.js";
|
|
11
11
|
import { c as L } from "../../chunks/model-types.js";
|
|
12
12
|
import { M as s } from "../../chunks/common.js";
|
|
13
13
|
const h = {
|
|
@@ -16,7 +16,7 @@ const h = {
|
|
|
16
16
|
header: "header",
|
|
17
17
|
dropdownPopup: "dropdown-popup"
|
|
18
18
|
}, P = u`.view-chart-component{width:var(--arcgis-charts-config-panel-width);height:var(--arcgis-charts-config-panel-height)}.add-chart-container{display:flex;justify-content:center;padding:2rem 0;background-color:var(--calcite-color-background)}.header{margin-left:1rem}.dropdown-popup{position:relative}`;
|
|
19
|
-
class
|
|
19
|
+
class y extends v {
|
|
20
20
|
constructor() {
|
|
21
21
|
super(...arguments), this._messages = f(), this.chartRenamePopover = null, this.popoverClose = () => {
|
|
22
22
|
const e = this.modelList?.find((t) => t.chartId === this.selectedChartId);
|
|
@@ -139,7 +139,7 @@ class T extends v {
|
|
|
139
139
|
return r`<div class=${n(h.viewChartComponent)}>${this.buildChartList()}</div>`;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
C("arcgis-charts-config-view-charts",
|
|
142
|
+
C("arcgis-charts-config-view-charts", y);
|
|
143
143
|
export {
|
|
144
|
-
|
|
144
|
+
y as ArcgisChartsConfigViewCharts
|
|
145
145
|
};
|