提交 12820435 编写于 作者: S sushuang

release 3.8.4

上级 cc334de1
......@@ -10456,7 +10456,7 @@ var instances$1 = {}; // ZRender实例map索引
/**
* @type {string}
*/
var version$1 = '3.7.2';
var version$1 = '3.7.3';
/**
* Initializing a zrender instance
......@@ -20880,10 +20880,10 @@ var loadingDefault = function (api, opts) {
var each = each$1;
var parseClassType = ComponentModel.parseClassType;
var version = '3.8.3';
var version = '3.8.4';
var dependencies = {
zrender: '3.7.2'
zrender: '3.7.3'
};
var PRIORITY_PROCESSOR_FILTER = 1000;
......@@ -47452,10 +47452,13 @@ var svgTextDrawRectText = function (el, rect, textRect) {
var text = style.text;
// Convert to string
text != null && (text += '');
if (!text) {
if (text == null) {
// Draw no text only when text is set to null, but not ''
return;
}
else {
text += '';
}
var textSvgEl = el.__textSvgEl;
if (! textSvgEl) {
......@@ -48275,10 +48278,12 @@ inherits(ClippathManager, Definable);
* Update clipPath.
*
* @param {Displayable} displayable displayable element
* @param {SVGElement} svgElement SVG element of displayable
*/
ClippathManager.prototype.update = function (displayable, svgElement) {
this.updateDom(svgElement, displayable.__clipPaths, false);
ClippathManager.prototype.update = function (displayable) {
var svgEl = this.getSvgElement(displayable);
if (svgEl) {
this.updateDom(svgEl, displayable.__clipPaths, false);
}
var textEl = this.getTextSvgElement(displayable);
if (textEl) {
......@@ -48370,7 +48375,13 @@ ClippathManager.prototype.updateDom = function (
}
var pathEl = this.getSvgElement(clipPath);
clipPathEl.appendChild(pathEl);
/**
* Use `cloneNode()` here to appendChild to multiple parents,
* which may happend when Text and other shapes are using the same
* clipPath. Since Text will create an extra clipPath DOM due to
* different transform rules.
*/
clipPathEl.appendChild(pathEl.cloneNode());
parentEl.setAttribute('clip-path', 'url(#' + id + ')');
......@@ -48541,11 +48552,9 @@ SVGPainter.prototype = {
if (!displayable.invisible) {
if (displayable.__dirty) {
svgProxy && svgProxy.brush(displayable);
var el = getSvgElement(displayable)
|| getTextSvgElement(displayable);
// Update clipPath
this.clipPathManager.update(displayable, el);
this.clipPathManager.update(displayable);
// Update gradient
if (displayable.style) {
此差异已折叠。
......@@ -10456,7 +10456,7 @@ var instances$1 = {}; // ZRender实例map索引
/**
* @type {string}
*/
var version$1 = '3.7.2';
var version$1 = '3.7.3';
/**
* Initializing a zrender instance
......@@ -20946,10 +20946,10 @@ var loadingDefault = function (api, opts) {
var each = each$1;
var parseClassType = ComponentModel.parseClassType;
var version = '3.8.3';
var version = '3.8.4';
var dependencies = {
zrender: '3.7.2'
zrender: '3.7.3'
};
var PRIORITY_PROCESSOR_FILTER = 1000;
......@@ -73410,10 +73410,13 @@ var svgTextDrawRectText = function (el, rect, textRect) {
var text = style.text;
// Convert to string
text != null && (text += '');
if (!text) {
if (text == null) {
// Draw no text only when text is set to null, but not ''
return;
}
else {
text += '';
}
var textSvgEl = el.__textSvgEl;
if (! textSvgEl) {
......@@ -74233,10 +74236,12 @@ inherits(ClippathManager, Definable);
* Update clipPath.
*
* @param {Displayable} displayable displayable element
* @param {SVGElement} svgElement SVG element of displayable
*/
ClippathManager.prototype.update = function (displayable, svgElement) {
this.updateDom(svgElement, displayable.__clipPaths, false);
ClippathManager.prototype.update = function (displayable) {
var svgEl = this.getSvgElement(displayable);
if (svgEl) {
this.updateDom(svgEl, displayable.__clipPaths, false);
}
var textEl = this.getTextSvgElement(displayable);
if (textEl) {
......@@ -74328,7 +74333,13 @@ ClippathManager.prototype.updateDom = function (
}
var pathEl = this.getSvgElement(clipPath);
clipPathEl.appendChild(pathEl);
/**
* Use `cloneNode()` here to appendChild to multiple parents,
* which may happend when Text and other shapes are using the same
* clipPath. Since Text will create an extra clipPath DOM due to
* different transform rules.
*/
clipPathEl.appendChild(pathEl.cloneNode());
parentEl.setAttribute('clip-path', 'url(#' + id + ')');
......@@ -74499,11 +74510,9 @@ SVGPainter.prototype = {
if (!displayable.invisible) {
if (displayable.__dirty) {
svgProxy && svgProxy.brush(displayable);
var el = getSvgElement(displayable)
|| getTextSvgElement(displayable);
// Update clipPath
this.clipPathManager.update(displayable, el);
this.clipPathManager.update(displayable);
// Update gradient
if (displayable.style) {
此差异已折叠。
此差异已折叠。
......@@ -10160,7 +10160,7 @@ var painterCtors = {
/**
* @type {string}
*/
var version$1 = '3.7.2';
var version$1 = '3.7.3';
/**
* Initializing a zrender instance
......@@ -20320,10 +20320,10 @@ var loadingDefault = function (api, opts) {
var each = each$1;
var parseClassType = ComponentModel.parseClassType;
var version = '3.8.3';
var version = '3.8.4';
var dependencies = {
zrender: '3.7.2'
zrender: '3.7.3'
};
var PRIORITY_PROCESSOR_FILTER = 1000;
......
因为 它太大了无法显示 source diff 。你可以改为 查看blob
......@@ -10456,7 +10456,7 @@ var instances$1 = {}; // ZRender实例map索引
/**
* @type {string}
*/
var version$1 = '3.7.2';
var version$1 = '3.7.3';
/**
* Initializing a zrender instance
......@@ -20880,10 +20880,10 @@ var loadingDefault = function (api, opts) {
var each = each$1;
var parseClassType = ComponentModel.parseClassType;
var version = '3.8.3';
var version = '3.8.4';
var dependencies = {
zrender: '3.7.2'
zrender: '3.7.3'
};
var PRIORITY_PROCESSOR_FILTER = 1000;
......@@ -47452,10 +47452,13 @@ var svgTextDrawRectText = function (el, rect, textRect) {
var text = style.text;
// Convert to string
text != null && (text += '');
if (!text) {
if (text == null) {
// Draw no text only when text is set to null, but not ''
return;
}
else {
text += '';
}
var textSvgEl = el.__textSvgEl;
if (! textSvgEl) {
......@@ -48275,10 +48278,12 @@ inherits(ClippathManager, Definable);
* Update clipPath.
*
* @param {Displayable} displayable displayable element
* @param {SVGElement} svgElement SVG element of displayable
*/
ClippathManager.prototype.update = function (displayable, svgElement) {
this.updateDom(svgElement, displayable.__clipPaths, false);
ClippathManager.prototype.update = function (displayable) {
var svgEl = this.getSvgElement(displayable);
if (svgEl) {
this.updateDom(svgEl, displayable.__clipPaths, false);
}
var textEl = this.getTextSvgElement(displayable);
if (textEl) {
......@@ -48370,7 +48375,13 @@ ClippathManager.prototype.updateDom = function (
}
var pathEl = this.getSvgElement(clipPath);
clipPathEl.appendChild(pathEl);
/**
* Use `cloneNode()` here to appendChild to multiple parents,
* which may happend when Text and other shapes are using the same
* clipPath. Since Text will create an extra clipPath DOM due to
* different transform rules.
*/
clipPathEl.appendChild(pathEl.cloneNode());
parentEl.setAttribute('clip-path', 'url(#' + id + ')');
......@@ -48541,11 +48552,9 @@ SVGPainter.prototype = {
if (!displayable.invisible) {
if (displayable.__dirty) {
svgProxy && svgProxy.brush(displayable);
var el = getSvgElement(displayable)
|| getTextSvgElement(displayable);
// Update clipPath
this.clipPathManager.update(displayable, el);
this.clipPathManager.update(displayable);
// Update gradient
if (displayable.style) {
此差异已折叠。
......@@ -10456,7 +10456,7 @@ var instances$1 = {}; // ZRender实例map索引
/**
* @type {string}
*/
var version$1 = '3.7.2';
var version$1 = '3.7.3';
/**
* Initializing a zrender instance
......@@ -20946,10 +20946,10 @@ var loadingDefault = function (api, opts) {
var each = each$1;
var parseClassType = ComponentModel.parseClassType;
var version = '3.8.3';
var version = '3.8.4';
var dependencies = {
zrender: '3.7.2'
zrender: '3.7.3'
};
var PRIORITY_PROCESSOR_FILTER = 1000;
......@@ -73410,10 +73410,13 @@ var svgTextDrawRectText = function (el, rect, textRect) {
var text = style.text;
// Convert to string
text != null && (text += '');
if (!text) {
if (text == null) {
// Draw no text only when text is set to null, but not ''
return;
}
else {
text += '';
}
var textSvgEl = el.__textSvgEl;
if (! textSvgEl) {
......@@ -74233,10 +74236,12 @@ inherits(ClippathManager, Definable);
* Update clipPath.
*
* @param {Displayable} displayable displayable element
* @param {SVGElement} svgElement SVG element of displayable
*/
ClippathManager.prototype.update = function (displayable, svgElement) {
this.updateDom(svgElement, displayable.__clipPaths, false);
ClippathManager.prototype.update = function (displayable) {
var svgEl = this.getSvgElement(displayable);
if (svgEl) {
this.updateDom(svgEl, displayable.__clipPaths, false);
}
var textEl = this.getTextSvgElement(displayable);
if (textEl) {
......@@ -74328,7 +74333,13 @@ ClippathManager.prototype.updateDom = function (
}
var pathEl = this.getSvgElement(clipPath);
clipPathEl.appendChild(pathEl);
/**
* Use `cloneNode()` here to appendChild to multiple parents,
* which may happend when Text and other shapes are using the same
* clipPath. Since Text will create an extra clipPath DOM due to
* different transform rules.
*/
clipPathEl.appendChild(pathEl.cloneNode());
parentEl.setAttribute('clip-path', 'url(#' + id + ')');
......@@ -74499,11 +74510,9 @@ SVGPainter.prototype = {
if (!displayable.invisible) {
if (displayable.__dirty) {
svgProxy && svgProxy.brush(displayable);
var el = getSvgElement(displayable)
|| getTextSvgElement(displayable);
// Update clipPath
this.clipPathManager.update(displayable, el);
this.clipPathManager.update(displayable);
// Update gradient
if (displayable.style) {
此差异已折叠。
此差异已折叠。
......@@ -10160,7 +10160,7 @@ var painterCtors = {
/**
* @type {string}
*/
var version$1 = '3.7.2';
var version$1 = '3.7.3';
/**
* Initializing a zrender instance
......@@ -20320,10 +20320,10 @@ var loadingDefault = function (api, opts) {
var each = each$1;
var parseClassType = ComponentModel.parseClassType;
var version = '3.8.3';
var version = '3.8.4';
var dependencies = {
zrender: '3.7.2'
zrender: '3.7.3'
};
var PRIORITY_PROCESSOR_FILTER = 1000;
......
因为 它太大了无法显示 source diff 。你可以改为 查看blob
{
"name": "echarts",
"version": "3.8.3",
"version": "3.8.4",
"description": "A powerful charting and visualization library for browser",
"keywords": [
"visualization",
......@@ -35,7 +35,7 @@
"prepublish": "node build/build.js --prepublish"
},
"dependencies": {
"zrender": "3.7.2"
"zrender": "3.7.3"
},
"devDependencies": {
"@babel/core": "7.0.0-beta.31",
......@@ -54,6 +54,6 @@
"rollup": "0.50.0",
"rollup-plugin-node-resolve": "3.0.0",
"rollup-plugin-uglify": "2.0.1",
"zrender": "3.7.2"
"zrender": "3.7.3"
}
}
......@@ -34,10 +34,10 @@ import loadingDefault from './loading/default';
var each = zrUtil.each;
var parseClassType = ComponentModel.parseClassType;
export var version = '3.8.3';
export var version = '3.8.4';
export var dependencies = {
zrender: '3.7.2'
zrender: '3.7.3'
};
var PRIORITY_PROCESSOR_FILTER = 1000;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册