@arcgis/charts-components 5.1.0-next.0 → 5.1.0-next.1
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/{I4JPIKWZ.js → 2FVGG2EI.js} +1 -1
- package/dist/cdn/{Z3ATQCGU.js → 2TSZGBRW.js} +1 -1
- package/dist/cdn/{N7QH3COK.js → 3DSUDPMW.js} +1 -1
- package/dist/cdn/{4OI742MI.js → 3H63O632.js} +1 -1
- package/dist/cdn/{VPF4DANX.js → 3VYTY4CH.js} +1 -1
- package/dist/cdn/{F7EELFJY.js → 46NT4YQ5.js} +1 -1
- package/dist/cdn/{4SDMBWIH.js → 4NQ4FOPA.js} +1 -1
- package/dist/cdn/{GUN4GTO3.js → 4ONBF7EX.js} +1 -1
- package/dist/cdn/4XC2ZKSZ.js +2 -0
- package/dist/cdn/527DICLD.js +2 -0
- package/dist/cdn/{6AMFQCS7.js → 54S7WK2Q.js} +1 -1
- package/dist/cdn/{IMMCY2GO.js → 5F7P2IRB.js} +1 -1
- package/dist/cdn/{I45WQ4BL.js → 5GIBJIKZ.js} +1 -1
- package/dist/cdn/{YBWIUGMX.js → 5RFEFP2G.js} +1 -1
- package/dist/cdn/{VLDV4SLC.js → 6HU6FAC6.js} +1 -1
- package/dist/cdn/{H2ZHJTT5.js → 6MUSVNGM.js} +1 -1
- package/dist/cdn/{B227HROY.js → 6WQPKBUS.js} +1 -1
- package/dist/cdn/734N3Q42.js +2 -0
- package/dist/cdn/{5UWCB534.js → 7GVHJYQ4.js} +1 -1
- package/dist/cdn/{RREICBPO.js → 7J7IYWG7.js} +19 -19
- package/dist/cdn/{PGRROSLP.js → 7OIBIDJX.js} +1 -1
- package/dist/cdn/{MFY2WNGC.js → 7SSRNOEZ.js} +1 -1
- package/dist/cdn/A43B7S7N.js +2 -0
- package/dist/cdn/{YFQBIEH6.js → AT5TLS5G.js} +1 -1
- package/dist/cdn/B6AQ5E4L.js +2 -0
- package/dist/cdn/{GB3TK5D3.js → BJPCRXMJ.js} +1 -1
- package/dist/cdn/BUTXND3Y.js +2 -0
- package/dist/cdn/{2BIDUUM3.js → BW44TT3O.js} +1 -1
- package/dist/cdn/{UPWTKME3.js → CKOTQVMD.js} +1 -1
- package/dist/cdn/{TCKWKRVQ.js → CLZB5JAL.js} +1 -1
- package/dist/cdn/{MAYX7C4V.js → D5EFLFGK.js} +1 -1
- package/dist/cdn/DFSUGOC2.js +2 -0
- package/dist/cdn/{7XB4DP2Y.js → DGBFUPHF.js} +1 -1
- package/dist/cdn/DGTF5KBL.js +2 -0
- package/dist/cdn/{7TA3GQ2P.js → DLWGXLTP.js} +1 -1
- package/dist/cdn/{VQGWUSUK.js → EGTQDORP.js} +1 -1
- package/dist/cdn/{RBLN6H3R.js → ESHE4EJO.js} +1 -1
- package/dist/cdn/{XVD4CGMV.js → EVWSDR7F.js} +1 -1
- package/dist/cdn/{YP55GB27.js → F7YBMSC7.js} +1 -1
- package/dist/cdn/{C3QBGU3R.js → FVHKQX4O.js} +1 -1
- package/dist/cdn/{ZMTNSPCX.js → G2EFW5BS.js} +1 -1
- package/dist/cdn/{ACIPSEQP.js → GS4YJSDV.js} +1 -1
- package/dist/cdn/{UVEAGNF2.js → GTMWPA5J.js} +1 -1
- package/dist/cdn/{XAWIW6KZ.js → GU6JH3VZ.js} +3 -3
- package/dist/cdn/{JYAZY7C6.js → GWYSKUDT.js} +1 -1
- package/dist/cdn/{T6J2NNJR.js → HAJ2VWEU.js} +1 -1
- package/dist/cdn/{GV3FPWSE.js → HI6AE5XG.js} +1 -1
- package/dist/cdn/IHPHZSVH.js +2 -0
- package/dist/cdn/{OKE67HPM.js → ITVP53KT.js} +1 -1
- package/dist/cdn/JDUDNQNC.js +2 -0
- package/dist/cdn/{NZKAMZX6.js → JLC5Q7Y2.js} +1 -1
- package/dist/cdn/{CSMPPQK6.js → JQFKP5BO.js} +1 -1
- package/dist/cdn/{4YGTK6R4.js → KBCK3TOS.js} +1 -1
- package/dist/cdn/{OBF3ZYVJ.js → KKUG22EI.js} +1 -1
- package/dist/cdn/{AE43AFN2.js → KZ7WEJMS.js} +1 -1
- package/dist/cdn/LA5QA6QE.js +2 -0
- package/dist/cdn/{7OIBV6LX.js → M6U6FZYV.js} +1 -1
- package/dist/cdn/{5SBX2OSZ.js → NO66QM4U.js} +1 -1
- package/dist/cdn/{YHXUQR6R.js → NP2HK66D.js} +1 -1
- package/dist/cdn/{ITMPO5LO.js → NRBBCJMI.js} +1 -1
- package/dist/cdn/ODSBX4UB.js +2 -0
- package/dist/cdn/{Z5OGHBTB.js → OFNVRKLL.js} +1 -1
- package/dist/cdn/{OLGKBPS4.js → OH623XHQ.js} +1 -1
- package/dist/cdn/OOYDYFQL.js +2 -0
- package/dist/cdn/{VCDTXXBB.js → PQQQPD6E.js} +1 -1
- package/dist/cdn/{N5LXTC5F.js → QBDBBEMO.js} +1 -1
- package/dist/cdn/{RESJUXIH.js → QES24ZNV.js} +1 -1
- package/dist/cdn/QGBDD3VP.js +2 -0
- package/dist/cdn/{FGQCHT3Y.js → QITSU7UB.js} +1 -1
- package/dist/cdn/{XPATRR6S.js → R65NAU4T.js} +1 -1
- package/dist/cdn/{CGRJSESJ.js → R6PSD7B7.js} +1 -1
- package/dist/cdn/{CF4MUKBD.js → RBW7HCYN.js} +1 -1
- package/dist/cdn/{E4Z7JPW7.js → RHEU3VW6.js} +1 -1
- package/dist/cdn/ROJ67ATL.js +2 -0
- package/dist/cdn/{E2XSIMND.js → RVDUQNQH.js} +1 -1
- package/dist/cdn/{ILN66JCQ.js → S6IN2PJK.js} +1 -1
- package/dist/cdn/{UR4SN4J4.js → SBBG2LAI.js} +1 -1
- package/dist/cdn/{3KIKTBU4.js → SM5V7JW4.js} +1 -1
- package/dist/cdn/{SGOQQYBY.js → SPAXIJWK.js} +1 -1
- package/dist/cdn/{UKLAAPT4.js → STULUM25.js} +1 -1
- package/dist/cdn/{L7BKIZJN.js → UJ3X5GAK.js} +1 -1
- package/dist/cdn/{EOT7WEOM.js → UUYAX5P7.js} +1 -1
- package/dist/cdn/{NKTG3HYP.js → VCBEQAWJ.js} +1 -1
- package/dist/cdn/{INA4MWOS.js → VFC4KZRP.js} +1 -1
- package/dist/cdn/{DSCSQG33.js → VMAJ5W4A.js} +1 -1
- package/dist/cdn/{7HHTWL5X.js → W32EPRL3.js} +1 -1
- package/dist/cdn/{JEOHGL3P.js → W7THVT7Z.js} +1 -1
- package/dist/cdn/WHQ6EWYY.js +2 -0
- package/dist/cdn/{WZJQSJPK.js → XINBF3UQ.js} +1 -1
- package/dist/cdn/{V3NRWE2B.js → XRYZYAL4.js} +1 -1
- package/dist/cdn/{UNGIAYCA.js → XYKNQZFD.js} +1 -1
- package/dist/cdn/{CCBSYUDL.js → Y3U6VC3K.js} +1 -1
- package/dist/cdn/{O3LWVBLQ.js → YBSBFAGE.js} +1 -1
- package/dist/cdn/{A2TYB4C2.js → YQC2FUWM.js} +1 -1
- package/dist/cdn/{7F454N3C.js → Z4B2NHJI.js} +2 -2
- package/dist/cdn/{TW7SDPY6.js → ZTF5EW2C.js} +1 -1
- package/dist/cdn/{HOPCZKQO.js → ZYEUKPGT.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/action-bar-utils.js +9 -8
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/chart-ui-utils.js +52 -48
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +159 -94
- package/dist/chunks/data.js +10 -9
- package/dist/chunks/heat-chart-model.js +83 -66
- package/dist/chunks/index.js +117 -109
- package/dist/chunks/model-setter.js +1 -1
- package/dist/chunks/model-with-guides.js +7 -6
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/radar-chart-model.js +9 -9
- package/dist/chunks/serial-chart-data.js +315 -306
- package/dist/chunks/serial-chart-model.js +4 -4
- package/dist/chunks/web-component-utils.js +32 -32
- package/dist/components/arcgis-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-chart/customElement.js +845 -842
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -0
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +120 -112
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -0
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +111 -101
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +2 -0
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +28 -15
- 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/loader.js +1 -1
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +7 -0
- package/dist/utils/ui/chart-ui-utils.d.ts +6 -3
- package/package.json +4 -4
- package/dist/cdn/BJJLSSQL.js +0 -2
- package/dist/cdn/CSHLYYDR.js +0 -2
- package/dist/cdn/DISBHZRX.js +0 -2
- package/dist/cdn/FGQ6QTNI.js +0 -2
- package/dist/cdn/FIBU5QUG.js +0 -2
- package/dist/cdn/GRFJADFY.js +0 -2
- package/dist/cdn/MMVAIEM3.js +0 -2
- package/dist/cdn/OFZOPSWX.js +0 -2
- package/dist/cdn/OQA4LU5O.js +0 -2
- package/dist/cdn/OX34MEOD.js +0 -2
- package/dist/cdn/T6HUC3X4.js +0 -2
- package/dist/cdn/W2Z3VO3C.js +0 -2
- package/dist/cdn/WI7OSEXJ.js +0 -2
- package/dist/cdn/WQS6NQUO.js +0 -2
- package/dist/cdn/YWRPXNSI.js +0 -2
- package/dist/cdn/ZARMIUOQ.js +0 -2
package/dist/chunks/data.js
CHANGED
|
@@ -15,12 +15,13 @@ import "@arcgis/core/core/promiseUtils.js";
|
|
|
15
15
|
import "@arcgis/core/request.js";
|
|
16
16
|
import "./runtime.js";
|
|
17
17
|
import "@arcgis/toolkit/dom";
|
|
18
|
+
import "@arcgis/core/intl.js";
|
|
18
19
|
import { H as u, S as o, a as M } from "./common.js";
|
|
19
20
|
function U(e, t) {
|
|
20
21
|
let r;
|
|
21
22
|
return t === n.Category && Array.isArray(e) ? r = o.customSort : t === n.Category ? r = e === l.Ascending ? o.xAxisAsc : o.xAxisDesc : e === l.Ascending ? r = o.yAxisAsc : r = o.yAxisDesc, r;
|
|
22
23
|
}
|
|
23
|
-
function
|
|
24
|
+
function ne(e, t) {
|
|
24
25
|
let r;
|
|
25
26
|
return t === n.Category && Array.isArray(e) ? r = u.customSort : r = e === l.Ascending ? u.Asc : u.Desc, r;
|
|
26
27
|
}
|
|
@@ -34,11 +35,11 @@ const V = (e) => {
|
|
|
34
35
|
const t = F(e.series);
|
|
35
36
|
let r = !1;
|
|
36
37
|
return (t === d.BarSeries || t === d.LineSeries) && (r = V(e) === o.customSort), r;
|
|
37
|
-
},
|
|
38
|
+
}, le = (e) => {
|
|
38
39
|
let t = [];
|
|
39
40
|
const r = e.orderOptions?.data?.orderType;
|
|
40
41
|
return E(e) && r === n.Category && (t = e.orderOptions?.data?.orderBy), t;
|
|
41
|
-
},
|
|
42
|
+
}, ce = (e, t, r, s) => {
|
|
42
43
|
const i = F(t.series), m = I(t);
|
|
43
44
|
t.orderOptions ??= {};
|
|
44
45
|
let a = m ? [""] : l.Ascending;
|
|
@@ -62,7 +63,7 @@ const V = (e) => {
|
|
|
62
63
|
orderBy: a
|
|
63
64
|
});
|
|
64
65
|
}
|
|
65
|
-
},
|
|
66
|
+
}, pe = (e) => e?.series?.[0]?.x ?? "", me = (e) => {
|
|
66
67
|
const {
|
|
67
68
|
config: t,
|
|
68
69
|
xAxisField: r,
|
|
@@ -114,12 +115,12 @@ function j(e) {
|
|
|
114
115
|
}
|
|
115
116
|
export {
|
|
116
117
|
V as a,
|
|
117
|
-
|
|
118
|
+
pe as b,
|
|
118
119
|
j as c,
|
|
119
|
-
|
|
120
|
-
|
|
120
|
+
le as d,
|
|
121
|
+
ne as e,
|
|
121
122
|
U as f,
|
|
122
|
-
|
|
123
|
-
|
|
123
|
+
me as g,
|
|
124
|
+
ce as s,
|
|
124
125
|
Y as x
|
|
125
126
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { m as e } from "./model-setter.js";
|
|
3
3
|
import { H as o } from "./common.js";
|
|
4
|
-
import { S as
|
|
5
|
-
import { a as S, b as T, s as A, c as
|
|
4
|
+
import { S as u, g as _, a as C } from "./serial-chart-model.js";
|
|
5
|
+
import { a as S, b as T, s as A, c as O, d as F, e as x, f as D, h as v, i as w, j as L, k as b, l as B, m as P, n as k, o as E, p as R, q as W, r as I, t as H, u as N, v as Y, w as G, x as M, y as U, z as K, A as m, B as c, C as V, D as X, E as j, F as q, G as z, H as J, I as d, J as Q, K as Z, L as $, M as tt, N as et, O as it, P as st, Q as rt } from "./serial-chart-data.js";
|
|
6
6
|
import { s as y } from "./data.js";
|
|
7
|
-
import { W as
|
|
8
|
-
import { bK as
|
|
7
|
+
import { W as ot, a as h } from "./series-types.js";
|
|
8
|
+
import { bK as f, d0 as nt, bk as at } from "./index.js";
|
|
9
9
|
import "@arcgis/toolkit/intl";
|
|
10
10
|
import "lodash-es";
|
|
11
11
|
import "luxon";
|
|
@@ -28,14 +28,14 @@ import "@arcgis/core/time/TimeExtent.js";
|
|
|
28
28
|
import "@arcgis/core/core/promiseUtils.js";
|
|
29
29
|
import "./runtime.js";
|
|
30
30
|
import "@arcgis/toolkit/dom";
|
|
31
|
-
var
|
|
32
|
-
for (var n =
|
|
33
|
-
(l = p[g]) && (n = l(t,
|
|
34
|
-
return n &&
|
|
31
|
+
var gt = Object.defineProperty, pt = Object.getOwnPropertyDescriptor, i = (p, t, r, a) => {
|
|
32
|
+
for (var n = pt(t, r), g = p.length - 1, l; g >= 0; g--)
|
|
33
|
+
(l = p[g]) && (n = l(t, r, n) || n);
|
|
34
|
+
return n && gt(t, r, n), n;
|
|
35
35
|
};
|
|
36
|
-
class
|
|
36
|
+
class s extends u {
|
|
37
37
|
constructor() {
|
|
38
|
-
super(...arguments), this._chartType =
|
|
38
|
+
super(...arguments), this._chartType = ot.HeatSeries;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* Generate the proper chart title given the current config.
|
|
@@ -72,11 +72,11 @@ class r extends f {
|
|
|
72
72
|
* **NOTE**: This property is only applicable to the Calendar heat chart.
|
|
73
73
|
*/
|
|
74
74
|
get viewType() {
|
|
75
|
-
return
|
|
75
|
+
return O(this._config);
|
|
76
76
|
}
|
|
77
77
|
set viewType(t) {
|
|
78
78
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
79
|
-
|
|
79
|
+
F(t, this._config), this.emitConfigUpdate("heatChartViewType");
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
@@ -86,7 +86,7 @@ class r extends f {
|
|
|
86
86
|
return x(this._config);
|
|
87
87
|
}
|
|
88
88
|
set xTemporalBinning(t) {
|
|
89
|
-
|
|
89
|
+
D({
|
|
90
90
|
commonStrings: this.commonStrings,
|
|
91
91
|
binning: t,
|
|
92
92
|
config: this._config
|
|
@@ -110,18 +110,18 @@ class r extends f {
|
|
|
110
110
|
* @default 5
|
|
111
111
|
* */
|
|
112
112
|
get breaksCount() {
|
|
113
|
-
return
|
|
113
|
+
return L(this._config);
|
|
114
114
|
}
|
|
115
115
|
set breaksCount(t) {
|
|
116
116
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
117
|
-
|
|
117
|
+
b(t, this._config), this.emitConfigUpdate("breaksCount");
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
120
|
/**
|
|
121
121
|
* The class breaks method used by the heat chart
|
|
122
122
|
*/
|
|
123
123
|
get classificationMethod() {
|
|
124
|
-
return
|
|
124
|
+
return B(this._config);
|
|
125
125
|
}
|
|
126
126
|
set classificationMethod(t) {
|
|
127
127
|
this.guardSetterFromAsyncOverwrite(() => {
|
|
@@ -132,28 +132,28 @@ class r extends f {
|
|
|
132
132
|
* The hide empty rows and columns setting used by the heat chart
|
|
133
133
|
*/
|
|
134
134
|
get hideEmptyRowsAndColumns() {
|
|
135
|
-
return
|
|
135
|
+
return k(this._config);
|
|
136
136
|
}
|
|
137
137
|
set hideEmptyRowsAndColumns(t) {
|
|
138
|
-
|
|
138
|
+
E(this._config, t);
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
141
141
|
* The grid line width used by the heat chart
|
|
142
142
|
*/
|
|
143
143
|
get gridLineWidth() {
|
|
144
|
-
return
|
|
144
|
+
return R(this._config);
|
|
145
145
|
}
|
|
146
146
|
set gridLineWidth(t) {
|
|
147
|
-
|
|
147
|
+
W(t, this._config);
|
|
148
148
|
}
|
|
149
149
|
/**
|
|
150
150
|
* The grid line color used by the heat chart
|
|
151
151
|
*/
|
|
152
152
|
get gridLineColor() {
|
|
153
|
-
return
|
|
153
|
+
return I(this._config);
|
|
154
154
|
}
|
|
155
155
|
set gridLineColor(t) {
|
|
156
|
-
|
|
156
|
+
H(t, this._config);
|
|
157
157
|
}
|
|
158
158
|
/**
|
|
159
159
|
* The name of the series that is used by the heat chart
|
|
@@ -168,7 +168,7 @@ class r extends f {
|
|
|
168
168
|
* The heat rules type used by the heat chart
|
|
169
169
|
*/
|
|
170
170
|
get heatRulesType() {
|
|
171
|
-
return
|
|
171
|
+
return N(this._config);
|
|
172
172
|
}
|
|
173
173
|
set heatRulesType(t) {
|
|
174
174
|
Y(this._config, t);
|
|
@@ -207,10 +207,10 @@ class r extends f {
|
|
|
207
207
|
return t !== void 0 ? [t] : [];
|
|
208
208
|
}
|
|
209
209
|
set numericFields(t) {
|
|
210
|
-
const { idField:
|
|
210
|
+
const { idField: r } = f(this.layerInfo.layer), a = nt(t[0]), n = a ? r : t[0];
|
|
211
211
|
K(n, this._config);
|
|
212
212
|
const g = m(this._config);
|
|
213
|
-
a && g !== h.Count &&
|
|
213
|
+
a && g !== h.Count && c(h.Count, this._config);
|
|
214
214
|
}
|
|
215
215
|
/**
|
|
216
216
|
* The aggregation type for the heat chart. Must be one of the values allowed by WebChartStatisticType.
|
|
@@ -219,7 +219,7 @@ class r extends f {
|
|
|
219
219
|
return m(this._config);
|
|
220
220
|
}
|
|
221
221
|
set aggregationType(t) {
|
|
222
|
-
|
|
222
|
+
c(t, this._config);
|
|
223
223
|
}
|
|
224
224
|
/**
|
|
225
225
|
* Split-by field is not used by heat chart
|
|
@@ -255,35 +255,35 @@ class r extends f {
|
|
|
255
255
|
getSortOrder() {
|
|
256
256
|
return o.Asc;
|
|
257
257
|
}
|
|
258
|
-
setSortOrder(t,
|
|
258
|
+
setSortOrder(t, r) {
|
|
259
259
|
}
|
|
260
260
|
/**
|
|
261
261
|
* Get the sort order on the x axis for the heat chart.
|
|
262
262
|
* @returns {"Asc" | "Desc" | "customSort"}
|
|
263
263
|
*/
|
|
264
264
|
getXAxisSortOrder() {
|
|
265
|
-
const t =
|
|
265
|
+
const t = d(this._config)[0];
|
|
266
266
|
return t === o.Asc || t === o.Desc || t === o.customSort ? t : o.Asc;
|
|
267
267
|
}
|
|
268
|
-
setXAxisSortOrder(t,
|
|
269
|
-
y(t, this._config,
|
|
268
|
+
setXAxisSortOrder(t, r) {
|
|
269
|
+
y(t, this._config, r);
|
|
270
270
|
}
|
|
271
271
|
/**
|
|
272
272
|
* Gets the sort order for on the y axis for heat chart.
|
|
273
273
|
* @returns {"Asc" | "Desc" | "customSort"}
|
|
274
274
|
*/
|
|
275
275
|
getYAxisSortOrder() {
|
|
276
|
-
const t =
|
|
276
|
+
const t = d(this._config)[1];
|
|
277
277
|
return t === o.Asc || t === o.Desc || t === o.customSort ? t : o.Asc;
|
|
278
278
|
}
|
|
279
|
-
setYAxisSortOrder(t,
|
|
280
|
-
y(t, this._config,
|
|
279
|
+
setYAxisSortOrder(t, r) {
|
|
280
|
+
y(t, this._config, r, !0);
|
|
281
281
|
}
|
|
282
282
|
get emptyCellText() {
|
|
283
|
-
return
|
|
283
|
+
return Q(this._config);
|
|
284
284
|
}
|
|
285
285
|
set emptyCellText(t) {
|
|
286
|
-
|
|
286
|
+
Z(t, this._config);
|
|
287
287
|
}
|
|
288
288
|
get includeLeapDay() {
|
|
289
289
|
return $(this._config);
|
|
@@ -296,11 +296,25 @@ class r extends f {
|
|
|
296
296
|
tt(t, this._config), this.emitConfigUpdate("includeLeapDay");
|
|
297
297
|
});
|
|
298
298
|
}
|
|
299
|
-
|
|
299
|
+
/**
|
|
300
|
+
* The first day of the week used for date-based bins.
|
|
301
|
+
*
|
|
302
|
+
* - `1` = Monday
|
|
303
|
+
* - `7` = Sunday
|
|
304
|
+
*/
|
|
305
|
+
get firstDayOfWeek() {
|
|
300
306
|
return et(this._config);
|
|
301
307
|
}
|
|
308
|
+
set firstDayOfWeek(t) {
|
|
309
|
+
this.guardSetterFromAsyncOverwrite(() => {
|
|
310
|
+
it(t, this._config), this.emitConfigUpdate("firstDayOfWeek");
|
|
311
|
+
});
|
|
312
|
+
}
|
|
313
|
+
get emptyCellSymbol() {
|
|
314
|
+
return st(this._config);
|
|
315
|
+
}
|
|
302
316
|
set emptyCellSymbol(t) {
|
|
303
|
-
|
|
317
|
+
rt(t, this._config);
|
|
304
318
|
}
|
|
305
319
|
// Chart override methods that aren't supported
|
|
306
320
|
/**
|
|
@@ -311,7 +325,7 @@ class r extends f {
|
|
|
311
325
|
}
|
|
312
326
|
set rotatedState(t) {
|
|
313
327
|
}
|
|
314
|
-
setAssignToSecondValueAxis(t,
|
|
328
|
+
setAssignToSecondValueAxis(t, r) {
|
|
315
329
|
}
|
|
316
330
|
set stackedType(t) {
|
|
317
331
|
}
|
|
@@ -323,9 +337,9 @@ class r extends f {
|
|
|
323
337
|
* Generates the default config for the heat chart
|
|
324
338
|
*/
|
|
325
339
|
generateDefaultConfig() {
|
|
326
|
-
const t =
|
|
327
|
-
return t.axes?.forEach((
|
|
328
|
-
|
|
340
|
+
const t = at(this.commonStrings, f(this.layerInfo.layer).idField);
|
|
341
|
+
return t.axes?.forEach((r, a) => {
|
|
342
|
+
r && (r.valueFormat = {
|
|
329
343
|
// use short date format for y axis labels
|
|
330
344
|
intlOptions: { timeZone: void 0, dateStyle: a > 0 ? "long" : "medium" },
|
|
331
345
|
type: "date"
|
|
@@ -335,76 +349,79 @@ class r extends f {
|
|
|
335
349
|
}
|
|
336
350
|
i([
|
|
337
351
|
e
|
|
338
|
-
],
|
|
352
|
+
], s.prototype, "yAxisField");
|
|
353
|
+
i([
|
|
354
|
+
e
|
|
355
|
+
], s.prototype, "xTemporalBinning");
|
|
339
356
|
i([
|
|
340
357
|
e
|
|
341
|
-
],
|
|
358
|
+
], s.prototype, "yTemporalBinning");
|
|
342
359
|
i([
|
|
343
360
|
e
|
|
344
|
-
],
|
|
361
|
+
], s.prototype, "hideEmptyRowsAndColumns");
|
|
345
362
|
i([
|
|
346
363
|
e
|
|
347
|
-
],
|
|
364
|
+
], s.prototype, "gridLineWidth");
|
|
348
365
|
i([
|
|
349
366
|
e
|
|
350
|
-
],
|
|
367
|
+
], s.prototype, "gridLineColor");
|
|
351
368
|
i([
|
|
352
369
|
e
|
|
353
|
-
],
|
|
370
|
+
], s.prototype, "seriesName");
|
|
354
371
|
i([
|
|
355
372
|
e
|
|
356
|
-
],
|
|
373
|
+
], s.prototype, "heatRulesType");
|
|
357
374
|
i([
|
|
358
375
|
e
|
|
359
|
-
],
|
|
376
|
+
], s.prototype, "gradientRules");
|
|
360
377
|
i([
|
|
361
378
|
e
|
|
362
|
-
],
|
|
379
|
+
], s.prototype, "numericFields");
|
|
363
380
|
i([
|
|
364
381
|
e
|
|
365
|
-
],
|
|
382
|
+
], s.prototype, "aggregationType");
|
|
366
383
|
i([
|
|
367
384
|
e
|
|
368
|
-
],
|
|
385
|
+
], s.prototype, "splitByField");
|
|
369
386
|
i([
|
|
370
387
|
e
|
|
371
|
-
],
|
|
388
|
+
], s.prototype, "legendPosition");
|
|
372
389
|
i([
|
|
373
390
|
e
|
|
374
|
-
],
|
|
391
|
+
], s.prototype, "nullPolicy");
|
|
375
392
|
i([
|
|
376
393
|
e
|
|
377
|
-
],
|
|
394
|
+
], s.prototype, "setSortOrder");
|
|
378
395
|
i([
|
|
379
396
|
e
|
|
380
|
-
],
|
|
397
|
+
], s.prototype, "setXAxisSortOrder");
|
|
381
398
|
i([
|
|
382
399
|
e
|
|
383
|
-
],
|
|
400
|
+
], s.prototype, "setYAxisSortOrder");
|
|
384
401
|
i([
|
|
385
402
|
e
|
|
386
|
-
],
|
|
403
|
+
], s.prototype, "emptyCellText");
|
|
387
404
|
i([
|
|
388
405
|
e
|
|
389
|
-
],
|
|
406
|
+
], s.prototype, "firstDayOfWeek");
|
|
390
407
|
i([
|
|
391
408
|
e
|
|
392
|
-
],
|
|
409
|
+
], s.prototype, "emptyCellSymbol");
|
|
393
410
|
i([
|
|
394
411
|
e
|
|
395
|
-
],
|
|
412
|
+
], s.prototype, "rotatedState");
|
|
396
413
|
i([
|
|
397
414
|
e
|
|
398
|
-
],
|
|
415
|
+
], s.prototype, "setAssignToSecondValueAxis");
|
|
399
416
|
i([
|
|
400
417
|
e
|
|
401
|
-
],
|
|
418
|
+
], s.prototype, "stackedType");
|
|
402
419
|
i([
|
|
403
420
|
e
|
|
404
|
-
],
|
|
421
|
+
], s.prototype, "binTemporalData");
|
|
405
422
|
i([
|
|
406
423
|
e
|
|
407
|
-
],
|
|
424
|
+
], s.prototype, "nullCategory");
|
|
408
425
|
export {
|
|
409
|
-
|
|
426
|
+
s as HeatChartModel
|
|
410
427
|
};
|