@adiba-banking-cloud/backoffice 0.2.5 → 0.2.7
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/build/index.cjs.js/{heatmap-Bha3If2E.js → heatmap-B1kaS2PG.js} +320 -319
- package/build/index.cjs.js/{index-BiOmZHuM.js → index-D51hEk07.js} +4261 -3325
- package/build/index.cjs.js/index.js +11 -1
- package/build/index.esm.js/{heatmap-Dva-F8qJ.js → heatmap-DkDFcCFl.js} +320 -319
- package/build/index.esm.js/{index-BmuCIg-s.js → index-Di6tbDMv.js} +4255 -3327
- package/build/index.esm.js/index.js +3 -1
- package/build/styles.css +1 -1
- package/build/typings/components/charts/pie/Pie.d.ts +3 -0
- package/build/typings/components/charts/pie/Pie.default.d.ts +2 -0
- package/build/typings/components/charts/pie/Pie.stories.d.ts +6 -0
- package/build/typings/components/charts/pie/Pie.types.d.ts +31 -0
- package/build/typings/components/index.d.ts +8 -0
- package/build/typings/components/tables/table-state/TableStateView.d.ts +3 -0
- package/build/typings/components/tables/table-state/TableStateView.stories.d.ts +9 -0
- package/build/typings/components/tables/table-state/TableStateView.types.d.ts +10 -0
- package/build/typings/components/theme.d.ts +1 -1
- package/build/typings/components/widgets/credit_card/CreditCard.d.ts +4 -0
- package/build/typings/components/widgets/credit_card/CreditCard.stories.d.ts +8 -0
- package/build/typings/components/widgets/credit_card/CreditCard.types.d.ts +39 -0
- package/build/typings/components/widgets/detail_card/DetailCard.d.ts +3 -0
- package/build/typings/components/widgets/detail_card/DetailCard.stories.d.ts +17 -0
- package/build/typings/components/widgets/detail_card/DetailCard.types.d.ts +39 -0
- package/build/typings/components/widgets/info_grid/InfoGrid.d.ts +3 -0
- package/build/typings/components/widgets/info_grid/InfoGrid.stories.d.ts +10 -0
- package/build/typings/components/widgets/info_grid/InfoGrid.types.d.ts +20 -0
- package/build/typings/components/widgets/merchant/MerchantCard.d.ts +3 -0
- package/build/typings/components/widgets/merchant/MerchantCard.stories.d.ts +10 -0
- package/build/typings/components/widgets/merchant/MerchantCard.types.d.ts +21 -0
- package/build/typings/components/widgets/status_alert/StatusAlert.d.ts +3 -0
- package/build/typings/components/widgets/status_alert/StatusAlert.stories.d.ts +10 -0
- package/build/typings/components/widgets/status_alert/StatusAlert.types.d.ts +27 -0
- package/build/typings/components/widgets/user_profile/UserProfileCard.d.ts +3 -0
- package/build/typings/components/widgets/user_profile/UserProfileCard.stories.d.ts +8 -0
- package/build/typings/components/widgets/user_profile/UserProfileCard.types.d.ts +32 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-D51hEk07.js');
|
|
4
4
|
|
|
5
5
|
function _mergeNamespaces(n, m) {
|
|
6
6
|
m.forEach(function (e) {
|
|
@@ -24,25 +24,28 @@ var hasRequiredHeatmap;
|
|
|
24
24
|
function requireHeatmap() {
|
|
25
25
|
if (hasRequiredHeatmap) return heatmap$3.exports;
|
|
26
26
|
hasRequiredHeatmap = 1;
|
|
27
|
-
(function (module, exports) {
|
|
27
|
+
(function (module, exports$1) {
|
|
28
28
|
!
|
|
29
29
|
/**
|
|
30
|
-
* Highmaps JS v12.
|
|
30
|
+
* Highmaps JS v12.5.0 (2026-01-12)
|
|
31
31
|
* @module highcharts/modules/heatmap
|
|
32
32
|
* @requires highcharts
|
|
33
33
|
*
|
|
34
|
-
* (c) 2009-
|
|
34
|
+
* (c) 2009-2026 Highsoft AS
|
|
35
|
+
* Author: Torstein Honsi
|
|
35
36
|
*
|
|
36
|
-
*
|
|
37
|
+
* A commercial license may be required depending on use.
|
|
38
|
+
* See www.highcharts.com/license
|
|
37
39
|
*/
|
|
38
40
|
function (t, e) {
|
|
39
41
|
module.exports = e(t._Highcharts, t._Highcharts.Axis, t._Highcharts.Color, t._Highcharts.LegendSymbol, t._Highcharts.SeriesRegistry, t._Highcharts.SVGElement, t._Highcharts.SVGRenderer) ;
|
|
40
|
-
}("
|
|
42
|
+
}("u" < typeof window ? heatmap$2 : window, (t, e, s, i, o, r, a) => (() => {
|
|
41
43
|
|
|
42
|
-
var
|
|
44
|
+
var l,
|
|
43
45
|
n,
|
|
44
46
|
h,
|
|
45
|
-
d
|
|
47
|
+
d,
|
|
48
|
+
p = {
|
|
46
49
|
28: t => {
|
|
47
50
|
t.exports = r;
|
|
48
51
|
},
|
|
@@ -56,7 +59,7 @@ function requireHeatmap() {
|
|
|
56
59
|
t.exports = e;
|
|
57
60
|
},
|
|
58
61
|
540: t => {
|
|
59
|
-
t.exports =
|
|
62
|
+
t.exports = a;
|
|
60
63
|
},
|
|
61
64
|
620: t => {
|
|
62
65
|
t.exports = s;
|
|
@@ -65,53 +68,100 @@ function requireHeatmap() {
|
|
|
65
68
|
e.exports = t;
|
|
66
69
|
}
|
|
67
70
|
},
|
|
68
|
-
|
|
69
|
-
function
|
|
70
|
-
var e =
|
|
71
|
+
c = {};
|
|
72
|
+
function u(t) {
|
|
73
|
+
var e = c[t];
|
|
71
74
|
if (void 0 !== e) return e.exports;
|
|
72
|
-
var s =
|
|
75
|
+
var s = c[t] = {
|
|
73
76
|
exports: {}
|
|
74
77
|
};
|
|
75
|
-
return
|
|
78
|
+
return p[t](s, s.exports, u), s.exports;
|
|
76
79
|
}
|
|
77
|
-
|
|
80
|
+
u.n = t => {
|
|
78
81
|
var e = t && t.__esModule ? () => t.default : () => t;
|
|
79
|
-
return
|
|
82
|
+
return u.d(e, {
|
|
80
83
|
a: e
|
|
81
84
|
}), e;
|
|
82
|
-
},
|
|
83
|
-
for (var s in e)
|
|
85
|
+
}, u.d = (t, e) => {
|
|
86
|
+
for (var s in e) u.o(e, s) && !u.o(t, s) && Object.defineProperty(t, s, {
|
|
84
87
|
enumerable: true,
|
|
85
88
|
get: e[s]
|
|
86
89
|
});
|
|
87
|
-
},
|
|
88
|
-
var
|
|
89
|
-
|
|
90
|
-
default: () =>
|
|
90
|
+
}, u.o = (t, e) => Object.prototype.hasOwnProperty.call(t, e);
|
|
91
|
+
var g = {};
|
|
92
|
+
u.d(g, {
|
|
93
|
+
default: () => tL
|
|
91
94
|
});
|
|
92
|
-
var
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
var m = u(944),
|
|
96
|
+
f = u.n(m),
|
|
97
|
+
x = u(532),
|
|
98
|
+
y = u.n(x),
|
|
99
|
+
b = u(620),
|
|
100
|
+
v = u.n(b);
|
|
98
101
|
let {
|
|
99
|
-
parse:
|
|
100
|
-
} =
|
|
102
|
+
parse: C
|
|
103
|
+
} = v(),
|
|
101
104
|
{
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
105
|
+
merge: A
|
|
106
|
+
} = f();
|
|
107
|
+
(l = n || (n = {})).initDataClasses = function (t) {
|
|
108
|
+
let e = this.chart,
|
|
109
|
+
s = this.legendItem = this.legendItem || {},
|
|
110
|
+
i = this.options,
|
|
111
|
+
o = t.dataClasses || [],
|
|
112
|
+
r,
|
|
113
|
+
a,
|
|
114
|
+
l = e.options.chart.colorCount,
|
|
115
|
+
n = 0,
|
|
116
|
+
h;
|
|
117
|
+
this.dataClasses = a = [], s.labels = [];
|
|
118
|
+
for (let t = 0, s = o.length; t < s; ++t) r = A(r = o[t]), a.push(r), (e.styledMode || !r.color) && ("category" === i.dataClassColor ? (e.styledMode || (l = (h = e.options.colors || []).length, r.color = h[n]), r.colorIndex = n, ++n === l && (n = 0)) : r.color = C(i.minColor).tweenTo(C(i.maxColor), s < 2 ? .5 : t / (s - 1)));
|
|
119
|
+
}, l.initStops = function () {
|
|
120
|
+
let t = this.options,
|
|
121
|
+
e = this.stops = t.stops || [[0, t.minColor || ""], [1, t.maxColor || ""]];
|
|
122
|
+
for (let t = 0, s = e.length; t < s; ++t) e[t].color = C(e[t][1]);
|
|
123
|
+
}, l.normalizedValue = function (t) {
|
|
124
|
+
let e = this.max || 0,
|
|
125
|
+
s = this.min || 0;
|
|
126
|
+
return this.logarithmic && (t = this.logarithmic.log2lin(t)), 1 - (e - t) / (e - s || 1);
|
|
127
|
+
}, l.toColor = function (t, e) {
|
|
128
|
+
let s,
|
|
129
|
+
i,
|
|
130
|
+
o,
|
|
131
|
+
r,
|
|
132
|
+
a,
|
|
133
|
+
l,
|
|
134
|
+
n = this.dataClasses,
|
|
135
|
+
h = this.stops;
|
|
136
|
+
if (n) {
|
|
137
|
+
for (l = n.length; l--;) if (i = (a = n[l]).from, o = a.to, (void 0 === i || t >= i) && (void 0 === o || t <= o)) {
|
|
138
|
+
r = a.color, e && (e.dataClass = l, e.colorIndex = a.colorIndex);
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
} else {
|
|
142
|
+
for (s = this.normalizedValue(t), l = h.length; l-- && !(s > h[l][0]););
|
|
143
|
+
i = h[l] || h[l + 1], s = 1 - ((o = h[l + 1] || i)[0] - s) / (o[0] - i[0] || 1), r = i.color.tweenTo(o.color, s);
|
|
144
|
+
}
|
|
145
|
+
return r;
|
|
146
|
+
};
|
|
147
|
+
let M = n,
|
|
148
|
+
{
|
|
149
|
+
parse: w
|
|
150
|
+
} = v(),
|
|
151
|
+
{
|
|
152
|
+
addEvent: k,
|
|
153
|
+
extend: L,
|
|
154
|
+
merge: I,
|
|
155
|
+
pick: S,
|
|
156
|
+
splat: P
|
|
157
|
+
} = f();
|
|
108
158
|
!function (t) {
|
|
109
159
|
let e;
|
|
110
160
|
function s() {
|
|
111
161
|
let {
|
|
112
162
|
userOptions: t
|
|
113
163
|
} = this;
|
|
114
|
-
this.colorAxis = [], t.colorAxis && (t.colorAxis =
|
|
164
|
+
this.colorAxis = [], t.colorAxis && (t.colorAxis = P(t.colorAxis), t.colorAxis.map(t => new e(this, t)));
|
|
115
165
|
}
|
|
116
166
|
function i(t) {
|
|
117
167
|
let e = this.chart.colorAxis || [],
|
|
@@ -140,10 +190,10 @@ function requireHeatmap() {
|
|
|
140
190
|
e.update({}, t.redraw);
|
|
141
191
|
});
|
|
142
192
|
}
|
|
143
|
-
function
|
|
193
|
+
function a() {
|
|
144
194
|
(this.chart.colorAxis?.length || this.colorAttribs) && this.translateColors();
|
|
145
195
|
}
|
|
146
|
-
function
|
|
196
|
+
function l() {
|
|
147
197
|
let t = this.axisTypes;
|
|
148
198
|
t ? -1 === t.indexOf("colorAxis") && t.push("colorAxis") : this.axisTypes = ["colorAxis"];
|
|
149
199
|
}
|
|
@@ -162,115 +212,65 @@ function requireHeatmap() {
|
|
|
162
212
|
o = this.colorKey;
|
|
163
213
|
e.forEach(e => {
|
|
164
214
|
let r = e.getNestedProperty(o),
|
|
165
|
-
|
|
166
|
-
|
|
215
|
+
a = e.options.color || (e.isNull || null === e.value ? s : i && void 0 !== r ? i.toColor(r, e) : e.color || t.color);
|
|
216
|
+
a && e.color !== a && (e.color = a, "point" === t.options.legendType && e.legendItem && e.legendItem.label && t.chart.legend.colorizeItem(e, e.visible));
|
|
167
217
|
});
|
|
168
218
|
}
|
|
169
219
|
function d() {
|
|
170
|
-
this.elem.attr("fill",
|
|
220
|
+
this.elem.attr("fill", w(this.start).tweenTo(w(this.end), this.pos), void 0, true);
|
|
171
221
|
}
|
|
172
222
|
function p() {
|
|
173
|
-
this.elem.attr("stroke",
|
|
223
|
+
this.elem.attr("stroke", w(this.start).tweenTo(w(this.end), this.pos), void 0, true);
|
|
174
224
|
}
|
|
175
225
|
t.compose = function (t, c, u, g, m) {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
y =
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
}(c), x.fillSetter = d, x.strokeSetter = p, C(g, "afterGetAllItems", i), C(g, "afterColorizeItem", o), C(g, "afterUpdate", r), A(y, {
|
|
226
|
+
var f;
|
|
227
|
+
let x,
|
|
228
|
+
y = c.prototype,
|
|
229
|
+
b = u.prototype,
|
|
230
|
+
v = m.prototype;
|
|
231
|
+
y.collectionsWithUpdate.includes("colorAxis") || (e = t, y.collectionsWithUpdate.push("colorAxis"), y.collectionsWithInit.colorAxis = [y.addColorAxis], k(c, "afterCreateAxes", s), x = (f = c).prototype.createAxis, f.prototype.createAxis = function (t, s) {
|
|
232
|
+
if ("colorAxis" !== t) return x.apply(this, arguments);
|
|
233
|
+
let i = new e(this, I(s.axis, {
|
|
234
|
+
index: this[t].length,
|
|
235
|
+
isX: false
|
|
236
|
+
}));
|
|
237
|
+
return this.isDirtyLegend = true, this.axes.forEach(t => {
|
|
238
|
+
t.series = [];
|
|
239
|
+
}), this.series.forEach(t => {
|
|
240
|
+
t.bindAxes(), t.isDirtyData = true;
|
|
241
|
+
}), S(s.redraw, true) && this.redraw(s.animation), i;
|
|
242
|
+
}, b.fillSetter = d, b.strokeSetter = p, k(g, "afterGetAllItems", i), k(g, "afterColorizeItem", o), k(g, "afterUpdate", r), L(v, {
|
|
194
243
|
optionalAxis: "colorAxis",
|
|
195
244
|
translateColors: h
|
|
196
|
-
}),
|
|
245
|
+
}), L(v.pointClass.prototype, {
|
|
197
246
|
setVisible: n
|
|
198
|
-
}),
|
|
247
|
+
}), k(m, "afterTranslate", a, {
|
|
199
248
|
order: 1
|
|
200
|
-
}),
|
|
249
|
+
}), k(m, "bindAxes", l));
|
|
201
250
|
}, t.pointSetVisible = n;
|
|
202
|
-
}(
|
|
203
|
-
let
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
merge: S
|
|
209
|
-
} = m();
|
|
210
|
-
!function (t) {
|
|
211
|
-
t.initDataClasses = function (t) {
|
|
212
|
-
let e = this.chart,
|
|
213
|
-
s = this.legendItem = this.legendItem || {},
|
|
214
|
-
i = this.options,
|
|
215
|
-
o = t.dataClasses || [],
|
|
216
|
-
r,
|
|
217
|
-
l,
|
|
218
|
-
a = e.options.chart.colorCount,
|
|
219
|
-
n = 0,
|
|
220
|
-
h;
|
|
221
|
-
this.dataClasses = l = [], s.labels = [];
|
|
222
|
-
for (let t = 0, s = o.length; t < s; ++t) r = S(r = o[t]), l.push(r), (e.styledMode || !r.color) && ("category" === i.dataClassColor ? (e.styledMode || (a = (h = e.options.colors || []).length, r.color = h[n]), r.colorIndex = n, ++n === a && (n = 0)) : r.color = I(i.minColor).tweenTo(I(i.maxColor), s < 2 ? .5 : t / (s - 1)));
|
|
223
|
-
}, t.initStops = function () {
|
|
224
|
-
let t = this.options,
|
|
225
|
-
e = this.stops = t.stops || [[0, t.minColor || ""], [1, t.maxColor || ""]];
|
|
226
|
-
for (let t = 0, s = e.length; t < s; ++t) e[t].color = I(e[t][1]);
|
|
227
|
-
}, t.normalizedValue = function (t) {
|
|
228
|
-
let e = this.max || 0,
|
|
229
|
-
s = this.min || 0;
|
|
230
|
-
return this.logarithmic && (t = this.logarithmic.log2lin(t)), 1 - (e - t) / (e - s || 1);
|
|
231
|
-
}, t.toColor = function (t, e) {
|
|
232
|
-
let s,
|
|
233
|
-
i,
|
|
234
|
-
o,
|
|
235
|
-
r,
|
|
236
|
-
l,
|
|
237
|
-
a,
|
|
238
|
-
n = this.dataClasses,
|
|
239
|
-
h = this.stops;
|
|
240
|
-
if (n) {
|
|
241
|
-
for (a = n.length; a--;) if (i = (l = n[a]).from, o = l.to, (void 0 === i || t >= i) && (void 0 === o || t <= o)) {
|
|
242
|
-
r = l.color, e && (e.dataClass = a, e.colorIndex = l.colorIndex);
|
|
243
|
-
break;
|
|
244
|
-
}
|
|
245
|
-
} else {
|
|
246
|
-
for (s = this.normalizedValue(t), a = h.length; a-- && !(s > h[a][0]););
|
|
247
|
-
i = h[a] || h[a + 1], s = 1 - ((o = h[a + 1] || i)[0] - s) / (o[0] - i[0] || 1), r = i.color.tweenTo(o.color, s);
|
|
248
|
-
}
|
|
249
|
-
return r;
|
|
250
|
-
};
|
|
251
|
-
}(n || (n = {}));
|
|
252
|
-
let P = n;
|
|
253
|
-
var T = c(500),
|
|
254
|
-
D = c.n(T),
|
|
255
|
-
E = c(512),
|
|
256
|
-
V = c.n(E);
|
|
251
|
+
}(h || (h = {}));
|
|
252
|
+
let T = h;
|
|
253
|
+
var D = u(500),
|
|
254
|
+
E = u.n(D),
|
|
255
|
+
V = u(512),
|
|
256
|
+
H = u.n(V);
|
|
257
257
|
let {
|
|
258
|
-
defaultOptions:
|
|
259
|
-
} =
|
|
258
|
+
defaultOptions: O
|
|
259
|
+
} = f(),
|
|
260
260
|
{
|
|
261
|
-
series:
|
|
262
|
-
} =
|
|
261
|
+
series: z
|
|
262
|
+
} = H(),
|
|
263
263
|
{
|
|
264
|
-
defined:
|
|
265
|
-
extend:
|
|
266
|
-
fireEvent:
|
|
267
|
-
isArray:
|
|
268
|
-
isNumber:
|
|
269
|
-
merge:
|
|
270
|
-
pick:
|
|
271
|
-
relativeLength:
|
|
272
|
-
} =
|
|
273
|
-
|
|
264
|
+
defined: R,
|
|
265
|
+
extend: G,
|
|
266
|
+
fireEvent: _,
|
|
267
|
+
isArray: W,
|
|
268
|
+
isNumber: N,
|
|
269
|
+
merge: K,
|
|
270
|
+
pick: X,
|
|
271
|
+
relativeLength: j
|
|
272
|
+
} = f();
|
|
273
|
+
O.colorAxis = K(O.xAxis, {
|
|
274
274
|
lineWidth: 0,
|
|
275
275
|
minPadding: 0,
|
|
276
276
|
maxPadding: 0,
|
|
@@ -297,9 +297,9 @@ function requireHeatmap() {
|
|
|
297
297
|
tickLength: 5,
|
|
298
298
|
showInLegend: true
|
|
299
299
|
});
|
|
300
|
-
class
|
|
300
|
+
class F extends y() {
|
|
301
301
|
static compose(t, e, s, i) {
|
|
302
|
-
|
|
302
|
+
T.compose(F, t, e, s, i);
|
|
303
303
|
}
|
|
304
304
|
constructor(t, e) {
|
|
305
305
|
super(t, e), this.coll = "colorAxis", this.visible = true, this.init(t, e);
|
|
@@ -307,7 +307,7 @@ function requireHeatmap() {
|
|
|
307
307
|
init(t, e) {
|
|
308
308
|
let s = t.options.legend || {},
|
|
309
309
|
i = e.layout ? "vertical" !== e.layout : "vertical" !== s.layout;
|
|
310
|
-
this.side = e.side || i ? 2 : 1, this.reversed = e.reversed, this.opposite = !i, super.init(t, e, "colorAxis"), this.userOptions = e,
|
|
310
|
+
this.side = e.side || i ? 2 : 1, this.reversed = e.reversed, this.opposite = !i, super.init(t, e, "colorAxis"), this.userOptions = e, W(t.userOptions.colorAxis) && (t.userOptions.colorAxis[this.index] = e), e.dataClasses && this.initDataClasses(e), this.initStops(), this.horiz = i, this.zoomEnabled = false;
|
|
311
311
|
}
|
|
312
312
|
hasData() {
|
|
313
313
|
return !!(this.tickPositions || []).length;
|
|
@@ -316,7 +316,7 @@ function requireHeatmap() {
|
|
|
316
316
|
if (!this.dataClasses) return super.setTickPositions();
|
|
317
317
|
}
|
|
318
318
|
setOptions(t) {
|
|
319
|
-
let e =
|
|
319
|
+
let e = K(O.colorAxis, t, {
|
|
320
320
|
showEmpty: false,
|
|
321
321
|
title: null,
|
|
322
322
|
visible: this.chart.options.legend.enabled && false !== t.visible
|
|
@@ -330,7 +330,7 @@ function requireHeatmap() {
|
|
|
330
330
|
width: s,
|
|
331
331
|
height: i
|
|
332
332
|
} = this.getSize();
|
|
333
|
-
e && (this.left = +e.attr("x"), this.top = +e.attr("y"), this.width = s = +e.attr("width"), this.height = i = +e.attr("height"), this.right = t.chartWidth - this.left - s, this.bottom = t.chartHeight - this.top - i, this.pos = this.horiz ? this.left : this.top), this.len = (this.horiz ? s : i) ||
|
|
333
|
+
e && (this.left = +e.attr("x"), this.top = +e.attr("y"), this.width = s = +e.attr("width"), this.height = i = +e.attr("height"), this.right = t.chartWidth - this.left - s, this.bottom = t.chartHeight - this.top - i, this.pos = this.horiz ? this.left : this.top), this.len = (this.horiz ? s : i) || F.defaultLegendLength;
|
|
334
334
|
}
|
|
335
335
|
getOffset() {
|
|
336
336
|
let t = this.legendItem?.group,
|
|
@@ -339,7 +339,7 @@ function requireHeatmap() {
|
|
|
339
339
|
this.axisParent = t, super.getOffset();
|
|
340
340
|
let s = this.chart.legend;
|
|
341
341
|
s.allItems.forEach(function (t) {
|
|
342
|
-
t instanceof
|
|
342
|
+
t instanceof F && t.drawLegendSymbol(s, t);
|
|
343
343
|
}), s.render(), this.chart.getMargins(true), this.chart.series.some(t => t.isDrilling) || (this.isDirty = true), this.added || (this.added = true), this.labelLeft = 0, this.labelRight = this.width, this.chart.axisOffset[this.side] = e;
|
|
344
344
|
}
|
|
345
345
|
}
|
|
@@ -364,13 +364,13 @@ function requireHeatmap() {
|
|
|
364
364
|
i = t.padding,
|
|
365
365
|
o = t.options,
|
|
366
366
|
r = this.options.labels,
|
|
367
|
-
|
|
368
|
-
|
|
367
|
+
a = X(o.itemDistance, 10),
|
|
368
|
+
l = this.horiz,
|
|
369
369
|
{
|
|
370
370
|
width: n,
|
|
371
371
|
height: h
|
|
372
372
|
} = this.getSize(),
|
|
373
|
-
d =
|
|
373
|
+
d = X(o.labelPadding, l ? 16 : 30);
|
|
374
374
|
this.setLegendColor(), s.symbol || (s.symbol = this.chart.renderer.symbol("roundedRect").attr({
|
|
375
375
|
r: o.symbolRadius ?? 3,
|
|
376
376
|
zIndex: 1
|
|
@@ -379,7 +379,7 @@ function requireHeatmap() {
|
|
|
379
379
|
y: (t.baseline || 0) - 11,
|
|
380
380
|
width: n,
|
|
381
381
|
height: h
|
|
382
|
-
}), s.labelWidth = n + i + (
|
|
382
|
+
}), s.labelWidth = n + i + (l ? a : X(r.x, r.distance) + (this.maxLabelLength || 0)), s.labelHeight = h + i + (l ? d : 0);
|
|
383
383
|
}
|
|
384
384
|
setState(t) {
|
|
385
385
|
this.series.forEach(function (e) {
|
|
@@ -395,12 +395,12 @@ function requireHeatmap() {
|
|
|
395
395
|
o,
|
|
396
396
|
r = t.length;
|
|
397
397
|
for (this.dataMin = 1 / 0, this.dataMax = -1 / 0; r--;) {
|
|
398
|
-
for (let
|
|
398
|
+
for (let a of (s = (o = t[r]).colorKey = X(o.options.colorKey, o.colorKey, o.pointValKey, o.zoneAxis, "y"), i = o[s + "Min"] && o[s + "Max"], [s, "value", "y"])) if ((e = o.getColumn(a)).length) break;
|
|
399
399
|
if (i) o.minColorValue = o[s + "Min"], o.maxColorValue = o[s + "Max"];else {
|
|
400
|
-
let t =
|
|
400
|
+
let t = z.prototype.getExtremes.call(o, e);
|
|
401
401
|
o.minColorValue = t.dataMin, o.maxColorValue = t.dataMax;
|
|
402
402
|
}
|
|
403
|
-
|
|
403
|
+
R(o.minColorValue) && R(o.maxColorValue) && (this.dataMin = Math.min(this.dataMin, o.minColorValue), this.dataMax = Math.max(this.dataMax, o.maxColorValue)), i || z.prototype.applyExtremes.call(o);
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
406
|
drawCrosshair(t, e) {
|
|
@@ -408,9 +408,9 @@ function requireHeatmap() {
|
|
|
408
408
|
i = this.legendItem || {},
|
|
409
409
|
o = e?.plotX,
|
|
410
410
|
r = e?.plotY,
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
e && ((s = this.toPixels(e.getNestedProperty(e.series.colorKey))) <
|
|
411
|
+
a = this.pos,
|
|
412
|
+
l = this.len;
|
|
413
|
+
e && ((s = this.toPixels(e.getNestedProperty(e.series.colorKey))) < a ? s = a - 2 : s > a + l && (s = a + l + 2), e.plotX = s, e.plotY = this.len - s, super.drawCrosshair(t, e), e.plotX = o, e.plotY = r, this.cross && !this.cross.addedToColorAxis && i.group && (this.cross.addClass("highcharts-coloraxis-marker").add(i.group), this.cross.addedToColorAxis = true, this.chart.styledMode || "object" != typeof this.crosshair || this.cross.attr({
|
|
414
414
|
fill: this.crosshair.color
|
|
415
415
|
})));
|
|
416
416
|
}
|
|
@@ -418,7 +418,7 @@ function requireHeatmap() {
|
|
|
418
418
|
let e = this.left,
|
|
419
419
|
s = t.translatedValue,
|
|
420
420
|
i = this.top;
|
|
421
|
-
return
|
|
421
|
+
return N(s) ? this.horiz ? [["M", s - 4, i - 6], ["L", s + 4, i - 6], ["L", s, i], ["Z"]] : [["M", e, s], ["L", e - 6, s + 6], ["L", e - 6, s - 6], ["Z"]] : super.getPlotLinePath(t);
|
|
422
422
|
}
|
|
423
423
|
update(t, e) {
|
|
424
424
|
let s = this.chart.legend;
|
|
@@ -444,9 +444,9 @@ function requireHeatmap() {
|
|
|
444
444
|
s = e.chart,
|
|
445
445
|
i = e.legendItem && e.legendItem.labels || [],
|
|
446
446
|
o = s.options.legend,
|
|
447
|
-
r =
|
|
448
|
-
|
|
449
|
-
|
|
447
|
+
r = X(o.valueDecimals, -1),
|
|
448
|
+
a = X(o.valueSuffix, ""),
|
|
449
|
+
l = t => e.series.reduce((e, s) => (e.push(...s.points.filter(e => e.dataClass === t)), e), []);
|
|
450
450
|
return i.length || e.dataClasses.forEach((o, n) => {
|
|
451
451
|
let h = o.from,
|
|
452
452
|
d = o.to,
|
|
@@ -454,22 +454,22 @@ function requireHeatmap() {
|
|
|
454
454
|
numberFormatter: p
|
|
455
455
|
} = s,
|
|
456
456
|
c = true;
|
|
457
|
-
t = "", void 0 === h ? t = "< " : void 0 === d && (t = "> "), void 0 !== h && (t += p(h, r) +
|
|
457
|
+
t = "", void 0 === h ? t = "< " : void 0 === d && (t = "> "), void 0 !== h && (t += p(h, r) + a), void 0 !== h && void 0 !== d && (t += " - "), void 0 !== d && (t += p(d, r) + a), i.push(G({
|
|
458
458
|
chart: s,
|
|
459
459
|
name: t,
|
|
460
460
|
options: {},
|
|
461
|
-
drawLegendSymbol:
|
|
461
|
+
drawLegendSymbol: E().rectangle,
|
|
462
462
|
visible: true,
|
|
463
463
|
isDataClass: true,
|
|
464
464
|
setState: t => {
|
|
465
|
-
for (let e of
|
|
465
|
+
for (let e of l(n)) e.setState(t);
|
|
466
466
|
},
|
|
467
467
|
setVisible: function () {
|
|
468
468
|
this.visible = c = e.visible = !c;
|
|
469
469
|
let t = [];
|
|
470
|
-
for (let e of
|
|
470
|
+
for (let e of l(n)) e.setVisible(c), e.hiddenInDataClass = !c, -1 === t.indexOf(e.series) && t.push(e.series);
|
|
471
471
|
s.legend.colorizeItem(this, c), t.forEach(t => {
|
|
472
|
-
|
|
472
|
+
_(t, "afterDataClassLegendClick");
|
|
473
473
|
});
|
|
474
474
|
}
|
|
475
475
|
}, o));
|
|
@@ -488,86 +488,87 @@ function requireHeatmap() {
|
|
|
488
488
|
legend: o
|
|
489
489
|
} = t.options;
|
|
490
490
|
return {
|
|
491
|
-
width:
|
|
492
|
-
height:
|
|
491
|
+
width: X(R(i) ? j(i, t.chartWidth) : void 0, o?.symbolWidth, e ? F.defaultLegendLength : 12),
|
|
492
|
+
height: X(R(s) ? j(s, t.chartHeight) : void 0, o?.symbolHeight, e ? 12 : F.defaultLegendLength)
|
|
493
493
|
};
|
|
494
494
|
}
|
|
495
495
|
}
|
|
496
|
-
|
|
497
|
-
* @license Highcharts JS v12.
|
|
496
|
+
F.defaultLegendLength = 200, F.keepProps = ["legendItem"], G(F.prototype, M), Array.prototype.push.apply(y().keepProps, F.keepProps); /**
|
|
497
|
+
* @license Highcharts JS v12.5.0 (2026-01-12)
|
|
498
498
|
* @module highcharts/modules/color-axis
|
|
499
499
|
* @requires highcharts
|
|
500
500
|
*
|
|
501
501
|
* ColorAxis module
|
|
502
502
|
*
|
|
503
|
-
* (c) 2012-
|
|
503
|
+
* (c) 2012-2026 Highsoft AS
|
|
504
|
+
* Author: Pawel Potaczek
|
|
504
505
|
*
|
|
505
|
-
*
|
|
506
|
+
* A commercial license may be required depending on use.
|
|
507
|
+
* See www.highcharts.com/license
|
|
506
508
|
*/
|
|
507
|
-
let
|
|
508
|
-
|
|
509
|
-
var
|
|
510
|
-
|
|
509
|
+
let U = f();
|
|
510
|
+
U.ColorAxis = U.ColorAxis || F, U.ColorAxis.compose(U.Chart, U.Fx, U.Legend, U.Series);
|
|
511
|
+
var Y = u(28),
|
|
512
|
+
Z = u.n(Y);
|
|
511
513
|
let {
|
|
512
514
|
column: {
|
|
513
|
-
prototype:
|
|
515
|
+
prototype: q
|
|
514
516
|
}
|
|
515
|
-
} =
|
|
517
|
+
} = H().seriesTypes,
|
|
516
518
|
{
|
|
517
|
-
addEvent:
|
|
518
|
-
defined:
|
|
519
|
-
} =
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
let B = h,
|
|
519
|
+
addEvent: $,
|
|
520
|
+
defined: B
|
|
521
|
+
} = f();
|
|
522
|
+
var J = d || (d = {});
|
|
523
|
+
function Q(t) {
|
|
524
|
+
let e = this.series,
|
|
525
|
+
s = e.chart.renderer;
|
|
526
|
+
this.moveToTopOnHover && this.graphic && (e.stateMarkerGraphic || (e.stateMarkerGraphic = new (Z())(s, "use").css({
|
|
527
|
+
pointerEvents: "none"
|
|
528
|
+
}).add(this.graphic.parentGroup)), t?.state === "hover" ? (this.graphic.attr({
|
|
529
|
+
id: this.id
|
|
530
|
+
}), e.stateMarkerGraphic.attr({
|
|
531
|
+
href: `${s.url}#${this.id}`,
|
|
532
|
+
visibility: "visible"
|
|
533
|
+
})) : e.stateMarkerGraphic.attr({
|
|
534
|
+
href: ""
|
|
535
|
+
}));
|
|
536
|
+
}
|
|
537
|
+
J.pointMembers = {
|
|
538
|
+
dataLabelOnNull: true,
|
|
539
|
+
moveToTopOnHover: true,
|
|
540
|
+
isValid: function () {
|
|
541
|
+
return null !== this.value && this.value !== 1 / 0 && this.value !== -1 / 0 && (void 0 === this.value || !isNaN(this.value));
|
|
542
|
+
}
|
|
543
|
+
}, J.seriesMembers = {
|
|
544
|
+
colorKey: "value",
|
|
545
|
+
axisTypes: ["xAxis", "yAxis", "colorAxis"],
|
|
546
|
+
parallelArrays: ["x", "y", "value"],
|
|
547
|
+
pointArrayMap: ["value"],
|
|
548
|
+
trackerGroups: ["group", "markerGroup", "dataLabelsGroup"],
|
|
549
|
+
colorAttribs: function (t) {
|
|
550
|
+
let e = {};
|
|
551
|
+
return B(t.color) && (!t.state || "normal" === t.state) && (e[this.colorProp || "fill"] = t.color), e;
|
|
552
|
+
},
|
|
553
|
+
pointAttribs: q.pointAttribs
|
|
554
|
+
}, J.compose = function (t) {
|
|
555
|
+
return $(t.prototype.pointClass, "afterSetState", Q), t;
|
|
556
|
+
};
|
|
557
|
+
let tt = d,
|
|
557
558
|
{
|
|
558
559
|
scatter: {
|
|
559
560
|
prototype: {
|
|
560
|
-
pointClass:
|
|
561
|
+
pointClass: te
|
|
561
562
|
}
|
|
562
563
|
}
|
|
563
|
-
} =
|
|
564
|
+
} = H().seriesTypes,
|
|
564
565
|
{
|
|
565
|
-
clamp:
|
|
566
|
-
defined:
|
|
567
|
-
extend:
|
|
568
|
-
pick:
|
|
569
|
-
} =
|
|
570
|
-
class
|
|
566
|
+
clamp: ts,
|
|
567
|
+
defined: ti,
|
|
568
|
+
extend: to,
|
|
569
|
+
pick: tr
|
|
570
|
+
} = f();
|
|
571
|
+
class ta extends te {
|
|
571
572
|
applyOptions(t, e) {
|
|
572
573
|
return (this.isNull || null === this.value) && delete this.color, super.applyOptions(t, e), this.formatPrefix = this.isNull || null === this.value ? "null" : "point", this;
|
|
573
574
|
}
|
|
@@ -578,29 +579,29 @@ function requireHeatmap() {
|
|
|
578
579
|
i = (e.rowsize || 1) / 2,
|
|
579
580
|
o = t.xAxis,
|
|
580
581
|
r = t.yAxis,
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
n =
|
|
582
|
+
a = this.options.marker || t.options.marker,
|
|
583
|
+
l = t.pointPlacementToXValue(),
|
|
584
|
+
n = tr(this.pointPadding, e.pointPadding, 0),
|
|
584
585
|
h = {
|
|
585
|
-
x1:
|
|
586
|
-
x2:
|
|
587
|
-
y1:
|
|
588
|
-
y2:
|
|
586
|
+
x1: ts(Math.round(o.len - o.translate(this.x - s, false, true, false, true, -l)), -o.len, 2 * o.len),
|
|
587
|
+
x2: ts(Math.round(o.len - o.translate(this.x + s, false, true, false, true, -l)), -o.len, 2 * o.len),
|
|
588
|
+
y1: ts(Math.round(r.translate(this.y - i, false, true, false, true)), -r.len, 2 * r.len),
|
|
589
|
+
y2: ts(Math.round(r.translate(this.y + i, false, true, false, true)), -r.len, 2 * r.len)
|
|
589
590
|
};
|
|
590
591
|
for (let t of [["width", "x"], ["height", "y"]]) {
|
|
591
592
|
let e = t[0],
|
|
592
593
|
s = t[1],
|
|
593
594
|
i = s + "1",
|
|
594
|
-
|
|
595
|
-
d = Math.abs(h[i] - h[
|
|
596
|
-
p =
|
|
597
|
-
c = Math.abs(h[i] + h[
|
|
598
|
-
u =
|
|
599
|
-
if (
|
|
595
|
+
l = s + "2",
|
|
596
|
+
d = Math.abs(h[i] - h[l]),
|
|
597
|
+
p = a && a.lineWidth || 0,
|
|
598
|
+
c = Math.abs(h[i] + h[l]) / 2,
|
|
599
|
+
u = a && a[e];
|
|
600
|
+
if (ti(u) && u < d) {
|
|
600
601
|
let t = u / 2 + p / 2;
|
|
601
|
-
h[i] = c - t, h[
|
|
602
|
+
h[i] = c - t, h[l] = c + t;
|
|
602
603
|
}
|
|
603
|
-
n && (("x" === s && o.reversed || "y" === s && !r.reversed) && (i =
|
|
604
|
+
n && (("x" === s && o.reversed || "y" === s && !r.reversed) && (i = l, l = s + "1"), h[i] += n, h[l] -= n);
|
|
604
605
|
}
|
|
605
606
|
return h;
|
|
606
607
|
}
|
|
@@ -618,52 +619,52 @@ function requireHeatmap() {
|
|
|
618
619
|
return this.value !== 1 / 0 && this.value !== -1 / 0;
|
|
619
620
|
}
|
|
620
621
|
}
|
|
621
|
-
|
|
622
|
+
to(ta.prototype, {
|
|
622
623
|
dataLabelOnNull: true,
|
|
623
624
|
moveToTopOnHover: true,
|
|
624
625
|
ttBelow: false
|
|
625
626
|
});
|
|
626
627
|
let {
|
|
627
|
-
isNumber:
|
|
628
|
-
} =
|
|
629
|
-
var
|
|
630
|
-
|
|
628
|
+
isNumber: tl
|
|
629
|
+
} = f();
|
|
630
|
+
var tn = u(540),
|
|
631
|
+
th = u.n(tn);
|
|
631
632
|
let {
|
|
632
|
-
doc:
|
|
633
|
-
} =
|
|
633
|
+
doc: td
|
|
634
|
+
} = f(),
|
|
634
635
|
{
|
|
635
|
-
defined:
|
|
636
|
-
pick:
|
|
637
|
-
} =
|
|
636
|
+
defined: tp,
|
|
637
|
+
pick: tc
|
|
638
|
+
} = f(),
|
|
638
639
|
{
|
|
639
|
-
series:
|
|
640
|
+
series: tu,
|
|
640
641
|
seriesTypes: {
|
|
641
|
-
column:
|
|
642
|
-
scatter:
|
|
642
|
+
column: tg,
|
|
643
|
+
scatter: tm
|
|
643
644
|
}
|
|
644
|
-
} =
|
|
645
|
+
} = H(),
|
|
645
646
|
{
|
|
646
647
|
prototype: {
|
|
647
|
-
symbols:
|
|
648
|
+
symbols: tf
|
|
648
649
|
}
|
|
649
|
-
} =
|
|
650
|
+
} = th(),
|
|
650
651
|
{
|
|
651
|
-
addEvent:
|
|
652
|
-
extend:
|
|
653
|
-
fireEvent:
|
|
654
|
-
isNumber:
|
|
655
|
-
merge:
|
|
656
|
-
pick:
|
|
657
|
-
} =
|
|
652
|
+
addEvent: tx,
|
|
653
|
+
extend: ty,
|
|
654
|
+
fireEvent: tb,
|
|
655
|
+
isNumber: tv,
|
|
656
|
+
merge: tC,
|
|
657
|
+
pick: tA
|
|
658
|
+
} = f(),
|
|
658
659
|
{
|
|
659
|
-
colorFromPoint:
|
|
660
|
-
getContext:
|
|
660
|
+
colorFromPoint: tM,
|
|
661
|
+
getContext: tw
|
|
661
662
|
} = {
|
|
662
663
|
colorFromPoint: function (t, e) {
|
|
663
664
|
let s = e.series.colorAxis;
|
|
664
665
|
if (s) {
|
|
665
|
-
let i = s.toColor(t || 0, e).split(")")[0].split("(")[1].split(",").map(t =>
|
|
666
|
-
return i[3] = 255 *
|
|
666
|
+
let i = s.toColor(t || 0, e).split(")")[0].split("(")[1].split(",").map(t => tc(parseFloat(t), parseInt(t, 10)));
|
|
667
|
+
return i[3] = 255 * tc(i[3], 1), tp(t) && e.visible || (i[3] = 0), i;
|
|
667
668
|
}
|
|
668
669
|
return [0, 0, 0, 0];
|
|
669
670
|
},
|
|
@@ -672,12 +673,12 @@ function requireHeatmap() {
|
|
|
672
673
|
canvas: e,
|
|
673
674
|
context: s
|
|
674
675
|
} = t;
|
|
675
|
-
return e && s ? (s.clearRect(0, 0, e.width, e.height), s) : (t.canvas =
|
|
676
|
+
return e && s ? (s.clearRect(0, 0, e.width, e.height), s) : (t.canvas = td.createElement("canvas"), t.context = t.canvas.getContext("2d", {
|
|
676
677
|
willReadFrequently: true
|
|
677
678
|
}) || void 0, t.context);
|
|
678
679
|
}
|
|
679
680
|
};
|
|
680
|
-
class
|
|
681
|
+
class tk extends tm {
|
|
681
682
|
constructor() {
|
|
682
683
|
super(...arguments), this.valueMax = NaN, this.valueMin = NaN, this.isDirtyCanvas = true;
|
|
683
684
|
}
|
|
@@ -695,18 +696,18 @@ function requireHeatmap() {
|
|
|
695
696
|
} = t,
|
|
696
697
|
{
|
|
697
698
|
reversed: r = false,
|
|
698
|
-
len:
|
|
699
|
+
len: a
|
|
699
700
|
} = i,
|
|
700
701
|
{
|
|
701
|
-
reversed:
|
|
702
|
+
reversed: l = false,
|
|
702
703
|
len: n
|
|
703
704
|
} = o,
|
|
704
705
|
h = {
|
|
705
|
-
width:
|
|
706
|
+
width: a,
|
|
706
707
|
height: n
|
|
707
708
|
};
|
|
708
709
|
if (!e || t.isDirtyData || t.isDirtyCanvas) {
|
|
709
|
-
let
|
|
710
|
+
let a = tw(t),
|
|
710
711
|
{
|
|
711
712
|
canvas: n,
|
|
712
713
|
options: {
|
|
@@ -719,7 +720,7 @@ function requireHeatmap() {
|
|
|
719
720
|
}
|
|
720
721
|
} = t,
|
|
721
722
|
g = s.colorAxis && s.colorAxis[0];
|
|
722
|
-
if (n &&
|
|
723
|
+
if (n && a && g) {
|
|
723
724
|
let {
|
|
724
725
|
min: g,
|
|
725
726
|
max: m
|
|
@@ -732,29 +733,29 @@ function requireHeatmap() {
|
|
|
732
733
|
b = x - f,
|
|
733
734
|
v = Math.round(y / d / 8 * 8),
|
|
734
735
|
C = Math.round(b / p / 8 * 8),
|
|
735
|
-
[A, M] = [[v, v / y, r, "ceil"], [C, C / b, !
|
|
736
|
+
[A, M] = [[v, v / y, r, "ceil"], [C, C / b, !l, "floor"]].map(([t, e, s, i]) => s ? s => Math[i](t - e * s) : t => Math[i](e * t)),
|
|
736
737
|
w = n.width = v + 1,
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
I = new Uint8ClampedArray(4 *
|
|
738
|
+
k = w * (n.height = C + 1),
|
|
739
|
+
L = (u - 1) / k,
|
|
740
|
+
I = new Uint8ClampedArray(4 * k),
|
|
740
741
|
S = (t, e) => 4 * Math.ceil(w * M(e - f) + A(t - g));
|
|
741
742
|
t.buildKDTree();
|
|
742
|
-
for (let t = 0; t <
|
|
743
|
-
let e = c[Math.ceil(
|
|
743
|
+
for (let t = 0; t < k; t++) {
|
|
744
|
+
let e = c[Math.ceil(L * t)],
|
|
744
745
|
{
|
|
745
746
|
x: s,
|
|
746
747
|
y: i
|
|
747
748
|
} = e;
|
|
748
|
-
I.set(
|
|
749
|
+
I.set(tM(e.value, e), S(s, i));
|
|
749
750
|
}
|
|
750
|
-
|
|
751
|
+
a.putImageData(new ImageData(I, w), 0, 0), e ? e.attr({
|
|
751
752
|
...h,
|
|
752
753
|
href: n.toDataURL("image/png", 1)
|
|
753
754
|
}) : (t.directTouch = false, t.image = s.renderer.image(n.toDataURL("image/png", 1)).attr(h).add(t.group));
|
|
754
755
|
}
|
|
755
756
|
t.isDirtyCanvas = false;
|
|
756
|
-
} else (e.width !==
|
|
757
|
-
} else (i.enabled || t._hasPointMarkers) && (
|
|
757
|
+
} else (e.width !== a || e.height !== n) && e.attr(h);
|
|
758
|
+
} else (i.enabled || t._hasPointMarkers) && (tu.prototype.drawPoints.call(t), t.points.forEach(e => {
|
|
758
759
|
e.graphic && (e.graphic[t.chart.styledMode ? "css" : "animate"](t.colorAttribs(e)), null === e.value && e.graphic.addClass("highcharts-null-point"));
|
|
759
760
|
}));
|
|
760
761
|
}
|
|
@@ -762,11 +763,11 @@ function requireHeatmap() {
|
|
|
762
763
|
let {
|
|
763
764
|
dataMin: t,
|
|
764
765
|
dataMax: e
|
|
765
|
-
} =
|
|
766
|
-
return
|
|
766
|
+
} = tu.prototype.getExtremes.call(this, this.getColumn("value"));
|
|
767
|
+
return tv(t) && (this.valueMin = t), tv(e) && (this.valueMax = e), tu.prototype.getExtremes.call(this);
|
|
767
768
|
}
|
|
768
769
|
getValidPoints(t, e) {
|
|
769
|
-
return
|
|
770
|
+
return tu.prototype.getValidPoints.call(this, t, e, true);
|
|
770
771
|
}
|
|
771
772
|
hasData() {
|
|
772
773
|
return !!this.dataTable.rowCount;
|
|
@@ -774,7 +775,7 @@ function requireHeatmap() {
|
|
|
774
775
|
init() {
|
|
775
776
|
super.init.apply(this, arguments);
|
|
776
777
|
let t = this.options;
|
|
777
|
-
t.pointRange =
|
|
778
|
+
t.pointRange = tA(t.pointRange, t.colsize || 1), this.yAxis.axisPointRange = t.rowsize || 1, tf.ellipse = tf.circle, t.marker && tv(t.borderRadius) && (t.marker.r = t.borderRadius);
|
|
778
779
|
}
|
|
779
780
|
markerAttribs(t, e) {
|
|
780
781
|
let s = t.shapeArgs || {};
|
|
@@ -786,29 +787,29 @@ function requireHeatmap() {
|
|
|
786
787
|
let i = t.options.marker || {},
|
|
787
788
|
o = this.options.marker || {},
|
|
788
789
|
r = o.states?.[e] || {},
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
n = (
|
|
790
|
+
a = i.states?.[e] || {},
|
|
791
|
+
l = (a.width || r.width || s.width || 0) + (a.widthPlus || r.widthPlus || 0),
|
|
792
|
+
n = (a.height || r.height || s.height || 0) + (a.heightPlus || r.heightPlus || 0);
|
|
792
793
|
return {
|
|
793
|
-
x: (s.x || 0) + ((s.width || 0) -
|
|
794
|
+
x: (s.x || 0) + ((s.width || 0) - l) / 2,
|
|
794
795
|
y: (s.y || 0) + ((s.height || 0) - n) / 2,
|
|
795
|
-
width:
|
|
796
|
+
width: l,
|
|
796
797
|
height: n
|
|
797
798
|
};
|
|
798
799
|
}
|
|
799
800
|
return s;
|
|
800
801
|
}
|
|
801
802
|
pointAttribs(t, e) {
|
|
802
|
-
let s =
|
|
803
|
+
let s = tu.prototype.pointAttribs.call(this, t, e),
|
|
803
804
|
i = this.options || {},
|
|
804
805
|
o = this.chart.options.plotOptions || {},
|
|
805
806
|
r = o.series || {},
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
n = t?.options.borderWidth || i.borderWidth ||
|
|
809
|
-
if (s.stroke = t?.marker?.lineColor || i.marker?.lineColor ||
|
|
810
|
-
let o =
|
|
811
|
-
s.fill = o.color ||
|
|
807
|
+
a = o.heatmap || {},
|
|
808
|
+
l = t?.options.borderColor || i.borderColor || a.borderColor || r.borderColor,
|
|
809
|
+
n = t?.options.borderWidth || i.borderWidth || a.borderWidth || r.borderWidth || s["stroke-width"];
|
|
810
|
+
if (s.stroke = t?.marker?.lineColor || i.marker?.lineColor || l || this.color, s["stroke-width"] = n, e && "normal" !== e) {
|
|
811
|
+
let o = tC(i.states?.[e], i.marker?.states?.[e], t?.options.marker?.states?.[e] || {});
|
|
812
|
+
s.fill = o.color || v().parse(s.fill).brighten(o.brightness || 0).get(), s.stroke = o.lineColor || s.stroke;
|
|
812
813
|
}
|
|
813
814
|
return s;
|
|
814
815
|
}
|
|
@@ -818,36 +819,36 @@ function requireHeatmap() {
|
|
|
818
819
|
marker: e
|
|
819
820
|
} = this.options,
|
|
820
821
|
s = e?.symbol || "rect",
|
|
821
|
-
i =
|
|
822
|
+
i = tf[s] ? s : "rect",
|
|
822
823
|
o = -1 !== ["circle", "square"].indexOf(i);
|
|
823
824
|
for (let e of (this.generatePoints(), this.points)) {
|
|
824
825
|
let r = e.getCellAttributes(),
|
|
825
|
-
|
|
826
|
-
|
|
826
|
+
a = Math.min(r.x1, r.x2),
|
|
827
|
+
l = Math.min(r.y1, r.y2),
|
|
827
828
|
n = Math.max(Math.abs(r.x2 - r.x1), 0),
|
|
828
829
|
h = Math.max(Math.abs(r.y2 - r.y1), 0);
|
|
829
830
|
if (e.hasImage = 0 === (e.marker?.symbol || s).indexOf("url"), o) {
|
|
830
831
|
let t = Math.abs(n - h);
|
|
831
|
-
|
|
832
|
+
a = Math.min(r.x1, r.x2) + (n < h ? 0 : t / 2), l = Math.min(r.y1, r.y2) + (n < h ? t / 2 : 0), n = h = Math.min(n, h);
|
|
832
833
|
}
|
|
833
834
|
e.hasImage && (e.marker = {
|
|
834
835
|
width: n,
|
|
835
836
|
height: h
|
|
836
|
-
}), e.plotX = e.clientX = (r.x1 + r.x2) / 2, e.plotY = (r.y1 + r.y2) / 2, e.shapeType = "path", e.shapeArgs =
|
|
837
|
-
x:
|
|
838
|
-
y:
|
|
837
|
+
}), e.plotX = e.clientX = (r.x1 + r.x2) / 2, e.plotY = (r.y1 + r.y2) / 2, e.shapeType = "path", e.shapeArgs = tC(true, {
|
|
838
|
+
x: a,
|
|
839
|
+
y: l,
|
|
839
840
|
width: n,
|
|
840
841
|
height: h
|
|
841
842
|
}, {
|
|
842
|
-
d:
|
|
843
|
-
r:
|
|
843
|
+
d: tf[i](a, l, n, h, {
|
|
844
|
+
r: tv(t) ? t : 0
|
|
844
845
|
})
|
|
845
846
|
});
|
|
846
847
|
}
|
|
847
|
-
|
|
848
|
+
tb(this, "afterTranslate");
|
|
848
849
|
}
|
|
849
850
|
}
|
|
850
|
-
|
|
851
|
+
tk.defaultOptions = tC(tm.defaultOptions, {
|
|
851
852
|
animation: false,
|
|
852
853
|
borderRadius: 0,
|
|
853
854
|
borderWidth: 0,
|
|
@@ -861,7 +862,7 @@ function requireHeatmap() {
|
|
|
861
862
|
{
|
|
862
863
|
value: e
|
|
863
864
|
} = this.point;
|
|
864
|
-
return
|
|
865
|
+
return tl(e) ? t(e, -1) : "";
|
|
865
866
|
},
|
|
866
867
|
inside: true,
|
|
867
868
|
verticalAlign: "middle",
|
|
@@ -892,25 +893,25 @@ function requireHeatmap() {
|
|
|
892
893
|
}
|
|
893
894
|
},
|
|
894
895
|
legendSymbol: "rectangle"
|
|
895
|
-
}),
|
|
896
|
-
this.isDirtyCanvas = true, this.drawPoints();
|
|
897
|
-
}),
|
|
898
|
-
axisTypes:
|
|
899
|
-
colorKey:
|
|
896
|
+
}), tx(tk, "afterDataClassLegendClick", function () {
|
|
897
|
+
this.isDirtyCanvas = true, this.drawPoints(), this.options.enableMouseTracking && this.drawTracker();
|
|
898
|
+
}), ty(tk.prototype, {
|
|
899
|
+
axisTypes: tt.seriesMembers.axisTypes,
|
|
900
|
+
colorKey: tt.seriesMembers.colorKey,
|
|
900
901
|
directTouch: true,
|
|
901
902
|
getExtremesFromAll: true,
|
|
902
903
|
keysAffectYAxis: ["y"],
|
|
903
|
-
parallelArrays:
|
|
904
|
+
parallelArrays: tt.seriesMembers.parallelArrays,
|
|
904
905
|
pointArrayMap: ["y", "value"],
|
|
905
|
-
pointClass:
|
|
906
|
+
pointClass: ta,
|
|
906
907
|
specialGroup: "group",
|
|
907
|
-
trackerGroups:
|
|
908
|
-
alignDataLabel:
|
|
909
|
-
colorAttribs:
|
|
910
|
-
getSymbol:
|
|
911
|
-
}),
|
|
912
|
-
let
|
|
913
|
-
return
|
|
908
|
+
trackerGroups: tt.seriesMembers.trackerGroups,
|
|
909
|
+
alignDataLabel: tg.prototype.alignDataLabel,
|
|
910
|
+
colorAttribs: tt.seriesMembers.colorAttribs,
|
|
911
|
+
getSymbol: tu.prototype.getSymbol
|
|
912
|
+
}), tt.compose(tk), H().registerSeriesType("heatmap", tk);
|
|
913
|
+
let tL = f();
|
|
914
|
+
return g.default;
|
|
914
915
|
})());
|
|
915
916
|
})(heatmap$3);
|
|
916
917
|
return heatmap$3.exports;
|