@arcgis/charts-components 5.2.0-next.79 → 5.2.0-next.84
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/2BA2QD2A.js +3 -0
- package/dist/cdn/{3EO4F26F.js → 2MF442VT.js} +1 -1
- package/dist/cdn/{52MUPDJX.js → 2YDNWOWT.js} +1 -1
- package/dist/cdn/{XUHTILLV.js → 3AYNHY7J.js} +1 -1
- package/dist/cdn/3H3PFQTD.js +2 -0
- package/dist/cdn/{SN4KBI42.js → 3KDTVBIG.js} +1 -1
- package/dist/cdn/{KBBPAMMT.js → 3SSQPYQA.js} +1 -1
- package/dist/cdn/{2GAKZXA7.js → 3YPGCLG4.js} +1 -1
- package/dist/cdn/{VMLRM5N5.js → 3ZKNY2GI.js} +1 -1
- package/dist/cdn/{JZFIYS3Q.js → 4KF7SUJE.js} +1 -1
- package/dist/cdn/{2ASLWSZG.js → 4U2HIMOR.js} +1 -1
- package/dist/cdn/{OILO7FSO.js → 52NR6B2J.js} +1 -1
- package/dist/cdn/{KOLRCFJY.js → 5DHMYPPF.js} +1 -1
- package/dist/cdn/5NGIGJYR.js +2 -0
- package/dist/cdn/62GSQDTE.js +2 -0
- package/dist/cdn/{IJWJOXQC.js → 6LV3ASGE.js} +1 -1
- package/dist/cdn/{UQQUQB2A.js → 6SQNRMJG.js} +1 -1
- package/dist/cdn/{O7LPETXX.js → 6WWEQU3O.js} +1 -1
- package/dist/cdn/{LJTJTGIW.js → 72KEQM4K.js} +1 -1
- package/dist/cdn/{Y3WKQVWR.js → 72VGCAR5.js} +1 -1
- package/dist/cdn/{DWGM7Z44.js → 7CZMR2WF.js} +1 -1
- package/dist/cdn/{JBDNBUXX.js → 7JA63ENU.js} +6 -6
- package/dist/cdn/{D3YWSIAT.js → 7P3FHJUU.js} +1 -1
- package/dist/cdn/{2AYYSMS5.js → 7SIKOCYK.js} +3 -3
- package/dist/cdn/{PBMWAGSX.js → 7ZAT46VE.js} +1 -1
- package/dist/cdn/{J6SZNFHT.js → ACMHG3RB.js} +1 -1
- package/dist/cdn/{EVXW4JIN.js → BV7UUWYI.js} +1 -1
- package/dist/cdn/{JILQHU4L.js → C5UI5MYS.js} +1 -1
- package/dist/cdn/{X7KNPTRQ.js → C7F4AVQU.js} +2 -2
- package/dist/cdn/{HVNUPBQA.js → CFOB77PI.js} +1 -1
- package/dist/cdn/{C5O4MQR2.js → CSOYZJU5.js} +1 -1
- package/dist/cdn/{4UZZHUBR.js → CVWT6DGY.js} +1 -1
- package/dist/cdn/{QK73NKPD.js → CXWBQG5O.js} +1 -1
- package/dist/cdn/{KBADZKOP.js → DE3CJJG3.js} +1 -1
- package/dist/cdn/{DB2GBCE3.js → DKC4NIUA.js} +1 -1
- package/dist/cdn/{3OW3AP7E.js → DW5NK2B3.js} +1 -1
- package/dist/cdn/{JMYWZDZT.js → DZWIVB6V.js} +1 -1
- package/dist/cdn/EMOHROY3.js +2 -0
- package/dist/cdn/{55MAADXE.js → EYYTKCXM.js} +1 -1
- package/dist/cdn/{HEVW64SC.js → EZLKMWI5.js} +1 -1
- package/dist/cdn/{PCAFQL35.js → F3LVXDV4.js} +1 -1
- package/dist/cdn/{CPTM5D3G.js → FBU4ODQE.js} +1 -1
- package/dist/cdn/{FWLBHMGZ.js → FQKGQHVK.js} +1 -1
- package/dist/cdn/{WIU4Z5RB.js → FRTPDJGW.js} +1 -1
- package/dist/cdn/{TS7M5QXS.js → G45UKTNI.js} +1 -1
- package/dist/cdn/{4B2OSQ56.js → GDGYKODO.js} +1 -1
- package/dist/cdn/{YWYUS2YB.js → GX64OP3A.js} +1 -1
- package/dist/cdn/{TVQYI2GA.js → GZEVPH4Y.js} +1 -1
- package/dist/cdn/{5UKSJH54.js → HDIBDW52.js} +1 -1
- package/dist/cdn/{SCBFWKS5.js → HOASAQAB.js} +1 -1
- package/dist/cdn/{FNTOEKMU.js → HQ2JPCTQ.js} +1 -1
- package/dist/cdn/{LYE5P3IM.js → I3BMYY7N.js} +1 -1
- package/dist/cdn/{BRQQTNPP.js → IN2IL6T2.js} +1 -1
- package/dist/cdn/IVM37XFX.js +2 -0
- package/dist/cdn/JMMNRCD4.js +2 -0
- package/dist/cdn/JQM5R6XW.js +2 -0
- package/dist/cdn/{6WE5NXCL.js → JUU3BZT7.js} +1 -1
- package/dist/cdn/{IC7XPCCD.js → KAQ5XSCQ.js} +1 -1
- package/dist/cdn/{ARBNJ22B.js → KG574LAE.js} +1 -1
- package/dist/cdn/{REUSRETW.js → KHJC5P5T.js} +1 -1
- package/dist/cdn/{RZHWMERW.js → KYOBS7XL.js} +1 -1
- package/dist/cdn/KZSCAJDG.js +2 -0
- package/dist/cdn/{IPEJCIHO.js → L4BZX57U.js} +1 -1
- package/dist/cdn/L5JZ5COY.js +2 -0
- package/dist/cdn/LCTDNI27.js +2 -0
- package/dist/cdn/{XGOJWQ2M.js → LM6VCILT.js} +1 -1
- package/dist/cdn/{L4E3VJVV.js → LMTSW3JM.js} +1 -1
- package/dist/cdn/{3U6ESLPG.js → LPS3VU35.js} +1 -1
- package/dist/cdn/{6IQK654E.js → M6OCFMDB.js} +1 -1
- package/dist/cdn/{N7C7MXPK.js → MITW5XKW.js} +1 -1
- package/dist/cdn/{RXIRNKPO.js → MJHVSD5B.js} +1 -1
- package/dist/cdn/{KS5BBSHY.js → MNYNXHXE.js} +1 -1
- package/dist/cdn/{4V4XGO3V.js → NH2A5QEU.js} +1 -1
- package/dist/cdn/NIDXK3GN.js +2 -0
- package/dist/cdn/{OTCRP3JF.js → OMORDJT2.js} +1 -1
- package/dist/cdn/{GRFUVWBR.js → OYXDCECZ.js} +1 -1
- package/dist/cdn/{DAFNQT4C.js → P3AYFJRV.js} +1 -1
- package/dist/cdn/{DNBUCAK5.js → PF6QOHZR.js} +1 -1
- package/dist/cdn/{TGP4YGPD.js → PMTNALXO.js} +1 -1
- package/dist/cdn/{K4APZJ2O.js → PWJBGZPW.js} +1 -1
- package/dist/cdn/{7MXV56XK.js → QIG7WTJF.js} +1 -1
- package/dist/cdn/{F4YJZZ3Z.js → QXQC4CH5.js} +1 -1
- package/dist/cdn/{KJZTU3DV.js → QYRHZJH3.js} +1 -1
- package/dist/cdn/{NIDK3VNZ.js → R5VDQBUH.js} +1 -1
- package/dist/cdn/{HHZOC34D.js → RCAPTQFV.js} +1 -1
- package/dist/cdn/{UROIIO5G.js → RPUEIRTH.js} +1 -1
- package/dist/cdn/S2HIF3ZX.js +2 -0
- package/dist/cdn/{6ILCVW7Y.js → SC26LLWP.js} +1 -1
- package/dist/cdn/{AGPCWGX5.js → SILDOKXS.js} +1 -1
- package/dist/cdn/{ZFVW3OFJ.js → TBW6K2TY.js} +1 -1
- package/dist/cdn/{JYC77MVD.js → TENIFMA5.js} +1 -1
- package/dist/cdn/{JQU6SHEI.js → TSU6UVTL.js} +1 -1
- package/dist/cdn/{TMGMKM5F.js → U3542JBJ.js} +1 -1
- package/dist/cdn/U7GQGHZY.js +2 -0
- package/dist/cdn/{ANIGKAAB.js → UYDDYD3O.js} +1 -1
- package/dist/cdn/{F7UO7P33.js → V3ITNIER.js} +1 -1
- package/dist/cdn/VQU2TVX7.js +3 -0
- package/dist/cdn/{OAGFPD22.js → VSPKBQS6.js} +1 -1
- package/dist/cdn/{XPWRCAVM.js → WC22SRVJ.js} +1 -1
- package/dist/cdn/{5TACWRME.js → XBRRJQVR.js} +1 -1
- package/dist/cdn/{AVJGLPDW.js → XFCDAI5T.js} +1 -1
- package/dist/cdn/{O3I5M2SH.js → XHZAAQMF.js} +1 -1
- package/dist/cdn/{DEEDTMN2.js → XU7TGV75.js} +1 -1
- package/dist/cdn/XVCBLLWW.js +2 -0
- package/dist/cdn/{EUTOQQ3S.js → YAWW63A5.js} +1 -1
- package/dist/cdn/ZDUW3TBJ.js +2 -0
- package/dist/cdn/{4XM7Q33B.js → ZGIM53IQ.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chunks/action-bar-utils.js +17 -17
- package/dist/chunks/axis-lines-symbol.js +1 -1
- package/dist/chunks/bar-chart-model.js +11 -11
- package/dist/chunks/box-plot-data.js +73 -73
- package/dist/chunks/box-plot-model.js +8 -8
- package/dist/chunks/chart-model.js +33 -33
- package/dist/chunks/chart-object-literals.js +24 -24
- package/dist/chunks/chart-ui-utils.js +149 -68
- package/dist/chunks/chart-ui-utils2.js +68 -149
- package/dist/chunks/class-breaks.js +14 -14
- package/dist/chunks/combo-bar-line-chart-model.js +35 -35
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +30 -30
- package/dist/chunks/data.js +40 -40
- package/dist/chunks/default.js +6 -6
- package/dist/chunks/gauge-model.js +58 -58
- package/dist/chunks/generate-x-axis-title.js +22 -22
- package/dist/chunks/heat-chart-model.js +11 -11
- package/dist/chunks/histogram-data.js +21 -21
- package/dist/chunks/histogram-model.js +12 -12
- package/dist/chunks/index.js +9364 -1103
- package/dist/chunks/index2.js +836 -9337
- package/dist/chunks/index3.js +1166 -865
- package/dist/chunks/index4.js +8 -8
- package/dist/chunks/index5.js +5 -5
- package/dist/chunks/interfaces.js +9 -9
- package/dist/chunks/line-chart-model.js +9 -9
- package/dist/chunks/model-setter.js +3 -3
- package/dist/chunks/model-types.js +1 -1
- package/dist/chunks/model-with-y-guides.js +13 -13
- package/dist/chunks/negative-values-stacked-to-baseline.js +7 -7
- package/dist/chunks/pie-chart-data.js +10 -10
- package/dist/chunks/pie-chart-model.js +35 -35
- package/dist/chunks/radar-chart-model.js +14 -14
- package/dist/chunks/resource.js +5 -5
- package/dist/chunks/rest-js-object-literals.js +10 -10
- package/dist/chunks/rotated-state.js +1 -1
- package/dist/chunks/rounded-corners.js +7 -7
- package/dist/chunks/scatterplot-model.js +11 -11
- package/dist/chunks/serial-chart-data.js +165 -165
- package/dist/chunks/serial-chart-model.js +14 -14
- package/dist/chunks/series-length.js +17 -17
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/type-guards.js +7 -7
- package/dist/chunks/type-guards2.js +25 -25
- package/dist/chunks/utils.js +23 -23
- package/dist/chunks/utils2.js +9 -9
- package/dist/chunks/web-component-utils.js +63 -63
- package/dist/chunks/x-bounds.js +28 -28
- package/dist/components/arcgis-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-chart/customElement.js +11 -11
- package/dist/components/arcgis-charts-action-bar/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-axis/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +11 -18
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +17 -17
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +16 -16
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +29 -36
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +21 -21
- package/dist/components/arcgis-charts-config-font-style/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-format/customElement.js +17 -17
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-guide/customElement.js +14 -14
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +31 -31
- package/dist/components/arcgis-charts-config-histogram/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +14 -14
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-invalid-input-message/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 +9 -9
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +22 -22
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-line-style/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +3 -3
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
- package/dist/components/arcgis-charts-info-modal/customElement.js +2 -2
- 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 +175 -175
- package/dist/utils/chart-config/converter/index.js +36 -36
- package/dist/utils/defaults/index.d.ts +15 -2
- package/dist/utils/defaults/interfaces.d.ts +66 -8
- package/package.json +5 -5
- package/dist/cdn/37TEXJ7K.js +0 -2
- package/dist/cdn/4DPFB567.js +0 -3
- package/dist/cdn/FDXSZJWC.js +0 -2
- package/dist/cdn/HXSSY2BO.js +0 -2
- package/dist/cdn/IAMJ6CBO.js +0 -3
- package/dist/cdn/IONJLIQQ.js +0 -2
- package/dist/cdn/JKT2UC2C.js +0 -2
- package/dist/cdn/JZVACQMQ.js +0 -2
- package/dist/cdn/N6FMZQZN.js +0 -2
- package/dist/cdn/PCHCBNEX.js +0 -2
- package/dist/cdn/QPTQD3ZH.js +0 -2
- package/dist/cdn/RPQJ6RNZ.js +0 -2
- package/dist/cdn/U43J5GMJ.js +0 -2
- package/dist/cdn/UEUCI74S.js +0 -2
- package/dist/cdn/WFNHDRCX.js +0 -2
- package/dist/cdn/WVIP7B4W.js +0 -2
- package/dist/cdn/ZAGOBG3W.js +0 -2
- /package/dist/cdn/{7SBVBD4E.js → KWN3N6VE.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as T } from "../../chunks/runtime.js";
|
|
3
3
|
import { repeat as d } from "lit/directives/repeat.js";
|
|
4
|
-
import { css as
|
|
4
|
+
import { css as F, html as r } from "lit";
|
|
5
5
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
6
6
|
import P from "@arcgis/core/Color.js";
|
|
7
|
-
import { LitElement as I, createEvent as h, safeClassMap as
|
|
7
|
+
import { LitElement as I, createEvent as h, safeClassMap as l, nothing as g, safeStyleMap as L } from "@arcgis/lumina";
|
|
8
8
|
import { createRef as u, ref as p } from "lit/directives/ref.js";
|
|
9
9
|
import { isEqual as S } from "lodash-es";
|
|
10
|
-
import {
|
|
10
|
+
import { b as D, C as v } from "../../chunks/index2.js";
|
|
11
11
|
import { u as b } from "../../chunks/useT9n.js";
|
|
12
|
-
import {
|
|
13
|
-
import { c as y, b as A, e as m } from "../../chunks/chart-ui-
|
|
14
|
-
import { C as x, k } from "../../chunks/class-breaks.js";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
12
|
+
import { c, W as $ } from "../../chunks/interfaces.js";
|
|
13
|
+
import { c as y, b as A, e as m } from "../../chunks/chart-ui-utils.js";
|
|
14
|
+
import { C as x, d as k } from "../../chunks/class-breaks.js";
|
|
15
|
+
import { d as E } from "../../chunks/rest-js-object-literals.js";
|
|
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 {
|
|
19
|
-
import {
|
|
20
|
-
const q =
|
|
18
|
+
import { H as B, r as M } from "../../chunks/index3.js";
|
|
19
|
+
import { aP as H, aO as O } from "../../chunks/index.js";
|
|
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",
|
|
22
22
|
header: "header",
|
|
23
23
|
popoverPickList: "popover-pick-list",
|
|
@@ -57,16 +57,16 @@ class W extends I {
|
|
|
57
57
|
}, A.PopoverTimer), N(this.popoverElement.value, this.open);
|
|
58
58
|
}
|
|
59
59
|
buildAggregationListItems() {
|
|
60
|
-
return d(y.filter((e) => e !== _.NoAggregation), (e) => e, (e, t) =>
|
|
60
|
+
return d(y.filter((e) => e !== _.NoAggregation), (e) => e, (e, t) => r`<calcite-list-item .label=${this.aggregationLabels[t]} .value=${e} .selected=${m(e, this.selectedContent)}></calcite-list-item>`);
|
|
61
61
|
}
|
|
62
62
|
buildPickListItem(e) {
|
|
63
|
-
return f(e.name,
|
|
63
|
+
return f(e.name, r`<calcite-list-item .label=${D(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${m(e.name, this.selectedContent)}></calcite-list-item>`);
|
|
64
64
|
}
|
|
65
65
|
buildPickListItems(e) {
|
|
66
66
|
const t = this.layerFieldsInfo?.length ?? 0, a = [];
|
|
67
67
|
switch (e) {
|
|
68
68
|
case c.numericFields: {
|
|
69
|
-
const i = f(" ",
|
|
69
|
+
const i = f(" ", r`<calcite-list-item label=" " value=" " .selected=${m("", this.selectedContent)}></calcite-list-item>`);
|
|
70
70
|
a.push(i);
|
|
71
71
|
for (let o = 0; o < t; o += 1) {
|
|
72
72
|
const n = this.layerFieldsInfo?.[o];
|
|
@@ -168,29 +168,29 @@ class W extends I {
|
|
|
168
168
|
}
|
|
169
169
|
renderAggregationType() {
|
|
170
170
|
const e = this.buildAggregationListItems();
|
|
171
|
-
return
|
|
171
|
+
return r`<calcite-list label class=${l(s.popoverPickList)} selection-mode=single selection-appearance=border @calciteListChange=${this.onDataContentTypeChange}>${e}</calcite-list>`;
|
|
172
172
|
}
|
|
173
173
|
renderXAxisFieldSelect() {
|
|
174
174
|
const e = this.buildPickListItems(c.xAxisField);
|
|
175
|
-
return
|
|
175
|
+
return r`<calcite-list label class=${l(s.popoverPickList)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`;
|
|
176
176
|
}
|
|
177
177
|
renderNumericFields() {
|
|
178
178
|
const e = this.buildPickListItems(c.numericFields);
|
|
179
|
-
return
|
|
179
|
+
return r`<calcite-list label class=${l(s.popoverPickList)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`;
|
|
180
180
|
}
|
|
181
181
|
renderCalendarType() {
|
|
182
182
|
const e = this.layerFieldsInfo.find((i) => i.name === this.model.xAxisField), t = Object.values($).filter((i) => i !== $.WeekByDayOfWeekAndHourOfDay || e?.type !== E.DateOnly), a = d(t, (i) => i, (i) => {
|
|
183
183
|
const o = this._messages[i];
|
|
184
|
-
return
|
|
184
|
+
return r`<calcite-list-item .label=${o} .value=${i} .selected=${m(i, this.selectedContent)}></calcite-list-item>`;
|
|
185
185
|
});
|
|
186
|
-
return
|
|
186
|
+
return r`<calcite-list label class=${l(s.popoverPickList)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${a}</calcite-list>`;
|
|
187
187
|
}
|
|
188
188
|
renderCalendarViewType() {
|
|
189
189
|
const e = d(Object.values(R), (t) => t, (t) => {
|
|
190
190
|
const a = this._messages[t];
|
|
191
|
-
return
|
|
191
|
+
return r`<calcite-list-item .label=${a} .value=${t} .disabled=${t !== R.singleCalendarView} .selected=${m(t, this.selectedContent)}></calcite-list-item>`;
|
|
192
192
|
});
|
|
193
|
-
return
|
|
193
|
+
return r`<calcite-list label class=${l(s.popoverPickList)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`;
|
|
194
194
|
}
|
|
195
195
|
renderClassBreakMethod() {
|
|
196
196
|
const e = [
|
|
@@ -211,9 +211,9 @@ class W extends I {
|
|
|
211
211
|
}
|
|
212
212
|
], t = d(Object.values(e), ({ value: a }) => a, (a) => {
|
|
213
213
|
const { title: i, msg: o, value: n } = a;
|
|
214
|
-
return
|
|
214
|
+
return r`<calcite-list-item .label=${i} .description=${o} .value=${n} .selected=${m(n, this.selectedContent)}></calcite-list-item>`;
|
|
215
215
|
});
|
|
216
|
-
return
|
|
216
|
+
return r`<calcite-list label class=${l(s.popoverPickList)} selection-mode=single filter-enabled selection-appearance=border @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${t}</calcite-list>`;
|
|
217
217
|
}
|
|
218
218
|
renderPopoverInfo() {
|
|
219
219
|
let e;
|
|
@@ -243,27 +243,27 @@ class W extends I {
|
|
|
243
243
|
e = this.renderEmptyCellUI();
|
|
244
244
|
break;
|
|
245
245
|
default:
|
|
246
|
-
e =
|
|
246
|
+
e = r`<div></div>`;
|
|
247
247
|
break;
|
|
248
248
|
}
|
|
249
249
|
return e;
|
|
250
250
|
}
|
|
251
251
|
renderColorRampSelect() {
|
|
252
252
|
const e = this.filterColorRamps(), t = this._messages?.colorRampCategories ? this._messages.colorRampCategories[this.selectedCategory] : this.selectedCategory;
|
|
253
|
-
return
|
|
253
|
+
return r`<div class=${l(s.colorRampPopover)}><div class=${l(s.colorRampToolbar)}><calcite-dropdown selection-mode=single placement=bottom-start @calciteDropdownSelect=${this.onCategoryDropdownSelect}><calcite-button slot=trigger appearance=outline icon-end=chevron-down>${t}</calcite-button><calcite-dropdown-group group-title=${this._messages?.colorRamp?.allCategories ?? "All color ramps" ?? g}>${Object.keys(k).map((a) => r`<calcite-dropdown-item data-tag=${a ?? g} .selected=${this.selectedCategory === a}>${this._messages?.colorRampCategories ? this._messages.colorRampCategories[a] : a}</calcite-dropdown-item>`)}</calcite-dropdown-group></calcite-dropdown><calcite-button appearance=outline icon-start=arrow-up-down @click=${this.onFlipAll}>${this._messages?.colorRamp?.flipRampColors}</calcite-button></div><div class=${l(s.rampGrid)}>${e.length === 0 && r`<div class=${l(s.rampEmpty)}>${this._messages?.colorRamp?.noRamps} ${this.selectedCategory !== "all" ? `"${this.selectedCategory}"` : ""}</div>` || ""}${e.map((a) => {
|
|
254
254
|
const i = this.getRampColors(a), o = a.name === this.selectedColorRampName;
|
|
255
|
-
return
|
|
256
|
-
})}</div><div class=${
|
|
255
|
+
return r`<div class=${`${s.rampItem} ${o ? "selected" : ""}`} title=${a.name ?? g} @click=${() => this.onRampSelect(a)}><div class=${l(s.rampName)} aria-hidden=true>${a.name}</div><div class=${l(s.rampStrips)}>${d(i, (n) => n, (n) => r`<div class=${l(s.rampStrip)} style=${L({ backgroundColor: this.rampColorToCss(n) })}></div>`)}${i.length === 0 && r`<div class=${`${s.rampStrip} ${s.rampStripFallback}`}></div>` || ""}</div></div>`;
|
|
256
|
+
})}</div><div class=${l(s.colorRampPopoverFooter)}><calcite-button appearance=solid kind=brand @click=${this.closePopover}>${this._messages?.colorRamp?.done}</calcite-button></div></div>`;
|
|
257
257
|
}
|
|
258
258
|
renderEmptyCellUI() {
|
|
259
259
|
const e = this.model.emptyCellSymbol?.color ?? v.grayColor, t = this.model.emptyCellText ?? v.nullCategory?.text ?? "";
|
|
260
|
-
return
|
|
260
|
+
return r`<div><div class=${l(s.panelChildrenContainer)}><calcite-label>${this._messages.label}<calcite-input type=text .value=${t} @calciteInputInput=${this.nameChange}></calcite-input></calcite-label></div><div class=${l(s.panelChildrenContainer)}><arcgis-charts-config-colors .heading=${this._messages?.symbolColor} .rgba=${e} @arcgisColorSelect=${this.colorChange}></arcgis-charts-config-colors></div></div>`;
|
|
261
261
|
}
|
|
262
262
|
render() {
|
|
263
|
-
return
|
|
263
|
+
return r`<div><calcite-popover class=${l(s.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${p(this.popoverElement)}><calcite-panel class=${l(s.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${l(s.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${void 0}</calcite-panel></calcite-popover></div>`;
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
|
-
|
|
266
|
+
T("arcgis-charts-config-heat-chart-popover", W);
|
|
267
267
|
export {
|
|
268
268
|
W as ArcgisChartsConfigHeatChartPopover
|
|
269
269
|
};
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import { c as l } from "../../chunks/runtime.js";
|
|
3
3
|
import { isEqual as r } from "lodash-es";
|
|
4
4
|
import { LitElement as n } from "@arcgis/lumina";
|
|
5
|
-
import { css as
|
|
5
|
+
import { css as h, html as i } from "lit";
|
|
6
6
|
import { C as o } from "../../chunks/interfaces.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
const
|
|
10
|
-
class
|
|
7
|
+
import { i as d, bC as c, bD as m, bc as f, c5 as g, t as p } from "../../chunks/index.js";
|
|
8
|
+
import { i as u } from "../../chunks/type-guards.js";
|
|
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
|
+
class y extends n {
|
|
11
11
|
constructor() {
|
|
12
12
|
super(...arguments), this.onModelConfigChange = async (e) => {
|
|
13
13
|
const s = e?.detail.config ?? this.model.config;
|
|
@@ -18,7 +18,7 @@ class C extends n {
|
|
|
18
18
|
this.properties = { layerFieldsInfo: 16, model: 0, chartData: 0, seriesColor: 0, calculatedMinMaxBounds: 0, page: 1, layer: 0, usePopupTemplateFieldsInfo: 5, popupTemplateFieldInfosEnabled: 5 };
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
|
-
this.styles =
|
|
21
|
+
this.styles = C;
|
|
22
22
|
}
|
|
23
23
|
async load() {
|
|
24
24
|
this.seriesColor !== void 0 && this.seriesColorChange(this.seriesColor), await this.updateFetchLayerFieldsInfo(this.model?.config), this.modelChange(this.model);
|
|
@@ -35,7 +35,7 @@ class C extends n {
|
|
|
35
35
|
}
|
|
36
36
|
seriesColorChange(e) {
|
|
37
37
|
this.model.colorMatch && e?.forEach((a) => {
|
|
38
|
-
|
|
38
|
+
d(a) && e?.get(0) !== void 0 && !r(this.model.binSymbol, a) && (this.model.binSymbol = a);
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
async updateFetchLayerFieldsInfo(e) {
|
|
@@ -76,7 +76,7 @@ class C extends n {
|
|
|
76
76
|
return e;
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
l("arcgis-charts-config-histogram",
|
|
79
|
+
l("arcgis-charts-config-histogram", y);
|
|
80
80
|
export {
|
|
81
|
-
|
|
81
|
+
y as ArcgisChartsConfigHistogram
|
|
82
82
|
};
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
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 "lodash-es";
|
|
5
|
-
import {
|
|
6
|
-
import { i as I, m as C,
|
|
7
|
-
import { d as
|
|
5
|
+
import { d, e as a, H as s } from "../../chunks/interfaces.js";
|
|
6
|
+
import { i as I, m as C, U as S, b as D, n as L, s as V, D as P } from "../../chunks/chart-ui-utils.js";
|
|
7
|
+
import { d as T, 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 {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
12
|
+
import { P as H, E as K } from "../../chunks/index3.js";
|
|
13
|
+
import { b as A } from "../../chunks/index2.js";
|
|
14
|
+
import { i as U } from "../../chunks/type-guards.js";
|
|
15
15
|
import { r as z } from "../../chunks/popover-ui-utils.js";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
16
|
+
import { b as R } from "../../chunks/rest-js-object-literals.js";
|
|
17
|
+
import { s as u } from "../../chunks/chart-object-literals.js";
|
|
18
18
|
const l = {
|
|
19
19
|
label: "label",
|
|
20
20
|
row: "row",
|
|
@@ -30,11 +30,11 @@ class q extends B {
|
|
|
30
30
|
const e = this.binInputElement.value?.value;
|
|
31
31
|
e !== void 0 && I(e, this.binInputElement.value?.min, this.binInputElement.value?.max) ? this.binCountChange(e) : this.binInputElement.value && C({
|
|
32
32
|
inputElement: this.binInputElement.value,
|
|
33
|
-
status:
|
|
33
|
+
status: S.INVALID
|
|
34
34
|
});
|
|
35
|
-
},
|
|
35
|
+
}, D.DebounceTimer), this.onBinCountSliderChange = f(() => {
|
|
36
36
|
this.binCountChange(this.binSliderElement.value?.value?.toString() ?? "");
|
|
37
|
-
},
|
|
37
|
+
}, D.DebounceTimer), this.onNormalDistColorSelect = (e) => {
|
|
38
38
|
e.stopImmediatePropagation(), this.onColorElementSelect(this.model.normalDistSymbol, this._messages.normalDistStyle ?? "", this.normalDistOverlayElement);
|
|
39
39
|
}, this.onMeanColorSelect = (e) => {
|
|
40
40
|
e.stopImmediatePropagation(), this.onColorElementSelect(this.model.meanSymbol, this._messages.meanStyle ?? "", this.meanOverlayElement);
|
|
@@ -48,7 +48,7 @@ class q extends B {
|
|
|
48
48
|
try {
|
|
49
49
|
if (e.detail !== null && e.detail !== void 0) {
|
|
50
50
|
const { contentKind: t } = e.detail, { value: i } = e.detail;
|
|
51
|
-
switch (
|
|
51
|
+
switch (T(x), t) {
|
|
52
52
|
case d.transformation:
|
|
53
53
|
this.model.dataTransformationType = i ?? u.None;
|
|
54
54
|
break;
|
|
@@ -164,13 +164,13 @@ class q extends B {
|
|
|
164
164
|
t = void 0;
|
|
165
165
|
break;
|
|
166
166
|
}
|
|
167
|
-
return L(t,
|
|
167
|
+
return L(t, P);
|
|
168
168
|
}
|
|
169
169
|
binCountChange(e) {
|
|
170
170
|
const t = Number.parseInt(e);
|
|
171
171
|
this.model.binCount !== t && (this.model.binCount = t, this.binInputElement.value && C({
|
|
172
172
|
inputElement: this.binInputElement.value,
|
|
173
|
-
status:
|
|
173
|
+
status: S.IDLE
|
|
174
174
|
}));
|
|
175
175
|
}
|
|
176
176
|
onColorElementSelect(e, t, i) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as f } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as
|
|
3
|
+
import { css as v, html as t } from "lit";
|
|
4
4
|
import { keyed as c } from "lit/directives/keyed.js";
|
|
5
|
-
import {
|
|
6
|
-
import { b as
|
|
5
|
+
import { d as i } from "../../chunks/interfaces.js";
|
|
6
|
+
import { b as y, o as C } from "../../chunks/chart-ui-utils.js";
|
|
7
7
|
import { u } from "../../chunks/useT9n.js";
|
|
8
8
|
import { createRef as m, ref as h } from "lit/directives/ref.js";
|
|
9
9
|
import { LitElement as b, createEvent as p, safeClassMap as o } from "@arcgis/lumina";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
10
|
+
import { b as $ } from "../../chunks/rest-js-object-literals.js";
|
|
11
|
+
import { s } from "../../chunks/chart-object-literals.js";
|
|
12
12
|
import { e as P } from "../../chunks/popover-ui-utils.js";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
13
|
+
import { b as S } from "../../chunks/index2.js";
|
|
14
|
+
import { aO as k } from "../../chunks/index.js";
|
|
15
|
+
import { r as T } from "../../chunks/index3.js";
|
|
16
16
|
const l = {
|
|
17
17
|
symbolPropertyPopover: "symbol-property-popover",
|
|
18
18
|
colorPicker: "color-picker",
|
|
@@ -20,7 +20,7 @@ const l = {
|
|
|
20
20
|
popoverPickList: "popover-pick-list",
|
|
21
21
|
fieldSelectPanel: "field-select-panel",
|
|
22
22
|
transformationPanel: "transformation-panel"
|
|
23
|
-
}, w =
|
|
23
|
+
}, w = v`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.right{display:block;text-align:right}.inline{display:inline-flex;flex-wrap:wrap}.symbol-property-popover{min-width:300px}.symbol-property-popover .inline{align-items:center;margin-bottom:1rem}.symbol-property-popover .inline calcite-action{margin-left:.2rem}.symbol-property-popover .inline input,.symbol-property-popover .inline select{width:4rem;margin-left:.5rem;height:24px}.symbol-property-popover .inline select{width:6rem}.symbol-property-popover .inline{padding:0 1rem}.symbol-property-popover .color calcite-icon{margin-left:.5rem}.symbol-property-popover .color .color-picker{padding:1rem}.header{margin:0;font-weight:bolder}.popover-pick-list{font-size:small;max-width:var(--arcgis-charts-config-popover-pick-list-max-width)}.field-select-panel{max-height:60vh}.transformation-panel{width:calc(var(--calcite-panel-width-multiplier) * 12vw);max-width:calc(var(--calcite-panel-width-multiplier) * 300px);min-width:calc(var(--calcite-panel-width-multiplier) * 150px);min-width:calc(var(--calcite-panel-width-multiplier) * 170px)}`;
|
|
24
24
|
class x extends b {
|
|
25
25
|
constructor() {
|
|
26
26
|
super(...arguments), this._messages = u(), this.picklist = m(), this.popoverElement = m(), this.layerFieldsInfo = [], this.open = !1, this.arcgisChartsConfigHistogramPopoverChange = p(), this.arcgisChartsConfigHistogramPopoverSymbolChange = p(), this.arcgisChartsConfigPopoverClose = p();
|
|
@@ -37,7 +37,7 @@ class x extends b {
|
|
|
37
37
|
updated() {
|
|
38
38
|
setTimeout(() => {
|
|
39
39
|
this.picklist.value?.setFocus();
|
|
40
|
-
},
|
|
40
|
+
}, y.PopoverTimer), P(this.popoverElement.value, this.open);
|
|
41
41
|
}
|
|
42
42
|
buildPickListItems(e) {
|
|
43
43
|
const n = [];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as s } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as i, html as t } from "lit";
|
|
4
|
-
import { U as a } from "../../chunks/chart-ui-
|
|
4
|
+
import { U as a } from "../../chunks/chart-ui-utils.js";
|
|
5
5
|
import { LitElement as e, safeClassMap as l } from "@arcgis/lumina";
|
|
6
6
|
const n = {
|
|
7
7
|
invalidMessageColor: "invalid-message-color"
|
|
@@ -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 { bC as c, bD 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() {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as $ } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as F } from "lit/directives/keyed.js";
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { css as
|
|
4
|
+
import { LitElement as I, createEvent as g, renderElement as x, safeClassMap as s } from "@arcgis/lumina";
|
|
5
|
+
import { css as A, html as r } from "lit";
|
|
6
6
|
import { createRef as m, ref as d } from "lit/directives/ref.js";
|
|
7
7
|
import { u as b } from "../../chunks/useT9n.js";
|
|
8
8
|
import { L as l } from "../../chunks/interfaces.js";
|
|
9
9
|
import { d as B, a as u, r as k, b as T } from "../../chunks/store.js";
|
|
10
10
|
import { isEqual as S } from "lodash-es";
|
|
11
11
|
import { x as E } from "../../chunks/data.js";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
12
|
+
import { d as c, e as f, h } from "../../chunks/chart-object-literals.js";
|
|
13
|
+
import { H as L, I as P } from "../../chunks/index3.js";
|
|
14
|
+
import { b as v, p as w } from "../../chunks/index2.js";
|
|
15
|
+
import { r as C, aP as _ } from "../../chunks/index.js";
|
|
16
16
|
import { r as N } from "../../chunks/popover-ui-utils.js";
|
|
17
|
-
const D =
|
|
17
|
+
const D = 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)}: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:.5rem;margin-right:.5rem;margin-bottom:.5rem;justify-content:space-between}.time-binning-header{display:flex;font-weight:700;margin-left:.5rem;margin-right:.5rem;justify-content:space-between}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:.5rem;margin-right:.5rem;margin-bottom:1.5rem;justify-content:center}.link-container{display:flex;justify-content:flex-end}`, n = {
|
|
18
18
|
label: "label",
|
|
19
19
|
fieldList: "field-list",
|
|
20
20
|
fab: "fab",
|
|
@@ -22,7 +22,7 @@ const D = I`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.a
|
|
|
22
22
|
linkContainer: "link-container",
|
|
23
23
|
dimText: "dim-text"
|
|
24
24
|
};
|
|
25
|
-
class U extends
|
|
25
|
+
class U extends I {
|
|
26
26
|
constructor() {
|
|
27
27
|
super(...arguments), this._messages = b(), this.commonStrings = b({ name: "common", blocking: !0 }), this.lineChartPopover = null, this.aggregationElement = m(), this.xAxisFieldElement = m(), this.numericFieldsElement = m(), this.splitByFieldElement = m(), this.intervalAlignmentElement = m(), this.intervalElement = m(), this.onLineChartDataChange = (e) => {
|
|
28
28
|
try {
|
|
@@ -163,7 +163,7 @@ class U extends x {
|
|
|
163
163
|
i = this.intervalAlignmentElement.value, a = this._messages.intervalAlignment, o = this.model.timeAggregationType ?? "";
|
|
164
164
|
break;
|
|
165
165
|
}
|
|
166
|
-
this.lineChartPopover =
|
|
166
|
+
this.lineChartPopover = x(r`<arcgis-charts-config-line-chart-popover .headingTitle=${a} .referenceElement=${i} open .contentKind=${this.contentKind} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${o} @arcgisChartsConfigLineChartDataPopoverChange=${this.onLineChartDataChange} @arcgisChartsConfigLineChartPopoverClose=${this.popoverClose}></arcgis-charts-config-line-chart-popover>`), !document.body.contains(this.lineChartPopover) && this.lineChartPopover !== null && document.body.appendChild(this.lineChartPopover);
|
|
167
167
|
}
|
|
168
168
|
removeLineChartDataPopover() {
|
|
169
169
|
this.lineChartPopover !== null && (this.lineChartPopover.open = !1, this.lineChartPopover = N(this.lineChartPopover));
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as y } from "../../chunks/runtime.js";
|
|
3
3
|
import { repeat as u } from "lit/directives/repeat.js";
|
|
4
4
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
5
5
|
import { LitElement as k, createEvent as v, safeClassMap as o } from "@arcgis/lumina";
|
|
6
6
|
import { css as P, html as n } from "lit";
|
|
7
|
-
import { createRef as h, ref as
|
|
7
|
+
import { createRef as h, ref as p } from "lit/directives/ref.js";
|
|
8
8
|
import { isEqual as b } from "lodash-es";
|
|
9
9
|
import { u as C } from "../../chunks/useT9n.js";
|
|
10
10
|
import { L as a } from "../../chunks/interfaces.js";
|
|
11
|
-
import { c as $, b as F, e as d, f as I, s as T } from "../../chunks/chart-ui-
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
11
|
+
import { c as $, b as F, e as d, f as I, s as T } from "../../chunks/chart-ui-utils.js";
|
|
12
|
+
import { d as x } from "../../chunks/rest-js-object-literals.js";
|
|
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 {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
const
|
|
15
|
+
import { H as E, I as S } from "../../chunks/index3.js";
|
|
16
|
+
import { b as z, p as w } from "../../chunks/index2.js";
|
|
17
|
+
import { bB as N, aO as L, aP as K, aW as B } from "../../chunks/index.js";
|
|
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",
|
|
21
21
|
fab: "fab",
|
|
@@ -23,7 +23,7 @@ const _ = P`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.a
|
|
|
23
23
|
sizeSection: "size-section",
|
|
24
24
|
applyButton: "apply-button"
|
|
25
25
|
};
|
|
26
|
-
class
|
|
26
|
+
class _ extends k {
|
|
27
27
|
constructor() {
|
|
28
28
|
super(...arguments), this._messages = C(), this.commonStrings = C({ name: "common", blocking: !0 }), this.picklist = h(), this.intervalSizeElement = h(), this.intervalTypeElement = h(), this.popoverElement = h(), this.placement = "leading", this.offsetDistance = -200, this.pickListHasChanged = !1, this.open = !1, this.layerFieldsInfo = [], this.arcgisChartsConfigLineChartDataPopoverChange = v(), this.arcgisChartsConfigLineChartPopoverClose = v();
|
|
29
29
|
}
|
|
@@ -31,7 +31,7 @@ class H extends k {
|
|
|
31
31
|
this.properties = { aggregationLabels: 16, timeAggregationLabels: 16, messageOverrides: 0, headingTitle: 1, referenceElement: 0, open: 5, contentKind: 1, layerFieldsInfo: 0, selectedContent: 1 };
|
|
32
32
|
}
|
|
33
33
|
static {
|
|
34
|
-
this.styles =
|
|
34
|
+
this.styles = H;
|
|
35
35
|
}
|
|
36
36
|
async reposition() {
|
|
37
37
|
await this.popoverElement.value?.reposition();
|
|
@@ -67,14 +67,14 @@ class H extends k {
|
|
|
67
67
|
case a.numericFields: {
|
|
68
68
|
for (let l = 0; l < t; l += 1) {
|
|
69
69
|
const i = this.layerFieldsInfo?.[l];
|
|
70
|
-
i &&
|
|
70
|
+
i && L(i) && s.push(this.buildPickListItem(i));
|
|
71
71
|
}
|
|
72
72
|
break;
|
|
73
73
|
}
|
|
74
74
|
case a.xAxisField: {
|
|
75
75
|
for (let l = 0; l < t; l += 1) {
|
|
76
76
|
const i = this.layerFieldsInfo?.[l];
|
|
77
|
-
i && (
|
|
77
|
+
i && (L(i) || K(i) || B(i)) && s.push(this.buildPickListItem(i));
|
|
78
78
|
}
|
|
79
79
|
break;
|
|
80
80
|
}
|
|
@@ -82,8 +82,8 @@ class H extends k {
|
|
|
82
82
|
const l = f(" ", n`<calcite-list-item label=" " value=" " .selected=${d("", this.selectedContent)}></calcite-list-item>`);
|
|
83
83
|
s.push(l);
|
|
84
84
|
for (let i = 0; i < t; i += 1) {
|
|
85
|
-
const
|
|
86
|
-
|
|
85
|
+
const m = this.layerFieldsInfo?.[i];
|
|
86
|
+
m && (N(m) || m.type === x.String) && s.push(this.buildPickListItem(m));
|
|
87
87
|
}
|
|
88
88
|
break;
|
|
89
89
|
}
|
|
@@ -128,15 +128,15 @@ class H extends k {
|
|
|
128
128
|
}
|
|
129
129
|
renderXAxisField() {
|
|
130
130
|
const e = this.buildPickListItems(a.xAxisField);
|
|
131
|
-
return n`<calcite-list label class=${o(r.popoverPickList)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${
|
|
131
|
+
return n`<calcite-list label class=${o(r.popoverPickList)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`;
|
|
132
132
|
}
|
|
133
133
|
renderNumericFields() {
|
|
134
134
|
const e = this.buildPickListItems(a.numericFields);
|
|
135
|
-
return n`<calcite-list label class=${o(r.popoverPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${
|
|
135
|
+
return n`<calcite-list label class=${o(r.popoverPickList)} selection-mode=multiple filter-enabled @calciteListChange=${this.onNumericFieldsChange} ${p(this.picklist)}>${e}</calcite-list>`;
|
|
136
136
|
}
|
|
137
137
|
renderSplitByField() {
|
|
138
138
|
const e = this.buildPickListItems(a.splitByField);
|
|
139
|
-
return n`<calcite-list label class=${o(r.popoverPickList)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${
|
|
139
|
+
return n`<calcite-list label class=${o(r.popoverPickList)} selection-mode=single selection-appearance=border filter-enabled @calciteListChange=${this.onDataContentTypeChange} ${p(this.picklist)}>${e}</calcite-list>`;
|
|
140
140
|
}
|
|
141
141
|
renderIntervalAlignment() {
|
|
142
142
|
const e = this.buildIntervalAlignmentPickListItems();
|
|
@@ -152,7 +152,7 @@ class H extends k {
|
|
|
152
152
|
c.Month,
|
|
153
153
|
c.Year
|
|
154
154
|
];
|
|
155
|
-
return n`<div><div class=${o(r.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${T(e?.size, 1)} ${
|
|
155
|
+
return n`<div><div class=${o(r.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${T(e?.size, 1)} ${p(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType ?? ""} ${p(this.intervalTypeElement)}>${t.map((s) => n`<calcite-option .value=${s} .label=${w(s, this._messages)} .selected=${e?.unit === s}></calcite-option>`)}</calcite-select></calcite-label><calcite-button class=${o(r.applyButton)} appearance=outline @click=${this.intervalChange}>${this._messages.apply}</calcite-button></div></div>`;
|
|
156
156
|
}
|
|
157
157
|
renderPopoverInfo() {
|
|
158
158
|
let e;
|
|
@@ -180,10 +180,10 @@ class H extends k {
|
|
|
180
180
|
}
|
|
181
181
|
render() {
|
|
182
182
|
let e;
|
|
183
|
-
return this.contentKind === a.numericFields && (e = n`<div slot=footer><calcite-fab class=${o(r.fab)} appearance=outline-fill kind=neutral .icon=${void 0} .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`), n`<div><calcite-popover class=${o(r.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} @calcitePopoverClose=${this.closePopover} .open=${this.open} label auto-close ${
|
|
183
|
+
return this.contentKind === a.numericFields && (e = n`<div slot=footer><calcite-fab class=${o(r.fab)} appearance=outline-fill kind=neutral .icon=${void 0} .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`), n`<div><calcite-popover class=${o(r.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} @calcitePopoverClose=${this.closePopover} .open=${this.open} label auto-close ${p(this.popoverElement)}><calcite-panel closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${o(r.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`;
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
|
|
186
|
+
y("arcgis-charts-config-line-chart-popover", _);
|
|
187
187
|
export {
|
|
188
|
-
|
|
188
|
+
_ as ArcgisChartsConfigLineChartPopover
|
|
189
189
|
};
|
|
@@ -5,8 +5,8 @@ import { LitElement as I, renderElement as $, safeStyleMap as L } from "@arcgis/
|
|
|
5
5
|
import { css as x, html as o } from "lit";
|
|
6
6
|
import { repeat as P } from "lit/directives/repeat.js";
|
|
7
7
|
import { u as y } from "../../chunks/useT9n.js";
|
|
8
|
-
import { j as b } from "../../chunks/chart-ui-
|
|
9
|
-
import {
|
|
8
|
+
import { j as b } from "../../chunks/chart-ui-utils.js";
|
|
9
|
+
import { a as M } from "../../chunks/index2.js";
|
|
10
10
|
import { r as d } from "../../chunks/popover-ui-utils.js";
|
|
11
11
|
const O = x`:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin)}`;
|
|
12
12
|
class k extends I {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as u } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as C, html as v } from "lit";
|
|
4
|
-
import { i as f, m,
|
|
4
|
+
import { i as f, m, U as g, s as S } from "../../chunks/chart-ui-utils.js";
|
|
5
5
|
import { u as y } from "../../chunks/useT9n.js";
|
|
6
6
|
import { createRef as a, ref as o } from "lit/directives/ref.js";
|
|
7
7
|
import { LitElement as $, createEvent as s, safeClassMap as l, nothing as c } from "@arcgis/lumina";
|
|
8
8
|
import { e as b } from "../../chunks/popover-ui-utils.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { r as E } from "../../chunks/index3.js";
|
|
10
|
+
import { R as i } from "../../chunks/rest-js-object-literals.js";
|
|
11
11
|
const n = {
|
|
12
12
|
sizeSection: "size-section",
|
|
13
13
|
dropdownText: "dropdown-text",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as p } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as m, html as s } from "lit";
|
|
4
|
-
import { i as y, m as o,
|
|
4
|
+
import { i as y, m as o, U as c, s as u } from "../../chunks/chart-ui-utils.js";
|
|
5
5
|
import { u as g } from "../../chunks/useT9n.js";
|
|
6
6
|
import { createRef as r, ref as h } from "lit/directives/ref.js";
|
|
7
7
|
import { LitElement as S, createEvent as d, safeClassMap as l, nothing as n } from "@arcgis/lumina";
|
|
8
|
-
import {
|
|
8
|
+
import { b as f, R as t } from "../../chunks/rest-js-object-literals.js";
|
|
9
9
|
const a = {
|
|
10
10
|
sizeSection: "size-section",
|
|
11
11
|
dropdownText: "dropdown-text",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c as o } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as u, html as h } from "lit";
|
|
4
|
-
import { i as p, m,
|
|
4
|
+
import { i as p, m, U as r, s as d } from "../../chunks/chart-ui-utils.js";
|
|
5
5
|
import { u as g } from "../../chunks/useT9n.js";
|
|
6
6
|
import { createRef as b, ref as f } from "lit/directives/ref.js";
|
|
7
7
|
import { LitElement as v, createEvent as F, safeClassMap as a } from "@arcgis/lumina";
|
|
@@ -4,8 +4,8 @@ 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 {
|
|
8
|
-
import {
|
|
7
|
+
import { bC as I, bD as F, t as v } from "../../chunks/index.js";
|
|
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 {
|
|
11
11
|
constructor() {
|
|
@@ -7,10 +7,10 @@ import { css as u, html as s } from "lit";
|
|
|
7
7
|
import { createRef as n, ref as c } from "lit/directives/ref.js";
|
|
8
8
|
import { LitElement as b, createEvent as h, renderElement as v, safeClassMap as o } from "@arcgis/lumina";
|
|
9
9
|
import { x as y } from "../../chunks/data.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
10
|
+
import { b as m } from "../../chunks/index2.js";
|
|
11
|
+
import { w as g, r as F } from "../../chunks/index.js";
|
|
12
12
|
import { r as $ } from "../../chunks/popover-ui-utils.js";
|
|
13
|
-
import {
|
|
13
|
+
import { d as P } from "../../chunks/chart-object-literals.js";
|
|
14
14
|
const l = {
|
|
15
15
|
label: "label",
|
|
16
16
|
fieldList: "field-list",
|