@arcgis/charts-components 5.2.0-next.87 → 5.2.0-next.89
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/{UYDDYD3O.js → 255J2IDZ.js} +1 -1
- package/dist/cdn/{5DHMYPPF.js → 2GXJ2BAR.js} +1 -1
- package/dist/cdn/{MNYNXHXE.js → 2PS272XV.js} +1 -1
- package/dist/cdn/{OWYKZMAE.js → 3VGDEPLZ.js} +1 -1
- package/dist/cdn/{7CZMR2WF.js → 4EFLSDWR.js} +1 -1
- package/dist/cdn/{IG43EKA6.js → 4V35YCIC.js} +1 -1
- package/dist/cdn/{C5UI5MYS.js → 54CWBGOT.js} +1 -1
- package/dist/cdn/{CSOYZJU5.js → 5DIUGUTH.js} +1 -1
- package/dist/cdn/{KYOBS7XL.js → 5PVEURDM.js} +1 -1
- package/dist/cdn/{PF6QOHZR.js → 6EWSNVVQ.js} +1 -1
- package/dist/cdn/{QIG7WTJF.js → 6HYAHTR7.js} +1 -1
- package/dist/cdn/{IN2IL6T2.js → 6R75UK7R.js} +1 -1
- package/dist/cdn/{XHSD437D.js → 6RNJLIW7.js} +1 -1
- package/dist/cdn/{6AWJXWDQ.js → 74WIGEYX.js} +1 -1
- package/dist/cdn/{OGGEEHV2.js → 7DCT627N.js} +1 -1
- package/dist/cdn/{TVW2GMA6.js → AEKNZ5HX.js} +1 -1
- package/dist/cdn/{7ZAT46VE.js → AF2VHZ3K.js} +1 -1
- package/dist/cdn/AO3CHQZX.js +3 -0
- package/dist/cdn/{U7GQGHZY.js → APBHRWO7.js} +1 -1
- package/dist/cdn/{PK7GYSIR.js → B3J7GR64.js} +1 -1
- package/dist/cdn/{S2HIF3ZX.js → B6EQRXIO.js} +1 -1
- package/dist/cdn/BJ2GQUQQ.js +2 -0
- package/dist/cdn/{R3XOXHKQ.js → BO3LKAOY.js} +1 -1
- package/dist/cdn/{3H3PFQTD.js → CCUAQ7BS.js} +1 -1
- package/dist/cdn/{DV7I4E5D.js → CD35AZCK.js} +1 -1
- package/dist/cdn/{OADNRXFH.js → CGHKRNJC.js} +1 -1
- package/dist/cdn/{APU26Y2Z.js → CM4FOO3G.js} +1 -1
- package/dist/cdn/{WC22SRVJ.js → E4L772I2.js} +1 -1
- package/dist/cdn/{TMLVMG4C.js → EJAZNU6L.js} +1 -1
- package/dist/cdn/{CXWBQG5O.js → ENVLWI5H.js} +1 -1
- package/dist/cdn/{BV7UUWYI.js → ER6XIB34.js} +1 -1
- package/dist/cdn/{EMOHROY3.js → EZIHNH4L.js} +1 -1
- package/dist/cdn/{AWN3K3IH.js → FHYZ5QCJ.js} +1 -1
- package/dist/cdn/{3YPGCLG4.js → G4VATGUV.js} +1 -1
- package/dist/cdn/{52NR6B2J.js → GF5RCT7U.js} +1 -1
- package/dist/cdn/{KAQ5XSCQ.js → GT6SCH3C.js} +1 -1
- package/dist/cdn/{EHYBMIDH.js → HJ2PHQD5.js} +1 -1
- package/dist/cdn/{3N6RFNEA.js → I7NNKTPZ.js} +1 -1
- package/dist/cdn/{QXQC4CH5.js → IDH345JS.js} +1 -1
- package/dist/cdn/{QJFHIO72.js → IP46DLF6.js} +1 -1
- package/dist/cdn/{6SQNRMJG.js → IPKYTV7V.js} +1 -1
- package/dist/cdn/{ACMHG3RB.js → IWY3WAPJ.js} +1 -1
- package/dist/cdn/J47KRLNI.js +2 -0
- package/dist/cdn/{SILDOKXS.js → JW662K55.js} +1 -1
- package/dist/cdn/{T6OTQUMI.js → K3ZRQQD7.js} +1 -1
- package/dist/cdn/{HQ2JPCTQ.js → KLWPXDAD.js} +1 -1
- package/dist/cdn/{PTGBFACY.js → L452VJW3.js} +24 -24
- package/dist/cdn/{SC26LLWP.js → LF4LYD3D.js} +1 -1
- package/dist/cdn/{R6RFH2KK.js → LJRP7HPA.js} +2 -2
- package/dist/cdn/{XQRGIPLK.js → LMT3CJIW.js} +1 -1
- package/dist/cdn/{OYXDCECZ.js → LODICMAM.js} +1 -1
- package/dist/cdn/LPZD4ZKK.js +2 -0
- package/dist/cdn/{PDHWZPY5.js → LXKZKLGE.js} +1 -1
- package/dist/cdn/{HX4HUXZP.js → M5QTOCZ2.js} +1 -1
- package/dist/cdn/{GZEVPH4Y.js → MEOVOANP.js} +1 -1
- package/dist/cdn/{DKC4NIUA.js → MHQYPRTN.js} +1 -1
- package/dist/cdn/{F3LVXDV4.js → NBZGC5RR.js} +1 -1
- package/dist/cdn/{RCAPTQFV.js → NEDOBJNH.js} +1 -1
- package/dist/cdn/{3AYNHY7J.js → O6Y5E725.js} +1 -1
- package/dist/cdn/{LYSF2KY5.js → OEB4JHC5.js} +1 -1
- package/dist/cdn/{C7F4AVQU.js → OX6VTXSJ.js} +1 -1
- package/dist/cdn/{FBU4ODQE.js → PG5R4NDA.js} +1 -1
- package/dist/cdn/{OMORDJT2.js → POK4XAOI.js} +1 -1
- package/dist/cdn/{MITW5XKW.js → QQBBCUQ3.js} +1 -1
- package/dist/cdn/{32KKW2IG.js → QYAEDUSX.js} +1 -1
- package/dist/cdn/{2Y4OUUMJ.js → RIQLLNP5.js} +1 -1
- package/dist/cdn/{UOL7KBJK.js → RMRXMLPD.js} +1 -1
- package/dist/cdn/{ZG3WNUBC.js → RPWGXKU5.js} +1 -1
- package/dist/cdn/{VSPKBQS6.js → SHUVH6EE.js} +1 -1
- package/dist/cdn/{XBRRJQVR.js → SMR2VM6B.js} +1 -1
- package/dist/cdn/{5NGIGJYR.js → T6DZBPJC.js} +1 -1
- package/dist/cdn/{N634G5MT.js → TFA6LCYF.js} +1 -1
- package/dist/cdn/{DNHE5ZCA.js → TXFV35UH.js} +1 -1
- package/dist/cdn/{3ZF4RSY4.js → URJ4RY65.js} +1 -1
- package/dist/cdn/{HDIBDW52.js → VVLHQONN.js} +1 -1
- package/dist/cdn/WOGALV3T.js +2 -0
- package/dist/cdn/{FF46DEA7.js → WSHAUD65.js} +1 -1
- package/dist/cdn/{5LKJE2PR.js → WSL3KIDE.js} +1 -1
- package/dist/cdn/{I3BMYY7N.js → X45ACF6H.js} +1 -1
- package/dist/cdn/{AL6VZ6UZ.js → XF6T5ABY.js} +1 -1
- package/dist/cdn/{KE4AIHA7.js → YD4TDPP5.js} +1 -1
- package/dist/cdn/{LM6VCILT.js → YEZO2L2D.js} +1 -1
- package/dist/cdn/ZNTX5IKT.js +2 -0
- 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 +2 -2
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-model.js +12 -3
- package/dist/chunks/chart-ui-utils.js +11 -11
- package/dist/chunks/class-breaks.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +10 -10
- package/dist/chunks/data.js +17 -17
- package/dist/chunks/index.js +1365 -1348
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/rounded-corners.js +3 -3
- package/dist/chunks/scatterplot-model.js +9 -9
- package/dist/chunks/serial-chart-data.js +33 -33
- package/dist/chunks/serial-chart-model.js +15 -15
- package/dist/chunks/type-guards.js +54 -32
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/web-component-utils.js +19 -19
- package/dist/chunks/x-bounds.js +13 -13
- package/dist/components/arcgis-chart/customElement.d.ts +2 -2
- package/dist/components/arcgis-chart/customElement.js +2248 -2242
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/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 +64 -64
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- 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.d.ts +1 -1
- package/dist/index.js +238 -235
- package/dist/interfaces.d.ts +48 -3
- package/dist/model/interfaces/chart-interfaces.d.ts +2 -2
- package/dist/model/shared/setup-utils.d.ts +3 -3
- package/dist/utils/chart-config/converter/index.js +14 -14
- package/dist/utils/layer/query-parser/index.d.ts +3 -3
- package/dist/utils/layer/utils/index.d.ts +22 -5
- package/package.json +5 -5
- package/dist/cdn/2BA2QD2A.js +0 -3
- package/dist/cdn/5EU4GHSG.js +0 -2
- package/dist/cdn/7U6OEWTI.js +0 -2
- package/dist/cdn/BGOWDCTO.js +0 -2
- package/dist/cdn/VNWPA5A2.js +0 -2
- package/dist/cdn/XVCBLLWW.js +0 -2
- /package/dist/cdn/{P7FI5QUW.js → 3ZNZH5XV.js} +0 -0
- /package/dist/cdn/{LXZXXY7V.js → 4EWMZYXM.js} +0 -0
- /package/dist/cdn/{C2ZX67U4.js → 4JBUJYUG.js} +0 -0
- /package/dist/cdn/{TOCBEPNS.js → 5JV6PU34.js} +0 -0
- /package/dist/cdn/{NWQ2L7IJ.js → AI2WUG3K.js} +0 -0
- /package/dist/cdn/{TJ2NRLF6.js → AKEVK6VK.js} +0 -0
- /package/dist/cdn/{KTYFDFMQ.js → B4HOQOHS.js} +0 -0
- /package/dist/cdn/{A2KSCV2I.js → BG4CYK7C.js} +0 -0
- /package/dist/cdn/{OMU647X3.js → C6UUBWI2.js} +0 -0
- /package/dist/cdn/{RMIIDRGC.js → CHHARRJP.js} +0 -0
- /package/dist/cdn/{AF2GUPVE.js → D3ZXHZRV.js} +0 -0
- /package/dist/cdn/{SVLOD3HQ.js → DF2SKHUD.js} +0 -0
- /package/dist/cdn/{EQTI5Z4G.js → E45CPXW6.js} +0 -0
- /package/dist/cdn/{RHUEVXMR.js → ESBQKSZF.js} +0 -0
- /package/dist/cdn/{FFJTVPE4.js → FPM6WDQ4.js} +0 -0
- /package/dist/cdn/{3FFCWEMV.js → FXBSBXWY.js} +0 -0
- /package/dist/cdn/{BWR5ONE2.js → G7W2RL4I.js} +0 -0
- /package/dist/cdn/{ZVOX72AF.js → HPNWQANQ.js} +0 -0
- /package/dist/cdn/{Z5EJIWAY.js → HVWOLFLT.js} +0 -0
- /package/dist/cdn/{R5LIRRMK.js → IBLGAXGT.js} +0 -0
- /package/dist/cdn/{HABS63VB.js → IC7XUYKD.js} +0 -0
- /package/dist/cdn/{26DDVOQ7.js → IUZFB3JE.js} +0 -0
- /package/dist/cdn/{AS3QP77N.js → KIIS7OLN.js} +0 -0
- /package/dist/cdn/{Q466K37N.js → LCRLYOX6.js} +0 -0
- /package/dist/cdn/{6AXYQGBN.js → MCWIIGOW.js} +0 -0
- /package/dist/cdn/{S4NQCINT.js → MW6VSJEF.js} +0 -0
- /package/dist/cdn/{PZP57FJ2.js → PSQDO4QK.js} +0 -0
- /package/dist/cdn/{NNHJ75EA.js → PWSEK3XV.js} +0 -0
- /package/dist/cdn/{XR4O3AQ6.js → QOQ5QNZV.js} +0 -0
- /package/dist/cdn/{JUFBIV44.js → SLQPIX6X.js} +0 -0
- /package/dist/cdn/{PCFEAGXP.js → SZXVQMQV.js} +0 -0
- /package/dist/cdn/{ZARYZFJ4.js → TVKP2GAI.js} +0 -0
- /package/dist/cdn/{J3BB5KXD.js → VQLXOQMY.js} +0 -0
- /package/dist/cdn/{DDNOUE2T.js → WJY4AWHX.js} +0 -0
- /package/dist/cdn/{B5Z7FBO7.js → WNDLNCF7.js} +0 -0
- /package/dist/cdn/{6U6VAS2O.js → YNED6356.js} +0 -0
- /package/dist/cdn/{B7J5YIWF.js → YZCWFNPW.js} +0 -0
- /package/dist/cdn/{OXPXA3PS.js → ZEQF2W7Y.js} +0 -0
- /package/dist/cdn/{H2DUFQAG.js → ZYK4DWCN.js} +0 -0
|
@@ -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 c } from "lodash-es";
|
|
6
6
|
import { C as t } from "../../chunks/interfaces.js";
|
|
7
|
-
import { i as d, ap as p,
|
|
7
|
+
import { i as d, ap as p, bD as u, bE as C, bc as y, t as F, aP 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() {
|
|
@@ -12,7 +12,7 @@ import { createRef as c, ref as m } from "lit/directives/ref.js";
|
|
|
12
12
|
import { LitElement as U, createEvent as b, safeClassMap as l, renderElement as V } from "@arcgis/lumina";
|
|
13
13
|
import { b as S, o as z, C as M, a as F, p as R } from "../../chunks/index2.js";
|
|
14
14
|
import { x as K } from "../../chunks/data.js";
|
|
15
|
-
import { r as B,
|
|
15
|
+
import { r as B, bB as j, p as A, aP as H } from "../../chunks/index.js";
|
|
16
16
|
import { H as q, I as W } from "../../chunks/index3.js";
|
|
17
17
|
import { r as Z } from "../../chunks/popover-ui-utils.js";
|
|
18
18
|
import { d, e as x, a as C, h as v } from "../../chunks/chart-object-literals.js";
|
|
@@ -15,7 +15,7 @@ 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
17
|
import { H as K, I as _ } from "../../chunks/index3.js";
|
|
18
|
-
import { D as O,
|
|
18
|
+
import { D as O, bC as P, aP as H, aW as M, aO 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",
|
|
@@ -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 "lodash-es";
|
|
6
6
|
import { C as a } from "../../chunks/interfaces.js";
|
|
7
|
-
import {
|
|
7
|
+
import { bD as d, bE 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 { bC as b, aO 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 = {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { repeat as
|
|
4
|
-
import { keyed as
|
|
5
|
-
import { createModel as
|
|
6
|
-
import { d as
|
|
7
|
-
import { i as
|
|
8
|
-
import { substitute as
|
|
2
|
+
import { c as N } from "../../chunks/runtime.js";
|
|
3
|
+
import { repeat as V } from "lit/directives/repeat.js";
|
|
4
|
+
import { keyed as S } from "lit/directives/keyed.js";
|
|
5
|
+
import { createModel as _ } from "../../model/shared/setup-utils.js";
|
|
6
|
+
import { d as $, c as U, h as R, g as x, j as T, k as z } from "../../chunks/type-guards2.js";
|
|
7
|
+
import { i as H } from "../../chunks/rotated-state.js";
|
|
8
|
+
import { substitute as O } from "@arcgis/core/intl.js";
|
|
9
9
|
import { C as c } from "../../chunks/interfaces.js";
|
|
10
|
-
import { isEqual as
|
|
11
|
-
import { i as
|
|
12
|
-
import { q as
|
|
13
|
-
import { LitElement as
|
|
14
|
-
import { css as
|
|
15
|
-
import { createRef as
|
|
16
|
-
import { u as
|
|
17
|
-
import { c as
|
|
18
|
-
import {
|
|
19
|
-
import { A as
|
|
20
|
-
import { h as
|
|
21
|
-
import { a as
|
|
10
|
+
import { isEqual as D, cloneDeep as W } from "lodash-es";
|
|
11
|
+
import { i as k } from "../../chunks/index4.js";
|
|
12
|
+
import { q as F, r as E, C as G } from "../../chunks/index2.js";
|
|
13
|
+
import { LitElement as X, createEvent as f, renderElement as v, safeStyleMap as Z, safeClassMap as d } from "@arcgis/lumina";
|
|
14
|
+
import { css as j, html as h } from "lit";
|
|
15
|
+
import { createRef as q, ref as K } from "lit/directives/ref.js";
|
|
16
|
+
import { u as I } from "../../chunks/useT9n.js";
|
|
17
|
+
import { c as Y, a as M, g as Q } from "../../chunks/store.js";
|
|
18
|
+
import { bF as J, ah as ee, bG as te, bH as ae, bI as ie } from "../../chunks/index.js";
|
|
19
|
+
import { A as se } from "../../chunks/axis-model-wrapper.js";
|
|
20
|
+
import { h as re, f as y } from "../../chunks/web-component-utils.js";
|
|
21
|
+
import { a as oe } from "../../chunks/chart-ui-utils.js";
|
|
22
22
|
import { C as b } from "../../chunks/index5.js";
|
|
23
|
-
import { g as
|
|
24
|
-
import { i as
|
|
23
|
+
import { g as L } from "../../chunks/chart-ui-utils2.js";
|
|
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";
|
|
26
26
|
import { a as o, e as ne } from "../../chunks/chart-object-literals.js";
|
|
27
27
|
const m = {
|
|
@@ -29,7 +29,7 @@ const m = {
|
|
|
29
29
|
tabBar: "tab-bar",
|
|
30
30
|
tab: "tab"
|
|
31
31
|
};
|
|
32
|
-
function
|
|
32
|
+
function w(p, e) {
|
|
33
33
|
const t = /* @__PURE__ */ new Set();
|
|
34
34
|
let a = e;
|
|
35
35
|
return p?.forEach((i, s) => {
|
|
@@ -38,7 +38,7 @@ function B(p, e) {
|
|
|
38
38
|
}), a;
|
|
39
39
|
}
|
|
40
40
|
function ce(p, e, t) {
|
|
41
|
-
return p?.filter((a) =>
|
|
41
|
+
return p?.filter((a) => E(t, a.config) && a.layer?.id === e) ?? [];
|
|
42
42
|
}
|
|
43
43
|
function he(p) {
|
|
44
44
|
const { modelList: e, layerList: t, activeLayerId: a, disableEditing: i } = p, s = /* @__PURE__ */ new Map();
|
|
@@ -50,16 +50,16 @@ function he(p) {
|
|
|
50
50
|
function de(p, e) {
|
|
51
51
|
p.forEach((t) => {
|
|
52
52
|
e.forEach((a) => {
|
|
53
|
-
t?.id === a.layer?.id &&
|
|
53
|
+
t?.id === a.layer?.id && A(t, a);
|
|
54
54
|
});
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function A(p, e) {
|
|
58
58
|
const t = p;
|
|
59
59
|
if (t) {
|
|
60
60
|
const a = [...t?.charts ?? []], i = a?.findIndex((r) => r.id === e.chartId);
|
|
61
61
|
let s = !1;
|
|
62
|
-
i !== void 0 && i > -1 ? (s = !
|
|
62
|
+
i !== void 0 && i > -1 ? (s = !D(a[i], e.config), a[i] = e.config) : t && !k(e.config) && (s = !0, a.push(e.config)), s && (t.charts = a);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
function me(p, e) {
|
|
@@ -73,17 +73,17 @@ function pe(p, e) {
|
|
|
73
73
|
const t = p;
|
|
74
74
|
if (t) {
|
|
75
75
|
let a = [...t.charts ?? []];
|
|
76
|
-
a =
|
|
76
|
+
a = F({
|
|
77
77
|
arrayA: a,
|
|
78
78
|
arrayB: e.map((i) => i.config),
|
|
79
79
|
getKey: (i) => i.id ?? i.title?.content.text ?? ""
|
|
80
80
|
}), t.charts = a;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
const ue =
|
|
84
|
-
class ge extends
|
|
83
|
+
const ue = j`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;height:inherit;max-height:100%}.chart-ui-component{overflow-y:auto;overflow-x:hidden}.label{display:flex;margin-left:1rem;margin-bottom:.5rem;justify-content:space-between}.text{display:flex;margin-left:1rem;width:calc(100% - 1.5rem);height:2rem;margin-bottom:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:scroll}.row{padding:.5rem}.bin-count-container{display:flex;width:calc(100% - 1rem);padding:.5rem}.bin-count-slider{margin-left:1rem;width:calc(90% - 1rem)}.bin-count-input{margin-left:1rem;height:2rem;width:2rem}.bin-row{padding:.5rem 0 .5rem .5rem}.tab-bar{display:flex}.tab{flex:1;height:2.5rem}`;
|
|
84
|
+
class ge extends X {
|
|
85
85
|
constructor() {
|
|
86
|
-
super(), this.selectChartTypePopover = null, this.chartsListFlowItem =
|
|
86
|
+
super(), this.selectChartTypePopover = null, this.chartsListFlowItem = q(), this.supportedChartTypes = [
|
|
87
87
|
o.BarSeries,
|
|
88
88
|
o.BoxPlotSeries,
|
|
89
89
|
o.LineSeries,
|
|
@@ -91,12 +91,12 @@ class ge extends G {
|
|
|
91
91
|
o.HistogramSeries,
|
|
92
92
|
o.ScatterSeries,
|
|
93
93
|
o.HeatSeries
|
|
94
|
-
], this._messages =
|
|
94
|
+
], this._messages = I(), this.commonStrings = I({ name: "common", blocking: !0 }), this.chartDataProcessComplete = async (e) => {
|
|
95
95
|
const t = e, { chartData: a, model: i } = t.detail, s = this.getModel(this.selectedChartId);
|
|
96
96
|
if (i?.isSameChartAs(s))
|
|
97
97
|
switch (s?.chartType) {
|
|
98
98
|
case o.HistogramSeries:
|
|
99
|
-
if (this.chartData = a, i && (i.dataStore.chartData = a,
|
|
99
|
+
if (this.chartData = a, i && (i.dataStore.chartData = a, P(i.layer))) {
|
|
100
100
|
const n = i, l = a?.bins?.length;
|
|
101
101
|
l !== void 0 && n.binCount !== l && (n.binCount = l);
|
|
102
102
|
}
|
|
@@ -108,13 +108,13 @@ class ge extends G {
|
|
|
108
108
|
case o.ScatterSeries: {
|
|
109
109
|
const n = a, { dataItems: l, r2: g, aggregated: u } = n;
|
|
110
110
|
let C = g;
|
|
111
|
-
Number.isFinite(g) || (C = void 0), this.r2 = C,
|
|
111
|
+
Number.isFinite(g) || (C = void 0), this.r2 = C, R(i) && (i.dataStore.r2 = C, i.dataStore.aggregated = u, u && (i.additionalTooltipField = void 0)), this.calculatedDataMinMaxBounds = this.getDataExtent(l), i && (i.dataStore.calculatedDataMinMaxBounds = this.calculatedDataMinMaxBounds);
|
|
112
112
|
break;
|
|
113
113
|
}
|
|
114
114
|
case o.LineSeries:
|
|
115
115
|
case o.BarSeries: {
|
|
116
116
|
const { dataItems: n, timeIntervalInfo: l } = a;
|
|
117
|
-
(
|
|
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(M, { size: l.size, unit: l.unit })), this.calculatedDataMinMaxBounds = this.getDataExtent(n), i && (i.dataStore.calculatedDataMinMaxBounds = this.calculatedDataMinMaxBounds);
|
|
118
118
|
break;
|
|
119
119
|
}
|
|
120
120
|
}
|
|
@@ -156,18 +156,18 @@ class ge extends G {
|
|
|
156
156
|
if (r)
|
|
157
157
|
switch (a) {
|
|
158
158
|
case "rotation":
|
|
159
|
-
typeof i == "boolean" &&
|
|
159
|
+
typeof i == "boolean" && H(r) && (r.rotated = i);
|
|
160
160
|
break;
|
|
161
161
|
case "legendPosition":
|
|
162
|
-
typeof i == "string" &&
|
|
162
|
+
typeof i == "string" && x(r) && (r.legendPosition = i);
|
|
163
163
|
break;
|
|
164
164
|
case "legendVisibility":
|
|
165
|
-
typeof i == "boolean" &&
|
|
165
|
+
typeof i == "boolean" && x(r) && (r.legendVisibility = i);
|
|
166
166
|
break;
|
|
167
167
|
}
|
|
168
168
|
}, this.chartLegendItemVisibilityChange = (e) => {
|
|
169
169
|
const t = e, { legendItemVisibility: a, model: i } = t.detail, s = this.modelList.find((r) => i?.isSameChartAs(r));
|
|
170
|
-
s?.setSeriesVisibility(a),
|
|
170
|
+
s?.setSeriesVisibility(a), T(s) && ((s.getMinBound(1) === null || Number.isNaN(s.getMinBound(1))) && s.setMinBound(null, 1), (s.getMaxBound(1) === null || Number.isNaN(s.getMaxBound(1))) && s.setMaxBound(null, 1), $(s) && ((s.getMinBound(0) === null || Number.isNaN(s.getMinBound(0))) && s.setMinBound(null, 0), (s.getMaxBound(0) === null || Number.isNaN(s.getMaxBound(0))) && s.setMaxBound(null, 0)));
|
|
171
171
|
}, this.onSelectChartTypeChange = (e) => {
|
|
172
172
|
this.currentChartTypeText = "", this.calculatedDataMinMaxBounds = void 0, this.calculatedMinMaxBounds = void 0, this.removeSelectChartTypePopover();
|
|
173
173
|
const { selectedModelType: t, layerId: a } = e.target;
|
|
@@ -181,13 +181,13 @@ class ge extends G {
|
|
|
181
181
|
}, this.onModelConfigChange = (e) => {
|
|
182
182
|
if (this.syncChartsToLayers && this.allowChartSyncing) {
|
|
183
183
|
const t = e.target;
|
|
184
|
-
|
|
184
|
+
A(t?.layer, t);
|
|
185
185
|
}
|
|
186
186
|
this.requestUpdate();
|
|
187
187
|
}, this.allowChartSyncing = !1, this.currentChartTypeText = "", this.modelList = [], this.layerList = [], this.disableEditing = !1, this.syncChartsToLayers = !1, this.close = !1, this.usePopupTemplateFieldsInfo = !1, this.panelNumber = 0, this.filterBySelection = !1, this.arcgisChartsConfigChartViewChartClose = f(), this.arcgisChartsConfigModelListChange = f(), this.arcgisChartsConfigNewChart = f(), this.arcgisChartsConfigPanelNumberChange = f(), this.arcgisChartsConfigSelectedChartChange = f(), this.addChartEventListeners(), this.listen("arcgisChartsConfigModelListReorder", this.modelListReorderChangeListener);
|
|
188
188
|
}
|
|
189
189
|
static {
|
|
190
|
-
this.properties = { selectedPanel: 16, currentChartTypeText: 16, messageOverrides: 0, modelList: [0, { hasChanged: y }], layerList: [0, { hasChanged: y }], selectedChartId: 1, activeLayerId: 1, disableEditing: 5, syncChartsToLayers: 5, timeZone: 1, headerTitle: 1, close: 5, chartData: [0, { hasChanged: y }], r2: 9, calculatedDataMinMaxBounds: [0, { hasChanged: y }], calculatedMinMaxBounds: [0, { hasChanged: y }], seriesColor: [0, { hasChanged:
|
|
190
|
+
this.properties = { selectedPanel: 16, currentChartTypeText: 16, messageOverrides: 0, modelList: [0, { hasChanged: y }], layerList: [0, { hasChanged: y }], selectedChartId: 1, activeLayerId: 1, disableEditing: 5, syncChartsToLayers: 5, timeZone: 1, headerTitle: 1, close: 5, chartData: [0, { hasChanged: y }], r2: 9, calculatedDataMinMaxBounds: [0, { hasChanged: y }], calculatedMinMaxBounds: [0, { hasChanged: y }], seriesColor: [0, { hasChanged: re }], popoverPlacement: 1, usePopupTemplateFieldsInfo: 5, popupTemplateFieldInfosEnabled: 5, panelNumber: 9, filterBySelection: 5 };
|
|
191
191
|
}
|
|
192
192
|
static {
|
|
193
193
|
this.styles = ue;
|
|
@@ -208,7 +208,7 @@ class ge extends G {
|
|
|
208
208
|
}
|
|
209
209
|
applyNullCategorySeriesColor(e) {
|
|
210
210
|
const { colorMatchApplied: t, data: a, model: i } = e;
|
|
211
|
-
|
|
211
|
+
z(i) && i.nullCategory === void 0 && (i.nullCategory = this.getDefaultNullCategory(t ? this.getSeriesColor(a) : void 0));
|
|
212
212
|
}
|
|
213
213
|
getSeriesColor(e) {
|
|
214
214
|
const t = e.get(0);
|
|
@@ -216,12 +216,12 @@ class ge extends G {
|
|
|
216
216
|
return t && "color" in t ? a = t.color : t && "lineSymbol" in t && (a = t.markerSymbol?.color ?? t.lineSymbol.color), a;
|
|
217
217
|
}
|
|
218
218
|
getDefaultNullCategory(e) {
|
|
219
|
-
const t =
|
|
219
|
+
const t = W(G.nullCategory);
|
|
220
220
|
return e !== void 0 && (t.fillSymbol && (t.fillSymbol.color = e, t.fillSymbol.outline && (t.fillSymbol.outline.color = e)), t.markerSymbol && (t.markerSymbol.color = e, t.markerSymbol.outline && (t.markerSymbol.outline.color = e))), t;
|
|
221
221
|
}
|
|
222
222
|
modelListReorderChangeListener(e) {
|
|
223
223
|
const { modelList: t } = e.detail;
|
|
224
|
-
if (this.modelList =
|
|
224
|
+
if (this.modelList = F({
|
|
225
225
|
arrayA: this.modelList,
|
|
226
226
|
arrayB: t,
|
|
227
227
|
getKey: (a) => a.chartId ?? a.titleText ?? ""
|
|
@@ -245,7 +245,7 @@ class ge extends G {
|
|
|
245
245
|
}
|
|
246
246
|
const r = i.charts;
|
|
247
247
|
for (const n of r ?? []) {
|
|
248
|
-
const l = await
|
|
248
|
+
const l = await _({
|
|
249
249
|
layer: i,
|
|
250
250
|
config: n,
|
|
251
251
|
commonStrings: this.commonStrings
|
|
@@ -253,18 +253,18 @@ class ge extends G {
|
|
|
253
253
|
l !== void 0 && e.push(l);
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
|
-
|
|
256
|
+
w(e), e.forEach((i) => {
|
|
257
257
|
a.find((r) => r.isSameChartAs(i)) === void 0 && a.push(i);
|
|
258
|
-
}), a = a.filter((i) => !
|
|
258
|
+
}), a = a.filter((i) => !J(i.config)), this.modelList = a;
|
|
259
259
|
}
|
|
260
260
|
modelListChange(e, t) {
|
|
261
|
-
this.selectedChartId =
|
|
261
|
+
this.selectedChartId = w(e, this.selectedChartId), t?.forEach((i) => {
|
|
262
262
|
i.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
263
263
|
}), e.forEach((i) => {
|
|
264
264
|
i.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
265
265
|
});
|
|
266
266
|
const a = this.getModel(this.selectedChartId);
|
|
267
|
-
this.currentChartTypeText = a?.chartType !== void 0 ?
|
|
267
|
+
this.currentChartTypeText = a?.chartType !== void 0 ? L({
|
|
268
268
|
chartType: a.chartType,
|
|
269
269
|
commonStrings: this.commonStrings,
|
|
270
270
|
config: a.config
|
|
@@ -273,7 +273,7 @@ class ge extends G {
|
|
|
273
273
|
selectedChartIdChange(e) {
|
|
274
274
|
this.selectedChartId === void 0 && (this.panelNumber = 0), this.selectedPanel = c.Data;
|
|
275
275
|
const t = this.getModel(e);
|
|
276
|
-
this.setEventBasedPropsFromModelData(t), this.currentChartTypeText = t?.chartType !== void 0 ?
|
|
276
|
+
this.setEventBasedPropsFromModelData(t), this.currentChartTypeText = t?.chartType !== void 0 ? L({
|
|
277
277
|
chartType: t.chartType,
|
|
278
278
|
commonStrings: this.commonStrings,
|
|
279
279
|
config: t.config
|
|
@@ -292,7 +292,7 @@ class ge extends G {
|
|
|
292
292
|
const t = this.getModel(this.selectedChartId)?.config;
|
|
293
293
|
let a = [];
|
|
294
294
|
if (t !== void 0 && e !== void 0) {
|
|
295
|
-
const i =
|
|
295
|
+
const i = ee({
|
|
296
296
|
chartConfig: t,
|
|
297
297
|
chartData: e
|
|
298
298
|
}), { minY: s, maxY: r, minX: n, maxX: l } = i;
|
|
@@ -306,8 +306,8 @@ class ge extends G {
|
|
|
306
306
|
updateAxesBoundsInAppState(e) {
|
|
307
307
|
e?.forEach((t) => {
|
|
308
308
|
const { isXAxis: a, maximum: i, minimum: s } = t, r = this.getModel(this.selectedChartId);
|
|
309
|
-
if (r !== void 0 &&
|
|
310
|
-
const n = new
|
|
309
|
+
if (r !== void 0 && T(r) && this.selectedChartId !== void 0) {
|
|
310
|
+
const n = new se(r, a), l = Q({
|
|
311
311
|
chartId: this.selectedChartId,
|
|
312
312
|
isXAxis: a,
|
|
313
313
|
isLogarithmic: n.getLogarithmic()
|
|
@@ -319,13 +319,13 @@ class ge extends G {
|
|
|
319
319
|
defaultMaxBound: u?.defaultMaxBound === u?.currMaxBound ? i : u?.defaultMaxBound,
|
|
320
320
|
currMaxBound: i
|
|
321
321
|
};
|
|
322
|
-
!
|
|
322
|
+
!D(u, C) && this.selectedChartId !== void 0 && g?.[this.selectedChartId] !== void 0 && (g[this.selectedChartId][l] = C);
|
|
323
323
|
}
|
|
324
324
|
});
|
|
325
325
|
}
|
|
326
326
|
getPlacement() {
|
|
327
327
|
let e;
|
|
328
|
-
return this.popoverPlacement !== void 0 ? e = this.popoverPlacement : e = this.modelList?.filter((i) =>
|
|
328
|
+
return this.popoverPlacement !== void 0 ? e = this.popoverPlacement : e = this.modelList?.filter((i) => E(te, i.config)).length <= 2 ? "bottom" : "top", e;
|
|
329
329
|
}
|
|
330
330
|
onBackFlow() {
|
|
331
331
|
this.panelNumber -= 1;
|
|
@@ -333,15 +333,15 @@ class ge extends G {
|
|
|
333
333
|
async onAddChartClick(e) {
|
|
334
334
|
const { referenceElement: t, layerId: a, layerType: i } = e.detail;
|
|
335
335
|
let s = !0;
|
|
336
|
-
if (
|
|
336
|
+
if (B(i) && a) {
|
|
337
337
|
const r = this.layerList.find((n) => n.id === a);
|
|
338
|
-
|
|
338
|
+
P(r) && (s = !!(await ae(r))?.attributeTable);
|
|
339
339
|
}
|
|
340
340
|
this.setupSelectChartTypePopover(t, a, i, s);
|
|
341
341
|
}
|
|
342
342
|
setupSelectChartTypePopover(e, t, a, i = !0) {
|
|
343
343
|
const s = this.getPlacement();
|
|
344
|
-
this.removeSelectChartTypePopover(), this.selectChartTypePopover =
|
|
344
|
+
this.removeSelectChartTypePopover(), this.selectChartTypePopover = v(h`<arcgis-charts-config-select-chart-type-popover .referenceElement=${e} open .layerId=${t} .layerType=${a} .isRasterBarChartSupported=${i} .popoverPlacement=${s} @arcgisChartsConfigPopoverClose=${this.onAddChartClose} @arcgisChartsConfigSelectChartTypeChange=${this.onSelectChartTypeChange}></arcgis-charts-config-select-chart-type-popover>`), !document.body.contains(this.selectChartTypePopover) && this.selectChartTypePopover !== null && document.body.appendChild(this.selectChartTypePopover);
|
|
345
345
|
}
|
|
346
346
|
getModel(e) {
|
|
347
347
|
return this.modelList?.find((t) => t.chartId === e);
|
|
@@ -350,7 +350,7 @@ class ge extends G {
|
|
|
350
350
|
this.selectChartTypePopover !== void 0 && (this.selectChartTypePopover?.remove(), this.selectChartTypePopover = le(this.selectChartTypePopover));
|
|
351
351
|
}
|
|
352
352
|
clearPartialModels() {
|
|
353
|
-
this.modelList = this.modelList.filter((e) => !
|
|
353
|
+
this.modelList = this.modelList.filter((e) => !k(e.config));
|
|
354
354
|
}
|
|
355
355
|
onViewChartDelete(e) {
|
|
356
356
|
const { chartId: t } = e.detail;
|
|
@@ -405,10 +405,10 @@ class ge extends G {
|
|
|
405
405
|
a = "";
|
|
406
406
|
break;
|
|
407
407
|
}
|
|
408
|
-
this.tooltip =
|
|
408
|
+
this.tooltip = v(h`<calcite-tooltip style=${Z({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${t} open placement=top>${a}</calcite-tooltip>`), document.body.appendChild(this.tooltip);
|
|
409
409
|
}
|
|
410
410
|
destroyTooltip() {
|
|
411
|
-
|
|
411
|
+
oe(this.tooltip);
|
|
412
412
|
}
|
|
413
413
|
renderViewCharts() {
|
|
414
414
|
const e = he({
|
|
@@ -417,14 +417,14 @@ class ge extends G {
|
|
|
417
417
|
activeLayerId: this.activeLayerId,
|
|
418
418
|
disableEditing: this.disableEditing
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return V(e, (t) => t.id, (t) => h`<arcgis-charts-config-view-charts .noGroup=${this.activeLayerId !== void 0} .modelList=${ce(this.modelList, t.id.toString(), B(t.type) ? ie : this.supportedChartTypes)} .selectedChartId=${this.selectedChartId ?? ""} .layer=${t} .disableEditing=${this.disableEditing} @arcgisChartsConfigViewChartSelect=${this.onViewChartsSelect} @arcgisChartsConfigViewChartEdit=${this.onViewChartsEdit} @arcgisChartsConfigViewChartDelete=${this.onViewChartDelete} @arcgisChartsConfigViewChartAddChart=${this.onAddChartClick}></arcgis-charts-config-view-charts>`);
|
|
421
421
|
}
|
|
422
422
|
render() {
|
|
423
|
-
return this.close ? null : h`<calcite-flow>${
|
|
423
|
+
return this.close ? null : h`<calcite-flow>${S("charts-list", h`<calcite-flow-item .selected=${this.panelNumber === 0 || this.disableEditing} .heading=${this.headerTitle ?? this._messages.defaultHeaderTitle} closable @calciteFlowItemClose=${this.onViewChartClose} ${K(this.chartsListFlowItem)}>${this.renderViewCharts()}</calcite-flow-item>`)}${this.panelNumber >= 1 && !this.disableEditing ? this.renderTabs() : null}</calcite-flow>`;
|
|
424
424
|
}
|
|
425
425
|
renderTabs() {
|
|
426
426
|
const e = this.getModel(this.selectedChartId);
|
|
427
|
-
return
|
|
427
|
+
return S("chart-edit", h`<calcite-flow-item .selected=${this.panelNumber >= 1 && !this.disableEditing} @calciteFlowItemBack=${this.onBackFlow} .heading=${this._messages[this.selectedPanel ?? c.Data]} .description=${this.currentChartTypeText !== "" && this._messages.pageFlowTitle !== void 0 ? O(this._messages.pageFlowTitle, {
|
|
428
428
|
chartName: e?.titleText ?? this.currentChartTypeText,
|
|
429
429
|
layerName: e?.layer?.title ?? ""
|
|
430
430
|
}) : ""}>${e?.chartType !== void 0 ? h`<calcite-action-bar class=${d(m.tabBar)} layout=horizontal expand-disabled><calcite-action class=${d(m.tab)} icon=configure scale=s alignment=center .active=${this.selectedPanel === c.Data || this.selectedPanel === void 0} @click=${() => {
|
|
@@ -477,7 +477,7 @@ class ge extends G {
|
|
|
477
477
|
return a;
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
|
|
480
|
+
N("arcgis-charts-config-create-flow", ge);
|
|
481
481
|
export {
|
|
482
482
|
ge as ArcgisChartsConfigCreateFlow
|
|
483
483
|
};
|
|
@@ -11,7 +11,7 @@ import { u as N } from "../../chunks/useT9n.js";
|
|
|
11
11
|
import { css as z, html as f } from "lit";
|
|
12
12
|
import { LitElement as H, renderElement as R, safeClassMap as p } from "@arcgis/lumina";
|
|
13
13
|
import { C as j, F as i, L as m } from "../../chunks/common.js";
|
|
14
|
-
import { b as u,
|
|
14
|
+
import { b as u, bK as r } from "../../chunks/index.js";
|
|
15
15
|
import { r as $ } from "../../chunks/popover-ui-utils.js";
|
|
16
16
|
import { C as I } from "../../chunks/index2.js";
|
|
17
17
|
import { a } from "../../chunks/chart-object-literals.js";
|
|
@@ -10,8 +10,8 @@ import { css as V, html as c } from "lit";
|
|
|
10
10
|
import { createRef as h, ref as u } from "lit/directives/ref.js";
|
|
11
11
|
import { LitElement as q, createEvent as U, renderElement as L, safeStyleMap as M, safeClassMap as o } from "@arcgis/lumina";
|
|
12
12
|
import { j as W, o as j, p as Y } from "../../chunks/type-guards2.js";
|
|
13
|
-
import {
|
|
14
|
-
import { t as
|
|
13
|
+
import { bL as p, b as m, bl as H, bM as A, bN as _, i as J } from "../../chunks/index.js";
|
|
14
|
+
import { t as K } from "../../chunks/index3.js";
|
|
15
15
|
import { r as Q } from "../../chunks/popover-ui-utils.js";
|
|
16
16
|
import { b as g, R as ee } from "../../chunks/rest-js-object-literals.js";
|
|
17
17
|
import { a as te } from "../../chunks/chart-object-literals.js";
|
|
@@ -164,8 +164,8 @@ class se extends q {
|
|
|
164
164
|
this.guidePopover !== null && this.guidePopover !== void 0 && (this.guidePopover = Q(this.guidePopover));
|
|
165
165
|
}
|
|
166
166
|
setColor(e) {
|
|
167
|
-
const t =
|
|
168
|
-
...
|
|
167
|
+
const t = K({ opacity: 0 }), i = this.model.getGuideStyle(this.index, this.orientation), a = {
|
|
168
|
+
...J(i) ? i : {},
|
|
169
169
|
type: g.SFS,
|
|
170
170
|
color: e,
|
|
171
171
|
outline: t
|
|
@@ -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 "lodash-es";
|
|
7
|
-
import {
|
|
7
|
+
import { bD as h, bE 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 {
|
|
@@ -4,7 +4,7 @@ import { isEqual as r } from "lodash-es";
|
|
|
4
4
|
import { LitElement as n } from "@arcgis/lumina";
|
|
5
5
|
import { css as h, html as i } from "lit";
|
|
6
6
|
import { C as o } from "../../chunks/interfaces.js";
|
|
7
|
-
import { i as d,
|
|
7
|
+
import { i as d, bD as c, bE as m, bc as f, c6 as g, t as p } from "../../chunks/index.js";
|
|
8
8
|
import { i as u } from "../../chunks/type-guards.js";
|
|
9
9
|
const C = 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%}`;
|
|
10
10
|
class y extends n {
|
|
@@ -4,7 +4,7 @@ import { isEqual as a } from "lodash-es";
|
|
|
4
4
|
import { LitElement as n, createEvent as d } from "@arcgis/lumina";
|
|
5
5
|
import { css as h, html as o } from "lit";
|
|
6
6
|
import { C as s } from "../../chunks/interfaces.js";
|
|
7
|
-
import {
|
|
7
|
+
import { bD as c, bE as m, t as f, aO as g, aP 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() {
|
|
@@ -14,7 +14,7 @@ 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 { H as E, I as S } from "../../chunks/index3.js";
|
|
16
16
|
import { b as z, p as w } from "../../chunks/index2.js";
|
|
17
|
-
import {
|
|
17
|
+
import { bC as N, aO as L, aP as K, aW as B } from "../../chunks/index.js";
|
|
18
18
|
const H = 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",
|
|
@@ -4,10 +4,10 @@ import { isEqual as n, cloneDeep as h } from "lodash-es";
|
|
|
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 { bD as I, bE as F, t as 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
|
-
class
|
|
10
|
+
class E extends C {
|
|
11
11
|
constructor() {
|
|
12
12
|
super(...arguments), this.onModelConfigChange = async (e) => {
|
|
13
13
|
const s = e?.detail.config ?? this.model.config;
|
|
@@ -80,7 +80,7 @@ class L extends C {
|
|
|
80
80
|
return e;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
u("arcgis-charts-config-pie-chart",
|
|
83
|
+
u("arcgis-charts-config-pie-chart", E);
|
|
84
84
|
export {
|
|
85
|
-
|
|
85
|
+
E as ArcgisChartsConfigPieChart
|
|
86
86
|
};
|
|
@@ -12,7 +12,7 @@ import { LitElement as y, createEvent as b, safeClassMap as l } from "@arcgis/lu
|
|
|
12
12
|
import { e as F, p as I } from "../../chunks/popover-ui-utils.js";
|
|
13
13
|
import { H as D } from "../../chunks/index3.js";
|
|
14
14
|
import { b as x } from "../../chunks/index2.js";
|
|
15
|
-
import {
|
|
15
|
+
import { bC as S, aO as T } from "../../chunks/index.js";
|
|
16
16
|
import { d as E } from "../../chunks/rest-js-object-literals.js";
|
|
17
17
|
import { a as r } from "../../chunks/common.js";
|
|
18
18
|
const s = {
|
|
@@ -4,7 +4,7 @@ import { isEqual as l } from "lodash-es";
|
|
|
4
4
|
import { LitElement as n, createEvent as d } from "@arcgis/lumina";
|
|
5
5
|
import { css as c, html as s } from "lit";
|
|
6
6
|
import { C as o } from "../../chunks/interfaces.js";
|
|
7
|
-
import {
|
|
7
|
+
import { bD as h, bE as p, bc as f, c6 as g, t as m, aS as u } from "../../chunks/index.js";
|
|
8
8
|
import { i as y } from "../../chunks/type-guards.js";
|
|
9
9
|
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%}`;
|
|
10
10
|
class F extends n {
|