@arcgis/charts-components 5.2.0-next.55 → 5.2.0-next.57
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/{INVFC7O3.js → 2B7R5EPU.js} +1 -1
- package/dist/cdn/{WFYCP7JZ.js → 2DHUAIBZ.js} +1 -1
- package/dist/cdn/{PBSYMRFA.js → 2EDBRZSQ.js} +1 -1
- package/dist/cdn/2ULHNXRJ.js +2 -0
- package/dist/cdn/37UC5ORG.js +2 -0
- package/dist/cdn/{TRSLIVPM.js → 3MGWFTQH.js} +1 -1
- package/dist/cdn/{LLIEB6MK.js → 3Z4FG2HV.js} +1 -1
- package/dist/cdn/{SY4SHDWL.js → 4B5XCGIW.js} +1 -1
- package/dist/cdn/{35POTOZQ.js → 4L2YTJ24.js} +1 -1
- package/dist/cdn/{VQOWMMEN.js → 4MQOMRB6.js} +1 -1
- package/dist/cdn/{AMXNDR4I.js → 4PMNY6J6.js} +1 -1
- package/dist/cdn/{L3TXFMLX.js → 4SFDTXQJ.js} +1 -1
- package/dist/cdn/{R5FNLYC5.js → 53DFPXFT.js} +1 -1
- package/dist/cdn/{4JIJUMOJ.js → 5GXB34LE.js} +1 -1
- package/dist/cdn/{YQS2EQHT.js → 5PAOUYHV.js} +2 -2
- package/dist/cdn/{5IVUWORQ.js → 5WIDEL4K.js} +1 -1
- package/dist/cdn/{MQCPDAMM.js → 6HFL4FZL.js} +1 -1
- package/dist/cdn/{ZX2RKC3N.js → 6Z7SZ44K.js} +1 -1
- package/dist/cdn/7IK6J5VF.js +2 -0
- package/dist/cdn/{3GU4G523.js → A34ROM33.js} +1 -1
- package/dist/cdn/A6QLIVFM.js +45 -0
- package/dist/cdn/{XXTJGAQH.js → ALOMPW5P.js} +1 -1
- package/dist/cdn/{KFHPKJAT.js → BGTNSGMQ.js} +1 -1
- package/dist/cdn/{Y3JE7LSY.js → BM62ZXFE.js} +1 -1
- package/dist/cdn/{N5DFUGTU.js → BNBZEIMG.js} +1 -1
- package/dist/cdn/{PLSATV5N.js → C3YMGEUW.js} +1 -1
- package/dist/cdn/{SOQRI6W2.js → C64W7ELG.js} +1 -1
- package/dist/cdn/{4HW6IYHV.js → CB6BIIF2.js} +1 -1
- package/dist/cdn/{NENBP3B4.js → CD2NGAV3.js} +1 -1
- package/dist/cdn/{PD73QWUT.js → CPRSIFTK.js} +1 -1
- package/dist/cdn/{5LFGIBZK.js → DRHDCMI3.js} +1 -1
- package/dist/cdn/{GGKKUTRH.js → DTNHSQRD.js} +1 -1
- package/dist/cdn/DUAMGCAK.js +2 -0
- package/dist/cdn/{Z726E2GN.js → E4T5VUXT.js} +1 -1
- package/dist/cdn/EDYZLWGW.js +3 -0
- package/dist/cdn/{ZLUIQN7F.js → EKWX6BR7.js} +1 -1
- package/dist/cdn/{AB6TCMRN.js → EQXKSMAG.js} +1 -1
- package/dist/cdn/{Q4CX7PBA.js → EZ6DGROJ.js} +1 -1
- package/dist/cdn/{DMRE2GYB.js → F64XESDA.js} +1 -1
- package/dist/cdn/{BJJJ62EE.js → FJPWWKHZ.js} +1 -1
- package/dist/cdn/{WBEI523H.js → FQ6B5P53.js} +1 -1
- package/dist/cdn/{7FUBB222.js → G5DDARQJ.js} +1 -1
- package/dist/cdn/G5FTVXQF.js +2 -0
- package/dist/cdn/{SEORO35X.js → GHTCOHC2.js} +1 -1
- package/dist/cdn/{3OOV2HEE.js → GSD4ZLN6.js} +1 -1
- package/dist/cdn/{PNV7XBIH.js → GVUHKCSZ.js} +1 -1
- package/dist/cdn/GXGUKV7H.js +2 -0
- package/dist/cdn/{223CX3CX.js → HDCSZ2BJ.js} +2 -2
- package/dist/cdn/{2X3OAYNV.js → I6LYDJKQ.js} +1 -1
- package/dist/cdn/{BSZZXXQG.js → IDAMYFLT.js} +1 -1
- package/dist/cdn/{43ZZWFUB.js → IH2BBWAQ.js} +1 -1
- package/dist/cdn/{BPBAOPSD.js → J4C4QWY4.js} +1 -1
- package/dist/cdn/{WXQ6S6Z3.js → JXZJXDU5.js} +3 -3
- package/dist/cdn/{GGJZNR3O.js → JYROXMJN.js} +1 -1
- package/dist/cdn/{RQTGZRZH.js → KI2XMATI.js} +1 -1
- package/dist/cdn/{DY5EFYIC.js → LDBJRKCM.js} +1 -1
- package/dist/cdn/{6EEZMNAM.js → LOEMTYZB.js} +1 -1
- package/dist/cdn/M5K6IJLD.js +2 -0
- package/dist/cdn/{B45AW3O4.js → M7ZANON3.js} +1 -1
- package/dist/cdn/{LS6GKMWR.js → MCJTQ4YF.js} +1 -1
- package/dist/cdn/{VW22WSUU.js → MEQOANO2.js} +1 -1
- package/dist/cdn/MLA3N4MI.js +2 -0
- package/dist/cdn/{REPRW5PP.js → MR7KELUF.js} +1 -1
- package/dist/cdn/{ZREU3AFM.js → MY2W3RH7.js} +1 -1
- package/dist/cdn/{2IKZFZUE.js → MYK7BBLS.js} +1 -1
- package/dist/cdn/{ZFN2VAFO.js → N7D4B5LO.js} +1 -1
- package/dist/cdn/{ZB7AKPZU.js → NFU76HOO.js} +1 -1
- package/dist/cdn/{3LMD4KUV.js → NZVEN4LR.js} +1 -1
- package/dist/cdn/{QUNHRC77.js → OEYB3NZZ.js} +1 -1
- package/dist/cdn/{OL47BPWN.js → OKK5OJ6S.js} +1 -1
- package/dist/cdn/{KLS66MBI.js → OS5TUH4X.js} +1 -1
- package/dist/cdn/PHUJHKPW.js +2 -0
- package/dist/cdn/{R3RNZJIN.js → PXTV6Y3K.js} +1 -1
- package/dist/cdn/{FIL44WXR.js → QMJ75W7D.js} +1 -1
- package/dist/cdn/{CA5SZB65.js → QRJMT2DB.js} +1 -1
- package/dist/cdn/{RSSVWJA5.js → RKGAXZQB.js} +1 -1
- package/dist/cdn/{GGPWJTK3.js → RP2TRPHY.js} +1 -1
- package/dist/cdn/{N7NVDG4G.js → TT6WOAKC.js} +1 -1
- package/dist/cdn/{KVDM5PYB.js → UGOWEOTC.js} +1 -1
- package/dist/cdn/{JR4SQQU4.js → UIU5UYBO.js} +1 -1
- package/dist/cdn/{F2LCVAD2.js → UYQBMPSN.js} +1 -1
- package/dist/cdn/V23GYHYZ.js +2 -0
- package/dist/cdn/{FZNNCU2C.js → VPJVWP7S.js} +1 -1
- package/dist/cdn/{3DIYOKPZ.js → XWJ4GDXQ.js} +1 -1
- package/dist/cdn/{SPQDPL7T.js → ZAAMSMQB.js} +1 -1
- package/dist/cdn/{6L6HZOZD.js → ZCACFAKY.js} +1 -1
- package/dist/cdn/{MQYXT4ZE.js → ZKZOXEXY.js} +1 -1
- package/dist/cdn/{3GSTHSH7.js → ZMBNBTJQ.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/chart-rendering/common/interfaces.d.ts +0 -5
- package/dist/chunks/{type-guards3.js → action-bar-utils.js} +25 -33
- package/dist/chunks/axis-lines-symbol.js +7 -7
- package/dist/chunks/bar-chart-model.js +5 -5
- package/dist/chunks/box-plot-data.js +19 -19
- package/dist/chunks/box-plot-model.js +16 -16
- package/dist/chunks/chart-model.js +9 -9
- package/dist/chunks/combo-bar-line-chart-model.js +7 -7
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +19 -19
- package/dist/chunks/data.js +5 -5
- package/dist/chunks/gauge-model.js +13 -13
- package/dist/chunks/heat-chart-model.js +7 -7
- package/dist/chunks/histogram-data.js +26 -26
- package/dist/chunks/histogram-model.js +7 -7
- package/dist/chunks/index.js +174 -165
- package/dist/chunks/index2.js +1814 -1730
- package/dist/chunks/index3.js +17 -19
- package/dist/chunks/index4.js +29 -2
- package/dist/chunks/line-chart-model.js +4 -4
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/model-with-y-guides.js +23 -23
- package/dist/chunks/negative-values-stacked-to-baseline.js +12 -12
- package/dist/chunks/pie-chart-data.js +14 -14
- package/dist/chunks/pie-chart-model.js +17 -17
- package/dist/chunks/radar-chart-model.js +4 -4
- package/dist/chunks/scatterplot-model.js +13 -13
- package/dist/chunks/serial-chart-data.js +2 -2
- package/dist/chunks/serial-chart-model.js +18 -18
- package/dist/chunks/series-length.js +1 -1
- package/dist/chunks/series.js +1 -1
- package/dist/chunks/utils.js +13 -13
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +11 -11
- package/dist/chunks/x-bounds.js +15 -15
- package/dist/components/arcgis-chart/customElement.js +4541 -4668
- package/dist/components/arcgis-charts-action-bar/customElement.js +32 -29
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
- package/dist/components/arcgis-charts-info-modal/customElement.js +6 -6
- 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 +459 -457
- package/dist/json-schema/index.d.ts +22 -0
- package/dist/model/mixins/model-with-multi-axes.d.ts +1 -1
- package/dist/spec/data-source.d.ts +8 -1
- package/dist/utils/chart-config/converter/index.js +40 -40
- package/dist/utils/chart-config/utils/index.d.ts +2 -2
- package/dist/utils/data/interfaces.d.ts +4 -3
- package/dist/utils/defaults/index.d.ts +8 -1
- package/dist/utils/defaults/interfaces.d.ts +6 -1
- package/dist/utils/type-guards/chart-types.d.ts +10 -0
- package/package.json +4 -4
- package/dist/cdn/47ZP4C6W.js +0 -2
- package/dist/cdn/B7UPRHNP.js +0 -2
- package/dist/cdn/FDXN5BIJ.js +0 -2
- package/dist/cdn/LCDVDWAP.js +0 -2
- package/dist/cdn/LVOIKCIC.js +0 -45
- package/dist/cdn/PAN7QMBU.js +0 -3
- package/dist/cdn/QCVMEX4J.js +0 -2
- package/dist/cdn/RY5RNGN5.js +0 -2
- package/dist/cdn/TUBHNDX5.js +0 -2
- package/dist/cdn/UUG5P5AP.js +0 -2
- package/dist/cdn/WCPUB3NR.js +0 -2
- package/dist/cdn/YST2TFPV.js +0 -2
- /package/dist/cdn/{HRUQXEFI.js → 22WGB4CQ.js} +0 -0
- /package/dist/cdn/{C4O77AVT.js → 3CGAUDYD.js} +0 -0
- /package/dist/cdn/{K25GJKPH.js → 3FZCVKWJ.js} +0 -0
- /package/dist/cdn/{4ASVJDBN.js → 3GVTYZ2I.js} +0 -0
- /package/dist/cdn/{RTVU7ANC.js → 4EBMUPEV.js} +0 -0
- /package/dist/cdn/{OZSAA5YQ.js → 4VL2SBHK.js} +0 -0
- /package/dist/cdn/{Q3ZQR5JF.js → 7WVTY3XI.js} +0 -0
- /package/dist/cdn/{VEXNULZX.js → A2NFOGT2.js} +0 -0
- /package/dist/cdn/{SWEIMWH2.js → ASZ6YFIL.js} +0 -0
- /package/dist/cdn/{7CGAXWPM.js → AZKX3FMB.js} +0 -0
- /package/dist/cdn/{O25MQAZU.js → AZMQPJO3.js} +0 -0
- /package/dist/cdn/{6RG6AF7N.js → CDJRYMBP.js} +0 -0
- /package/dist/cdn/{ZCAHK6VZ.js → CHMLTTRN.js} +0 -0
- /package/dist/cdn/{BAPR67OA.js → CL5G6D6W.js} +0 -0
- /package/dist/cdn/{WWIRRYDD.js → CMGCZ4MF.js} +0 -0
- /package/dist/cdn/{Q5E66RNY.js → CVJSVWF3.js} +0 -0
- /package/dist/cdn/{MDPDU2BA.js → D3KIBJKD.js} +0 -0
- /package/dist/cdn/{GZZJATH3.js → DJPMW6UC.js} +0 -0
- /package/dist/cdn/{2R5BXKVB.js → EXS2KOEA.js} +0 -0
- /package/dist/cdn/{ZYK5XBZK.js → GP3LPIRJ.js} +0 -0
- /package/dist/cdn/{57VIC2YX.js → HBOYEK6P.js} +0 -0
- /package/dist/cdn/{GEHO65XE.js → HQMOMCWF.js} +0 -0
- /package/dist/cdn/{7MEYUIY2.js → HSQ32NUA.js} +0 -0
- /package/dist/cdn/{DGJATKEL.js → IUOORM26.js} +0 -0
- /package/dist/cdn/{R6XIGSQS.js → JZ5HUNM5.js} +0 -0
- /package/dist/cdn/{RLCLIRL6.js → KOCZJFY6.js} +0 -0
- /package/dist/cdn/{XVK4ONRA.js → LHDBHPXR.js} +0 -0
- /package/dist/cdn/{YS73YUW5.js → MVCB4RM7.js} +0 -0
- /package/dist/cdn/{TQLMPVI5.js → MZ2RZ62O.js} +0 -0
- /package/dist/cdn/{F7IPTEHX.js → OSUM4CWA.js} +0 -0
- /package/dist/cdn/{AFE4UMQE.js → PAQGR4DD.js} +0 -0
- /package/dist/cdn/{HWHKCIYW.js → PEEVY5UG.js} +0 -0
- /package/dist/cdn/{XWLP2CHH.js → TGEHTOWR.js} +0 -0
- /package/dist/cdn/{3UDKG6TV.js → TSSN2OW3.js} +0 -0
- /package/dist/cdn/{L5J4TYCU.js → UB36FUCN.js} +0 -0
- /package/dist/cdn/{JEW6MSOC.js → V7AEHY25.js} +0 -0
- /package/dist/cdn/{JNFMKAES.js → VNNTABNO.js} +0 -0
- /package/dist/cdn/{X6QMN2HV.js → VT6X6QMA.js} +0 -0
- /package/dist/cdn/{R6T7WJQJ.js → WKQB6Z7Z.js} +0 -0
|
@@ -1,40 +1,43 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import { b as
|
|
5
|
-
import {
|
|
6
|
-
import { u as
|
|
7
|
-
import { createRef as
|
|
8
|
-
import { LitElement as V, renderElement as
|
|
2
|
+
import { c as O } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as _, html as a } from "lit";
|
|
4
|
+
import { b as S } from "../../chunks/interfaces.js";
|
|
5
|
+
import { g as z } from "../../chunks/action-bar-utils.js";
|
|
6
|
+
import { u as $ } from "../../chunks/useT9n.js";
|
|
7
|
+
import { createRef as b, ref as C } from "lit/directives/ref.js";
|
|
8
|
+
import { LitElement as V, renderElement as y, safeStyleMap as B, createEvent as D, safeClassMap as L, nothing as s } from "@arcgis/lumina";
|
|
9
9
|
import { a as n } from "../../chunks/chart-ui-utils2.js";
|
|
10
10
|
import { i as F } from "../../chunks/rotated-state.js";
|
|
11
11
|
import { a as t, A as o, D as e } from "../../chunks/index6.js";
|
|
12
|
-
import { A as
|
|
13
|
-
import { u as
|
|
14
|
-
import { b as r, k as
|
|
15
|
-
|
|
12
|
+
import { A as k } from "../../chunks/index3.js";
|
|
13
|
+
import { u as I } from "../../chunks/chart-object-literals.js";
|
|
14
|
+
import { b as r, k as M } from "../../chunks/type-guards2.js";
|
|
15
|
+
function N(d) {
|
|
16
|
+
return d?.tagName.toLowerCase() === "arcgis-chart";
|
|
17
|
+
}
|
|
18
|
+
const R = {
|
|
16
19
|
actionBar: "action-bar"
|
|
17
|
-
},
|
|
18
|
-
class
|
|
20
|
+
}, Z = _`.action-bar{display:flex;flex-direction:column;height:100%;border-right:1px solid var(--calcite-color-border-2);width:fit-content}:host{z-index:1001}`;
|
|
21
|
+
class W extends V {
|
|
19
22
|
constructor() {
|
|
20
|
-
super(...arguments), this.calciteActionBar =
|
|
23
|
+
super(...arguments), this.calciteActionBar = b(), this.exportCalciteActionBar = b(), this.expandAction = null, this._messages = $(), this.commonStrings = $({ name: "common", blocking: !0 }), this.handleMouseOver = (l) => {
|
|
21
24
|
if (this.calciteActionBar.value && !this.calciteActionBar.value?.expanded) {
|
|
22
25
|
const c = l.target;
|
|
23
26
|
this.actionTooltip !== void 0 && (this.actionTooltip = n(this.actionTooltip));
|
|
24
27
|
let i;
|
|
25
|
-
c?.tagName === "CALCITE-ACTION" ? i = c : (c?.tagName === "CALCITE-ACTION-MENU" || c?.tagName === "DIV") && (i = c.firstChild), i !== void 0 && (this.actionTooltip =
|
|
28
|
+
c?.tagName === "CALCITE-ACTION" ? i = c : (c?.tagName === "CALCITE-ACTION-MENU" || c?.tagName === "DIV") && (i = c.firstChild), i !== void 0 && (this.actionTooltip = y(a`<calcite-tooltip style=${B({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${i} open placement=trailing-end>${i.text}</calcite-tooltip>`), document.body.appendChild(this.actionTooltip));
|
|
26
29
|
} else
|
|
27
30
|
this.actionTooltip = n(this.actionTooltip);
|
|
28
|
-
}, this._csvExportExclusionList = [
|
|
31
|
+
}, this._csvExportExclusionList = [I.ScatterSeries, I.BoxPlotSeries], this.actionTooltip = null, this.forceDisableActions = !1, this.editChartToggle = t.Inactive, this.editChartState = o.Disabled, this.legendToggle = t.Inactive, this.legendState = o.Enabled, this.rotateChartToggle = t.Inactive, this.rotateChartState = o.Enabled, this.filterBySelectionToggle = t.Inactive, this.filterBySelectionState = o.Enabled, this.filterByExtentToggle = t.Inactive, this.filterByExtentState = o.Enabled, this.actionBarSelectionMode = k.MultiSelectionWithCtrlKey, this.selectionToggle = t.Inactive, this.selectionState = o.Enabled, this.zoomToggle = t.Inactive, this.zoomState = o.Enabled, this.fullExtentToggle = t.Inactive, this.fullExtentState = o.Enabled, this.clearSelectionToggle = t.Inactive, this.clearSelectionState = o.Enabled, this.switchSelectionToggle = t.Inactive, this.switchSelectionState = o.Enabled, this.exportAsImageState = o.Enabled, this.exportAsCSVState = o.Enabled, this.disableCSVExportForChartTypes = this._csvExportExclusionList, this.csvExportExclusionList = this._csvExportExclusionList, this.exportActionState = o.Enabled, this.expanded = !1, this.hiddenActions = [e.EditChart], this.arcgisActionBarToggle = D(), this.arcgisDefaultActionSelect = D();
|
|
29
32
|
}
|
|
30
33
|
static {
|
|
31
34
|
this.properties = { actionTooltip: 16, messageOverrides: 0, chartType: 1, chartElement: 0, forceDisableActions: 5, editChartToggle: 1, editChartState: 1, editChartTitle: 1, legendToggle: 1, legendState: 1, legendTitle: 1, rotateChartToggle: 1, rotateChartState: 1, rotateChartTitle: 1, filterBySelectionToggle: 1, filterBySelectionState: 1, filterBySelectionTitle: 1, filterByExtentToggle: 1, filterByExtentState: 1, filterByExtentTitle: 1, actionBarSelectionMode: 1, selectionToggle: 1, selectionState: 1, selectionTitle: 1, zoomToggle: 1, zoomState: 1, zoomTitle: 1, fullExtentToggle: 1, fullExtentState: 1, fullExtentTitle: 1, clearSelectionToggle: 1, clearSelectionState: 1, clearSelectionTitle: 1, switchSelectionToggle: 1, switchSelectionState: 1, switchSelectionTitle: 1, exportAsImageState: 1, exportAsImageTitle: 1, exportAsCSVState: 1, exportAsCSVTitle: 1, disableCSVExportForChartTypes: 0, csvExportExclusionList: 0, exportActionState: 1, expanded: 5, hiddenActions: 0 };
|
|
32
35
|
}
|
|
33
36
|
static {
|
|
34
|
-
this.styles =
|
|
37
|
+
this.styles = Z;
|
|
35
38
|
}
|
|
36
39
|
load() {
|
|
37
|
-
this.chartElement =
|
|
40
|
+
this.chartElement = N(this.el.parentElement) ? this.el.parentElement : void 0;
|
|
38
41
|
}
|
|
39
42
|
updated() {
|
|
40
43
|
this.handleExpandTooltip();
|
|
@@ -52,7 +55,7 @@ class Z extends V {
|
|
|
52
55
|
this.editChartToggle = this.editChartToggle === t.Active ? t.Inactive : t.Active, i.actionActive = this.editChartToggle === t.Active;
|
|
53
56
|
break;
|
|
54
57
|
case e.Legend:
|
|
55
|
-
this.legendToggle = this.legendToggle === t.Active ? t.Inactive : t.Active, i.actionActive = this.legendToggle === t.Active, r(this.chartElement?.model) &&
|
|
58
|
+
this.legendToggle = this.legendToggle === t.Active ? t.Inactive : t.Active, i.actionActive = this.legendToggle === t.Active, r(this.chartElement?.model) && M(this.chartElement?.model) && (this.chartElement.model.legendVisibility = i.actionActive), this.chartElement?.model && (r(this.chartElement.model) ? M(this.chartElement.model) && (this.chartElement.model.legendVisibility = i.actionActive) : this.chartElement.model.rotated = this.chartElement.model.rotated !== !0);
|
|
56
59
|
break;
|
|
57
60
|
case e.RotateChart:
|
|
58
61
|
this.rotateChartToggle = this.rotateChartToggle === t.Active ? t.Inactive : t.Active, i.actionActive = this.rotateChartToggle === t.Active, this.chartElement?.model && (r(this.chartElement.model) ? F(this.chartElement.model) && (this.chartElement.model.rotated = i.actionActive) : this.chartElement.model.rotated = this.chartElement.model.rotated !== !0);
|
|
@@ -67,7 +70,7 @@ class Z extends V {
|
|
|
67
70
|
this.selectionToggle = t.Active, this.zoomToggle = t.Inactive, i.actionActive = this.selectionToggle === t.Active, this.chartElement !== void 0 && (this.chartElement.actionMode = this.actionBarSelectionMode);
|
|
68
71
|
break;
|
|
69
72
|
case e.Zoom:
|
|
70
|
-
this.zoomToggle = t.Active, this.selectionToggle = t.Inactive, i.actionActive = this.zoomToggle === t.Active, this.chartElement !== void 0 && (this.chartElement.actionMode =
|
|
73
|
+
this.zoomToggle = t.Active, this.selectionToggle = t.Inactive, i.actionActive = this.zoomToggle === t.Active, this.chartElement !== void 0 && (this.chartElement.actionMode = k.Zoom);
|
|
71
74
|
break;
|
|
72
75
|
case e.ClearSelection:
|
|
73
76
|
i.actionActive = this.clearSelectionToggle === t.Active, this.chartElement?.clearSelection();
|
|
@@ -106,7 +109,7 @@ class Z extends V {
|
|
|
106
109
|
}
|
|
107
110
|
handleExpandTooltip() {
|
|
108
111
|
this.expandAction === null && (this.expandAction = this.calciteActionBar.value?.shadowRoot?.querySelector("calcite-action") ?? null, this.expandAction !== null && (this.listenOn(this.expandAction, "mouseenter", () => {
|
|
109
|
-
!this.calciteActionBar.value?.expanded && this.expandAction !== null && !document.body.contains(this.actionTooltip) && (this.actionTooltip =
|
|
112
|
+
!this.calciteActionBar.value?.expanded && this.expandAction !== null && !document.body.contains(this.actionTooltip) && (this.actionTooltip = y(a`<calcite-tooltip style=${B({ opacity: 1, zIndex: "var(--calcite-floating-ui-z-index)" })} .referenceElement=${this.expandAction} open placement=trailing-end>${this._messages.expand ?? ""}</calcite-tooltip>`), document.body.appendChild(this.actionTooltip));
|
|
110
113
|
}), this.listenOn(this.expandAction, "mouseleave", () => {
|
|
111
114
|
!this.calciteActionBar.value?.expanded && this.actionTooltip !== null && (this.actionTooltip = n(this.actionTooltip));
|
|
112
115
|
}), this.listenOn(this.expandAction, "click", () => {
|
|
@@ -114,19 +117,19 @@ class Z extends V {
|
|
|
114
117
|
})));
|
|
115
118
|
}
|
|
116
119
|
renderDefaultActions() {
|
|
117
|
-
const l = z(this.chartType).filter((
|
|
120
|
+
const l = z(this.chartType).filter((w) => !this.hiddenActions?.includes(w)), c = this.chartElement?.layer && "isTable" in this.chartElement.layer ? this.chartElement.layer.isTable : !1, i = l.includes(e.EditChart), h = l.includes(e.Legend), g = l.includes(e.RotateChart), m = l.includes(e.FilterBySelection), p = l.includes(e.FilterByExtent) && !c, u = l.includes(e.Zoom), x = l.includes(e.Selection), A = l.includes(e.ClearSelection), v = l.includes(e.FullExtent), f = l.includes(e.SwitchSelection), E = l.includes(e.ExportAsImage), T = l.includes(e.ExportAsCSV);
|
|
118
121
|
return [
|
|
119
|
-
h ||
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
122
|
+
h || g ? a`<calcite-action-group>${i ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.EditChart ?? s} icon=gear .text=${this.commonStrings?.utilsStrings.actions?.editChart ?? ""} .textEnabled=${this.expanded} .active=${this.editChartToggle === t.Active} .disabled=${this.editChartState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${h ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.Legend ?? s} .text=${this.legendTitle ?? this._messages?.legend ?? ""} .textEnabled=${this.expanded} .active=${this.legendToggle === t.Active} .disabled=${this.legendState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}><calcite-icon icon=legend scale=s flip-rtl></calcite-icon></calcite-action></div>` : null}${g ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.RotateChart ?? s} icon=rotate .text=${this.rotateChartTitle ?? this._messages?.rotateChart ?? ""} .textEnabled=${this.expanded} .active=${this.rotateChartToggle === t.Active} .disabled=${this.rotateChartState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}</calcite-action-group>` : null,
|
|
123
|
+
m || p ? a`<calcite-action-group>${m ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.FilterBySelection ?? s} icon=selection-filter .text=${this.filterBySelectionTitle ?? this._messages?.filterBySelection ?? ""} .textEnabled=${this.expanded} .active=${this.filterBySelectionToggle === t.Active} .disabled=${this.filterBySelectionState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${p ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.FilterByExtent ?? s} icon=extent-filter .text=${this.filterByExtentTitle ?? this._messages?.filterByExtent ?? ""} .textEnabled=${this.expanded} .active=${this.filterByExtentToggle === t.Active} .disabled=${this.filterByExtentState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}</calcite-action-group>` : null,
|
|
124
|
+
x || u || v || A || f ? a`<calcite-action-group>${u ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.Zoom ?? s} icon=magnifying-glass .text=${this.zoomTitle ?? this._messages?.zoom ?? ""} .textEnabled=${this.expanded} .active=${this.zoomToggle === t.Active} .disabled=${this.zoomState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${x ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.Selection ?? s} icon=cursor-selection .text=${this.selectionTitle ?? this._messages?.selection ?? ""} .textEnabled=${this.expanded} .active=${this.selectionToggle === t.Active} .disabled=${this.selectionState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${A ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.ClearSelection ?? s} icon=erase .text=${this.clearSelectionTitle ?? this._messages?.clearSelection ?? ""} .textEnabled=${this.expanded} .active=${this.clearSelectionToggle === t.Active} .disabled=${this.clearSelectionState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${v ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.FullExtent ?? s} icon=zoom-out-fixed .text=${this.fullExtentTitle ?? this._messages?.fullExtent ?? ""} .textEnabled=${this.expanded} .active=${this.fullExtentToggle === t.Active} .disabled=${this.fullExtentState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}${f ? a`<div @mouseover=${this.handleMouseOver}><calcite-action id=${e.SwitchSelection ?? s} icon=arrow-right-left .text=${this.switchSelectionTitle ?? this._messages?.switchSelection ?? ""} .textEnabled=${this.expanded} .active=${this.switchSelectionToggle === t.Active} .disabled=${this.switchSelectionState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick}></calcite-action></div>` : null}</calcite-action-group>` : null,
|
|
125
|
+
E || T ? a`<calcite-action-menu .label=${this._messages?.export ?? ""} ${C(this.exportCalciteActionBar)}><calcite-action id=export icon=export .text=${this._messages?.export ?? ""} .textEnabled=${this.expanded} .disabled=${this.exportActionState === o.Disabled || this.forceDisableActions} @mouseover=${this.handleMouseOver} slot=trigger></calcite-action>${E ? a`<div><calcite-action id=${e.ExportAsImage ?? s} icon=graph-bar .text=${this.exportAsImageTitle ?? this._messages?.exportAsImage ?? ""} .disabled=${this.exportAsImageState === o.Disabled || this.forceDisableActions} @click=${this.onDefaultActionClick} text-enabled></calcite-action></div>` : null}${T ? a`<div><calcite-action id=${e.ExportAsCSV ?? s} icon=table .text=${this.exportAsCSVTitle ?? this._messages?.exportAsTable ?? ""} .disabled=${this.exportAsCSVState === o.Disabled || this.forceDisableActions || this.chartType && (this.disableCSVExportForChartTypes.includes(this.chartType) || this.csvExportExclusionList.includes(this.chartType))} @click=${this.onDefaultActionClick} text-enabled></calcite-action></div>` : null}</calcite-action-menu>` : null
|
|
123
126
|
];
|
|
124
127
|
}
|
|
125
128
|
render() {
|
|
126
|
-
return a`<calcite-action-bar class=${L(
|
|
129
|
+
return a`<calcite-action-bar class=${L(R.actionBar)} @calciteActionBarToggle=${this.handleCalciteActionBarToggle} @mouseout=${this.handleMouseOut} .expanded=${this.expanded} .messageOverrides=${{ expand: this._messages.expand, collapse: this._messages.collapse }} overflow-actions-disabled ${C(this.calciteActionBar)}><slot name=${S.customActionTop} @slotchange=${this.handleSlotChange}></slot>${this.renderDefaultActions()}<slot name=${S.customActionBelow} @slotchange=${this.handleSlotChange}></slot></calcite-action-bar>`;
|
|
127
130
|
}
|
|
128
131
|
}
|
|
129
|
-
|
|
132
|
+
O("arcgis-charts-action-bar", W);
|
|
130
133
|
export {
|
|
131
|
-
|
|
134
|
+
W as ArcgisChartsActionBar
|
|
132
135
|
};
|
|
@@ -13,7 +13,7 @@ import { LitElement as U, createEvent as b, safeClassMap as l, renderElement as
|
|
|
13
13
|
import { d as S, f as z, F as M, C as F, m as R } from "../../chunks/index3.js";
|
|
14
14
|
import { x as K } from "../../chunks/data.js";
|
|
15
15
|
import { an as B, k as j, Y as A, bb as H } from "../../chunks/index2.js";
|
|
16
|
-
import {
|
|
16
|
+
import { w as q, aj as W } from "../../chunks/index.js";
|
|
17
17
|
import { r as Z } from "../../chunks/popover-ui-utils.js";
|
|
18
18
|
import { r as d, s as L, u as C, m as f } from "../../chunks/chart-object-literals.js";
|
|
19
19
|
import { S as h } from "../../chunks/common.js";
|
|
@@ -14,9 +14,9 @@ import { R as L } from "../../chunks/rest-js-object-literals.js";
|
|
|
14
14
|
import { t as u, r as z, s as p } from "../../chunks/chart-object-literals.js";
|
|
15
15
|
import { S as m } from "../../chunks/common.js";
|
|
16
16
|
import { e as N, p as B } from "../../chunks/popover-ui-utils.js";
|
|
17
|
-
import {
|
|
17
|
+
import { w as K, aj as _ } from "../../chunks/index.js";
|
|
18
18
|
import { a2 as O, bh as P, bb as H, bu as M, bk as U } from "../../chunks/index2.js";
|
|
19
|
-
import { d as
|
|
19
|
+
import { d as j, m as W } from "../../chunks/index3.js";
|
|
20
20
|
const R = D`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.popover-pick-list{font-size:small;max-width:var(--arcgis-charts-config-popover-pick-list-max-width)}.sort-icon-color{color:#000}.sort-y-axis{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}.panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}.panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}.panel .apply-button{width:17rem}`, o = {
|
|
21
21
|
name: "bar-chart-data-popover",
|
|
22
22
|
header: "header",
|
|
@@ -102,7 +102,7 @@ class q extends I {
|
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
104
|
buildPickListItem(e) {
|
|
105
|
-
return f(e.name, a`<calcite-list-item .label=${
|
|
105
|
+
return f(e.name, a`<calcite-list-item .label=${j(this.layerFieldsInfo, e.name)} .value=${e.name} .selected=${h(e.name, this.selectedContent)}></calcite-list-item>`);
|
|
106
106
|
}
|
|
107
107
|
buildPickListItems(e) {
|
|
108
108
|
const t = this.layerFieldsInfo?.length ?? 0, i = [];
|
|
@@ -204,7 +204,7 @@ class q extends I {
|
|
|
204
204
|
p.Month,
|
|
205
205
|
p.Year
|
|
206
206
|
];
|
|
207
|
-
return a`<div><div class=${c(o.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${w(e?.size, 1)} ${d(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType ?? ""} ${d(this.intervalTypeElement)}>${t.map((i) => a`<calcite-option .value=${i} .label=${
|
|
207
|
+
return a`<div><div class=${c(o.sizeSection)}><calcite-label scale=m>${this._messages.intervalSize}<calcite-input type=number scale=m min=1 step=any .value=${w(e?.size, 1)} ${d(this.intervalSizeElement)}></calcite-input></calcite-label><calcite-label scale=m>${this._messages.intervalType}<calcite-select .label=${this._messages.intervalType ?? ""} ${d(this.intervalTypeElement)}>${t.map((i) => a`<calcite-option .value=${i} .label=${W(i, this._messages)} .selected=${e?.unit === i}></calcite-option>`)}</calcite-select></calcite-label><calcite-button class=${c(o.applyButton)} appearance=outline @click=${this.intervalChange}>${this._messages.apply}</calcite-button></div></div>`;
|
|
208
208
|
}
|
|
209
209
|
renderPopoverInfo() {
|
|
210
210
|
let e;
|
|
@@ -5,7 +5,7 @@ import { u as m } from "../../chunks/useT9n.js";
|
|
|
5
5
|
import { createRef as d, ref as g } from "lit/directives/ref.js";
|
|
6
6
|
import { LitElement as C, createEvent as s, safeClassMap as n } from "@arcgis/lumina";
|
|
7
7
|
import { e as v } from "../../chunks/popover-ui-utils.js";
|
|
8
|
-
import {
|
|
8
|
+
import { aF as f } from "../../chunks/index.js";
|
|
9
9
|
const l = {
|
|
10
10
|
panelChildrenContainer: "panel-children-container"
|
|
11
11
|
}, u = 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)}:host{overflow-y:auto;width:min-content}.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}`;
|
|
@@ -6,7 +6,7 @@ import { u as v } from "../../chunks/useT9n.js";
|
|
|
6
6
|
import { createRef as y, ref as S } from "lit/directives/ref.js";
|
|
7
7
|
import { LitElement as b, createEvent as a, safeClassMap as p } from "@arcgis/lumina";
|
|
8
8
|
import { e as u } from "../../chunks/popover-ui-utils.js";
|
|
9
|
-
import {
|
|
9
|
+
import { aF as m } from "../../chunks/index.js";
|
|
10
10
|
import { i as $ } from "../../chunks/rest-js-object-literals.js";
|
|
11
11
|
const d = {
|
|
12
12
|
panelChildrenContainer: "panel-children-container"
|
|
@@ -15,7 +15,7 @@ import { css as X, html as h } from "lit";
|
|
|
15
15
|
import { createRef as Z, ref as K } from "lit/directives/ref.js";
|
|
16
16
|
import { u as P } from "../../chunks/useT9n.js";
|
|
17
17
|
import { c as j, a as $, g as q } from "../../chunks/store.js";
|
|
18
|
-
import {
|
|
18
|
+
import { d4 as Y, _ as Q, d5 as J, K as ee, b$ as te } from "../../chunks/index2.js";
|
|
19
19
|
import { A as ae } from "../../chunks/axis-model-wrapper.js";
|
|
20
20
|
import { h as se, f as y } from "../../chunks/web-component-utils.js";
|
|
21
21
|
import { a as ie } from "../../chunks/chart-ui-utils2.js";
|
|
@@ -6,7 +6,7 @@ import { i as p, m as c, s as y, U as r } from "../../chunks/chart-ui-utils2.js"
|
|
|
6
6
|
import { u } from "../../chunks/useT9n.js";
|
|
7
7
|
import { createRef as S, ref as d } from "lit/directives/ref.js";
|
|
8
8
|
import { LitElement as g, createEvent as f, safeClassMap as n } from "@arcgis/lumina";
|
|
9
|
-
import {
|
|
9
|
+
import { ai as b } from "../../chunks/index.js";
|
|
10
10
|
import { i as v } from "../../chunks/rest-js-object-literals.js";
|
|
11
11
|
const C = {
|
|
12
12
|
arial: "Arial",
|
|
@@ -11,7 +11,7 @@ import { createRef as h, ref as u } from "lit/directives/ref.js";
|
|
|
11
11
|
import { LitElement as V, createEvent as U, renderElement as M, safeStyleMap as L, safeClassMap as o } from "@arcgis/lumina";
|
|
12
12
|
import { m as W, q as Y, r as j } from "../../chunks/type-guards2.js";
|
|
13
13
|
import { M as p, i as H, a1 as A, aI as _ } from "../../chunks/index2.js";
|
|
14
|
-
import {
|
|
14
|
+
import { a0 as J } from "../../chunks/index.js";
|
|
15
15
|
import { q as m, p as K } from "../../chunks/index5.js";
|
|
16
16
|
import { r as Q } from "../../chunks/popover-ui-utils.js";
|
|
17
17
|
import { i as g, g as ee } from "../../chunks/rest-js-object-literals.js";
|
|
@@ -17,7 +17,7 @@ import { e as X, a as Z } from "../../chunks/store.js";
|
|
|
17
17
|
import { H as j } from "../../chunks/common.js";
|
|
18
18
|
import { i as G } from "../../chunks/rest-js-object-literals.js";
|
|
19
19
|
import { r as m, m as h, d as p, u as C, h as u, e as F, i as Y } from "../../chunks/chart-object-literals.js";
|
|
20
|
-
import {
|
|
20
|
+
import { w as J, k as Q, l as d } from "../../chunks/index.js";
|
|
21
21
|
import { an as S } from "../../chunks/index2.js";
|
|
22
22
|
import { i as ee } from "../../chunks/index4.js";
|
|
23
23
|
import { r as ae } from "../../chunks/popover-ui-utils.js";
|
|
@@ -15,7 +15,7 @@ import { C as x, k } from "../../chunks/class-breaks.js";
|
|
|
15
15
|
import { R as E } from "../../chunks/rest-js-object-literals.js";
|
|
16
16
|
import { r as _, i as R, e as C } from "../../chunks/chart-object-literals.js";
|
|
17
17
|
import { e as N } from "../../chunks/popover-ui-utils.js";
|
|
18
|
-
import {
|
|
18
|
+
import { w as B, aF as M } from "../../chunks/index.js";
|
|
19
19
|
import { bb as H, bk as O } from "../../chunks/index2.js";
|
|
20
20
|
const q = T`.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",
|
|
@@ -9,7 +9,7 @@ import { u as N } from "../../chunks/useT9n.js";
|
|
|
9
9
|
import { css as F, html as c } from "lit";
|
|
10
10
|
import { createRef as b, ref as v } from "lit/directives/ref.js";
|
|
11
11
|
import { LitElement as B, createEvent as $, renderElement as _, safeStyleMap as O, safeClassMap as o } from "@arcgis/lumina";
|
|
12
|
-
import {
|
|
12
|
+
import { t as H, I as K } from "../../chunks/index.js";
|
|
13
13
|
import { d as A } from "../../chunks/index3.js";
|
|
14
14
|
import { d as U } from "../../chunks/type-guards.js";
|
|
15
15
|
import { r as z } from "../../chunks/popover-ui-utils.js";
|
|
@@ -12,7 +12,7 @@ import { g as s } from "../../chunks/chart-object-literals.js";
|
|
|
12
12
|
import { e as P } from "../../chunks/popover-ui-utils.js";
|
|
13
13
|
import { d as S } from "../../chunks/index3.js";
|
|
14
14
|
import { bk as k } from "../../chunks/index2.js";
|
|
15
|
-
import {
|
|
15
|
+
import { aF as T } from "../../chunks/index.js";
|
|
16
16
|
const l = {
|
|
17
17
|
symbolPropertyPopover: "symbol-property-popover",
|
|
18
18
|
colorPicker: "color-picker",
|
|
@@ -10,7 +10,7 @@ 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
12
|
import { r as c, s as f, m as h } from "../../chunks/chart-object-literals.js";
|
|
13
|
-
import {
|
|
13
|
+
import { w as L, aj as P } from "../../chunks/index.js";
|
|
14
14
|
import { d as v, m as w } from "../../chunks/index3.js";
|
|
15
15
|
import { an as C, bb as _ } from "../../chunks/index2.js";
|
|
16
16
|
import { r as N } from "../../chunks/popover-ui-utils.js";
|
|
@@ -12,7 +12,7 @@ import { c as $, b as F, e as d, f as I, s as T } from "../../chunks/chart-ui-ut
|
|
|
12
12
|
import { R as x } from "../../chunks/rest-js-object-literals.js";
|
|
13
13
|
import { t as g, s as c } from "../../chunks/chart-object-literals.js";
|
|
14
14
|
import { e as A, p as D } from "../../chunks/popover-ui-utils.js";
|
|
15
|
-
import {
|
|
15
|
+
import { w as E, aj as S } from "../../chunks/index.js";
|
|
16
16
|
import { d as z, m as w } from "../../chunks/index3.js";
|
|
17
17
|
import { bh as N, bk as L, bb as K, bu as B } from "../../chunks/index2.js";
|
|
18
18
|
const _ = P`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.popover-pick-list{font-size:small;max-width:var(--arcgis-charts-config-popover-pick-list-max-width)}.sort-icon-color{color:#000}.sort-y-axis{transform:rotate(90deg)}calcite-panel{max-height:60vh}calcite-panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}calcite-panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}calcite-panel .apply-button{width:17rem}`, r = {
|
|
@@ -6,7 +6,7 @@ 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 {
|
|
9
|
+
import { aF as E } from "../../chunks/index.js";
|
|
10
10
|
import { g as i } from "../../chunks/rest-js-object-literals.js";
|
|
11
11
|
const n = {
|
|
12
12
|
sizeSection: "size-section",
|
|
@@ -10,10 +10,10 @@ import { css as L, html as n } from "lit";
|
|
|
10
10
|
import { createRef as C, ref as h } from "lit/directives/ref.js";
|
|
11
11
|
import { LitElement as y, createEvent as b, safeClassMap as l } from "@arcgis/lumina";
|
|
12
12
|
import { e as F, p as I } from "../../chunks/popover-ui-utils.js";
|
|
13
|
-
import {
|
|
13
|
+
import { w as D } from "../../chunks/index.js";
|
|
14
14
|
import { d as x } from "../../chunks/index3.js";
|
|
15
15
|
import { bh as S, bk as T } from "../../chunks/index2.js";
|
|
16
|
-
import { R as
|
|
16
|
+
import { R as w } from "../../chunks/rest-js-object-literals.js";
|
|
17
17
|
import { a as r } from "../../chunks/common.js";
|
|
18
18
|
const s = {
|
|
19
19
|
name: "pie-chart-data-popover",
|
|
@@ -23,7 +23,7 @@ const s = {
|
|
|
23
23
|
flipClass: "sort-counter-clockwise",
|
|
24
24
|
sortOrderPickList: "sort-order-pick-list",
|
|
25
25
|
panel: "panel"
|
|
26
|
-
},
|
|
26
|
+
}, E = L`.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-counter-clockwise{transform:scaleX(-1)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}`;
|
|
27
27
|
class A extends y {
|
|
28
28
|
constructor() {
|
|
29
29
|
super(...arguments), this._messages = u(), this.commonStrings = u({ name: "common", blocking: !0 }), this.picklist = C(), this.popoverElement = C(), this.placement = "leading", this.offsetDistance = -200, this.pickListHasChanged = !1, this.aggregationLabels = [], this.open = !1, this.layerFieldsInfo = [], this.arcgisChartsConfigPieChartDataPopoverChange = b(), this.arcgisChartsConfigPopoverClose = b();
|
|
@@ -32,7 +32,7 @@ class A extends y {
|
|
|
32
32
|
this.properties = { aggregationLabels: 16, messageOverrides: 0, headingTitle: 1, referenceElement: 0, open: 5, contentKind: 1, layerFieldsInfo: 0, selectedContent: 1 };
|
|
33
33
|
}
|
|
34
34
|
static {
|
|
35
|
-
this.styles =
|
|
35
|
+
this.styles = E;
|
|
36
36
|
}
|
|
37
37
|
async reposition() {
|
|
38
38
|
await this.popoverElement.value?.reposition();
|
|
@@ -96,7 +96,7 @@ class A extends y {
|
|
|
96
96
|
i.push(c);
|
|
97
97
|
for (let a = 0; a < t; a += 1) {
|
|
98
98
|
const p = this.layerFieldsInfo[a];
|
|
99
|
-
(S(p) || p.type ===
|
|
99
|
+
(S(p) || p.type === w.String) && i.push(this.buildPickListItem(p));
|
|
100
100
|
}
|
|
101
101
|
break;
|
|
102
102
|
}
|
|
@@ -8,7 +8,7 @@ import { css as _, html as d } from "lit";
|
|
|
8
8
|
import { createRef as m, ref as g } from "lit/directives/ref.js";
|
|
9
9
|
import { LitElement as z, renderElement as S, safeStyleMap as u, safeClassMap as s } from "@arcgis/lumina";
|
|
10
10
|
import { b as h } from "../../chunks/common.js";
|
|
11
|
-
import {
|
|
11
|
+
import { aA as I, aB as y } from "../../chunks/index.js";
|
|
12
12
|
import { r as P } from "../../chunks/popover-ui-utils.js";
|
|
13
13
|
import { i as w } from "../../chunks/rest-js-object-literals.js";
|
|
14
14
|
const a = {
|
|
@@ -5,7 +5,7 @@ import { u as m } from "../../chunks/useT9n.js";
|
|
|
5
5
|
import { createRef as d, ref as g } from "lit/directives/ref.js";
|
|
6
6
|
import { LitElement as C, createEvent as i, safeClassMap as r } from "@arcgis/lumina";
|
|
7
7
|
import { e as v } from "../../chunks/popover-ui-utils.js";
|
|
8
|
-
import {
|
|
8
|
+
import { aF as f } from "../../chunks/index.js";
|
|
9
9
|
const c = {
|
|
10
10
|
panelChildrenContainer: "panel-children-container"
|
|
11
11
|
}, u = 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)}:host{overflow-y:auto;width:min-content}.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}`;
|
|
@@ -9,7 +9,7 @@ import { u as C } from "../../chunks/useT9n.js";
|
|
|
9
9
|
import { css as V, html as r } from "lit";
|
|
10
10
|
import { createRef as h, ref as c } from "lit/directives/ref.js";
|
|
11
11
|
import { LitElement as _, createEvent as x, renderElement as D, safeClassMap as i, safeStyleMap as E } from "@arcgis/lumina";
|
|
12
|
-
import {
|
|
12
|
+
import { a1 as N, I, aF as R } from "../../chunks/index.js";
|
|
13
13
|
import { d as b } from "../../chunks/index3.js";
|
|
14
14
|
import { r as P } from "../../chunks/popover-ui-utils.js";
|
|
15
15
|
import { i as T } from "../../chunks/rest-js-object-literals.js";
|
|
@@ -7,7 +7,7 @@ import { LitElement as v, createEvent as c, safeClassMap as n, renderElement as
|
|
|
7
7
|
import { repeat as $ } from "lit/directives/repeat.js";
|
|
8
8
|
import { g as R } from "../../chunks/chart-ui-utils.js";
|
|
9
9
|
import { r as I } from "../../chunks/popover-ui-utils.js";
|
|
10
|
-
import {
|
|
10
|
+
import { cu as b } from "../../chunks/index2.js";
|
|
11
11
|
import { c as L } from "../../chunks/model-types.js";
|
|
12
12
|
import { M as s } from "../../chunks/common.js";
|
|
13
13
|
const h = {
|
|
@@ -3,10 +3,10 @@ import { c as d } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css as c, html as r } from "lit";
|
|
4
4
|
import { LitElement as h, safeClassMap as s, safeStyleMap as i } from "@arcgis/lumina";
|
|
5
5
|
import { H as a } from "../../chunks/resources.js";
|
|
6
|
-
import {
|
|
6
|
+
import { ax as g, ay as m, e as l, av as p } from "../../chunks/index.js";
|
|
7
7
|
import { p as f, B as u } from "../../chunks/index3.js";
|
|
8
|
-
const
|
|
9
|
-
class
|
|
8
|
+
const x = c`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:block;width:auto;height:auto;overflow:auto}.panel-children-container{display:flex}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}.panel-children-container{padding:0 1rem;margin-top:1rem}.info-modal-container{box-sizing:border-box;width:-webkit-fill-available;height:100%;display:grid;position:absolute;place-items:center;align-content:center;justify-content:center;padding:1rem;text-align:start}.info-modal-container h3.heading-true{display:flex;margin-bottom:auto;background:#0000000d;height:30px;padding:.5rem;justify-self:stretch;text-align:start;align-items:center}.info-modal-container h3.heading-false{background:#0000000d;margin-bottom:auto;text-align:start}.info-modal-container p{justify-self:stretch;text-align:start}.chart-loader-overlay{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;z-index:1001}`;
|
|
9
|
+
class C extends h {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments), this.message = "", this.heading = "", this.showLoader = !1;
|
|
12
12
|
}
|
|
@@ -14,7 +14,7 @@ class b extends h {
|
|
|
14
14
|
this.properties = { message: 1, heading: 1, showLoader: 5, loaderColors: 0, calciteThemeColors: 0 };
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
|
-
this.styles =
|
|
17
|
+
this.styles = x;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
20
|
let t = null;
|
|
@@ -31,7 +31,7 @@ class b extends h {
|
|
|
31
31
|
})}><calcite-loader scale=s label=Loading></calcite-loader></div>` : this.message !== void 0 ? t = r`<div class=${s(a.InfoModalContainer)} style=${i({ background: `rgb(${e.toString()})` })}><h3 class=${s(this.heading !== void 0 ? "heading-true" : "heading-false")} style=${i({ color: `rgb(${o.toString()})` })}>${this.heading}</h3><p style=${i({ color: `rgb(${o.toString()})` })} .innerHTML=${u(this.message) ?? ""}></p></div>` : t = r`<div class=${`${a.InfoModalContainer} ${a.Hide}`}></div>`, t;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
d("arcgis-charts-info-modal",
|
|
34
|
+
d("arcgis-charts-info-modal", C);
|
|
35
35
|
export {
|
|
36
|
-
|
|
36
|
+
C as ArcgisChartsInfoModal
|
|
37
37
|
};
|