@arcgis/charts-components 5.2.0-next.161 → 5.2.0-next.162
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/{UE4KTI5X.js → 23EBTARY.js} +2 -2
- package/dist/cdn/{NWITMWCT.js → 2IETCKFR.js} +1 -1
- package/dist/cdn/{G3WQCZSG.js → 32HL4LJM.js} +1 -1
- package/dist/cdn/{IDJIOIPJ.js → 34EBYEM7.js} +1 -1
- package/dist/cdn/{XFBS7TR6.js → 3L5TASX6.js} +1 -1
- package/dist/cdn/{LQIVBCUD.js → 4SKI2UZ4.js} +1 -1
- package/dist/cdn/{N3LZODVA.js → 57IBZI2Q.js} +1 -1
- package/dist/cdn/{YGEZCMV7.js → 5RI6YXV2.js} +1 -1
- package/dist/cdn/{AF73AYAM.js → 6B2Q4ZZ4.js} +1 -1
- package/dist/cdn/{JJFAGT6G.js → 6F64K7IO.js} +1 -1
- package/dist/cdn/{KMDY2BNL.js → 6KA3POYJ.js} +1 -1
- package/dist/cdn/{J2FKQWZT.js → 6PN24NZH.js} +1 -1
- package/dist/cdn/{W3AWWIGN.js → 6THDMW4S.js} +1 -1
- package/dist/cdn/{JZPIPSYO.js → 7DHOI5P2.js} +1 -1
- package/dist/cdn/{I7NIEVUL.js → 7HDFMHYC.js} +1 -1
- package/dist/cdn/{ZVGMC5LQ.js → 7IIIIZMH.js} +1 -1
- package/dist/cdn/{PATB6UOF.js → 7P6O2RHA.js} +1 -1
- package/dist/cdn/{OXY57UUR.js → AETI74SR.js} +1 -1
- package/dist/cdn/{HDQ4PVJJ.js → AHBGX7M2.js} +1 -1
- package/dist/cdn/{HNNCAYBK.js → AM34FK2L.js} +1 -1
- package/dist/cdn/{7UP7WEAU.js → ANON4Y5O.js} +1 -1
- package/dist/cdn/{OMV6OE2Z.js → AU5XPM24.js} +1 -1
- package/dist/cdn/{SQTZHFKM.js → AZ2Z7W7G.js} +1 -1
- package/dist/cdn/{X7H4RWYS.js → BPJQFWYG.js} +1 -1
- package/dist/cdn/{P3O6GZSZ.js → BWLIKQZM.js} +1 -1
- package/dist/cdn/{25TMILMW.js → C77CMKWU.js} +1 -1
- package/dist/cdn/{7NMS7SSF.js → CGL6HYSO.js} +1 -1
- package/dist/cdn/{2VJHMRVH.js → CZ2QBJIW.js} +1 -1
- package/dist/cdn/{GSYIK4QQ.js → DHXQHBHG.js} +1 -1
- package/dist/cdn/{VFOEFPOW.js → E6TZMNXL.js} +1 -1
- package/dist/cdn/{KKPMX525.js → ENSGJAYI.js} +1 -1
- package/dist/cdn/F4PYAQO2.js +2 -0
- package/dist/cdn/{BSNYZIRT.js → FATD355N.js} +1 -1
- package/dist/cdn/{H32JHNE3.js → FN2RSJVM.js} +1 -1
- package/dist/cdn/{TB3TYVK2.js → FW6RGCL5.js} +1 -1
- package/dist/cdn/{35NEE76D.js → GBJ2EWWV.js} +1 -1
- package/dist/cdn/{CHKXXWE6.js → H3LCE55Z.js} +1 -1
- package/dist/cdn/{FUQSPTZN.js → HFXBJYPZ.js} +1 -1
- package/dist/cdn/{R5FERWLW.js → HK4Z5B22.js} +1 -1
- package/dist/cdn/HTC5S4WI.js +2 -0
- package/dist/cdn/{5E3TO5VL.js → HYQNWCWA.js} +1 -1
- package/dist/cdn/{JXF4ULHX.js → IDULNX4O.js} +1 -1
- package/dist/cdn/{7HN4DADA.js → IGHTJLIF.js} +1 -1
- package/dist/cdn/{OWHYUDHE.js → IJY7UQTV.js} +1 -1
- package/dist/cdn/{VPCS6ZXS.js → J2J3NXRC.js} +1 -1
- package/dist/cdn/{IHV2PSBX.js → JR2RRIKO.js} +1 -1
- package/dist/cdn/{2EVGCHLU.js → JXJGHXNJ.js} +1 -1
- package/dist/cdn/{B4TPP6RZ.js → KEKVMGV6.js} +1 -1
- package/dist/cdn/{R6FIMVWO.js → KQ74SEOV.js} +1 -1
- package/dist/cdn/{YNHYJOH7.js → KSDJFASU.js} +1 -1
- package/dist/cdn/{UMUPYNTB.js → KX3NHKFW.js} +1 -1
- package/dist/cdn/{6OQ3ZDVR.js → L3P6D53Z.js} +1 -1
- package/dist/cdn/{BHKK6FLW.js → LEUIZWRV.js} +1 -1
- package/dist/cdn/{RWP5ZFPV.js → MDZELM6Q.js} +1 -1
- package/dist/cdn/{X6NJXMTE.js → MMYG2RYL.js} +1 -1
- package/dist/cdn/{ZTYYTE3O.js → N2FNNEOT.js} +1 -1
- package/dist/cdn/{HICJD6DS.js → N5GCUS4N.js} +1 -1
- package/dist/cdn/{BYTEHOE7.js → NDU72CRG.js} +1 -1
- package/dist/cdn/{MNSF7JJM.js → NSVQKFEV.js} +1 -1
- package/dist/cdn/{HPRC3P7F.js → NTJMVBRM.js} +1 -1
- package/dist/cdn/{TFS2FLYV.js → NW7U6HWL.js} +1 -1
- package/dist/cdn/{S2VVOYYV.js → O2WFSEOJ.js} +1 -1
- package/dist/cdn/{YKWJEWAX.js → OH42GU2Y.js} +1 -1
- package/dist/cdn/{IQHYD6VM.js → OOJPYFJZ.js} +1 -1
- package/dist/cdn/{EA2ASB3H.js → OZMMTR6U.js} +1 -1
- package/dist/cdn/{HS7MWTLI.js → P7EFHM46.js} +1 -1
- package/dist/cdn/{X73TC36H.js → Q27MURSA.js} +1 -1
- package/dist/cdn/{O636LI34.js → QPMXPJOU.js} +1 -1
- package/dist/cdn/{D4OB7XLF.js → QT5HEM3R.js} +1 -1
- package/dist/cdn/{JN3U4Y5T.js → RNKBI3X2.js} +1 -1
- package/dist/cdn/{4IKEKWOE.js → RRUEVNJ6.js} +1 -1
- package/dist/cdn/{LLF5VNA5.js → SNQONC4I.js} +1 -1
- package/dist/cdn/{CAMGJEUR.js → TPWN3WU6.js} +1 -1
- package/dist/cdn/{2IKWOLN3.js → TWAPMNSX.js} +1 -1
- package/dist/cdn/{EMWEY7ZI.js → UDCAINIH.js} +1 -1
- package/dist/cdn/{HQIRZSK7.js → UGHZZOEP.js} +1 -1
- package/dist/cdn/{465VYGYI.js → UMPUQD5F.js} +1 -1
- package/dist/cdn/{5MSLKMMC.js → UN4K7L7T.js} +1 -1
- package/dist/cdn/{MOVPKC7L.js → UQCVYMWO.js} +1 -1
- package/dist/cdn/{QNGJ2NXH.js → VAP4V5TC.js} +1 -1
- package/dist/cdn/{WKBTCETV.js → VBZUDWPR.js} +1 -1
- package/dist/cdn/{XFTBNWPR.js → VL4T7FC5.js} +1 -1
- package/dist/cdn/{Q55Q7RXW.js → VSD6BE2P.js} +1 -1
- package/dist/cdn/{HICARS7N.js → VY53SMFW.js} +1 -1
- package/dist/cdn/{OL3ACZEB.js → W2E7LFTT.js} +1 -1
- package/dist/cdn/{FVSFPYCR.js → W6V4XEM4.js} +1 -1
- package/dist/cdn/{6C6WSW7H.js → WEVL6WYI.js} +1 -1
- package/dist/cdn/{MYDY7Q6P.js → WFCQTLQZ.js} +1 -1
- package/dist/cdn/WJINSWQO.js +2 -0
- package/dist/cdn/{TJ5BGDYZ.js → WZFDIC2M.js} +1 -1
- package/dist/cdn/{JFIKB6TE.js → XWZLBTHL.js} +1 -1
- package/dist/cdn/{PABVNO3N.js → Y5CHG4IT.js} +1 -1
- package/dist/cdn/{XB6HEB2Y.js → YAH2CORT.js} +1 -1
- package/dist/cdn/{C33ISW4F.js → YFDABY5Y.js} +1 -1
- package/dist/cdn/{F52ELKRO.js → ZDM5IDLI.js} +1 -1
- package/dist/cdn/{YVJE3Q7H.js → ZM64YDWU.js} +1 -1
- package/dist/cdn/{VLY2KRJ2.js → ZNNKZGV6.js} +1 -1
- package/dist/cdn/{IAAXYB7Z.js → ZTMZ6GG4.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/model/shared/setup-utils.js +1 -1
- package/dist/components/arcgis-chart/customElement.d.ts +2 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-bar-chart-data/index.js +0 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +33 -33
- package/dist/components/arcgis-charts-config-box-plot-data/index.js +0 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +19 -19
- package/dist/components/arcgis-charts-config-line-chart-data/index.js +0 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +17 -17
- package/dist/components/arcgis-charts-config-pie-chart-data/index.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/utils/components/interfaces.d.ts +7 -0
- package/package.json +4 -4
- package/dist/cdn/2ML7QPKF.js +0 -2
- package/dist/cdn/EWJBDML4.js +0 -2
- package/dist/cdn/VEFQ3ZKG.js +0 -2
|
@@ -2,32 +2,32 @@
|
|
|
2
2
|
import { c as p } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed as f } from "lit/directives/keyed.js";
|
|
4
4
|
import { P as r } from "../../chunks/interfaces.js";
|
|
5
|
-
import { u
|
|
6
|
-
import { css as
|
|
5
|
+
import { u } from "../../chunks/useT9n.js";
|
|
6
|
+
import { css as C, html as s } from "lit";
|
|
7
7
|
import { createRef as n, ref as c } from "lit/directives/ref.js";
|
|
8
|
-
import { LitElement as b, createEvent as
|
|
8
|
+
import { LitElement as b, createEvent as d, renderElement as v, safeClassMap as o } from "@arcgis/lumina";
|
|
9
9
|
import { x as y } from "../../chunks/data.js";
|
|
10
10
|
import { A as m, B as g, u as F } from "../../chunks/index.js";
|
|
11
|
-
import { r as
|
|
12
|
-
import { d as
|
|
11
|
+
import { r as P } from "../../chunks/popover-ui-utils.js";
|
|
12
|
+
import { d as $ } from "../../chunks/chart-object-literals.js";
|
|
13
13
|
const l = {
|
|
14
14
|
label: "label",
|
|
15
15
|
fieldList: "field-list",
|
|
16
16
|
fab: "fab"
|
|
17
|
-
},
|
|
18
|
-
class
|
|
17
|
+
}, w = C`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}:host{display:flex;flex-direction:column;width:var(--arcgis-charts-config-calcite-block-default-width);margin:var(--arcgis-charts-config-calcite-block-default-margin);margin-top:var(--arcgis-charts-top-section-margin)}.label,.disabled-label{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-minor);justify-content:space-between}.field-list{max-height:50vh;overflow-y:auto}.disabled-label{pointer-events:none}.fab{display:flex;margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:1.5rem;justify-content:center}.fab>calcite-button{--calcite-button-shadow: var(--calcite-shadow-md)}.fab span{white-space:normal;overflow-wrap:anywhere}`;
|
|
18
|
+
class k extends b {
|
|
19
19
|
constructor() {
|
|
20
|
-
super(...arguments), this._messages =
|
|
20
|
+
super(...arguments), this._messages = u(), this.pieChartPopover = null, this.sortOrderElement = n(), this.categoryElement = n(), this.numericFieldsElement = n(), this.onPieChartDataChange = (e) => {
|
|
21
21
|
try {
|
|
22
22
|
if (e.detail !== null && e.detail?.value !== void 0) {
|
|
23
23
|
const { contentKind: i } = e.detail, t = [...e.detail.value];
|
|
24
24
|
switch (i) {
|
|
25
25
|
case r.aggregation:
|
|
26
|
-
this.model.aggregationType = t[0] !==
|
|
26
|
+
this.model.aggregationType = t[0] !== $.NoAggregation ? t[0] : "";
|
|
27
27
|
break;
|
|
28
28
|
case r.category: {
|
|
29
|
-
const a = t[0]?.trim() || "",
|
|
30
|
-
|
|
29
|
+
const a = t[0]?.trim() || "", h = this.model.numericFields;
|
|
30
|
+
h.length > 1 && a !== m && (this.model.numericFields = [h[0]]), this.model.category = a, this.model.colorMatch = !0;
|
|
31
31
|
break;
|
|
32
32
|
}
|
|
33
33
|
case r.numericFields:
|
|
@@ -48,13 +48,13 @@ class E extends b {
|
|
|
48
48
|
this.requestUpdate();
|
|
49
49
|
}, this.popoverClose = (e) => {
|
|
50
50
|
this.pieChartPopover === e?.target && this.removePieChartDataPopover();
|
|
51
|
-
}, this.layerFieldsInfo = [], this.arcgisChartsConfigDataChangeError =
|
|
51
|
+
}, this.layerFieldsInfo = [], this.arcgisChartsConfigDataChangeError = d(), this.arcgisChartsConfigPieChartDataNumericFieldValidate = d();
|
|
52
52
|
}
|
|
53
53
|
static {
|
|
54
54
|
this.properties = { messageOverrides: 0, model: 0, layerFieldsInfo: 0 };
|
|
55
55
|
}
|
|
56
56
|
static {
|
|
57
|
-
this.styles =
|
|
57
|
+
this.styles = w;
|
|
58
58
|
}
|
|
59
59
|
load() {
|
|
60
60
|
this.modelChange(this.model), this.onModelConfigChange();
|
|
@@ -110,7 +110,7 @@ class E extends b {
|
|
|
110
110
|
}) ? "" : g(this.layerFieldsInfo, this.model.category);
|
|
111
111
|
}
|
|
112
112
|
removePieChartDataPopover() {
|
|
113
|
-
this.pieChartPopover !== null && (this.pieChartPopover.open = !1, this.pieChartPopover =
|
|
113
|
+
this.pieChartPopover !== null && (this.pieChartPopover.open = !1, this.pieChartPopover = P(this.pieChartPopover));
|
|
114
114
|
}
|
|
115
115
|
renderSorting() {
|
|
116
116
|
return s`<arcgis-charts-config-field-picker .label=${this._messages[this.model.getDataSortOrder()]} @click=${this.onSortOrderSelect} ${c(this.sortOrderElement)}></arcgis-charts-config-field-picker>`;
|
|
@@ -129,11 +129,11 @@ class E extends b {
|
|
|
129
129
|
const e = this.renderCategory(), i = this.renderSorting(), t = this.renderNumericFields([...this.model.numericFields]);
|
|
130
130
|
return s`<calcite-label class=${o(l.label)}>${this._messages.category}${e}</calcite-label>${[
|
|
131
131
|
s`<calcite-label class=${o(l.label)}>${this._messages.numericFields}${t}</calcite-label>`,
|
|
132
|
-
s`<div class=${o(l.fab)}><calcite-
|
|
132
|
+
s`<div class=${o(l.fab)}><calcite-button appearance=outline-fill kind=neutral scale=m width=auto round icon-start=plus @click=${this.onAddNumericFields}><span>${this._messages.selectNumericFields}</span></calcite-button></div>`
|
|
133
133
|
]}<calcite-label class=${o(l.label)} layout=inline-space-between>${this._messages.showDataLabels}<calcite-switch .checked=${this.model.dataLabelsVisibility} @calciteSwitchChange=${this.onShowDataLabelsChange}></calcite-switch></calcite-label><calcite-label class=${o(l.label)}>${this._messages.sortOrder}${i}</calcite-label>`;
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
p("arcgis-charts-config-pie-chart-data",
|
|
136
|
+
p("arcgis-charts-config-pie-chart-data", k);
|
|
137
137
|
export {
|
|
138
|
-
|
|
138
|
+
k as ArcgisChartsConfigPieChartData
|
|
139
139
|
};
|
|
@@ -3,6 +3,6 @@ import "../arcgis-charts-config-pie-chart-popover/index.js";
|
|
|
3
3
|
import "../arcgis-charts-config-field-picker/index.js";
|
|
4
4
|
import "@esri/calcite-components/components/calcite-list";
|
|
5
5
|
import "@esri/calcite-components/components/calcite-label";
|
|
6
|
-
import "@esri/calcite-components/components/calcite-
|
|
6
|
+
import "@esri/calcite-components/components/calcite-button";
|
|
7
7
|
import "@esri/calcite-components/components/calcite-switch";
|
|
8
8
|
export * from "./customElement.js";
|