@arcgis/charts-components 5.1.0-next.0 → 5.1.0-next.10
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/{N5LXTC5F.js → 26SLWYNT.js} +1 -1
- package/dist/cdn/{7HHTWL5X.js → 2CT3MIAY.js} +1 -1
- package/dist/cdn/{MR5ILWAE.js → 2OGUU3CF.js} +1 -1
- package/dist/cdn/{O3LWVBLQ.js → 2QDRHHCZ.js} +1 -1
- package/dist/cdn/{NZKAMZX6.js → 2VC2XQAN.js} +1 -1
- package/dist/cdn/3EX7KPVE.js +2 -0
- package/dist/cdn/{FGQCHT3Y.js → 4JOHPQNV.js} +1 -1
- package/dist/cdn/4TREKWIK.js +2 -0
- package/dist/cdn/4XC2ZKSZ.js +2 -0
- package/dist/cdn/{CGRJSESJ.js → 5OWNSM2U.js} +1 -1
- package/dist/cdn/{VCDTXXBB.js → 5SRYB3Z7.js} +1 -1
- package/dist/cdn/{UKLAAPT4.js → 5YJR5M2A.js} +1 -1
- package/dist/cdn/{CF4MUKBD.js → 63GL64M2.js} +1 -1
- package/dist/cdn/{VLDV4SLC.js → 6HU6FAC6.js} +1 -1
- package/dist/cdn/{5UWCB534.js → 6PLEWH4Q.js} +1 -1
- package/dist/cdn/{B227HROY.js → 6WQPKBUS.js} +1 -1
- package/dist/cdn/72ZNLDFS.js +56 -0
- package/dist/cdn/{MFY2WNGC.js → 756AAFX2.js} +1 -1
- package/dist/cdn/{PGRROSLP.js → 7CDRRFI2.js} +1 -1
- package/dist/cdn/{YFQBIEH6.js → 7FASRM4Q.js} +1 -1
- package/dist/cdn/{F7EELFJY.js → 7VTIDISQ.js} +1 -1
- package/dist/cdn/{CSMPPQK6.js → A6FIEHBR.js} +1 -1
- package/dist/cdn/{DSCSQG33.js → AIQKILAI.js} +1 -1
- package/dist/cdn/{RBLN6H3R.js → AVFCOOHZ.js} +1 -1
- package/dist/cdn/{H2ZHJTT5.js → AYYGDEVK.js} +1 -1
- package/dist/cdn/{GB3TK5D3.js → BJPCRXMJ.js} +1 -1
- package/dist/cdn/{E2XSIMND.js → CDL4GUV6.js} +1 -1
- package/dist/cdn/CMRNFSZC.js +4 -0
- package/dist/cdn/DBBUQUSM.js +2 -0
- package/dist/cdn/DEAMKFX3.js +2 -0
- package/dist/cdn/DGTF5KBL.js +2 -0
- package/dist/cdn/{7F454N3C.js → DN4LNEB4.js} +2 -2
- package/dist/cdn/{VPF4DANX.js → DRJ4R4EQ.js} +1 -1
- package/dist/cdn/DSJJ45NU.js +2 -0
- package/dist/cdn/{7XB4DP2Y.js → E3CLVG36.js} +1 -1
- package/dist/cdn/EGY5AQR3.js +2 -0
- package/dist/cdn/{7TA3GQ2P.js → EKWDEI6U.js} +1 -1
- package/dist/cdn/{XVD4CGMV.js → EVWSDR7F.js} +1 -1
- package/dist/cdn/{VQGWUSUK.js → EYLBOIDC.js} +1 -1
- package/dist/cdn/FS2NVQNE.js +2 -0
- package/dist/cdn/{I4JPIKWZ.js → GYNFKNOC.js} +1 -1
- package/dist/cdn/{7OIBV6LX.js → H7FCUZ5Q.js} +1 -1
- package/dist/cdn/{T6J2NNJR.js → HAJ2VWEU.js} +1 -1
- package/dist/cdn/{OBF3ZYVJ.js → HLTV3SZ3.js} +1 -1
- package/dist/cdn/{4SDMBWIH.js → HT3D2REX.js} +1 -1
- package/dist/cdn/IRNA25SY.js +2 -0
- package/dist/cdn/J5U7GGIA.js +2 -0
- package/dist/cdn/JD74DCCM.js +2 -0
- package/dist/cdn/JDVXA2CS.js +2 -0
- package/dist/cdn/{NKTG3HYP.js → JX35IVRI.js} +1 -1
- package/dist/cdn/{V3NRWE2B.js → K5QY4SRM.js} +1 -1
- package/dist/cdn/KG447AXN.js +2 -0
- package/dist/cdn/{EOT7WEOM.js → KYUASK4W.js} +1 -1
- package/dist/cdn/{AE43AFN2.js → KZ7WEJMS.js} +1 -1
- package/dist/cdn/LESACRNP.js +2 -0
- package/dist/cdn/{GV3FPWSE.js → LEUZZRL3.js} +1 -1
- package/dist/cdn/{Z3ATQCGU.js → LOVVVWQQ.js} +1 -1
- package/dist/cdn/{ILN66JCQ.js → LRHPJGAF.js} +1 -1
- package/dist/cdn/{TW7SDPY6.js → N2BJICO7.js} +1 -1
- package/dist/cdn/{YP55GB27.js → NXF4ANBF.js} +1 -1
- package/dist/cdn/PCLJVVSC.js +2 -0
- package/dist/cdn/{OLGKBPS4.js → PHKJ7FEL.js} +1 -1
- package/dist/cdn/{E4Z7JPW7.js → PMJXL2RO.js} +1 -1
- package/dist/cdn/PTVFXORI.js +2 -0
- package/dist/cdn/{ACIPSEQP.js → Q2KACZBE.js} +1 -1
- package/dist/cdn/Q3RD465X.js +2 -0
- package/dist/cdn/{Z5OGHBTB.js → QHIXRP3D.js} +1 -1
- package/dist/cdn/{L7BKIZJN.js → QN32RSSK.js} +1 -1
- package/dist/cdn/{6AMFQCS7.js → R3AFJXL2.js} +1 -1
- package/dist/cdn/{ZMTNSPCX.js → R7NXKFI4.js} +1 -1
- package/dist/cdn/RGFGKNTV.js +93 -0
- package/dist/cdn/{I45WQ4BL.js → RGSTYQHL.js} +1 -1
- package/dist/cdn/RJTSFOSP.js +2 -0
- package/dist/cdn/{3KIKTBU4.js → S5R4OEBU.js} +1 -1
- package/dist/cdn/S5XUWFFZ.js +2 -0
- package/dist/cdn/{SGOQQYBY.js → SPAXIJWK.js} +1 -1
- package/dist/cdn/{UR4SN4J4.js → ST7NVAV3.js} +1 -1
- package/dist/cdn/{TCKWKRVQ.js → SVUBBKM5.js} +1 -1
- package/dist/cdn/{YBWIUGMX.js → T4VBQWR4.js} +1 -1
- package/dist/cdn/T7XKFYU3.js +2 -0
- package/dist/cdn/{4YGTK6R4.js → TEGYSOJJ.js} +1 -1
- package/dist/cdn/{UNGIAYCA.js → THMNUUUE.js} +1 -1
- package/dist/cdn/{5SBX2OSZ.js → UE4N6ASZ.js} +1 -1
- package/dist/cdn/V4GE3B2F.js +2 -0
- package/dist/cdn/VLYQJ3YH.js +2 -0
- package/dist/cdn/{N7QH3COK.js → VMMTJWUZ.js} +1 -1
- package/dist/cdn/{ITCFNAZ2.js → VPTDXGKU.js} +1 -1
- package/dist/cdn/VTJWIN7U.js +2 -0
- package/dist/cdn/{YHXUQR6R.js → VWLR4WCT.js} +1 -1
- package/dist/cdn/WCZWAASA.js +2 -0
- package/dist/cdn/XF7VOPC6.js +2 -0
- package/dist/cdn/XHESCLJV.js +2 -0
- package/dist/cdn/{CCBSYUDL.js → XJLODBLD.js} +1 -1
- package/dist/cdn/{UVEAGNF2.js → XZE6IPW7.js} +1 -1
- package/dist/cdn/Y2CT4MJ4.js +2 -0
- package/dist/cdn/{JEOHGL3P.js → YF6EYCSY.js} +1 -1
- package/dist/cdn/{INA4MWOS.js → YUFKLXMQ.js} +1 -1
- package/dist/cdn/{UPWTKME3.js → YXUXX2XA.js} +1 -1
- package/dist/cdn/{IMMCY2GO.js → ZB4GBCOX.js} +1 -1
- package/dist/cdn/{MAYX7C4V.js → ZNLHWCJV.js} +1 -1
- package/dist/cdn/{ITMPO5LO.js → ZT6KWD4G.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/action-bar-utils.js +10 -9
- package/dist/chunks/bar-chart-model.js +1 -0
- package/dist/chunks/bar-chart-series.js +5 -3
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +5 -0
- package/dist/chunks/chart-ui-utils.js +53 -48
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/class-breaks.js +159 -94
- package/dist/chunks/combo-bar-line-chart-model.js +3 -0
- package/dist/chunks/data.js +20 -19
- package/dist/chunks/gauge-model.js +1 -0
- package/dist/chunks/heat-chart-model.js +84 -66
- package/dist/chunks/histogram-model.js +1 -0
- package/dist/chunks/index.js +3386 -3331
- package/dist/chunks/index2.js +33 -33
- package/dist/chunks/index6.js +18 -0
- package/dist/chunks/line-chart-model.js +2 -0
- package/dist/chunks/model-setter.js +4 -1
- package/dist/chunks/model-with-guides.js +7 -6
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +2 -1
- package/dist/chunks/radar-chart-model.js +11 -9
- package/dist/chunks/scatterplot-model.js +1 -0
- package/dist/chunks/serial-chart-data.js +380 -371
- package/dist/chunks/serial-chart-model.js +9 -4
- package/dist/chunks/web-component-utils.js +63 -63
- package/dist/components/arcgis-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-chart/customElement.js +3140 -3155
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +2 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +21 -23
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +13 -16
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +16 -18
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +14 -17
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +28 -20
- package/dist/components/arcgis-charts-config-format/customElement.js +20 -20
- package/dist/components/arcgis-charts-config-guide/customElement.js +1 -0
- package/dist/components/arcgis-charts-config-heat-chart-data/customElement.js +115 -105
- package/dist/components/arcgis-charts-config-heat-chart-data/index.js +2 -0
- package/dist/components/arcgis-charts-config-heat-chart-popover/customElement.js +45 -34
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +21 -23
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +23 -25
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +8 -10
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +11 -14
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +19 -21
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +11 -14
- package/dist/components/arcgis-charts-info-modal/customElement.js +52 -14
- 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/index.js +278 -277
- package/dist/json-schema/index.d.ts +7 -9
- package/dist/loader.js +4 -4
- package/dist/model/bar-chart-model/bar-chart-model.d.ts +3 -12
- package/dist/model/box-plot-model/box-plot-model.d.ts +1 -34
- package/dist/model/chart-model/chart-model-base.d.ts +0 -46
- package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +1 -14
- package/dist/model/gauge-model/gauge-model.d.ts +2 -11
- package/dist/model/heat-chart-model/heat-chart-model.d.ts +9 -10
- package/dist/model/histogram-model/histogram-model.d.ts +2 -11
- package/dist/model/line-chart-model/line-chart-model.d.ts +1 -14
- package/dist/model/mixins/model-with-line-marker-styling.d.ts +0 -4
- package/dist/model/mixins/model-with-multi-axes.d.ts +0 -3
- package/dist/model/pie-chart-model/pie-chart-model.d.ts +2 -17
- package/dist/model/radar-chart-model/radar-chart-model.d.ts +1 -14
- package/dist/model/scatterplot-model/scatterplot-model.d.ts +2 -11
- package/dist/model/serial-chart-model/serial-chart-model.d.ts +0 -42
- package/dist/spec/rest-js-types.d.ts +15 -0
- package/dist/spec/web-chart.d.ts +279 -243
- 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 +22 -7
- package/dist/utils/type-guards/index.d.ts +15 -8
- package/dist/utils/ui/chart-ui-utils.d.ts +9 -5
- package/package.json +4 -4
- package/dist/cdn/2BIDUUM3.js +0 -2
- package/dist/cdn/4OI742MI.js +0 -2
- package/dist/cdn/A2TYB4C2.js +0 -2
- package/dist/cdn/BJJLSSQL.js +0 -2
- package/dist/cdn/C3QBGU3R.js +0 -2
- package/dist/cdn/CSHLYYDR.js +0 -2
- package/dist/cdn/DISBHZRX.js +0 -2
- package/dist/cdn/DM36XG4Z.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/GUN4GTO3.js +0 -2
- package/dist/cdn/HOPCZKQO.js +0 -2
- package/dist/cdn/JYAZY7C6.js +0 -2
- package/dist/cdn/MMVAIEM3.js +0 -2
- package/dist/cdn/OFZOPSWX.js +0 -2
- package/dist/cdn/OKE67HPM.js +0 -2
- package/dist/cdn/OQA4LU5O.js +0 -2
- package/dist/cdn/OX34MEOD.js +0 -2
- package/dist/cdn/RESJUXIH.js +0 -2
- package/dist/cdn/RREICBPO.js +0 -58
- 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/WZJQSJPK.js +0 -2
- package/dist/cdn/XAWIW6KZ.js +0 -32
- package/dist/cdn/XPATRR6S.js +0 -2
- package/dist/cdn/YWRPXNSI.js +0 -2
- package/dist/cdn/ZARMIUOQ.js +0 -2
|
@@ -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
|
}
|
|
@@ -321,11 +335,12 @@ class r extends f {
|
|
|
321
335
|
}
|
|
322
336
|
/**
|
|
323
337
|
* Generates the default config for the heat chart
|
|
338
|
+
* @private
|
|
324
339
|
*/
|
|
325
340
|
generateDefaultConfig() {
|
|
326
|
-
const t =
|
|
327
|
-
return t.axes?.forEach((
|
|
328
|
-
|
|
341
|
+
const t = at(this.commonStrings, f(this.layerInfo.layer).idField);
|
|
342
|
+
return t.axes?.forEach((r, a) => {
|
|
343
|
+
r && (r.valueFormat = {
|
|
329
344
|
// use short date format for y axis labels
|
|
330
345
|
intlOptions: { timeZone: void 0, dateStyle: a > 0 ? "long" : "medium" },
|
|
331
346
|
type: "date"
|
|
@@ -335,76 +350,79 @@ class r extends f {
|
|
|
335
350
|
}
|
|
336
351
|
i([
|
|
337
352
|
e
|
|
338
|
-
],
|
|
353
|
+
], s.prototype, "yAxisField");
|
|
354
|
+
i([
|
|
355
|
+
e
|
|
356
|
+
], s.prototype, "xTemporalBinning");
|
|
339
357
|
i([
|
|
340
358
|
e
|
|
341
|
-
],
|
|
359
|
+
], s.prototype, "yTemporalBinning");
|
|
342
360
|
i([
|
|
343
361
|
e
|
|
344
|
-
],
|
|
362
|
+
], s.prototype, "hideEmptyRowsAndColumns");
|
|
345
363
|
i([
|
|
346
364
|
e
|
|
347
|
-
],
|
|
365
|
+
], s.prototype, "gridLineWidth");
|
|
348
366
|
i([
|
|
349
367
|
e
|
|
350
|
-
],
|
|
368
|
+
], s.prototype, "gridLineColor");
|
|
351
369
|
i([
|
|
352
370
|
e
|
|
353
|
-
],
|
|
371
|
+
], s.prototype, "seriesName");
|
|
354
372
|
i([
|
|
355
373
|
e
|
|
356
|
-
],
|
|
374
|
+
], s.prototype, "heatRulesType");
|
|
357
375
|
i([
|
|
358
376
|
e
|
|
359
|
-
],
|
|
377
|
+
], s.prototype, "gradientRules");
|
|
360
378
|
i([
|
|
361
379
|
e
|
|
362
|
-
],
|
|
380
|
+
], s.prototype, "numericFields");
|
|
363
381
|
i([
|
|
364
382
|
e
|
|
365
|
-
],
|
|
383
|
+
], s.prototype, "aggregationType");
|
|
366
384
|
i([
|
|
367
385
|
e
|
|
368
|
-
],
|
|
386
|
+
], s.prototype, "splitByField");
|
|
369
387
|
i([
|
|
370
388
|
e
|
|
371
|
-
],
|
|
389
|
+
], s.prototype, "legendPosition");
|
|
372
390
|
i([
|
|
373
391
|
e
|
|
374
|
-
],
|
|
392
|
+
], s.prototype, "nullPolicy");
|
|
375
393
|
i([
|
|
376
394
|
e
|
|
377
|
-
],
|
|
395
|
+
], s.prototype, "setSortOrder");
|
|
378
396
|
i([
|
|
379
397
|
e
|
|
380
|
-
],
|
|
398
|
+
], s.prototype, "setXAxisSortOrder");
|
|
381
399
|
i([
|
|
382
400
|
e
|
|
383
|
-
],
|
|
401
|
+
], s.prototype, "setYAxisSortOrder");
|
|
384
402
|
i([
|
|
385
403
|
e
|
|
386
|
-
],
|
|
404
|
+
], s.prototype, "emptyCellText");
|
|
387
405
|
i([
|
|
388
406
|
e
|
|
389
|
-
],
|
|
407
|
+
], s.prototype, "firstDayOfWeek");
|
|
390
408
|
i([
|
|
391
409
|
e
|
|
392
|
-
],
|
|
410
|
+
], s.prototype, "emptyCellSymbol");
|
|
393
411
|
i([
|
|
394
412
|
e
|
|
395
|
-
],
|
|
413
|
+
], s.prototype, "rotatedState");
|
|
396
414
|
i([
|
|
397
415
|
e
|
|
398
|
-
],
|
|
416
|
+
], s.prototype, "setAssignToSecondValueAxis");
|
|
399
417
|
i([
|
|
400
418
|
e
|
|
401
|
-
],
|
|
419
|
+
], s.prototype, "stackedType");
|
|
402
420
|
i([
|
|
403
421
|
e
|
|
404
|
-
],
|
|
422
|
+
], s.prototype, "binTemporalData");
|
|
405
423
|
i([
|
|
406
424
|
e
|
|
407
|
-
],
|
|
425
|
+
], s.prototype, "nullCategory");
|
|
408
426
|
export {
|
|
409
|
-
|
|
427
|
+
s as HeatChartModel
|
|
410
428
|
};
|
|
@@ -160,6 +160,7 @@ class e extends P {
|
|
|
160
160
|
// ---------------------------------------------------------------------------------------------
|
|
161
161
|
// #region Protected methods
|
|
162
162
|
// ---------------------------------------------------------------------------------------------
|
|
163
|
+
/** @private */
|
|
163
164
|
generateDefaultConfig() {
|
|
164
165
|
return Z(this.commonStrings);
|
|
165
166
|
}
|