@progress/kendo-react-charts 7.1.0-develop.8 → 7.1.0
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/NOTICE.txt +11 -18
- package/README.md +6 -0
- package/dist/cdn/js/kendo-react-charts.js +20 -3
- package/index.d.ts +1 -0
- package/index.js +22 -5
- package/index.mjs +636 -434
- package/package.json +6 -6
- package/sankey/Sankey.d.ts +10 -0
- package/sankey/index.d.ts +7 -0
- package/sankey/propTypes.d.ts +117 -0
- package/sankey/theme-service.d.ts +9 -0
- package/sankey/types.d.ts +124 -0
package/index.mjs
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
"use client";
|
|
6
6
|
import * as n from "react";
|
|
7
|
-
import
|
|
8
|
-
import { provideIntlService as
|
|
9
|
-
import { chartBaseTheme as
|
|
10
|
-
import { canUseDOM as
|
|
11
|
-
import { Popup as
|
|
12
|
-
import { Breadcrumb as
|
|
13
|
-
import { homeIcon as
|
|
14
|
-
function
|
|
7
|
+
import o from "prop-types";
|
|
8
|
+
import { provideIntlService as A, registerForIntl as ue } from "@progress/kendo-react-intl";
|
|
9
|
+
import { chartBaseTheme as O, InstanceObserver as b, DomEventsBuilder as pe, Chart as me, Sparkline as N, StockChart as ve, Sankey as fe } from "@progress/kendo-charts";
|
|
10
|
+
import { canUseDOM as T, classNames as S, validatePackage as $, shouldShowValidationUI as ye, WatermarkOverlay as ge, SvgIcon as Ce } from "@progress/kendo-react-common";
|
|
11
|
+
import { Popup as be } from "@progress/kendo-react-popup";
|
|
12
|
+
import { Breadcrumb as xe } from "@progress/kendo-react-layout";
|
|
13
|
+
import { homeIcon as Se } from "@progress/kendo-svg-icons";
|
|
14
|
+
function V(t, e) {
|
|
15
15
|
let s = t;
|
|
16
16
|
for (; s && s !== e; )
|
|
17
17
|
s = s.parentNode;
|
|
@@ -28,19 +28,19 @@ function C(t, e, s, r) {
|
|
|
28
28
|
}
|
|
29
29
|
return null;
|
|
30
30
|
}
|
|
31
|
-
const
|
|
31
|
+
const L = (t) => t === void 0 ? !1 : !t, Ee = (t) => ({
|
|
32
32
|
x: {
|
|
33
33
|
location: t.pageX
|
|
34
34
|
},
|
|
35
35
|
y: {
|
|
36
36
|
location: t.pageY
|
|
37
37
|
}
|
|
38
|
-
}),
|
|
38
|
+
}), Ie = (t, e) => {
|
|
39
39
|
const s = t.pointers, r = s[0], a = r.pageX, i = r.pageY;
|
|
40
40
|
let c = 0;
|
|
41
41
|
if (s.length > 1) {
|
|
42
|
-
const
|
|
43
|
-
c = Math.sqrt(Math.pow(
|
|
42
|
+
const h = s[0], d = s[1];
|
|
43
|
+
c = Math.sqrt(Math.pow(h.pageX - d.pageX, 2) + Math.pow(h.pageY - d.pageY, 2));
|
|
44
44
|
}
|
|
45
45
|
return {
|
|
46
46
|
distance: c,
|
|
@@ -49,7 +49,7 @@ const N = (t) => t === void 0 ? !1 : !t, ve = (t) => ({
|
|
|
49
49
|
t.preventDefault();
|
|
50
50
|
},
|
|
51
51
|
target: t.target,
|
|
52
|
-
touches: s.map(
|
|
52
|
+
touches: s.map(Ee),
|
|
53
53
|
type: t.type,
|
|
54
54
|
x: {
|
|
55
55
|
delta: e ? a - e.x.location : 0,
|
|
@@ -65,13 +65,13 @@ const N = (t) => t === void 0 ? !1 : !t, ve = (t) => ({
|
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
|
-
function
|
|
68
|
+
function ke(t, e) {
|
|
69
69
|
for (let s = 0; s < t.length; s++)
|
|
70
70
|
if (e[t[s]])
|
|
71
71
|
return !0;
|
|
72
72
|
return !1;
|
|
73
73
|
}
|
|
74
|
-
const
|
|
74
|
+
const P = [{
|
|
75
75
|
end: "panend",
|
|
76
76
|
move: "panmove",
|
|
77
77
|
start: "panstart"
|
|
@@ -84,7 +84,7 @@ const O = [{
|
|
|
84
84
|
}, {
|
|
85
85
|
tap: "tap"
|
|
86
86
|
}];
|
|
87
|
-
class
|
|
87
|
+
class we {
|
|
88
88
|
constructor(e, s) {
|
|
89
89
|
this.hammerInstance = e, this.eventHandlers = {}, this.tap = this.tap.bind(this), this.press = this.press.bind(this), this.panstart = this.panstart.bind(this), this.panmove = this.panmove.bind(this), this.panend = this.panend.bind(this), this.pinchstart = this.pinchstart.bind(this), this.pinchmove = this.pinchmove.bind(this), this.pinchend = this.pinchend.bind(this), s && this.bind(s);
|
|
90
90
|
}
|
|
@@ -113,14 +113,14 @@ class ge {
|
|
|
113
113
|
this.trigger("gestureend", e);
|
|
114
114
|
}
|
|
115
115
|
trigger(e, s) {
|
|
116
|
-
const r =
|
|
116
|
+
const r = Ie(s, this.previous);
|
|
117
117
|
return this.eventHandlers[e] && this.eventHandlers[e](r), r;
|
|
118
118
|
}
|
|
119
119
|
bind(e = {}) {
|
|
120
120
|
this.unbind(), this.eventHandlers = e;
|
|
121
|
-
for (let s = 0; s <
|
|
122
|
-
const r =
|
|
123
|
-
if (
|
|
121
|
+
for (let s = 0; s < P.length; s++) {
|
|
122
|
+
const r = P[s], a = Object.keys(r);
|
|
123
|
+
if (ke(a, e))
|
|
124
124
|
for (let i = 0; i < a.length; i++) {
|
|
125
125
|
const c = r[a[i]];
|
|
126
126
|
this.hammerInstance.on(c, this[c]);
|
|
@@ -145,13 +145,13 @@ class ge {
|
|
|
145
145
|
});
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
|
-
const
|
|
149
|
-
class
|
|
148
|
+
const Te = "Hammerjs is not loaded.Solution: http://www.telerik.com/kendo-react-ui/components/charts/troubleshooting/#toc-installation";
|
|
149
|
+
class _e {
|
|
150
150
|
static create(e, s) {
|
|
151
151
|
if (typeof window != "undefined") {
|
|
152
152
|
const r = window.Hammer;
|
|
153
153
|
if (!r) {
|
|
154
|
-
process.env.NODE_ENV !== "production" && console.warn(
|
|
154
|
+
process.env.NODE_ENV !== "production" && console.warn(Te);
|
|
155
155
|
return;
|
|
156
156
|
}
|
|
157
157
|
const a = new r(e, {
|
|
@@ -162,7 +162,7 @@ class xe {
|
|
|
162
162
|
[r.Press, { time: 0 }]
|
|
163
163
|
]
|
|
164
164
|
});
|
|
165
|
-
return new
|
|
165
|
+
return new we(a, s);
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
}
|
|
@@ -174,7 +174,7 @@ class v {
|
|
|
174
174
|
this.target = e;
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
|
-
class
|
|
177
|
+
class De extends v {
|
|
178
178
|
/**
|
|
179
179
|
* @hidden
|
|
180
180
|
*/
|
|
@@ -203,7 +203,7 @@ class f extends v {
|
|
|
203
203
|
return this.prevented;
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
-
class
|
|
206
|
+
class Ae extends f {
|
|
207
207
|
/**
|
|
208
208
|
* @hidden
|
|
209
209
|
*/
|
|
@@ -211,7 +211,7 @@ class Se extends f {
|
|
|
211
211
|
super(s), this.axisRanges = e.axisRanges, this.nativeEvent = e.originalEvent;
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
class
|
|
214
|
+
class Oe extends v {
|
|
215
215
|
/**
|
|
216
216
|
* @hidden
|
|
217
217
|
*/
|
|
@@ -219,7 +219,7 @@ class Ee extends v {
|
|
|
219
219
|
super(s), this.axisRanges = e.axisRanges, this.nativeEvent = e.originalEvent;
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
|
-
class
|
|
222
|
+
class Ne extends f {
|
|
223
223
|
/**
|
|
224
224
|
* @hidden
|
|
225
225
|
*/
|
|
@@ -227,7 +227,7 @@ class Ie extends f {
|
|
|
227
227
|
super(s), this.axisRanges = e.axisRanges, this.nativeEvent = e.originalEvent;
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
|
-
class
|
|
230
|
+
class j extends v {
|
|
231
231
|
/**
|
|
232
232
|
* @hidden
|
|
233
233
|
*/
|
|
@@ -235,7 +235,7 @@ class V extends v {
|
|
|
235
235
|
super(s), this.value = e.value, this.point = e.point, this.series = e.series, this.currentState = e.currentState, this.nextState = e.nextState;
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
|
-
class
|
|
238
|
+
class Le extends f {
|
|
239
239
|
/**
|
|
240
240
|
* @hidden
|
|
241
241
|
*/
|
|
@@ -249,7 +249,7 @@ class _e extends f {
|
|
|
249
249
|
super.preventDefault();
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
|
-
class
|
|
252
|
+
class Pe extends f {
|
|
253
253
|
/**
|
|
254
254
|
* @hidden
|
|
255
255
|
*/
|
|
@@ -263,7 +263,7 @@ class we extends f {
|
|
|
263
263
|
super.preventDefault();
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
|
-
class
|
|
266
|
+
class Ke extends f {
|
|
267
267
|
/**
|
|
268
268
|
* @hidden
|
|
269
269
|
*/
|
|
@@ -277,7 +277,7 @@ class ke extends f {
|
|
|
277
277
|
super.preventDefault();
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
|
-
class
|
|
280
|
+
class Re extends v {
|
|
281
281
|
/**
|
|
282
282
|
* Constructs the event arguments from a raw object.
|
|
283
283
|
*/
|
|
@@ -285,7 +285,7 @@ class De extends v {
|
|
|
285
285
|
super(s), this.from = e.from, this.to = e.to;
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
|
-
class
|
|
288
|
+
class Fe extends v {
|
|
289
289
|
/**
|
|
290
290
|
* @hidden
|
|
291
291
|
*/
|
|
@@ -293,7 +293,7 @@ class Te extends v {
|
|
|
293
293
|
super(s), this.category = e.category, this.dataItem = e.dataItem, this.series = e.series, this.value = e.value, this.visual = e.visual;
|
|
294
294
|
}
|
|
295
295
|
}
|
|
296
|
-
class
|
|
296
|
+
class He extends v {
|
|
297
297
|
/**
|
|
298
298
|
* @hidden
|
|
299
299
|
*/
|
|
@@ -301,7 +301,7 @@ class Ae extends v {
|
|
|
301
301
|
super(s), this.category = e.category, this.dataItem = e.dataItem, this.series = e.series, this.value = e.value, this.visual = e.visual;
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
-
class
|
|
304
|
+
class Me extends v {
|
|
305
305
|
/**
|
|
306
306
|
* @hidden
|
|
307
307
|
*/
|
|
@@ -309,7 +309,7 @@ class Ne extends v {
|
|
|
309
309
|
super(s), this.category = e.category, this.nativeEvent = e.originalEvent, this.value = e.value, this.x = e.x, this.y = e.y;
|
|
310
310
|
}
|
|
311
311
|
}
|
|
312
|
-
class
|
|
312
|
+
class $e extends v {
|
|
313
313
|
/**
|
|
314
314
|
* @hidden
|
|
315
315
|
*/
|
|
@@ -317,7 +317,7 @@ class Oe extends v {
|
|
|
317
317
|
super(s), this.category = e.category, this.nativeEvent = e.originalEvent, this.value = e.value, this.x = e.x, this.y = e.y;
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
|
-
class
|
|
320
|
+
class Ve extends v {
|
|
321
321
|
/**
|
|
322
322
|
* @hidden
|
|
323
323
|
*/
|
|
@@ -325,7 +325,7 @@ class Ke extends v {
|
|
|
325
325
|
super(s);
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
-
class
|
|
328
|
+
class je extends f {
|
|
329
329
|
/**
|
|
330
330
|
* @hidden
|
|
331
331
|
*/
|
|
@@ -333,7 +333,7 @@ class Le extends f {
|
|
|
333
333
|
super(s), this.axis = e.axis, this.from = e.from, this.to = e.to;
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
-
class
|
|
336
|
+
class Be extends v {
|
|
337
337
|
/**
|
|
338
338
|
* @hidden
|
|
339
339
|
*/
|
|
@@ -341,7 +341,7 @@ class Pe extends v {
|
|
|
341
341
|
super(s), this.axis = e.axis, this.from = e.from, this.to = e.to;
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
class
|
|
344
|
+
class qe extends f {
|
|
345
345
|
/**
|
|
346
346
|
* @hidden
|
|
347
347
|
*/
|
|
@@ -349,7 +349,7 @@ class Re extends f {
|
|
|
349
349
|
super(s), this.axis = e.axis, this.from = e.from, this.to = e.to;
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
|
-
class
|
|
352
|
+
class Ue extends v {
|
|
353
353
|
// tslint:enable:max-line-length
|
|
354
354
|
/**
|
|
355
355
|
* @hidden
|
|
@@ -358,7 +358,7 @@ class Fe extends v {
|
|
|
358
358
|
super(s), this.category = e.category, this.dataItem = e.dataItem, this.nativeEvent = e.originalEvent, this.percentage = e.percentage, this.point = e.point, this.series = e.series, this.stackValue = e.stackValue, this.value = e.value;
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
class
|
|
361
|
+
class ze extends f {
|
|
362
362
|
/**
|
|
363
363
|
* @hidden
|
|
364
364
|
*/
|
|
@@ -366,7 +366,7 @@ class Me extends f {
|
|
|
366
366
|
super(s), this.category = e.category, this.categoryPoints = e.categoryPoints, this.dataItem = e.dataItem, this.nativeEvent = e.originalEvent, this.percentage = e.percentage, this.point = e.point, this.series = e.series, this.stackValue = e.stackValue, this.value = e.value;
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
|
-
class
|
|
369
|
+
class We extends f {
|
|
370
370
|
// tslint:enable:max-line-length
|
|
371
371
|
/**
|
|
372
372
|
* @hidden
|
|
@@ -375,7 +375,7 @@ class He extends f {
|
|
|
375
375
|
super(s), this.axisRanges = e.axisRanges, this.delta = e.delta, this.nativeEvent = e.originalEvent;
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
|
-
class
|
|
378
|
+
class Xe extends v {
|
|
379
379
|
// tslint:enable:max-line-length
|
|
380
380
|
/**
|
|
381
381
|
* @hidden
|
|
@@ -384,7 +384,7 @@ class Ve extends v {
|
|
|
384
384
|
super(s), this.axisRanges = e.axisRanges, this.nativeEvent = e.originalEvent;
|
|
385
385
|
}
|
|
386
386
|
}
|
|
387
|
-
class
|
|
387
|
+
class Ye extends f {
|
|
388
388
|
// tslint:enable:max-line-length
|
|
389
389
|
/**
|
|
390
390
|
* @hidden
|
|
@@ -394,34 +394,34 @@ class je extends f {
|
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
396
|
const K = {
|
|
397
|
-
axisLabelClick:
|
|
398
|
-
drag:
|
|
399
|
-
dragEnd:
|
|
400
|
-
dragStart:
|
|
401
|
-
drilldownEvent:
|
|
402
|
-
legendItemHover:
|
|
403
|
-
legendItemClick:
|
|
404
|
-
legendItemLeave:
|
|
405
|
-
navigatorFilter:
|
|
406
|
-
noteClick:
|
|
407
|
-
noteHover:
|
|
408
|
-
plotAreaClick:
|
|
409
|
-
plotAreaHover:
|
|
410
|
-
render:
|
|
411
|
-
select:
|
|
412
|
-
selectEnd:
|
|
413
|
-
selectStart:
|
|
414
|
-
seriesClick:
|
|
415
|
-
seriesHover:
|
|
416
|
-
zoom:
|
|
417
|
-
zoomEnd:
|
|
418
|
-
zoomStart:
|
|
397
|
+
axisLabelClick: De,
|
|
398
|
+
drag: Ae,
|
|
399
|
+
dragEnd: Oe,
|
|
400
|
+
dragStart: Ne,
|
|
401
|
+
drilldownEvent: j,
|
|
402
|
+
legendItemHover: Le,
|
|
403
|
+
legendItemClick: Pe,
|
|
404
|
+
legendItemLeave: Ke,
|
|
405
|
+
navigatorFilter: Re,
|
|
406
|
+
noteClick: Fe,
|
|
407
|
+
noteHover: He,
|
|
408
|
+
plotAreaClick: Me,
|
|
409
|
+
plotAreaHover: $e,
|
|
410
|
+
render: Ve,
|
|
411
|
+
select: je,
|
|
412
|
+
selectEnd: Be,
|
|
413
|
+
selectStart: qe,
|
|
414
|
+
seriesClick: Ue,
|
|
415
|
+
seriesHover: ze,
|
|
416
|
+
zoom: We,
|
|
417
|
+
zoomEnd: Xe,
|
|
418
|
+
zoomStart: Ye
|
|
419
419
|
};
|
|
420
|
-
function
|
|
420
|
+
function Ge(t, e, s) {
|
|
421
421
|
if (K[t])
|
|
422
422
|
return new K[t](e, s);
|
|
423
423
|
}
|
|
424
|
-
class
|
|
424
|
+
class Ze {
|
|
425
425
|
/**
|
|
426
426
|
* @hidden
|
|
427
427
|
*/
|
|
@@ -429,16 +429,16 @@ class Ue {
|
|
|
429
429
|
this.sender = e, this.syntheticEvent = s;
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
|
-
function
|
|
433
|
-
return new
|
|
432
|
+
function B(t, e) {
|
|
433
|
+
return new Ze(t, e);
|
|
434
434
|
}
|
|
435
|
-
const E = (t) => `${t.fontWeight} ${t.fontSize} ${t.fontFamily}`,
|
|
435
|
+
const E = (t) => `${t.fontWeight} ${t.fontSize} ${t.fontFamily}`, R = (t) => window.getComputedStyle(t).backgroundColor, Je = (t) => t.toLowerCase().charCodeAt(0) - "a".charCodeAt(0), Qe = (t) => {
|
|
436
436
|
const e = t.match(/series-([a-z])$/);
|
|
437
437
|
if (e !== null)
|
|
438
|
-
return
|
|
438
|
+
return Je(e[1]);
|
|
439
439
|
const s = t.split("--series-")[1];
|
|
440
440
|
return parseInt(s, 10) - 1;
|
|
441
|
-
},
|
|
441
|
+
}, et = 30, tt = () => {
|
|
442
442
|
let t = `
|
|
443
443
|
<div class="k-var--series-a"></div>
|
|
444
444
|
<div class="k-var--series-b"></div>
|
|
@@ -447,11 +447,11 @@ const E = (t) => `${t.fontWeight} ${t.fontSize} ${t.fontFamily}`, L = (t) => win
|
|
|
447
447
|
<div class="k-var--series-e"></div>
|
|
448
448
|
<div class="k-var--series-f"></div>
|
|
449
449
|
`;
|
|
450
|
-
for (let e = 0; e <
|
|
450
|
+
for (let e = 0; e < et; e++)
|
|
451
451
|
t += `
|
|
452
452
|
<div class="k-var--series-${e + 1}"></div>`;
|
|
453
453
|
return t;
|
|
454
|
-
},
|
|
454
|
+
}, st = `
|
|
455
455
|
<div class="k-var--primary"></div>
|
|
456
456
|
<div class="k-var--base"></div>
|
|
457
457
|
<div class="k-var--background"></div>
|
|
@@ -484,10 +484,10 @@ const E = (t) => `${t.fontWeight} ${t.fontSize} ${t.fontFamily}`, L = (t) => win
|
|
|
484
484
|
|
|
485
485
|
<div class="k-var--series-unset"></div>
|
|
486
486
|
<div class="k-var--series">
|
|
487
|
-
${
|
|
487
|
+
${tt()}
|
|
488
488
|
</div>
|
|
489
489
|
`;
|
|
490
|
-
class
|
|
490
|
+
let rt = class {
|
|
491
491
|
constructor(e) {
|
|
492
492
|
this.store = e;
|
|
493
493
|
}
|
|
@@ -504,10 +504,10 @@ class qe {
|
|
|
504
504
|
this.setStyle("axisDefaults.labels.font", a), this.setStyle("axisDefaults.notes.label.font", e), this.setStyle("axisDefaults.title.font", e), this.setStyle("legend.labels.font", e), this.setStyle("seriesDefaults.labels.font", a), this.setStyle("seriesDefaults.notes.label.font", e), this.setStyle("title.font", s), this.setStyle("subtitle.font", r), this.setStyle("paneDefaults.title.font", r);
|
|
505
505
|
}
|
|
506
506
|
setSeriesColors() {
|
|
507
|
-
const e = this.element, s = [].slice.call(e.querySelectorAll(".k-var--series div")), r =
|
|
507
|
+
const e = this.element, s = [].slice.call(e.querySelectorAll(".k-var--series div")), r = R(e.querySelector(".k-var--series-unset")), a = s.reduce(
|
|
508
508
|
(i, c) => {
|
|
509
|
-
const
|
|
510
|
-
return
|
|
509
|
+
const h = Qe(c.className), d = R(c);
|
|
510
|
+
return d !== r && (i[h] = d), i;
|
|
511
511
|
},
|
|
512
512
|
[]
|
|
513
513
|
// Will populate the series colors in this array
|
|
@@ -527,31 +527,31 @@ class qe {
|
|
|
527
527
|
(a) => this.setStyle(`seriesDefaults.${a}.highlight.inactiveOpacity`, r)
|
|
528
528
|
);
|
|
529
529
|
}
|
|
530
|
-
}
|
|
531
|
-
const
|
|
532
|
-
const r = new
|
|
530
|
+
};
|
|
531
|
+
const nt = (t, e, s) => {
|
|
532
|
+
const r = new rt(t);
|
|
533
533
|
if (typeof s == "undefined") {
|
|
534
|
-
t.dispatch({ type: "push", payload:
|
|
534
|
+
t.dispatch({ type: "push", payload: O() });
|
|
535
535
|
return;
|
|
536
536
|
}
|
|
537
537
|
const a = r.element = s.createElement("div");
|
|
538
|
-
a.style.display = "none", a.innerHTML =
|
|
538
|
+
a.style.display = "none", a.innerHTML = st, s.body.appendChild(a);
|
|
539
539
|
try {
|
|
540
|
-
t.dispatch({ type: "push", payload:
|
|
540
|
+
t.dispatch({ type: "push", payload: O() }), r.setColors(), r.setFonts(), r.setSeriesColors();
|
|
541
541
|
} finally {
|
|
542
542
|
s.body.removeChild(r.element), delete r.element, e();
|
|
543
543
|
}
|
|
544
|
-
},
|
|
544
|
+
}, at = 1e3 / 60, it = (t) => {
|
|
545
545
|
let e, s, r = [];
|
|
546
|
-
const a = () => e, i = (
|
|
547
|
-
e = t(e,
|
|
548
|
-
}, c = (
|
|
546
|
+
const a = () => e, i = (h) => {
|
|
547
|
+
e = t(e, h), T && (window.clearTimeout(s), s = window.setTimeout(() => r.forEach((d) => d()), at));
|
|
548
|
+
}, c = (h) => (r.push(h), () => r = r.filter((d) => d !== h));
|
|
549
549
|
return i({}), { getState: a, dispatch: i, subscribe: c };
|
|
550
|
-
}, I =
|
|
550
|
+
}, I = it, q = (t, e) => e.chartCollectionIdxKey ? k.collectionConfigurationItem(t, e) : e.chartKey ? k.configurationItem(t, e) : {}, ot = (t, e) => {
|
|
551
551
|
if (e.type)
|
|
552
552
|
switch (e.type) {
|
|
553
553
|
case "set":
|
|
554
|
-
return
|
|
554
|
+
return k.themeItem(t, e);
|
|
555
555
|
case "push":
|
|
556
556
|
return Object.assign(t, e.payload);
|
|
557
557
|
default:
|
|
@@ -559,7 +559,7 @@ const Ge = (t, e, s) => {
|
|
|
559
559
|
}
|
|
560
560
|
else
|
|
561
561
|
return {};
|
|
562
|
-
},
|
|
562
|
+
}, lt = (t, e) => {
|
|
563
563
|
if (e.type)
|
|
564
564
|
switch (e.type) {
|
|
565
565
|
case "add":
|
|
@@ -571,7 +571,7 @@ const Ge = (t, e, s) => {
|
|
|
571
571
|
}
|
|
572
572
|
else
|
|
573
573
|
return [];
|
|
574
|
-
},
|
|
574
|
+
}, k = {
|
|
575
575
|
configurationItem(t, e) {
|
|
576
576
|
return Object.assign(t, {
|
|
577
577
|
[e.chartKey]: e.payload
|
|
@@ -579,7 +579,7 @@ const Ge = (t, e, s) => {
|
|
|
579
579
|
},
|
|
580
580
|
collectionConfigurationItem(t, e) {
|
|
581
581
|
let s = !1;
|
|
582
|
-
const [r, a] = e.chartCollectionIdxKey.split("_"), i = t[r].map((c,
|
|
582
|
+
const [r, a] = e.chartCollectionIdxKey.split("_"), i = t[r].map((c, h) => parseInt(a, 10) === h ? (s = !0, e.payload) : c);
|
|
583
583
|
return s === !1 && i.splice(parseInt(a, 10), 0, e.payload), Object.assign(t, {
|
|
584
584
|
[r]: i
|
|
585
585
|
});
|
|
@@ -587,13 +587,13 @@ const Ge = (t, e, s) => {
|
|
|
587
587
|
themeItem(t, e) {
|
|
588
588
|
let s = {}, r = Object.assign(s, t);
|
|
589
589
|
const { field: a, value: i } = e.payload, c = a.split(".");
|
|
590
|
-
let
|
|
590
|
+
let h = c.shift();
|
|
591
591
|
for (; c.length > 0; )
|
|
592
|
-
s = s[
|
|
593
|
-
return s[
|
|
592
|
+
s = s[h] = s[h] || {}, h = c.shift();
|
|
593
|
+
return s[h] = i, r;
|
|
594
594
|
}
|
|
595
595
|
};
|
|
596
|
-
class
|
|
596
|
+
class F {
|
|
597
597
|
/**
|
|
598
598
|
* @hidden
|
|
599
599
|
*/
|
|
@@ -604,31 +604,31 @@ class P {
|
|
|
604
604
|
return this.format ? this.point.formatValue(this.format) : String(this.value);
|
|
605
605
|
}
|
|
606
606
|
}
|
|
607
|
-
const
|
|
608
|
-
const { categoryText: e, colorMarker: s, colspan: r, nameColumn: a, points: i } = t, c = (
|
|
607
|
+
const ct = "k-chart-shared-tooltip-marker", ht = (t) => {
|
|
608
|
+
const { categoryText: e, colorMarker: s, colspan: r, nameColumn: a, points: i } = t, c = (h, d) => /* @__PURE__ */ n.createElement("tr", { key: d }, s && /* @__PURE__ */ n.createElement("td", null, /* @__PURE__ */ n.createElement(
|
|
609
609
|
"span",
|
|
610
610
|
{
|
|
611
|
-
className:
|
|
612
|
-
style: { backgroundColor:
|
|
611
|
+
className: ct,
|
|
612
|
+
style: { backgroundColor: h.series.color }
|
|
613
613
|
}
|
|
614
|
-
)), a && /* @__PURE__ */ n.createElement("td", null,
|
|
614
|
+
)), a && /* @__PURE__ */ n.createElement("td", null, h.series.name), /* @__PURE__ */ n.createElement("td", { dangerouslySetInnerHTML: { __html: h.formattedValue } }));
|
|
615
615
|
return /* @__PURE__ */ n.createElement("table", null, /* @__PURE__ */ n.createElement("thead", null, /* @__PURE__ */ n.createElement("tr", null, /* @__PURE__ */ n.createElement("th", { colSpan: r }, e))), /* @__PURE__ */ n.createElement("tbody", null, i.map(c)));
|
|
616
616
|
}, y = n.createContext(null);
|
|
617
617
|
y.displayName = "ChartContext";
|
|
618
|
-
const
|
|
619
|
-
class
|
|
618
|
+
const dt = { horizontal: "fit", vertical: "fit" }, ut = "k-chart-tooltip", pt = "k-chart-tooltip-wrapper";
|
|
619
|
+
class _ extends n.Component {
|
|
620
620
|
constructor(e, s) {
|
|
621
621
|
super(e, s), this.context = null, this.element = null, this.onChartMouseLeave = (r) => {
|
|
622
622
|
const { syntheticEvent: a } = r;
|
|
623
|
-
return !!
|
|
623
|
+
return !!V(a.relatedTarget, this.element);
|
|
624
624
|
}, this.onMouseLeave = (r) => {
|
|
625
|
-
const a =
|
|
625
|
+
const a = B(this, r);
|
|
626
626
|
this.context.childrenObserver.trigger("onMouseLeave", a) && r.preventDefault();
|
|
627
627
|
}, this.popupRef = (r) => {
|
|
628
628
|
this.element = r;
|
|
629
629
|
const a = r && r.closest(".k-animation-container");
|
|
630
630
|
a && (a.style.transition = "initial");
|
|
631
|
-
}, this.chartObserver = new
|
|
631
|
+
}, this.chartObserver = new b(this, {
|
|
632
632
|
onMouseLeave: "onChartMouseLeave"
|
|
633
633
|
}), s.observersStore.dispatch({
|
|
634
634
|
type: "add",
|
|
@@ -636,21 +636,21 @@ class w extends n.Component {
|
|
|
636
636
|
});
|
|
637
637
|
}
|
|
638
638
|
render() {
|
|
639
|
-
const { popupShown: e, popupAlign: s, popupOffset: r, popupStyles: a, popupContent: i, className: c } = this.props,
|
|
639
|
+
const { popupShown: e, popupAlign: s, popupOffset: r, popupStyles: a, popupContent: i, className: c } = this.props, h = [ut, c].join(" ").trim();
|
|
640
640
|
return /* @__PURE__ */ n.createElement(
|
|
641
|
-
|
|
641
|
+
be,
|
|
642
642
|
{
|
|
643
643
|
animate: !1,
|
|
644
644
|
popupAlign: s,
|
|
645
645
|
offset: r,
|
|
646
646
|
show: e,
|
|
647
|
-
collision:
|
|
648
|
-
className:
|
|
647
|
+
collision: dt,
|
|
648
|
+
className: pt
|
|
649
649
|
},
|
|
650
650
|
/* @__PURE__ */ n.createElement(
|
|
651
651
|
"div",
|
|
652
652
|
{
|
|
653
|
-
className:
|
|
653
|
+
className: h,
|
|
654
654
|
style: a,
|
|
655
655
|
onMouseLeave: this.onMouseLeave,
|
|
656
656
|
ref: this.popupRef
|
|
@@ -666,8 +666,8 @@ class w extends n.Component {
|
|
|
666
666
|
});
|
|
667
667
|
}
|
|
668
668
|
}
|
|
669
|
-
|
|
670
|
-
const
|
|
669
|
+
_.contextType = y;
|
|
670
|
+
const mt = "k-chart-shared-tooltip", vt = "k-chart-tooltip-inverse";
|
|
671
671
|
class U extends n.Component {
|
|
672
672
|
constructor() {
|
|
673
673
|
super(...arguments), this.context = null, this.state = {
|
|
@@ -675,7 +675,7 @@ class U extends n.Component {
|
|
|
675
675
|
}, this.chartObserver = null;
|
|
676
676
|
}
|
|
677
677
|
componentDidMount() {
|
|
678
|
-
this.chartObserver = new
|
|
678
|
+
this.chartObserver = new b(this, {
|
|
679
679
|
showTooltip: "onShowTooltip",
|
|
680
680
|
hideTooltip: "onHideTooltip"
|
|
681
681
|
}), this.context.observersStore.dispatch({
|
|
@@ -685,12 +685,12 @@ class U extends n.Component {
|
|
|
685
685
|
}
|
|
686
686
|
render() {
|
|
687
687
|
const { popupContext: e, shared: s, className: r, ...a } = this.state, i = this.state.popupShown ? () => {
|
|
688
|
-
const
|
|
688
|
+
const h = this.findRenderFunction();
|
|
689
689
|
if (s)
|
|
690
|
-
return
|
|
690
|
+
return h !== null ? h(e) : /* @__PURE__ */ n.createElement(ht, { ...e });
|
|
691
691
|
{
|
|
692
|
-
const
|
|
693
|
-
return
|
|
692
|
+
const d = e.point, u = this.findRenderFunctionByIndex(d.series.index);
|
|
693
|
+
return u !== null ? u(e) : h !== null ? h(e) : /* @__PURE__ */ n.createElement(
|
|
694
694
|
"span",
|
|
695
695
|
{
|
|
696
696
|
dangerouslySetInnerHTML: { __html: e.point.formattedValue }
|
|
@@ -698,11 +698,11 @@ class U extends n.Component {
|
|
|
698
698
|
);
|
|
699
699
|
}
|
|
700
700
|
} : Function.prototype, c = S({
|
|
701
|
-
[
|
|
702
|
-
[
|
|
701
|
+
[mt]: s,
|
|
702
|
+
[vt]: !!r
|
|
703
703
|
});
|
|
704
704
|
return /* @__PURE__ */ n.createElement(
|
|
705
|
-
|
|
705
|
+
_,
|
|
706
706
|
{
|
|
707
707
|
...a,
|
|
708
708
|
popupContent: i,
|
|
@@ -718,12 +718,12 @@ class U extends n.Component {
|
|
|
718
718
|
}
|
|
719
719
|
onShowTooltip(e) {
|
|
720
720
|
const { anchor: s, style: r, shared: a, className: i, crosshair: c } = e;
|
|
721
|
-
let
|
|
722
|
-
c || (a ?
|
|
721
|
+
let h;
|
|
722
|
+
c || (a ? h = this.createSharedTooltipContext(e) : h = this.createTooltipContext(e), this.setState({
|
|
723
723
|
popupShown: !0,
|
|
724
724
|
popupAlign: s.align,
|
|
725
725
|
popupOffset: s.point,
|
|
726
|
-
popupContext:
|
|
726
|
+
popupContext: h,
|
|
727
727
|
popupStyles: r,
|
|
728
728
|
className: i,
|
|
729
729
|
shared: a
|
|
@@ -737,19 +737,19 @@ class U extends n.Component {
|
|
|
737
737
|
});
|
|
738
738
|
}
|
|
739
739
|
createSharedTooltipContext(e) {
|
|
740
|
-
const { points: s, categoryText: r } = e, a = s.filter((
|
|
740
|
+
const { points: s, categoryText: r } = e, a = s.filter((h) => typeof h.series.name != "undefined").length > 0, i = e.series.length > 1;
|
|
741
741
|
let c = 1;
|
|
742
742
|
return a && c++, i && c++, {
|
|
743
743
|
categoryText: r,
|
|
744
744
|
colorMarker: i,
|
|
745
745
|
colspan: c,
|
|
746
746
|
nameColumn: a,
|
|
747
|
-
points: e.points.map((
|
|
747
|
+
points: e.points.map((h) => new F(h, e.format))
|
|
748
748
|
};
|
|
749
749
|
}
|
|
750
750
|
createTooltipContext(e) {
|
|
751
751
|
const { point: s, format: r } = e;
|
|
752
|
-
return { point: new
|
|
752
|
+
return { point: new F(s, r) };
|
|
753
753
|
}
|
|
754
754
|
findRenderFunctionByIndex(e) {
|
|
755
755
|
const s = this.context.optionsStore.getState().series;
|
|
@@ -763,12 +763,12 @@ class U extends n.Component {
|
|
|
763
763
|
U.contextType = y;
|
|
764
764
|
const z = (t) => t.children;
|
|
765
765
|
z.displayName = "Container";
|
|
766
|
-
const
|
|
767
|
-
class
|
|
766
|
+
const ft = "k-chart-crosshair-tooltip", yt = "k-chart-tooltip-inverse";
|
|
767
|
+
class W extends n.Component {
|
|
768
768
|
constructor(e, s) {
|
|
769
769
|
super(e, s), this.context = null, this.state = {
|
|
770
770
|
popupShown: !1
|
|
771
|
-
}, this.chartObserver = new
|
|
771
|
+
}, this.chartObserver = new b(this, {
|
|
772
772
|
showTooltip: "onShowTooltip",
|
|
773
773
|
hideTooltip: "onHideTooltip"
|
|
774
774
|
}), s.observersStore.dispatch({
|
|
@@ -778,11 +778,11 @@ class $ extends n.Component {
|
|
|
778
778
|
}
|
|
779
779
|
render() {
|
|
780
780
|
const { popupContend: e, className: s, ...r } = this.state, a = this.state.popupShown ? () => e : Function.prototype, i = S({
|
|
781
|
-
[
|
|
782
|
-
[
|
|
781
|
+
[ft]: !0,
|
|
782
|
+
[yt]: !!s
|
|
783
783
|
});
|
|
784
784
|
return /* @__PURE__ */ n.createElement(
|
|
785
|
-
|
|
785
|
+
_,
|
|
786
786
|
{
|
|
787
787
|
...r,
|
|
788
788
|
popupContent: a,
|
|
@@ -798,12 +798,12 @@ class $ extends n.Component {
|
|
|
798
798
|
});
|
|
799
799
|
}
|
|
800
800
|
onShowTooltip(e) {
|
|
801
|
-
const { anchor: s, style: r, className: a, crosshair: i, axisName: c, axisIndex:
|
|
802
|
-
i && c ===
|
|
801
|
+
const { anchor: s, style: r, className: a, crosshair: i, axisName: c, axisIndex: h, value: d } = e, { name: u, index: m } = this.props;
|
|
802
|
+
i && c === u && h === m && this.setState({
|
|
803
803
|
popupShown: !0,
|
|
804
804
|
popupAlign: s.align,
|
|
805
805
|
popupOffset: s.point,
|
|
806
|
-
popupContend:
|
|
806
|
+
popupContend: d,
|
|
807
807
|
popupStyles: r,
|
|
808
808
|
className: a
|
|
809
809
|
});
|
|
@@ -816,12 +816,12 @@ class $ extends n.Component {
|
|
|
816
816
|
});
|
|
817
817
|
}
|
|
818
818
|
}
|
|
819
|
-
|
|
820
|
-
const
|
|
821
|
-
function
|
|
819
|
+
W.contextType = y;
|
|
820
|
+
const H = ["categoryAxis", "valueAxis", "xAxis", "yAxis"];
|
|
821
|
+
function gt(t) {
|
|
822
822
|
const e = {};
|
|
823
|
-
for (let s = 0; s <
|
|
824
|
-
const r =
|
|
823
|
+
for (let s = 0; s < H.length; s++) {
|
|
824
|
+
const r = Ct(t, H[s]);
|
|
825
825
|
for (let a = 0; a < r.length; a++) {
|
|
826
826
|
const i = r[a];
|
|
827
827
|
e[i.name + i.index] = i;
|
|
@@ -829,7 +829,7 @@ function ht(t) {
|
|
|
829
829
|
}
|
|
830
830
|
return e;
|
|
831
831
|
}
|
|
832
|
-
function
|
|
832
|
+
function Ct(t, e) {
|
|
833
833
|
const s = [];
|
|
834
834
|
if (t[e]) {
|
|
835
835
|
const r = [].concat(t[e]);
|
|
@@ -850,7 +850,7 @@ class X extends n.Component {
|
|
|
850
850
|
}, this.storeUnsubscriber = Function.prototype, this.subscriber = () => {
|
|
851
851
|
var e;
|
|
852
852
|
this.setState({
|
|
853
|
-
tooltips:
|
|
853
|
+
tooltips: gt((e = this.context) == null ? void 0 : e.optionsStore.getState())
|
|
854
854
|
});
|
|
855
855
|
};
|
|
856
856
|
}
|
|
@@ -858,7 +858,7 @@ class X extends n.Component {
|
|
|
858
858
|
this.storeUnsubscriber = this.context.optionsStore.subscribe(this.subscriber);
|
|
859
859
|
}
|
|
860
860
|
render() {
|
|
861
|
-
const { tooltips: e } = this.state, s = Object.keys(e).map((r) => /* @__PURE__ */ n.createElement(
|
|
861
|
+
const { tooltips: e } = this.state, s = Object.keys(e).map((r) => /* @__PURE__ */ n.createElement(W, { ...e[r], key: r }));
|
|
862
862
|
return /* @__PURE__ */ n.createElement(z, null, s);
|
|
863
863
|
}
|
|
864
864
|
componentWillUnmount() {
|
|
@@ -866,31 +866,31 @@ class X extends n.Component {
|
|
|
866
866
|
}
|
|
867
867
|
}
|
|
868
868
|
X.contextType = y;
|
|
869
|
-
const
|
|
869
|
+
const w = {
|
|
870
870
|
name: "@progress/kendo-react-charts",
|
|
871
871
|
productName: "KendoReact",
|
|
872
872
|
productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
|
|
873
|
-
publishDate:
|
|
873
|
+
publishDate: 1706619625,
|
|
874
874
|
version: "",
|
|
875
875
|
licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
876
876
|
};
|
|
877
|
-
class
|
|
877
|
+
class x extends n.Component {
|
|
878
878
|
constructor(e) {
|
|
879
879
|
super(e), this.chartInstance = null, this.surface = null, this._element = null, this.optionsStore = {}, this.optionsUnsubscriber = Function.prototype, this.themeStore = {}, this.themeUnsubscriber = Function.prototype, this.observersStore = {}, this.suppressTransitions = !1, this.showLicenseWatermark = !1, this.onRender = (s) => {
|
|
880
880
|
this.chartInstance !== null && (this.surface = s.sender.surface, this.trigger("render", s));
|
|
881
881
|
}, this.onDrilldown = (s) => {
|
|
882
882
|
var c;
|
|
883
|
-
const { series: r } = this.optionsStore.getState(), a = r.find((
|
|
883
|
+
const { series: r } = this.optionsStore.getState(), a = r.find((h) => h.name === s.series.name);
|
|
884
884
|
if (!a.drilldownSeriesFactory)
|
|
885
885
|
return !0;
|
|
886
886
|
const i = "onDrilldown";
|
|
887
887
|
if (this.props.hasOwnProperty(i)) {
|
|
888
|
-
const
|
|
888
|
+
const h = { seriesName: a.name, drilldownValue: s.value }, d = [...((c = this.props.drilldownState) == null ? void 0 : c.steps) || [], h], u = this.props.getTarget(), m = {
|
|
889
889
|
...s,
|
|
890
890
|
currentState: this.props.drilldownState,
|
|
891
|
-
nextState: { steps:
|
|
892
|
-
},
|
|
893
|
-
this.props[i].call(void 0,
|
|
891
|
+
nextState: { steps: d }
|
|
892
|
+
}, p = new j(m, u);
|
|
893
|
+
this.props[i].call(void 0, p);
|
|
894
894
|
}
|
|
895
895
|
return !0;
|
|
896
896
|
}, this.onLegendItemClick = (s) => {
|
|
@@ -902,12 +902,12 @@ class b extends n.Component {
|
|
|
902
902
|
if (!r)
|
|
903
903
|
return;
|
|
904
904
|
let a = {};
|
|
905
|
-
const { seriesIndex: i, pointIndex: c } = s,
|
|
905
|
+
const { seriesIndex: i, pointIndex: c } = s, h = r[i];
|
|
906
906
|
if (c === void 0)
|
|
907
|
-
a = Object.assign({},
|
|
907
|
+
a = Object.assign({}, h, { visible: L(h.visible) });
|
|
908
908
|
else {
|
|
909
|
-
const
|
|
910
|
-
|
|
909
|
+
const d = h.pointVisibility = h.pointVisibility || [];
|
|
910
|
+
d[c] = L(d[c]), a = Object.assign({}, h);
|
|
911
911
|
}
|
|
912
912
|
this.optionsStore.dispatch({
|
|
913
913
|
chartCollectionIdxKey: `series_${i}`,
|
|
@@ -917,17 +917,17 @@ class b extends n.Component {
|
|
|
917
917
|
}, this.onWindowResize = () => {
|
|
918
918
|
this.chartInstance !== null && this.chartInstance.resize();
|
|
919
919
|
}, this.onChartMouseLeave = (s) => {
|
|
920
|
-
const r =
|
|
920
|
+
const r = B(this, s);
|
|
921
921
|
this.triggerDomEvent("onMouseLeave", r) ? s.preventDefault() : this.chartInstance !== null && this.chartInstance.hideElements();
|
|
922
922
|
}, this.onChildMouseLeave = (s) => {
|
|
923
923
|
const { syntheticEvent: r } = s;
|
|
924
|
-
return this.chartInstance && !
|
|
925
|
-
},
|
|
924
|
+
return this.chartInstance && !V(r.relatedTarget, this.element) && this.chartInstance.hideElements(), !1;
|
|
925
|
+
}, $(w), this.showLicenseWatermark = ye(w), this.optionsStore = I(q), this.observersStore = I(lt), this.childrenObserver = new b(this, { onMouseLeave: "onChildMouseLeave" }), this.state = {
|
|
926
926
|
optionsStore: this.optionsStore,
|
|
927
927
|
observersStore: this.observersStore,
|
|
928
928
|
childrenObserver: this.childrenObserver,
|
|
929
929
|
drilldownState: { steps: [] }
|
|
930
|
-
}, this.themeStore = I(
|
|
930
|
+
}, this.themeStore = I(ot), this.chartObserver = new b(this, {
|
|
931
931
|
render: "onRender",
|
|
932
932
|
legendItemClick: "onLegendItemClick",
|
|
933
933
|
drilldown: "onDrilldown"
|
|
@@ -954,7 +954,7 @@ class b extends n.Component {
|
|
|
954
954
|
componentDidMount() {
|
|
955
955
|
var s;
|
|
956
956
|
const e = ((s = this._element) == null ? void 0 : s.ownerDocument) || document;
|
|
957
|
-
|
|
957
|
+
nt(this.themeStore, this.instantiateCoreChart.bind(this), e), this.optionsUnsubscriber = this.optionsStore.subscribe(this.refresh.bind(this)), this.themeUnsubscriber = this.themeStore.subscribe(this.refresh.bind(this)), window.addEventListener("resize", this.onWindowResize);
|
|
958
958
|
}
|
|
959
959
|
/**
|
|
960
960
|
* @hidden
|
|
@@ -968,11 +968,11 @@ class b extends n.Component {
|
|
|
968
968
|
componentDidUpdate(e) {
|
|
969
969
|
const { dir: s, children: r, ...a } = this.props;
|
|
970
970
|
if (this.chartInstance !== null) {
|
|
971
|
-
const i =
|
|
972
|
-
const [m,
|
|
973
|
-
return !(a.hasOwnProperty(m) && a[m] ===
|
|
971
|
+
const i = A(this), c = this.chartInstance.chartService, h = i.locale !== c._intlService.locale, d = Object.entries(e).filter((u) => u[0] !== "dir" && u[0] !== "children").some((u) => {
|
|
972
|
+
const [m, p] = u;
|
|
973
|
+
return !(a.hasOwnProperty(m) && a[m] === p);
|
|
974
974
|
});
|
|
975
|
-
|
|
975
|
+
h && (this.chartInstance.chartService._intlService = i, this.chartInstance.chartService.format._intlService = i, d || this.chartInstance.noTransitionsRedraw()), d && this.refresh(), e.dir !== s && this.chartInstance.setDirection(this.getDirection(s));
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
978
|
/**
|
|
@@ -990,12 +990,12 @@ class b extends n.Component {
|
|
|
990
990
|
"div",
|
|
991
991
|
{
|
|
992
992
|
onMouseLeave: this.onChartMouseLeave,
|
|
993
|
-
ref: (
|
|
993
|
+
ref: (h) => this._element = h,
|
|
994
994
|
className: "k-chart-surface"
|
|
995
995
|
},
|
|
996
996
|
a
|
|
997
997
|
),
|
|
998
|
-
/* @__PURE__ */ n.createElement(n.Fragment, null, this.showLicenseWatermark && /* @__PURE__ */ n.createElement(
|
|
998
|
+
/* @__PURE__ */ n.createElement(n.Fragment, null, this.showLicenseWatermark && /* @__PURE__ */ n.createElement(ge, null))
|
|
999
999
|
);
|
|
1000
1000
|
return /* @__PURE__ */ n.createElement(y.Provider, { value: this.state }, /* @__PURE__ */ n.createElement(U, { key: "seriesTooltip" }), /* @__PURE__ */ n.createElement(X, { key: "crosshairTooltips" }), c);
|
|
1001
1001
|
}
|
|
@@ -1003,7 +1003,7 @@ class b extends n.Component {
|
|
|
1003
1003
|
* @hidden
|
|
1004
1004
|
*/
|
|
1005
1005
|
getDirection(e) {
|
|
1006
|
-
return (e !== void 0 ? e : (() =>
|
|
1006
|
+
return (e !== void 0 ? e : (() => T && window.getComputedStyle(this.element).direction)() || "ltr") === "rtl";
|
|
1007
1007
|
}
|
|
1008
1008
|
/**
|
|
1009
1009
|
* @hidden
|
|
@@ -1016,13 +1016,13 @@ class b extends n.Component {
|
|
|
1016
1016
|
paneDefaults: a,
|
|
1017
1017
|
panes: i,
|
|
1018
1018
|
transitions: c,
|
|
1019
|
-
seriesColors:
|
|
1020
|
-
seriesDefaults:
|
|
1021
|
-
axisDefaults:
|
|
1019
|
+
seriesColors: h,
|
|
1020
|
+
seriesDefaults: d,
|
|
1021
|
+
axisDefaults: u,
|
|
1022
1022
|
deriveOptionsFromParent: m
|
|
1023
1023
|
} = this.props;
|
|
1024
|
-
let
|
|
1025
|
-
return e !== void 0 && (
|
|
1024
|
+
let p = {};
|
|
1025
|
+
return e !== void 0 && (p.renderAs = e), s !== void 0 && (p.pannable = s), r !== void 0 && (p.zoomable = r), a !== void 0 && (p.paneDefaults = a), i !== void 0 && (p.panes = i), c !== void 0 && (p.transitions = c), h !== void 0 && (p.seriesColors = h), d !== void 0 && (p.seriesDefaults = d), u !== void 0 && (p.axisDefaults = u), p = Object.assign(p, this.optionsStore.getState()), m && (p = m(p)), p;
|
|
1026
1026
|
}
|
|
1027
1027
|
/**
|
|
1028
1028
|
* @hidden
|
|
@@ -1044,7 +1044,7 @@ class b extends n.Component {
|
|
|
1044
1044
|
this.themeStore.getState(),
|
|
1045
1045
|
{
|
|
1046
1046
|
rtl: this.getDirection(e),
|
|
1047
|
-
intlService:
|
|
1047
|
+
intlService: A(this),
|
|
1048
1048
|
observer: this.chartObserver,
|
|
1049
1049
|
sender: this
|
|
1050
1050
|
}
|
|
@@ -1055,11 +1055,11 @@ class b extends n.Component {
|
|
|
1055
1055
|
* @hidden
|
|
1056
1056
|
*/
|
|
1057
1057
|
trigger(e, s) {
|
|
1058
|
-
const r = this.props.getTarget(), a =
|
|
1059
|
-
let
|
|
1060
|
-
for (let
|
|
1061
|
-
c[
|
|
1062
|
-
return
|
|
1058
|
+
const r = this.props.getTarget(), a = Ge(e, s, r), i = "on" + e.charAt(0).toUpperCase() + e.slice(1), c = this.observersStore.getState();
|
|
1059
|
+
let h = !1;
|
|
1060
|
+
for (let d = 0; d < c.length; d++)
|
|
1061
|
+
c[d].trigger(e, s) && (h = !0);
|
|
1062
|
+
return h === !1 && a && this.props.hasOwnProperty(i) ? (this.props[i].call(void 0, a), a.isDefaultPrevented && a.isDefaultPrevented()) : h;
|
|
1063
1063
|
}
|
|
1064
1064
|
/* Used by (event)InstanceObserver to check the wrapper for supported events */
|
|
1065
1065
|
/**
|
|
@@ -1085,20 +1085,20 @@ class b extends n.Component {
|
|
|
1085
1085
|
return a;
|
|
1086
1086
|
}
|
|
1087
1087
|
}
|
|
1088
|
-
|
|
1089
|
-
dir:
|
|
1090
|
-
renderAs:
|
|
1088
|
+
x.propTypes = {
|
|
1089
|
+
dir: o.string,
|
|
1090
|
+
renderAs: o.oneOf(["svg", "canvas"])
|
|
1091
1091
|
};
|
|
1092
|
-
|
|
1092
|
+
x.defaultProps = {
|
|
1093
1093
|
renderAs: "svg"
|
|
1094
1094
|
};
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
class
|
|
1095
|
+
ue(x);
|
|
1096
|
+
pe.register(_e);
|
|
1097
|
+
class Y extends n.Component {
|
|
1098
1098
|
constructor(e, s) {
|
|
1099
1099
|
super(e, s), this.context = null, this.state = {
|
|
1100
1100
|
donutCenterStyles: null
|
|
1101
|
-
}, this.chartObserver = new
|
|
1101
|
+
}, this.chartObserver = new b(this, {
|
|
1102
1102
|
render: "onRender"
|
|
1103
1103
|
}), s.observersStore.dispatch({
|
|
1104
1104
|
type: "add",
|
|
@@ -1115,19 +1115,19 @@ class W extends n.Component {
|
|
|
1115
1115
|
const s = (m = this.context) == null ? void 0 : m.optionsStore.getState().series, r = Array.isArray(s) ? s[0] : null, a = e.sender._plotArea.charts;
|
|
1116
1116
|
if (!r || r.type !== "donut" || a[0].points.length === 0)
|
|
1117
1117
|
return;
|
|
1118
|
-
const i = a[0].points[0].sector, c = i.innerRadius,
|
|
1118
|
+
const i = a[0].points[0].sector, c = i.innerRadius, h = i.center.y - c, d = i.center.x - c, u = c * 2;
|
|
1119
1119
|
this.setState({
|
|
1120
1120
|
donutCenterStyles: {
|
|
1121
|
-
height:
|
|
1122
|
-
left:
|
|
1123
|
-
top:
|
|
1124
|
-
width:
|
|
1121
|
+
height: u,
|
|
1122
|
+
left: d,
|
|
1123
|
+
top: h,
|
|
1124
|
+
width: u
|
|
1125
1125
|
}
|
|
1126
1126
|
});
|
|
1127
1127
|
}
|
|
1128
1128
|
}
|
|
1129
|
-
|
|
1130
|
-
class
|
|
1129
|
+
Y.contextType = y;
|
|
1130
|
+
class vs extends n.Component {
|
|
1131
1131
|
constructor() {
|
|
1132
1132
|
super(...arguments), this._baseChart = null, this.getTarget = () => this;
|
|
1133
1133
|
}
|
|
@@ -1155,25 +1155,25 @@ class $t extends n.Component {
|
|
|
1155
1155
|
render() {
|
|
1156
1156
|
const { donutCenterRender: e, children: s, className: r, ...a } = this.props;
|
|
1157
1157
|
return /* @__PURE__ */ n.createElement(
|
|
1158
|
-
|
|
1158
|
+
x,
|
|
1159
1159
|
{
|
|
1160
1160
|
...a,
|
|
1161
1161
|
ref: (i) => this._baseChart = i,
|
|
1162
|
-
chartConstructor:
|
|
1162
|
+
chartConstructor: me,
|
|
1163
1163
|
getTarget: this.getTarget,
|
|
1164
1164
|
wrapper: "div",
|
|
1165
1165
|
className: S("k-chart k-widget", r)
|
|
1166
1166
|
},
|
|
1167
1167
|
s,
|
|
1168
|
-
/* @__PURE__ */ n.createElement(
|
|
1168
|
+
/* @__PURE__ */ n.createElement(Y, { render: e })
|
|
1169
1169
|
);
|
|
1170
1170
|
}
|
|
1171
1171
|
}
|
|
1172
|
-
class
|
|
1172
|
+
class fs extends n.Component {
|
|
1173
1173
|
constructor() {
|
|
1174
1174
|
super(...arguments), this._baseChart = null, this.deriveOptionsFromParent = (e) => {
|
|
1175
1175
|
const { type: s, data: r } = this.props, a = Object.assign({}, e, { type: s, data: r });
|
|
1176
|
-
return
|
|
1176
|
+
return N.normalizeOptions(a);
|
|
1177
1177
|
}, this.getTarget = () => this;
|
|
1178
1178
|
}
|
|
1179
1179
|
/**
|
|
@@ -1200,11 +1200,11 @@ class Xt extends n.Component {
|
|
|
1200
1200
|
render() {
|
|
1201
1201
|
const { children: e, type: s, className: r, ...a } = this.props;
|
|
1202
1202
|
return /* @__PURE__ */ n.createElement(
|
|
1203
|
-
|
|
1203
|
+
x,
|
|
1204
1204
|
{
|
|
1205
1205
|
...a,
|
|
1206
1206
|
ref: (i) => this._baseChart = i,
|
|
1207
|
-
chartConstructor:
|
|
1207
|
+
chartConstructor: N,
|
|
1208
1208
|
getTarget: this.getTarget,
|
|
1209
1209
|
wrapper: "span",
|
|
1210
1210
|
deriveOptionsFromParent: this.deriveOptionsFromParent,
|
|
@@ -1214,15 +1214,15 @@ class Xt extends n.Component {
|
|
|
1214
1214
|
);
|
|
1215
1215
|
}
|
|
1216
1216
|
}
|
|
1217
|
-
const
|
|
1217
|
+
const bt = {
|
|
1218
1218
|
autoBindElements: !0,
|
|
1219
1219
|
liveDrag: !1,
|
|
1220
1220
|
partialRedraw: !0
|
|
1221
1221
|
};
|
|
1222
|
-
class
|
|
1222
|
+
class ys extends n.Component {
|
|
1223
1223
|
constructor() {
|
|
1224
1224
|
super(...arguments), this._baseChart = null, this.deriveOptionsFromParent = (e) => {
|
|
1225
|
-
const s = Object.assign({}, e.navigator || {},
|
|
1225
|
+
const s = Object.assign({}, e.navigator || {}, bt);
|
|
1226
1226
|
return Object.assign({}, e, { navigator: s });
|
|
1227
1227
|
}, this.onRefresh = (e, s, r) => {
|
|
1228
1228
|
this.props.partialRedraw ? (r.applyOptions(e), r.bindCategories(), r.navigator.redrawSlaves()) : r.setOptions(e, s);
|
|
@@ -1252,11 +1252,11 @@ class Wt extends n.Component {
|
|
|
1252
1252
|
render() {
|
|
1253
1253
|
const { children: e, className: s, ...r } = this.props;
|
|
1254
1254
|
return /* @__PURE__ */ n.createElement(
|
|
1255
|
-
|
|
1255
|
+
x,
|
|
1256
1256
|
{
|
|
1257
1257
|
...r,
|
|
1258
1258
|
ref: (a) => this._baseChart = a,
|
|
1259
|
-
chartConstructor:
|
|
1259
|
+
chartConstructor: ve,
|
|
1260
1260
|
getTarget: this.getTarget,
|
|
1261
1261
|
wrapper: "div",
|
|
1262
1262
|
deriveOptionsFromParent: this.deriveOptionsFromParent,
|
|
@@ -1288,9 +1288,9 @@ class g extends n.Component {
|
|
|
1288
1288
|
}
|
|
1289
1289
|
}
|
|
1290
1290
|
g.contextType = y;
|
|
1291
|
-
class
|
|
1291
|
+
class l extends n.Component {
|
|
1292
1292
|
constructor(e, s) {
|
|
1293
|
-
super(e, s), this.optionsStore = s.optionsStore, this.childStore = I(
|
|
1293
|
+
super(e, s), this.optionsStore = s.optionsStore, this.childStore = I(q);
|
|
1294
1294
|
}
|
|
1295
1295
|
render() {
|
|
1296
1296
|
const { children: e } = this.props;
|
|
@@ -1318,8 +1318,8 @@ class o extends n.Component {
|
|
|
1318
1318
|
return n.cloneElement(e, r, s);
|
|
1319
1319
|
}
|
|
1320
1320
|
}
|
|
1321
|
-
|
|
1322
|
-
class
|
|
1321
|
+
l.contextType = y;
|
|
1322
|
+
class xt {
|
|
1323
1323
|
/**
|
|
1324
1324
|
* @hidden
|
|
1325
1325
|
*/
|
|
@@ -1327,7 +1327,7 @@ class ut {
|
|
|
1327
1327
|
this.currentState = e.currentState, this.nextState = e.nextState;
|
|
1328
1328
|
}
|
|
1329
1329
|
}
|
|
1330
|
-
const
|
|
1330
|
+
const D = n.forwardRef((t, e) => {
|
|
1331
1331
|
const s = n.useRef(null), r = n.useRef(null);
|
|
1332
1332
|
n.useImperativeHandle(s, () => ({
|
|
1333
1333
|
element: r.current,
|
|
@@ -1338,74 +1338,74 @@ const k = n.forwardRef((t, e) => {
|
|
|
1338
1338
|
...t.rootItem || {
|
|
1339
1339
|
text: "Home",
|
|
1340
1340
|
icon: /* @__PURE__ */ n.createElement(
|
|
1341
|
-
|
|
1341
|
+
Ce,
|
|
1342
1342
|
{
|
|
1343
|
-
icon:
|
|
1343
|
+
icon: Se,
|
|
1344
1344
|
style: { marginInlineEnd: "4px" }
|
|
1345
1345
|
}
|
|
1346
1346
|
)
|
|
1347
1347
|
}
|
|
1348
1348
|
}];
|
|
1349
|
-
t.drilldownState && (i = [...i, ...t.drilldownState.steps.map((
|
|
1350
|
-
const c = { ...t, data: i },
|
|
1349
|
+
t.drilldownState && (i = [...i, ...t.drilldownState.steps.map((d, u) => ({ id: (u + 1).toString(), text: d.drilldownValue }))]);
|
|
1350
|
+
const c = { ...t, data: i }, h = (d) => {
|
|
1351
1351
|
var m;
|
|
1352
|
-
const
|
|
1353
|
-
if (t.hasOwnProperty(
|
|
1354
|
-
const
|
|
1355
|
-
t[
|
|
1352
|
+
const u = "onDrilldownStateChange";
|
|
1353
|
+
if (t.hasOwnProperty(u)) {
|
|
1354
|
+
const p = i.findIndex((de) => de.id === d.id), ce = { steps: (((m = t.drilldownState) == null ? void 0 : m.steps) || []).slice(0, p) }, he = new xt({ currentState: t.drilldownState, nextState: ce });
|
|
1355
|
+
t[u].call(void 0, he);
|
|
1356
1356
|
}
|
|
1357
1357
|
};
|
|
1358
|
-
return /* @__PURE__ */ n.createElement("div", null, /* @__PURE__ */ n.createElement(
|
|
1359
|
-
}),
|
|
1360
|
-
id:
|
|
1361
|
-
style:
|
|
1362
|
-
className:
|
|
1363
|
-
breadcrumbOrderedList:
|
|
1364
|
-
breadcrumbListItem:
|
|
1365
|
-
breadcrumbDelimiter:
|
|
1366
|
-
breadcrumbLink:
|
|
1367
|
-
dir:
|
|
1368
|
-
disabled:
|
|
1369
|
-
valueField:
|
|
1370
|
-
textField:
|
|
1371
|
-
iconField:
|
|
1372
|
-
iconClassField:
|
|
1373
|
-
onItemSelect:
|
|
1374
|
-
ariaLabel:
|
|
1375
|
-
onDrilldownStateChange:
|
|
1376
|
-
drilldownState:
|
|
1377
|
-
steps:
|
|
1358
|
+
return /* @__PURE__ */ n.createElement("div", null, /* @__PURE__ */ n.createElement(xe, { ...c, onItemSelect: h }));
|
|
1359
|
+
}), St = {
|
|
1360
|
+
id: o.string,
|
|
1361
|
+
style: o.object,
|
|
1362
|
+
className: o.string,
|
|
1363
|
+
breadcrumbOrderedList: o.elementType,
|
|
1364
|
+
breadcrumbListItem: o.elementType,
|
|
1365
|
+
breadcrumbDelimiter: o.elementType,
|
|
1366
|
+
breadcrumbLink: o.elementType,
|
|
1367
|
+
dir: o.oneOf(["ltr", "rtl"]),
|
|
1368
|
+
disabled: o.bool,
|
|
1369
|
+
valueField: o.string,
|
|
1370
|
+
textField: o.string,
|
|
1371
|
+
iconField: o.string,
|
|
1372
|
+
iconClassField: o.string,
|
|
1373
|
+
onItemSelect: o.func,
|
|
1374
|
+
ariaLabel: o.string,
|
|
1375
|
+
onDrilldownStateChange: o.func,
|
|
1376
|
+
drilldownState: o.shape({
|
|
1377
|
+
steps: o.array
|
|
1378
1378
|
}),
|
|
1379
|
-
rootItem:
|
|
1380
|
-
},
|
|
1379
|
+
rootItem: o.object
|
|
1380
|
+
}, Et = {
|
|
1381
1381
|
valueField: "id",
|
|
1382
1382
|
textField: "text",
|
|
1383
1383
|
iconField: "icon",
|
|
1384
1384
|
iconClassField: "iconClass",
|
|
1385
1385
|
data: []
|
|
1386
1386
|
};
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
const
|
|
1391
|
-
|
|
1392
|
-
const
|
|
1393
|
-
|
|
1387
|
+
D.displayName = "KendoReactChartBreadcrumb";
|
|
1388
|
+
D.propTypes = St;
|
|
1389
|
+
D.defaultProps = Et;
|
|
1390
|
+
const gs = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "chartArea" }), Cs = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "axisDefaults" }), G = (t) => /* @__PURE__ */ n.createElement(l, { ...t });
|
|
1391
|
+
G.displayName = "ChartCategoryAxisItem";
|
|
1392
|
+
const It = (t) => /* @__PURE__ */ n.createElement(g, { ...t, _chartKey: "categoryAxis" });
|
|
1393
|
+
It.propTypes = {
|
|
1394
1394
|
children: function(t, e, s) {
|
|
1395
|
-
return C(t, e, s,
|
|
1395
|
+
return C(t, e, s, G);
|
|
1396
1396
|
}
|
|
1397
1397
|
};
|
|
1398
|
-
const
|
|
1399
|
-
|
|
1400
|
-
const
|
|
1401
|
-
|
|
1402
|
-
const
|
|
1403
|
-
|
|
1398
|
+
const bs = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "legend" }), xs = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, position: "bottom", ...t, _chartKey: "navigator" }), Z = (t) => /* @__PURE__ */ n.createElement(l, { ...t });
|
|
1399
|
+
Z.displayName = "ChartPane";
|
|
1400
|
+
const kt = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "paneDefaults" });
|
|
1401
|
+
kt.displayName = "ChartPaneDefaults";
|
|
1402
|
+
const wt = (t) => /* @__PURE__ */ n.createElement(g, { ...t, _chartKey: "panes" });
|
|
1403
|
+
wt.propTypes = {
|
|
1404
1404
|
children: function(t, e, s) {
|
|
1405
|
-
return C(t, e, s,
|
|
1405
|
+
return C(t, e, s, Z);
|
|
1406
1406
|
}
|
|
1407
1407
|
};
|
|
1408
|
-
const
|
|
1408
|
+
const Ss = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "plotArea" }), J = (t) => {
|
|
1409
1409
|
let e = (r) => /* @__PURE__ */ n.createElement(n.Fragment, null);
|
|
1410
1410
|
t.drilldownSeriesFactory && (e = t.drilldownSeriesFactory);
|
|
1411
1411
|
const s = (r) => {
|
|
@@ -1418,204 +1418,406 @@ const Jt = (t) => /* @__PURE__ */ n.createElement(o, { ...t, _chartKey: "plotAre
|
|
|
1418
1418
|
_chartCollectionIdxKey: t._chartCollectionIdxKey,
|
|
1419
1419
|
drilldownValue: s(r).drilldownValue
|
|
1420
1420
|
}
|
|
1421
|
-
) : /* @__PURE__ */ n.createElement(
|
|
1421
|
+
) : /* @__PURE__ */ n.createElement(l, { ...t }));
|
|
1422
1422
|
};
|
|
1423
|
-
|
|
1424
|
-
const
|
|
1425
|
-
|
|
1423
|
+
J.displayName = "ChartSeriesItem";
|
|
1424
|
+
const Tt = (t) => /* @__PURE__ */ n.createElement(g, { ...t, _chartKey: "series" });
|
|
1425
|
+
Tt.propTypes = {
|
|
1426
1426
|
children: function(t, e, s) {
|
|
1427
|
-
return C(t, e, s,
|
|
1427
|
+
return C(t, e, s, J);
|
|
1428
1428
|
}
|
|
1429
1429
|
};
|
|
1430
|
-
const
|
|
1431
|
-
|
|
1432
|
-
const
|
|
1433
|
-
|
|
1430
|
+
const Es = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "seriesDefaults" }), Is = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "subtitle" }), ks = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "title" }), ws = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "tooltip" }), Q = (t) => /* @__PURE__ */ n.createElement(l, { ...t });
|
|
1431
|
+
Q.displayName = "ChartValueAxisItem";
|
|
1432
|
+
const _t = (t) => /* @__PURE__ */ n.createElement(g, { ...t, _chartKey: "valueAxis" });
|
|
1433
|
+
_t.propTypes = {
|
|
1434
1434
|
children: function(t, e, s) {
|
|
1435
|
-
return C(t, e, s,
|
|
1435
|
+
return C(t, e, s, Q);
|
|
1436
1436
|
}
|
|
1437
1437
|
};
|
|
1438
|
-
const
|
|
1439
|
-
|
|
1440
|
-
const
|
|
1441
|
-
|
|
1438
|
+
const ee = (t) => /* @__PURE__ */ n.createElement(l, { ...t });
|
|
1439
|
+
ee.displayName = "ChartXAxisItem";
|
|
1440
|
+
const Dt = (t) => /* @__PURE__ */ n.createElement(g, { ...t, _chartKey: "xAxis" });
|
|
1441
|
+
Dt.prototype = {
|
|
1442
1442
|
children: function(t, e, s) {
|
|
1443
|
-
return C(t, e, s,
|
|
1443
|
+
return C(t, e, s, ee);
|
|
1444
1444
|
}
|
|
1445
1445
|
};
|
|
1446
|
-
const
|
|
1447
|
-
|
|
1448
|
-
const
|
|
1449
|
-
|
|
1446
|
+
const te = (t) => /* @__PURE__ */ n.createElement(l, { ...t });
|
|
1447
|
+
te.displayName = "ChartYAxisItem";
|
|
1448
|
+
const At = (t) => /* @__PURE__ */ n.createElement(g, { ...t, _chartKey: "yAxis" });
|
|
1449
|
+
At.propTypes = {
|
|
1450
1450
|
children: function(t, e, s) {
|
|
1451
|
-
return C(t, e, s,
|
|
1451
|
+
return C(t, e, s, te);
|
|
1452
1452
|
}
|
|
1453
1453
|
};
|
|
1454
|
-
const
|
|
1455
|
-
|
|
1456
|
-
const
|
|
1457
|
-
|
|
1458
|
-
const
|
|
1459
|
-
|
|
1460
|
-
const
|
|
1461
|
-
|
|
1462
|
-
const
|
|
1463
|
-
|
|
1464
|
-
const
|
|
1465
|
-
|
|
1466
|
-
const
|
|
1467
|
-
|
|
1468
|
-
const
|
|
1469
|
-
|
|
1470
|
-
const
|
|
1471
|
-
|
|
1472
|
-
const
|
|
1473
|
-
|
|
1474
|
-
const
|
|
1475
|
-
|
|
1476
|
-
const
|
|
1477
|
-
|
|
1478
|
-
const
|
|
1479
|
-
|
|
1480
|
-
const
|
|
1481
|
-
|
|
1482
|
-
const
|
|
1483
|
-
|
|
1484
|
-
const
|
|
1485
|
-
|
|
1454
|
+
const Ts = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "zoomable" }), Ot = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "title" });
|
|
1455
|
+
Ot.displayName = "ChartAxisDefaultsTitle";
|
|
1456
|
+
const Nt = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "labels" });
|
|
1457
|
+
Nt.displayName = "ChartAxisDefaultsLabels";
|
|
1458
|
+
const Lt = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "crosshair" });
|
|
1459
|
+
Lt.displayName = "ChartAxisDefaultsCrosshair";
|
|
1460
|
+
const Pt = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "tooltip" });
|
|
1461
|
+
Pt.displayName = "ChartAxisDefaultsCrosshairTooltip";
|
|
1462
|
+
const _s = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "crosshair" }), Ds = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "tooltip" }), Kt = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "title" });
|
|
1463
|
+
Kt.displayName = "ChartCategoryAxisTitle";
|
|
1464
|
+
const As = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "labels" }), Os = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "notes" }), Ns = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "icon" }), Ls = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "label" }), Ps = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "rangeLabels" }), Rt = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "title" });
|
|
1465
|
+
Rt.displayName = "ChartPaneDefaultsTitle";
|
|
1466
|
+
const Ft = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "item" });
|
|
1467
|
+
Ft.displayName = "ChartLegendItem";
|
|
1468
|
+
const Ht = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "title" });
|
|
1469
|
+
Ht.displayName = "ChartLegendTitle";
|
|
1470
|
+
const Mt = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "inactiveItems" });
|
|
1471
|
+
Mt.displayName = "ChartLegendInactiveItems";
|
|
1472
|
+
const Ks = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "tooltip" }), Rs = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "outliers" }), Fs = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "notes" }), Hs = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "markers" }), Ms = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "labels" }), $s = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "highlight" }), Vs = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "extremes" }), js = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "errorBars" }), Bs = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "from" }), qs = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "to" }), Us = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "label" }), zs = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "icon" }), Ws = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "crosshair" }), Xs = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "tooltip" }), Ys = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "labels" }), Gs = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "notes" }), Zs = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "icon" }), Js = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "label" }), $t = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "title" });
|
|
1473
|
+
$t.displayName = "ChartValueAxisTitle";
|
|
1474
|
+
const Qs = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "crosshair" }), er = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "tooltip" }), tr = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "labels" }), sr = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "notes" }), rr = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "icon" }), nr = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "label" }), Vt = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "title" });
|
|
1475
|
+
Vt.displayName = "ChartXAxisTitle";
|
|
1476
|
+
const ar = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "crosshair" }), ir = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "tooltip" }), or = (t) => /* @__PURE__ */ n.createElement(l, { visible: !0, ...t, _chartKey: "labels" }), lr = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "notes" }), cr = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "icon" }), hr = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "label" }), jt = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "title" });
|
|
1477
|
+
jt.displayName = "ChartYAxisTitle";
|
|
1478
|
+
const Bt = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "categoryAxis" });
|
|
1479
|
+
Bt.displayName = "ChartNavigatorCategoryAxis";
|
|
1480
|
+
const dr = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "hint" }), qt = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "pane" });
|
|
1481
|
+
qt.displayName = "ChartNavigatorPane";
|
|
1482
|
+
const ur = (t) => /* @__PURE__ */ n.createElement(l, { ...t, _chartKey: "select" }), se = (t) => /* @__PURE__ */ n.createElement(l, { ...t });
|
|
1483
|
+
se.displayName = "ChartNavigatorSeriesItem";
|
|
1484
|
+
const Ut = (t) => /* @__PURE__ */ n.createElement(g, { ...t, _chartKey: "series" });
|
|
1485
|
+
Ut.propTypes = {
|
|
1486
1486
|
children: function(t, e, s) {
|
|
1487
|
-
return C(t, e, s,
|
|
1487
|
+
return C(t, e, s, se);
|
|
1488
1488
|
}
|
|
1489
1489
|
};
|
|
1490
|
-
const
|
|
1490
|
+
const pr = (t, e) => {
|
|
1491
1491
|
if (t && t.chartInstance !== null)
|
|
1492
1492
|
return t.chartInstance.findAxisByName(e);
|
|
1493
|
-
},
|
|
1493
|
+
}, mr = (t, e) => {
|
|
1494
1494
|
if (t && t.chartInstance !== null)
|
|
1495
1495
|
return t.chartInstance.findPaneByIndex(e);
|
|
1496
|
-
},
|
|
1496
|
+
}, vr = (t, e) => {
|
|
1497
1497
|
if (t && t.chartInstance !== null)
|
|
1498
1498
|
return t.chartInstance.findPaneByName(e);
|
|
1499
|
-
},
|
|
1499
|
+
}, fr = (t, e = {}) => {
|
|
1500
1500
|
if (t && t.chartInstance !== null)
|
|
1501
1501
|
return t.chartInstance.exportVisual(e);
|
|
1502
|
-
}
|
|
1502
|
+
}, zt = (t) => `${t.fontWeight} ${t.fontSize} ${t.fontFamily}`, M = (t) => window.getComputedStyle(t).backgroundColor, Wt = (t) => t.toLowerCase().charCodeAt(0) - "a".charCodeAt(0), Xt = (t) => {
|
|
1503
|
+
const e = t.match(/series-([a-z])$/);
|
|
1504
|
+
if (e !== null)
|
|
1505
|
+
return Wt(e[1]);
|
|
1506
|
+
const s = t.split("--series-")[1];
|
|
1507
|
+
return parseInt(s, 10) - 1;
|
|
1508
|
+
}, Yt = 30, Gt = () => {
|
|
1509
|
+
let t = `
|
|
1510
|
+
<div class="k-var--series-a"></div>
|
|
1511
|
+
<div class="k-var--series-b"></div>
|
|
1512
|
+
<div class="k-var--series-c"></div>
|
|
1513
|
+
<div class="k-var--series-d"></div>
|
|
1514
|
+
<div class="k-var--series-e"></div>
|
|
1515
|
+
<div class="k-var--series-f"></div>
|
|
1516
|
+
`;
|
|
1517
|
+
for (let e = 0; e < Yt; e++)
|
|
1518
|
+
t += `
|
|
1519
|
+
<div class="k-var--series-${e + 1}"></div>`;
|
|
1520
|
+
return t;
|
|
1521
|
+
}, Zt = `
|
|
1522
|
+
<div class="k-var--normal-text-color"></div>
|
|
1523
|
+
<div class="k-widget k-chart">
|
|
1524
|
+
<div class="k-var--chart-font"></div>
|
|
1525
|
+
</div>
|
|
1526
|
+
<div class="k-var--series-unset"></div>
|
|
1527
|
+
<div class="k-var--series">
|
|
1528
|
+
${Gt()}
|
|
1529
|
+
</div>
|
|
1530
|
+
`;
|
|
1531
|
+
class Jt {
|
|
1532
|
+
constructor(e) {
|
|
1533
|
+
this.store = e;
|
|
1534
|
+
}
|
|
1535
|
+
setStyle(e, s) {
|
|
1536
|
+
const r = e.split(".");
|
|
1537
|
+
let a = this.store;
|
|
1538
|
+
r.forEach((c, h, d) => {
|
|
1539
|
+
h < d.length - 1 && (a = a[c] = a[c] || {});
|
|
1540
|
+
});
|
|
1541
|
+
const i = r.pop();
|
|
1542
|
+
i && (a[i] = s);
|
|
1543
|
+
}
|
|
1544
|
+
setColors() {
|
|
1545
|
+
this.mapColor("labels.color", "normal-text-color");
|
|
1546
|
+
}
|
|
1547
|
+
setFonts() {
|
|
1548
|
+
const e = zt(this.queryStyle("chart-font"));
|
|
1549
|
+
this.setStyle("labels.font", e);
|
|
1550
|
+
}
|
|
1551
|
+
setSeriesColors() {
|
|
1552
|
+
const e = this.element;
|
|
1553
|
+
if (!e)
|
|
1554
|
+
return;
|
|
1555
|
+
const s = [].slice.call(e.querySelectorAll(".k-var--series div")), r = M(e.querySelector(".k-var--series-unset")), a = s.reduce(
|
|
1556
|
+
(i, c) => {
|
|
1557
|
+
const h = Xt(c.className), d = M(c);
|
|
1558
|
+
return d !== r && (i[h] = d), i;
|
|
1559
|
+
},
|
|
1560
|
+
[]
|
|
1561
|
+
// Will populate the colors in this array
|
|
1562
|
+
);
|
|
1563
|
+
this.setStyle("nodesColors", a);
|
|
1564
|
+
}
|
|
1565
|
+
mapColor(e, s) {
|
|
1566
|
+
this.setStyle(e, this.queryStyle(s).backgroundColor);
|
|
1567
|
+
}
|
|
1568
|
+
queryStyle(e) {
|
|
1569
|
+
const s = this.element;
|
|
1570
|
+
return window.getComputedStyle(s.querySelector(`.k-var--${e}`));
|
|
1571
|
+
}
|
|
1572
|
+
}
|
|
1573
|
+
const Qt = (t, e) => {
|
|
1574
|
+
const s = {
|
|
1575
|
+
// TODO: Move it to themes
|
|
1576
|
+
links: {
|
|
1577
|
+
color: "#757575"
|
|
1578
|
+
},
|
|
1579
|
+
nodesColors: []
|
|
1580
|
+
}, r = new Jt(s), a = r.element = t.createElement("div");
|
|
1581
|
+
a.style.display = "none", a.innerHTML = Zt, t.body.appendChild(a);
|
|
1582
|
+
try {
|
|
1583
|
+
r.setColors(), r.setFonts(), r.setSeriesColors();
|
|
1584
|
+
} finally {
|
|
1585
|
+
t.body.removeChild(r.element), r.element = null, e(s);
|
|
1586
|
+
}
|
|
1587
|
+
}, re = o.exact({
|
|
1588
|
+
left: o.number,
|
|
1589
|
+
top: o.number
|
|
1590
|
+
}), ne = {
|
|
1591
|
+
left: o.number,
|
|
1592
|
+
right: o.number
|
|
1593
|
+
}, es = {
|
|
1594
|
+
...ne,
|
|
1595
|
+
top: o.number,
|
|
1596
|
+
bottom: o.number
|
|
1597
|
+
}, ae = {
|
|
1598
|
+
visible: o.bool,
|
|
1599
|
+
font: o.string,
|
|
1600
|
+
color: o.string,
|
|
1601
|
+
opacity: o.number,
|
|
1602
|
+
align: o.oneOf(["left", "right", "center"]),
|
|
1603
|
+
position: o.oneOf(["inside", "before", "after"]),
|
|
1604
|
+
padding: o.oneOfType([
|
|
1605
|
+
o.number,
|
|
1606
|
+
o.exact(es)
|
|
1607
|
+
]),
|
|
1608
|
+
margin: o.exact(ne),
|
|
1609
|
+
border: o.exact({
|
|
1610
|
+
width: o.number,
|
|
1611
|
+
color: o.string,
|
|
1612
|
+
opacity: o.number,
|
|
1613
|
+
dashType: o.string
|
|
1614
|
+
}),
|
|
1615
|
+
offset: re
|
|
1616
|
+
}, ie = {
|
|
1617
|
+
color: o.string,
|
|
1618
|
+
opacity: o.number,
|
|
1619
|
+
offset: re,
|
|
1620
|
+
padding: o.number,
|
|
1621
|
+
width: o.number
|
|
1622
|
+
}, oe = {
|
|
1623
|
+
colorType: o.oneOf(["static", "source", "target"]),
|
|
1624
|
+
color: o.string,
|
|
1625
|
+
opacity: o.number,
|
|
1626
|
+
highlight: o.exact({
|
|
1627
|
+
opacity: o.number,
|
|
1628
|
+
inactiveOpacity: o.number
|
|
1629
|
+
})
|
|
1630
|
+
}, ts = o.exact({
|
|
1631
|
+
text: o.string,
|
|
1632
|
+
...ae
|
|
1633
|
+
}), ss = o.exact({
|
|
1634
|
+
id: o.oneOfType([o.string, o.number]).isRequired,
|
|
1635
|
+
label: ts.isRequired,
|
|
1636
|
+
...ie
|
|
1637
|
+
}), rs = o.exact({
|
|
1638
|
+
sourceId: o.oneOfType([o.string, o.number]).isRequired,
|
|
1639
|
+
targetId: o.oneOfType([o.string, o.number]).isRequired,
|
|
1640
|
+
value: o.number.isRequired,
|
|
1641
|
+
...oe
|
|
1642
|
+
}), ns = {
|
|
1643
|
+
data: o.exact({
|
|
1644
|
+
nodes: o.arrayOf(ss.isRequired).isRequired,
|
|
1645
|
+
links: o.arrayOf(rs.isRequired).isRequired
|
|
1646
|
+
}).isRequired,
|
|
1647
|
+
links: o.exact(oe),
|
|
1648
|
+
nodes: o.exact(ie),
|
|
1649
|
+
labels: o.exact(ae),
|
|
1650
|
+
className: o.string,
|
|
1651
|
+
style: o.object,
|
|
1652
|
+
onNodeEnter: o.func,
|
|
1653
|
+
onNodeLeave: o.func,
|
|
1654
|
+
onLinkEnter: o.func,
|
|
1655
|
+
onLinkLeave: o.func
|
|
1656
|
+
}, as = ["nodeEnter", "nodeLeave", "linkEnter", "linkLeave"], is = (t, e) => {
|
|
1657
|
+
t && (t.unbind(), as.forEach((s) => {
|
|
1658
|
+
e[s] && t.bind(s, e[s]);
|
|
1659
|
+
}));
|
|
1660
|
+
}, le = n.forwardRef((t, e) => {
|
|
1661
|
+
$(w);
|
|
1662
|
+
const s = n.useRef(null), r = n.useRef(null), a = n.useRef(null), { data: i, links: c, nodes: h, labels: d } = t;
|
|
1663
|
+
n.useEffect(() => (r.current ? r.current.setOptions({
|
|
1664
|
+
data: i,
|
|
1665
|
+
links: c,
|
|
1666
|
+
nodes: h,
|
|
1667
|
+
labels: d
|
|
1668
|
+
}) : T && s.current && Qt(s.current.ownerDocument, (m) => {
|
|
1669
|
+
r.current = new fe(s.current, {
|
|
1670
|
+
data: i,
|
|
1671
|
+
links: c,
|
|
1672
|
+
nodes: h,
|
|
1673
|
+
labels: d
|
|
1674
|
+
}, m);
|
|
1675
|
+
}), () => {
|
|
1676
|
+
r.current && (r.current.destroy(), r.current = null);
|
|
1677
|
+
}), [i, c, h, d]), n.useImperativeHandle(a, () => ({
|
|
1678
|
+
get element() {
|
|
1679
|
+
return s.current;
|
|
1680
|
+
},
|
|
1681
|
+
props: t
|
|
1682
|
+
}), []), n.useImperativeHandle(e, () => a.current);
|
|
1683
|
+
const u = n.useCallback((m) => m && ((p) => {
|
|
1684
|
+
Object.defineProperty(p, "target", { get: () => a.current }), p.nativeEvent = p.originalEvent || null, m.call(void 0, p);
|
|
1685
|
+
}), []);
|
|
1686
|
+
return n.useEffect(() => {
|
|
1687
|
+
is(r.current, {
|
|
1688
|
+
nodeEnter: u(t.onNodeEnter),
|
|
1689
|
+
nodeLeave: u(t.onNodeLeave),
|
|
1690
|
+
linkEnter: u(t.onLinkEnter),
|
|
1691
|
+
linkLeave: u(t.onLinkLeave)
|
|
1692
|
+
});
|
|
1693
|
+
}, [t.onNodeEnter, t.onNodeLeave, t.onLinkEnter, t.onLinkLeave]), /* @__PURE__ */ n.createElement(
|
|
1694
|
+
"div",
|
|
1695
|
+
{
|
|
1696
|
+
ref: s,
|
|
1697
|
+
className: t.className,
|
|
1698
|
+
style: t.style
|
|
1699
|
+
}
|
|
1700
|
+
);
|
|
1701
|
+
});
|
|
1702
|
+
le.propTypes = ns;
|
|
1703
|
+
le.displayName = "KendoReactSankey";
|
|
1503
1704
|
export {
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1705
|
+
De as AxisLabelClickEvent,
|
|
1706
|
+
vs as Chart,
|
|
1707
|
+
gs as ChartArea,
|
|
1708
|
+
Cs as ChartAxisDefaults,
|
|
1709
|
+
Lt as ChartAxisDefaultsCrosshair,
|
|
1710
|
+
Pt as ChartAxisDefaultsCrosshairTooltip,
|
|
1711
|
+
Nt as ChartAxisDefaultsLabels,
|
|
1712
|
+
Ot as ChartAxisDefaultsTitle,
|
|
1713
|
+
D as ChartBreadcrumb,
|
|
1714
|
+
It as ChartCategoryAxis,
|
|
1715
|
+
_s as ChartCategoryAxisCrosshair,
|
|
1716
|
+
Ds as ChartCategoryAxisCrosshairTooltip,
|
|
1717
|
+
G as ChartCategoryAxisItem,
|
|
1718
|
+
As as ChartCategoryAxisLabels,
|
|
1719
|
+
Os as ChartCategoryAxisNotes,
|
|
1720
|
+
Ns as ChartCategoryAxisNotesIcon,
|
|
1721
|
+
Ls as ChartCategoryAxisNotesLabel,
|
|
1722
|
+
Ps as ChartCategoryAxisRangeLabels,
|
|
1723
|
+
Kt as ChartCategoryAxisTitle,
|
|
1724
|
+
bs as ChartLegend,
|
|
1725
|
+
Mt as ChartLegendInactiveItems,
|
|
1726
|
+
Ft as ChartLegendItem,
|
|
1727
|
+
Ht as ChartLegendTitle,
|
|
1728
|
+
xs as ChartNavigator,
|
|
1729
|
+
Bt as ChartNavigatorCategoryAxis,
|
|
1730
|
+
dr as ChartNavigatorHint,
|
|
1731
|
+
qt as ChartNavigatorPane,
|
|
1732
|
+
ur as ChartNavigatorSelect,
|
|
1733
|
+
Ut as ChartNavigatorSeries,
|
|
1734
|
+
se as ChartNavigatorSeriesItem,
|
|
1735
|
+
Z as ChartPane,
|
|
1736
|
+
kt as ChartPaneDefaults,
|
|
1737
|
+
Rt as ChartPaneDefaultsTitle,
|
|
1738
|
+
wt as ChartPanes,
|
|
1739
|
+
Ss as ChartPlotArea,
|
|
1740
|
+
Tt as ChartSeries,
|
|
1741
|
+
Es as ChartSeriesDefaults,
|
|
1742
|
+
js as ChartSeriesErrorBars,
|
|
1743
|
+
Vs as ChartSeriesExtremes,
|
|
1744
|
+
$s as ChartSeriesHighlight,
|
|
1745
|
+
J as ChartSeriesItem,
|
|
1746
|
+
Rs as ChartSeriesItemOutliers,
|
|
1747
|
+
Ks as ChartSeriesItemTooltip,
|
|
1748
|
+
Ms as ChartSeriesLabels,
|
|
1749
|
+
Bs as ChartSeriesLabelsFrom,
|
|
1750
|
+
qs as ChartSeriesLabelsTo,
|
|
1751
|
+
Hs as ChartSeriesMarkers,
|
|
1752
|
+
Fs as ChartSeriesNotes,
|
|
1753
|
+
zs as ChartSeriesNotesIcon,
|
|
1754
|
+
Us as ChartSeriesNotesLabel,
|
|
1755
|
+
Is as ChartSubtitle,
|
|
1756
|
+
ks as ChartTitle,
|
|
1757
|
+
ws as ChartTooltip,
|
|
1758
|
+
_t as ChartValueAxis,
|
|
1759
|
+
Ws as ChartValueAxisCrosshair,
|
|
1760
|
+
Xs as ChartValueAxisCrosshairTooltip,
|
|
1761
|
+
Q as ChartValueAxisItem,
|
|
1762
|
+
Ys as ChartValueAxisLabels,
|
|
1763
|
+
Gs as ChartValueAxisNotes,
|
|
1764
|
+
Zs as ChartValueAxisNotesIcon,
|
|
1765
|
+
Js as ChartValueAxisNotesLabel,
|
|
1766
|
+
$t as ChartValueAxisTitle,
|
|
1767
|
+
Dt as ChartXAxis,
|
|
1768
|
+
Qs as ChartXAxisCrosshair,
|
|
1769
|
+
er as ChartXAxisCrosshairTooltip,
|
|
1770
|
+
ee as ChartXAxisItem,
|
|
1771
|
+
tr as ChartXAxisLabels,
|
|
1772
|
+
sr as ChartXAxisNotes,
|
|
1773
|
+
rr as ChartXAxisNotesIcon,
|
|
1774
|
+
nr as ChartXAxisNotesLabel,
|
|
1775
|
+
Vt as ChartXAxisTitle,
|
|
1776
|
+
At as ChartYAxis,
|
|
1777
|
+
ar as ChartYAxisCrosshair,
|
|
1778
|
+
ir as ChartYAxisCrosshairTooltip,
|
|
1779
|
+
te as ChartYAxisItem,
|
|
1780
|
+
or as ChartYAxisLabels,
|
|
1781
|
+
lr as ChartYAxisNotes,
|
|
1782
|
+
cr as ChartYAxisNotesIcon,
|
|
1783
|
+
hr as ChartYAxisNotesLabel,
|
|
1784
|
+
jt as ChartYAxisTitle,
|
|
1785
|
+
Ts as ChartZoomable,
|
|
1585
1786
|
g as CollectionConfigurationComponent,
|
|
1586
|
-
|
|
1587
|
-
|
|
1787
|
+
l as ConfigurationComponent,
|
|
1788
|
+
W as CrosshairTooltip,
|
|
1588
1789
|
X as CrosshairTooltipContainer,
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1790
|
+
Y as DonutCenter,
|
|
1791
|
+
Oe as DragEndEvent,
|
|
1792
|
+
Ae as DragEvent,
|
|
1793
|
+
Ne as DragStartEvent,
|
|
1794
|
+
j as DrilldownEvent,
|
|
1795
|
+
xt as DrilldownStateChangeEvent,
|
|
1796
|
+
Pe as LegendItemClickEvent,
|
|
1797
|
+
Le as LegendItemHoverEvent,
|
|
1798
|
+
Re as NavigatorFilterEvent,
|
|
1799
|
+
Fe as NoteClickEvent,
|
|
1800
|
+
He as NoteHoverEvent,
|
|
1801
|
+
Me as PlotAreaClickEvent,
|
|
1802
|
+
$e as PlotAreaHoverEvent,
|
|
1803
|
+
Ve as RenderEvent,
|
|
1804
|
+
le as Sankey,
|
|
1805
|
+
Be as SelectEndEvent,
|
|
1806
|
+
je as SelectEvent,
|
|
1807
|
+
qe as SelectStartEvent,
|
|
1808
|
+
Ue as SeriesClickEvent,
|
|
1809
|
+
ze as SeriesHoverEvent,
|
|
1608
1810
|
U as SeriesTooltip,
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1811
|
+
ht as SharedTooltipContent,
|
|
1812
|
+
fs as Sparkline,
|
|
1813
|
+
ys as StockChart,
|
|
1814
|
+
F as TooltipPoint,
|
|
1815
|
+
_ as TooltipPopup,
|
|
1816
|
+
Xe as ZoomEndEvent,
|
|
1817
|
+
We as ZoomEvent,
|
|
1818
|
+
Ye as ZoomStartEvent,
|
|
1819
|
+
fr as exportVisual,
|
|
1820
|
+
pr as findAxisByName,
|
|
1821
|
+
mr as findPaneByIndex,
|
|
1822
|
+
vr as findPaneByName
|
|
1621
1823
|
};
|