@arcgis/charts-components 5.2.0-next.94 → 5.2.0-next.95
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/{H2NVXIPH.js → 225VUGML.js} +3 -3
- package/dist/cdn/{5LBF4SSV.js → 2CFI7BGP.js} +1 -1
- package/dist/cdn/{AHAIJDB2.js → 2R6MQ752.js} +1 -1
- package/dist/cdn/{AXWUOABD.js → 3GJ64ZJ4.js} +1 -1
- package/dist/cdn/{UBTJOXKH.js → 3NLKE6ZN.js} +1 -1
- package/dist/cdn/{MXGHQBEG.js → 42FKRE56.js} +1 -1
- package/dist/cdn/{6AFE4M3T.js → 455LSMAU.js} +1 -1
- package/dist/cdn/{SYWTGNM2.js → 4A4EW5Z5.js} +1 -1
- package/dist/cdn/{NYVOHYRH.js → 4DR6JUR7.js} +1 -1
- package/dist/cdn/{FBRQK463.js → 4LJRIJWD.js} +1 -1
- package/dist/cdn/{BYT7C7VI.js → 4U63XRSZ.js} +1 -1
- package/dist/cdn/{FZOFULPS.js → 52GJ6UGS.js} +1 -1
- package/dist/cdn/{4CXLM72I.js → 56CLURJA.js} +1 -1
- package/dist/cdn/{RNSUQVAD.js → 5GDVKAX5.js} +1 -1
- package/dist/cdn/{TK44WD5Z.js → 5SKJYBPO.js} +1 -1
- package/dist/cdn/{UZHQF5CV.js → 5SYHQWPP.js} +1 -1
- package/dist/cdn/{IL2RER5V.js → 63AHC52W.js} +1 -1
- package/dist/cdn/{BGXZ42ED.js → 6H6SZO4Y.js} +1 -1
- package/dist/cdn/{4JEK27XV.js → 6VIPQGM6.js} +1 -1
- package/dist/cdn/{HAY6LZTC.js → 7LA6R3JD.js} +1 -1
- package/dist/cdn/{SBJGOYJL.js → 7TM4LYGN.js} +1 -1
- package/dist/cdn/{5IQPL6AC.js → AIQU35U3.js} +1 -1
- package/dist/cdn/{YWLBGSMG.js → AMTIT4IA.js} +1 -1
- package/dist/cdn/{KJAMXKR3.js → AOVXHBJK.js} +1 -1
- package/dist/cdn/{KQUI4CT6.js → AYCQHDDV.js} +1 -1
- package/dist/cdn/{KIQONRCW.js → AZYYQMCD.js} +1 -1
- package/dist/cdn/{RAZ5P564.js → BB3YY4S4.js} +1 -1
- package/dist/cdn/{MTQFQWYG.js → BDASIXVJ.js} +1 -1
- package/dist/cdn/{K3LGNMJB.js → BWLRC2U5.js} +1 -1
- package/dist/cdn/{R7UWW3TZ.js → C3ZVHFEH.js} +1 -1
- package/dist/cdn/{IC6GECR5.js → CC7DZFC6.js} +1 -1
- package/dist/cdn/{AELTVK5N.js → CDRZ4CST.js} +1 -1
- package/dist/cdn/{4JWNKQ22.js → CHBL4DXX.js} +1 -1
- package/dist/cdn/{YBVVLNAT.js → D3VGNOMT.js} +1 -1
- package/dist/cdn/{4VW736DF.js → D5DOFLCS.js} +1 -1
- package/dist/cdn/{IGITXVJI.js → E6E2KLJ2.js} +1 -1
- package/dist/cdn/{CZ62W7UB.js → E6JK3JRJ.js} +1 -1
- package/dist/cdn/{WXPIZP63.js → EB4CM3YK.js} +1 -1
- package/dist/cdn/{QODVHTRA.js → EVTLSZ5O.js} +1 -1
- package/dist/cdn/{RFLBJ5F6.js → EWIMT2AS.js} +1 -1
- package/dist/cdn/{IGE2Z7GO.js → FBS4RBSA.js} +1 -1
- package/dist/cdn/{SHTMAA3U.js → FCADGQJJ.js} +1 -1
- package/dist/cdn/{ONQJB7XI.js → GJ2CW5F2.js} +1 -1
- package/dist/cdn/{7HWZXF5A.js → GKIYT47O.js} +1 -1
- package/dist/cdn/{FSRPLIND.js → GVJ5WCQD.js} +1 -1
- package/dist/cdn/{M46SIJYN.js → GXYKOTY7.js} +1 -1
- package/dist/cdn/{DQ6LRD4W.js → H62OOC74.js} +1 -1
- package/dist/cdn/{BCNKEOFL.js → HC33KORY.js} +1 -1
- package/dist/cdn/{GVQLHXCG.js → HF4BJOBP.js} +1 -1
- package/dist/cdn/{4KFOFEIN.js → HKNSFOTD.js} +1 -1
- package/dist/cdn/{KMP2NYK6.js → HN3ITVY4.js} +1 -1
- package/dist/cdn/{TF6SC2R3.js → HPPHOWG7.js} +1 -1
- package/dist/cdn/{5DCUB4FX.js → IBMPLHXH.js} +1 -1
- package/dist/cdn/{HSIYQNVK.js → IGOJGDYE.js} +1 -1
- package/dist/cdn/{KDGXJ3LJ.js → IJVOYQLH.js} +1 -1
- package/dist/cdn/{EU2EVPUK.js → JM6L3BZH.js} +1 -1
- package/dist/cdn/{52GO2JZC.js → JMEPJL72.js} +1 -1
- package/dist/cdn/{TVQFQTJN.js → JSVAA6N4.js} +1 -1
- package/dist/cdn/{PEOJOFFP.js → KERMLQR2.js} +1 -1
- package/dist/cdn/{VGZCEHUH.js → KYESCAI2.js} +1 -1
- package/dist/cdn/{CXZ7MZPY.js → KYOCE6FA.js} +1 -1
- package/dist/cdn/{LEZM24PU.js → LZ7SW2R3.js} +1 -1
- package/dist/cdn/{SOR4DYKA.js → MQI4ZLAS.js} +1 -1
- package/dist/cdn/{P6LFMAZJ.js → O4DFT4N4.js} +1 -1
- package/dist/cdn/{57PMXO2G.js → OKKEWHMB.js} +1 -1
- package/dist/cdn/{3PDCMLV2.js → OKZKKKY6.js} +1 -1
- package/dist/cdn/{SJXTS4TF.js → OURE3TA5.js} +1 -1
- package/dist/cdn/{FLR2AT35.js → OVRV43B7.js} +1 -1
- package/dist/cdn/{IPKMUURX.js → PT2OG4W2.js} +1 -1
- package/dist/cdn/{SZNZAD56.js → QKUFLZC3.js} +1 -1
- package/dist/cdn/QO2RH3XB.js +3 -0
- package/dist/cdn/{LZNXWS4O.js → QWVW4ZUT.js} +24 -24
- package/dist/cdn/{QFNDC2XR.js → RD7TKIQS.js} +1 -1
- package/dist/cdn/{F65D4RJJ.js → RNGQEQRO.js} +1 -1
- package/dist/cdn/{R3RLEISD.js → RQCFIEGS.js} +1 -1
- package/dist/cdn/{XYFPPUVQ.js → S6RBDFHP.js} +1 -1
- package/dist/cdn/{HS3QXLZC.js → SIHW3QVG.js} +1 -1
- package/dist/cdn/{KE3BTQXC.js → SS7GYFUD.js} +1 -1
- package/dist/cdn/{ODYN5EMU.js → SZSTCHLY.js} +1 -1
- package/dist/cdn/{BHJHX65O.js → SZYIWW3C.js} +1 -1
- package/dist/cdn/{KCCLZZS7.js → TJJ4LMYG.js} +1 -1
- package/dist/cdn/{XSDCK3IH.js → UCHQXTEC.js} +1 -1
- package/dist/cdn/{6SUEHUL6.js → ULQSD4KK.js} +1 -1
- package/dist/cdn/{QDYO64C6.js → UVESG7TY.js} +1 -1
- package/dist/cdn/{NPI4IPBC.js → VJNOQYPI.js} +1 -1
- package/dist/cdn/{F6VXAPTT.js → VMHDTE3U.js} +1 -1
- package/dist/cdn/{4MP4Q5I4.js → VWUW3HFU.js} +1 -1
- package/dist/cdn/{EL5EBXW6.js → WOVEUX6R.js} +1 -1
- package/dist/cdn/{QFXCVZYG.js → WTMEWLUJ.js} +1 -1
- package/dist/cdn/{ZZNMJQYT.js → WTOK3YQI.js} +1 -1
- package/dist/cdn/{VVOQ4Q2X.js → WVOXFKFO.js} +1 -1
- package/dist/cdn/{ZNR5734Q.js → XQ7JB6AU.js} +1 -1
- package/dist/cdn/{JMQEKJA5.js → YFMHKHFE.js} +1 -1
- package/dist/cdn/{3DFJNY6A.js → YGPTQ6U2.js} +1 -1
- package/dist/cdn/{QUYRCQOV.js → YHC6WRNQ.js} +1 -1
- package/dist/cdn/{4SM6EV6P.js → ZDKUHFRX.js} +1 -1
- package/dist/cdn/{WGON3TB6.js → ZLARROJV.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 +59 -47
- package/dist/chunks/axis-lines-symbol.js +1 -1
- package/dist/chunks/chart-model.js +1 -1
- package/dist/chunks/data-labels-symbol.js +1 -1
- package/dist/chunks/data-labels-visibility.js +1 -1
- package/dist/chunks/data.js +3 -3
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/index.js +848 -844
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +8 -8
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/serial-chart-data.js +50 -50
- package/dist/chunks/series-length.js +1 -1
- package/dist/chunks/utils.js +2 -2
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/web-component-utils.js +1 -1
- package/dist/chunks/x-bounds.js +1 -1
- package/dist/components/arcgis-chart/customElement.d.ts +156 -22
- package/dist/components/arcgis-chart/customElement.js +5546 -5571
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +11 -11
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +7 -7
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +366 -364
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/chart-config/converter/index.js +2 -2
- package/dist/utils/chart-config/utils/index.d.ts +1 -2
- package/dist/utils/data/categorical-data/index.d.ts +17 -1
- package/package.json +4 -4
- package/dist/cdn/4GHPGD5V.js +0 -3
|
@@ -4,7 +4,7 @@ import { LitElement as g, createEvent as f } from "@arcgis/lumina";
|
|
|
4
4
|
import { css as m, html as s } from "lit";
|
|
5
5
|
import { isEqual as d } from "lodash-es";
|
|
6
6
|
import { C as t } from "../../chunks/interfaces.js";
|
|
7
|
-
import { i as c,
|
|
7
|
+
import { i as c, ao as p, bC as u, bD as C, b9 as y, t as F, aO as v } from "../../chunks/index.js";
|
|
8
8
|
const b = m`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
9
9
|
class I extends g {
|
|
10
10
|
constructor() {
|
|
@@ -12,7 +12,7 @@ import { createRef as c, ref as m } from "lit/directives/ref.js";
|
|
|
12
12
|
import { LitElement as U, createEvent as b, safeClassMap as l, renderElement as V } from "@arcgis/lumina";
|
|
13
13
|
import { b as S, o as z, C as M, a as F, p as R } from "../../chunks/index2.js";
|
|
14
14
|
import { x as K } from "../../chunks/data.js";
|
|
15
|
-
import { r as B, bA as j, p as A,
|
|
15
|
+
import { r as B, bA as j, p as A, aO as H } from "../../chunks/index.js";
|
|
16
16
|
import { H as q, I as W } from "../../chunks/index3.js";
|
|
17
17
|
import { r as Z } from "../../chunks/popover-ui-utils.js";
|
|
18
18
|
import { d, e as x, a as C, h as v } from "../../chunks/chart-object-literals.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as P } from "../../chunks/runtime.js";
|
|
3
3
|
import { repeat as b } from "lit/directives/repeat.js";
|
|
4
4
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
5
5
|
import { LitElement as S, createEvent as C, renderElement as T, safeStyleMap as F, safeClassMap as c } from "@arcgis/lumina";
|
|
@@ -9,13 +9,13 @@ import { createRef as g, ref as d } from "lit/directives/ref.js";
|
|
|
9
9
|
import { isEqual as $ } from "lodash-es";
|
|
10
10
|
import { u as y } from "../../chunks/useT9n.js";
|
|
11
11
|
import { B as n } from "../../chunks/interfaces.js";
|
|
12
|
-
import { c as v, b as k, e as h, a as x, f as E, s as
|
|
12
|
+
import { c as v, b as k, e as h, a as x, f as E, s as N } from "../../chunks/chart-ui-utils.js";
|
|
13
13
|
import { d as L } from "../../chunks/rest-js-object-literals.js";
|
|
14
|
-
import { b as u, d as
|
|
14
|
+
import { b as u, d as w, e as p } from "../../chunks/chart-object-literals.js";
|
|
15
15
|
import { S as m } from "../../chunks/common.js";
|
|
16
|
-
import { e as
|
|
16
|
+
import { e as z, p as B } from "../../chunks/popover-ui-utils.js";
|
|
17
17
|
import { H as K, I as _ } from "../../chunks/index3.js";
|
|
18
|
-
import { D as O, bB as
|
|
18
|
+
import { D as O, bB as I, aO as H, aV as M, aN as U } from "../../chunks/index.js";
|
|
19
19
|
import { b as W, p as j } from "../../chunks/index2.js";
|
|
20
20
|
const R = A`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.popover-pick-list{font-size:small;max-width:var(--arcgis-charts-config-popover-pick-list-max-width)}.sort-icon-color{color:#000}.sort-y-axis{transform:rotate(90deg)}.sort-order-pick-list{overflow-y:hidden}.panel{max-height:60vh}.panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}.panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}.panel .apply-button{width:17rem}`, o = {
|
|
21
21
|
name: "bar-chart-data-popover",
|
|
@@ -51,13 +51,13 @@ class q extends S {
|
|
|
51
51
|
updated() {
|
|
52
52
|
setTimeout(() => {
|
|
53
53
|
this.picklist.value?.setFocus();
|
|
54
|
-
}, k.PopoverTimer),
|
|
54
|
+
}, k.PopoverTimer), z(this.popoverElement.value, this.open);
|
|
55
55
|
}
|
|
56
56
|
selectedContentChange(e, t) {
|
|
57
57
|
this.pickListHasChanged = B(e, t);
|
|
58
58
|
}
|
|
59
59
|
buildAggregationListItems() {
|
|
60
|
-
const e = this.isNoAggregationDisabled ? v.filter((t) => t !==
|
|
60
|
+
const e = this.isNoAggregationDisabled ? v.filter((t) => t !== w.NoAggregation) : v;
|
|
61
61
|
return b(e, (t) => t, (t, i) => a`<calcite-list-item .label=${this.aggregationLabels[i]} .value=${t} .selected=${h(t, this.selectedContent)}></calcite-list-item>`);
|
|
62
62
|
}
|
|
63
63
|
createTooltip(e) {
|
|
@@ -119,7 +119,7 @@ class q extends S {
|
|
|
119
119
|
i.push(l);
|
|
120
120
|
for (let s = 0; s < t; s += 1) {
|
|
121
121
|
const r = this.layerFieldsInfo?.[s];
|
|
122
|
-
r && (r.type === L.String ||
|
|
122
|
+
r && (r.type === L.String || I(r) || H(r) || M(r)) && i.push(this.buildPickListItem(r));
|
|
123
123
|
}
|
|
124
124
|
break;
|
|
125
125
|
}
|
|
@@ -128,7 +128,7 @@ class q extends S {
|
|
|
128
128
|
i.push(l);
|
|
129
129
|
for (let s = 0; s < t; s += 1) {
|
|
130
130
|
const r = this.layerFieldsInfo?.[s];
|
|
131
|
-
r && (
|
|
131
|
+
r && (I(r) || r.type === L.String) && i.push(this.buildPickListItem(r));
|
|
132
132
|
}
|
|
133
133
|
break;
|
|
134
134
|
}
|
|
@@ -204,7 +204,7 @@ class q extends S {
|
|
|
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=${
|
|
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=${N(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=${j(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;
|
|
@@ -238,7 +238,7 @@ class q extends S {
|
|
|
238
238
|
return this.contentKind === n.numericFields && (e = a`<div slot=footer><calcite-fab class=${c(o.fab)} appearance=outline-fill kind=neutral .icon=${void 0} .label=${this._messages.selectionDone} scale=s text-enabled .text=${this._messages.selectionDone} @click=${this.onNumericFieldSelectionDone}></calcite-fab></div>`), a`<div><calcite-popover class=${c(o.name)} .referenceElement=${this.referenceElement ?? document.body} .placement=${this.placement} .offsetDistance=${this.offsetDistance} .open=${this.open} @calcitePopoverClose=${this.closePopover} label auto-close ${d(this.popoverElement)}><calcite-panel class=${c(o.panel)} closable .closed=${!this.open} @calcitePanelClose=${this.closePopover}><div slot=header-content class=${c(o.header)}>${this.headingTitle ?? ""}</div>${this.renderPopoverInfo()}${e}</calcite-panel></calcite-popover></div>`;
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
|
-
|
|
241
|
+
P("arcgis-charts-config-bar-chart-popover", q);
|
|
242
242
|
export {
|
|
243
243
|
q as ArcgisChartsConfigBarChartPopover
|
|
244
244
|
};
|
|
@@ -9,7 +9,7 @@ import { a as _ } from "../../chunks/chart-ui-utils.js";
|
|
|
9
9
|
import { a as E, C as v } from "../../chunks/index2.js";
|
|
10
10
|
import { r as f } from "../../chunks/popover-ui-utils.js";
|
|
11
11
|
import { c as n, d as S } from "../../chunks/chart-object-literals.js";
|
|
12
|
-
import {
|
|
12
|
+
import { ao as m } from "../../chunks/index.js";
|
|
13
13
|
const w = {
|
|
14
14
|
stackedType: "stacked-type"
|
|
15
15
|
}, o = {
|
|
@@ -6,7 +6,7 @@ import { createRef as d, ref as g } from "lit/directives/ref.js";
|
|
|
6
6
|
import { LitElement as C, createEvent as s, safeClassMap as l } from "@arcgis/lumina";
|
|
7
7
|
import { e as v } from "../../chunks/popover-ui-utils.js";
|
|
8
8
|
import { r as f } from "../../chunks/index3.js";
|
|
9
|
-
import {
|
|
9
|
+
import { ao as u } from "../../chunks/index.js";
|
|
10
10
|
const n = {
|
|
11
11
|
panelChildrenContainer: "panel-children-container"
|
|
12
12
|
}, y = 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}`;
|
|
@@ -11,7 +11,7 @@ import { createRef as u, ref as m } from "lit/directives/ref.js";
|
|
|
11
11
|
import { LitElement as x, createEvent as g, renderElement as I, safeStyleMap as D, safeClassMap as d } from "@arcgis/lumina";
|
|
12
12
|
import { B as r } from "../../chunks/common.js";
|
|
13
13
|
import { e as S, p as T } from "../../chunks/popover-ui-utils.js";
|
|
14
|
-
import { bB as b,
|
|
14
|
+
import { bB as b, aN as E, D as w } from "../../chunks/index.js";
|
|
15
15
|
import { b as B } from "../../chunks/index2.js";
|
|
16
16
|
import { d as C } from "../../chunks/rest-js-object-literals.js";
|
|
17
17
|
const o = {
|
|
@@ -15,7 +15,7 @@ import { css as j, html as h } from "lit";
|
|
|
15
15
|
import { createRef as q, ref as K } from "lit/directives/ref.js";
|
|
16
16
|
import { u as I } from "../../chunks/useT9n.js";
|
|
17
17
|
import { c as Y, a as M, g as Q } from "../../chunks/store.js";
|
|
18
|
-
import { bE as J,
|
|
18
|
+
import { bE as J, ag as ee, bF as te, bG as ae, bH as ie } from "../../chunks/index.js";
|
|
19
19
|
import { A as se } from "../../chunks/axis-model-wrapper.js";
|
|
20
20
|
import { h as re, f as y } from "../../chunks/web-component-utils.js";
|
|
21
21
|
import { a as oe } from "../../chunks/chart-ui-utils.js";
|
|
@@ -8,9 +8,9 @@ import { g as z } from "../../chunks/resource.js";
|
|
|
8
8
|
import { u as O } from "../../chunks/useT9n.js";
|
|
9
9
|
import { css as V, html as c } from "lit";
|
|
10
10
|
import { createRef as h, ref as u } from "lit/directives/ref.js";
|
|
11
|
-
import { LitElement as
|
|
12
|
-
import { j as
|
|
13
|
-
import { bK as p, b as m,
|
|
11
|
+
import { LitElement as q, createEvent as U, renderElement as L, safeStyleMap as M, safeClassMap as o } from "@arcgis/lumina";
|
|
12
|
+
import { j as W, o as j, p as Y } from "../../chunks/type-guards2.js";
|
|
13
|
+
import { bK as p, b as m, bi as H, bL as A, bM as _, i as K } from "../../chunks/index.js";
|
|
14
14
|
import { t as J } from "../../chunks/index3.js";
|
|
15
15
|
import { r as Q } from "../../chunks/popover-ui-utils.js";
|
|
16
16
|
import { b as g, R as ee } from "../../chunks/rest-js-object-literals.js";
|
|
@@ -21,7 +21,7 @@ const n = {
|
|
|
21
21
|
column: "column",
|
|
22
22
|
colorPicker: "color-picker"
|
|
23
23
|
}, ie = 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)}:host{display:flex;flex-direction:column}.row{display:flex;flex-direction:row;column-gap:var(--arcgis-charts-inter-section-margin)}.column{display:flex;flex-direction:column;flex-wrap:wrap;flex-grow:1}.column>calcite-input{margin-bottom:.5rem;flex-grow:2}.column>calcite-input[type=number]{margin-bottom:.5rem}input{padding:.5rem}.label{display:flex;flex-direction:row;justify-content:space-between;margin-bottom:var(--arcgis-charts-intra-section-margin);flex-grow:1}.color-picker{border:1px solid var(--calcite-color-border-2);box-shadow:none;margin-bottom:var(--arcgis-charts-inter-section-margin)}.delete-guide{display:flex;flex-direction:row-reverse;height:2rem;margin:0 1rem;font-weight:550}.delete-guide:dir(rtl){flex-direction:row}`;
|
|
24
|
-
class se extends
|
|
24
|
+
class se extends q {
|
|
25
25
|
constructor() {
|
|
26
26
|
super(...arguments), this._messages = O(), this.startCalciteInput = h(), this.endCalciteInput = h(), this.startDateCalciteInput = h(), this.endDateCalciteInput = h(), this.startTimeCalciteInput = h(), this.endTimeCalciteInput = h(), this.colorElement = h(), this.colorChange = (e) => {
|
|
27
27
|
const t = e.detail, i = this.model.getGuideStart(this.index, this.orientation), a = this.model.getGuideEnd(this.index, this.orientation);
|
|
@@ -46,7 +46,7 @@ class se extends j {
|
|
|
46
46
|
} else t?.color !== void 0 && this.setColor(t.color);
|
|
47
47
|
}, this.onModelConfigChange = () => {
|
|
48
48
|
this.requestUpdate();
|
|
49
|
-
}, this.guidePopover = null, this.latestGuidePosition = 0, this.arcgisChartsConfigGuideChange =
|
|
49
|
+
}, this.guidePopover = null, this.latestGuidePosition = 0, this.arcgisChartsConfigGuideChange = U();
|
|
50
50
|
}
|
|
51
51
|
static {
|
|
52
52
|
this.properties = { guidePopover: 16, messageOverrides: 0, model: 0, timeZone: 1, calculatedMinMaxBounds: 0, index: 9, orientation: 1, latestGuidePosition: 9 };
|
|
@@ -55,7 +55,7 @@ class se extends j {
|
|
|
55
55
|
this.styles = ie;
|
|
56
56
|
}
|
|
57
57
|
get isXAxisDateField() {
|
|
58
|
-
return this.orientation === b.X &&
|
|
58
|
+
return this.orientation === b.X && W(this.model) && this.model.getAxisValueFormat(0)?.type === te.DateAxisFormat;
|
|
59
59
|
}
|
|
60
60
|
load() {
|
|
61
61
|
this.modelChange(this.model);
|
|
@@ -206,7 +206,7 @@ class se extends j {
|
|
|
206
206
|
N(this.tooltip);
|
|
207
207
|
}
|
|
208
208
|
deleteGuide() {
|
|
209
|
-
this.destroyTooltip(), this.orientation === b.X &&
|
|
209
|
+
this.destroyTooltip(), this.orientation === b.X && j(this.model) ? this.model.deleteXAxisGuide(this.index) : this.orientation === b.Y && Y(this.model) && this.model.deleteYAxisGuide(this.index), this.arcgisChartsConfigGuideChange.emit({
|
|
210
210
|
index: this.index,
|
|
211
211
|
orientation: this.orientation,
|
|
212
212
|
isDelete: !0
|
|
@@ -16,7 +16,7 @@ import { d as E } from "../../chunks/rest-js-object-literals.js";
|
|
|
16
16
|
import { d as _, r as R, q as C } from "../../chunks/chart-object-literals.js";
|
|
17
17
|
import { e as N } from "../../chunks/popover-ui-utils.js";
|
|
18
18
|
import { H as B, r as M } from "../../chunks/index3.js";
|
|
19
|
-
import {
|
|
19
|
+
import { aO as H, aN as O } from "../../chunks/index.js";
|
|
20
20
|
const q = F`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.popover-pick-list{font-size:small;max-width:var(--arcgis-charts-config-popover-pick-list-max-width)}.panel{max-height:60vh}.color-ramp-popover{display:flex;flex-direction:column;gap:.75rem;min-width:320px;max-width:480px}.color-ramp-toolbar{display:flex;gap:.5rem;align-items:center;padding:5px 5px 0}.ramp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.5rem;max-height:300px;overflow:auto;padding:.25rem}.ramp-item{display:flex;flex-direction:column;border:1px solid var(--calcite-color-foreground-3);background:var(--calcite-color-foreground-1);cursor:pointer;box-shadow:inset 0 0 0 1px transparent;transition:box-shadow .12s;border-radius:2px;min-height:56px;padding:4px}.ramp-item:hover{box-shadow:inset 0 0 0 1px var(--calcite-color-foreground-3)}.ramp-name{font-size:.625rem;line-height:1;padding:2px 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-color-text-3)}.ramp-item.selected{background-color:var(--calcite-color-brand)!important;border-color:var(--calcite-color-brand)!important;outline:2px solid var(--calcite-color-brand)!important;color:var(--calcite-color-foreground-1)}.ramp-item.selected .ramp-name{color:var(--calcite-color-foreground-1)}.ramp-item.selected .ramp-strip{box-shadow:none;border:none}.ramp-strips{display:flex;flex:1;height:28px;width:100%;overflow:hidden}.ramp-strip{flex:1;min-width:0}.ramp-strip-fallback{background:repeating-linear-gradient(45deg,var(--calcite-color-foreground-3) 0,var(--calcite-color-foreground-3) 5px,var(--calcite-color-foreground-2) 5px,var(--calcite-color-foreground-2) 10px)}.ramp-empty{grid-column:1/-1;font-size:.75rem;color:var(--calcite-color-text-3)}.panel-children-container{display:flex}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}.panel-children-container{padding:0 1rem;margin-top:1rem}.color-ramp-popover-footer{display:flex;padding:.5rem}.color-ramp-popover-footer calcite-button{flex:1}`, s = {
|
|
21
21
|
name: "bar-chart-data-popover",
|
|
22
22
|
header: "header",
|
|
@@ -4,7 +4,7 @@ import { isEqual as r } from "lodash-es";
|
|
|
4
4
|
import { LitElement as n } from "@arcgis/lumina";
|
|
5
5
|
import { css as h, html as i } from "lit";
|
|
6
6
|
import { C as o } from "../../chunks/interfaces.js";
|
|
7
|
-
import { i as d, bC as c, bD as m,
|
|
7
|
+
import { i as d, bC as c, bD as m, b9 as f, c5 as g, t as p } from "../../chunks/index.js";
|
|
8
8
|
import { i as u } from "../../chunks/type-guards.js";
|
|
9
9
|
const C = h`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
10
10
|
class y extends n {
|
|
@@ -11,7 +11,7 @@ import { b as $ } from "../../chunks/rest-js-object-literals.js";
|
|
|
11
11
|
import { s } from "../../chunks/chart-object-literals.js";
|
|
12
12
|
import { e as P } from "../../chunks/popover-ui-utils.js";
|
|
13
13
|
import { b as S } from "../../chunks/index2.js";
|
|
14
|
-
import {
|
|
14
|
+
import { aN as k } from "../../chunks/index.js";
|
|
15
15
|
import { r as T } from "../../chunks/index3.js";
|
|
16
16
|
const l = {
|
|
17
17
|
symbolPropertyPopover: "symbol-property-popover",
|
|
@@ -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 { bC as c, bD as m, t as f,
|
|
7
|
+
import { bC as c, bD as m, t as f, aN as g, aO 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() {
|
|
@@ -12,7 +12,7 @@ import { x as E } from "../../chunks/data.js";
|
|
|
12
12
|
import { d as c, e as f, h } from "../../chunks/chart-object-literals.js";
|
|
13
13
|
import { H as L, I as P } from "../../chunks/index3.js";
|
|
14
14
|
import { b as v, p as w } from "../../chunks/index2.js";
|
|
15
|
-
import { r as C,
|
|
15
|
+
import { r as C, aO as _ } from "../../chunks/index.js";
|
|
16
16
|
import { r as N } from "../../chunks/popover-ui-utils.js";
|
|
17
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",
|
|
@@ -14,7 +14,7 @@ import { b as g, e as c } from "../../chunks/chart-object-literals.js";
|
|
|
14
14
|
import { e as A, p as D } from "../../chunks/popover-ui-utils.js";
|
|
15
15
|
import { H as E, I as S } from "../../chunks/index3.js";
|
|
16
16
|
import { b as z, p as w } from "../../chunks/index2.js";
|
|
17
|
-
import { bB as N,
|
|
17
|
+
import { bB as N, aN as L, aO as K, aV as B } from "../../chunks/index.js";
|
|
18
18
|
const H = P`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.name{display:flex;flex-direction:column;margin:.5rem;padding:.5rem;background:#fff;min-width:250px}.header{margin:0;font-weight:bolder}.fab{display:flex;justify-content:stretch}.popover-pick-list{font-size:small;max-width:var(--arcgis-charts-config-popover-pick-list-max-width)}.sort-icon-color{color:#000}.sort-y-axis{transform:rotate(90deg)}calcite-panel{max-height:60vh}calcite-panel .size-section{width:19rem;margin:1rem 0;display:flex;flex-wrap:wrap;justify-content:space-evenly}calcite-panel .size-section calcite-label{width:8rem;margin-bottom:.25rem}calcite-panel .apply-button{width:17rem}`, r = {
|
|
19
19
|
name: "line-chart-data-popover",
|
|
20
20
|
header: "header",
|
|
@@ -12,7 +12,7 @@ import { LitElement as y, createEvent as b, safeClassMap as l } from "@arcgis/lu
|
|
|
12
12
|
import { e as F, p as I } from "../../chunks/popover-ui-utils.js";
|
|
13
13
|
import { H as D } from "../../chunks/index3.js";
|
|
14
14
|
import { b as x } from "../../chunks/index2.js";
|
|
15
|
-
import { bB as S,
|
|
15
|
+
import { bB as S, aN as T } from "../../chunks/index.js";
|
|
16
16
|
import { d as E } from "../../chunks/rest-js-object-literals.js";
|
|
17
17
|
import { a as r } from "../../chunks/common.js";
|
|
18
18
|
const s = {
|
|
@@ -8,7 +8,7 @@ import { css as G, html as d, nothing as z } from "lit";
|
|
|
8
8
|
import { createRef as m, ref as g } from "lit/directives/ref.js";
|
|
9
9
|
import { LitElement as w, 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 { a4 as I, p as y } from "../../chunks/index3.js";
|
|
12
12
|
import { r as P } from "../../chunks/popover-ui-utils.js";
|
|
13
13
|
import { b as M } from "../../chunks/rest-js-object-literals.js";
|
|
14
14
|
const a = {
|
|
@@ -4,7 +4,7 @@ import { isEqual as l } from "lodash-es";
|
|
|
4
4
|
import { LitElement as n, createEvent as d } from "@arcgis/lumina";
|
|
5
5
|
import { css as c, html as s } from "lit";
|
|
6
6
|
import { C as o } from "../../chunks/interfaces.js";
|
|
7
|
-
import { bC as h, bD as p,
|
|
7
|
+
import { bC as h, bD as p, b9 as f, c5 as g, t as m, aR as u } from "../../chunks/index.js";
|
|
8
8
|
import { i as y } from "../../chunks/type-guards.js";
|
|
9
9
|
const b = c`:host{overflow-y:auto;overflow-x:hidden;margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
10
10
|
class F extends n {
|
|
@@ -10,7 +10,7 @@ import { LitElement as S, createEvent as l, safeClassMap as r } from "@arcgis/lu
|
|
|
10
10
|
import { b as m } from "../../chunks/rest-js-object-literals.js";
|
|
11
11
|
import { e as $ } from "../../chunks/popover-ui-utils.js";
|
|
12
12
|
import { b as P } from "../../chunks/index2.js";
|
|
13
|
-
import {
|
|
13
|
+
import { aN as b } from "../../chunks/index.js";
|
|
14
14
|
const n = {
|
|
15
15
|
scatterplotPopover: "scatter-plot-popover",
|
|
16
16
|
fillColor: "fill-color",
|