@arcgis/charts-components 5.1.0-next.8 → 5.1.0-next.9
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/{BTMNCXKX.js → 24ZMVNPY.js} +1 -1
- package/dist/cdn/{JGB4OLU5.js → 2E6UOES5.js} +1 -1
- package/dist/cdn/{QCF56OBO.js → 37TFH77K.js} +1 -1
- package/dist/cdn/{MMZFC2VM.js → 3J7OE25D.js} +1 -1
- package/dist/cdn/{GUD54AQJ.js → 3KPOZY7U.js} +1 -1
- package/dist/cdn/{7WH6VBY6.js → 3MBJIZXQ.js} +1 -1
- package/dist/cdn/{HOVLVPQH.js → 3MJNDW3O.js} +1 -1
- package/dist/cdn/{E3KNK2QL.js → 3V24TSG3.js} +1 -1
- package/dist/cdn/{N2UJIZEU.js → 472LMJV5.js} +1 -1
- package/dist/cdn/{U2TWW4FY.js → 4KLIA33J.js} +1 -1
- package/dist/cdn/{B33AB3RQ.js → 4RTN2F3A.js} +1 -1
- package/dist/cdn/{5SE3ZDX2.js → 5IBIN5PX.js} +1 -1
- package/dist/cdn/{ENHEXARD.js → 5UNMJRBV.js} +1 -1
- package/dist/cdn/{3IKX7JF5.js → 6PFSSXHO.js} +1 -1
- package/dist/cdn/{7BFETEN2.js → 7EMMEDLK.js} +1 -1
- package/dist/cdn/{RF7C6WVN.js → APM2UUMS.js} +1 -1
- package/dist/cdn/{Z3EGNO5M.js → BIAHCUQC.js} +1 -1
- package/dist/cdn/{TGNJ76AH.js → CKEEXG7J.js} +6 -6
- package/dist/cdn/CMRNFSZC.js +4 -0
- package/dist/cdn/{KACPA2Q3.js → CONUNOKN.js} +1 -1
- package/dist/cdn/{ZYMJEZKL.js → CPWMQOWE.js} +1 -1
- package/dist/cdn/{4JKSKAIM.js → CYO4M5FA.js} +1 -1
- package/dist/cdn/{ZVVQECSL.js → DCSM57NL.js} +1 -1
- package/dist/cdn/{3FSLSUSK.js → DU6SCSWY.js} +1 -1
- package/dist/cdn/{UJ2JV7FV.js → DUCASUB5.js} +1 -1
- package/dist/cdn/{M7ZR4HR7.js → E2DPW452.js} +1 -1
- package/dist/cdn/{KSYKVAYS.js → E7WKMXBN.js} +1 -1
- package/dist/cdn/{3XL7ZAYC.js → EO756WDD.js} +1 -1
- package/dist/cdn/{3RGDIFXM.js → FFYDXNXA.js} +1 -1
- package/dist/cdn/{PKWXSPJL.js → FJSIGPKS.js} +1 -1
- package/dist/cdn/FM4O2SFI.js +56 -0
- package/dist/cdn/{R5CKMPU7.js → FPZLQV2G.js} +1 -1
- package/dist/cdn/{K4VD72SG.js → G6QUYWLP.js} +1 -1
- package/dist/cdn/{KPYFZSB5.js → G76ZI2ZC.js} +1 -1
- package/dist/cdn/{VDXJP4RT.js → GD3XF3YV.js} +1 -1
- package/dist/cdn/{2LIJ6LL6.js → GLSDBV72.js} +1 -1
- package/dist/cdn/{PUCPVH4M.js → GYWWWJWB.js} +1 -1
- package/dist/cdn/{ACHYJXNP.js → IDCUWB47.js} +1 -1
- package/dist/cdn/{JTA6HTV5.js → IPU3GNA6.js} +1 -1
- package/dist/cdn/IRNA25SY.js +2 -0
- package/dist/cdn/{DSRT3QGU.js → ITDXKVUB.js} +1 -1
- package/dist/cdn/{BHWSEWHV.js → JA7R63SP.js} +1 -1
- package/dist/cdn/{DAQJEXZA.js → KFQTTMZU.js} +1 -1
- package/dist/cdn/{ATIYLNFB.js → KITWKIQT.js} +1 -1
- package/dist/cdn/{YFEYEBAA.js → L32OCJD2.js} +1 -1
- package/dist/cdn/{5JLPD2NR.js → LGBK4T3V.js} +1 -1
- package/dist/cdn/{KKGG37KV.js → LN2MYFKL.js} +1 -1
- package/dist/cdn/{XJSBB5KR.js → LQ3P2GFC.js} +1 -1
- package/dist/cdn/{VKLPG37D.js → LRRJCSJK.js} +1 -1
- package/dist/cdn/{ANOLEK36.js → M4QXPKAQ.js} +1 -1
- package/dist/cdn/MMPVU2IV.js +2 -0
- package/dist/cdn/{ATYJIBQA.js → MTYGJ44X.js} +1 -1
- package/dist/cdn/{JAKJRZFS.js → MZD5VJSC.js} +1 -1
- package/dist/cdn/{THBEEC5Q.js → N2ZRK46C.js} +1 -1
- package/dist/cdn/{EAMOK76F.js → N6YCO6NE.js} +1 -1
- package/dist/cdn/{LRRTUMQS.js → O4MXHOEX.js} +1 -1
- package/dist/cdn/{TS3WIN62.js → OBSMBH62.js} +1 -1
- package/dist/cdn/{XPM5OZBN.js → OZ7IZCS5.js} +1 -1
- package/dist/cdn/{ERWSXC2D.js → PCHLTJ76.js} +1 -1
- package/dist/cdn/{KFJXMRC6.js → PCYK43OC.js} +1 -1
- package/dist/cdn/{6JS63XSI.js → R4MVTPEY.js} +1 -1
- package/dist/cdn/{XHXTKPL6.js → R7UV3FXZ.js} +1 -1
- package/dist/cdn/{5AGSNJFG.js → RDF2VETY.js} +1 -1
- package/dist/cdn/{3LSZZLGN.js → RZEX2MXS.js} +1 -1
- package/dist/cdn/{H7ZDNA7W.js → S4NHHCVM.js} +1 -1
- package/dist/cdn/{Q5N6IPFC.js → SIICUGBH.js} +1 -1
- package/dist/cdn/{A6FLP7SG.js → SLC3TO6I.js} +1 -1
- package/dist/cdn/{I7WRC44V.js → SPJB74EZ.js} +1 -1
- package/dist/cdn/{SM4LQF5M.js → SQ2LPEU6.js} +1 -1
- package/dist/cdn/{IEY3ZHXM.js → TADL5VDR.js} +1 -1
- package/dist/cdn/{MDLYTSBA.js → U57WLEFE.js} +1 -1
- package/dist/cdn/{RFHASMHJ.js → U7RUXGWS.js} +1 -1
- package/dist/cdn/{IASONEII.js → UZXMOHSJ.js} +1 -1
- package/dist/cdn/{BTOKHA76.js → VKTCJE62.js} +1 -1
- package/dist/cdn/{MLDP5OXE.js → W4GPDO26.js} +1 -1
- package/dist/cdn/{D5XDNKEV.js → W62POWRZ.js} +1 -1
- package/dist/cdn/{HYAXYKZG.js → WDVEXO33.js} +1 -1
- package/dist/cdn/{WYPEKQH6.js → WL34DGXY.js} +1 -1
- package/dist/cdn/{5J43WZSR.js → WVNSR4SR.js} +1 -1
- package/dist/cdn/{2XUJZES7.js → XKYZJAX2.js} +1 -1
- package/dist/cdn/{OFRMMDZQ.js → YAIXJAXB.js} +1 -1
- package/dist/cdn/{W7KYGPSP.js → YPJL3ONL.js} +1 -1
- package/dist/cdn/{7EP32GQJ.js → YXTRZZW6.js} +1 -1
- package/dist/cdn/{YXWXHEUY.js → YYIKPG5C.js} +1 -1
- package/dist/cdn/{MIH3XFE3.js → Z3THOKP3.js} +1 -1
- package/dist/cdn/{CTXREB7E.js → ZDOG5ZE7.js} +1 -1
- package/dist/cdn/{OJGWQ3IH.js → ZTZHFZ2Q.js} +1 -1
- package/dist/cdn/{VBOUUUVO.js → ZUGZLTC4.js} +1 -1
- package/dist/cdn/{OEJ6ZA3E.js → ZX2U6NZL.js} +1 -1
- 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/JCW7HW3E.js +0 -58
- package/dist/cdn/KIMKCXB6.js +0 -2
- package/dist/cdn/ZYEUKPGT.js +0 -2
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/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
|
};
|