@arcgis/charts-components 5.0.0-next.158 → 5.0.0-next.159
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/README.md +1 -1
- package/dist/cdn/{2V7XB6H4.js → 23CI3RGM.js} +1 -1
- package/dist/cdn/{NDU52BYA.js → 23PHK6Q3.js} +1 -1
- package/dist/cdn/{QLMRNKUQ.js → 2AXOHBTG.js} +1 -1
- package/dist/cdn/{6AURN756.js → 2PCL7BDH.js} +1 -1
- package/dist/cdn/{QK6RCLLF.js → 2TLI5IK4.js} +1 -1
- package/dist/cdn/{MISZ2NMU.js → 3LZOGVGM.js} +1 -1
- package/dist/cdn/{KY3JCZSP.js → 45MXWKY6.js} +1 -1
- package/dist/cdn/{M2TKPMMT.js → 4CGALRRQ.js} +1 -1
- package/dist/cdn/{3XFFDXHQ.js → 4K7ZYDKF.js} +1 -1
- package/dist/cdn/{XNL7NFAH.js → 4S7UHPZ2.js} +1 -1
- package/dist/cdn/5SFWMPAL.js +2 -0
- package/dist/cdn/{KVTFSNRI.js → 5WGR2IHJ.js} +1 -1
- package/dist/cdn/62UIRF3H.js +4 -0
- package/dist/cdn/6FSCLAIV.js +2 -0
- package/dist/cdn/{YAHISCT6.js → 7BQDP2JE.js} +1 -1
- package/dist/cdn/{JVBDLB6J.js → 7HDJ4GSM.js} +1 -1
- package/dist/cdn/{C2D4PMKS.js → 7TIE2DKP.js} +1 -1
- package/dist/cdn/{64LQTMWT.js → 7X2YAGTU.js} +1 -1
- package/dist/cdn/{I6M2SEPV.js → 7YRAV32J.js} +1 -1
- package/dist/cdn/{G77HWKMZ.js → A6ZS4JBJ.js} +1 -1
- package/dist/cdn/{DWNI6MAZ.js → B67O6VPT.js} +1 -1
- package/dist/cdn/{5KTCEQAS.js → BKIJ6QIW.js} +1 -1
- package/dist/cdn/{WJH2ZB2C.js → BM4LV6EH.js} +1 -1
- package/dist/cdn/{IQR4LTFT.js → CWXQVIOL.js} +1 -1
- package/dist/cdn/{P55AECIP.js → DA6LZ35B.js} +1 -1
- package/dist/cdn/{62Q5NN53.js → DPTKDNQB.js} +1 -1
- package/dist/cdn/{GETJXYEA.js → ECGGUBXX.js} +1 -1
- package/dist/cdn/{W2SRDXM2.js → EQQVZQPA.js} +1 -1
- package/dist/cdn/{GRFPR6LP.js → EZGIT5LQ.js} +1 -1
- package/dist/cdn/{M7EE7D5F.js → FMOZWC3Y.js} +1 -1
- package/dist/cdn/{4RGOWXHY.js → FR3NVVQY.js} +1 -1
- package/dist/cdn/{WESNWN3L.js → FTD5UVXO.js} +1 -1
- package/dist/cdn/{7KM6L3BG.js → G5ZHCAHU.js} +1 -1
- package/dist/cdn/{ZPNCCR62.js → G7XC3DHD.js} +1 -1
- package/dist/cdn/{SHM4CZPU.js → GG23R225.js} +1 -1
- package/dist/cdn/{KLONUA2K.js → GV2747L5.js} +1 -1
- package/dist/cdn/{VPVIHXGA.js → H7XKM35O.js} +1 -1
- package/dist/cdn/{AMHG4ZQ6.js → HKDI6JUF.js} +1 -1
- package/dist/cdn/{7TSSKRGD.js → I4LBY2IJ.js} +1 -1
- package/dist/cdn/{GBNVQDWY.js → IHJ3DMVF.js} +1 -1
- package/dist/cdn/{LHEQ53JJ.js → IS3RQQRJ.js} +1 -1
- package/dist/cdn/{AN5ERUB5.js → J2D226P4.js} +1 -1
- package/dist/cdn/{KMWCZIWA.js → JD7DFSFR.js} +1 -1
- package/dist/cdn/{4Z66DRAF.js → JWOACGON.js} +1 -1
- package/dist/cdn/{VB5RPSD3.js → KWVDYGKN.js} +1 -1
- package/dist/cdn/{ZDLSFUAP.js → L55BVO4Y.js} +1 -1
- package/dist/cdn/{CAUK65AY.js → LPUYUYKP.js} +1 -1
- package/dist/cdn/{GG3PLLNA.js → LZELHR5T.js} +1 -1
- package/dist/cdn/{FO2ZLJXJ.js → MNEU7XZS.js} +1 -1
- package/dist/cdn/{6GX7ZRO4.js → MZ2VSRNU.js} +1 -1
- package/dist/cdn/{AG6RJW4F.js → NATFS72O.js} +1 -1
- package/dist/cdn/{5CKMS657.js → NWPMXMIB.js} +1 -1
- package/dist/cdn/{ORCQHZIV.js → OJ7YOQ2Q.js} +1 -1
- package/dist/cdn/{HYRPS6N7.js → OZZTNFWS.js} +1 -1
- package/dist/cdn/{MYATFH46.js → P4CWVM3F.js} +1 -1
- package/dist/cdn/{MIEIKLAD.js → PW3IHV7Z.js} +1 -1
- package/dist/cdn/{KKSUIOJW.js → QCRIMI75.js} +1 -1
- package/dist/cdn/{MCSJNW5Z.js → QPOHR5NZ.js} +1 -1
- package/dist/cdn/{B4E2LEZ5.js → QQHM4RZQ.js} +1 -1
- package/dist/cdn/{H7CETLE7.js → RBRV4HJW.js} +1 -1
- package/dist/cdn/{YKARKGXM.js → RJ3O2IEU.js} +1 -1
- package/dist/cdn/{V63WEITJ.js → RMM33LHR.js} +1 -1
- package/dist/cdn/{53M2GI5B.js → RTKFG5ZZ.js} +1 -1
- package/dist/cdn/{XNEASAST.js → S5RUAJKR.js} +1 -1
- package/dist/cdn/{DN4BCK3P.js → S74NSGKM.js} +1 -1
- package/dist/cdn/{EMU2VTSL.js → SSCH2DXJ.js} +1 -1
- package/dist/cdn/{IYYKO6PY.js → SV3IS74T.js} +1 -1
- package/dist/cdn/{2XXVOGZO.js → TGO6QY2I.js} +1 -1
- package/dist/cdn/TJBC4CXQ.js +56 -0
- package/dist/cdn/{K6Z7VPCE.js → TJLHGYCJ.js} +1 -1
- package/dist/cdn/{R7PQRNFH.js → TOMVNX73.js} +1 -1
- package/dist/cdn/{DRUUHIXY.js → TQBS7ZGJ.js} +1 -1
- package/dist/cdn/{G4X3YIR3.js → USWVLIHW.js} +1 -1
- package/dist/cdn/{C635ZB4G.js → UU7H3QQX.js} +1 -1
- package/dist/cdn/{CLRN7ZKR.js → V6LRTSYP.js} +1 -1
- package/dist/cdn/{NLWXP3RF.js → VMVLN6F3.js} +1 -1
- package/dist/cdn/{RWWG3IRW.js → VSIKU7KG.js} +1 -1
- package/dist/cdn/{3F47KDA4.js → W2P2CHCT.js} +1 -1
- package/dist/cdn/{HEG6JPKW.js → WAHAF6VA.js} +1 -1
- package/dist/cdn/{RQB7WLMF.js → WFVDJHOW.js} +1 -1
- package/dist/cdn/{G6VEJICZ.js → WJHDEYRD.js} +1 -1
- package/dist/cdn/{IE5ATMNC.js → WPWVVMPA.js} +1 -1
- package/dist/cdn/{7ZRFD7LZ.js → WPYH2X5G.js} +1 -1
- package/dist/cdn/{RL6BNDJZ.js → XBUJWXVR.js} +1 -1
- package/dist/cdn/{U52UYUF5.js → XSKGEBNA.js} +1 -1
- package/dist/cdn/{2LMEFKSS.js → XV34WTN6.js} +1 -1
- package/dist/cdn/{HJPNTKVC.js → XZXK6EMI.js} +1 -1
- package/dist/cdn/{LCVXTZKC.js → Y6OEVM7W.js} +1 -1
- package/dist/cdn/{KLGJZTBX.js → ZUZ3WC7D.js} +6 -6
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/bar-chart-series.js +5 -3
- package/dist/chunks/index.js +15 -15
- package/dist/chunks/index6.js +18 -0
- package/dist/components/arcgis-chart/customElement.js +2009 -2042
- package/dist/components/arcgis-charts-info-modal/customElement.js +29 -14
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/json-schema/index.d.ts +2 -2
- package/dist/loader.js +3 -3
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +2 -2
- package/dist/spec/rest-js-types.d.ts +15 -0
- package/dist/spec/web-chart.d.ts +4 -4
- package/dist/utils/chart-config/utils/index.d.ts +3 -0
- package/dist/utils/layer/query-parser/index.d.ts +4 -1
- package/dist/utils/localization/interfaces.d.ts +1 -0
- package/dist/utils/misc/index.d.ts +13 -7
- package/dist/utils/type-guards/index.d.ts +15 -8
- package/package.json +3 -3
- package/dist/cdn/DPD3VXPT.js +0 -58
- package/dist/cdn/WO77KL6H.js +0 -2
- package/dist/cdn/WY36Y4NV.js +0 -2
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import { LitElement as
|
|
2
|
+
import { c as s } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as n, html as i } from "lit";
|
|
4
|
+
import { LitElement as c, safeClassMap as e, safeStyleMap as r } from "@arcgis/lumina";
|
|
5
|
+
import { i as a } from "../../chunks/index6.js";
|
|
5
6
|
import "@arcgis/toolkit/intl";
|
|
6
7
|
import "lodash-es";
|
|
7
8
|
import "luxon";
|
|
8
9
|
import "d3-array";
|
|
9
10
|
import "@arcgis/toolkit/type";
|
|
10
11
|
import "../../chunks/series-types.js";
|
|
11
|
-
import { d6 as
|
|
12
|
+
import { d6 as d } from "../../chunks/index.js";
|
|
12
13
|
import "@arcgis/core/Graphic.js";
|
|
13
14
|
import "@arcgis/core/renderers/support/jsonUtils.js";
|
|
14
15
|
import "@arcgis/core/symbols/support/symbolUtils.js";
|
|
@@ -25,26 +26,40 @@ import "@arcgis/core/rest/support/StatisticDefinition.js";
|
|
|
25
26
|
import "@arcgis/core/time/TimeExtent.js";
|
|
26
27
|
import "@arcgis/core/core/promiseUtils.js";
|
|
27
28
|
import "@arcgis/toolkit/dom";
|
|
28
|
-
const
|
|
29
|
-
class
|
|
29
|
+
const h = n`.hide{display:none}.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:100%;height:100%;overflow:auto}.panel-children-container{display:flex;padding:0 1rem;margin-top:1rem}.panel-children-container calcite-label{flex:1 1 0px;display:flex;width:0px}.container{box-sizing:border-box;width:100%;height:100%;display:grid;place-items:center;align-content:center;justify-content:center;padding:1rem;background-color:var(--calcite-color-foreground-1);text-align:left}.container h3.heading-true{color:var(--calcite-color-text-1);margin-bottom:auto;background:#0000000d;height:30px;padding-left:.5rem;padding-top:.5rem;justify-self:stretch;text-align:left}.container h3.heading-false{background:var(--calcite-color-foreground-1);margin-bottom:auto}.container p{color:var(--calcite-color-text-1);justify-self:stretch;text-align:left}.chart-loader-overlay{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;z-index:1001;background:var(--calcite-color-foreground-1)}`, l = { Container: "container", ChartLoaderOverlay: "chart-loader-overlay" };
|
|
30
|
+
class p extends c {
|
|
30
31
|
constructor() {
|
|
31
32
|
super(...arguments), this.message = "", this.heading = "", this.showErrorModalInfo = !1;
|
|
32
33
|
}
|
|
33
34
|
static {
|
|
34
|
-
this.properties = { message: 1, heading: 1, showErrorModalInfo: 5, showLoader: 5,
|
|
35
|
+
this.properties = { message: 1, heading: 1, showErrorModalInfo: 5, showLoader: 5, loaderColors: 0, calciteThemeApplied: 1 };
|
|
35
36
|
}
|
|
36
37
|
static {
|
|
37
|
-
this.styles =
|
|
38
|
+
this.styles = h;
|
|
38
39
|
}
|
|
39
40
|
render() {
|
|
40
|
-
let t = null;
|
|
41
|
-
return this.
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
let t = null, o;
|
|
42
|
+
return this.loaderColors?.curtainColor && (this.calciteThemeApplied === "dark" ? o = a({
|
|
43
|
+
r: this.loaderColors.curtainColor[0],
|
|
44
|
+
g: this.loaderColors.curtainColor[1],
|
|
45
|
+
b: this.loaderColors.curtainColor[2],
|
|
46
|
+
a: this.loaderColors.curtainColor[3] / 255
|
|
47
|
+
}) ? "var(--calcite-color-text-inverse)" : "var(--calcite-color-text-1)" : o = a({
|
|
48
|
+
r: this.loaderColors.curtainColor[0],
|
|
49
|
+
g: this.loaderColors.curtainColor[1],
|
|
50
|
+
b: this.loaderColors.curtainColor[2],
|
|
51
|
+
a: this.loaderColors.curtainColor[3] / 255
|
|
52
|
+
}) ? "var(--calcite-color-text-1)" : "var(--calcite-color-text-inverse)"), this.showErrorModalInfo ? t = i`<div class=${e(l.Container)} style=${r(this.loaderColors?.curtainColor ? { background: `rgb(${this.loaderColors?.curtainColor.toString()})` } : void 0)}><h3 class=${e(this.heading !== "" ? "heading-true" : "heading-false")} style=${r(o ? { color: o } : void 0)}>${this.heading}</h3><p style=${r(o ? { color: o } : void 0)} .innerHTML=${d(this.message) ?? ""}></p></div>` : this.showLoader && (t = i`<div class=${e(l.ChartLoaderOverlay)} style=${r({
|
|
53
|
+
...this.loaderColors?.curtainColor && {
|
|
54
|
+
background: `rgb(${this.loaderColors.curtainColor.toString()})`
|
|
55
|
+
},
|
|
56
|
+
...this.loaderColors?.spinnerColor && {
|
|
57
|
+
"--calcite-loader-progress-color": `rgb(${this.loaderColors.spinnerColor.toString()})`
|
|
58
|
+
}
|
|
44
59
|
})}><calcite-loader scale=s label=Loading></calcite-loader></div>`), t;
|
|
45
60
|
}
|
|
46
61
|
}
|
|
47
|
-
|
|
62
|
+
s("arcgis-charts-info-modal", p);
|
|
48
63
|
export {
|
|
49
|
-
|
|
64
|
+
p as ArcgisChartsInfoModal
|
|
50
65
|
};
|