@arcgis/charts-components 5.2.0-next.135 → 5.2.0-next.136
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/{237DFICJ.js → 2HRUBGST.js} +1 -1
- package/dist/cdn/{ZF7Q5ICW.js → 35PBCGSN.js} +1 -1
- package/dist/cdn/{J7FI5MUJ.js → 367L3LQO.js} +1 -1
- package/dist/cdn/{3RHIIHYK.js → 3GKRNMRV.js} +1 -1
- package/dist/cdn/{2WMXFFGK.js → 3OER7BU2.js} +1 -1
- package/dist/cdn/{YVLG5MT3.js → 3SCHRJRU.js} +1 -1
- package/dist/cdn/{AXYWDXEL.js → 4CZ42XEO.js} +1 -1
- package/dist/cdn/{FJNF77FI.js → 4O2KDCKM.js} +1 -1
- package/dist/cdn/{XOUPCPXQ.js → 4W7SCR55.js} +1 -1
- package/dist/cdn/{7V464FLT.js → 4ZLCIBER.js} +1 -1
- package/dist/cdn/{LYAWKYBD.js → 5B3ABOG3.js} +1 -1
- package/dist/cdn/5L7BAEX5.js +2 -0
- package/dist/cdn/{LQLS3XBM.js → 6EDLAC52.js} +1 -1
- package/dist/cdn/{54MARFOX.js → 6RUBYJSF.js} +1 -1
- package/dist/cdn/{NSEM52TJ.js → 7UVQYW4Q.js} +1 -1
- package/dist/cdn/{4HRC4N36.js → AJLZM4IQ.js} +1 -1
- package/dist/cdn/{JM3JDVI3.js → AYMLPZBF.js} +1 -1
- package/dist/cdn/{5FLFQNR7.js → B5TTRVJI.js} +1 -1
- package/dist/cdn/{2TH2NLKH.js → BIN4ZNTH.js} +1 -1
- package/dist/cdn/{JRO7TCEJ.js → CIAJ52ML.js} +1 -1
- package/dist/cdn/{7V56LIEQ.js → CPHTAVGQ.js} +1 -1
- package/dist/cdn/{MVMW7ICK.js → D7RKUPNX.js} +1 -1
- package/dist/cdn/{Z4LTOPMQ.js → DBOWNSG5.js} +1 -1
- package/dist/cdn/DKIBLRSR.js +3 -0
- package/dist/cdn/{U62CTMLS.js → E2D4QDWN.js} +1 -1
- package/dist/cdn/{VBJ6455L.js → E3FKZBYQ.js} +1 -1
- package/dist/cdn/{6XU3HVJF.js → EHQJJN7C.js} +1 -1
- package/dist/cdn/{Q7W6SXYC.js → EIA2JM3O.js} +1 -1
- package/dist/cdn/{D6AJNGRK.js → ENYTXX6O.js} +1 -1
- package/dist/cdn/{GDMO4GD3.js → EP5MHPGF.js} +1 -1
- package/dist/cdn/{5J4YCXT7.js → FN4N6E4Z.js} +1 -1
- package/dist/cdn/{EHWOAZN7.js → FNNNRYPK.js} +1 -1
- package/dist/cdn/{E4E2WV6B.js → G4BWHPA3.js} +1 -1
- package/dist/cdn/{ZWDYQ77Q.js → GUDVONR6.js} +1 -1
- package/dist/cdn/{V5MTKOJP.js → GZJZ5V7Q.js} +1 -1
- package/dist/cdn/{SZZ5ARZP.js → HDBY2GFV.js} +1 -1
- package/dist/cdn/{BWHTYMQB.js → HHXJ7N5R.js} +1 -1
- package/dist/cdn/{FPYTBEV3.js → HPXU7UB6.js} +1 -1
- package/dist/cdn/{QDALL6M3.js → HYMJRAL3.js} +1 -1
- package/dist/cdn/{B2L54U6A.js → I46I6KOY.js} +1 -1
- package/dist/cdn/{JRBXQRR3.js → I46OAPO7.js} +1 -1
- package/dist/cdn/{W5EEE7AO.js → IA5OR4WK.js} +1 -1
- package/dist/cdn/{WT5EQBFC.js → IFGLNWRZ.js} +1 -1
- package/dist/cdn/{KG5S3UIQ.js → IGQE3GKE.js} +1 -1
- package/dist/cdn/{VVXOD6FU.js → IP75JGZY.js} +1 -1
- package/dist/cdn/{PB5EMF72.js → IV6R3TUP.js} +1 -1
- package/dist/cdn/{LPQNRUNB.js → IXW7366K.js} +2 -2
- package/dist/cdn/{BEMMMLF7.js → JEAGQZ6U.js} +1 -1
- package/dist/cdn/{R6IRQAQX.js → JMTJXHWM.js} +1 -1
- package/dist/cdn/{F347H3VP.js → K6M6N5Y4.js} +1 -1
- package/dist/cdn/{CIHQXJ22.js → KYLV3VYF.js} +1 -1
- package/dist/cdn/{O32HVT23.js → M3XUZXNC.js} +1 -1
- package/dist/cdn/{UMM6WL6A.js → MRB4SVH7.js} +1 -1
- package/dist/cdn/{BZFXEB67.js → MT4UZZHO.js} +1 -1
- package/dist/cdn/{SCGAGWRM.js → MTIRF2JT.js} +1 -1
- package/dist/cdn/{T5MBXDFL.js → MWVAPA6R.js} +1 -1
- package/dist/cdn/{35Z5G5XD.js → N64ZNSEI.js} +1 -1
- package/dist/cdn/{QAYSFUD7.js → NFNY5YEZ.js} +1 -1
- package/dist/cdn/{NSOVRPRE.js → NFZIKRWX.js} +1 -1
- package/dist/cdn/{IAZC7AQD.js → NTTEKGFE.js} +1 -1
- package/dist/cdn/{F7AX7464.js → O6OCB5IT.js} +1 -1
- package/dist/cdn/{CQFH2M2V.js → PNFPQKYB.js} +2 -2
- package/dist/cdn/{F2NO4I6W.js → PQPHTXNR.js} +1 -1
- package/dist/cdn/{LWTFQAHK.js → PSCLY3DM.js} +19 -20
- package/dist/cdn/{RLWLROKT.js → QHM4EVYR.js} +1 -1
- package/dist/cdn/{QWH37V5U.js → QKGSVBTA.js} +1 -1
- package/dist/cdn/{TG6R3HGR.js → R43SLOWX.js} +1 -1
- package/dist/cdn/{FWSQ6ZIW.js → RFSLZQXB.js} +1 -1
- package/dist/cdn/RKCOLO2T.js +2 -0
- package/dist/cdn/{MHTOZK7U.js → SADF3HXI.js} +1 -1
- package/dist/cdn/{AEKQA723.js → SDFAZNSE.js} +1 -1
- package/dist/cdn/{3EZTPHQL.js → SO5USEBM.js} +1 -1
- package/dist/cdn/{TAXYRFNW.js → TNOEBWC6.js} +1 -1
- package/dist/cdn/{FF5R6NM4.js → TOQ5LNA2.js} +1 -1
- package/dist/cdn/{THOUIYL5.js → TXG73R7I.js} +1 -1
- package/dist/cdn/{BGRTZDUX.js → W6CVNIZI.js} +1 -1
- package/dist/cdn/{7ZIK7CXK.js → WDWEALIE.js} +1 -1
- package/dist/cdn/{YZVWDBRN.js → WOXI3AZO.js} +1 -1
- package/dist/cdn/{DLX6VFTM.js → WVAWR5QJ.js} +1 -1
- package/dist/cdn/{IRHBAPVI.js → WZQU3ETT.js} +1 -1
- package/dist/cdn/{2MMQK7WY.js → X7JF37XY.js} +1 -1
- package/dist/cdn/{XGVPNZ4W.js → XID55HFP.js} +1 -1
- package/dist/cdn/{NWB2XYFC.js → XKUVYPZZ.js} +1 -1
- package/dist/cdn/{RRLXLHLQ.js → XVOJWRDP.js} +1 -1
- package/dist/cdn/{TXLZGJBS.js → Y7BPMJVM.js} +1 -1
- package/dist/cdn/{XL73XJKZ.js → YG3RPQLN.js} +1 -1
- package/dist/cdn/{HKJALKXI.js → ZAYWPPRC.js} +1 -1
- package/dist/cdn/ZOIPJDWO.js +2 -0
- package/dist/cdn/{FBSOJYSL.js → ZUCZVZTB.js} +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-action-bar/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/charts-config-view-charts/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/common/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/axis-lines-symbol.js +1 -1
- package/dist/chunks/bar-chart-model.js +1 -1
- package/dist/chunks/box-plot-data.js +16 -16
- package/dist/chunks/box-plot-model.js +6 -6
- package/dist/chunks/chart-model.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +7 -7
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +1 -1
- package/dist/chunks/gauge-model.js +8 -8
- package/dist/chunks/heat-chart-model.js +1 -1
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +419 -405
- package/dist/chunks/index2.js +1 -4
- package/dist/chunks/index3.js +105 -104
- package/dist/chunks/line-chart-model.js +1 -1
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/model-with-y-guides.js +4 -4
- package/dist/chunks/pie-chart-data.js +5 -5
- package/dist/chunks/pie-chart-model.js +8 -8
- package/dist/chunks/radar-chart-model.js +4 -4
- package/dist/chunks/rounded-corners.js +1 -1
- package/dist/chunks/scatterplot-model.js +10 -10
- package/dist/chunks/serial-chart-data.js +299 -299
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-length.js +1 -1
- package/dist/chunks/utils.js +18 -18
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/chunks/x-bounds.js +14 -14
- package/dist/components/arcgis-chart/customElement.js +3310 -3305
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +8 -8
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +37 -37
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-info-modal/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 +418 -417
- package/dist/utils/chart-config/converter/index.js +1 -1
- package/dist/utils/defaults/index.d.ts +5 -0
- package/package.json +4 -4
- package/dist/cdn/NHMG5ROX.js +0 -2
- package/dist/cdn/O5YAEMTL.js +0 -3
- package/dist/cdn/P5HRXBWY.js +0 -2
- package/dist/cdn/QBWCTB6A.js +0 -2
|
@@ -10,10 +10,10 @@ import { u as F } from "../../chunks/useT9n.js";
|
|
|
10
10
|
import { css as _, html as n, nothing as N } from "lit";
|
|
11
11
|
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
|
-
import { b as $, o as z, C as M, a as B, p as
|
|
14
|
-
import { x as
|
|
13
|
+
import { b as $, o as z, C as M, a as B, p as K } from "../../chunks/index2.js";
|
|
14
|
+
import { x as R } from "../../chunks/data.js";
|
|
15
15
|
import { t as A, bJ as j, q as L, aR as H } from "../../chunks/index.js";
|
|
16
|
-
import {
|
|
16
|
+
import { J as q, K 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";
|
|
@@ -181,7 +181,7 @@ class G extends U {
|
|
|
181
181
|
return this.model.splitByField === "" || (this.model.numericFields ?? []).length > 1 ? "" : $(this.layerFieldsInfo, this.model.splitByField);
|
|
182
182
|
}
|
|
183
183
|
getCorrectedCategoryValue() {
|
|
184
|
-
return
|
|
184
|
+
return R({
|
|
185
185
|
fieldName: this.model.xAxisField,
|
|
186
186
|
fieldList: this.layerFieldsInfo
|
|
187
187
|
}) ? "" : $(this.layerFieldsInfo, this.model.xAxisField);
|
|
@@ -271,7 +271,7 @@ class G 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 =
|
|
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);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as S } from "../../chunks/runtime.js";
|
|
3
3
|
import { repeat as b } from "lit/directives/repeat.js";
|
|
4
4
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
5
|
-
import { LitElement as
|
|
5
|
+
import { LitElement as I, createEvent as C, renderElement as T, safeStyleMap as F, safeClassMap as c } from "@arcgis/lumina";
|
|
6
6
|
import { substitute as A } from "@arcgis/core/intl.js";
|
|
7
7
|
import { css as D, html as a } from "lit";
|
|
8
8
|
import { createRef as g, ref as d } from "lit/directives/ref.js";
|
|
@@ -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 { E as O, bK as
|
|
17
|
+
import { J as K, K as _ } from "../../chunks/index3.js";
|
|
18
|
+
import { E as O, bK as P, aR as H, a_ as M, aQ as U } from "../../chunks/index.js";
|
|
19
19
|
import { b as W, p as j } from "../../chunks/index2.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",
|
|
@@ -28,7 +28,7 @@ const R = D`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.a
|
|
|
28
28
|
applyButton: "apply-button",
|
|
29
29
|
panel: "panel"
|
|
30
30
|
};
|
|
31
|
-
class q extends
|
|
31
|
+
class q extends I {
|
|
32
32
|
constructor() {
|
|
33
33
|
super(...arguments), this._messages = y(), this.commonStrings = y({ name: "common", blocking: !0 }), this.picklist = g(), this.intervalSizeElement = g(), this.intervalTypeElement = g(), this.popoverElement = g(), this.placement = "leading", this.offsetDistance = -200, this.pickListHasChanged = !1, this.aggregationLabels = [], this.open = !1, this.layerFieldsInfo = [], this.isCustomSortDisabled = !1, this.isNoAggregationDisabled = !1, this.arcgisChartsConfigBarChartDataPopoverChange = C(), this.arcgisChartsConfigPopoverClose = C();
|
|
34
34
|
}
|
|
@@ -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 ||
|
|
122
|
+
r && (r.type === L.String || P(r) || H(r) || M(r)) && i.push(this.buildPickListItem(r));
|
|
123
123
|
}
|
|
124
124
|
break;
|
|
125
125
|
}
|
|
@@ -128,7 +128,7 @@ class q extends S {
|
|
|
128
128
|
i.push(l);
|
|
129
129
|
for (let s = 0; s < t; s += 1) {
|
|
130
130
|
const r = this.layerFieldsInfo?.[s];
|
|
131
|
-
r && (
|
|
131
|
+
r && (P(r) || r.type === L.String) && i.push(this.buildPickListItem(r));
|
|
132
132
|
}
|
|
133
133
|
break;
|
|
134
134
|
}
|
|
@@ -238,7 +238,7 @@ class q extends S {
|
|
|
238
238
|
return this.contentKind === n.numericFields && (e = a`<div slot=footer><calcite-fab class=${c(o.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>`), a`<div><calcite-popover class=${c(o.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${d(this.popoverElement)}><calcite-panel class=${c(o.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${c(o.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`;
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
|
-
|
|
241
|
+
S("arcgis-charts-config-bar-chart-popover", q);
|
|
242
242
|
export {
|
|
243
243
|
q as ArcgisChartsConfigBarChartPopover
|
|
244
244
|
};
|
|
@@ -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 { Q 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,14 +1,14 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { LitElement as
|
|
4
|
-
import { normalizeLocale as
|
|
5
|
-
import { getElementLocale as
|
|
6
|
-
import { css as
|
|
2
|
+
import { c as P } from "../../chunks/runtime.js";
|
|
3
|
+
import { LitElement as E, createEvent as A, renderElement as D, safeClassMap as o, safeStyleMap as B } from "@arcgis/lumina";
|
|
4
|
+
import { normalizeLocale as M, defaultLocale as w } from "@arcgis/toolkit/intl";
|
|
5
|
+
import { getElementLocale as I } from "@arcgis/toolkit/intl/dom";
|
|
6
|
+
import { css as N, html as i } from "lit";
|
|
7
7
|
import { createRef as n, ref as c } from "lit/directives/ref.js";
|
|
8
|
-
import { parseInt as
|
|
9
|
-
import { DateTime as
|
|
10
|
-
import {
|
|
11
|
-
import { u as
|
|
8
|
+
import { parseInt as _, camelCase as H } from "es-toolkit/compat";
|
|
9
|
+
import { DateTime as L } from "luxon";
|
|
10
|
+
import { b as T, t as O, C as U } from "../../chunks/index2.js";
|
|
11
|
+
import { u as x } from "../../chunks/useT9n.js";
|
|
12
12
|
import { c as s, W as k } from "../../chunks/interfaces.js";
|
|
13
13
|
import { x as W } from "../../chunks/data.js";
|
|
14
14
|
import { l as v, s as q } from "../../chunks/chart-ui-utils.js";
|
|
@@ -17,20 +17,20 @@ 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 { I as Q, i as
|
|
21
|
-
import { t as
|
|
22
|
-
import { i as
|
|
23
|
-
import { r as
|
|
24
|
-
const
|
|
20
|
+
import { J, I as Q, i as ee, R as d } from "../../chunks/index3.js";
|
|
21
|
+
import { t as R } from "../../chunks/index.js";
|
|
22
|
+
import { i as ae } from "../../chunks/index4.js";
|
|
23
|
+
import { r as te } from "../../chunks/popover-ui-utils.js";
|
|
24
|
+
const se = N`.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{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}.color-ramp{width:100%;height:20px;overflow:hidden;border-radius:0}.color-ramp-segment{height:100%;display:inline-block}.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)}.accordion{margin-top:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major)}`, r = {
|
|
25
25
|
label: "label",
|
|
26
26
|
colorRamp: "color-ramp",
|
|
27
27
|
colorRampSegment: "color-ramp-segment",
|
|
28
28
|
list: "list",
|
|
29
29
|
accordion: "accordion"
|
|
30
30
|
};
|
|
31
|
-
class
|
|
31
|
+
class le extends E {
|
|
32
32
|
constructor() {
|
|
33
|
-
super(...arguments), this._messages =
|
|
33
|
+
super(...arguments), this._messages = x(), this.commonStrings = x({ name: "common", blocking: !0 }), this.heatChartPopover = null, this.xAxisFieldElement = n(), this.aggregationElement = n(), this.numericFieldsElement = n(), this.calendarTypeElement = n(), this.calendarViewTypeElement = n(), this.classBreakMethodElement = n(), this.nullElement = n(), this.breaksCountElement = n(), this.colorSchemeElement = n(), this.onHeatChartDataPopoverChange = async (e) => {
|
|
34
34
|
try {
|
|
35
35
|
if (e.detail?.value !== void 0) {
|
|
36
36
|
const { contentKind: a } = e.detail, t = e.detail.value;
|
|
@@ -42,7 +42,7 @@ class se extends A {
|
|
|
42
42
|
this.model.xAxisField = t, this.setDefaultPropertiesForCalendarHeatChart();
|
|
43
43
|
break;
|
|
44
44
|
case s.numericFields:
|
|
45
|
-
this.model.numericFields = [t.trim() || ""], (this.model.numericFields ?? []).length > 0 && this.model.aggregationType === m.Count && this.model.numericFields[0] !==
|
|
45
|
+
this.model.numericFields = [t.trim() || ""], (this.model.numericFields ?? []).length > 0 && this.model.aggregationType === m.Count && this.model.numericFields[0] !== R(this.model.layer).idField && (this.model.aggregationType = m.Sum);
|
|
46
46
|
break;
|
|
47
47
|
case s.calendarType: {
|
|
48
48
|
this.applyCalendarTypePreset(t);
|
|
@@ -85,13 +85,13 @@ class se extends A {
|
|
|
85
85
|
};
|
|
86
86
|
this.model.emptyCellSymbol = l;
|
|
87
87
|
}
|
|
88
|
-
}, this.availableColorRamps = [], this.layerFieldsInfo = [], this.open = !1, this.arcgisChartsConfigDataChangeError =
|
|
88
|
+
}, this.availableColorRamps = [], this.layerFieldsInfo = [], this.open = !1, this.arcgisChartsConfigDataChangeError = A();
|
|
89
89
|
}
|
|
90
90
|
static {
|
|
91
91
|
this.properties = { availableColorRamps: 16, aggregationLabel: 16, messageOverrides: 0, model: 0, layerFieldsInfo: 0, open: 5 };
|
|
92
92
|
}
|
|
93
93
|
static {
|
|
94
|
-
this.styles =
|
|
94
|
+
this.styles = se;
|
|
95
95
|
}
|
|
96
96
|
connectedCallback() {
|
|
97
97
|
super.connectedCallback(), this.loadColorRampFromArcGIS();
|
|
@@ -100,7 +100,7 @@ class se extends A {
|
|
|
100
100
|
this.modelChange(this.model), this.onModelConfigChange();
|
|
101
101
|
}
|
|
102
102
|
willUpdate(e) {
|
|
103
|
-
e.has("model") && this.modelChange(this.model, e.get("model")), this.aggregationLabel =
|
|
103
|
+
e.has("model") && this.modelChange(this.model, e.get("model")), this.aggregationLabel = J(this.model.aggregationType, this.commonStrings);
|
|
104
104
|
}
|
|
105
105
|
disconnectedCallback() {
|
|
106
106
|
super.disconnectedCallback(), this.model?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
@@ -110,14 +110,14 @@ class se extends A {
|
|
|
110
110
|
this.allColorRamps = e, this.availableColorRamps = this.allColorRamps;
|
|
111
111
|
}
|
|
112
112
|
getSelectedOrDefaultColorRampName() {
|
|
113
|
-
return this.model.colorRampName ?? (
|
|
113
|
+
return this.model.colorRampName ?? (ae(this.model?.config) ? $.defaultColorRampForCharts?.name : void 0);
|
|
114
114
|
}
|
|
115
115
|
getRequestedBreaksCount() {
|
|
116
|
-
return this.requestedBreaksCount ?? this.model.breaksCount ??
|
|
116
|
+
return this.requestedBreaksCount ?? this.model.breaksCount ?? Q;
|
|
117
117
|
}
|
|
118
118
|
getFirstDayOfWeek() {
|
|
119
|
-
const { lang: e } =
|
|
120
|
-
return
|
|
119
|
+
const { lang: e } = I(this.el ?? document.documentElement), a = M(e);
|
|
120
|
+
return L.local().setLocale(e).startOf("week", { useLocaleWeeks: a !== w }).weekday;
|
|
121
121
|
}
|
|
122
122
|
applyCalendarTypePreset(e) {
|
|
123
123
|
switch (e) {
|
|
@@ -164,7 +164,7 @@ class se extends A {
|
|
|
164
164
|
applyGeneratedClassBreaks(e, a) {
|
|
165
165
|
if (this.model.chartRenderer = {
|
|
166
166
|
type: "classBreaks",
|
|
167
|
-
field:
|
|
167
|
+
field: ee.valueField,
|
|
168
168
|
classBreakInfos: e
|
|
169
169
|
}, this.model.heatRulesType !== u.Renderer && (this.model.heatRulesType = u.Renderer), this.model.classificationMethod !== F.manual) {
|
|
170
170
|
const t = e.length || a;
|
|
@@ -186,7 +186,7 @@ class se extends A {
|
|
|
186
186
|
return W({
|
|
187
187
|
fieldName: this.model.xAxisField,
|
|
188
188
|
fieldList: this.layerFieldsInfo
|
|
189
|
-
}) ? "" :
|
|
189
|
+
}) ? "" : T(this.layerFieldsInfo, this.model.xAxisField);
|
|
190
190
|
}
|
|
191
191
|
onXAxisFieldSelect(e) {
|
|
192
192
|
this.contentKind = s.xAxisField, this.setupPopover(e);
|
|
@@ -204,8 +204,8 @@ class se extends A {
|
|
|
204
204
|
this.contentKind = s.colorScheme, this.setupPopover(e);
|
|
205
205
|
}
|
|
206
206
|
async onBreaksCountChange(e) {
|
|
207
|
-
let a =
|
|
208
|
-
a < d.min ? a = d.min : a > d.max && (a = d.max),
|
|
207
|
+
let a = _(e.target.value);
|
|
208
|
+
a < d.min ? a = d.min : a > d.max && (a = d.max), O(a) && (this.breaksCountElement.value && (this.breaksCountElement.value.value = a.toString()), this.requestedBreaksCount = a, this.model.breaksCount = a, await this.generateAndUpdateClassBreaks());
|
|
209
209
|
}
|
|
210
210
|
onAggregationSelect(e) {
|
|
211
211
|
this.contentKind = s.aggregation, this.setupPopover(e);
|
|
@@ -249,10 +249,10 @@ class se extends A {
|
|
|
249
249
|
a = e.target, t = this._messages.null;
|
|
250
250
|
break;
|
|
251
251
|
}
|
|
252
|
-
this.heatChartPopover =
|
|
252
|
+
this.heatChartPopover = D(i`<arcgis-charts-config-heat-chart-popover .headingTitle=${t} .referenceElement=${a} open .contentKind=${this.contentKind} .model=${this.model} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${l} @arcgisChartsConfigHeatChartDataPopoverChange=${this.onHeatChartDataPopoverChange} @arcgisChartsConfigPopoverClose=${this.popoverClose} .colorRamps=${this.availableColorRamps} @arcgisChartsConfigHeatChartColorRampChange=${this.onColorRampSelection} @arcgisChartsConfigPopoverEmptyCellColorChange=${this.onEmptyCellColorChange} @arcgisChartsConfigPopoverEmptyCellNameChange=${this.onEmptyCellNameChange} .isFlipped=${this.model.isColorRampFlipped}></arcgis-charts-config-heat-chart-popover>`), !document.body.contains(this.heatChartPopover) && this.heatChartPopover !== null && document.body.appendChild(this.heatChartPopover);
|
|
253
253
|
}
|
|
254
254
|
removeHeatChartDataPopover() {
|
|
255
|
-
this.heatChartPopover !== null && (this.heatChartPopover.open = !1, this.heatChartPopover =
|
|
255
|
+
this.heatChartPopover !== null && (this.heatChartPopover.open = !1, this.heatChartPopover = te(this.heatChartPopover));
|
|
256
256
|
}
|
|
257
257
|
setDefaultPropertiesForCalendarHeatChart() {
|
|
258
258
|
this.model.yAxisField = this.model.xAxisField, this.model.setYAxisSortOrder(G.Desc), this.model.classificationMethod === void 0 && (this.model.classificationMethod = F.naturalBreaks), this.model.heatRulesType !== u.Renderer && (this.model.heatRulesType = u.Renderer), this.model.viewType === void 0 && (this.model.viewType = Y.singleCalendarView), (this.model.aggregationType === m.Count || this.model.aggregationType === m.Sum) && this.model.nullPolicy !== h.Zero && (this.model.nullPolicy = h.Zero), this.model.colorRampName === void 0 && (this.model.colorRampName = $.defaultColorRampForCharts?.name);
|
|
@@ -265,7 +265,7 @@ class se extends A {
|
|
|
265
265
|
return i`<arcgis-charts-config-field-picker .label=${this.model.aggregationType === m.NoAggregation ? this._messages.noAggregation : this.aggregationLabel} @click=${this.onAggregationSelect} ${c(this.aggregationElement)}></arcgis-charts-config-field-picker>`;
|
|
266
266
|
}
|
|
267
267
|
renderNumericFieldsSelect() {
|
|
268
|
-
const e = this.model.numericFields?.[0] ===
|
|
268
|
+
const e = this.model.numericFields?.[0] === R(this.model.layer).idField ? "" : T(this.layerFieldsInfo, this.model.numericFields?.[0]);
|
|
269
269
|
return i`<arcgis-charts-config-field-picker .label=${e} @click=${this.onNumericFieldSelect} ${c(this.numericFieldsElement)}></arcgis-charts-config-field-picker>`;
|
|
270
270
|
}
|
|
271
271
|
renderCalendarTypeSelect() {
|
|
@@ -281,7 +281,7 @@ class se extends A {
|
|
|
281
281
|
manual: this._messages.classBreaksMethod?.manual,
|
|
282
282
|
naturalBreaks: this._messages.classBreaksMethod?.naturalBreaks,
|
|
283
283
|
quantile: this._messages.classBreaksMethod?.quantile
|
|
284
|
-
}, a = this.model.classificationMethod ? e[
|
|
284
|
+
}, a = this.model.classificationMethod ? e[H(this.model.classificationMethod)] ?? "" : "";
|
|
285
285
|
return i`<arcgis-charts-config-field-picker .label=${a} @click=${this.onClassBreakMethodSelect} ${c(this.classBreakMethodElement)}></arcgis-charts-config-field-picker>`;
|
|
286
286
|
}
|
|
287
287
|
renderColorRampSelect() {
|
|
@@ -296,18 +296,18 @@ class se extends A {
|
|
|
296
296
|
return i`<calcite-table caption="Simple table"><calcite-table-row slot=table-header><calcite-table-header .heading=${this._messages.symbol}></calcite-table-header><calcite-table-header .heading=${this._messages.upperValue}></calcite-table-header></calcite-table-row>${e.map((a) => i`<calcite-table-row><calcite-table-cell><calcite-swatch label scale=m .color=${`rgba(${a.symbol.color?.[0]}, ${a.symbol.color?.[1]}, ${a.symbol.color?.[2]}, ${a.symbol.color?.[3] / 255})`}></calcite-swatch></calcite-table-cell><calcite-table-cell>${a.label}</calcite-table-cell></calcite-table-row>`)}</calcite-table>`;
|
|
297
297
|
}
|
|
298
298
|
renderNullUI() {
|
|
299
|
-
const e = this.model.emptyCell, a = this._messages.null, t = e?.symbol?.color ?? this.model.emptyCellSymbol?.color ??
|
|
299
|
+
const e = this.model.emptyCell, a = this._messages.null, t = e?.symbol?.color ?? this.model.emptyCellSymbol?.color ?? U.grayColor, [l, g, f, y] = [...t], b = `rgba(${l},${g},${f},${y / 255})`;
|
|
300
300
|
return i`<calcite-list label class=${o(r.list)} selection-mode=none ${c(this.nullElement)}><calcite-list-item .label=${a} .value=${a} @calciteListItemSelect=${this.onNullSelect}><calcite-icon icon=square-f style=${B({ color: b })} slot=content-end></calcite-icon></calcite-list-item></calcite-list>`;
|
|
301
301
|
}
|
|
302
302
|
renderEmptyBins() {
|
|
303
303
|
return i`<calcite-radio-button-group name=empty-bins layout=vertical @calciteRadioButtonGroupChange=${this.onNullPolicyChange}><calcite-label layout=inline><calcite-radio-button .value=${h.Zero} .checked=${this.model.nullPolicy === h.Zero}></calcite-radio-button>${this._messages.treatAsZero}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${h.Null} .checked=${this.model.nullPolicy === h.Null}></calcite-radio-button>${this._messages.treatAsNull}</calcite-label></calcite-radio-button-group>`;
|
|
304
304
|
}
|
|
305
305
|
render() {
|
|
306
|
-
const e = this.renderXAxisFieldSelect(), a = this.renderAggregation(), t = this.renderNumericFieldsSelect(), l = this.renderCalendarTypeSelect(), g = this.renderClassBreakMethodSelect(), f = this.renderColorRampSelect(), y = this.renderClassBreaksTable(), b = this.renderNullUI(),
|
|
307
|
-
return i`<calcite-label class=${o(r.label)}>${this._messages.dateRequired}${e}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.calendarType}${l}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.aggregation}${a}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.numericField}${t}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.method}${g}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.numberOfClasses}<calcite-input type=number .min=${d.min} .max=${d.max} .disabled=${this.model.classificationMethod === void 0 || this.model.classificationMethod === F.manual} step=1 .value=${q(this.model.breaksCount, 5)} @calciteInputInput=${this.onBreaksCountChange} ${c(this.breaksCountElement)}></calcite-input></calcite-label><calcite-label class=${o(r.label)}>${this._messages.colorScheme}${f}</calcite-label>${b}<calcite-accordion class=${o(r.accordion)} appearance=transparent selection-mode=single><calcite-accordion-item .heading=${this._messages.classBreaks}>${y}</calcite-accordion-item></calcite-accordion><calcite-label class=${o(r.label)}>${this._messages.emptyBins}${
|
|
306
|
+
const e = this.renderXAxisFieldSelect(), a = this.renderAggregation(), t = this.renderNumericFieldsSelect(), l = this.renderCalendarTypeSelect(), g = this.renderClassBreakMethodSelect(), f = this.renderColorRampSelect(), y = this.renderClassBreaksTable(), b = this.renderNullUI(), S = this.renderEmptyBins();
|
|
307
|
+
return i`<calcite-label class=${o(r.label)}>${this._messages.dateRequired}${e}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.calendarType}${l}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.aggregation}${a}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.numericField}${t}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.method}${g}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.numberOfClasses}<calcite-input type=number .min=${d.min} .max=${d.max} .disabled=${this.model.classificationMethod === void 0 || this.model.classificationMethod === F.manual} step=1 .value=${q(this.model.breaksCount, 5)} @calciteInputInput=${this.onBreaksCountChange} ${c(this.breaksCountElement)}></calcite-input></calcite-label><calcite-label class=${o(r.label)}>${this._messages.colorScheme}${f}</calcite-label>${b}<calcite-accordion class=${o(r.accordion)} appearance=transparent selection-mode=single><calcite-accordion-item .heading=${this._messages.classBreaks}>${y}</calcite-accordion-item></calcite-accordion><calcite-label class=${o(r.label)}>${this._messages.emptyBins}${S}</calcite-label>${v(this.model) === k.YearByMonthAndDayOfMonth ? i`<calcite-label class=${o(r.label)} layout=inline-space-between>${this._messages.includeLeapDay}<calcite-switch .checked=${this.model.includeLeapDay} @calciteSwitchChange=${this.onIncludeLeapDayChange}></calcite-switch></calcite-label>` : null}`;
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
|
-
|
|
310
|
+
P("arcgis-charts-config-heat-chart-data", le);
|
|
311
311
|
export {
|
|
312
|
-
|
|
312
|
+
le as ArcgisChartsConfigHeatChartData
|
|
313
313
|
};
|
|
@@ -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 { J as B, r as M } from "../../chunks/index3.js";
|
|
19
19
|
import { aR as H, aQ 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",
|
|
@@ -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
|
|
6
|
+
import { i as I, m as S, U as C, b as D, n as L, s as V, D as T } from "../../chunks/chart-ui-utils.js";
|
|
7
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 { S 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 z } from "../../chunks/popover-ui-utils.js";
|
|
16
|
+
import { b as R } 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",
|
|
@@ -28,9 +28,9 @@ class q extends B {
|
|
|
28
28
|
constructor() {
|
|
29
29
|
super(...arguments), this._messages = N(), this.numericalFieldSelectionElement = b(), this.transformationSelectionElement = b(), this.histogramPopover = null, this.binColorSectionElement = b(), this.binSliderElement = b(), this.binInputElement = b(), this.popoverHeading = "", this.onBinCountChange = f(() => {
|
|
30
30
|
const e = this.binInputElement.value?.value;
|
|
31
|
-
e !== void 0 && I(e, this.binInputElement.value?.min, this.binInputElement.value?.max) ? this.binCountChange(e) : this.binInputElement.value &&
|
|
31
|
+
e !== void 0 && I(e, this.binInputElement.value?.min, this.binInputElement.value?.max) ? this.binCountChange(e) : this.binInputElement.value && S({
|
|
32
32
|
inputElement: this.binInputElement.value,
|
|
33
|
-
status:
|
|
33
|
+
status: C.INVALID
|
|
34
34
|
});
|
|
35
35
|
}, D.DebounceTimer), this.onBinCountSliderChange = f(() => {
|
|
36
36
|
this.binCountChange(this.binSliderElement.value?.value?.toString() ?? "");
|
|
@@ -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 = z(this.histogramPopover));
|
|
114
114
|
}
|
|
115
115
|
getDataTransformationLabel() {
|
|
116
116
|
let e;
|
|
@@ -168,13 +168,13 @@ class q extends B {
|
|
|
168
168
|
}
|
|
169
169
|
binCountChange(e) {
|
|
170
170
|
const t = Number.parseInt(e);
|
|
171
|
-
this.model.binCount !== t && (this.model.binCount = t, this.binInputElement.value &&
|
|
171
|
+
this.model.binCount !== t && (this.model.binCount = t), this.binInputElement.value && S({
|
|
172
172
|
inputElement: this.binInputElement.value,
|
|
173
|
-
status:
|
|
174
|
-
})
|
|
173
|
+
status: C.IDLE
|
|
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 === R.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();
|
|
@@ -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 { J as L, K as P } from "../../chunks/index3.js";
|
|
14
14
|
import { b, p as w } from "../../chunks/index2.js";
|
|
15
15
|
import { t as $, aR as _ } from "../../chunks/index.js";
|
|
16
16
|
import { r as N } from "../../chunks/popover-ui-utils.js";
|
|
@@ -12,9 +12,9 @@ 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 { J as E, K as S } from "../../chunks/index3.js";
|
|
16
16
|
import { b as z, p as w } from "../../chunks/index2.js";
|
|
17
|
-
import { bK as
|
|
17
|
+
import { bK as K, aQ as L, aR as N, a_ as B } from "../../chunks/index.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",
|
|
@@ -74,7 +74,7 @@ class H extends k {
|
|
|
74
74
|
case a.xAxisField: {
|
|
75
75
|
for (let l = 0; l < t; l += 1) {
|
|
76
76
|
const i = this.layerFieldsInfo?.[l];
|
|
77
|
-
i && (L(i) ||
|
|
77
|
+
i && (L(i) || N(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 m = this.layerFieldsInfo?.[i];
|
|
86
|
-
m && (
|
|
86
|
+
m && (K(m) || m.type === x.String) && s.push(this.buildPickListItem(m));
|
|
87
87
|
}
|
|
88
88
|
break;
|
|
89
89
|
}
|
|
@@ -10,7 +10,7 @@ import { css as L, html as n } from "lit";
|
|
|
10
10
|
import { createRef as C, ref as m } from "lit/directives/ref.js";
|
|
11
11
|
import { LitElement as y, 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
|
-
import {
|
|
13
|
+
import { J as D } from "../../chunks/index3.js";
|
|
14
14
|
import { b as x } from "../../chunks/index2.js";
|
|
15
15
|
import { bK as S, aQ as T } from "../../chunks/index.js";
|
|
16
16
|
import { d as E } from "../../chunks/rest-js-object-literals.js";
|
|
@@ -8,7 +8,7 @@ import { css as G, html as d, nothing as w } from "lit";
|
|
|
8
8
|
import { createRef as m, ref as g } from "lit/directives/ref.js";
|
|
9
9
|
import { LitElement as z, renderElement as S, safeStyleMap as u, safeClassMap as s } from "@arcgis/lumina";
|
|
10
10
|
import { b as h } from "../../chunks/common.js";
|
|
11
|
-
import {
|
|
11
|
+
import { a5 as I, p as y } from "../../chunks/index3.js";
|
|
12
12
|
import { r as P } from "../../chunks/popover-ui-utils.js";
|
|
13
13
|
import { b as M } from "../../chunks/rest-js-object-literals.js";
|
|
14
14
|
const a = {
|
|
@@ -10,7 +10,7 @@ import { css as _, html as r } from "lit";
|
|
|
10
10
|
import { createRef as h, ref as c } from "lit/directives/ref.js";
|
|
11
11
|
import { LitElement as V, createEvent as x, renderElement as D, safeClassMap as i, safeStyleMap as E } from "@arcgis/lumina";
|
|
12
12
|
import { cA as N } from "../../chunks/index.js";
|
|
13
|
-
import {
|
|
13
|
+
import { ah as R, E as I, r as G } from "../../chunks/index3.js";
|
|
14
14
|
import { b } from "../../chunks/index2.js";
|
|
15
15
|
import { r as T } from "../../chunks/popover-ui-utils.js";
|
|
16
16
|
import { b as P } from "../../chunks/rest-js-object-literals.js";
|
|
@@ -3,7 +3,7 @@ import { c as d } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css as c, html as r } from "lit";
|
|
4
4
|
import { LitElement as h, safeClassMap as s, safeStyleMap as i } from "@arcgis/lumina";
|
|
5
5
|
import { H as a } from "../../chunks/resources.js";
|
|
6
|
-
import {
|
|
6
|
+
import { ai as g, aj as m, w as l, x as p } from "../../chunks/index3.js";
|
|
7
7
|
import { k as f, s as u } from "../../chunks/index2.js";
|
|
8
8
|
const x = c`.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:block;width:auto;height:auto;overflow:auto}.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}.info-modal-container{box-sizing:border-box;width:-webkit-fill-available;height:100%;display:grid;position:absolute;place-items:center;align-content:center;justify-content:center;padding:1rem;text-align:start}.info-modal-container h3.heading-true{display:flex;margin-bottom:auto;background:#0000000d;height:30px;padding:.5rem;justify-self:stretch;text-align:start;align-items:center}.info-modal-container h3.heading-false{background:#0000000d;margin-bottom:auto;text-align:start}.info-modal-container p{justify-self:stretch;text-align:start}.chart-loader-overlay{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;z-index:1001}`;
|
|
9
9
|
class C extends h {
|