tvcharts 0.8.60 → 0.8.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/echarts.js +102 -102
- package/dist/echarts.js.map +3 -3
- package/lib/core/echarts.js +7 -6
- package/package.json +2 -2
- package/types/dist/echarts.d.ts +1 -1
- package/types/dist/shared.d.ts +1 -1
package/dist/echarts.js
CHANGED
|
@@ -83,7 +83,7 @@ __export(exports, {
|
|
|
83
83
|
zrender: () => zrender_exports
|
|
84
84
|
});
|
|
85
85
|
|
|
86
|
-
//
|
|
86
|
+
// ../zrender/src/zrender.ts
|
|
87
87
|
var zrender_exports = {};
|
|
88
88
|
__export(zrender_exports, {
|
|
89
89
|
dispose: () => dispose,
|
|
@@ -96,7 +96,7 @@ __export(zrender_exports, {
|
|
|
96
96
|
version: () => version
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
//
|
|
99
|
+
// ../zrender/src/core/env.ts
|
|
100
100
|
var Browser = class {
|
|
101
101
|
constructor() {
|
|
102
102
|
this.firefox = false;
|
|
@@ -165,7 +165,7 @@ function detect(ua, env2) {
|
|
|
165
165
|
}
|
|
166
166
|
var env_default = env;
|
|
167
167
|
|
|
168
|
-
//
|
|
168
|
+
// ../zrender/src/core/util.ts
|
|
169
169
|
var util_exports = {};
|
|
170
170
|
__export(util_exports, {
|
|
171
171
|
HashMap: () => HashMap,
|
|
@@ -222,7 +222,7 @@ __export(util_exports, {
|
|
|
222
222
|
trim: () => trim
|
|
223
223
|
});
|
|
224
224
|
|
|
225
|
-
//
|
|
225
|
+
// ../zrender/src/core/platform.ts
|
|
226
226
|
var DEFAULT_FONT_SIZE = 12;
|
|
227
227
|
var DEFAULT_FONT_FAMILY = `-apple-system, BlinkMacSystemFont, 'Trebuchet MS', Roboto, Ubuntu, sans-serif`;
|
|
228
228
|
var DEFAULT_FONT = `${DEFAULT_FONT_SIZE}px ${DEFAULT_FONT_FAMILY}`;
|
|
@@ -293,7 +293,7 @@ function setPlatformAPI(newPlatformApis) {
|
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
|
|
296
|
-
//
|
|
296
|
+
// ../zrender/src/core/util.ts
|
|
297
297
|
var BUILTIN_OBJECT = reduce([
|
|
298
298
|
"Function",
|
|
299
299
|
"RegExp",
|
|
@@ -833,7 +833,7 @@ function colorToRgba(color2 = "") {
|
|
|
833
833
|
return rgbaColor;
|
|
834
834
|
}
|
|
835
835
|
|
|
836
|
-
//
|
|
836
|
+
// ../zrender/src/core/vector.ts
|
|
837
837
|
var vector_exports = {};
|
|
838
838
|
__export(vector_exports, {
|
|
839
839
|
add: () => add,
|
|
@@ -972,7 +972,7 @@ function max(out2, v12, v22) {
|
|
|
972
972
|
return out2;
|
|
973
973
|
}
|
|
974
974
|
|
|
975
|
-
//
|
|
975
|
+
// ../zrender/src/mixin/Draggable.ts
|
|
976
976
|
var Param = class {
|
|
977
977
|
constructor(target, e2) {
|
|
978
978
|
this.target = target;
|
|
@@ -1038,7 +1038,7 @@ var Draggable = class {
|
|
|
1038
1038
|
};
|
|
1039
1039
|
var Draggable_default = Draggable;
|
|
1040
1040
|
|
|
1041
|
-
//
|
|
1041
|
+
// ../zrender/src/core/Eventful.ts
|
|
1042
1042
|
var Eventful = class {
|
|
1043
1043
|
constructor(eventProcessors) {
|
|
1044
1044
|
if (eventProcessors) {
|
|
@@ -1182,7 +1182,7 @@ var Eventful = class {
|
|
|
1182
1182
|
};
|
|
1183
1183
|
var Eventful_default = Eventful;
|
|
1184
1184
|
|
|
1185
|
-
//
|
|
1185
|
+
// ../zrender/src/core/fourPointsTransform.ts
|
|
1186
1186
|
var LN2 = Math.log(2);
|
|
1187
1187
|
function determinant(rows, rank, rowStart, rowMask, colMask, detCache) {
|
|
1188
1188
|
const cacheKey = rowMask + "-" + colMask;
|
|
@@ -1240,7 +1240,7 @@ function buildTransformer(src, dest) {
|
|
|
1240
1240
|
};
|
|
1241
1241
|
}
|
|
1242
1242
|
|
|
1243
|
-
//
|
|
1243
|
+
// ../zrender/src/core/dom.ts
|
|
1244
1244
|
var EVENT_SAVED_PROP = "___zrEVENTSAVED";
|
|
1245
1245
|
var _calcOut = [];
|
|
1246
1246
|
function transformLocalCoord(out2, elFrom, elTarget, inX, inY) {
|
|
@@ -1326,7 +1326,7 @@ function encodeHTML(source) {
|
|
|
1326
1326
|
});
|
|
1327
1327
|
}
|
|
1328
1328
|
|
|
1329
|
-
//
|
|
1329
|
+
// ../zrender/src/core/event.ts
|
|
1330
1330
|
var MOUSE_EVENT_REG = /^(?:mouse|pointer|contextmenu|drag|drop)|click/;
|
|
1331
1331
|
var _calcOut2 = [];
|
|
1332
1332
|
var firefoxNotSupportOffsetXY = env_default.browser.firefox && +env_default.browser.version.split(".")[0] < 39;
|
|
@@ -1417,7 +1417,7 @@ function isMiddleOrRightButtonOnMouseUpDown(e2) {
|
|
|
1417
1417
|
return e2.which === 2 || e2.which === 3;
|
|
1418
1418
|
}
|
|
1419
1419
|
|
|
1420
|
-
//
|
|
1420
|
+
// ../zrender/src/core/GestureMgr.ts
|
|
1421
1421
|
var GestureMgr = class {
|
|
1422
1422
|
constructor() {
|
|
1423
1423
|
this._track = [];
|
|
@@ -1495,7 +1495,7 @@ var recognizers = {
|
|
|
1495
1495
|
}
|
|
1496
1496
|
};
|
|
1497
1497
|
|
|
1498
|
-
//
|
|
1498
|
+
// ../zrender/src/core/matrix.ts
|
|
1499
1499
|
var matrix_exports = {};
|
|
1500
1500
|
__export(matrix_exports, {
|
|
1501
1501
|
clone: () => clone3,
|
|
@@ -1607,7 +1607,7 @@ function clone3(a) {
|
|
|
1607
1607
|
return b;
|
|
1608
1608
|
}
|
|
1609
1609
|
|
|
1610
|
-
//
|
|
1610
|
+
// ../zrender/src/core/Point.ts
|
|
1611
1611
|
var Point = class {
|
|
1612
1612
|
constructor(x, y) {
|
|
1613
1613
|
this.x = x || 0;
|
|
@@ -1737,7 +1737,7 @@ var Point = class {
|
|
|
1737
1737
|
};
|
|
1738
1738
|
var Point_default = Point;
|
|
1739
1739
|
|
|
1740
|
-
//
|
|
1740
|
+
// ../zrender/src/core/BoundingRect.ts
|
|
1741
1741
|
var mathMin = Math.min;
|
|
1742
1742
|
var mathMax = Math.max;
|
|
1743
1743
|
var lt = new Point_default();
|
|
@@ -1937,7 +1937,7 @@ var BoundingRect = class {
|
|
|
1937
1937
|
};
|
|
1938
1938
|
var BoundingRect_default = BoundingRect;
|
|
1939
1939
|
|
|
1940
|
-
//
|
|
1940
|
+
// ../zrender/src/Handler.ts
|
|
1941
1941
|
var SILENT = "silent";
|
|
1942
1942
|
function makeEventPacket(eveType, targetInfo, event) {
|
|
1943
1943
|
return {
|
|
@@ -2020,11 +2020,11 @@ var Handler = class extends Eventful_default {
|
|
|
2020
2020
|
const isOutside = isOutsideBoundary(this, x, y);
|
|
2021
2021
|
let lastHovered = this._hovered;
|
|
2022
2022
|
let lastHoveredTarget = lastHovered.target;
|
|
2023
|
-
if (lastHoveredTarget && !lastHoveredTarget.__zr) {
|
|
2023
|
+
if (lastHoveredTarget && !lastHoveredTarget.__zr && !event.zrByTouch) {
|
|
2024
2024
|
lastHovered = this.findHover(lastHovered.x, lastHovered.y);
|
|
2025
2025
|
lastHoveredTarget = lastHovered.target;
|
|
2026
2026
|
}
|
|
2027
|
-
const hovered = this._hovered = isOutside ? new HoveredResult(x, y) : this.findHover(x, y);
|
|
2027
|
+
const hovered = this._hovered = event.zrByTouch || isOutside ? new HoveredResult(x, y) : this.findHover(x, y);
|
|
2028
2028
|
const hoveredTarget = hovered.target;
|
|
2029
2029
|
const proxy = this.proxy;
|
|
2030
2030
|
proxy.setCursor && proxy.setCursor(hoveredTarget ? hoveredTarget.cursor : this._defaultCursorStyle);
|
|
@@ -2142,7 +2142,7 @@ var Handler = class extends Eventful_default {
|
|
|
2142
2142
|
}
|
|
2143
2143
|
const gestureMgr = this._gestureMgr;
|
|
2144
2144
|
stage === "start" && gestureMgr.clear();
|
|
2145
|
-
const gestureInfo = gestureMgr.recognize(event, this.findHover(event.zrX, event.zrY, null).target, this.proxy.dom);
|
|
2145
|
+
const gestureInfo = gestureMgr.recognize(event, stage === "change" ? null : this.findHover(event.zrX, event.zrY, null).target, this.proxy.dom);
|
|
2146
2146
|
stage === "end" && gestureMgr.clear();
|
|
2147
2147
|
if (gestureInfo) {
|
|
2148
2148
|
const type = gestureInfo.type;
|
|
@@ -2223,7 +2223,7 @@ function isOutsideBoundary(handlerInstance, x, y) {
|
|
|
2223
2223
|
}
|
|
2224
2224
|
var Handler_default = Handler;
|
|
2225
2225
|
|
|
2226
|
-
//
|
|
2226
|
+
// ../zrender/src/core/timsort.ts
|
|
2227
2227
|
var DEFAULT_MIN_MERGE = 32;
|
|
2228
2228
|
var DEFAULT_MIN_GALLOPING = 7;
|
|
2229
2229
|
function minRunLength(n) {
|
|
@@ -2732,12 +2732,12 @@ function sort(array, compare2, lo, hi) {
|
|
|
2732
2732
|
ts.forceMergeRuns();
|
|
2733
2733
|
}
|
|
2734
2734
|
|
|
2735
|
-
//
|
|
2735
|
+
// ../zrender/src/graphic/constants.ts
|
|
2736
2736
|
var REDRAW_BIT = 1;
|
|
2737
2737
|
var STYLE_CHANGED_BIT = 2;
|
|
2738
2738
|
var SHAPE_CHANGED_BIT = 4;
|
|
2739
2739
|
|
|
2740
|
-
//
|
|
2740
|
+
// ../zrender/src/Storage.ts
|
|
2741
2741
|
var invalidZErrorLogged = false;
|
|
2742
2742
|
function logInvalidZError() {
|
|
2743
2743
|
if (invalidZErrorLogged) {
|
|
@@ -2912,14 +2912,14 @@ var Storage = class {
|
|
|
2912
2912
|
};
|
|
2913
2913
|
var Storage_default = Storage;
|
|
2914
2914
|
|
|
2915
|
-
//
|
|
2915
|
+
// ../zrender/src/animation/requestAnimationFrame.ts
|
|
2916
2916
|
var requestAnimationFrame2;
|
|
2917
2917
|
requestAnimationFrame2 = env_default.hasGlobalWindow && (window.requestAnimationFrame && window.requestAnimationFrame.bind(window) || window.msRequestAnimationFrame && window.msRequestAnimationFrame.bind(window) || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame) || function(func) {
|
|
2918
2918
|
return setTimeout(func, 16);
|
|
2919
2919
|
};
|
|
2920
2920
|
var requestAnimationFrame_default = requestAnimationFrame2;
|
|
2921
2921
|
|
|
2922
|
-
//
|
|
2922
|
+
// ../zrender/src/animation/easing.ts
|
|
2923
2923
|
var easingFuncs = {
|
|
2924
2924
|
linear(k) {
|
|
2925
2925
|
return k;
|
|
@@ -3106,7 +3106,7 @@ var easingFuncs = {
|
|
|
3106
3106
|
};
|
|
3107
3107
|
var easing_default = easingFuncs;
|
|
3108
3108
|
|
|
3109
|
-
//
|
|
3109
|
+
// ../zrender/src/core/curve.ts
|
|
3110
3110
|
var mathPow = Math.pow;
|
|
3111
3111
|
var mathSqrt = Math.sqrt;
|
|
3112
3112
|
var EPSILON = 1e-8;
|
|
@@ -3435,7 +3435,7 @@ function quadraticLength(x0, y0, x1, y1, x2, y2, iteration) {
|
|
|
3435
3435
|
return d;
|
|
3436
3436
|
}
|
|
3437
3437
|
|
|
3438
|
-
//
|
|
3438
|
+
// ../zrender/src/animation/cubicEasing.ts
|
|
3439
3439
|
var regexp = /cubic-bezier\(([0-9,\.e ]+)\)/;
|
|
3440
3440
|
function createCubicEasingFunc(cubicEasingStr) {
|
|
3441
3441
|
const cubic2 = cubicEasingStr && regexp.exec(cubicEasingStr);
|
|
@@ -3455,7 +3455,7 @@ function createCubicEasingFunc(cubicEasingStr) {
|
|
|
3455
3455
|
}
|
|
3456
3456
|
}
|
|
3457
3457
|
|
|
3458
|
-
//
|
|
3458
|
+
// ../zrender/src/animation/Clip.ts
|
|
3459
3459
|
var Clip = class {
|
|
3460
3460
|
constructor(opts) {
|
|
3461
3461
|
this._inited = false;
|
|
@@ -3514,7 +3514,7 @@ var Clip = class {
|
|
|
3514
3514
|
};
|
|
3515
3515
|
var Clip_default = Clip;
|
|
3516
3516
|
|
|
3517
|
-
//
|
|
3517
|
+
// ../zrender/src/tool/color.ts
|
|
3518
3518
|
var color_exports = {};
|
|
3519
3519
|
__export(color_exports, {
|
|
3520
3520
|
fastLerp: () => fastLerp,
|
|
@@ -3532,7 +3532,7 @@ __export(color_exports, {
|
|
|
3532
3532
|
toHex: () => toHex
|
|
3533
3533
|
});
|
|
3534
3534
|
|
|
3535
|
-
//
|
|
3535
|
+
// ../zrender/src/core/LRU.ts
|
|
3536
3536
|
var Entry = class {
|
|
3537
3537
|
constructor(val) {
|
|
3538
3538
|
this.value = val;
|
|
@@ -3635,7 +3635,7 @@ var LRU = class {
|
|
|
3635
3635
|
};
|
|
3636
3636
|
var LRU_default = LRU;
|
|
3637
3637
|
|
|
3638
|
-
//
|
|
3638
|
+
// ../zrender/src/tool/color.ts
|
|
3639
3639
|
var kCSSColorTable = {
|
|
3640
3640
|
transparent: [0, 0, 0, 0],
|
|
3641
3641
|
aliceblue: [240, 248, 255, 1],
|
|
@@ -4119,7 +4119,7 @@ function liftColor(color2) {
|
|
|
4119
4119
|
return color2;
|
|
4120
4120
|
}
|
|
4121
4121
|
|
|
4122
|
-
//
|
|
4122
|
+
// ../zrender/src/svg/helper.ts
|
|
4123
4123
|
var mathRound = Math.round;
|
|
4124
4124
|
function normalizeColor(color2) {
|
|
4125
4125
|
let opacity;
|
|
@@ -4247,7 +4247,7 @@ var encodeBase64 = function() {
|
|
|
4247
4247
|
};
|
|
4248
4248
|
}();
|
|
4249
4249
|
|
|
4250
|
-
//
|
|
4250
|
+
// ../zrender/src/animation/Animator.ts
|
|
4251
4251
|
var arraySlice = Array.prototype.slice;
|
|
4252
4252
|
function interpolateNumber(p0, p1, percent) {
|
|
4253
4253
|
return (p1 - p0) * percent + p0;
|
|
@@ -4934,7 +4934,7 @@ var Animator = class {
|
|
|
4934
4934
|
};
|
|
4935
4935
|
var Animator_default = Animator;
|
|
4936
4936
|
|
|
4937
|
-
//
|
|
4937
|
+
// ../zrender/src/animation/Animation.ts
|
|
4938
4938
|
function getTime() {
|
|
4939
4939
|
return new Date().getTime();
|
|
4940
4940
|
}
|
|
@@ -5072,7 +5072,7 @@ var Animation = class extends Eventful_default {
|
|
|
5072
5072
|
};
|
|
5073
5073
|
var Animation_default = Animation;
|
|
5074
5074
|
|
|
5075
|
-
//
|
|
5075
|
+
// ../zrender/src/dom/HandlerProxy.ts
|
|
5076
5076
|
var TOUCH_CLICK_DELAY = 300;
|
|
5077
5077
|
var globalEventSupported = env_default.domSupported;
|
|
5078
5078
|
var localNativeListenerNames = function() {
|
|
@@ -5362,7 +5362,7 @@ var HandlerDomProxy = class extends Eventful_default {
|
|
|
5362
5362
|
};
|
|
5363
5363
|
var HandlerProxy_default = HandlerDomProxy;
|
|
5364
5364
|
|
|
5365
|
-
//
|
|
5365
|
+
// ../zrender/src/config.ts
|
|
5366
5366
|
var dpr = 1;
|
|
5367
5367
|
if (env_default.hasGlobalWindow) {
|
|
5368
5368
|
dpr = Math.max(window.devicePixelRatio || window.screen && window.screen.deviceXDPI / window.screen.logicalXDPI || 1, 1);
|
|
@@ -5373,7 +5373,7 @@ var DARK_LABEL_COLOR = "#333";
|
|
|
5373
5373
|
var LIGHT_LABEL_COLOR = "#ccc";
|
|
5374
5374
|
var LIGHTER_LABEL_COLOR = "#eee";
|
|
5375
5375
|
|
|
5376
|
-
//
|
|
5376
|
+
// ../zrender/src/core/Transformable.ts
|
|
5377
5377
|
var mIdentity = identity;
|
|
5378
5378
|
var EPSILON3 = 5e-5;
|
|
5379
5379
|
function isNotAroundZero2(val) {
|
|
@@ -5603,7 +5603,7 @@ function copyTransform(target, source) {
|
|
|
5603
5603
|
}
|
|
5604
5604
|
var Transformable_default = Transformable;
|
|
5605
5605
|
|
|
5606
|
-
//
|
|
5606
|
+
// ../zrender/src/contain/text.ts
|
|
5607
5607
|
var textWidthCache = {};
|
|
5608
5608
|
function getWidth(text, font) {
|
|
5609
5609
|
font = font || DEFAULT_FONT;
|
|
@@ -5765,7 +5765,7 @@ function calculateTextPosition(out2, opts, rect) {
|
|
|
5765
5765
|
return out2;
|
|
5766
5766
|
}
|
|
5767
5767
|
|
|
5768
|
-
//
|
|
5768
|
+
// ../zrender/src/Element.ts
|
|
5769
5769
|
var PRESERVED_NORMAL_STATE = "__zr_normal__";
|
|
5770
5770
|
var PRIMARY_STATES_KEYS = TRANSFORMABLE_PROPS.concat(["ignore"]);
|
|
5771
5771
|
var DEFAULT_ANIMATABLE_MAP = reduce(TRANSFORMABLE_PROPS, (obj, key) => {
|
|
@@ -6755,7 +6755,7 @@ function animateToShallow(animatable, topKey, animateObj, target, cfg, animation
|
|
|
6755
6755
|
}
|
|
6756
6756
|
var Element_default = Element;
|
|
6757
6757
|
|
|
6758
|
-
//
|
|
6758
|
+
// ../zrender/src/graphic/Group.ts
|
|
6759
6759
|
var Group = class extends Element_default {
|
|
6760
6760
|
constructor(opts) {
|
|
6761
6761
|
super();
|
|
@@ -6927,7 +6927,7 @@ var Group = class extends Element_default {
|
|
|
6927
6927
|
Group.prototype.type = "group";
|
|
6928
6928
|
var Group_default = Group;
|
|
6929
6929
|
|
|
6930
|
-
//
|
|
6930
|
+
// ../zrender/src/zrender.ts
|
|
6931
6931
|
/*!
|
|
6932
6932
|
* ZRender, a high performance 2d drawing library.
|
|
6933
6933
|
*
|
|
@@ -7244,7 +7244,7 @@ function getElementSSRData(el) {
|
|
|
7244
7244
|
function registerSSRDataGetter(getter) {
|
|
7245
7245
|
ssrDataGetter = getter;
|
|
7246
7246
|
}
|
|
7247
|
-
var version = "5.6.
|
|
7247
|
+
var version = "5.6.92";
|
|
7248
7248
|
|
|
7249
7249
|
// src/util/number.ts
|
|
7250
7250
|
var RADIAN_EPSILON = 1e-4;
|
|
@@ -8252,7 +8252,7 @@ var AreaStyleMixin = class {
|
|
|
8252
8252
|
}
|
|
8253
8253
|
};
|
|
8254
8254
|
|
|
8255
|
-
//
|
|
8255
|
+
// ../zrender/src/graphic/helper/image.ts
|
|
8256
8256
|
var globalImageCache = new LRU_default(50);
|
|
8257
8257
|
function findExistImage(newImageOrSrc) {
|
|
8258
8258
|
if (typeof newImageOrSrc === "string") {
|
|
@@ -8302,7 +8302,7 @@ function isImageReady(image) {
|
|
|
8302
8302
|
return image && image.width && image.height;
|
|
8303
8303
|
}
|
|
8304
8304
|
|
|
8305
|
-
//
|
|
8305
|
+
// ../zrender/src/graphic/helper/parseText.ts
|
|
8306
8306
|
var STYLE_REG = /\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;
|
|
8307
8307
|
function truncateText(text, containerWidth, font, ellipsis, options) {
|
|
8308
8308
|
if (!containerWidth) {
|
|
@@ -8736,7 +8736,7 @@ function wrapText(text, font, lineWidth, isBreakAll, lastAccumWidth) {
|
|
|
8736
8736
|
};
|
|
8737
8737
|
}
|
|
8738
8738
|
|
|
8739
|
-
//
|
|
8739
|
+
// ../zrender/src/graphic/Displayable.ts
|
|
8740
8740
|
var STYLE_MAGIC_KEY = "__zr_style_" + Math.round(Math.random() * 10);
|
|
8741
8741
|
var DEFAULT_COMMON_STYLE = {
|
|
8742
8742
|
shadowBlur: 0,
|
|
@@ -9042,7 +9042,7 @@ function isDisplayableCulled(el, width, height) {
|
|
|
9042
9042
|
}
|
|
9043
9043
|
var Displayable_default = Displayable;
|
|
9044
9044
|
|
|
9045
|
-
//
|
|
9045
|
+
// ../zrender/src/core/bbox.ts
|
|
9046
9046
|
var mathMin2 = Math.min;
|
|
9047
9047
|
var mathMax2 = Math.max;
|
|
9048
9048
|
var mathSin = Math.sin;
|
|
@@ -9165,7 +9165,7 @@ function fromArc(x, y, rx, ry, startAngle, endAngle, anticlockwise, min3, max3)
|
|
|
9165
9165
|
}
|
|
9166
9166
|
}
|
|
9167
9167
|
|
|
9168
|
-
//
|
|
9168
|
+
// ../zrender/src/core/PathProxy.ts
|
|
9169
9169
|
var CMD = {
|
|
9170
9170
|
M: 1,
|
|
9171
9171
|
L: 2,
|
|
@@ -9918,7 +9918,7 @@ PathProxy.initDefaultProps = function() {
|
|
|
9918
9918
|
}();
|
|
9919
9919
|
var PathProxy_default = PathProxy;
|
|
9920
9920
|
|
|
9921
|
-
//
|
|
9921
|
+
// ../zrender/src/contain/line.ts
|
|
9922
9922
|
function containStroke(x0, y0, x1, y1, lineWidth, x, y) {
|
|
9923
9923
|
if (lineWidth === 0) {
|
|
9924
9924
|
return false;
|
|
@@ -9940,7 +9940,7 @@ function containStroke(x0, y0, x1, y1, lineWidth, x, y) {
|
|
|
9940
9940
|
return _s <= _l / 2 * _l / 2;
|
|
9941
9941
|
}
|
|
9942
9942
|
|
|
9943
|
-
//
|
|
9943
|
+
// ../zrender/src/contain/cubic.ts
|
|
9944
9944
|
function containStroke2(x0, y0, x1, y1, x2, y2, x3, y3, lineWidth, x, y) {
|
|
9945
9945
|
if (lineWidth === 0) {
|
|
9946
9946
|
return false;
|
|
@@ -9953,7 +9953,7 @@ function containStroke2(x0, y0, x1, y1, x2, y2, x3, y3, lineWidth, x, y) {
|
|
|
9953
9953
|
return d <= _l / 2;
|
|
9954
9954
|
}
|
|
9955
9955
|
|
|
9956
|
-
//
|
|
9956
|
+
// ../zrender/src/contain/quadratic.ts
|
|
9957
9957
|
function containStroke3(x0, y0, x1, y1, x2, y2, lineWidth, x, y) {
|
|
9958
9958
|
if (lineWidth === 0) {
|
|
9959
9959
|
return false;
|
|
@@ -9966,7 +9966,7 @@ function containStroke3(x0, y0, x1, y1, x2, y2, lineWidth, x, y) {
|
|
|
9966
9966
|
return d <= _l / 2;
|
|
9967
9967
|
}
|
|
9968
9968
|
|
|
9969
|
-
//
|
|
9969
|
+
// ../zrender/src/contain/util.ts
|
|
9970
9970
|
var PI23 = Math.PI * 2;
|
|
9971
9971
|
function normalizeRadian(angle) {
|
|
9972
9972
|
angle %= PI23;
|
|
@@ -9976,7 +9976,7 @@ function normalizeRadian(angle) {
|
|
|
9976
9976
|
return angle;
|
|
9977
9977
|
}
|
|
9978
9978
|
|
|
9979
|
-
//
|
|
9979
|
+
// ../zrender/src/contain/arc.ts
|
|
9980
9980
|
var PI24 = Math.PI * 2;
|
|
9981
9981
|
function containStroke4(cx, cy, r, startAngle, endAngle, anticlockwise, lineWidth, x, y) {
|
|
9982
9982
|
if (lineWidth === 0) {
|
|
@@ -10010,7 +10010,7 @@ function containStroke4(cx, cy, r, startAngle, endAngle, anticlockwise, lineWidt
|
|
|
10010
10010
|
return angle >= startAngle && angle <= endAngle || angle + PI24 >= startAngle && angle + PI24 <= endAngle;
|
|
10011
10011
|
}
|
|
10012
10012
|
|
|
10013
|
-
//
|
|
10013
|
+
// ../zrender/src/contain/windingLine.ts
|
|
10014
10014
|
function windingLine(x0, y0, x1, y1, x, y) {
|
|
10015
10015
|
if (y > y0 && y > y1 || y < y0 && y < y1) {
|
|
10016
10016
|
return 0;
|
|
@@ -10027,7 +10027,7 @@ function windingLine(x0, y0, x1, y1, x, y) {
|
|
|
10027
10027
|
return x_ === x ? Infinity : x_ > x ? dir3 : 0;
|
|
10028
10028
|
}
|
|
10029
10029
|
|
|
10030
|
-
//
|
|
10030
|
+
// ../zrender/src/contain/path.ts
|
|
10031
10031
|
var CMD2 = PathProxy_default.CMD;
|
|
10032
10032
|
var PI25 = Math.PI * 2;
|
|
10033
10033
|
var EPSILON4 = 1e-4;
|
|
@@ -10313,7 +10313,7 @@ function containStroke5(pathProxy, lineWidth, x, y) {
|
|
|
10313
10313
|
return containPath(pathProxy, lineWidth, true, x, y);
|
|
10314
10314
|
}
|
|
10315
10315
|
|
|
10316
|
-
//
|
|
10316
|
+
// ../zrender/src/graphic/Path.ts
|
|
10317
10317
|
var DEFAULT_PATH_STYLE = defaults({
|
|
10318
10318
|
fill: "#000",
|
|
10319
10319
|
stroke: null,
|
|
@@ -10690,7 +10690,7 @@ Path.initDefaultProps = function() {
|
|
|
10690
10690
|
}();
|
|
10691
10691
|
var Path_default = Path;
|
|
10692
10692
|
|
|
10693
|
-
//
|
|
10693
|
+
// ../zrender/src/graphic/TSpan.ts
|
|
10694
10694
|
var DEFAULT_TSPAN_STYLE = defaults({
|
|
10695
10695
|
strokeFirst: true,
|
|
10696
10696
|
font: DEFAULT_FONT,
|
|
@@ -10745,7 +10745,7 @@ TSpan.initDefaultProps = function() {
|
|
|
10745
10745
|
TSpan.prototype.type = "tspan";
|
|
10746
10746
|
var TSpan_default = TSpan;
|
|
10747
10747
|
|
|
10748
|
-
//
|
|
10748
|
+
// ../zrender/src/graphic/Image.ts
|
|
10749
10749
|
var DEFAULT_IMAGE_STYLE = defaults({
|
|
10750
10750
|
x: 0,
|
|
10751
10751
|
y: 0
|
|
@@ -10807,7 +10807,7 @@ var ZRImage = class extends Displayable_default {
|
|
|
10807
10807
|
ZRImage.prototype.type = "image";
|
|
10808
10808
|
var Image_default = ZRImage;
|
|
10809
10809
|
|
|
10810
|
-
//
|
|
10810
|
+
// ../zrender/src/graphic/helper/roundRect.ts
|
|
10811
10811
|
function buildPath(ctx2, shape) {
|
|
10812
10812
|
let x = shape.x;
|
|
10813
10813
|
let y = shape.y;
|
|
@@ -10879,7 +10879,7 @@ function buildPath(ctx2, shape) {
|
|
|
10879
10879
|
r1 !== 0 && ctx2.arc(x + r1, y + r1, r1, Math.PI, Math.PI * 1.5);
|
|
10880
10880
|
}
|
|
10881
10881
|
|
|
10882
|
-
//
|
|
10882
|
+
// ../zrender/src/graphic/helper/subPixelOptimize.ts
|
|
10883
10883
|
var round2 = Math.round;
|
|
10884
10884
|
function subPixelOptimizeLine(outputShape, inputShape, style) {
|
|
10885
10885
|
if (!inputShape) {
|
|
@@ -10935,7 +10935,7 @@ function subPixelOptimize(position2, lineWidth, positiveOrNegative) {
|
|
|
10935
10935
|
return (doubledPosition + round2(lineWidth)) % 2 === 0 ? doubledPosition / 2 : (doubledPosition + (positiveOrNegative ? 1 : -1)) / 2;
|
|
10936
10936
|
}
|
|
10937
10937
|
|
|
10938
|
-
//
|
|
10938
|
+
// ../zrender/src/graphic/shape/Rect.ts
|
|
10939
10939
|
var RectShape = class {
|
|
10940
10940
|
constructor() {
|
|
10941
10941
|
this.x = 0;
|
|
@@ -10984,7 +10984,7 @@ var Rect = class extends Path_default {
|
|
|
10984
10984
|
Rect.prototype.type = "rect";
|
|
10985
10985
|
var Rect_default = Rect;
|
|
10986
10986
|
|
|
10987
|
-
//
|
|
10987
|
+
// ../zrender/src/graphic/Text.ts
|
|
10988
10988
|
var DEFAULT_RICH_TEXT_COLOR = {
|
|
10989
10989
|
fill: "#000"
|
|
10990
10990
|
};
|
|
@@ -12253,7 +12253,7 @@ __export(graphic_exports, {
|
|
|
12253
12253
|
updateProps: () => updateProps
|
|
12254
12254
|
});
|
|
12255
12255
|
|
|
12256
|
-
//
|
|
12256
|
+
// ../zrender/src/tool/transformPath.ts
|
|
12257
12257
|
var CMD3 = PathProxy_default.CMD;
|
|
12258
12258
|
var points = [[], [], []];
|
|
12259
12259
|
var mathSqrt2 = Math.sqrt;
|
|
@@ -12344,7 +12344,7 @@ function transformPath(path, m2) {
|
|
|
12344
12344
|
path.increaseVersion();
|
|
12345
12345
|
}
|
|
12346
12346
|
|
|
12347
|
-
//
|
|
12347
|
+
// ../zrender/src/tool/path.ts
|
|
12348
12348
|
var mathSqrt3 = Math.sqrt;
|
|
12349
12349
|
var mathSin3 = Math.sin;
|
|
12350
12350
|
var mathCos3 = Math.cos;
|
|
@@ -12689,7 +12689,7 @@ function clonePath(sourcePath, opts) {
|
|
|
12689
12689
|
return path;
|
|
12690
12690
|
}
|
|
12691
12691
|
|
|
12692
|
-
//
|
|
12692
|
+
// ../zrender/src/graphic/shape/Circle.ts
|
|
12693
12693
|
var CircleShape = class {
|
|
12694
12694
|
constructor() {
|
|
12695
12695
|
this.cx = 0;
|
|
@@ -12712,7 +12712,7 @@ var Circle = class extends Path_default {
|
|
|
12712
12712
|
Circle.prototype.type = "circle";
|
|
12713
12713
|
var Circle_default = Circle;
|
|
12714
12714
|
|
|
12715
|
-
//
|
|
12715
|
+
// ../zrender/src/graphic/shape/Ellipse.ts
|
|
12716
12716
|
var EllipseShape = class {
|
|
12717
12717
|
constructor() {
|
|
12718
12718
|
this.cx = 0;
|
|
@@ -12747,7 +12747,7 @@ var Ellipse = class extends Path_default {
|
|
|
12747
12747
|
Ellipse.prototype.type = "ellipse";
|
|
12748
12748
|
var Ellipse_default = Ellipse;
|
|
12749
12749
|
|
|
12750
|
-
//
|
|
12750
|
+
// ../zrender/src/graphic/helper/roundSector.ts
|
|
12751
12751
|
var PI4 = Math.PI;
|
|
12752
12752
|
var PI26 = PI4 * 2;
|
|
12753
12753
|
var mathSin4 = Math.sin;
|
|
@@ -12962,7 +12962,7 @@ function buildPath2(ctx2, shape) {
|
|
|
12962
12962
|
ctx2.closePath();
|
|
12963
12963
|
}
|
|
12964
12964
|
|
|
12965
|
-
//
|
|
12965
|
+
// ../zrender/src/graphic/shape/Sector.ts
|
|
12966
12966
|
var SectorShape = class {
|
|
12967
12967
|
constructor() {
|
|
12968
12968
|
this.cx = 0;
|
|
@@ -12992,7 +12992,7 @@ var Sector = class extends Path_default {
|
|
|
12992
12992
|
Sector.prototype.type = "sector";
|
|
12993
12993
|
var Sector_default = Sector;
|
|
12994
12994
|
|
|
12995
|
-
//
|
|
12995
|
+
// ../zrender/src/graphic/shape/Ring.ts
|
|
12996
12996
|
var RingShape = class {
|
|
12997
12997
|
constructor() {
|
|
12998
12998
|
this.cx = 0;
|
|
@@ -13021,7 +13021,7 @@ var Ring = class extends Path_default {
|
|
|
13021
13021
|
Ring.prototype.type = "ring";
|
|
13022
13022
|
var Ring_default = Ring;
|
|
13023
13023
|
|
|
13024
|
-
//
|
|
13024
|
+
// ../zrender/src/graphic/helper/smoothBezier.ts
|
|
13025
13025
|
function smoothBezier(points4, smooth, isLoop, constraint) {
|
|
13026
13026
|
const cps = [];
|
|
13027
13027
|
const v = [];
|
|
@@ -13083,7 +13083,7 @@ function smoothBezier(points4, smooth, isLoop, constraint) {
|
|
|
13083
13083
|
return cps;
|
|
13084
13084
|
}
|
|
13085
13085
|
|
|
13086
|
-
//
|
|
13086
|
+
// ../zrender/src/graphic/helper/poly.ts
|
|
13087
13087
|
function buildPath3(ctx2, shape, closePath) {
|
|
13088
13088
|
const smooth = shape.smooth;
|
|
13089
13089
|
let points4 = shape.points;
|
|
@@ -13108,7 +13108,7 @@ function buildPath3(ctx2, shape, closePath) {
|
|
|
13108
13108
|
}
|
|
13109
13109
|
}
|
|
13110
13110
|
|
|
13111
|
-
//
|
|
13111
|
+
// ../zrender/src/graphic/shape/Polygon.ts
|
|
13112
13112
|
var PolygonShape = class {
|
|
13113
13113
|
constructor() {
|
|
13114
13114
|
this.points = null;
|
|
@@ -13130,7 +13130,7 @@ var Polygon = class extends Path_default {
|
|
|
13130
13130
|
Polygon.prototype.type = "polygon";
|
|
13131
13131
|
var Polygon_default = Polygon;
|
|
13132
13132
|
|
|
13133
|
-
//
|
|
13133
|
+
// ../zrender/src/graphic/shape/Polyline.ts
|
|
13134
13134
|
var PolylineShape = class {
|
|
13135
13135
|
constructor() {
|
|
13136
13136
|
this.points = null;
|
|
@@ -13159,7 +13159,7 @@ var Polyline = class extends Path_default {
|
|
|
13159
13159
|
Polyline.prototype.type = "polyline";
|
|
13160
13160
|
var Polyline_default = Polyline;
|
|
13161
13161
|
|
|
13162
|
-
//
|
|
13162
|
+
// ../zrender/src/graphic/shape/Line.ts
|
|
13163
13163
|
var subPixelOptimizeOutputShape2 = {};
|
|
13164
13164
|
var LineShape = class {
|
|
13165
13165
|
constructor() {
|
|
@@ -13222,7 +13222,7 @@ var Line = class extends Path_default {
|
|
|
13222
13222
|
Line.prototype.type = "line";
|
|
13223
13223
|
var Line_default = Line;
|
|
13224
13224
|
|
|
13225
|
-
//
|
|
13225
|
+
// ../zrender/src/graphic/shape/BezierCurve.ts
|
|
13226
13226
|
var out = [];
|
|
13227
13227
|
var BezierCurveShape = class {
|
|
13228
13228
|
constructor() {
|
|
@@ -13312,7 +13312,7 @@ var BezierCurve = class extends Path_default {
|
|
|
13312
13312
|
BezierCurve.prototype.type = "bezier-curve";
|
|
13313
13313
|
var BezierCurve_default = BezierCurve;
|
|
13314
13314
|
|
|
13315
|
-
//
|
|
13315
|
+
// ../zrender/src/graphic/shape/Arc.ts
|
|
13316
13316
|
var ArcShape = class {
|
|
13317
13317
|
constructor() {
|
|
13318
13318
|
this.cx = 0;
|
|
@@ -13352,7 +13352,7 @@ var Arc = class extends Path_default {
|
|
|
13352
13352
|
Arc.prototype.type = "arc";
|
|
13353
13353
|
var Arc_default = Arc;
|
|
13354
13354
|
|
|
13355
|
-
//
|
|
13355
|
+
// ../zrender/src/graphic/CompoundPath.ts
|
|
13356
13356
|
var CompoundPath = class extends Path_default {
|
|
13357
13357
|
constructor() {
|
|
13358
13358
|
super(...arguments);
|
|
@@ -13398,7 +13398,7 @@ var CompoundPath = class extends Path_default {
|
|
|
13398
13398
|
};
|
|
13399
13399
|
var CompoundPath_default = CompoundPath;
|
|
13400
13400
|
|
|
13401
|
-
//
|
|
13401
|
+
// ../zrender/src/graphic/Gradient.ts
|
|
13402
13402
|
var Gradient = class {
|
|
13403
13403
|
constructor(colorStops) {
|
|
13404
13404
|
this.colorStops = colorStops || [];
|
|
@@ -13412,7 +13412,7 @@ var Gradient = class {
|
|
|
13412
13412
|
};
|
|
13413
13413
|
var Gradient_default = Gradient;
|
|
13414
13414
|
|
|
13415
|
-
//
|
|
13415
|
+
// ../zrender/src/graphic/LinearGradient.ts
|
|
13416
13416
|
var LinearGradient = class extends Gradient_default {
|
|
13417
13417
|
constructor(x, y, x2, y2, colorStops, globalCoord) {
|
|
13418
13418
|
super(colorStops);
|
|
@@ -13426,7 +13426,7 @@ var LinearGradient = class extends Gradient_default {
|
|
|
13426
13426
|
};
|
|
13427
13427
|
var LinearGradient_default = LinearGradient;
|
|
13428
13428
|
|
|
13429
|
-
//
|
|
13429
|
+
// ../zrender/src/graphic/RadialGradient.ts
|
|
13430
13430
|
var RadialGradient = class extends Gradient_default {
|
|
13431
13431
|
constructor(x, y, r, colorStops, globalCoord) {
|
|
13432
13432
|
super(colorStops);
|
|
@@ -13439,7 +13439,7 @@ var RadialGradient = class extends Gradient_default {
|
|
|
13439
13439
|
};
|
|
13440
13440
|
var RadialGradient_default = RadialGradient;
|
|
13441
13441
|
|
|
13442
|
-
//
|
|
13442
|
+
// ../zrender/src/core/OrientedBoundingRect.ts
|
|
13443
13443
|
var extent = [0, 0];
|
|
13444
13444
|
var extent2 = [0, 0];
|
|
13445
13445
|
var minTv2 = new Point_default();
|
|
@@ -13556,7 +13556,7 @@ var OrientedBoundingRect = class {
|
|
|
13556
13556
|
};
|
|
13557
13557
|
var OrientedBoundingRect_default = OrientedBoundingRect;
|
|
13558
13558
|
|
|
13559
|
-
//
|
|
13559
|
+
// ../zrender/src/graphic/IncrementalDisplayable.ts
|
|
13560
13560
|
var m = [];
|
|
13561
13561
|
var IncrementalDisplayable = class extends Displayable_default {
|
|
13562
13562
|
constructor() {
|
|
@@ -21996,7 +21996,7 @@ function findEventDispatcher(target, det, returnFirstMatch) {
|
|
|
21996
21996
|
return found;
|
|
21997
21997
|
}
|
|
21998
21998
|
|
|
21999
|
-
//
|
|
21999
|
+
// ../zrender/src/core/WeakMap.ts
|
|
22000
22000
|
var wmUniqueIndex = Math.round(Math.random() * 9);
|
|
22001
22001
|
var supportDefineProperty = typeof Object.defineProperty === "function";
|
|
22002
22002
|
var WeakMap = class {
|
|
@@ -23012,7 +23012,7 @@ function normalizeSymbolOffset(symbolOffset, symbolSize) {
|
|
|
23012
23012
|
];
|
|
23013
23013
|
}
|
|
23014
23014
|
|
|
23015
|
-
//
|
|
23015
|
+
// ../zrender/src/canvas/helper.ts
|
|
23016
23016
|
function isSafeNum(num) {
|
|
23017
23017
|
return isFinite(num);
|
|
23018
23018
|
}
|
|
@@ -23089,7 +23089,7 @@ function getSize(root, whIdx, opts) {
|
|
|
23089
23089
|
return (root[cwh] || parseInt10(stl[wh]) || parseInt10(root.style[wh])) - (parseInt10(stl[plt]) || 0) - (parseInt10(stl[prb]) || 0) | 0;
|
|
23090
23090
|
}
|
|
23091
23091
|
|
|
23092
|
-
//
|
|
23092
|
+
// ../zrender/src/canvas/dashStyle.ts
|
|
23093
23093
|
function normalizeLineDash(lineType, lineWidth) {
|
|
23094
23094
|
if (!lineType || lineType === "solid" || !(lineWidth > 0)) {
|
|
23095
23095
|
return null;
|
|
@@ -23112,7 +23112,7 @@ function getLineDash(el) {
|
|
|
23112
23112
|
return [lineDash, lineDashOffset];
|
|
23113
23113
|
}
|
|
23114
23114
|
|
|
23115
|
-
//
|
|
23115
|
+
// ../zrender/src/canvas/graphic.ts
|
|
23116
23116
|
var pathProxyForDraw = new PathProxy_default(true);
|
|
23117
23117
|
function styleHasStroke(style) {
|
|
23118
23118
|
const stroke = style.stroke;
|
|
@@ -30062,7 +30062,7 @@ function createTextStyle2(textStyleModel, opts) {
|
|
|
30062
30062
|
return createTextStyle(textStyleModel, null, null, opts.state !== "normal");
|
|
30063
30063
|
}
|
|
30064
30064
|
|
|
30065
|
-
//
|
|
30065
|
+
// ../zrender/src/contain/polygon.ts
|
|
30066
30066
|
var EPSILON5 = 1e-8;
|
|
30067
30067
|
function isAroundEqual2(a, b) {
|
|
30068
30068
|
return Math.abs(a - b) < EPSILON5;
|
|
@@ -32072,7 +32072,7 @@ function installLabelLayout(registers) {
|
|
|
32072
32072
|
});
|
|
32073
32073
|
}
|
|
32074
32074
|
|
|
32075
|
-
//
|
|
32075
|
+
// ../zrender/src/svg/SVGPathRebuilder.ts
|
|
32076
32076
|
var mathSin5 = Math.sin;
|
|
32077
32077
|
var mathCos5 = Math.cos;
|
|
32078
32078
|
var PI6 = Math.PI;
|
|
@@ -32169,7 +32169,7 @@ var SVGPathRebuilder = class {
|
|
|
32169
32169
|
};
|
|
32170
32170
|
var SVGPathRebuilder_default = SVGPathRebuilder;
|
|
32171
32171
|
|
|
32172
|
-
//
|
|
32172
|
+
// ../zrender/src/svg/mapStyleToAttrs.ts
|
|
32173
32173
|
var NONE = "none";
|
|
32174
32174
|
var mathRound2 = Math.round;
|
|
32175
32175
|
function pathHasFill(style) {
|
|
@@ -32238,7 +32238,7 @@ function mapStyleToAttrs(updateAttr2, style, el, forceUpdate) {
|
|
|
32238
32238
|
}
|
|
32239
32239
|
}
|
|
32240
32240
|
|
|
32241
|
-
//
|
|
32241
|
+
// ../zrender/src/svg/core.ts
|
|
32242
32242
|
var SVGNS = "http://www.w3.org/2000/svg";
|
|
32243
32243
|
var XLINKNS = "http://www.w3.org/1999/xlink";
|
|
32244
32244
|
var XMLNS = "http://www.w3.org/2000/xmlns/";
|
|
@@ -32340,13 +32340,13 @@ function createSVGVNode(width, height, children, useViewBox) {
|
|
|
32340
32340
|
}, children);
|
|
32341
32341
|
}
|
|
32342
32342
|
|
|
32343
|
-
//
|
|
32343
|
+
// ../zrender/src/svg/cssClassId.ts
|
|
32344
32344
|
var cssClassIdx = 0;
|
|
32345
32345
|
function getClassId() {
|
|
32346
32346
|
return cssClassIdx++;
|
|
32347
32347
|
}
|
|
32348
32348
|
|
|
32349
|
-
//
|
|
32349
|
+
// ../zrender/src/svg/cssAnimation.ts
|
|
32350
32350
|
var EASING_MAP = {
|
|
32351
32351
|
cubicIn: "0.32,0,0.67,0",
|
|
32352
32352
|
cubicOut: "0.33,1,0.68,1",
|
|
@@ -32607,7 +32607,7 @@ function createCSSAnimation(el, attrs, scope, onlyShape) {
|
|
|
32607
32607
|
}
|
|
32608
32608
|
}
|
|
32609
32609
|
|
|
32610
|
-
//
|
|
32610
|
+
// ../zrender/src/svg/cssEmphasis.ts
|
|
32611
32611
|
function createCSSEmphasis(el, attrs, scope) {
|
|
32612
32612
|
if (!el.ignore) {
|
|
32613
32613
|
if (el.isSilent()) {
|
|
@@ -32658,7 +32658,7 @@ function setClassAttribute(style, attrs, scope, withHover) {
|
|
|
32658
32658
|
attrs.class = attrs.class ? attrs.class + " " + className : className;
|
|
32659
32659
|
}
|
|
32660
32660
|
|
|
32661
|
-
//
|
|
32661
|
+
// ../zrender/src/svg/graphic.ts
|
|
32662
32662
|
var round5 = Math.round;
|
|
32663
32663
|
function isImageLike2(val) {
|
|
32664
32664
|
return val && isString(val.src);
|
|
@@ -33092,7 +33092,7 @@ function setClipPath(clipPath, attrs, scope) {
|
|
|
33092
33092
|
attrs["clip-path"] = getIdURL(clipPathId);
|
|
33093
33093
|
}
|
|
33094
33094
|
|
|
33095
|
-
//
|
|
33095
|
+
// ../zrender/src/svg/domapi.ts
|
|
33096
33096
|
function createTextNode(text) {
|
|
33097
33097
|
return document.createTextNode(text);
|
|
33098
33098
|
}
|
|
@@ -33115,7 +33115,7 @@ function setTextContent(node, text) {
|
|
|
33115
33115
|
node.textContent = text;
|
|
33116
33116
|
}
|
|
33117
33117
|
|
|
33118
|
-
//
|
|
33118
|
+
// ../zrender/src/svg/patch.ts
|
|
33119
33119
|
var colonChar = 58;
|
|
33120
33120
|
var xChar = 120;
|
|
33121
33121
|
var emptyNode = createVNode("", "");
|
|
@@ -33341,7 +33341,7 @@ function patch(oldVnode, vnode) {
|
|
|
33341
33341
|
return vnode;
|
|
33342
33342
|
}
|
|
33343
33343
|
|
|
33344
|
-
//
|
|
33344
|
+
// ../zrender/src/svg/Painter.ts
|
|
33345
33345
|
var svgId = 0;
|
|
33346
33346
|
var SVGPainter = class {
|
|
33347
33347
|
constructor(root, storage2, opts) {
|
|
@@ -33584,7 +33584,7 @@ function install(registers) {
|
|
|
33584
33584
|
registers.registerPainter("svg", Painter_default);
|
|
33585
33585
|
}
|
|
33586
33586
|
|
|
33587
|
-
//
|
|
33587
|
+
// ../zrender/src/canvas/Layer.ts
|
|
33588
33588
|
function createDom(id, painter, horizontalPixelRatio, verticalPixelRatio) {
|
|
33589
33589
|
const newDom = platformApi.createCanvas();
|
|
33590
33590
|
const width = painter.getWidth();
|
|
@@ -33883,7 +33883,7 @@ var Layer = class extends Eventful_default {
|
|
|
33883
33883
|
};
|
|
33884
33884
|
var Layer_default = Layer;
|
|
33885
33885
|
|
|
33886
|
-
//
|
|
33886
|
+
// ../zrender/src/canvas/Painter.ts
|
|
33887
33887
|
var HOVER_LAYER_ZLEVEL = 1e5;
|
|
33888
33888
|
var CANVAS_ZLEVEL = 314159;
|
|
33889
33889
|
var EL_AFTER_INCREMENTAL_INC = 0.01;
|
|
@@ -42115,7 +42115,7 @@ function onIrrelevantElement(e2, api2, targetCoordSysModel) {
|
|
|
42115
42115
|
return model && model !== targetCoordSysModel && !IRRELEVANT_EXCLUDES.hasOwnProperty(model.mainType) && (coordSys && coordSys.model !== targetCoordSysModel);
|
|
42116
42116
|
}
|
|
42117
42117
|
|
|
42118
|
-
//
|
|
42118
|
+
// ../zrender/src/tool/parseXML.ts
|
|
42119
42119
|
function parseXML(svg) {
|
|
42120
42120
|
if (isString(svg)) {
|
|
42121
42121
|
const parser = new DOMParser();
|
|
@@ -42131,7 +42131,7 @@ function parseXML(svg) {
|
|
|
42131
42131
|
return svgNode;
|
|
42132
42132
|
}
|
|
42133
42133
|
|
|
42134
|
-
//
|
|
42134
|
+
// ../zrender/src/tool/parseSVG.ts
|
|
42135
42135
|
var nodeParsers;
|
|
42136
42136
|
var INHERITABLE_STYLE_ATTRIBUTES_MAP = {
|
|
42137
42137
|
fill: "fill",
|
|
@@ -81339,7 +81339,7 @@ function install76(registers) {
|
|
|
81339
81339
|
registers.registerComponentView(DatasetView);
|
|
81340
81340
|
}
|
|
81341
81341
|
|
|
81342
|
-
//
|
|
81342
|
+
// ../zrender/src/tool/convertPath.ts
|
|
81343
81343
|
var CMD5 = PathProxy_default.CMD;
|
|
81344
81344
|
function aroundEqual(a, b) {
|
|
81345
81345
|
return Math.abs(a - b) < 1e-5;
|
|
@@ -81539,7 +81539,7 @@ function pathToPolygons(path, scale4) {
|
|
|
81539
81539
|
return polygons;
|
|
81540
81540
|
}
|
|
81541
81541
|
|
|
81542
|
-
//
|
|
81542
|
+
// ../zrender/src/tool/dividePath.ts
|
|
81543
81543
|
function getDividingGrids(dimSize, rowDim, count2) {
|
|
81544
81544
|
const rowSize = dimSize[rowDim];
|
|
81545
81545
|
const columnSize = dimSize[1 - rowDim];
|
|
@@ -81841,7 +81841,7 @@ function split(path, count2) {
|
|
|
81841
81841
|
return out2;
|
|
81842
81842
|
}
|
|
81843
81843
|
|
|
81844
|
-
//
|
|
81844
|
+
// ../zrender/src/tool/morphPath.ts
|
|
81845
81845
|
function alignSubpath(subpath1, subpath2) {
|
|
81846
81846
|
const len1 = subpath1.length;
|
|
81847
81847
|
const len2 = subpath2.length;
|