@arcgis/charts-components 6.0.0-next.20 → 6.0.0-next.21
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/{7CHIKM2Y.js → 23PFUSK3.js} +1 -1
- package/dist/cdn/{ZY5S677G.js → 2GQTW4NH.js} +1 -1
- package/dist/cdn/{5VCVKGKW.js → 3Q47Q67R.js} +1 -1
- package/dist/cdn/{NSHVMSOK.js → 3RQW57SE.js} +1 -1
- package/dist/cdn/{MIBOTYKP.js → 4GEBMO7W.js} +1 -1
- package/dist/cdn/{ZJKDLNZQ.js → 4V743NL4.js} +1 -1
- package/dist/cdn/{IVX5JR6I.js → 5EAIW2ZK.js} +1 -1
- package/dist/cdn/{ZYH6RLUY.js → 5N5ZQZJO.js} +1 -1
- package/dist/cdn/{SZWXYTUV.js → 6HUXP73R.js} +1 -1
- package/dist/cdn/{QB5X2DNO.js → 6OPPM5V2.js} +1 -1
- package/dist/cdn/{KDVRUUVP.js → 6R62GKMO.js} +1 -1
- package/dist/cdn/{KBUFMYZQ.js → 6ZD3Z5YL.js} +1 -1
- package/dist/cdn/{L5HPMS5V.js → 7GGX5UIB.js} +1 -1
- package/dist/cdn/{73E367AZ.js → 7QBDOZRN.js} +1 -1
- package/dist/cdn/{JWZEPPGG.js → 7UVDQBL4.js} +1 -1
- package/dist/cdn/{MU55JIYV.js → BR46WAT3.js} +1 -1
- package/dist/cdn/{Z6PP7BPU.js → BYG7ZIX2.js} +1 -1
- package/dist/cdn/{L6BGXMMO.js → C2WLLAJA.js} +1 -1
- package/dist/cdn/{W5I5BEM4.js → CLFK7CD2.js} +1 -1
- package/dist/cdn/{2L3CFU7R.js → CLPZTMER.js} +1 -1
- package/dist/cdn/{GFVKVWUY.js → COM3OWDH.js} +1 -1
- package/dist/cdn/{3D6A3FSY.js → D6XAU7NT.js} +1 -1
- package/dist/cdn/{UIZELEJD.js → DET6MJ7X.js} +1 -1
- package/dist/cdn/{23OBJJMY.js → DH2G4KHH.js} +1 -1
- package/dist/cdn/{L5U7LDC3.js → DUYJILM6.js} +1 -1
- package/dist/cdn/{R6MIM2PY.js → DVS6MZT5.js} +1 -1
- package/dist/cdn/{D26USL3R.js → E6ZQGTYB.js} +1 -1
- package/dist/cdn/{QUOBWCF5.js → FKJRQZAC.js} +1 -1
- package/dist/cdn/{57ZRFAP5.js → FNP7YROZ.js} +1 -1
- package/dist/cdn/{F76PZBOK.js → FP2GSJQA.js} +1 -1
- package/dist/cdn/{KKAUA5I4.js → GD5JTE7A.js} +1 -1
- package/dist/cdn/GTLHXKAJ.js +2 -0
- package/dist/cdn/{ANXI7X33.js → GU6VG5TK.js} +1 -1
- package/dist/cdn/{7EH2KTOE.js → H4SA3N6O.js} +1 -1
- package/dist/cdn/{ZCXMHYL5.js → HB4SJQ4W.js} +1 -1
- package/dist/cdn/{KEX2VV73.js → HBCVYIHS.js} +1 -1
- package/dist/cdn/{IYVGK242.js → HECZ3OT6.js} +2 -2
- package/dist/cdn/{MVHLKL7W.js → HEI543JI.js} +1 -1
- package/dist/cdn/{TRTYIA2G.js → HJCXMK5U.js} +1 -1
- package/dist/cdn/{DHXZKTF6.js → IOK2V3P4.js} +3 -3
- package/dist/cdn/{CXZF73UW.js → IQRQDZJC.js} +1 -1
- package/dist/cdn/{JTQIRNPA.js → IUUDE4X5.js} +1 -1
- package/dist/cdn/{CCCVN47Z.js → J4V3WB5U.js} +1 -1
- package/dist/cdn/{QKRQPIDL.js → J5HLHOFF.js} +1 -1
- package/dist/cdn/{5VG5RZKN.js → JANDMZGE.js} +1 -1
- package/dist/cdn/{EBVBQSUD.js → JGXLPTT7.js} +1 -1
- package/dist/cdn/{WO73Q3XE.js → JIT5WKEB.js} +1 -1
- package/dist/cdn/{NXKWU3DD.js → JWZGF724.js} +1 -1
- package/dist/cdn/{ZOZCGOID.js → JXF3DDAB.js} +1 -1
- package/dist/cdn/{B3YDN37X.js → KZ6LW4NP.js} +1 -1
- package/dist/cdn/LRTY76E6.js +2 -0
- package/dist/cdn/{LRZAD7VO.js → LXGEIC5F.js} +1 -1
- package/dist/cdn/{HW5YPNRC.js → LZPKYDMH.js} +1 -1
- package/dist/cdn/{F2AEPQP5.js → MSKHAI5B.js} +1 -1
- package/dist/cdn/{OMMWNI5R.js → NF3BLC5K.js} +1 -1
- package/dist/cdn/{3RMCJLPQ.js → NK2I335H.js} +1 -1
- package/dist/cdn/O7O57T65.js +2 -0
- package/dist/cdn/{X7WYDIZE.js → OM6QKWFE.js} +1 -1
- package/dist/cdn/{EBNM4Q47.js → OMJYE2MJ.js} +1 -1
- package/dist/cdn/{RWTBVIDB.js → OU7UWTYV.js} +1 -1
- package/dist/cdn/{EXFLYGOA.js → PSKIJ3SM.js} +1 -1
- package/dist/cdn/{YOVZ4RVH.js → Q3P2IG23.js} +1 -1
- package/dist/cdn/{6FLJN3FM.js → Q43ORQKU.js} +1 -1
- package/dist/cdn/{YR2TWUVL.js → QBHNXPDC.js} +1 -1
- package/dist/cdn/{DQJZEIEB.js → QITW2GVD.js} +1 -1
- package/dist/cdn/{CQU7SD5I.js → QNEORRGV.js} +1 -1
- package/dist/cdn/{CNQNN4CB.js → QUVP5IS5.js} +1 -1
- package/dist/cdn/{DYWTYNT4.js → QXY7MRR7.js} +1 -1
- package/dist/cdn/{WMLMPR4P.js → QYD2FVPD.js} +1 -1
- package/dist/cdn/{Q2SHE4BB.js → R2THCQP5.js} +1 -1
- package/dist/cdn/{GQFD2BXB.js → R445444W.js} +1 -1
- package/dist/cdn/{B2MNXOZC.js → RE3I2Z2X.js} +1 -1
- package/dist/cdn/{2CNZDYOY.js → ROVVD6IW.js} +1 -1
- package/dist/cdn/{4DBZXMWZ.js → SBCL24E4.js} +1 -1
- package/dist/cdn/{YJW7KSEK.js → SDPOEKHS.js} +1 -1
- package/dist/cdn/{IQE6TEF7.js → SNIJO2GO.js} +1 -1
- package/dist/cdn/{HZSR2TZW.js → SWEUOZRA.js} +1 -1
- package/dist/cdn/{JNFER2G5.js → SX66PI5D.js} +1 -1
- package/dist/cdn/{74J2YHAH.js → TDD6C2FX.js} +1 -1
- package/dist/cdn/{OZNRLDTD.js → TRJRLHIN.js} +1 -1
- package/dist/cdn/{EKWGPT5Y.js → TTW6WNUD.js} +1 -1
- package/dist/cdn/{T35SJEP4.js → TUIIWKKJ.js} +1 -1
- package/dist/cdn/{N3JX6GNR.js → U2JCCPS7.js} +19 -19
- package/dist/cdn/{5FLPMVDG.js → U6Y4QVXC.js} +1 -1
- package/dist/cdn/{VTCPVV2K.js → UYGZNX3E.js} +1 -1
- package/dist/cdn/{U2MXHNZR.js → V3U7CLL3.js} +1 -1
- package/dist/cdn/{BXUTY44W.js → VGOKYLOA.js} +1 -1
- package/dist/cdn/{RDAE2OL3.js → VSYGSI4Q.js} +1 -1
- package/dist/cdn/{Y2FV4AZ4.js → W6ND5MS4.js} +1 -1
- package/dist/cdn/{NWPO6T3D.js → WCQX5APN.js} +1 -1
- package/dist/cdn/{KXU3XKM2.js → WPAN7ZED.js} +1 -1
- package/dist/cdn/{4OC5GZ3M.js → XGBIB7YB.js} +1 -1
- package/dist/cdn/{DO4L5IAM.js → XOXPFTIJ.js} +1 -1
- package/dist/cdn/{N35DJP7H.js → XSZAO4QH.js} +1 -1
- package/dist/cdn/{D7HVHYVY.js → Y6URECIF.js} +1 -1
- package/dist/cdn/{MG4XERCZ.js → YZJKK62F.js} +1 -1
- package/dist/cdn/{XCFAVK6F.js → ZCH46ONB.js} +1 -1
- package/dist/cdn/{N5QBW4DK.js → ZDG7DMVN.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +7 -0
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/box-plot-data.js +38 -38
- package/dist/chunks/box-plot-model.js +16 -16
- package/dist/chunks/chart-model.js +32 -32
- package/dist/chunks/chart-ui-utils.js +3 -3
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +15 -15
- package/dist/chunks/combo-bar-line-chart-model.js +9 -9
- package/dist/chunks/data.js +7 -7
- package/dist/chunks/index.js +237 -233
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/negative-values-stacked-to-baseline.js +5 -5
- package/dist/chunks/pie-chart-model.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 +24 -24
- package/dist/chunks/serial-chart-model.js +10 -10
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/chunks/x-bounds.js +1 -1
- package/dist/components/arcgis-chart/customElement.d.ts +9 -1
- package/dist/components/arcgis-chart/customElement.js +2584 -2569
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +0 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +33 -33
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +0 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/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 +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +20 -20
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +0 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +17 -17
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/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/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +56 -56
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/converter/index.js +46 -46
- package/dist/utils/components/interfaces.d.ts +7 -0
- package/package.json +5 -5
- package/dist/cdn/A5Y7SINJ.js +0 -2
- package/dist/cdn/DBCZ7X7L.js +0 -2
- package/dist/cdn/X2YVJPZF.js +0 -2
- /package/dist/cdn/{L5YQURIU.js → 2PUVZIJ6.js} +0 -0
- /package/dist/cdn/{ABHDMXQ7.js → 33NEGHM6.js} +0 -0
- /package/dist/cdn/{CPBCKPO3.js → 55OFHBXV.js} +0 -0
- /package/dist/cdn/{3RXZGLTX.js → 5OSVKP4N.js} +0 -0
- /package/dist/cdn/{3XO5QWW2.js → 5QLZ66AU.js} +0 -0
- /package/dist/cdn/{2TVBBBFB.js → 5SOADBYD.js} +0 -0
- /package/dist/cdn/{4AA4A62W.js → 5ZZZKI7V.js} +0 -0
- /package/dist/cdn/{4HXGM3VX.js → 6IIBIZJH.js} +0 -0
- /package/dist/cdn/{Q3KUGWEO.js → 6QY2OFUO.js} +0 -0
- /package/dist/cdn/{MMZZZC7O.js → 7AWJIBMG.js} +0 -0
- /package/dist/cdn/{KJ2WKS3E.js → 7N2LSD5J.js} +0 -0
- /package/dist/cdn/{JP7ADCJN.js → A6DV5ILW.js} +0 -0
- /package/dist/cdn/{KZMHSQD6.js → BGHJMVNV.js} +0 -0
- /package/dist/cdn/{PISJX2S5.js → BGVIOGAX.js} +0 -0
- /package/dist/cdn/{LLQZNNEC.js → CYZPIC2B.js} +0 -0
- /package/dist/cdn/{YQPVQLX7.js → CZKZMSFJ.js} +0 -0
- /package/dist/cdn/{VJWRWNXG.js → D66GTKJ7.js} +0 -0
- /package/dist/cdn/{EN4TKBF7.js → DJGQM3EK.js} +0 -0
- /package/dist/cdn/{ZIHB4MW5.js → FOHR4IFG.js} +0 -0
- /package/dist/cdn/{IVMUU655.js → GOVIUHKT.js} +0 -0
- /package/dist/cdn/{UXCVVLXG.js → H44RQIWN.js} +0 -0
- /package/dist/cdn/{6COGNLWU.js → HJUHYEJT.js} +0 -0
- /package/dist/cdn/{IJ4NLEMH.js → HL6ANDJH.js} +0 -0
- /package/dist/cdn/{ZASO3PKX.js → IDVYAUPY.js} +0 -0
- /package/dist/cdn/{PBFYIRZY.js → IQSNWDU6.js} +0 -0
- /package/dist/cdn/{H32ZCMZI.js → JE32QM44.js} +0 -0
- /package/dist/cdn/{VARG4EGS.js → JETTF7E2.js} +0 -0
- /package/dist/cdn/{QGCRMKE5.js → JSOFN65T.js} +0 -0
- /package/dist/cdn/{QJZFHN2U.js → KMZIRJIR.js} +0 -0
- /package/dist/cdn/{3FAXIZDY.js → KQ36C2RK.js} +0 -0
- /package/dist/cdn/{3RJA6GU5.js → M4AD4UJU.js} +0 -0
- /package/dist/cdn/{6YTUMBO6.js → NUH2GAPZ.js} +0 -0
- /package/dist/cdn/{7EO4DMRO.js → OWEVDN6C.js} +0 -0
- /package/dist/cdn/{ST6XSWHI.js → QCFAV626.js} +0 -0
- /package/dist/cdn/{SNAWWD5A.js → QMBHZ5JE.js} +0 -0
- /package/dist/cdn/{WCOMQDTO.js → SWHSL245.js} +0 -0
- /package/dist/cdn/{CFC3MJF7.js → T7LKXFIZ.js} +0 -0
- /package/dist/cdn/{NHKIOS73.js → XQTLPFTW.js} +0 -0
- /package/dist/cdn/{JSIJJIJ2.js → Z5DYKSTK.js} +0 -0
|
@@ -7,6 +7,5 @@ import "@esri/calcite-components/components/calcite-button";
|
|
|
7
7
|
import "@esri/calcite-components/components/calcite-radio-button-group";
|
|
8
8
|
import "@esri/calcite-components/components/calcite-label";
|
|
9
9
|
import "@esri/calcite-components/components/calcite-radio-button";
|
|
10
|
-
import "@esri/calcite-components/components/calcite-fab";
|
|
11
10
|
import "@esri/calcite-components/components/calcite-switch";
|
|
12
11
|
export * from "./customElement.js";
|
|
@@ -13,7 +13,7 @@ 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
15
|
import { J as E, K as S } from "../../chunks/index2.js";
|
|
16
|
-
import { B as z,
|
|
16
|
+
import { B as z, c9 as w, b4 as L, b5 as N, bj as K, c8 as B } from "../../chunks/index.js";
|
|
17
17
|
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 = {
|
|
18
18
|
name: "line-chart-data-popover",
|
|
19
19
|
header: "header",
|
|
@@ -4,7 +4,7 @@ import { isEqual as n, cloneDeep as h } from "es-toolkit/compat";
|
|
|
4
4
|
import { LitElement as C, createEvent as m } from "@arcgis/lumina";
|
|
5
5
|
import { css as y, html as c } from "lit";
|
|
6
6
|
import { C as d } from "../../chunks/interfaces.js";
|
|
7
|
-
import {
|
|
7
|
+
import { ca as I, cb as F, v } from "../../chunks/index.js";
|
|
8
8
|
import { b } from "../../chunks/rest-js-object-literals.js";
|
|
9
9
|
const S = y`: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 L extends C {
|
|
@@ -2,32 +2,32 @@
|
|
|
2
2
|
import { c as p } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
4
4
|
import { P as r } from "../../chunks/interfaces.js";
|
|
5
|
-
import { u
|
|
6
|
-
import { css as
|
|
5
|
+
import { u } from "../../chunks/useT9n.js";
|
|
6
|
+
import { css as C, html as s } from "lit";
|
|
7
7
|
import { createRef as n, ref as c } from "lit/directives/ref.js";
|
|
8
|
-
import { LitElement as b, createEvent as
|
|
8
|
+
import { LitElement as b, createEvent as d, renderElement as v, safeClassMap as o } from "@arcgis/lumina";
|
|
9
9
|
import { x as y } from "../../chunks/data.js";
|
|
10
10
|
import { A as m, B as g, u as F } from "../../chunks/index.js";
|
|
11
|
-
import { r as
|
|
12
|
-
import { d as
|
|
11
|
+
import { r as P } from "../../chunks/popover-ui-utils.js";
|
|
12
|
+
import { d as $ } from "../../chunks/chart-object-literals.js";
|
|
13
13
|
const l = {
|
|
14
14
|
label: "label",
|
|
15
15
|
fieldList: "field-list",
|
|
16
16
|
fab: "fab"
|
|
17
|
-
},
|
|
18
|
-
class
|
|
17
|
+
}, w = 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: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}.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}.fab>calcite-button{--calcite-button-shadow: var(--calcite-shadow-md)}.fab span{white-space:normal;overflow-wrap:anywhere}`;
|
|
18
|
+
class k extends b {
|
|
19
19
|
constructor() {
|
|
20
|
-
super(...arguments), this._messages =
|
|
20
|
+
super(...arguments), this._messages = u(), this.pieChartPopover = null, this.sortOrderElement = n(), this.categoryElement = n(), this.numericFieldsElement = n(), this.onPieChartDataChange = (e) => {
|
|
21
21
|
try {
|
|
22
22
|
if (e.detail !== null && e.detail?.value !== void 0) {
|
|
23
23
|
const { contentKind: i } = e.detail, t = [...e.detail.value];
|
|
24
24
|
switch (i) {
|
|
25
25
|
case r.aggregation:
|
|
26
|
-
this.model.aggregationType = t[0] !==
|
|
26
|
+
this.model.aggregationType = t[0] !== $.NoAggregation ? t[0] : "";
|
|
27
27
|
break;
|
|
28
28
|
case r.category: {
|
|
29
|
-
const a = t[0]?.trim() || "",
|
|
30
|
-
|
|
29
|
+
const a = t[0]?.trim() || "", h = this.model.numericFields;
|
|
30
|
+
h.length > 1 && a !== m && (this.model.numericFields = [h[0]]), this.model.category = a, this.model.colorMatch = !0;
|
|
31
31
|
break;
|
|
32
32
|
}
|
|
33
33
|
case r.numericFields:
|
|
@@ -48,13 +48,13 @@ class E extends b {
|
|
|
48
48
|
this.requestUpdate();
|
|
49
49
|
}, this.popoverClose = (e) => {
|
|
50
50
|
this.pieChartPopover === e?.target && this.removePieChartDataPopover();
|
|
51
|
-
}, this.layerFieldsInfo = [], this.arcgisChartsConfigDataChangeError =
|
|
51
|
+
}, this.layerFieldsInfo = [], this.arcgisChartsConfigDataChangeError = d(), this.arcgisChartsConfigPieChartDataNumericFieldValidate = d();
|
|
52
52
|
}
|
|
53
53
|
static {
|
|
54
54
|
this.properties = { messageOverrides: 0, model: 0, layerFieldsInfo: 0 };
|
|
55
55
|
}
|
|
56
56
|
static {
|
|
57
|
-
this.styles =
|
|
57
|
+
this.styles = w;
|
|
58
58
|
}
|
|
59
59
|
load() {
|
|
60
60
|
this.modelChange(this.model), this.onModelConfigChange();
|
|
@@ -110,7 +110,7 @@ class E extends b {
|
|
|
110
110
|
}) ? "" : g(this.layerFieldsInfo, this.model.category);
|
|
111
111
|
}
|
|
112
112
|
removePieChartDataPopover() {
|
|
113
|
-
this.pieChartPopover !== null && (this.pieChartPopover.open = !1, this.pieChartPopover =
|
|
113
|
+
this.pieChartPopover !== null && (this.pieChartPopover.open = !1, this.pieChartPopover = P(this.pieChartPopover));
|
|
114
114
|
}
|
|
115
115
|
renderSorting() {
|
|
116
116
|
return s`<arcgis-charts-config-field-picker .label=${this._messages[this.model.getDataSortOrder()]} @click=${this.onSortOrderSelect} ${c(this.sortOrderElement)}></arcgis-charts-config-field-picker>`;
|
|
@@ -129,11 +129,11 @@ class E extends b {
|
|
|
129
129
|
const e = this.renderCategory(), i = this.renderSorting(), t = this.renderNumericFields([...this.model.numericFields]);
|
|
130
130
|
return s`<calcite-label class=${o(l.label)}>${this._messages.category}${e}</calcite-label>${[
|
|
131
131
|
s`<calcite-label class=${o(l.label)}>${this._messages.numericFields}${t}</calcite-label>`,
|
|
132
|
-
s`<div class=${o(l.fab)}><calcite-
|
|
132
|
+
s`<div class=${o(l.fab)}><calcite-button appearance=outline-fill kind=neutral scale=m width=auto round icon-start=plus @click=${this.onAddNumericFields}><span>${this._messages.selectNumericFields}</span></calcite-button></div>`
|
|
133
133
|
]}<calcite-label class=${o(l.label)} layout=inline-space-between>${this._messages.showDataLabels}<calcite-switch .checked=${this.model.dataLabelsVisibility} @calciteSwitchChange=${this.onShowDataLabelsChange}></calcite-switch></calcite-label><calcite-label class=${o(l.label)}>${this._messages.sortOrder}${i}</calcite-label>`;
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
p("arcgis-charts-config-pie-chart-data",
|
|
136
|
+
p("arcgis-charts-config-pie-chart-data", k);
|
|
137
137
|
export {
|
|
138
|
-
|
|
138
|
+
k as ArcgisChartsConfigPieChartData
|
|
139
139
|
};
|
|
@@ -3,6 +3,6 @@ import "../arcgis-charts-config-pie-chart-popover/index.js";
|
|
|
3
3
|
import "../arcgis-charts-config-field-picker/index.js";
|
|
4
4
|
import "@esri/calcite-components/components/calcite-list";
|
|
5
5
|
import "@esri/calcite-components/components/calcite-label";
|
|
6
|
-
import "@esri/calcite-components/components/calcite-
|
|
6
|
+
import "@esri/calcite-components/components/calcite-button";
|
|
7
7
|
import "@esri/calcite-components/components/calcite-switch";
|
|
8
8
|
export * from "./customElement.js";
|
|
@@ -11,7 +11,7 @@ import { createRef as C, ref as h } 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
13
|
import { J as D } from "../../chunks/index2.js";
|
|
14
|
-
import { B as x,
|
|
14
|
+
import { B as x, c9 as S, b4 as T } from "../../chunks/index.js";
|
|
15
15
|
import { d as E } from "../../chunks/rest-js-object-literals.js";
|
|
16
16
|
import { a as r } from "../../chunks/common.js";
|
|
17
17
|
const s = {
|
|
@@ -4,9 +4,9 @@ import { isEqual as l } from "es-toolkit/compat";
|
|
|
4
4
|
import { LitElement as n, createEvent as d } from "@arcgis/lumina";
|
|
5
5
|
import { css as c, html as s } from "lit";
|
|
6
6
|
import { C as o } from "../../chunks/interfaces.js";
|
|
7
|
-
import {
|
|
8
|
-
const
|
|
9
|
-
class
|
|
7
|
+
import { ca as h, cb as p, bB as f, l as g, cJ as m, v as u, ba as y } from "../../chunks/index.js";
|
|
8
|
+
const b = 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
|
+
class F extends n {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments), this.onModelConfigChange = async (e) => {
|
|
12
12
|
const t = e?.detail.config ?? this.model.config;
|
|
@@ -17,7 +17,7 @@ class b extends n {
|
|
|
17
17
|
this.properties = { layerFieldsInfo: 16, model: 0, popoverPlacement: 1, r2: 9, calculatedDataMinMaxBounds: 0, calculatedMinMaxBounds: 0, page: 1, layer: 0, view: 0, usePopupTemplateFieldsInfo: 5, popupTemplateFieldInfosEnabled: 5 };
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
20
|
-
this.styles =
|
|
20
|
+
this.styles = b;
|
|
21
21
|
}
|
|
22
22
|
async load() {
|
|
23
23
|
await this.updateFetchLayerFieldsInfo(this.model?.config), this.modelChange(this.model);
|
|
@@ -71,7 +71,7 @@ class b extends n {
|
|
|
71
71
|
return e;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
r("arcgis-charts-config-scatter-plot",
|
|
74
|
+
r("arcgis-charts-config-scatter-plot", F);
|
|
75
75
|
export {
|
|
76
|
-
|
|
76
|
+
F as ArcgisChartsConfigScatterplot
|
|
77
77
|
};
|
|
@@ -4,7 +4,7 @@ import { LitElement as d, createEvent as g, nothing as o } from "@arcgis/lumina"
|
|
|
4
4
|
import { html as m } from "lit";
|
|
5
5
|
import p from "@arcgis/core/widgets/Sketch/SketchViewModel.js";
|
|
6
6
|
import { u as a } from "../../chunks/useT9n.js";
|
|
7
|
-
import {
|
|
7
|
+
import { d0 as r, d1 as n, d2 as t } from "../../chunks/index.js";
|
|
8
8
|
class y extends d {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this._messages = a({ blocking: !0 }), this.commonStrings = a({ name: "common", blocking: !0 }), this.handleAoiToolClick = async (e) => {
|
|
@@ -4,7 +4,7 @@ import { cloneDeep as A, isEmpty as k, toNumber as z } from "es-toolkit/compat";
|
|
|
4
4
|
import { f as n, g as d } from "../../chunks/interfaces.js";
|
|
5
5
|
import { d as M, a as m } from "../../chunks/store.js";
|
|
6
6
|
import { i as v, m as g, U as u, n as L, D as w, s as y } from "../../chunks/chart-ui-utils.js";
|
|
7
|
-
import { l as $, B as b,
|
|
7
|
+
import { l as $, B as b, d3 as _ } from "../../chunks/index.js";
|
|
8
8
|
import { u as I } from "../../chunks/useT9n.js";
|
|
9
9
|
import { css as V, html as r } from "lit";
|
|
10
10
|
import { createRef as h, ref as c } from "lit/directives/ref.js";
|
|
@@ -9,7 +9,7 @@ import { createRef as h, ref as d } from "lit/directives/ref.js";
|
|
|
9
9
|
import { LitElement as S, createEvent as l, safeClassMap as r } from "@arcgis/lumina";
|
|
10
10
|
import { b as m } from "../../chunks/rest-js-object-literals.js";
|
|
11
11
|
import { e as $ } from "../../chunks/popover-ui-utils.js";
|
|
12
|
-
import {
|
|
12
|
+
import { b4 as P, B as b } from "../../chunks/index.js";
|
|
13
13
|
const n = {
|
|
14
14
|
scatterplotPopover: "scatter-plot-popover",
|
|
15
15
|
fillColor: "fill-color",
|
|
@@ -4,7 +4,7 @@ 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
6
|
import { ai as g, aj as m, A as l, B as p } from "../../chunks/index2.js";
|
|
7
|
-
import {
|
|
7
|
+
import { b8 as f, L as u } from "../../chunks/index.js";
|
|
8
8
|
const b = 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 {
|
|
10
10
|
constructor() {
|