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