@arcgis/charts-components 5.1.0-next.112 → 5.1.0-next.113
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/{D64TYM3R.js → 24TOMTMP.js} +1 -1
- package/dist/cdn/{KGUWJXNX.js → 2EPXIQFD.js} +1 -1
- package/dist/cdn/2SVBUT3V.js +2 -0
- package/dist/cdn/{KBFIWSF2.js → 2XTQT6TW.js} +1 -1
- package/dist/cdn/{PIQLTGQV.js → 2YI4HWFY.js} +36 -36
- package/dist/cdn/{VA7A24CW.js → 34WNZMJY.js} +1 -1
- package/dist/cdn/{MT2SXIFX.js → 4G5JOLEP.js} +1 -1
- package/dist/cdn/{D5HBIRFV.js → 4MZJZQDO.js} +1 -1
- package/dist/cdn/{2XZHEQOM.js → 52QMEXI6.js} +1 -1
- package/dist/cdn/{XL2LODIA.js → 5I75UYWD.js} +1 -1
- package/dist/cdn/{ABLXR4MB.js → 5M72DGYL.js} +1 -1
- package/dist/cdn/{I3AEOP2Z.js → 5PG6PXDG.js} +1 -1
- package/dist/cdn/6FGRLBTA.js +2 -0
- package/dist/cdn/6JNHTWDQ.js +2 -0
- package/dist/cdn/{BRQAPAQK.js → 6YSH3ROL.js} +1 -1
- package/dist/cdn/{D3BGIANC.js → 7AVVBDQS.js} +1 -1
- package/dist/cdn/{U4MRHS76.js → 7EDHTVVK.js} +1 -1
- package/dist/cdn/{NF2XLTBQ.js → 7MHEEH5F.js} +1 -1
- package/dist/cdn/{H2KJXNFC.js → 7Y76VKGS.js} +1 -1
- package/dist/cdn/AC2XSIOU.js +2 -0
- package/dist/cdn/{GFNVUB7K.js → AEESEH6N.js} +1 -1
- package/dist/cdn/{YINMQ55E.js → AYY2C4BW.js} +1 -1
- package/dist/cdn/{GWMDQQIJ.js → BH7WDRGU.js} +1 -1
- package/dist/cdn/CMPHBGKB.js +2 -0
- package/dist/cdn/{IBM2BU72.js → DDA7NVBX.js} +1 -1
- package/dist/cdn/{JGJIYKDB.js → DMDXALHQ.js} +1 -1
- package/dist/cdn/{JVHLFBSS.js → DX5LK7LS.js} +1 -1
- package/dist/cdn/{3FXHEHMZ.js → ERUYMQOC.js} +1 -1
- package/dist/cdn/{E6KDF7I4.js → ESUMWLYT.js} +1 -1
- package/dist/cdn/{P2QKEA6M.js → EULFJ5JL.js} +1 -1
- package/dist/cdn/{S5AL63QJ.js → EX27CNDS.js} +1 -1
- package/dist/cdn/FYI7J2KF.js +2 -0
- package/dist/cdn/{6KZXKGN5.js → GGZNH26O.js} +1 -1
- package/dist/cdn/{XWRRNCXX.js → HIQSXKPT.js} +1 -1
- package/dist/cdn/{RD6ECNGH.js → HS2WQJEO.js} +1 -1
- package/dist/cdn/{6MJZVFHH.js → IBCUXQZ4.js} +1 -1
- package/dist/cdn/{KKRB2MKQ.js → IC4OZCXG.js} +1 -1
- package/dist/cdn/{Y7XBFA23.js → JGD2M47O.js} +1 -1
- package/dist/cdn/KGOERXN5.js +2 -0
- package/dist/cdn/{ODQFJ4LV.js → KPXH2MNB.js} +1 -1
- package/dist/cdn/KSBWHMXE.js +2 -0
- package/dist/cdn/{CM6SMNRV.js → L3ULFQN3.js} +1 -1
- package/dist/cdn/{AHJ3Z5VK.js → LKHNZDEC.js} +1 -1
- package/dist/cdn/{UMYKMOTP.js → LXVLBS7T.js} +1 -1
- package/dist/cdn/{FBAOV5K3.js → M5E3NFDP.js} +1 -1
- package/dist/cdn/{EXMOSLLD.js → MKEUDI3M.js} +1 -1
- package/dist/cdn/{CM3VU2OY.js → MKQPW6B4.js} +1 -1
- package/dist/cdn/MVAMHZ3Q.js +2 -0
- package/dist/cdn/{5HINM2VQ.js → N265ZHHU.js} +1 -1
- package/dist/cdn/{R7CJ4O3L.js → N2S6YV3I.js} +1 -1
- package/dist/cdn/N3EATDXE.js +2 -0
- package/dist/cdn/{X67CUQNM.js → NR3BCOHU.js} +1 -1
- package/dist/cdn/{67KR6LRC.js → O2JEDVIA.js} +1 -1
- package/dist/cdn/{LOCJNU5K.js → OB7IDW6S.js} +1 -1
- package/dist/cdn/{AEUYFUBD.js → OBPCKG62.js} +1 -1
- package/dist/cdn/{PJNQHWV6.js → OCERCT4I.js} +1 -1
- package/dist/cdn/{5LC3XI7H.js → OFN7ED75.js} +1 -1
- package/dist/cdn/{KMEU5ARZ.js → OQSFVGUL.js} +1 -1
- package/dist/cdn/{DQCPY5W2.js → PA3PSUQ3.js} +1 -1
- package/dist/cdn/PYFMKPMO.js +2 -0
- package/dist/cdn/QRZ32JMG.js +2 -0
- package/dist/cdn/{3HD6QKW5.js → R3GNKVFS.js} +1 -1
- package/dist/cdn/R3Y2F64T.js +2 -0
- package/dist/cdn/{PBODMDBX.js → RBVV7JGY.js} +9 -9
- package/dist/cdn/{ESYVOEM3.js → S32VCEG7.js} +1 -1
- package/dist/cdn/{OML6Q2NW.js → S7ASARWB.js} +1 -1
- package/dist/cdn/{WXICRF7E.js → SVMC3JP5.js} +1 -1
- package/dist/cdn/SYXU6NZX.js +2 -0
- package/dist/cdn/{JUZN32FE.js → T3CSQ5DU.js} +1 -1
- package/dist/cdn/T3NJTAF3.js +2 -0
- package/dist/cdn/{LJRBB6FP.js → T53WJZQN.js} +1 -1
- package/dist/cdn/TES5ZESK.js +2 -0
- package/dist/cdn/U5ZB4YD6.js +2 -0
- package/dist/cdn/{3AXJHQ2G.js → UNDCO72C.js} +1 -1
- package/dist/cdn/{S76F4PYC.js → UR537UXK.js} +1 -1
- package/dist/cdn/{XJNMW7WT.js → VMAOMKFN.js} +1 -1
- package/dist/cdn/{KZPT7DNZ.js → VV7JMGHL.js} +1 -1
- package/dist/cdn/{5HA57VEM.js → W6CIWZSM.js} +1 -1
- package/dist/cdn/{SZZ4H4ZK.js → WA5XK3HC.js} +1 -1
- package/dist/cdn/{6TTUH24U.js → WD4QY4YU.js} +1 -1
- package/dist/cdn/{W7FIZJJV.js → WESXMGHU.js} +1 -1
- package/dist/cdn/{SJN44JLK.js → WFDVEHVL.js} +1 -1
- package/dist/cdn/{JSLCGSQY.js → WI3CE5TT.js} +1 -1
- package/dist/cdn/{FEYXO2GF.js → WNZ2PSFZ.js} +1 -1
- package/dist/cdn/{WURCLA4B.js → XLJSZ42M.js} +1 -1
- package/dist/cdn/{JQ46RTG7.js → XM6GBBOL.js} +1 -1
- package/dist/cdn/{QLSZLTAV.js → YE5ASSSN.js} +1 -1
- package/dist/cdn/{P6S4F5LJ.js → ZBLRD77K.js} +1 -1
- package/dist/cdn/ZZRH7LXO.js +2 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/class-breaks.js +375 -196
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/heat-chart-model.js +80 -55
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/index2.js +2 -1
- package/dist/chunks/index4.js +395 -368
- package/dist/chunks/index5.js +30 -16
- package/dist/chunks/index6.js +95 -180
- package/dist/chunks/index7.js +63 -96
- package/dist/chunks/model-setter.js +5 -4
- package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
- package/dist/chunks/serial-chart-data.js +459 -428
- package/dist/chunks/serial-chart-model.js +21 -21
- package/dist/chunks/type-guards3.js +1 -1
- package/dist/chunks/utils.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.js +1874 -1852
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +113 -115
- 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-line-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.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/index.js +3 -3
- package/dist/json-schema/index.d.ts +16 -2
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +7 -0
- package/dist/spec/web-chart.d.ts +5 -1
- package/package.json +3 -3
- package/dist/cdn/263JBBGM.js +0 -2
- package/dist/cdn/35KB444X.js +0 -2
- package/dist/cdn/4HY2RXSW.js +0 -2
- package/dist/cdn/66KACO5S.js +0 -2
- package/dist/cdn/AG3TVVQ2.js +0 -2
- package/dist/cdn/ALLLIA7C.js +0 -2
- package/dist/cdn/CDQ7GWYX.js +0 -2
- package/dist/cdn/CSP5QTAR.js +0 -2
- package/dist/cdn/DK6HSROT.js +0 -2
- package/dist/cdn/EZWN2KJB.js +0 -2
- package/dist/cdn/FYM7POP4.js +0 -2
- package/dist/cdn/IYGAISDT.js +0 -2
- package/dist/cdn/J33CC7V4.js +0 -2
- package/dist/cdn/KNQ5BIHK.js +0 -2
- package/dist/cdn/KXB6IFTK.js +0 -2
- package/dist/cdn/SH6SDXJC.js +0 -2
- package/dist/cdn/SYUVV7NT.js +0 -2
- package/dist/cdn/XGNWXJ66.js +0 -2
- package/dist/chunks/index8.js +0 -66
- /package/dist/cdn/{AUFWCLGL.js → COYWSD6X.js} +0 -0
- /package/dist/cdn/{BVUORLWQ.js → Y2AULE2F.js} +0 -0
|
@@ -8,7 +8,7 @@ import { createRef as $, ref as b } from "lit/directives/ref.js";
|
|
|
8
8
|
import { LitElement as V, renderElement as C, safeStyleMap as y, createEvent as B, safeClassMap as L, nothing as s } from "@arcgis/lumina";
|
|
9
9
|
import { d as n } from "../../chunks/chart-ui-utils2.js";
|
|
10
10
|
import { i as F } from "../../chunks/rotated-state.js";
|
|
11
|
-
import { a as t, A as o, D as e } from "../../chunks/
|
|
11
|
+
import { a as t, A as o, D as e } from "../../chunks/index7.js";
|
|
12
12
|
import { A as D } from "../../chunks/index3.js";
|
|
13
13
|
import { u as k } from "../../chunks/chart-object-literals.js";
|
|
14
14
|
import { b as r, k as I } from "../../chunks/type-guards2.js";
|
|
@@ -5,7 +5,7 @@ import { css as c, html as s } from "lit";
|
|
|
5
5
|
import { isEqual as r } from "lodash-es";
|
|
6
6
|
import { C as t } from "../../chunks/interfaces.js";
|
|
7
7
|
import { ac as h, bu as f, I as p, ba as g } from "../../chunks/index2.js";
|
|
8
|
-
import { o as m, h as u } from "../../chunks/
|
|
8
|
+
import { o as m, h as u } from "../../chunks/index6.js";
|
|
9
9
|
const C = c`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
10
10
|
class F extends n {
|
|
11
11
|
constructor() {
|
|
@@ -5,7 +5,7 @@ import { css as d, html as s } from "lit";
|
|
|
5
5
|
import { isEqual as r } from "lodash-es";
|
|
6
6
|
import { C as a } from "../../chunks/interfaces.js";
|
|
7
7
|
import { ac as c, I as h } from "../../chunks/index2.js";
|
|
8
|
-
import { h as f } from "../../chunks/
|
|
8
|
+
import { h as f } from "../../chunks/index6.js";
|
|
9
9
|
const m = d`: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 p extends n {
|
|
11
11
|
constructor() {
|
|
@@ -19,7 +19,7 @@ import { c5 as Y, _ as Q, c6 as J, K as ee, bX as te } from "../../chunks/index2
|
|
|
19
19
|
import { A as ae } from "../../chunks/axis-model-wrapper.js";
|
|
20
20
|
import { h as ie, a as y } from "../../chunks/web-component-utils.js";
|
|
21
21
|
import { d as se } from "../../chunks/chart-ui-utils2.js";
|
|
22
|
-
import { C as M } from "../../chunks/
|
|
22
|
+
import { C as M } from "../../chunks/index7.js";
|
|
23
23
|
import { a as B } from "../../chunks/chart-ui-utils.js";
|
|
24
24
|
import { c as re, d as $ } from "../../chunks/type-guards.js";
|
|
25
25
|
import { r as oe } from "../../chunks/popover-ui-utils.js";
|
|
@@ -11,7 +11,7 @@ import { u as N } from "../../chunks/useT9n.js";
|
|
|
11
11
|
import { css as H, html as u } from "lit";
|
|
12
12
|
import { LitElement as j, renderElement as I, safeClassMap as p } from "@arcgis/lumina";
|
|
13
13
|
import { C as O, F as i, L as d } from "../../chunks/common.js";
|
|
14
|
-
import { p as y, w as l } from "../../chunks/
|
|
14
|
+
import { p as y, w as l } from "../../chunks/index6.js";
|
|
15
15
|
import { r as $ } from "../../chunks/popover-ui-utils.js";
|
|
16
16
|
import { u as r } from "../../chunks/chart-object-literals.js";
|
|
17
17
|
const v = {
|
|
@@ -12,7 +12,7 @@ import { LitElement as V, createEvent as U, renderElement as M, safeStyleMap as
|
|
|
12
12
|
import { m as W, p as Y, q 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
14
|
import { Z as J } from "../../chunks/index.js";
|
|
15
|
-
import { p as m, o as K } from "../../chunks/
|
|
15
|
+
import { p as m, o as K } from "../../chunks/index6.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";
|
|
18
18
|
import { u as te } from "../../chunks/chart-object-literals.js";
|
|
@@ -4,7 +4,7 @@ import { LitElement as l } from "@arcgis/lumina";
|
|
|
4
4
|
import { css as n, html as i } from "lit";
|
|
5
5
|
import { C as o } from "../../chunks/interfaces.js";
|
|
6
6
|
import { isEqual as d } from "lodash-es";
|
|
7
|
-
import { h } from "../../chunks/
|
|
7
|
+
import { h } from "../../chunks/index6.js";
|
|
8
8
|
import { ac as c, I as f } from "../../chunks/index2.js";
|
|
9
9
|
const m = n`:host{margin-bottom:var(--arcgis-charts-intra-section-margin);margin-top:var(--arcgis-charts-intra-section-margin);height:100%}`;
|
|
10
10
|
class p extends l {
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { LitElement as
|
|
4
|
-
import { getElementLocale as w, normalizeLocale as I, defaultLocale as
|
|
5
|
-
import { css as
|
|
2
|
+
import { c as D } from "../../chunks/runtime.js";
|
|
3
|
+
import { LitElement as E, createEvent as P, renderElement as M, safeClassMap as o, safeStyleMap as x } from "@arcgis/lumina";
|
|
4
|
+
import { getElementLocale as w, normalizeLocale as I, defaultLocale as N } from "@arcgis/toolkit/intl";
|
|
5
|
+
import { css as _, html as i } from "lit";
|
|
6
6
|
import { createRef as n, ref as c } from "lit/directives/ref.js";
|
|
7
|
-
import {
|
|
8
|
-
import { DateTime as
|
|
9
|
-
import { F as B, d as
|
|
10
|
-
import { u as
|
|
11
|
-
import { e as
|
|
12
|
-
import { x as
|
|
13
|
-
import { i as
|
|
14
|
-
import { j as v, s as
|
|
15
|
-
import {
|
|
16
|
-
import { c as
|
|
17
|
-
import { H as
|
|
18
|
-
import { i as
|
|
19
|
-
import { r as
|
|
20
|
-
import { t as
|
|
21
|
-
import { an as
|
|
22
|
-
import { i as
|
|
23
|
-
import { r as
|
|
24
|
-
const
|
|
7
|
+
import { parseInt as O, camelCase as H } from "lodash-es";
|
|
8
|
+
import { DateTime as L } from "luxon";
|
|
9
|
+
import { F as B, d as T, x as U } from "../../chunks/index3.js";
|
|
10
|
+
import { u as R } from "../../chunks/useT9n.js";
|
|
11
|
+
import { e as l, W as C } from "../../chunks/interfaces.js";
|
|
12
|
+
import { x as W } from "../../chunks/data.js";
|
|
13
|
+
import { i as V } from "../../chunks/utils.js";
|
|
14
|
+
import { j as v, s as q } from "../../chunks/chart-ui-utils2.js";
|
|
15
|
+
import { d as $, f as K, h as j, j as z } from "../../chunks/class-breaks.js";
|
|
16
|
+
import { c as X, s as Z } from "../../chunks/store.js";
|
|
17
|
+
import { H as G } from "../../chunks/common.js";
|
|
18
|
+
import { i as Y } from "../../chunks/rest-js-object-literals.js";
|
|
19
|
+
import { r as d, m as h, d as u, u as m, h as f, e as F, i as J } from "../../chunks/chart-object-literals.js";
|
|
20
|
+
import { t as Q, j as ee, k as g } from "../../chunks/index.js";
|
|
21
|
+
import { an as S } from "../../chunks/index2.js";
|
|
22
|
+
import { i as ae } from "../../chunks/index5.js";
|
|
23
|
+
import { r as te } from "../../chunks/popover-ui-utils.js";
|
|
24
|
+
const se = _`.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{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}.color-ramp{width:100%;height:20px;overflow:hidden;border-radius:0}.color-ramp-segment{height:100%;display:inline-block}.list{margin-left:var(--arcgis-charts-config-margin-minor);margin-right:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major)}.accordion{margin-top:var(--arcgis-charts-config-margin-minor);margin-bottom:var(--arcgis-charts-config-margin-major)}`, r = {
|
|
25
25
|
label: "label",
|
|
26
26
|
colorRamp: "color-ramp",
|
|
27
27
|
colorRampSegment: "color-ramp-segment",
|
|
28
28
|
list: "list",
|
|
29
29
|
accordion: "accordion"
|
|
30
30
|
};
|
|
31
|
-
class
|
|
31
|
+
class le extends E {
|
|
32
32
|
constructor() {
|
|
33
|
-
super(...arguments), this._messages =
|
|
33
|
+
super(...arguments), this._messages = R(), this.commonStrings = R({ name: "common", blocking: !0 }), this.heatChartPopover = null, this.xAxisFieldElement = n(), this.aggregationElement = n(), this.numericFieldsElement = n(), this.calendarTypeElement = n(), this.calendarViewTypeElement = n(), this.classBreakMethodElement = n(), this.nullElement = n(), this.breaksCountElement = n(), this.colorSchemeElement = n(), this.onHeatChartDataPopoverChange = async (e) => {
|
|
34
34
|
try {
|
|
35
35
|
if (e.detail?.value !== void 0) {
|
|
36
36
|
const { contentKind: a } = e.detail, t = e.detail.value;
|
|
37
37
|
switch (a) {
|
|
38
|
-
case
|
|
39
|
-
this.model.aggregationType = t, t ===
|
|
38
|
+
case l.aggregation:
|
|
39
|
+
this.model.aggregationType = t, t === d.Count || t === d.Sum ? this.model.nullPolicy = h.Zero : this.model.nullPolicy = h.Null;
|
|
40
40
|
break;
|
|
41
|
-
case
|
|
41
|
+
case l.xAxisField:
|
|
42
42
|
this.model.xAxisField = t, this.setDefaultPropertiesForCalendarHeatChart();
|
|
43
43
|
break;
|
|
44
|
-
case
|
|
45
|
-
this.model.numericFields = [t.trim() || ""], (this.model.numericFields ?? []).length > 0 && this.model.aggregationType ===
|
|
44
|
+
case l.numericFields:
|
|
45
|
+
this.model.numericFields = [t.trim() || ""], (this.model.numericFields ?? []).length > 0 && this.model.aggregationType === d.Count && this.model.numericFields[0] !== S(this.model.layer).idField && (this.model.aggregationType = d.Sum);
|
|
46
46
|
break;
|
|
47
|
-
case
|
|
47
|
+
case l.calendarType: {
|
|
48
48
|
this.applyCalendarTypePreset(t);
|
|
49
49
|
break;
|
|
50
50
|
}
|
|
51
|
-
case
|
|
51
|
+
case l.calendarViewType: {
|
|
52
52
|
this.model.viewType = t;
|
|
53
53
|
break;
|
|
54
54
|
}
|
|
55
|
-
case
|
|
55
|
+
case l.classBreakMethod: {
|
|
56
56
|
this.model.classificationMethod = t, await this.generateAndUpdateClassBreaks();
|
|
57
57
|
break;
|
|
58
58
|
}
|
|
@@ -67,40 +67,40 @@ class re extends D {
|
|
|
67
67
|
}, this.popoverClose = (e) => {
|
|
68
68
|
this.heatChartPopover === e?.target && this.removeHeatChartDataPopover();
|
|
69
69
|
}, this.onModelConfigChange = () => {
|
|
70
|
-
|
|
70
|
+
this.requestUpdate();
|
|
71
71
|
}, this.allColorRamps = [], this.onColorRampSelection = async (e) => {
|
|
72
|
-
const {
|
|
73
|
-
this.
|
|
72
|
+
const { isFlipped: a, rampName: t } = e.detail, s = this.model.colorRampName !== t, p = this.model.isColorRampFlipped !== a;
|
|
73
|
+
this.model.colorRampName = t, this.model.isColorRampFlipped = a, (s || p) && await this.generateAndUpdateClassBreaks(!0);
|
|
74
74
|
}, this.onEmptyCellNameChange = (e) => {
|
|
75
75
|
const { name: a } = e.detail;
|
|
76
76
|
if (a !== void 0) {
|
|
77
|
-
const
|
|
77
|
+
const s = {
|
|
78
78
|
...this.model.emptyCell,
|
|
79
79
|
name: a
|
|
80
80
|
};
|
|
81
|
-
this.model.emptyCell =
|
|
81
|
+
this.model.emptyCell = s;
|
|
82
82
|
}
|
|
83
83
|
}, this.onEmptyCellColorChange = (e) => {
|
|
84
84
|
const { color: a } = e.detail;
|
|
85
85
|
if (a !== void 0) {
|
|
86
|
-
const t = this.model.emptyCell,
|
|
86
|
+
const t = this.model.emptyCell, s = {
|
|
87
87
|
...t,
|
|
88
88
|
symbol: {
|
|
89
89
|
...t?.symbol,
|
|
90
|
-
type:
|
|
90
|
+
type: Y.SFS,
|
|
91
91
|
color: a,
|
|
92
92
|
outline: t?.symbol?.outline && { ...t.symbol.outline, color: a }
|
|
93
93
|
}
|
|
94
94
|
};
|
|
95
|
-
this.model.emptyCell =
|
|
95
|
+
this.model.emptyCell = s;
|
|
96
96
|
}
|
|
97
|
-
}, this.
|
|
97
|
+
}, this.availableColorRamps = [], this.layerFieldsInfo = [], this.open = !1, this.arcgisChartsConfigDataChangeError = P();
|
|
98
98
|
}
|
|
99
99
|
static {
|
|
100
|
-
this.properties = { availableColorRamps: 16, aggregationLabel: 16,
|
|
100
|
+
this.properties = { availableColorRamps: 16, aggregationLabel: 16, messageOverrides: 0, model: 0, layerFieldsInfo: 0, open: 5 };
|
|
101
101
|
}
|
|
102
102
|
static {
|
|
103
|
-
this.styles =
|
|
103
|
+
this.styles = se;
|
|
104
104
|
}
|
|
105
105
|
connectedCallback() {
|
|
106
106
|
super.connectedCallback(), this.loadColorRampFromArcGIS();
|
|
@@ -109,54 +109,57 @@ class re extends D {
|
|
|
109
109
|
this.modelChange(this.model), this.onModelConfigChange();
|
|
110
110
|
}
|
|
111
111
|
willUpdate(e) {
|
|
112
|
-
e.has("model") && this.modelChange(this.model, e.get("model")), this.aggregationLabel =
|
|
112
|
+
e.has("model") && this.modelChange(this.model, e.get("model")), this.aggregationLabel = Q(this.model.aggregationType, this.commonStrings);
|
|
113
113
|
}
|
|
114
114
|
disconnectedCallback() {
|
|
115
115
|
super.disconnectedCallback(), this.model?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
116
116
|
}
|
|
117
117
|
loadColorRampFromArcGIS() {
|
|
118
|
-
const e =
|
|
118
|
+
const e = $.esriColorRamps;
|
|
119
119
|
this.allColorRamps = e, this.availableColorRamps = this.allColorRamps;
|
|
120
120
|
}
|
|
121
|
+
getSelectedOrDefaultColorRampName() {
|
|
122
|
+
return this.model.colorRampName ?? (ae(this.model?.config) ? $.defaultColorRampForCharts?.name : void 0);
|
|
123
|
+
}
|
|
121
124
|
getRequestedBreaksCount() {
|
|
122
125
|
return this.requestedBreaksCount ?? this.model.breaksCount ?? B.classBreaks.breaksCount;
|
|
123
126
|
}
|
|
124
127
|
getFirstDayOfWeek() {
|
|
125
128
|
const { lang: e } = w(this.el ?? document.documentElement), a = I(e);
|
|
126
|
-
return
|
|
129
|
+
return L.local().setLocale(e).startOf("week", { useLocaleWeeks: a !== N }).weekday;
|
|
127
130
|
}
|
|
128
131
|
applyCalendarTypePreset(e) {
|
|
129
132
|
switch (e) {
|
|
130
|
-
case
|
|
133
|
+
case C.YearByMonthAndDayOfMonth: {
|
|
131
134
|
const a = {
|
|
132
|
-
type:
|
|
133
|
-
unit:
|
|
135
|
+
type: m.CalendarDateParts,
|
|
136
|
+
unit: u.DayOfMonth
|
|
134
137
|
}, t = {
|
|
135
|
-
type:
|
|
136
|
-
unit:
|
|
138
|
+
type: m.CalendarDateParts,
|
|
139
|
+
unit: u.MonthOfYear
|
|
137
140
|
};
|
|
138
141
|
this.model.xTemporalBinning = a, this.model.setAxisValueFormat(0, {
|
|
139
|
-
type:
|
|
142
|
+
type: m.DateAxisFormat,
|
|
140
143
|
intlOptions: { day: "2-digit" }
|
|
141
144
|
}), this.model.yTemporalBinning = t, this.model.setAxisValueFormat(1, {
|
|
142
|
-
type:
|
|
145
|
+
type: m.DateAxisFormat,
|
|
143
146
|
intlOptions: { month: "short" }
|
|
144
147
|
});
|
|
145
148
|
break;
|
|
146
149
|
}
|
|
147
|
-
case
|
|
150
|
+
case C.WeekByDayOfWeekAndHourOfDay: {
|
|
148
151
|
const a = {
|
|
149
|
-
type:
|
|
150
|
-
unit:
|
|
152
|
+
type: m.CalendarDateParts,
|
|
153
|
+
unit: u.HourOfDay
|
|
151
154
|
}, t = {
|
|
152
|
-
type:
|
|
153
|
-
unit:
|
|
155
|
+
type: m.CalendarDateParts,
|
|
156
|
+
unit: u.DayOfWeek
|
|
154
157
|
};
|
|
155
158
|
this.model.firstDayOfWeek = this.getFirstDayOfWeek(), this.model.xTemporalBinning = a, this.model.setAxisValueFormat(0, {
|
|
156
|
-
type:
|
|
159
|
+
type: m.DateAxisFormat,
|
|
157
160
|
intlOptions: { hour: "numeric", hour12: !1 }
|
|
158
161
|
}), this.model.yTemporalBinning = t, this.model.setAxisValueFormat(1, {
|
|
159
|
-
type:
|
|
162
|
+
type: m.DateAxisFormat,
|
|
160
163
|
intlOptions: { weekday: "short" }
|
|
161
164
|
});
|
|
162
165
|
break;
|
|
@@ -165,34 +168,33 @@ class re extends D {
|
|
|
165
168
|
}
|
|
166
169
|
async generateClassBreaks(e = !1) {
|
|
167
170
|
let a = [];
|
|
168
|
-
const t = this.model.chartRenderer?.classBreakInfos,
|
|
169
|
-
return
|
|
170
|
-
data:
|
|
171
|
+
const t = this.model.chartRenderer?.classBreakInfos, s = X(Z);
|
|
172
|
+
return s && (a = await K({
|
|
173
|
+
data: s,
|
|
171
174
|
xAxisField: this.model.xAxisField,
|
|
172
175
|
classificationMethod: this.model.classificationMethod,
|
|
173
176
|
breaksCount: this.model.breaksCount,
|
|
174
|
-
|
|
177
|
+
colorRampName: this.model.colorRampName,
|
|
175
178
|
availableColorRamps: this.availableColorRamps,
|
|
176
179
|
existingClassBreakInfos: t,
|
|
177
|
-
//
|
|
180
|
+
// Reuse existing renderer colors unless this update came from an explicit ramp or flip change.
|
|
178
181
|
useExistingColors: !e,
|
|
179
|
-
|
|
180
|
-
isFlipped: this.isFlipped
|
|
182
|
+
isColorRampFlipped: this.model.isColorRampFlipped
|
|
181
183
|
})), a;
|
|
182
184
|
}
|
|
183
185
|
applyGeneratedClassBreaks(e, a) {
|
|
184
186
|
if (this.model.chartRenderer = {
|
|
185
187
|
type: "classBreaks",
|
|
186
|
-
field:
|
|
188
|
+
field: ee.valueField,
|
|
187
189
|
classBreakInfos: e
|
|
188
|
-
}, this.model.heatRulesType !==
|
|
190
|
+
}, this.model.heatRulesType !== f.Renderer && (this.model.heatRulesType = f.Renderer), this.model.classificationMethod !== F.manual) {
|
|
189
191
|
const t = e.length || a;
|
|
190
192
|
this.model.breaksCount !== t && (this.model.breaksCount = t);
|
|
191
193
|
}
|
|
192
194
|
}
|
|
193
195
|
async generateAndUpdateClassBreaks(e = !1) {
|
|
194
196
|
const a = this.getRequestedBreaksCount(), t = await this.generateClassBreaks(e);
|
|
195
|
-
|
|
197
|
+
j({
|
|
196
198
|
currentBreaks: t,
|
|
197
199
|
configBreaks: this.model.chartRenderer?.classBreakInfos ?? [],
|
|
198
200
|
treatReversedColorsAsEqual: !e
|
|
@@ -202,35 +204,35 @@ class re extends D {
|
|
|
202
204
|
a?.removeEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange), e?.addEventListener("arcgisChartsModelConfigChange", this.onModelConfigChange);
|
|
203
205
|
}
|
|
204
206
|
getCorrectedXAxisFieldValue() {
|
|
205
|
-
return
|
|
207
|
+
return W({
|
|
206
208
|
fieldName: this.model.xAxisField,
|
|
207
209
|
fieldList: this.layerFieldsInfo
|
|
208
|
-
}) ? "" :
|
|
210
|
+
}) ? "" : T(this.layerFieldsInfo, this.model.xAxisField);
|
|
209
211
|
}
|
|
210
212
|
onXAxisFieldSelect(e) {
|
|
211
|
-
this.contentKind =
|
|
213
|
+
this.contentKind = l.xAxisField, this.setupPopover(e);
|
|
212
214
|
}
|
|
213
215
|
onNumericFieldSelect(e) {
|
|
214
|
-
this.contentKind =
|
|
216
|
+
this.contentKind = l.numericFields, this.setupPopover(e);
|
|
215
217
|
}
|
|
216
218
|
onCalendarTypeSelect(e) {
|
|
217
|
-
this.contentKind =
|
|
219
|
+
this.contentKind = l.calendarType, this.setupPopover(e);
|
|
218
220
|
}
|
|
219
221
|
onClassBreakMethodSelect(e) {
|
|
220
|
-
this.contentKind =
|
|
222
|
+
this.contentKind = l.classBreakMethod, this.setupPopover(e);
|
|
221
223
|
}
|
|
222
224
|
onColorSchemeSelect(e) {
|
|
223
|
-
this.contentKind =
|
|
225
|
+
this.contentKind = l.colorScheme, this.setupPopover(e);
|
|
224
226
|
}
|
|
225
227
|
async onBreaksCountChange(e) {
|
|
226
|
-
let a =
|
|
227
|
-
a <
|
|
228
|
+
let a = O(e.target.value);
|
|
229
|
+
a < g.min ? a = g.min : a > g.max && (a = g.max), U(a) && (this.breaksCountElement.value && (this.breaksCountElement.value.value = a.toString()), this.requestedBreaksCount = a, this.model.breaksCount = a, await this.generateAndUpdateClassBreaks());
|
|
228
230
|
}
|
|
229
231
|
onAggregationSelect(e) {
|
|
230
|
-
this.contentKind =
|
|
232
|
+
this.contentKind = l.aggregation, this.setupPopover(e);
|
|
231
233
|
}
|
|
232
234
|
onNullSelect(e) {
|
|
233
|
-
this.contentKind =
|
|
235
|
+
this.contentKind = l.null, this.setupPopover(e);
|
|
234
236
|
}
|
|
235
237
|
onIncludeLeapDayChange(e) {
|
|
236
238
|
const a = e.target.checked;
|
|
@@ -241,54 +243,50 @@ class re extends D {
|
|
|
241
243
|
}
|
|
242
244
|
setupPopover(e) {
|
|
243
245
|
e.stopImmediatePropagation(), this.removeHeatChartDataPopover();
|
|
244
|
-
let a, t,
|
|
246
|
+
let a, t, s;
|
|
245
247
|
switch (this.contentKind) {
|
|
246
|
-
case
|
|
247
|
-
a = this.aggregationElement.value, t = this._messages.aggregationHeader,
|
|
248
|
+
case l.aggregation:
|
|
249
|
+
a = this.aggregationElement.value, t = this._messages.aggregationHeader, s = this.model.aggregationType;
|
|
248
250
|
break;
|
|
249
|
-
case
|
|
250
|
-
a = this.xAxisFieldElement.value, t = this._messages.xAxisField,
|
|
251
|
+
case l.xAxisField:
|
|
252
|
+
a = this.xAxisFieldElement.value, t = this._messages.xAxisField, s = this.model.xAxisField;
|
|
251
253
|
break;
|
|
252
|
-
case
|
|
253
|
-
a = this.numericFieldsElement.value, t = this._messages.numericField,
|
|
254
|
+
case l.numericFields:
|
|
255
|
+
a = this.numericFieldsElement.value, t = this._messages.numericField, s = this.model.numericFields?.[0];
|
|
254
256
|
break;
|
|
255
|
-
case
|
|
256
|
-
a = this.calendarTypeElement.value, t = this._messages.calendarType,
|
|
257
|
+
case l.calendarType:
|
|
258
|
+
a = this.calendarTypeElement.value, t = this._messages.calendarType, s = v(this.model);
|
|
257
259
|
break;
|
|
258
|
-
case
|
|
259
|
-
a = this.calendarViewTypeElement.value, t = this._messages.viewType,
|
|
260
|
+
case l.calendarViewType:
|
|
261
|
+
a = this.calendarViewTypeElement.value, t = this._messages.viewType, s = this.model.viewType;
|
|
260
262
|
break;
|
|
261
|
-
case
|
|
262
|
-
a = this.classBreakMethodElement.value, t = this._messages.method,
|
|
263
|
+
case l.classBreakMethod:
|
|
264
|
+
a = this.classBreakMethodElement.value, t = this._messages.method, s = this.model.classificationMethod;
|
|
263
265
|
break;
|
|
264
|
-
case
|
|
265
|
-
a = this.colorSchemeElement.value, t = this._messages.colorScheme;
|
|
266
|
-
const g = X(this.model.chartRenderer?.classBreakInfos, this.availableColorRamps);
|
|
267
|
-
l = this.selectedColorRamp?.name ?? g?.name;
|
|
268
|
-
const C = g ? g.colorsForClassBreaks.find((f) => f.numClasses === this.model.breaksCount)?.colors : void 0;
|
|
269
|
-
m = C ? G(C, this.model.chartRenderer?.classBreakInfos) : m;
|
|
266
|
+
case l.colorScheme:
|
|
267
|
+
a = this.colorSchemeElement.value, t = this._messages.colorScheme, s = this.getSelectedOrDefaultColorRampName();
|
|
270
268
|
break;
|
|
271
|
-
case
|
|
269
|
+
case l.null:
|
|
272
270
|
a = e.target, t = this._messages.null;
|
|
273
271
|
break;
|
|
274
272
|
}
|
|
275
|
-
this.heatChartPopover = M(i`<arcgis-charts-config-heat-chart-popover .headingTitle=${t} .referenceElement=${a} open .contentKind=${this.contentKind} .model=${this.model} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${
|
|
273
|
+
this.heatChartPopover = M(i`<arcgis-charts-config-heat-chart-popover .headingTitle=${t} .referenceElement=${a} open .contentKind=${this.contentKind} .model=${this.model} .layerFieldsInfo=${this.layerFieldsInfo} .selectedContent=${s} @arcgisChartsConfigHeatChartDataPopoverChange=${this.onHeatChartDataPopoverChange} @arcgisChartsConfigPopoverClose=${this.popoverClose} .colorRamps=${this.availableColorRamps} @arcgisChartsConfigHeatChartColorRampChange=${this.onColorRampSelection} @arcgisChartsConfigPopoverEmptyCellColorChange=${this.onEmptyCellColorChange} @arcgisChartsConfigPopoverEmptyCellNameChange=${this.onEmptyCellNameChange} .isFlipped=${this.model.isColorRampFlipped}></arcgis-charts-config-heat-chart-popover>`), !document.body.contains(this.heatChartPopover) && this.heatChartPopover !== null && document.body.appendChild(this.heatChartPopover);
|
|
276
274
|
}
|
|
277
275
|
removeHeatChartDataPopover() {
|
|
278
|
-
this.heatChartPopover !== null && (this.heatChartPopover.open = !1, this.heatChartPopover =
|
|
276
|
+
this.heatChartPopover !== null && (this.heatChartPopover.open = !1, this.heatChartPopover = te(this.heatChartPopover));
|
|
279
277
|
}
|
|
280
278
|
setDefaultPropertiesForCalendarHeatChart() {
|
|
281
|
-
|
|
279
|
+
V(this.model?.config) || ((this.model.xTemporalBinning === void 0 || this.model.yTemporalBinning === void 0) && this.applyCalendarTypePreset(C.YearByMonthAndDayOfMonth), this.model.yAxisField = this.model.xAxisField, this.model.setYAxisSortOrder(G.Desc), this.model.classificationMethod === void 0 && (this.model.classificationMethod = F.naturalBreaks), this.model.heatRulesType !== f.Renderer && (this.model.heatRulesType = f.Renderer), this.model.viewType === void 0 && (this.model.viewType = J.singleCalendarView), (this.model.aggregationType === d.Count || this.model.aggregationType === d.Sum) && this.model.nullPolicy !== h.Zero && (this.model.nullPolicy = h.Zero), this.model.colorRampName = $.defaultColorRampForCharts?.name);
|
|
282
280
|
}
|
|
283
281
|
renderXAxisFieldSelect() {
|
|
284
282
|
const e = this.getCorrectedXAxisFieldValue();
|
|
285
283
|
return i`<arcgis-charts-config-field-select .label=${e} @click=${this.onXAxisFieldSelect} ${c(this.xAxisFieldElement)}></arcgis-charts-config-field-select>`;
|
|
286
284
|
}
|
|
287
285
|
renderAggregation() {
|
|
288
|
-
return i`<arcgis-charts-config-field-select .label=${this.model.aggregationType ===
|
|
286
|
+
return i`<arcgis-charts-config-field-select .label=${this.model.aggregationType === d.NoAggregation ? this._messages.noAggregation : this.aggregationLabel} @click=${this.onAggregationSelect} ${c(this.aggregationElement)}></arcgis-charts-config-field-select>`;
|
|
289
287
|
}
|
|
290
288
|
renderNumericFieldsSelect() {
|
|
291
|
-
const e = this.model.numericFields?.[0] ===
|
|
289
|
+
const e = this.model.numericFields?.[0] === S(this.model.layer).idField ? "" : T(this.layerFieldsInfo, this.model.numericFields?.[0]);
|
|
292
290
|
return i`<arcgis-charts-config-field-select .label=${e} @click=${this.onNumericFieldSelect} ${c(this.numericFieldsElement)}></arcgis-charts-config-field-select>`;
|
|
293
291
|
}
|
|
294
292
|
renderCalendarTypeSelect() {
|
|
@@ -304,13 +302,13 @@ class re extends D {
|
|
|
304
302
|
manual: this._messages.classBreaksMethod?.manual,
|
|
305
303
|
naturalBreaks: this._messages.classBreaksMethod?.naturalBreaks,
|
|
306
304
|
quantile: this._messages.classBreaksMethod?.quantile
|
|
307
|
-
}, a = this.model.classificationMethod ? e[
|
|
305
|
+
}, a = this.model.classificationMethod ? e[H(this.model.classificationMethod)] ?? "" : "";
|
|
308
306
|
return i`<arcgis-charts-config-field-select .label=${a} @click=${this.onClassBreakMethodSelect} ${c(this.classBreakMethodElement)}></arcgis-charts-config-field-select>`;
|
|
309
307
|
}
|
|
310
308
|
renderColorRampSelect() {
|
|
311
309
|
const e = this.model.chartRenderer?.classBreakInfos?.map((a) => {
|
|
312
|
-
const t = a !== void 0 ?
|
|
313
|
-
return i`<div class=${o(r.colorRampSegment)} style=${
|
|
310
|
+
const t = a !== void 0 ? z(a.symbol.color) : "#FFFFFF";
|
|
311
|
+
return i`<div class=${o(r.colorRampSegment)} style=${x({ backgroundColor: t, width: `${100 / this.model.breaksCount}%` })}></div>`;
|
|
314
312
|
});
|
|
315
313
|
return i`<arcgis-charts-config-field-select label @click=${this.onColorSchemeSelect} ${c(this.colorSchemeElement)}><div slot=fieldSelectSlot class=${o(r.colorRamp)}>${e}</div></arcgis-charts-config-field-select>`;
|
|
316
314
|
}
|
|
@@ -319,18 +317,18 @@ class re extends D {
|
|
|
319
317
|
return i`<calcite-table caption="Simple table"><calcite-table-row slot=table-header><calcite-table-header .heading=${this._messages.symbol}></calcite-table-header><calcite-table-header .heading=${this._messages.upperValue}></calcite-table-header></calcite-table-row>${e.map((a) => i`<calcite-table-row><calcite-table-cell><calcite-swatch label scale=m .color=${`rgba(${a.symbol.color?.[0]}, ${a.symbol.color?.[1]}, ${a.symbol.color?.[2]}, ${a.symbol.color?.[3] / 255})`}></calcite-swatch></calcite-table-cell><calcite-table-cell>${a.label}</calcite-table-cell></calcite-table-row>`)}</calcite-table>`;
|
|
320
318
|
}
|
|
321
319
|
renderNullUI() {
|
|
322
|
-
const e = this.model.emptyCell, a = this._messages.null, t = e?.symbol?.color ?? B.grayColor, [
|
|
323
|
-
return i`<calcite-list label class=${o(r.list)} selection-mode=none ${c(this.nullElement)}><calcite-list-item .label=${a} .value=${a} @calciteListItemSelect=${this.onNullSelect}><calcite-icon icon=square-f style=${
|
|
320
|
+
const e = this.model.emptyCell, a = this._messages.null, t = e?.symbol?.color ?? B.grayColor, [s, p, y, b] = [...t], k = `rgba(${s},${p},${y},${b / 255})`;
|
|
321
|
+
return i`<calcite-list label class=${o(r.list)} selection-mode=none ${c(this.nullElement)}><calcite-list-item .label=${a} .value=${a} @calciteListItemSelect=${this.onNullSelect}><calcite-icon icon=square-f style=${x({ color: k })} slot=content-end></calcite-icon></calcite-list-item></calcite-list>`;
|
|
324
322
|
}
|
|
325
323
|
renderEmptyBins() {
|
|
326
324
|
return i`<calcite-radio-button-group name=empty-bins layout=vertical @calciteRadioButtonGroupChange=${this.onNullPolicyChange}><calcite-label layout=inline><calcite-radio-button .value=${h.Zero} .checked=${this.model.nullPolicy === h.Zero}></calcite-radio-button>${this._messages.treatAsZero}</calcite-label><calcite-label layout=inline><calcite-radio-button .value=${h.Null} .checked=${this.model.nullPolicy === h.Null}></calcite-radio-button>${this._messages.treatAsNull}</calcite-label></calcite-radio-button-group>`;
|
|
327
325
|
}
|
|
328
326
|
render() {
|
|
329
|
-
const e = this.renderXAxisFieldSelect(), a = this.renderAggregation(), t = this.renderNumericFieldsSelect(),
|
|
330
|
-
return i`<calcite-label class=${o(r.label)}>${this._messages.dateRequired}${e}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.calendarType}${
|
|
327
|
+
const e = this.renderXAxisFieldSelect(), a = this.renderAggregation(), t = this.renderNumericFieldsSelect(), s = this.renderCalendarTypeSelect(), p = this.renderClassBreakMethodSelect(), y = this.renderColorRampSelect(), b = this.renderClassBreaksTable(), k = this.renderNullUI(), A = this.renderEmptyBins();
|
|
328
|
+
return i`<calcite-label class=${o(r.label)}>${this._messages.dateRequired}${e}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.calendarType}${s}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.aggregation}${a}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.numericField}${t}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.method}${p}</calcite-label><calcite-label class=${o(r.label)}>${this._messages.numberOfClasses}<calcite-input type=number .min=${g.min} .max=${g.max} .disabled=${this.model.classificationMethod === void 0 || this.model.classificationMethod === F.manual} step=1 .value=${q(this.model.breaksCount, 5)} @calciteInputInput=${this.onBreaksCountChange} ${c(this.breaksCountElement)}></calcite-input></calcite-label><calcite-label class=${o(r.label)}>${this._messages.colorScheme}${y}</calcite-label>${k}<calcite-accordion class=${o(r.accordion)} appearance=transparent selection-mode=single><calcite-accordion-item .heading=${this._messages.classBreaks}>${b}</calcite-accordion-item></calcite-accordion><calcite-label class=${o(r.label)}>${this._messages.emptyBins}${A}</calcite-label>${v(this.model) === C.YearByMonthAndDayOfMonth ? i`<calcite-label class=${o(r.label)} layout=inline-space-between>${this._messages.includeLeapDay}<calcite-switch .checked=${this.model.includeLeapDay} @calciteSwitchChange=${this.onIncludeLeapDayChange}></calcite-switch></calcite-label>` : null}`;
|
|
331
329
|
}
|
|
332
330
|
}
|
|
333
|
-
|
|
331
|
+
D("arcgis-charts-config-heat-chart-data", le);
|
|
334
332
|
export {
|
|
335
|
-
|
|
333
|
+
le as ArcgisChartsConfigHeatChartData
|
|
336
334
|
};
|
|
@@ -11,7 +11,7 @@ import { d as A, F as b } from "../../chunks/index3.js";
|
|
|
11
11
|
import { u as v } from "../../chunks/useT9n.js";
|
|
12
12
|
import { e as c, W as $ } from "../../chunks/interfaces.js";
|
|
13
13
|
import { b as y, a as D, c as m } from "../../chunks/chart-ui-utils2.js";
|
|
14
|
-
import { C as x,
|
|
14
|
+
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 B } from "../../chunks/popover-ui-utils.js";
|
|
@@ -5,7 +5,7 @@ import { LitElement as n } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as h, html as t } from "lit";
|
|
6
6
|
import { C as i } from "../../chunks/interfaces.js";
|
|
7
7
|
import { ac as d, bu as c, I as m } from "../../chunks/index2.js";
|
|
8
|
-
import { o as f, h as g } from "../../chunks/
|
|
8
|
+
import { o as f, h as g } from "../../chunks/index6.js";
|
|
9
9
|
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%}`;
|
|
10
10
|
class p extends n {
|
|
11
11
|
constructor() {
|
|
@@ -5,7 +5,7 @@ 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
7
|
import { ac as c, I as m, bj as f, ba as g } from "../../chunks/index2.js";
|
|
8
|
-
import { h as p } from "../../chunks/
|
|
8
|
+
import { h as p } from "../../chunks/index6.js";
|
|
9
9
|
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%}`;
|
|
10
10
|
class C extends n {
|
|
11
11
|
constructor() {
|
|
@@ -5,7 +5,7 @@ import { LitElement as C, createEvent as m } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as y, html as c } from "lit";
|
|
6
6
|
import { C as d } from "../../chunks/interfaces.js";
|
|
7
7
|
import { ac as I, I as F } from "../../chunks/index2.js";
|
|
8
|
-
import { h as v } from "../../chunks/
|
|
8
|
+
import { h as v } from "../../chunks/index6.js";
|
|
9
9
|
import { i as b } from "../../chunks/rest-js-object-literals.js";
|
|
10
10
|
const S = y`: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%}`;
|
|
11
11
|
class L extends C {
|
|
@@ -5,7 +5,7 @@ import { LitElement as n, createEvent as d } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as c, html as i } from "lit";
|
|
6
6
|
import { C as s } from "../../chunks/interfaces.js";
|
|
7
7
|
import { ac as h, bu as f, I as p, ak as g } from "../../chunks/index2.js";
|
|
8
|
-
import { h as m } from "../../chunks/
|
|
8
|
+
import { h as m } from "../../chunks/index6.js";
|
|
9
9
|
const u = 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 y extends n {
|
|
11
11
|
constructor() {
|