Skip to content

Commit

Permalink
build release
Browse files Browse the repository at this point in the history
  • Loading branch information
pissang committed Jun 19, 2024
1 parent efa3e5a commit 34889d9
Show file tree
Hide file tree
Showing 15 changed files with 62 additions and 13 deletions.
12 changes: 12 additions & 0 deletions dist/echarts.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -14837,6 +14837,7 @@
name: itemName,
option: defaults({
content: itemName,
encodeHTMLContent: true,
formatterParams: formatterParams
}, itemTooltipOptionObj)
};
Expand Down Expand Up @@ -51155,16 +51156,27 @@
});
};
TooltipView.prototype._showComponentItemTooltip = function (e, el, dispatchAction) {
var isHTMLRenderMode = this._renderMode === 'html';
var ecData = getECData(el);
var tooltipConfig = ecData.tooltipConfig;
var tooltipOpt = tooltipConfig.option || {};
var encodeHTMLContent = tooltipOpt.encodeHTMLContent;
if (isString(tooltipOpt)) {
var content = tooltipOpt;
tooltipOpt = {
content: content,
// Fixed formatter
formatter: content
};
// when `tooltipConfig.option` is a string rather than an object,
// we can't know if the content needs to be encoded
// for the sake of security, encode it by default.
encodeHTMLContent = true;
}
if (encodeHTMLContent && isHTMLRenderMode && tooltipOpt.content) {
// clone might be unnecessary?
tooltipOpt = clone(tooltipOpt);
tooltipOpt.content = encodeHTML(tooltipOpt.content);
}
var tooltipModelCascade = [tooltipOpt];
var cmpt = this._ecModel.getComponent(ecData.componentMainType, ecData.componentIndex);
Expand Down
2 changes: 1 addition & 1 deletion dist/echarts.common.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/echarts.common.min.js

Large diffs are not rendered by default.

14 changes: 13 additions & 1 deletion dist/echarts.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -14957,6 +14957,7 @@ function setTooltipConfig(opt) {
name: itemName,
option: defaults({
content: itemName,
encodeHTMLContent: true,
formatterParams: formatterParams
}, itemTooltipOptionObj)
};
Expand Down Expand Up @@ -26248,7 +26249,7 @@ function getImpl(name) {
return implsStore[name];
}

var version$1 = '5.6.0';
var version$1 = '5.5.1';
var dependencies = {
zrender: '5.6.0'
};
Expand Down Expand Up @@ -74816,16 +74817,27 @@ var TooltipView = /** @class */function (_super) {
});
};
TooltipView.prototype._showComponentItemTooltip = function (e, el, dispatchAction) {
var isHTMLRenderMode = this._renderMode === 'html';
var ecData = getECData(el);
var tooltipConfig = ecData.tooltipConfig;
var tooltipOpt = tooltipConfig.option || {};
var encodeHTMLContent = tooltipOpt.encodeHTMLContent;
if (isString(tooltipOpt)) {
var content = tooltipOpt;
tooltipOpt = {
content: content,
// Fixed formatter
formatter: content
};
// when `tooltipConfig.option` is a string rather than an object,
// we can't know if the content needs to be encoded
// for the sake of security, encode it by default.
encodeHTMLContent = true;
}
if (encodeHTMLContent && isHTMLRenderMode && tooltipOpt.content) {
// clone might be unnecessary?
tooltipOpt = clone(tooltipOpt);
tooltipOpt.content = encodeHTML(tooltipOpt.content);
}
var tooltipModelCascade = [tooltipOpt];
var cmpt = this._ecModel.getComponent(ecData.componentMainType, ecData.componentIndex);
Expand Down
2 changes: 1 addition & 1 deletion dist/echarts.esm.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/echarts.esm.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/echarts.esm.min.mjs

Large diffs are not rendered by default.

14 changes: 13 additions & 1 deletion dist/echarts.esm.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14957,6 +14957,7 @@ function setTooltipConfig(opt) {
name: itemName,
option: defaults({
content: itemName,
encodeHTMLContent: true,
formatterParams: formatterParams
}, itemTooltipOptionObj)
};
Expand Down Expand Up @@ -26248,7 +26249,7 @@ function getImpl(name) {
return implsStore[name];
}

var version$1 = '5.6.0';
var version$1 = '5.5.1';
var dependencies = {
zrender: '5.6.0'
};
Expand Down Expand Up @@ -74816,16 +74817,27 @@ var TooltipView = /** @class */function (_super) {
});
};
TooltipView.prototype._showComponentItemTooltip = function (e, el, dispatchAction) {
var isHTMLRenderMode = this._renderMode === 'html';
var ecData = getECData(el);
var tooltipConfig = ecData.tooltipConfig;
var tooltipOpt = tooltipConfig.option || {};
var encodeHTMLContent = tooltipOpt.encodeHTMLContent;
if (isString(tooltipOpt)) {
var content = tooltipOpt;
tooltipOpt = {
content: content,
// Fixed formatter
formatter: content
};
// when `tooltipConfig.option` is a string rather than an object,
// we can't know if the content needs to be encoded
// for the sake of security, encode it by default.
encodeHTMLContent = true;
}
if (encodeHTMLContent && isHTMLRenderMode && tooltipOpt.content) {
// clone might be unnecessary?
tooltipOpt = clone(tooltipOpt);
tooltipOpt.content = encodeHTML(tooltipOpt.content);
}
var tooltipModelCascade = [tooltipOpt];
var cmpt = this._ecModel.getComponent(ecData.componentMainType, ecData.componentIndex);
Expand Down
2 changes: 1 addition & 1 deletion dist/echarts.esm.mjs.map

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions dist/echarts.js
Original file line number Diff line number Diff line change
Expand Up @@ -14963,6 +14963,7 @@
name: itemName,
option: defaults({
content: itemName,
encodeHTMLContent: true,
formatterParams: formatterParams
}, itemTooltipOptionObj)
};
Expand Down Expand Up @@ -74822,16 +74823,27 @@
});
};
TooltipView.prototype._showComponentItemTooltip = function (e, el, dispatchAction) {
var isHTMLRenderMode = this._renderMode === 'html';
var ecData = getECData(el);
var tooltipConfig = ecData.tooltipConfig;
var tooltipOpt = tooltipConfig.option || {};
var encodeHTMLContent = tooltipOpt.encodeHTMLContent;
if (isString(tooltipOpt)) {
var content = tooltipOpt;
tooltipOpt = {
content: content,
// Fixed formatter
formatter: content
};
// when `tooltipConfig.option` is a string rather than an object,
// we can't know if the content needs to be encoded
// for the sake of security, encode it by default.
encodeHTMLContent = true;
}
if (encodeHTMLContent && isHTMLRenderMode && tooltipOpt.content) {
// clone might be unnecessary?
tooltipOpt = clone(tooltipOpt);
tooltipOpt.content = encodeHTML(tooltipOpt.content);
}
var tooltipModelCascade = [tooltipOpt];
var cmpt = this._ecModel.getComponent(ecData.componentMainType, ecData.componentIndex);
Expand Down
2 changes: 1 addition & 1 deletion dist/echarts.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/echarts.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/echarts.simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -14576,6 +14576,7 @@
name: itemName,
option: defaults({
content: itemName,
encodeHTMLContent: true,
formatterParams: formatterParams
}, itemTooltipOptionObj)
};
Expand Down
2 changes: 1 addition & 1 deletion dist/echarts.simple.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/echarts.simple.min.js

Large diffs are not rendered by default.

0 comments on commit 34889d9

Please sign in to comment.