@arcgis/charts-components 5.2.0-next.124 → 5.2.0-next.125
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/dist/cdn/{CQLILZFZ.js → 2FQ6G6B6.js} +1 -1
- package/dist/cdn/{IYVSAR3D.js → 2FYXFIR4.js} +1 -1
- package/dist/cdn/2QWB5XRH.js +2 -0
- package/dist/cdn/{ZRYPRUVT.js → 2VX44HPW.js} +1 -1
- package/dist/cdn/{IKH7UGJM.js → 3GN7VR32.js} +1 -1
- package/dist/cdn/{WTMEWLUJ.js → 3W4HHL2V.js} +1 -1
- package/dist/cdn/{ELXF6XQQ.js → 4PUOMS4A.js} +1 -1
- package/dist/cdn/{U2O4NGY5.js → 4RLQLQVB.js} +1 -1
- package/dist/cdn/{H4UKMJ3M.js → 4SNP6HTM.js} +1 -1
- package/dist/cdn/{OO4U6KKQ.js → 54265YSL.js} +1 -1
- package/dist/cdn/{MQI4ZLAS.js → 5434ASC3.js} +1 -1
- package/dist/cdn/{GCPA466R.js → 56INS6ML.js} +1 -1
- package/dist/cdn/{N4YN5XHL.js → 5E6TR5OW.js} +1 -1
- package/dist/cdn/{STFT35NP.js → 5XXBOV4Q.js} +1 -1
- package/dist/cdn/6462KIIY.js +2 -0
- package/dist/cdn/{BUXZ2NBS.js → 6ESCKCYY.js} +1 -1
- package/dist/cdn/{EXCMERSU.js → 6H4PWDET.js} +1 -1
- package/dist/cdn/77VLHOOC.js +2 -0
- package/dist/cdn/{Q4HYSXEK.js → 77YJOTCX.js} +1 -1
- package/dist/cdn/{KYQWN5DR.js → 7OESRD4R.js} +1 -1
- package/dist/cdn/7PKJNQL7.js +2 -0
- package/dist/cdn/{ZP4T262N.js → B44MEIQW.js} +1 -1
- package/dist/cdn/{BQMUOJL7.js → B5XYZKLU.js} +1 -1
- package/dist/cdn/{RPUEIRTH.js → BGIUDL2K.js} +1 -1
- package/dist/cdn/{IJKFUMKC.js → C3PVEL66.js} +1 -1
- package/dist/cdn/{IJR65YQB.js → CSN6MJ4B.js} +1 -1
- package/dist/cdn/{CR2U5KNC.js → DPRUAGVZ.js} +1 -1
- package/dist/cdn/{O7NFMOTE.js → ENG2F3IQ.js} +1 -1
- package/dist/cdn/{JSFNIFWE.js → EP5BMXUY.js} +1 -1
- package/dist/cdn/{3IXFIA6D.js → ETDHU5U4.js} +19 -19
- package/dist/cdn/EU6AJ57R.js +2 -0
- package/dist/cdn/{HFFXDWQL.js → F2MSD3QS.js} +1 -1
- package/dist/cdn/{DYCZXSJG.js → F2WEYOKD.js} +1 -1
- package/dist/cdn/{WSSQILRB.js → F3UFKEVT.js} +1 -1
- package/dist/cdn/{5SYHQWPP.js → FASMW7S2.js} +1 -1
- package/dist/cdn/{JFXCJ6HT.js → FH66KPN5.js} +1 -1
- package/dist/cdn/{A5CQKJHA.js → G6DJZSMC.js} +1 -1
- package/dist/cdn/{QSJV77RB.js → H5QMZ65D.js} +1 -1
- package/dist/cdn/{JO4YQAFF.js → HDHS7RTZ.js} +1 -1
- package/dist/cdn/{353KIT3L.js → HPO7UHSN.js} +1 -1
- package/dist/cdn/{METDO2QG.js → IMQYTRSY.js} +1 -1
- package/dist/cdn/{4GHJREG3.js → J5E4KON6.js} +1 -1
- package/dist/cdn/{UDQP2AFN.js → J65VM5UV.js} +1 -1
- package/dist/cdn/{VP5MGMQP.js → JPDI5NK6.js} +1 -1
- package/dist/cdn/{IS7KQGMM.js → JSJ2OXVP.js} +1 -1
- package/dist/cdn/{IGOJGDYE.js → JSUH5PFI.js} +1 -1
- package/dist/cdn/{WXO3YJ3T.js → KAVJHTFB.js} +1 -1
- package/dist/cdn/{6CPDF77P.js → KCEJQPTE.js} +1 -1
- package/dist/cdn/{DCIQMSQ2.js → KDMYI6HZ.js} +1 -1
- package/dist/cdn/{RDCTBV2Q.js → KHFNTBX4.js} +1 -1
- package/dist/cdn/{MFJINTU5.js → KHV5W5KY.js} +1 -1
- package/dist/cdn/{5V33DFCG.js → KIUBFEUI.js} +1 -1
- package/dist/cdn/{M6L3GCVZ.js → KKHTRL5K.js} +1 -1
- package/dist/cdn/{C6YIO7EV.js → LHQ5R7PX.js} +1 -1
- package/dist/cdn/{V4VQT6A6.js → LQL7VPXH.js} +1 -1
- package/dist/cdn/{CQORXOQS.js → LYVV7FBJ.js} +1 -1
- package/dist/cdn/{LBX6U6EK.js → MDKLQ2IS.js} +2 -2
- package/dist/cdn/{SZYIWW3C.js → MRN3GTKF.js} +1 -1
- package/dist/cdn/{W7HVSUF2.js → MUFEV5ZR.js} +1 -1
- package/dist/cdn/{6H6ZTNGY.js → N26FS3KG.js} +1 -1
- package/dist/cdn/{CKD62DZ4.js → N75HEDSD.js} +1 -1
- package/dist/cdn/{Q4GIMFJ2.js → NMAG7AL2.js} +1 -1
- package/dist/cdn/{KILQBDSV.js → OCCBK5S7.js} +1 -1
- package/dist/cdn/{U2VHNPRE.js → OLRPPTEO.js} +1 -1
- package/dist/cdn/{3LEJV2CC.js → OR765GRF.js} +1 -1
- package/dist/cdn/{GZA5OPRD.js → OUDFAIXR.js} +1 -1
- package/dist/cdn/{O34ACKBX.js → P7PD3PBN.js} +1 -1
- package/dist/cdn/{BF2U4V7S.js → PAHQAFMT.js} +1 -1
- package/dist/cdn/{KRNF2XCU.js → PIOFHDMU.js} +1 -1
- package/dist/cdn/{BQMDOKAK.js → POSJMG3Z.js} +1 -1
- package/dist/cdn/{MOL3RVAG.js → PUXBUCDR.js} +1 -1
- package/dist/cdn/{MDMJT2VS.js → PZRHKUTQ.js} +1 -1
- package/dist/cdn/{XIVGFLZQ.js → QHGSGGGJ.js} +1 -1
- package/dist/cdn/{PX7QCMDX.js → QHRYG4SP.js} +1 -1
- package/dist/cdn/{TV3FXQVK.js → QL5M6E2E.js} +1 -1
- package/dist/cdn/{CB3BW4H5.js → QZNI3BD3.js} +1 -1
- package/dist/cdn/{DPEEMYYB.js → RBTEJMJT.js} +1 -1
- package/dist/cdn/RD2OZ5DF.js +2 -0
- package/dist/cdn/{EFFUZV52.js → S2PTOBDF.js} +1 -1
- package/dist/cdn/{OCABBLZ7.js → SF3FTQP5.js} +1 -1
- package/dist/cdn/{3HZFE5JC.js → SLKGXWIE.js} +1 -1
- package/dist/cdn/{V4N4EY2E.js → TLYVHR5K.js} +1 -1
- package/dist/cdn/{MVJKABXP.js → UYNE67O2.js} +1 -1
- package/dist/cdn/{WVOXFKFO.js → VJG6ZEH4.js} +1 -1
- package/dist/cdn/{JNRJSGDP.js → VPCAPPIP.js} +1 -1
- package/dist/cdn/{IW27UN5J.js → VSMUBBEN.js} +1 -1
- package/dist/cdn/{IJ3OJVJQ.js → W2QXMYBG.js} +1 -1
- package/dist/cdn/{32RVL6OQ.js → W6SZDF5T.js} +1 -1
- package/dist/cdn/{QOZYAJXQ.js → WDWOAIWE.js} +1 -1
- package/dist/cdn/{7TM4LYGN.js → WG2TWSUV.js} +1 -1
- package/dist/cdn/{PETPI6FO.js → WQQMTR5J.js} +1 -1
- package/dist/cdn/{4UYG2V6P.js → X7OXNUXM.js} +1 -1
- package/dist/cdn/{NCOXA4CE.js → XQ5Q4AMB.js} +1 -1
- package/dist/cdn/{FK7MIBNE.js → XZAXZDTP.js} +1 -1
- package/dist/cdn/{OY5HRHVW.js → YEAARWKU.js} +1 -1
- package/dist/cdn/{ITFMAKY3.js → YMAI2PRA.js} +1 -1
- package/dist/cdn/Z5KG3KRT.js +2 -0
- package/dist/cdn/{LUFRX5TB.js → Z5ZBVJ2L.js} +1 -1
- package/dist/cdn/{YW6WBDZV.js → ZD4GMDVL.js} +1 -1
- package/dist/cdn/{H3JLQ2R3.js → ZLUIF2K7.js} +1 -1
- package/dist/cdn/{ZTVR6KBG.js → ZUN46CYQ.js} +1 -1
- package/dist/cdn/{4YOIC4P4.js → ZZAJQVXL.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +173 -117
- package/dist/chunks/chart-ui-utils.js +7 -7
- package/dist/chunks/class-breaks.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/data.js +9 -9
- package/dist/chunks/generate-x-axis-title.js +15 -15
- package/dist/chunks/index.js +164 -163
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +15 -15
- package/dist/chunks/index4.js +7 -7
- package/dist/chunks/model-setter.js +22 -22
- package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
- package/dist/chunks/pie-chart-data.js +4 -4
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/rounded-corners.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-data.js +2 -2
- package/dist/chunks/serial-chart-model.js +131 -76
- package/dist/chunks/type-guards2.js +17 -17
- package/dist/chunks/utils.js +122 -106
- package/dist/chunks/web-component-utils.js +9 -9
- package/dist/chunks/x-bounds.js +12 -12
- package/dist/components/arcgis-chart/customElement.js +2259 -2254
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot/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 +8 -8
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +14 -14
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/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-data/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +111 -111
- package/dist/model/box-plot-model/box-plot-model.d.ts +20 -1
- package/dist/model/interfaces/chart-interfaces.d.ts +3 -0
- package/dist/model/interfaces/common.d.ts +2 -0
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +20 -1
- package/dist/model/shared/setup-utils.d.ts +2 -0
- package/dist/model/shared/setup-utils.js +37 -36
- package/dist/utils/chart-config/converter/index.js +40 -40
- package/dist/utils/data/interfaces.d.ts +1 -0
- package/package.json +4 -4
- package/dist/cdn/2TV4NKY2.js +0 -2
- package/dist/cdn/EXLX4SJG.js +0 -2
- package/dist/cdn/GTBT4ACW.js +0 -2
- package/dist/cdn/HH5B6KCV.js +0 -2
- package/dist/cdn/KZBUDNHW.js +0 -2
- package/dist/cdn/KZSCAJDG.js +0 -2
- package/dist/cdn/XOTHROVZ.js +0 -2
- /package/dist/cdn/{225VUGML.js → IJPD3GVL.js} +0 -0
|
@@ -11,7 +11,7 @@ import { i as F } from "../../chunks/rotated-state.js";
|
|
|
11
11
|
import { A as t, c as l, D as e } from "../../chunks/index5.js";
|
|
12
12
|
import { A as k } from "../../chunks/index2.js";
|
|
13
13
|
import { a as I } from "../../chunks/chart-object-literals.js";
|
|
14
|
-
import { i as r,
|
|
14
|
+
import { i as r, j as w } from "../../chunks/type-guards2.js";
|
|
15
15
|
function N(d) {
|
|
16
16
|
return d?.tagName.toLowerCase() === "arcgis-chart";
|
|
17
17
|
}
|
|
@@ -4,7 +4,7 @@ import { LitElement as g, createEvent as f } from "@arcgis/lumina";
|
|
|
4
4
|
import { css as m, html as s } from "lit";
|
|
5
5
|
import { isEqual as d } from "es-toolkit/compat";
|
|
6
6
|
import { C as t } from "../../chunks/interfaces.js";
|
|
7
|
-
import { i as c, aq as p,
|
|
7
|
+
import { i as c, aq as p, bH as u, bI as C, bd as y, t as F, aQ as v } from "../../chunks/index.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 g {
|
|
10
10
|
constructor() {
|
|
@@ -4,7 +4,7 @@ import { keyed as I } from "lit/directives/keyed.js";
|
|
|
4
4
|
import { isEqual as S } from "es-toolkit/compat";
|
|
5
5
|
import { repeat as D } from "lit/directives/repeat.js";
|
|
6
6
|
import { B as a, a as C } from "../../chunks/interfaces.js";
|
|
7
|
-
import { d as p, a as d, r as
|
|
7
|
+
import { d as p, a as d, r as O, b as E } from "../../chunks/store.js";
|
|
8
8
|
import { b as P } from "../../chunks/chart-ui-utils.js";
|
|
9
9
|
import { u as F } from "../../chunks/useT9n.js";
|
|
10
10
|
import { css as _, html as n, nothing as N } from "lit";
|
|
@@ -12,8 +12,8 @@ import { createRef as c, ref as m } from "lit/directives/ref.js";
|
|
|
12
12
|
import { LitElement as U, createEvent as v, safeClassMap as l, renderElement as V } from "@arcgis/lumina";
|
|
13
13
|
import { b as $, o as z, C as M, a as B, p as K } from "../../chunks/index2.js";
|
|
14
14
|
import { x as R } from "../../chunks/data.js";
|
|
15
|
-
import { r as A,
|
|
16
|
-
import {
|
|
15
|
+
import { r as A, bF as j, p as L, aQ as H } from "../../chunks/index.js";
|
|
16
|
+
import { I as q, J as W } from "../../chunks/index3.js";
|
|
17
17
|
import { r as Z } from "../../chunks/popover-ui-utils.js";
|
|
18
18
|
import { d as h, e as x, a as f, h as y } from "../../chunks/chart-object-literals.js";
|
|
19
19
|
import { S as g } from "../../chunks/common.js";
|
|
@@ -29,7 +29,7 @@ const r = {
|
|
|
29
29
|
dimText: "dim-text",
|
|
30
30
|
intervalContainer: "interval-container"
|
|
31
31
|
}, 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;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin);margin-top:var(--arcgis-charts-top-section-margin)}.label,.disabled-label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.time-binning-header{display:flex;font-weight:700;margin-left:.5rem;margin-right:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:1.5rem;justify-content:center}.link-container{display:flex;justify-content:flex-end}.list{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major);max-height:400px;overflow-y:auto}.custom-sort-buttons{display:flex;justify-content:space-between;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.mb-2{margin-bottom:var(--arcgis-charts-config-margin-minor)}.interval-container{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor)}`;
|
|
32
|
-
class
|
|
32
|
+
class J extends U {
|
|
33
33
|
constructor() {
|
|
34
34
|
super(...arguments), this._messages = F(), this.commonStrings = F({ name: "common", blocking: !0 }), this.barChartPopover = null, this.sortOrderElement = c(), this.aggregationElement = c(), this.categoryElement = c(), this.numericFieldsElement = c(), this.splitByFieldElement = c(), this.enableTimeBinningSwitch = c(), this.intervalAlignmentElement = c(), this.intervalElement = c(), this.originalCustomSortLabels = [], this.isCustomSortDisabled = !1, this.onBarChartDataChange = async (e) => {
|
|
35
35
|
try {
|
|
@@ -79,7 +79,7 @@ class Q extends U {
|
|
|
79
79
|
default:
|
|
80
80
|
break;
|
|
81
81
|
}
|
|
82
|
-
t !== a.interval && t !== a.intervalAlignment &&
|
|
82
|
+
t !== a.interval && t !== a.intervalAlignment && O(d);
|
|
83
83
|
}
|
|
84
84
|
} catch (t) {
|
|
85
85
|
throw this.arcgisChartsConfigDataChangeError.emit({ error: t, model: this.model }), t;
|
|
@@ -271,7 +271,7 @@ class Q extends U {
|
|
|
271
271
|
return t === f.CategoryAxisFormat && e === g.customSort && !this.isCustomSortDisabled ? n`<calcite-label class=${l(r.label)}><div class=${l(r.customSortButtons)}><div><calcite-button appearance=transparent .disabled=${i === 0 || i === -1 || this.selectedCustomSortItemId.trim() === ""} icon-start=arrow-bold-up id=${C.Up} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button><calcite-button appearance=transparent .disabled=${i === -1 || i === this.model.orderByList.length - 1 || this.selectedCustomSortItemId.trim() === ""} icon-start=arrow-bold-down id=${C.Down} kind=neutral scale=s @click=${this.onCustomSortItemMoved}></calcite-button></div><calcite-button @click=${this.resetToOriginalCustomSortLabels} .disabled=${S(this.model.orderByList, this.originalCustomSortLabels)} appearance=transparent icon-end=reset>${this._messages.reset}</calcite-button></div>${L(this.model.config.series ?? []) === B.BarAndLineFromFields ? this._messages.values : this._messages.category}${this.buildCustomSortList()}</calcite-label>` : null;
|
|
272
272
|
}
|
|
273
273
|
renderInterval() {
|
|
274
|
-
const e = (this.model.temporalBinningSize ?? 0) <= 0, t = this.model.temporalBinningSize ?? "", i = K(this.model.temporalBinningUnit ?? x.Second, this._messages) ?? "", s =
|
|
274
|
+
const e = (this.model.temporalBinningSize ?? 0) <= 0, t = this.model.temporalBinningSize ?? "", i = K(this.model.temporalBinningUnit ?? x.Second, this._messages) ?? "", s = E(d), o = {
|
|
275
275
|
size: this.model.temporalBinningSize,
|
|
276
276
|
unit: this.model.temporalBinningUnit
|
|
277
277
|
}, u = S(o, s);
|
|
@@ -292,7 +292,7 @@ class Q extends U {
|
|
|
292
292
|
return n`<calcite-label class=${l(r.label)}>${this._messages.category}${t}</calcite-label><calcite-label class=${l(r.label)}>${this._messages.aggregation}${e}</calcite-label><calcite-label class=${l(r.label)}>${this._messages.numericFields}${o}</calcite-label><div class=${l(r.fab)}><calcite-fab appearance=outline-fill kind=neutral scale=m .label=${this._messages.selectNumericFields} text-enabled .text=${this._messages.selectNumericFields} icon=plus @click=${this.onAddNumericFields}></calcite-fab></div><calcite-label class=${l(r.label)}><span class=${l(this.disableSplitBy ? r.dimText : "")}>${this._messages.splitBy}</span>${i}</calcite-label><div .hidden=${!this.shouldShowTimeBinning()}><h3 class=${l(r.timeBinningHeader)}>${this._messages.timeBinningOptions}</h3><calcite-label class=${l(r.label)} layout=inline-space-between>${this._messages.enableTemporalBinning}<calcite-switch .checked=${this.model.binTemporalData} @calciteSwitchChange=${this.onEnableTimeBinningChange} ${m(this.enableTimeBinningSwitch)}></calcite-switch></calcite-label><div .hidden=${!this.model.binTemporalData || !this.shouldShowTimeBinning()}><calcite-label class=${l(r.label)}>${this._messages.interval}${b}</calcite-label><calcite-label class=${l(r.label)}>${this._messages.intervalAlignment}${k}</calcite-label><calcite-label class=${l(r.label)} layout=inline-space-between>${this._messages.trimIncompleteInterval}<calcite-switch .checked=${this.model.trimIncompleteTimeInterval} @calciteSwitchChange=${this.onTrimIncompleteIntervalChange}></calcite-switch></calcite-label>${this.model.aggregationType !== h.Count ? n`<calcite-label class=${l(r.label)}>${this._messages.emptyBins}${T}</calcite-label>` : null}</div></div><calcite-label class=${l(r.label)} layout=inline-space-between>${this._messages.treatNullAsCategory}<calcite-switch .checked=${this.model.fetchNULLValues} @calciteSwitchChange=${this.onTreatNullAsCategoryChange}></calcite-switch></calcite-label><calcite-label class=${l(r.label)} layout=inline-space-between>${this._messages.showDataLabels}<calcite-switch .checked=${this.model.dataLabelsVisibility} @calciteSwitchChange=${this.onShowDataLabelsChange}></calcite-switch></calcite-label><calcite-label class=${l(this.model.getAxisValueFormat(0)?.type === f.DateAxisFormat ? r.disabledLabel : r.label)}>${this._messages.sortOrder}${s}</calcite-label>${u}`;
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
|
-
w("arcgis-charts-config-bar-chart-data",
|
|
295
|
+
w("arcgis-charts-config-bar-chart-data", J);
|
|
296
296
|
export {
|
|
297
|
-
|
|
297
|
+
J as ArcgisChartsConfigBarChartData
|
|
298
298
|
};
|
|
@@ -14,8 +14,8 @@ import { d as L } from "../../chunks/rest-js-object-literals.js";
|
|
|
14
14
|
import { b as u, d as z, e 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
|
-
import {
|
|
18
|
-
import { D as
|
|
17
|
+
import { I as K, J as _ } from "../../chunks/index3.js";
|
|
18
|
+
import { D as O, bG as P, aQ as H, aZ as M, aP as U } from "../../chunks/index.js";
|
|
19
19
|
import { b as W, p as j } from "../../chunks/index2.js";
|
|
20
20
|
const R = A`.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",
|
|
@@ -62,7 +62,7 @@ class q extends S {
|
|
|
62
62
|
}
|
|
63
63
|
createTooltip(e) {
|
|
64
64
|
if (e.target?.label === this._messages.customSort && this.isCustomSortDisabled) {
|
|
65
|
-
const t = e.target, i =
|
|
65
|
+
const t = e.target, i = O(t), s = new Intl.NumberFormat(i).format(k.customSortLimit), r = D(this._messages.customSortLimit ?? "", {
|
|
66
66
|
totalLimit: s
|
|
67
67
|
});
|
|
68
68
|
this.tooltip = T(a`<calcite-tooltip style=${F({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${r}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
@@ -119,7 +119,7 @@ class q extends S {
|
|
|
119
119
|
i.push(l);
|
|
120
120
|
for (let s = 0; s < t; s += 1) {
|
|
121
121
|
const r = this.layerFieldsInfo?.[s];
|
|
122
|
-
r && (r.type === L.String || P(r) ||
|
|
122
|
+
r && (r.type === L.String || P(r) || H(r) || M(r)) && i.push(this.buildPickListItem(r));
|
|
123
123
|
}
|
|
124
124
|
break;
|
|
125
125
|
}
|
|
@@ -4,7 +4,7 @@ import { LitElement as n } from "@arcgis/lumina";
|
|
|
4
4
|
import { css as c, html as t } from "lit";
|
|
5
5
|
import { isEqual as l } from "es-toolkit/compat";
|
|
6
6
|
import { C as a } from "../../chunks/interfaces.js";
|
|
7
|
-
import {
|
|
7
|
+
import { bH as d, bI as h, t as f } from "../../chunks/index.js";
|
|
8
8
|
const g = 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%}`;
|
|
9
9
|
class m extends n {
|
|
10
10
|
constructor() {
|
|
@@ -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 { bG as b, aP as E, D as w } from "../../chunks/index.js";
|
|
15
15
|
import { b as B } from "../../chunks/index2.js";
|
|
16
16
|
import { d as C } from "../../chunks/rest-js-object-literals.js";
|
|
17
17
|
const o = {
|
|
@@ -3,7 +3,7 @@ import { c as N } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { repeat as V } from "lit/directives/repeat.js";
|
|
4
4
|
import { keyed as S } from "lit/directives/keyed.js";
|
|
5
5
|
import { createModel as _ } from "../../model/shared/setup-utils.js";
|
|
6
|
-
import {
|
|
6
|
+
import { f as $, e as U, k as R, j as x, l as T, m as z } from "../../chunks/type-guards2.js";
|
|
7
7
|
import { i as H } from "../../chunks/rotated-state.js";
|
|
8
8
|
import { substitute as O } from "@arcgis/core/intl.js";
|
|
9
9
|
import { C as c } from "../../chunks/interfaces.js";
|
|
@@ -14,12 +14,12 @@ import { LitElement as X, createEvent as f, renderElement as v, safeStyleMap as
|
|
|
14
14
|
import { css as K, html as h } from "lit";
|
|
15
15
|
import { createRef as j, ref as q } from "lit/directives/ref.js";
|
|
16
16
|
import { u as I } from "../../chunks/useT9n.js";
|
|
17
|
-
import { c as Y, a as
|
|
18
|
-
import {
|
|
17
|
+
import { c as Y, a as b, g as J } from "../../chunks/store.js";
|
|
18
|
+
import { bJ as Q, ai as ee, bK as te, bL as ae, bM as ie } from "../../chunks/index.js";
|
|
19
19
|
import { A as se } from "../../chunks/axis-model-wrapper.js";
|
|
20
20
|
import { h as re, f as y } from "../../chunks/web-component-utils.js";
|
|
21
21
|
import { a as oe } from "../../chunks/chart-ui-utils.js";
|
|
22
|
-
import { C as
|
|
22
|
+
import { C as M } from "../../chunks/index5.js";
|
|
23
23
|
import { g as L } from "../../chunks/chart-ui-utils2.js";
|
|
24
24
|
import { i as P, b as B } from "../../chunks/type-guards.js";
|
|
25
25
|
import { r as le } from "../../chunks/popover-ui-utils.js";
|
|
@@ -114,7 +114,7 @@ class ge extends X {
|
|
|
114
114
|
case o.LineSeries:
|
|
115
115
|
case o.BarSeries: {
|
|
116
116
|
const { dataItems: n, timeIntervalInfo: l } = a;
|
|
117
|
-
($(s) || U(s) && s.binTemporalData) && (l?.size !== void 0 && s.temporalBinningSize !== l?.size && (s.temporalBinningSize = l?.size), l?.unit !== void 0 && s.temporalBinningUnit !== l?.unit && l?.unit !== ne.Quarter && (s.temporalBinningUnit = l?.unit), l?.size !== void 0 && l?.unit !== void 0 && Y(
|
|
117
|
+
($(s) || U(s) && s.binTemporalData) && (l?.size !== void 0 && s.temporalBinningSize !== l?.size && (s.temporalBinningSize = l?.size), l?.unit !== void 0 && s.temporalBinningUnit !== l?.unit && l?.unit !== ne.Quarter && (s.temporalBinningUnit = l?.unit), l?.size !== void 0 && l?.unit !== void 0 && Y(b, { size: l.size, unit: l.unit })), this.calculatedDataMinMaxBounds = this.getDataExtent(n), i && (i.dataStore.calculatedDataMinMaxBounds = this.calculatedDataMinMaxBounds);
|
|
118
118
|
break;
|
|
119
119
|
}
|
|
120
120
|
}
|
|
@@ -277,7 +277,7 @@ class ge extends X {
|
|
|
277
277
|
chartType: t.chartType,
|
|
278
278
|
commonStrings: this.commonStrings,
|
|
279
279
|
config: t.config
|
|
280
|
-
}) : "", e !== void 0 && e !==
|
|
280
|
+
}) : "", e !== void 0 && e !== b.selectedChartId && (b.selectedChartId = e), this.allowChartSyncing = !0, this.arcgisChartsConfigSelectedChartChange.emit({
|
|
281
281
|
key: "key",
|
|
282
282
|
model: t
|
|
283
283
|
});
|
|
@@ -286,7 +286,7 @@ class ge extends X {
|
|
|
286
286
|
e === 0 ? this.clearPartialModels() : e === 1 && this.removeSelectChartTypePopover(), this.arcgisChartsConfigPanelNumberChange.emit({ panelNumber: e, modelList: this.modelList });
|
|
287
287
|
}
|
|
288
288
|
addChartEventListeners() {
|
|
289
|
-
this.listenOn(document,
|
|
289
|
+
this.listenOn(document, M.DataProcessComplete, this.chartDataProcessComplete), this.listenOn(document, M.AxesMinMaxChange, this.chartAxesMinMaxChange), this.listenOn(document, M.SeriesColorChange, this.chartSeriesColorChange), this.listenOn(document, M.NoRenderPropChange, this.chartNoRenderPropChange), this.listenOn(document, M.LegendItemVisibilityChange, this.chartLegendItemVisibilityChange);
|
|
290
290
|
}
|
|
291
291
|
getDataExtent(e) {
|
|
292
292
|
const t = this.getModel(this.selectedChartId)?.config;
|
|
@@ -311,7 +311,7 @@ class ge extends X {
|
|
|
311
311
|
chartId: this.selectedChartId,
|
|
312
312
|
isXAxis: a,
|
|
313
313
|
isLogarithmic: n.getLogarithmic()
|
|
314
|
-
}), g =
|
|
314
|
+
}), g = b.chartAxesBoundDataMap;
|
|
315
315
|
g[this.selectedChartId] === void 0 && (g[this.selectedChartId] = {});
|
|
316
316
|
const u = g[this.selectedChartId]?.[l], C = {
|
|
317
317
|
defaultMinBound: u?.defaultMinBound === u?.currMinBound ? s : u?.defaultMinBound,
|
|
@@ -6,7 +6,7 @@ import { i as p, m as c, U as r, s as y } from "../../chunks/chart-ui-utils.js";
|
|
|
6
6
|
import { u } from "../../chunks/useT9n.js";
|
|
7
7
|
import { createRef as S, ref as d } from "lit/directives/ref.js";
|
|
8
8
|
import { LitElement as g, createEvent as f, safeClassMap as n } from "@arcgis/lumina";
|
|
9
|
-
import {
|
|
9
|
+
import { P as b } from "../../chunks/index3.js";
|
|
10
10
|
import { b as v } from "../../chunks/rest-js-object-literals.js";
|
|
11
11
|
const C = {
|
|
12
12
|
arial: "Arial",
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as B } from "../../chunks/runtime.js";
|
|
3
3
|
import { ref as M } from "lit/directives/ref.js";
|
|
4
|
-
import {
|
|
4
|
+
import { n as y, l as d, j as h, o as S, c as V, k as 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
7
|
import { cloneDeep as n, isArray as F, isObject as A, mergeWith as D, isEmpty as E } from "es-toolkit/compat";
|
|
8
8
|
import { h as G } from "../../chunks/chart-ui-utils.js";
|
|
9
|
-
import { R as
|
|
10
|
-
import { u as
|
|
9
|
+
import { R as W, b } from "../../chunks/rest-js-object-literals.js";
|
|
10
|
+
import { u as N } from "../../chunks/useT9n.js";
|
|
11
11
|
import { css as z, html as f } from "lit";
|
|
12
|
-
import { LitElement as H, renderElement as
|
|
13
|
-
import { C as
|
|
14
|
-
import { b as u,
|
|
12
|
+
import { LitElement as H, renderElement as O, safeClassMap as p } from "@arcgis/lumina";
|
|
13
|
+
import { C as R, F as i, L as m } from "../../chunks/common.js";
|
|
14
|
+
import { b as u, bO as r } from "../../chunks/index.js";
|
|
15
15
|
import { r as $ } from "../../chunks/popover-ui-utils.js";
|
|
16
|
-
import { C as
|
|
16
|
+
import { C as j } from "../../chunks/index2.js";
|
|
17
17
|
import { a } from "../../chunks/chart-object-literals.js";
|
|
18
18
|
const v = {
|
|
19
19
|
type: b.TS,
|
|
@@ -28,16 +28,16 @@ const v = {
|
|
|
28
28
|
}, k = {
|
|
29
29
|
type: b.SLS,
|
|
30
30
|
color: [1, 1, 1, 255],
|
|
31
|
-
style:
|
|
31
|
+
style: W.Solid,
|
|
32
32
|
width: 2
|
|
33
33
|
}, g = {
|
|
34
34
|
element: "chart-element",
|
|
35
35
|
elementList: "element-list",
|
|
36
36
|
sectionLabel: "section-label"
|
|
37
|
-
},
|
|
37
|
+
}, I = 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}`;
|
|
38
38
|
class X extends H {
|
|
39
39
|
constructor() {
|
|
40
|
-
super(...arguments), this._messages =
|
|
40
|
+
super(...arguments), this._messages = N(), this.formatPopover = null, this.selectableElements = [], this.textProperties = [], this.symbolProperties = [], this.symbolPropertyChange = (t) => {
|
|
41
41
|
const e = t;
|
|
42
42
|
e.stopImmediatePropagation();
|
|
43
43
|
let s;
|
|
@@ -74,7 +74,7 @@ class X extends H {
|
|
|
74
74
|
if (e.target?.localName === "calcite-list-item" ? s = e.target?.value : s = e.target?.parentNode?.value, this.selectedSymbols = [], this.selectedTexts = [], this.selectedBackground.includes(s))
|
|
75
75
|
this.selectedBackground = [], this.selectedElement = void 0;
|
|
76
76
|
else {
|
|
77
|
-
const o = this.getFormatValue(s), l = [...
|
|
77
|
+
const o = this.getFormatValue(s), l = [...j.backgroundColor];
|
|
78
78
|
this.selectedBackground = [s], this.selectedElement = o ?? l;
|
|
79
79
|
}
|
|
80
80
|
this.setupFormatPopover();
|
|
@@ -84,7 +84,7 @@ class X extends H {
|
|
|
84
84
|
this.setFormatValue(s, e);
|
|
85
85
|
}), this.selectedElement = n(t.target.selectedElement);
|
|
86
86
|
}, this.updateBackground = (t) => {
|
|
87
|
-
this.setFormatValue(
|
|
87
|
+
this.setFormatValue(R.Background, t.detail), this.selectedElement = t.detail;
|
|
88
88
|
}, this.updateTextProps = (t) => {
|
|
89
89
|
const { font: e, color: s } = t.detail;
|
|
90
90
|
this.selectedTexts.forEach((o) => {
|
|
@@ -113,7 +113,7 @@ class X extends H {
|
|
|
113
113
|
this.properties = { selectedSymbols: 16, selectedTexts: 16, selectedBackground: 16, selectedElement: 16, messageOverrides: 0, model: 0 };
|
|
114
114
|
}
|
|
115
115
|
static {
|
|
116
|
-
this.styles =
|
|
116
|
+
this.styles = I;
|
|
117
117
|
}
|
|
118
118
|
load() {
|
|
119
119
|
this.modelChange(this.model);
|
|
@@ -157,7 +157,7 @@ class X extends H {
|
|
|
157
157
|
this.formatPopover = $(this.formatPopover);
|
|
158
158
|
const t = this.selectedElement;
|
|
159
159
|
t?.type === b.TS || t?.type === b.SLS || // To check if the selected element is background.
|
|
160
|
-
Array.isArray(this.selectedElement) ? (this.formatPopover =
|
|
160
|
+
Array.isArray(this.selectedElement) ? (this.formatPopover = O(f`<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();
|
|
161
161
|
}
|
|
162
162
|
removeFormatPopover() {
|
|
163
163
|
this.formatPopover !== null && (this.formatPopover.open = !1, this.formatPopover = $(this.formatPopover));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as T } from "../../chunks/runtime.js";
|
|
3
|
-
import {
|
|
3
|
+
import { l as n, p as r, j as c } from "../../chunks/type-guards2.js";
|
|
4
4
|
import { i as h, a as m, b as g } from "../../chunks/generate-x-axis-title.js";
|
|
5
5
|
import { isEmpty as x } from "es-toolkit/compat";
|
|
6
6
|
import { m as u, U as b } from "../../chunks/chart-ui-utils.js";
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
import { c as B } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as X } from "lit/directives/keyed.js";
|
|
4
4
|
import { cloneDeep as E } from "es-toolkit/compat";
|
|
5
|
-
import { m as G, U as S, a as N, j as
|
|
5
|
+
import { m as G, U as S, a as N, j as Z, k } from "../../chunks/chart-ui-utils.js";
|
|
6
6
|
import { d as F } from "../../chunks/default.js";
|
|
7
|
-
import { g as
|
|
7
|
+
import { g as q } from "../../chunks/resource.js";
|
|
8
8
|
import { u as z } from "../../chunks/useT9n.js";
|
|
9
|
-
import { css as
|
|
9
|
+
import { css as O, html as c } from "lit";
|
|
10
10
|
import { createRef as h, ref as u } from "lit/directives/ref.js";
|
|
11
|
-
import { LitElement as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
11
|
+
import { LitElement as V, createEvent as U, renderElement as L, safeStyleMap as M, safeClassMap as o } from "@arcgis/lumina";
|
|
12
|
+
import { l as W, q as Y, r as j } from "../../chunks/type-guards2.js";
|
|
13
|
+
import { bP as p, b as m, bn as H, bQ as A, bR as _, i as Q } from "../../chunks/index.js";
|
|
14
14
|
import { t as J } from "../../chunks/index3.js";
|
|
15
15
|
import { r as K } from "../../chunks/popover-ui-utils.js";
|
|
16
16
|
import { b as g, R as ee } from "../../chunks/rest-js-object-literals.js";
|
|
@@ -20,8 +20,8 @@ const n = {
|
|
|
20
20
|
row: "row",
|
|
21
21
|
column: "column",
|
|
22
22
|
colorPicker: "color-picker"
|
|
23
|
-
}, ie =
|
|
24
|
-
class se extends
|
|
23
|
+
}, ie = O`.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}.row{display:flex;flex-direction:row;column-gap:var(--arcgis-charts-inter-section-margin)}.column{display:flex;flex-direction:column;flex-wrap:wrap;flex-grow:1}.column>calcite-input{margin-bottom:.5rem;flex-grow:2}.column>calcite-input[type=number]{margin-bottom:.5rem}input{padding:.5rem}.label{display:flex;flex-direction:row;justify-content:space-between;margin-bottom:var(--arcgis-charts-intra-section-margin);flex-grow:1}.color-picker{border:1px solid var(--calcite-color-border-2);box-shadow:none;margin-bottom:var(--arcgis-charts-inter-section-margin)}.delete-guide{display:flex;flex-direction:row-reverse;height:2rem;margin:0 1rem;font-weight:550}.delete-guide:dir(rtl){flex-direction:row}`;
|
|
24
|
+
class se extends V {
|
|
25
25
|
constructor() {
|
|
26
26
|
super(...arguments), this._messages = z(), 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);
|
|
@@ -206,19 +206,19 @@ class se extends q {
|
|
|
206
206
|
N(this.tooltip);
|
|
207
207
|
}
|
|
208
208
|
deleteGuide() {
|
|
209
|
-
this.destroyTooltip(), this.orientation === b.X &&
|
|
209
|
+
this.destroyTooltip(), this.orientation === b.X && Y(this.model) ? this.model.deleteXAxisGuide(this.index) : this.orientation === b.Y && j(this.model) && this.model.deleteYAxisGuide(this.index), this.arcgisChartsConfigGuideChange.emit({
|
|
210
210
|
index: this.index,
|
|
211
211
|
orientation: this.orientation,
|
|
212
212
|
isDelete: !0
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
renderColorElement() {
|
|
216
|
-
const e = this.model.getGuideStyle(this.index, this.orientation), [t, i, a, l] = [...e?.color ?? [1, 1, 1, 255]], s = this.model.getGuideStart(this.index, this.orientation), r = this.model.getGuideEnd(this.index, this.orientation), v = m(e) ?
|
|
216
|
+
const e = this.model.getGuideStyle(this.index, this.orientation), [t, i, a, l] = [...e?.color ?? [1, 1, 1, 255]], s = this.model.getGuideStart(this.index, this.orientation), r = this.model.getGuideEnd(this.index, this.orientation), v = m(e) ? Z(e.style) : ee.Solid, f = p(s, r) === g.SLS ? `line-${v}` : "square-f";
|
|
217
217
|
return c`<calcite-list label selection-mode=single selection-appearance=border><calcite-list-item .value=${this._messages.style} class=${o(n.colorPicker)} .label=${this._messages.style} .selected=${this.guidePopover?.open} @click=${this.onColorElementSelect} ${u(this.colorElement)}><calcite-icon slot=content-end .icon=${f} style=${M({ color: `rgba(${t},${i},${a},${l / 255})` })}></calcite-icon></calcite-list-item></calcite-list>`;
|
|
218
218
|
}
|
|
219
219
|
render() {
|
|
220
220
|
const e = this.model.getGuideStart(this.index, this.orientation), t = this.model.getGuideEnd(this.index, this.orientation), i = this.model.getGuideName(this.index, this.orientation), a = this.model.getGuideLabelText(this.index, this.orientation), l = this.model.getGuideAbove(this.index, this.orientation), s = this.model.getGuideVisibility(this.index, this.orientation), r = this.isXAxisDateField;
|
|
221
|
-
return c`<calcite-block .heading=${i ?? ""} .expanded=${this.latestGuidePosition ===
|
|
221
|
+
return c`<calcite-block .heading=${i ?? ""} .expanded=${this.latestGuidePosition === q(this.index, this.orientation, this.model)} collapsible .messageOverrides=${{
|
|
222
222
|
expand: this._messages.expand,
|
|
223
223
|
collapse: this._messages.collapse
|
|
224
224
|
}}><calcite-action slot=actions-end text .icon=${s ? "view-visible" : "view-hide"} @click=${this.toggleGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><calcite-action slot=actions-end text icon=trash @click=${this.deleteGuide} @mouseover=${this.createTooltip} @mouseout=${this.destroyTooltip}></calcite-action><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.start}${r ? c`<calcite-input-date-picker .value=${this.getDateStringFromBound(e)} required scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${u(this.startDateCalciteInput)}></calcite-input-date-picker>` : c`<calcite-input type=number required @calciteInputInput=${this.setGuideStart} @keydown=${k} number-button-type=none .value=${e?.toString()} ${u(this.startCalciteInput)}></calcite-input>`}</calcite-label><calcite-label class=${o(n.column)}>${this._messages.end}${r ? c`<calcite-input-date-picker .value=${this.getDateStringFromBound(t)} scale=s placement=bottom-end @calciteInputDatePickerChange=${this.setGuideDateTimeRange} ${u(this.endDateCalciteInput)}></calcite-input-date-picker>` : c`<calcite-input type=number @calciteInputInput=${this.setGuideEnd} @keydown=${k} number-button-type=none .value=${t?.toString()} ${u(this.endCalciteInput)}></calcite-input>`}</calcite-label></div>${r ? X("time-picker-row", c`<div class=${o(n.row)}>${e != null ? c`<calcite-label class=${o(n.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(e)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${u(this.startTimeCalciteInput)}></calcite-input-time-picker></calcite-label>` : null}${t != null ? c`<calcite-label class=${o(n.column)}><calcite-input-time-picker .value=${this.getTimeStringFromBound(t)} scale=s @calciteInputTimePickerChange=${this.setGuideDateTimeRange} ${u(this.endTimeCalciteInput)}></calcite-input-time-picker></calcite-label>` : null}</div>`) : null}<div class=${o(n.row)}><div class=${o(n.column)}>${this.renderColorElement()}</div></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.guideName}<calcite-input type=text .value=${i} @calciteInputInput=${this.setGuideName}></calcite-input></calcite-label></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.guideLabel}<calcite-input type=text .value=${a} @calciteInputInput=${this.setGuideLabel}></calcite-input></calcite-label></div><div class=${o(n.row)}><calcite-label class=${o(n.column)}>${this._messages.display}<calcite-segmented-control @calciteSegmentedControlChange=${this.setGuideRendered} scale=s><calcite-segmented-control-item .checked=${l} .value=${this._messages.inFront}>${this._messages.inFront}</calcite-segmented-control-item><calcite-segmented-control-item .checked=${!l} .value=${this._messages.inBack}>${this._messages.inBack}</calcite-segmented-control-item></calcite-segmented-control></calcite-label></div></calcite-block>`;
|
|
@@ -7,7 +7,7 @@ import { u as f } from "../../chunks/useT9n.js";
|
|
|
7
7
|
import { css as A, html as a } from "lit";
|
|
8
8
|
import { createRef as x, ref as C } from "lit/directives/ref.js";
|
|
9
9
|
import { LitElement as b, renderElement as v, safeClassMap as c } from "@arcgis/lumina";
|
|
10
|
-
import {
|
|
10
|
+
import { q as h, r as u } from "../../chunks/type-guards2.js";
|
|
11
11
|
import { G as s } from "../../chunks/common.js";
|
|
12
12
|
const P = A`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}.add-guide{display:flex;justify-content:center;padding:.5rem}.add-guide-btn{width:100%}.no-guides{border-radius:2rem}.no-messages{text-align:center}.guide-icon{padding-left:.5rem;padding-top:.5rem;width:1.5rem;height:1.5rem}`;
|
|
13
13
|
class $ extends b {
|
|
@@ -4,7 +4,7 @@ import { LitElement as l } from "@arcgis/lumina";
|
|
|
4
4
|
import { css as n, html as i } from "lit";
|
|
5
5
|
import { C as s } from "../../chunks/interfaces.js";
|
|
6
6
|
import { isEqual as d } from "es-toolkit/compat";
|
|
7
|
-
import {
|
|
7
|
+
import { bH as h, bI as c, t as f } from "../../chunks/index.js";
|
|
8
8
|
const p = n`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
9
9
|
class m extends l {
|
|
10
10
|
static {
|
|
@@ -5,8 +5,8 @@ import { normalizeLocale as w, defaultLocale as I } from "@arcgis/toolkit/intl";
|
|
|
5
5
|
import { getElementLocale as N } from "@arcgis/toolkit/intl/dom";
|
|
6
6
|
import { css as _, html as i } from "lit";
|
|
7
7
|
import { createRef as n, ref as c } from "lit/directives/ref.js";
|
|
8
|
-
import { parseInt as H, camelCase as
|
|
9
|
-
import { DateTime as
|
|
8
|
+
import { parseInt as H, camelCase as L } from "es-toolkit/compat";
|
|
9
|
+
import { DateTime as O } from "luxon";
|
|
10
10
|
import { C as T, b as x, t as U } from "../../chunks/index2.js";
|
|
11
11
|
import { u as R } from "../../chunks/useT9n.js";
|
|
12
12
|
import { c as l, W as k } from "../../chunks/interfaces.js";
|
|
@@ -17,7 +17,7 @@ import { e as X, a as Z } from "../../chunks/store.js";
|
|
|
17
17
|
import { H as G } from "../../chunks/common.js";
|
|
18
18
|
import { b as j } from "../../chunks/rest-js-object-literals.js";
|
|
19
19
|
import { d as m, h, l as p, a as C, n as u, q as F, r as Y } from "../../chunks/chart-object-literals.js";
|
|
20
|
-
import {
|
|
20
|
+
import { I as Q, i as J, Q as d } from "../../chunks/index3.js";
|
|
21
21
|
import { r as S } from "../../chunks/index.js";
|
|
22
22
|
import { i as ee } from "../../chunks/index4.js";
|
|
23
23
|
import { r as ae } from "../../chunks/popover-ui-utils.js";
|
|
@@ -109,7 +109,7 @@ class se extends A {
|
|
|
109
109
|
this.modelChange(this.model), this.onModelConfigChange();
|
|
110
110
|
}
|
|
111
111
|
willUpdate(e) {
|
|
112
|
-
e.has("model") && this.modelChange(this.model, e.get("model")), this.aggregationLabel =
|
|
112
|
+
e.has("model") && this.modelChange(this.model, e.get("model")), this.aggregationLabel = Q(this.model.aggregationType, this.commonStrings);
|
|
113
113
|
}
|
|
114
114
|
disconnectedCallback() {
|
|
115
115
|
super.disconnectedCallback(), this.model?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
@@ -126,7 +126,7 @@ class se extends A {
|
|
|
126
126
|
}
|
|
127
127
|
getFirstDayOfWeek() {
|
|
128
128
|
const { lang: e } = N(this.el ?? document.documentElement), a = w(e);
|
|
129
|
-
return
|
|
129
|
+
return O.local().setLocale(e).startOf("week", { useLocaleWeeks: a !== I }).weekday;
|
|
130
130
|
}
|
|
131
131
|
applyCalendarTypePreset(e) {
|
|
132
132
|
switch (e) {
|
|
@@ -173,7 +173,7 @@ class se extends A {
|
|
|
173
173
|
applyGeneratedClassBreaks(e, a) {
|
|
174
174
|
if (this.model.chartRenderer = {
|
|
175
175
|
type: "classBreaks",
|
|
176
|
-
field:
|
|
176
|
+
field: J.valueField,
|
|
177
177
|
classBreakInfos: e
|
|
178
178
|
}, this.model.heatRulesType !== u.Renderer && (this.model.heatRulesType = u.Renderer), this.model.classificationMethod !== F.manual) {
|
|
179
179
|
const t = e.length || a;
|
|
@@ -290,7 +290,7 @@ class se extends A {
|
|
|
290
290
|
manual: this._messages.classBreaksMethod?.manual,
|
|
291
291
|
naturalBreaks: this._messages.classBreaksMethod?.naturalBreaks,
|
|
292
292
|
quantile: this._messages.classBreaksMethod?.quantile
|
|
293
|
-
}, a = this.model.classificationMethod ? e[
|
|
293
|
+
}, a = this.model.classificationMethod ? e[L(this.model.classificationMethod)] ?? "" : "";
|
|
294
294
|
return i`<arcgis-charts-config-field-picker .label=${a} @click=${this.onClassBreakMethodSelect} ${c(this.classBreakMethodElement)}></arcgis-charts-config-field-picker>`;
|
|
295
295
|
}
|
|
296
296
|
renderColorRampSelect() {
|
|
@@ -15,7 +15,7 @@ import { C as x, d as k } from "../../chunks/class-breaks.js";
|
|
|
15
15
|
import { d as E } from "../../chunks/rest-js-object-literals.js";
|
|
16
16
|
import { d as _, r as R, q as C } from "../../chunks/chart-object-literals.js";
|
|
17
17
|
import { e as N } from "../../chunks/popover-ui-utils.js";
|
|
18
|
-
import {
|
|
18
|
+
import { I as B, r as M } from "../../chunks/index3.js";
|
|
19
19
|
import { aQ as H, aP as O } from "../../chunks/index.js";
|
|
20
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}.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",
|
|
@@ -4,7 +4,7 @@ import { isEqual as r } from "es-toolkit/compat";
|
|
|
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 { i as h,
|
|
7
|
+
import { i as h, bH as c, bI as m, bd as f, ca as g, t as p } from "../../chunks/index.js";
|
|
8
8
|
import { i as u } from "../../chunks/type-guards.js";
|
|
9
9
|
const C = 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 y extends n {
|
|
@@ -3,17 +3,17 @@ import { c as M } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { keyed as y } from "lit/directives/keyed.js";
|
|
4
4
|
import { debounce as f } from "es-toolkit/compat";
|
|
5
5
|
import { d, e as a, H as s } from "../../chunks/interfaces.js";
|
|
6
|
-
import { i as I, m as C, U as S, b as D, n as L, s as V, D as
|
|
7
|
-
import { d as
|
|
6
|
+
import { i as I, m as C, U as S, b as D, n as L, s as V, D as T } from "../../chunks/chart-ui-utils.js";
|
|
7
|
+
import { d as P, a as x } from "../../chunks/store.js";
|
|
8
8
|
import { u as N } from "../../chunks/useT9n.js";
|
|
9
9
|
import { css as F, html as c } from "lit";
|
|
10
10
|
import { createRef as b, ref as v } from "lit/directives/ref.js";
|
|
11
11
|
import { LitElement as B, createEvent as $, renderElement as _, safeStyleMap as O, safeClassMap as o } from "@arcgis/lumina";
|
|
12
|
-
import {
|
|
12
|
+
import { R as H, E as K } from "../../chunks/index3.js";
|
|
13
13
|
import { b as A } from "../../chunks/index2.js";
|
|
14
14
|
import { i as U } from "../../chunks/type-guards.js";
|
|
15
|
-
import { r as
|
|
16
|
-
import { b as
|
|
15
|
+
import { r as R } from "../../chunks/popover-ui-utils.js";
|
|
16
|
+
import { b as z } from "../../chunks/rest-js-object-literals.js";
|
|
17
17
|
import { s as u } from "../../chunks/chart-object-literals.js";
|
|
18
18
|
const l = {
|
|
19
19
|
label: "label",
|
|
@@ -48,7 +48,7 @@ class q extends B {
|
|
|
48
48
|
try {
|
|
49
49
|
if (e.detail !== null && e.detail !== void 0) {
|
|
50
50
|
const { contentKind: t } = e.detail, { value: i } = e.detail;
|
|
51
|
-
switch (
|
|
51
|
+
switch (P(x), t) {
|
|
52
52
|
case d.transformation:
|
|
53
53
|
this.model.dataTransformationType = i ?? u.None;
|
|
54
54
|
break;
|
|
@@ -110,7 +110,7 @@ class q extends B {
|
|
|
110
110
|
t?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
111
111
|
}
|
|
112
112
|
removeHistogramDataPopover() {
|
|
113
|
-
this.histogramPopover !== null && (this.histogramPopover =
|
|
113
|
+
this.histogramPopover !== null && (this.histogramPopover = R(this.histogramPopover));
|
|
114
114
|
}
|
|
115
115
|
getDataTransformationLabel() {
|
|
116
116
|
let e;
|
|
@@ -164,7 +164,7 @@ class q extends B {
|
|
|
164
164
|
t = void 0;
|
|
165
165
|
break;
|
|
166
166
|
}
|
|
167
|
-
return L(t,
|
|
167
|
+
return L(t, T);
|
|
168
168
|
}
|
|
169
169
|
binCountChange(e) {
|
|
170
170
|
const t = Number.parseInt(e);
|
|
@@ -174,7 +174,7 @@ class q extends B {
|
|
|
174
174
|
}));
|
|
175
175
|
}
|
|
176
176
|
onColorElementSelect(e, t, i) {
|
|
177
|
-
this.binColorSelected = i === void 0, e.type ===
|
|
177
|
+
this.binColorSelected = i === void 0, e.type === z.SFS ? (this.selectedOverlaySymbol = void 0, this.selectedBinColorSymbol = e, this.contentKind = d.fillSymbol) : (this.selectedBinColorSymbol = void 0, this.selectedOverlaySymbol = e, this.overlaySectionElement = i, this.contentKind = d.lineSymbol), this.popoverHeading = t, this.setupPopover();
|
|
178
178
|
}
|
|
179
179
|
onNumericFieldSelect(e) {
|
|
180
180
|
e.stopImmediatePropagation(), this.selectedNumericalField = this.model.numericField, this.contentKind = d.numericFields, this.setupPopover();
|
|
@@ -4,7 +4,7 @@ import { isEqual as a } from "es-toolkit/compat";
|
|
|
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 {
|
|
7
|
+
import { bH as c, bI as m, t as f, aP as g, aQ as p } from "../../chunks/index.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() {
|
|
@@ -10,7 +10,7 @@ import { d as p, a as c, r as C, b as T } from "../../chunks/store.js";
|
|
|
10
10
|
import { isEqual as S } from "es-toolkit/compat";
|
|
11
11
|
import { x as E } from "../../chunks/data.js";
|
|
12
12
|
import { d, e as y, h as g } from "../../chunks/chart-object-literals.js";
|
|
13
|
-
import {
|
|
13
|
+
import { I as L, J as P } from "../../chunks/index3.js";
|
|
14
14
|
import { b, p as w } from "../../chunks/index2.js";
|
|
15
15
|
import { r as $, aQ as _ } from "../../chunks/index.js";
|
|
16
16
|
import { r as N } from "../../chunks/popover-ui-utils.js";
|
|
@@ -12,10 +12,10 @@ import { c as $, b as F, e as d, f as I, s as T } from "../../chunks/chart-ui-ut
|
|
|
12
12
|
import { d as x } from "../../chunks/rest-js-object-literals.js";
|
|
13
13
|
import { b as g, e as c } from "../../chunks/chart-object-literals.js";
|
|
14
14
|
import { e as A, p as D } from "../../chunks/popover-ui-utils.js";
|
|
15
|
-
import {
|
|
15
|
+
import { I as E, J as S } from "../../chunks/index3.js";
|
|
16
16
|
import { b as z, p as w } from "../../chunks/index2.js";
|
|
17
|
-
import {
|
|
18
|
-
const
|
|
17
|
+
import { bG as N, aP as L, aQ as K, aZ as B } from "../../chunks/index.js";
|
|
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",
|
|
21
21
|
fab: "fab",
|
|
@@ -23,7 +23,7 @@ const H = P`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.a
|
|
|
23
23
|
sizeSection: "size-section",
|
|
24
24
|
applyButton: "apply-button"
|
|
25
25
|
};
|
|
26
|
-
class
|
|
26
|
+
class H extends k {
|
|
27
27
|
constructor() {
|
|
28
28
|
super(...arguments), this._messages = C(), this.commonStrings = C({ name: "common", blocking: !0 }), this.picklist = h(), this.intervalSizeElement = h(), this.intervalTypeElement = h(), this.popoverElement = h(), this.placement = "leading", this.offsetDistance = -200, this.pickListHasChanged = !1, this.open = !1, this.layerFieldsInfo = [], this.arcgisChartsConfigLineChartDataPopoverChange = v(), this.arcgisChartsConfigLineChartPopoverClose = v();
|
|
29
29
|
}
|
|
@@ -31,7 +31,7 @@ class _ extends k {
|
|
|
31
31
|
this.properties = { aggregationLabels: 16, timeAggregationLabels: 16, messageOverrides: 0, headingTitle: 1, referenceElement: 0, open: 5, contentKind: 1, layerFieldsInfo: 0, selectedContent: 1 };
|
|
32
32
|
}
|
|
33
33
|
static {
|
|
34
|
-
this.styles =
|
|
34
|
+
this.styles = _;
|
|
35
35
|
}
|
|
36
36
|
async reposition() {
|
|
37
37
|
await this.popoverElement.value?.reposition();
|
|
@@ -183,7 +183,7 @@ class _ 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 ${p(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
|
-
y("arcgis-charts-config-line-chart-popover",
|
|
186
|
+
y("arcgis-charts-config-line-chart-popover", H);
|
|
187
187
|
export {
|
|
188
|
-
|
|
188
|
+
H as ArcgisChartsConfigLineChartPopover
|
|
189
189
|
};
|