You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2024/08/22 06:57:27 UTC
(servicecomb-fence) 03/03: publish compiled source code
This is an automated email from the ASF dual-hosted git repository.
liubao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-fence.git
commit cd7de0ca7bf47059fbd391334981a7ba580f5de6
Author: liubao <bi...@qq.com>
AuthorDate: Thu Aug 22 14:53:23 2024 +0800
publish compiled source code
---
.../src/main/resources/static/assets/index.js | 366 +++++++++++----------
admin-website/src/main/resources/static/index.html | 2 +-
2 files changed, 188 insertions(+), 180 deletions(-)
diff --git a/admin-website/src/main/resources/static/assets/index.js b/admin-website/src/main/resources/static/assets/index.js
index dffd0d3..39ed29a 100644
--- a/admin-website/src/main/resources/static/assets/index.js
+++ b/admin-website/src/main/resources/static/assets/index.js
@@ -72,10 +72,10 @@ else if (typeof commonjsGlobal !== "undefined") {
}
var zrender = {};
var idStart = 2311;
-function _default$1b() {
+function _default$1a() {
return idStart++;
}
-var guid$3 = _default$1b;
+var guid$3 = _default$1a;
var env$9 = {};
if (typeof wx === "object" && typeof wx.getSystemInfoSync === "function") {
env$9 = {
@@ -112,7 +112,7 @@ if (typeof wx === "object" && typeof wx.getSystemInfoSync === "function") {
} else {
env$9 = detect(navigator.userAgent);
}
-var _default$1a = env$9;
+var _default$19 = env$9;
function detect(ua2) {
var os = {};
var browser = {};
@@ -163,7 +163,7 @@ function detect(ua2) {
domSupported: typeof document !== "undefined"
};
}
-var env_1 = _default$1a;
+var env_1 = _default$19;
var util$8 = {};
var BUILTIN_OBJECT = {
"[object Function]": 1,
@@ -787,8 +787,8 @@ function param(target, e2) {
topTarget: e2 && e2.topTarget
};
}
-var _default$19 = Draggable$1;
-var Draggable_1 = _default$19;
+var _default$18 = Draggable$1;
+var Draggable_1 = _default$18;
var arrySlice = Array.prototype.slice;
var Eventful$4 = function(eventProcessor) {
this._$handlers = {};
@@ -994,8 +994,8 @@ function on$1(eventful, event2, query, handler, context, isOnce) {
lastWrap && lastWrap.callAtLast ? _h[event2].splice(lastIndex, 0, wrap) : _h[event2].push(wrap);
return eventful;
}
-var _default$18 = Eventful$4;
-var Eventful_1 = _default$18;
+var _default$17 = Eventful$4;
+var Eventful_1 = _default$17;
var event$1 = {};
var dom = {};
var fourPointsTransform = {};
@@ -1305,8 +1305,8 @@ var recognizers = {
}
// Only pinch currently.
};
-var _default$17 = GestureMgr$1;
-var GestureMgr_1 = _default$17;
+var _default$16 = GestureMgr$1;
+var GestureMgr_1 = _default$16;
var util$7 = util$8;
var vec2$3 = requireVector();
var Draggable = Draggable_1;
@@ -1568,8 +1568,8 @@ function isOutsideBoundary(handlerInstance, x, y) {
}
util$7.mixin(Handler$1, Eventful$2);
util$7.mixin(Handler$1, Draggable);
-var _default$16 = Handler$1;
-var Handler_1 = _default$16;
+var _default$15 = Handler$1;
+var Handler_1 = _default$15;
var matrix$4 = {};
var hasRequiredMatrix;
function requireMatrix() {
@@ -1874,8 +1874,8 @@ Transformable$2.getLocalTransform = function(target, m2) {
m2[5] += position[1];
return m2;
};
-var _default$15 = Transformable$2;
-var Transformable_1 = _default$15;
+var _default$14 = Transformable$2;
+var Transformable_1 = _default$14;
var easing = {
/**
* @param {number} k
@@ -2193,8 +2193,8 @@ var easing = {
return easing.bounceOut(k * 2 - 1) * 0.5 + 0.5;
}
};
-var _default$14 = easing;
-var easing_1 = _default$14;
+var _default$13 = easing;
+var easing_1 = _default$13;
var easingFuncs = easing_1;
function Clip$1(options) {
this._target = options.target;
@@ -2259,8 +2259,8 @@ Clip$1.prototype = {
this._paused = false;
}
};
-var _default$13 = Clip$1;
-var Clip_1 = _default$13;
+var _default$12 = Clip$1;
+var Clip_1 = _default$12;
var color$1 = {};
var LinkedList = function() {
this.head = null;
@@ -2359,8 +2359,8 @@ LRUProto.clear = function() {
this._list.clear();
this._map = {};
};
-var _default$12 = LRU$2;
-var LRU_1 = _default$12;
+var _default$11 = LRU$2;
+var LRU_1 = _default$11;
var LRU$1 = LRU_1;
var kCSSColorTable = {
"transparent": [0, 0, 0, 0],
@@ -3254,8 +3254,8 @@ Animator$2.prototype = {
return this._clipList;
}
};
-var _default$11 = Animator$2;
-var Animator_1 = _default$11;
+var _default$10 = Animator$2;
+var Animator_1 = _default$10;
var config = {};
var dpr$1 = 1;
if (typeof window !== "undefined") {
@@ -3272,8 +3272,8 @@ var logError$2 = function() {
if (debugMode === 1) {
logError$2 = console.error;
}
-var _default$10 = logError$2;
-var log$2 = _default$10;
+var _default$$ = logError$2;
+var log$2 = _default$$;
var Animator$1 = Animator_1;
var logError$1 = log$2;
var _util$f = util$8;
@@ -3463,8 +3463,8 @@ function setAttrByPath(el, path2, name2, value) {
el.attr(props2);
}
}
-var _default$$ = Animatable$1;
-var Animatable_1 = _default$$;
+var _default$_ = Animatable$1;
+var Animatable_1 = _default$_;
var guid$2 = guid$3;
var Eventful$1 = Eventful_1;
var Transformable$1 = Transformable_1;
@@ -3678,14 +3678,14 @@ Element$2.prototype = {
zrUtil$m.mixin(Element$2, Animatable);
zrUtil$m.mixin(Element$2, Transformable$1);
zrUtil$m.mixin(Element$2, Eventful$1);
-var _default$_ = Element$2;
-var Element_1 = _default$_;
+var _default$Z = Element$2;
+var Element_1 = _default$Z;
var vec2$2 = requireVector();
var matrix$2 = requireMatrix();
var v2ApplyTransform$1 = vec2$2.applyTransform;
var mathMin$2 = Math.min;
var mathMax$2 = Math.max;
-function BoundingRect$9(x, y, width, height) {
+function BoundingRect$8(x, y, width, height) {
if (width < 0) {
x = x + width;
width = -width;
@@ -3699,8 +3699,8 @@ function BoundingRect$9(x, y, width, height) {
this.width = width;
this.height = height;
}
-BoundingRect$9.prototype = {
- constructor: BoundingRect$9,
+BoundingRect$8.prototype = {
+ constructor: BoundingRect$8,
/**
* @param {module:echarts/core/BoundingRect} other
*/
@@ -3764,8 +3764,8 @@ BoundingRect$9.prototype = {
if (!b) {
return false;
}
- if (!(b instanceof BoundingRect$9)) {
- b = BoundingRect$9.create(b);
+ if (!(b instanceof BoundingRect$8)) {
+ b = BoundingRect$8.create(b);
}
var a2 = this;
var ax0 = a2.x;
@@ -3786,7 +3786,7 @@ BoundingRect$9.prototype = {
* @return {module:echarts/core/BoundingRect}
*/
clone: function() {
- return new BoundingRect$9(this.x, this.y, this.width, this.height);
+ return new BoundingRect$8(this.x, this.y, this.width, this.height);
},
/**
* Copy from another rect
@@ -3806,14 +3806,14 @@ BoundingRect$9.prototype = {
};
}
};
-BoundingRect$9.create = function(rect) {
- return new BoundingRect$9(rect.x, rect.y, rect.width, rect.height);
+BoundingRect$8.create = function(rect) {
+ return new BoundingRect$8(rect.x, rect.y, rect.width, rect.height);
};
-var _default$Z = BoundingRect$9;
-var BoundingRect_1 = _default$Z;
+var _default$Y = BoundingRect$8;
+var BoundingRect_1 = _default$Y;
var zrUtil$l = util$8;
var Element$1 = Element_1;
-var BoundingRect$8 = BoundingRect_1;
+var BoundingRect$7 = BoundingRect_1;
var Group$5 = function(opts) {
opts = opts || {};
Element$1.call(this, opts);
@@ -4015,7 +4015,7 @@ Group$5.prototype = {
*/
getBoundingRect: function(includeChildren) {
var rect = null;
- var tmpRect2 = new BoundingRect$8(0, 0, 0, 0);
+ var tmpRect2 = new BoundingRect$7(0, 0, 0, 0);
var children3 = includeChildren || this._children;
var tmpMat = [];
for (var i2 = 0; i2 < children3.length; i2++) {
@@ -4039,8 +4039,8 @@ Group$5.prototype = {
}
};
zrUtil$l.inherits(Group$5, Element$1);
-var _default$Y = Group$5;
-var Group_1 = _default$Y;
+var _default$X = Group$5;
+var Group_1 = _default$X;
var DEFAULT_MIN_MERGE = 32;
var DEFAULT_MIN_GALLOPING = 7;
function minRunLength(n2) {
@@ -4716,8 +4716,8 @@ Storage$1.prototype = {
},
displayableSortFunc: shapeCompareFunc
};
-var _default$X = Storage$1;
-var Storage_1 = _default$X;
+var _default$W = Storage$1;
+var Storage_1 = _default$W;
var SHADOW_PROPS = {
"shadowBlur": 1,
"shadowOffsetX": 1,
@@ -4729,25 +4729,25 @@ var SHADOW_PROPS = {
"textBoxShadowOffsetX": 1,
"textBoxShadowOffsetY": 1
};
-function _default$W(ctx, propName, value) {
+function _default$V(ctx, propName, value) {
if (SHADOW_PROPS.hasOwnProperty(propName)) {
return value *= ctx.dpr;
}
return value;
}
-var fixShadow$2 = _default$W;
+var fixShadow$2 = _default$V;
var constant = {};
var ContextCachedBy$3 = {
NONE: 0,
STYLE_BIND: 1,
PLAIN_TEXT: 2
};
-var WILL_BE_RESTORED$2 = 9;
+var WILL_BE_RESTORED$1 = 9;
constant.ContextCachedBy = ContextCachedBy$3;
-constant.WILL_BE_RESTORED = WILL_BE_RESTORED$2;
+constant.WILL_BE_RESTORED = WILL_BE_RESTORED$1;
var fixShadow$1 = fixShadow$2;
-var _constant$3 = constant;
-var ContextCachedBy$2 = _constant$3.ContextCachedBy;
+var _constant$2 = constant;
+var ContextCachedBy$2 = _constant$2.ContextCachedBy;
var STYLE_COMMON_PROPS = [["shadowBlur", 0], ["shadowOffsetX", 0], ["shadowOffsetY", 0], ["shadowColor", "#000"], ["lineCap", "butt"], ["lineJoin", "miter"], ["miterLimit", 10]];
var Style$3 = function(opts) {
this.extendFrom(opts, false);
@@ -5137,8 +5137,8 @@ for (var i$1 = 0; i$1 < STYLE_COMMON_PROPS.length; i$1++) {
}
}
Style$3.getGradient = styleProto.getGradient;
-var _default$V = Style$3;
-var Style_1 = _default$V;
+var _default$U = Style$3;
+var Style_1 = _default$U;
var Pattern$2 = function(image2, repeat) {
this.image = image2;
this.repeat = repeat;
@@ -5147,8 +5147,8 @@ var Pattern$2 = function(image2, repeat) {
Pattern$2.prototype.getCanvasPattern = function(ctx) {
return ctx.createPattern(this.image, this.repeat || "repeat");
};
-var _default$U = Pattern$2;
-var Pattern_1 = _default$U;
+var _default$T = Pattern$2;
+var Pattern_1 = _default$T;
var util$5 = util$8;
var _config$2 = config;
var devicePixelRatio$1 = _config$2.devicePixelRatio;
@@ -5300,13 +5300,13 @@ Layer$1.prototype = {
}
}
};
-var _default$T = Layer$1;
-var Layer_1 = _default$T;
-var _default$S = typeof window !== "undefined" && (window.requestAnimationFrame && window.requestAnimationFrame.bind(window) || // https://github.com/ecomfe/zrender/issues/189#issuecomment-224919809
+var _default$S = Layer$1;
+var Layer_1 = _default$S;
+var _default$R = typeof window !== "undefined" && (window.requestAnimationFrame && window.requestAnimationFrame.bind(window) || // https://github.com/ecomfe/zrender/issues/189#issuecomment-224919809
window.msRequestAnimationFrame && window.msRequestAnimationFrame.bind(window) || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame) || function(func) {
setTimeout(func, 16);
};
-var requestAnimationFrame$4 = _default$S;
+var requestAnimationFrame$4 = _default$R;
var text$1 = {};
var text = {};
var image = {};
@@ -5367,7 +5367,7 @@ function isImageReady(image2) {
image.findExistImage = findExistImage;
image.createOrUpdateImage = createOrUpdateImage;
image.isImageReady = isImageReady;
-var BoundingRect$7 = BoundingRect_1;
+var BoundingRect$6 = BoundingRect_1;
var imageHelper$2 = image;
var _util$e = util$8;
var getContext = _util$e.getContext;
@@ -5415,7 +5415,7 @@ function getPlainTextRect(text2, font, textAlign, textVerticalAlign, textPadding
var outerHeight = contentBlock.outerHeight;
var x = adjustTextX(0, outerWidth, textAlign);
var y = adjustTextY(0, outerHeight, textVerticalAlign);
- var rect = new BoundingRect$7(x, y, outerWidth, outerHeight);
+ var rect = new BoundingRect$6(x, y, outerWidth, outerHeight);
rect.lineHeight = contentBlock.lineHeight;
return rect;
}
@@ -5432,7 +5432,7 @@ function getRichTextRect(text2, font, textAlign, textVerticalAlign, textPadding,
var outerHeight = contentBlock.outerHeight;
var x = adjustTextX(0, outerWidth, textAlign);
var y = adjustTextY(0, outerHeight, textVerticalAlign);
- return new BoundingRect$7(x, y, outerWidth, outerHeight);
+ return new BoundingRect$6(x, y, outerWidth, outerHeight);
}
function adjustTextX(x, width, textAlign) {
if (textAlign === "right") {
@@ -5916,9 +5916,9 @@ var textContain$2 = text;
var roundRectHelper$1 = roundRect;
var imageHelper$1 = image;
var fixShadow = fixShadow$2;
-var _constant$2 = constant;
-var ContextCachedBy$1 = _constant$2.ContextCachedBy;
-var WILL_BE_RESTORED$1 = _constant$2.WILL_BE_RESTORED;
+var _constant$1 = constant;
+var ContextCachedBy$1 = _constant$1.ContextCachedBy;
+var WILL_BE_RESTORED = _constant$1.WILL_BE_RESTORED;
var DEFAULT_FONT = textContain$2.DEFAULT_FONT;
var VALID_TEXT_ALIGN = {
left: 1,
@@ -5961,7 +5961,7 @@ function renderPlainText(hostEl, ctx, text2, style2, rect, prevEl) {
var prevStyle;
var checkCache = false;
var cachedByMe = ctx.__attrCachedBy === ContextCachedBy$1.PLAIN_TEXT;
- if (prevEl !== WILL_BE_RESTORED$1) {
+ if (prevEl !== WILL_BE_RESTORED) {
if (prevEl) {
prevStyle = prevEl.style;
checkCache = !needDrawBg && cachedByMe && prevStyle;
@@ -6052,7 +6052,7 @@ function renderPlainText(hostEl, ctx, text2, style2, rect, prevEl) {
}
}
function renderRichText(hostEl, ctx, text2, style2, rect, prevEl) {
- if (prevEl !== WILL_BE_RESTORED$1) {
+ if (prevEl !== WILL_BE_RESTORED) {
ctx.__attrCachedBy = ContextCachedBy$1.NONE;
}
var contentBlock = hostEl.__textCotentBlock;
@@ -6289,50 +6289,58 @@ text$1.getStroke = getStroke;
text$1.getFill = getFill;
text$1.parsePercent = parsePercent$1;
text$1.needDrawText = needDrawText;
-var textHelper$1 = text$1;
-var BoundingRect$6 = BoundingRect_1;
-var _constant$1 = constant;
-var WILL_BE_RESTORED = _constant$1.WILL_BE_RESTORED;
-var tmpRect$1 = new BoundingRect$6();
-var RectText$1 = function() {
-};
-RectText$1.prototype = {
- constructor: RectText$1,
- /**
- * Draw text in a rect with specified position.
- * @param {CanvasRenderingContext2D} ctx
- * @param {Object} rect Displayable rect
- */
- drawRectText: function(ctx, rect) {
- var style2 = this.style;
- rect = style2.textRect || rect;
- this.__dirty && textHelper$1.normalizeTextStyle(style2, true);
- var text2 = style2.text;
- text2 != null && (text2 += "");
- if (!textHelper$1.needDrawText(text2, style2)) {
- return;
- }
- ctx.save();
- var transform2 = this.transform;
- if (!style2.transformText) {
- if (transform2) {
- tmpRect$1.copy(rect);
- tmpRect$1.applyTransform(transform2);
- rect = tmpRect$1;
+var RectText_1;
+var hasRequiredRectText;
+function requireRectText() {
+ if (hasRequiredRectText)
+ return RectText_1;
+ hasRequiredRectText = 1;
+ var textHelper2 = text$1;
+ var BoundingRect2 = BoundingRect_1;
+ var _constant2 = constant;
+ var WILL_BE_RESTORED2 = _constant2.WILL_BE_RESTORED;
+ var tmpRect2 = new BoundingRect2();
+ var RectText2 = function() {
+ };
+ RectText2.prototype = {
+ constructor: RectText2,
+ /**
+ * Draw text in a rect with specified position.
+ * @param {CanvasRenderingContext2D} ctx
+ * @param {Object} rect Displayable rect
+ */
+ drawRectText: function(ctx, rect) {
+ var style2 = this.style;
+ rect = style2.textRect || rect;
+ this.__dirty && textHelper2.normalizeTextStyle(style2, true);
+ var text2 = style2.text;
+ text2 != null && (text2 += "");
+ if (!textHelper2.needDrawText(text2, style2)) {
+ return;
}
- } else {
- this.setTransform(ctx);
+ ctx.save();
+ var transform2 = this.transform;
+ if (!style2.transformText) {
+ if (transform2) {
+ tmpRect2.copy(rect);
+ tmpRect2.applyTransform(transform2);
+ rect = tmpRect2;
+ }
+ } else {
+ this.setTransform(ctx);
+ }
+ textHelper2.renderText(this, ctx, text2, style2, rect, WILL_BE_RESTORED2);
+ ctx.restore();
}
- textHelper$1.renderText(this, ctx, text2, style2, rect, WILL_BE_RESTORED);
- ctx.restore();
- }
-};
-var _default$R = RectText$1;
-var RectText_1 = _default$R;
+ };
+ var _default68 = RectText2;
+ RectText_1 = _default68;
+ return RectText_1;
+}
var zrUtil$k = util$8;
var Style$1 = Style_1;
var Element = Element_1;
-var RectText = RectText_1;
+var RectText = requireRectText();
function Displayable$3(opts) {
opts = opts || {};
Element.call(this, opts);
@@ -35993,16 +36001,16 @@ function requireTreemapLayout() {
return !child.isRemoved();
});
sort2(viewChildren, orderBy);
- var info = statistic(nodeModel, viewChildren, orderBy);
- if (info.sum === 0) {
+ var info2 = statistic(nodeModel, viewChildren, orderBy);
+ if (info2.sum === 0) {
return node.viewChildren = [];
}
- info.sum = filterByThreshold(nodeModel, totalArea, info.sum, orderBy, viewChildren);
- if (info.sum === 0) {
+ info2.sum = filterByThreshold(nodeModel, totalArea, info2.sum, orderBy, viewChildren);
+ if (info2.sum === 0) {
return node.viewChildren = [];
}
for (var i2 = 0, len = viewChildren.length; i2 < len; i2++) {
- var area = viewChildren[i2].getValue() / info.sum * totalArea;
+ var area = viewChildren[i2].getValue() / info2.sum * totalArea;
viewChildren[i2].setLayout({
area
});
@@ -36015,7 +36023,7 @@ function requireTreemapLayout() {
}
node.viewChildren = viewChildren;
node.setLayout({
- dataExtent: info.dataExtent
+ dataExtent: info2.dataExtent
}, true);
return viewChildren;
}
@@ -53551,11 +53559,11 @@ function requireBrushTargetManager() {
var INCLUDE_FINDER_MAIN_TYPES = ["grid", "xAxis", "yAxis", "geo", "graph", "polar", "radiusAxis", "angleAxis", "bmap"];
function BrushTargetManager(option, ecModel, opt) {
var targetInfoList = this._targetInfoList = [];
- var info = {};
+ var info2 = {};
var foundCpts = parseFinder2(ecModel, option);
each2(targetInfoBuilders, function(builder, type2) {
if (!opt || !opt.include || indexOf2(opt.include, type2) >= 0) {
- builder(foundCpts, targetInfoList, info);
+ builder(foundCpts, targetInfoList, info2);
}
});
}
@@ -58659,10 +58667,10 @@ function requireMarkPointView() {
var coordDimsInfos;
if (coordSys) {
coordDimsInfos = zrUtil2.map(coordSys && coordSys.dimensions, function(coordDim) {
- var info = seriesModel.getData().getDimensionInfo(seriesModel.getData().mapDimension(coordDim)) || {};
+ var info2 = seriesModel.getData().getDimensionInfo(seriesModel.getData().mapDimension(coordDim)) || {};
return zrUtil2.defaults({
name: coordDim
- }, info);
+ }, info2);
});
} else {
coordDimsInfos = [{
@@ -58957,10 +58965,10 @@ function requireMarkLineView() {
var coordDimsInfos;
if (coordSys) {
coordDimsInfos = zrUtil2.map(coordSys && coordSys.dimensions, function(coordDim) {
- var info = seriesModel.getData().getDimensionInfo(seriesModel.getData().mapDimension(coordDim)) || {};
+ var info2 = seriesModel.getData().getDimensionInfo(seriesModel.getData().mapDimension(coordDim)) || {};
return zrUtil2.defaults({
name: coordDim
- }, info);
+ }, info2);
});
} else {
coordDimsInfos = [{
@@ -59283,10 +59291,10 @@ function requireMarkAreaView() {
if (coordSys) {
coordDimsInfos = zrUtil2.map(coordSys && coordSys.dimensions, function(coordDim) {
var data = seriesModel.getData();
- var info = data.getDimensionInfo(data.mapDimension(coordDim)) || {};
+ var info2 = data.getDimensionInfo(data.mapDimension(coordDim)) || {};
return zrUtil2.defaults({
name: coordDim
- }, info);
+ }, info2);
});
areaData = new List(zrUtil2.map(dims, function(dim, idx) {
return {
@@ -60748,14 +60756,14 @@ function requireSliderZoomView() {
}));
},
_renderDataShadow: function() {
- var info = this._dataShadowInfo = this._prepareDataShadowInfo();
- if (!info) {
+ var info2 = this._dataShadowInfo = this._prepareDataShadowInfo();
+ if (!info2) {
return;
}
var size = this._size;
- var seriesModel = info.series;
+ var seriesModel = info2.series;
var data = seriesModel.getRawData();
- var otherDim = seriesModel.getShadowDim ? seriesModel.getShadowDim() : info.otherDim;
+ var otherDim = seriesModel.getShadowDim ? seriesModel.getShadowDim() : info2.otherDim;
if (otherDim == null) {
return;
}
@@ -61219,14 +61227,14 @@ function requireRoams() {
zrUtil2.each(["pan", "zoom", "scrollMove"], function(eventName) {
controller.on(eventName, function(event2) {
var batch = [];
- zrUtil2.each(newRecord.dataZoomInfos, function(info) {
- if (!event2.isAvailableBehavior(info.dataZoomModel.option)) {
+ zrUtil2.each(newRecord.dataZoomInfos, function(info2) {
+ if (!event2.isAvailableBehavior(info2.dataZoomModel.option)) {
return;
}
- var method = (info.getRange || {})[eventName];
+ var method = (info2.getRange || {})[eventName];
var range2 = method && method(newRecord.controller, event2);
- !info.dataZoomModel.get("disabled", true) && range2 && batch.push({
- dataZoomId: info.dataZoomId,
+ !info2.dataZoomModel.get("disabled", true) && range2 && batch.push({
+ dataZoomId: info2.dataZoomId,
start: range2[0],
end: range2[1]
});
@@ -63721,7 +63729,7 @@ function requireGraphic$1() {
var colorTool2 = color$1;
var textContain2 = text;
var textHelper2 = text$1;
- var RectText2 = RectText_1;
+ var RectText2 = requireRectText();
var Displayable2 = Displayable_1;
var ZImage2 = Image$2;
var Text2 = Text_1;
@@ -68637,17 +68645,17 @@ FilterXSS.prototype.process = function(html) {
var retHtml = parseTag(
html,
function(sourcePosition, position, tag, html2, isClosing2) {
- var info = {
+ var info2 = {
sourcePosition,
position,
isClosing: isClosing2,
isWhite: whiteList.hasOwnProperty(tag)
};
- var ret = onTag2(tag, html2, info);
+ var ret = onTag2(tag, html2, info2);
if (!isNull(ret))
return ret;
- if (info.isWhite) {
- if (info.isClosing) {
+ if (info2.isWhite) {
+ if (info2.isClosing) {
return "</" + tag + ">";
}
var attrs = getAttrs(html2);
@@ -68679,7 +68687,7 @@ FilterXSS.prototype.process = function(html) {
html2 += ">";
return html2;
} else {
- var ret = onIgnoreTag2(tag, html2, info);
+ var ret = onIgnoreTag2(tag, html2, info2);
if (!isNull(ret))
return ret;
return escapeHtml2(html2);
@@ -69329,9 +69337,9 @@ const getNewFormat = (format2, parseInfo) => {
let literals = [];
let newFormat = regexEscape(format2).replace(fullTimeReg, ($0) => {
if (parseFlags[$0]) {
- const info = parseFlags[$0];
- parseInfo.push(info[1]);
- return "(" + info[0] + ")";
+ const info2 = parseFlags[$0];
+ parseInfo.push(info2[1]);
+ return "(" + info2[0] + ")";
}
return $0;
});
@@ -102286,8 +102294,8 @@ function requireEcharts() {
var rightArr = targetValue;
var length_1 = Math.max(leftArr ? leftArr.length : 0, rightArr.length);
for (var i3 = 0; i3 < length_1; ++i3) {
- var info = data.getDimensionInfo(i3);
- if (info && info.type === "ordinal") {
+ var info2 = data.getDimensionInfo(i3);
+ if (info2 && info2.type === "ordinal") {
interpolated[i3] = (percent < 1 && leftArr ? leftArr : rightArr)[i3];
} else {
var leftVal = leftArr && leftArr[i3] ? leftArr[i3] : 0;
@@ -103275,16 +103283,16 @@ function requireEcharts() {
}();
return Displayable3;
}(Element2);
- var tmpRect$12 = new BoundingRect2(0, 0, 0, 0);
+ var tmpRect$1 = new BoundingRect2(0, 0, 0, 0);
var viewRect2 = new BoundingRect2(0, 0, 0, 0);
function isDisplayableCulled2(el, width, height) {
- tmpRect$12.copy(el.getBoundingRect());
+ tmpRect$1.copy(el.getBoundingRect());
if (el.transform) {
- tmpRect$12.applyTransform(el.transform);
+ tmpRect$1.applyTransform(el.transform);
}
viewRect2.width = width;
viewRect2.height = height;
- return !tmpRect$12.intersect(viewRect2);
+ return !tmpRect$1.intersect(viewRect2);
}
var mathMin$12 = Math.min;
var mathMax$12 = Math.max;
@@ -120417,12 +120425,12 @@ function requireEcharts() {
OrdinalScale2.prototype.getMinorTicks = function(splitNumber) {
return;
};
- OrdinalScale2.prototype.setSortInfo = function(info) {
- if (info == null) {
+ OrdinalScale2.prototype.setSortInfo = function(info2) {
+ if (info2 == null) {
this._ordinalNumbersByTick = this._ticksByOrdinalNumber = null;
return;
}
- var infoOrdinalNumbers = info.ordinalNumbers;
+ var infoOrdinalNumbers = info2.ordinalNumbers;
var ordinalsByTick = this._ordinalNumbersByTick = [];
var ticksByOrdinal = this._ticksByOrdinalNumber = [];
var tickNum = 0;
@@ -129025,21 +129033,21 @@ function requireEcharts() {
}
};
BarView3.prototype._dataSort = function(data, baseAxis, orderMapping) {
- var info = [];
+ var info2 = [];
data.each(data.mapDimension(baseAxis.dim), function(ordinalNumber, dataIdx) {
var mappedValue = orderMapping(dataIdx);
mappedValue = mappedValue == null ? NaN : mappedValue;
- info.push({
+ info2.push({
dataIndex: dataIdx,
mappedValue,
ordinalNumber
});
});
- info.sort(function(a2, b) {
+ info2.sort(function(a2, b) {
return b.mappedValue - a2.mappedValue;
});
return {
- ordinalNumbers: map2(info, function(item) {
+ ordinalNumbers: map2(info2, function(item) {
return item.ordinalNumber;
})
};
@@ -131390,12 +131398,12 @@ function requireEcharts() {
Axis2D2.prototype.pointToData = function(point, clamp2) {
return this.coordToData(this.toLocalCoord(point[this.dim === "x" ? 0 : 1]), clamp2);
};
- Axis2D2.prototype.setCategorySortInfo = function(info) {
+ Axis2D2.prototype.setCategorySortInfo = function(info2) {
if (this.type !== "category") {
return false;
}
- this.model.option.categorySortInfo = info;
- this.scale.setSortInfo(info);
+ this.model.option.categorySortInfo = info2;
+ this.scale.setSortInfo(info2);
};
return Axis2D2;
}(Axis)
@@ -139763,16 +139771,16 @@ function requireEcharts() {
return !child.isRemoved();
});
sort$1(viewChildren, orderBy);
- var info = statistic(nodeModel, viewChildren, orderBy);
- if (info.sum === 0) {
+ var info2 = statistic(nodeModel, viewChildren, orderBy);
+ if (info2.sum === 0) {
return node.viewChildren = [];
}
- info.sum = filterByThreshold(nodeModel, totalArea, info.sum, orderBy, viewChildren);
- if (info.sum === 0) {
+ info2.sum = filterByThreshold(nodeModel, totalArea, info2.sum, orderBy, viewChildren);
+ if (info2.sum === 0) {
return node.viewChildren = [];
}
for (var i3 = 0, len2 = viewChildren.length; i3 < len2; i3++) {
- var area = viewChildren[i3].getValue() / info.sum * totalArea;
+ var area = viewChildren[i3].getValue() / info2.sum * totalArea;
viewChildren[i3].setLayout({
area
});
@@ -139785,7 +139793,7 @@ function requireEcharts() {
}
node.viewChildren = viewChildren;
node.setLayout({
- dataExtent: info.dataExtent
+ dataExtent: info2.dataExtent
}, true);
return viewChildren;
}
@@ -151656,9 +151664,9 @@ function requireEcharts() {
assert2(txConOptNormal_1.type === "text", 'textContent.type must be "text"');
}
}
- var info = !state ? attachedTxInfo.normal : attachedTxInfo[state];
- info.cfg = txCfg;
- info.conOpt = txConOpt;
+ var info2 = !state ? attachedTxInfo.normal : attachedTxInfo[state];
+ info2.cfg = txCfg;
+ info2.conOpt = txConOpt;
}
function retrieveStateOption(elOption, state) {
return !state ? elOption : elOption ? elOption[state] : null;
@@ -161105,8 +161113,8 @@ function requireEcharts() {
var coordDimsInfos;
if (coordSys) {
coordDimsInfos = map2(coordSys && coordSys.dimensions, function(coordDim) {
- var info = seriesModel.getData().getDimensionInfo(seriesModel.getData().mapDimension(coordDim)) || {};
- return extend2(extend2({}, info), {
+ var info2 = seriesModel.getData().getDimensionInfo(seriesModel.getData().mapDimension(coordDim)) || {};
+ return extend2(extend2({}, info2), {
name: coordDim,
// DON'T use ordinalMeta to parse and collect ordinal.
ordinalMeta: null
@@ -161406,8 +161414,8 @@ function requireEcharts() {
var coordDimsInfos;
if (coordSys) {
coordDimsInfos = map2(coordSys && coordSys.dimensions, function(coordDim) {
- var info = seriesModel.getData().getDimensionInfo(seriesModel.getData().mapDimension(coordDim)) || {};
- return extend2(extend2({}, info), {
+ var info2 = seriesModel.getData().getDimensionInfo(seriesModel.getData().mapDimension(coordDim)) || {};
+ return extend2(extend2({}, info2), {
name: coordDim,
// DON'T use ordinalMeta to parse and collect ordinal.
ordinalMeta: null
@@ -161732,8 +161740,8 @@ function requireEcharts() {
if (coordSys) {
var coordDimsInfos_1 = map2(coordSys && coordSys.dimensions, function(coordDim) {
var data = seriesModel.getData();
- var info = data.getDimensionInfo(data.mapDimension(coordDim)) || {};
- return extend2(extend2({}, info), {
+ var info2 = data.getDimensionInfo(data.mapDimension(coordDim)) || {};
+ return extend2(extend2({}, info2), {
name: coordDim,
// DON'T use ordinalMeta to parse and collect ordinal.
ordinalMeta: null
@@ -163457,17 +163465,17 @@ function requireEcharts() {
barGroup.add(clickPanel);
};
SliderZoomView2.prototype._renderDataShadow = function() {
- var info = this._dataShadowInfo = this._prepareDataShadowInfo();
+ var info2 = this._dataShadowInfo = this._prepareDataShadowInfo();
this._displayables.dataShadowSegs = [];
- if (!info) {
+ if (!info2) {
return;
}
var size = this._size;
var oldSize = this._shadowSize || [];
- var seriesModel = info.series;
+ var seriesModel = info2.series;
var data = seriesModel.getRawData();
var candlestickDim = seriesModel.getShadowDim && seriesModel.getShadowDim();
- var otherDim = candlestickDim && data.getDimensionInfo(candlestickDim) ? seriesModel.getShadowDim() : info.otherDim;
+ var otherDim = candlestickDim && data.getDimensionInfo(candlestickDim) ? seriesModel.getShadowDim() : info2.otherDim;
if (otherDim == null) {
return;
}
@@ -175352,11 +175360,11 @@ axios$1.interceptors.response.use(
(response) => {
const res = response.data;
if (response.status !== 200) {
- res.errMsg && TINYModal.message({
- message: res.errMsg,
+ TINYModal.alert({
+ message: `status code=${response.status}, trace id=${response.headers["x-b3-traceid"]}`,
status: "error"
});
- return Promise.reject(new Error(res.errMsg || "Error"));
+ return Promise.reject(new Error("Error"));
}
return res;
},
@@ -175366,12 +175374,12 @@ axios$1.interceptors.response.use(
clearToken();
router.replace({ name: "login" });
TINYModal.message({
- message: index$1e.t("http.error.TokenExpire"),
- status: "error"
+ message: `status code=${error.response.status}, trace id=${error.response.headers["x-b3-traceid"]}`,
+ status: info
});
} else {
- data.errMsg && TINYModal.message({
- message: index$1e.t(`http.error.${data.errMsg}`),
+ TINYModal.alert({
+ message: `status code=${error.response.status}, trace id=${error.response.headers["x-b3-traceid"]}`,
status: "error"
});
}
diff --git a/admin-website/src/main/resources/static/index.html b/admin-website/src/main/resources/static/index.html
index 60e86e0..bca0575 100644
--- a/admin-website/src/main/resources/static/index.html
+++ b/admin-website/src/main/resources/static/index.html
@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="shortcut icon" type="image/x-icon" href="/ui/admin/favicon.png"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>TinyPro of Vue - 开箱即用的中后台前端/设计解决方案</title>
+ <title>云原生应用开发套件</title>
<script type="module" crossorigin src="/ui/admin/assets/index.js"></script>
<link rel="modulepreload" crossorigin href="/ui/admin/assets/vue.js">
<link rel="stylesheet" href="/ui/admin/assets/index.css">