@visactor/vrender 0.17.16 → 0.17.17
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/cjs/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/dist/index.js +378 -100
- package/dist/index.min.js +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -11661,7 +11661,7 @@
|
|
|
11661
11661
|
var context = {
|
|
11662
11662
|
type: exports.AttributeUpdateType.INIT
|
|
11663
11663
|
};
|
|
11664
|
-
params = this.onBeforeAttributeUpdate && this.onBeforeAttributeUpdate(params, this.attribute, null, context) || params, this.attribute = params, params.background && this.loadImage(params.background, !0), this._updateTag = exports.UpdateTag.INIT, this.onAttributeUpdate(context);
|
|
11664
|
+
params = this.onBeforeAttributeUpdate && this.onBeforeAttributeUpdate(params, this.attribute, null, context) || params, this.attribute = params, params.background && this.loadImage(params.background, !0), this._updateTag = exports.UpdateTag.INIT, this.valid = this.isValid(), this.onAttributeUpdate(context);
|
|
11665
11665
|
}
|
|
11666
11666
|
}, {
|
|
11667
11667
|
key: "translate",
|
|
@@ -16115,6 +16115,16 @@
|
|
|
16115
16115
|
_this3.failCallback && _this3.failCallback();
|
|
16116
16116
|
});
|
|
16117
16117
|
}
|
|
16118
|
+
}, {
|
|
16119
|
+
key: "setAttributes",
|
|
16120
|
+
value: function setAttributes(params, forceUpdateTag, context) {
|
|
16121
|
+
return params.image && this.loadImage(params.image), _get(_getPrototypeOf(Image.prototype), "setAttributes", this).call(this, params, forceUpdateTag, context);
|
|
16122
|
+
}
|
|
16123
|
+
}, {
|
|
16124
|
+
key: "setAttribute",
|
|
16125
|
+
value: function setAttribute(key, value, forceUpdateTag, context) {
|
|
16126
|
+
return "image" === key && this.loadImage(value), _get(_getPrototypeOf(Image.prototype), "setAttribute", this).call(this, key, value, forceUpdateTag, context);
|
|
16127
|
+
}
|
|
16118
16128
|
}, {
|
|
16119
16129
|
key: "doUpdateAABBBounds",
|
|
16120
16130
|
value: function doUpdateAABBBounds() {
|
|
@@ -18191,7 +18201,7 @@
|
|
|
18191
18201
|
|
|
18192
18202
|
var text, richText;
|
|
18193
18203
|
function getTextBounds(params) {
|
|
18194
|
-
return text || (text = graphicCreator.CreateGraphic("text", {})), text.
|
|
18204
|
+
return text || (text = graphicCreator.CreateGraphic("text", {})), text.initAttributes(params), text.AABBBounds;
|
|
18195
18205
|
}
|
|
18196
18206
|
function getRichTextBounds(params) {
|
|
18197
18207
|
return richText || (richText = graphicCreator.CreateGraphic("richtext", {})), richText.setAttributes(params), richText.AABBBounds;
|
|
@@ -18364,6 +18374,254 @@
|
|
|
18364
18374
|
return BaseRender;
|
|
18365
18375
|
}();
|
|
18366
18376
|
|
|
18377
|
+
var parse = function () {
|
|
18378
|
+
var tokens = {
|
|
18379
|
+
linearGradient: /^(linear\-gradient)/i,
|
|
18380
|
+
radialGradient: /^(radial\-gradient)/i,
|
|
18381
|
+
conicGradient: /^(conic\-gradient)/i,
|
|
18382
|
+
sideOrCorner: /^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,
|
|
18383
|
+
extentKeywords: /^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,
|
|
18384
|
+
positionKeywords: /^(left|center|right|top|bottom)/i,
|
|
18385
|
+
pixelValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,
|
|
18386
|
+
percentageValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,
|
|
18387
|
+
emValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,
|
|
18388
|
+
angleValue: /^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,
|
|
18389
|
+
fromAngleValue: /^from\s*(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,
|
|
18390
|
+
startCall: /^\(/,
|
|
18391
|
+
endCall: /^\)/,
|
|
18392
|
+
comma: /^,/,
|
|
18393
|
+
hexColor: /(^\#[0-9a-fA-F]+)/,
|
|
18394
|
+
literalColor: /^([a-zA-Z]+)/,
|
|
18395
|
+
rgbColor: /^(rgb\(\d{1,3},\s*\d{1,3},\s*\d{1,3}\))/i,
|
|
18396
|
+
rgbaColor: /^(rgba\(\d{1,3},\s*\d{1,3},\s*\d{1,3},\s*((\d\.\d+)|\d{1,3})\))/i,
|
|
18397
|
+
number: /^(([0-9]*\.[0-9]+)|([0-9]+\.?))/
|
|
18398
|
+
};
|
|
18399
|
+
var input = "";
|
|
18400
|
+
function error(msg) {
|
|
18401
|
+
var err = new Error(input + ": " + msg);
|
|
18402
|
+
throw err.source = input, err;
|
|
18403
|
+
}
|
|
18404
|
+
function getAST() {
|
|
18405
|
+
var ast = matchListing(matchDefinition);
|
|
18406
|
+
return input.length > 0 && error("Invalid input not EOF"), ast;
|
|
18407
|
+
}
|
|
18408
|
+
function matchDefinition() {
|
|
18409
|
+
return matchGradient("linear", tokens.linearGradient, matchLinearOrientation) || matchGradient("radial", tokens.radialGradient, matchListRadialOrientations) || matchGradient("conic", tokens.conicGradient, matchConicalOrientation);
|
|
18410
|
+
}
|
|
18411
|
+
function matchGradient(gradientType, pattern, orientationMatcher) {
|
|
18412
|
+
return function (pattern, callback) {
|
|
18413
|
+
var captures = scan(pattern);
|
|
18414
|
+
if (captures) {
|
|
18415
|
+
scan(tokens.startCall) || error("Missing (");
|
|
18416
|
+
var result = callback(captures);
|
|
18417
|
+
return scan(tokens.endCall) || error("Missing )"), result;
|
|
18418
|
+
}
|
|
18419
|
+
}(pattern, function (captures) {
|
|
18420
|
+
var orientation = orientationMatcher();
|
|
18421
|
+
return orientation && (scan(tokens.comma) || error("Missing comma before color stops")), {
|
|
18422
|
+
type: gradientType,
|
|
18423
|
+
orientation: orientation,
|
|
18424
|
+
colorStops: matchListing(matchColorStop)
|
|
18425
|
+
};
|
|
18426
|
+
});
|
|
18427
|
+
}
|
|
18428
|
+
function matchLinearOrientation() {
|
|
18429
|
+
return match("directional", tokens.sideOrCorner, 1) || match("angular", tokens.angleValue, 1);
|
|
18430
|
+
}
|
|
18431
|
+
function matchConicalOrientation() {
|
|
18432
|
+
return match("angular", tokens.fromAngleValue, 1);
|
|
18433
|
+
}
|
|
18434
|
+
function matchListRadialOrientations() {
|
|
18435
|
+
var radialOrientations,
|
|
18436
|
+
lookaheadCache,
|
|
18437
|
+
radialOrientation = matchRadialOrientation();
|
|
18438
|
+
return radialOrientation && (radialOrientations = [], radialOrientations.push(radialOrientation), lookaheadCache = input, scan(tokens.comma) && (radialOrientation = matchRadialOrientation(), radialOrientation ? radialOrientations.push(radialOrientation) : input = lookaheadCache)), radialOrientations;
|
|
18439
|
+
}
|
|
18440
|
+
function matchRadialOrientation() {
|
|
18441
|
+
var radialType = function () {
|
|
18442
|
+
var circle = match("shape", /^(circle)/i, 0);
|
|
18443
|
+
circle && (circle.style = matchLength() || matchExtentKeyword());
|
|
18444
|
+
return circle;
|
|
18445
|
+
}() || function () {
|
|
18446
|
+
var ellipse = match("shape", /^(ellipse)/i, 0);
|
|
18447
|
+
ellipse && (ellipse.style = matchDistance() || matchExtentKeyword());
|
|
18448
|
+
return ellipse;
|
|
18449
|
+
}();
|
|
18450
|
+
if (radialType) radialType.at = matchAtPosition();else {
|
|
18451
|
+
var extent = matchExtentKeyword();
|
|
18452
|
+
if (extent) {
|
|
18453
|
+
radialType = extent;
|
|
18454
|
+
var positionAt = matchAtPosition();
|
|
18455
|
+
positionAt && (radialType.at = positionAt);
|
|
18456
|
+
} else {
|
|
18457
|
+
var defaultPosition = matchPositioning();
|
|
18458
|
+
defaultPosition && (radialType = {
|
|
18459
|
+
type: "default-radial",
|
|
18460
|
+
at: defaultPosition
|
|
18461
|
+
});
|
|
18462
|
+
}
|
|
18463
|
+
}
|
|
18464
|
+
return radialType;
|
|
18465
|
+
}
|
|
18466
|
+
function matchExtentKeyword() {
|
|
18467
|
+
return match("extent-keyword", tokens.extentKeywords, 1);
|
|
18468
|
+
}
|
|
18469
|
+
function matchAtPosition() {
|
|
18470
|
+
if (match("position", /^at/, 0)) {
|
|
18471
|
+
var positioning = matchPositioning();
|
|
18472
|
+
return positioning || error("Missing positioning value"), positioning;
|
|
18473
|
+
}
|
|
18474
|
+
}
|
|
18475
|
+
function matchPositioning() {
|
|
18476
|
+
var location = {
|
|
18477
|
+
x: matchDistance(),
|
|
18478
|
+
y: matchDistance()
|
|
18479
|
+
};
|
|
18480
|
+
if (location.x || location.y) return {
|
|
18481
|
+
type: "position",
|
|
18482
|
+
value: location
|
|
18483
|
+
};
|
|
18484
|
+
}
|
|
18485
|
+
function matchListing(matcher) {
|
|
18486
|
+
var captures = matcher();
|
|
18487
|
+
var result = [];
|
|
18488
|
+
if (captures) for (result.push(captures); scan(tokens.comma);) captures = matcher(), captures ? result.push(captures) : error("One extra comma");
|
|
18489
|
+
return result;
|
|
18490
|
+
}
|
|
18491
|
+
function matchColorStop() {
|
|
18492
|
+
var color = match("hex", tokens.hexColor, 1) || match("rgba", tokens.rgbaColor, 1) || match("rgb", tokens.rgbColor, 1) || match("literal", tokens.literalColor, 0);
|
|
18493
|
+
return color || error("Expected color definition"), color.length = matchDistance(), color;
|
|
18494
|
+
}
|
|
18495
|
+
function matchDistance() {
|
|
18496
|
+
return match("%", tokens.percentageValue, 1) || match("position-keyword", tokens.positionKeywords, 1) || matchLength();
|
|
18497
|
+
}
|
|
18498
|
+
function matchLength() {
|
|
18499
|
+
return match("px", tokens.pixelValue, 1) || match("em", tokens.emValue, 1);
|
|
18500
|
+
}
|
|
18501
|
+
function match(type, pattern, captureIndex) {
|
|
18502
|
+
var captures = scan(pattern);
|
|
18503
|
+
if (captures) return {
|
|
18504
|
+
type: type,
|
|
18505
|
+
value: captures[captureIndex]
|
|
18506
|
+
};
|
|
18507
|
+
}
|
|
18508
|
+
function scan(regexp) {
|
|
18509
|
+
var blankCaptures = /^[\n\r\t\s]+/.exec(input);
|
|
18510
|
+
blankCaptures && consume(blankCaptures[0].length);
|
|
18511
|
+
var captures = regexp.exec(input);
|
|
18512
|
+
return captures && consume(captures[0].length), captures;
|
|
18513
|
+
}
|
|
18514
|
+
function consume(size) {
|
|
18515
|
+
input = input.substr(size);
|
|
18516
|
+
}
|
|
18517
|
+
return function (code) {
|
|
18518
|
+
return input = code.toString(), getAST();
|
|
18519
|
+
};
|
|
18520
|
+
}();
|
|
18521
|
+
var GradientParser = /*#__PURE__*/function () {
|
|
18522
|
+
function GradientParser() {
|
|
18523
|
+
_classCallCheck(this, GradientParser);
|
|
18524
|
+
}
|
|
18525
|
+
_createClass(GradientParser, null, [{
|
|
18526
|
+
key: "IsGradient",
|
|
18527
|
+
value: function IsGradient(c) {
|
|
18528
|
+
return !("string" == typeof c && c.length < 10);
|
|
18529
|
+
}
|
|
18530
|
+
}, {
|
|
18531
|
+
key: "IsGradientStr",
|
|
18532
|
+
value: function IsGradientStr(c) {
|
|
18533
|
+
return "string" == typeof c && c.length > 10;
|
|
18534
|
+
}
|
|
18535
|
+
}, {
|
|
18536
|
+
key: "Parse",
|
|
18537
|
+
value: function Parse(c) {
|
|
18538
|
+
if (GradientParser.IsGradientStr(c)) try {
|
|
18539
|
+
var datum = parse(c)[0];
|
|
18540
|
+
if (datum) {
|
|
18541
|
+
if ("linear" === datum.type) return GradientParser.ParseLinear(datum);
|
|
18542
|
+
if ("radial" === datum.type) return GradientParser.ParseRadial(datum);
|
|
18543
|
+
if ("conic" === datum.type) return GradientParser.ParseConic(datum);
|
|
18544
|
+
}
|
|
18545
|
+
} catch (err) {
|
|
18546
|
+
return c;
|
|
18547
|
+
}
|
|
18548
|
+
return c;
|
|
18549
|
+
}
|
|
18550
|
+
}, {
|
|
18551
|
+
key: "ParseConic",
|
|
18552
|
+
value: function ParseConic(datum) {
|
|
18553
|
+
var orientation = datum.orientation,
|
|
18554
|
+
_datum$colorStops = datum.colorStops,
|
|
18555
|
+
colorStops = _datum$colorStops === void 0 ? [] : _datum$colorStops,
|
|
18556
|
+
halfPi = pi / 2,
|
|
18557
|
+
sa = parseFloat(orientation.value) / 180 * pi - halfPi;
|
|
18558
|
+
return {
|
|
18559
|
+
gradient: "conical",
|
|
18560
|
+
x: .5,
|
|
18561
|
+
y: .5,
|
|
18562
|
+
startAngle: sa,
|
|
18563
|
+
endAngle: sa + pi2,
|
|
18564
|
+
stops: colorStops.map(function (item) {
|
|
18565
|
+
return {
|
|
18566
|
+
color: item.value,
|
|
18567
|
+
offset: parseFloat(item.length.value) / 100
|
|
18568
|
+
};
|
|
18569
|
+
})
|
|
18570
|
+
};
|
|
18571
|
+
}
|
|
18572
|
+
}, {
|
|
18573
|
+
key: "ParseRadial",
|
|
18574
|
+
value: function ParseRadial(datum) {
|
|
18575
|
+
var _datum$colorStops2 = datum.colorStops,
|
|
18576
|
+
colorStops = _datum$colorStops2 === void 0 ? [] : _datum$colorStops2;
|
|
18577
|
+
return {
|
|
18578
|
+
gradient: "radial",
|
|
18579
|
+
x0: .5,
|
|
18580
|
+
y0: .5,
|
|
18581
|
+
x1: .5,
|
|
18582
|
+
y1: .5,
|
|
18583
|
+
r0: 0,
|
|
18584
|
+
r1: 1,
|
|
18585
|
+
stops: colorStops.map(function (item) {
|
|
18586
|
+
return {
|
|
18587
|
+
color: item.value,
|
|
18588
|
+
offset: parseFloat(item.length.value) / 100
|
|
18589
|
+
};
|
|
18590
|
+
})
|
|
18591
|
+
};
|
|
18592
|
+
}
|
|
18593
|
+
}, {
|
|
18594
|
+
key: "ParseLinear",
|
|
18595
|
+
value: function ParseLinear(datum) {
|
|
18596
|
+
var orientation = datum.orientation,
|
|
18597
|
+
_datum$colorStops3 = datum.colorStops,
|
|
18598
|
+
colorStops = _datum$colorStops3 === void 0 ? [] : _datum$colorStops3,
|
|
18599
|
+
halfPi = pi / 2;
|
|
18600
|
+
var angle = "angular" === orientation.type ? parseFloat(orientation.value) / 180 * pi : 0;
|
|
18601
|
+
for (; angle < 0;) angle += pi2;
|
|
18602
|
+
for (; angle > pi2;) angle -= pi2;
|
|
18603
|
+
var x0 = 0,
|
|
18604
|
+
y0 = 0,
|
|
18605
|
+
x1 = 0,
|
|
18606
|
+
y1 = 0;
|
|
18607
|
+
return angle < halfPi ? (x0 = 0, y0 = 1, x1 = Math.sin(angle), y1 = Math.cos(angle)) : angle < pi ? (x0 = 0, y0 = 0, x1 = Math.cos(angle - halfPi), y1 = Math.sin(angle - halfPi)) : angle < pi + halfPi ? (x0 = 1, y0 = 0, x1 = x0 - Math.sin(angle - pi), y1 = Math.cos(angle - pi)) : (x0 = 1, x1 = x0 - Math.cos(angle - halfPi - pi), y1 -= Math.sin(angle - halfPi - pi)), {
|
|
18608
|
+
gradient: "linear",
|
|
18609
|
+
x0: x0,
|
|
18610
|
+
y0: y0,
|
|
18611
|
+
x1: x1,
|
|
18612
|
+
y1: y1,
|
|
18613
|
+
stops: colorStops.map(function (item) {
|
|
18614
|
+
return {
|
|
18615
|
+
color: item.value,
|
|
18616
|
+
offset: parseFloat(item.length.value) / 100
|
|
18617
|
+
};
|
|
18618
|
+
})
|
|
18619
|
+
};
|
|
18620
|
+
}
|
|
18621
|
+
}]);
|
|
18622
|
+
return GradientParser;
|
|
18623
|
+
}();
|
|
18624
|
+
|
|
18367
18625
|
function getScaledStroke(context, width, dpr) {
|
|
18368
18626
|
var strokeWidth = width;
|
|
18369
18627
|
var _context$currentMatri = context.currentMatrix,
|
|
@@ -18379,7 +18637,7 @@
|
|
|
18379
18637
|
if (!c || !0 === c) return "black";
|
|
18380
18638
|
var result, color;
|
|
18381
18639
|
if (isArray$1(c)) for (var i = 0; i < c.length && (color = c[i], !color); i++);else color = c;
|
|
18382
|
-
return "string" == typeof color ? color : ("linear" === color.gradient ? result = createLinearGradient(context, color, params, offsetX, offsetY) : "conical" === color.gradient ? result = createConicGradient(context, color, params, offsetX, offsetY) : "radial" === color.gradient && (result = createRadialGradient(context, color, params, offsetX, offsetY)), result || "orange");
|
|
18640
|
+
return color = GradientParser.Parse(color), "string" == typeof color ? color : ("linear" === color.gradient ? result = createLinearGradient(context, color, params, offsetX, offsetY) : "conical" === color.gradient ? result = createConicGradient(context, color, params, offsetX, offsetY) : "radial" === color.gradient && (result = createRadialGradient(context, color, params, offsetX, offsetY)), result || "orange");
|
|
18383
18641
|
}
|
|
18384
18642
|
function createLinearGradient(context, color, params) {
|
|
18385
18643
|
var offsetX = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
|
|
@@ -22740,11 +22998,10 @@
|
|
|
22740
22998
|
container.load(renderModule);
|
|
22741
22999
|
}
|
|
22742
23000
|
|
|
22743
|
-
var loaded$r = !1;
|
|
22744
23001
|
function preLoadAllModule() {
|
|
22745
|
-
|
|
23002
|
+
preLoadAllModule.__loaded || (preLoadAllModule.__loaded = !0, container.load(coreModule), container.load(graphicModule), container.load(renderModule$1), container.load(pickModule), container.load(pluginModule), load$1(container), load(container));
|
|
22746
23003
|
}
|
|
22747
|
-
preLoadAllModule();
|
|
23004
|
+
preLoadAllModule.__loaded = !1, preLoadAllModule();
|
|
22748
23005
|
var vglobal = container.get(VGlobal);
|
|
22749
23006
|
application.global = vglobal;
|
|
22750
23007
|
var graphicUtil = container.get(GraphicUtil);
|
|
@@ -22955,7 +23212,7 @@
|
|
|
22955
23212
|
graphic.bindDom.forEach(function (_ref) {
|
|
22956
23213
|
var wrapGroup = _ref.wrapGroup;
|
|
22957
23214
|
application.global.removeDom(wrapGroup);
|
|
22958
|
-
}),
|
|
23215
|
+
}), "string" == typeof dom ? (nativeDom = new DOMParser().parseFromString(dom, "text/html").firstChild, nativeDom.lastChild && (nativeDom = nativeDom.lastChild.firstChild)) : nativeDom = dom;
|
|
22959
23216
|
var _container = container || (!0 === stage.params.enableHtmlAttribute ? null : stage.params.enableHtmlAttribute);
|
|
22960
23217
|
nativeContainer = _container ? "string" == typeof _container ? application.global.getElementById(_container) : _container : graphic.stage.window.getContainer();
|
|
22961
23218
|
var wrapGroup = application.global.createDom({
|
|
@@ -26684,7 +26941,7 @@
|
|
|
26684
26941
|
ops: I(t, e, s, n, a)
|
|
26685
26942
|
};
|
|
26686
26943
|
}
|
|
26687
|
-
function m(t, e, s) {
|
|
26944
|
+
function m$2(t, e, s) {
|
|
26688
26945
|
var n = (t || []).length;
|
|
26689
26946
|
if (n > 2) {
|
|
26690
26947
|
var _a5 = [];
|
|
@@ -26701,7 +26958,7 @@
|
|
|
26701
26958
|
}
|
|
26702
26959
|
function w(t, e, s, n, a) {
|
|
26703
26960
|
return function (t, e) {
|
|
26704
|
-
return m(t, !0, e);
|
|
26961
|
+
return m$2(t, !0, e);
|
|
26705
26962
|
}([[t, e], [t + s, e], [t + s, e + n], [t, e + n]], a);
|
|
26706
26963
|
}
|
|
26707
26964
|
function x(t, e) {
|
|
@@ -27137,7 +27394,7 @@
|
|
|
27137
27394
|
key: "linearPath",
|
|
27138
27395
|
value: function linearPath(t, e) {
|
|
27139
27396
|
var s = this._o(e);
|
|
27140
|
-
return this._d("linearPath", [m(t, !1, s)], s);
|
|
27397
|
+
return this._d("linearPath", [m$2(t, !1, s)], s);
|
|
27141
27398
|
}
|
|
27142
27399
|
}, {
|
|
27143
27400
|
key: "arc",
|
|
@@ -27204,7 +27461,7 @@
|
|
|
27204
27461
|
value: function polygon(t, e) {
|
|
27205
27462
|
var s = this._o(e),
|
|
27206
27463
|
n = [],
|
|
27207
|
-
a = m(t, !0, s);
|
|
27464
|
+
a = m$2(t, !0, s);
|
|
27208
27465
|
return s.fill && ("solid" === s.fillStyle ? n.push(S([t], s)) : n.push(L([t], s))), s.stroke !== H && n.push(a), this._d("polygon", n, s);
|
|
27209
27466
|
}
|
|
27210
27467
|
}, {
|
|
@@ -27270,7 +27527,7 @@
|
|
|
27270
27527
|
return l;
|
|
27271
27528
|
}(t, 1, h ? 4 - 4 * s.simplification : (1 + s.roughness) / 2);
|
|
27272
27529
|
return a && ("solid" === s.fillStyle ? n.push(S(r, s)) : n.push(L(r, s))), o && (h ? r.forEach(function (t) {
|
|
27273
|
-
n.push(m(t, !1, s));
|
|
27530
|
+
n.push(m$2(t, !1, s));
|
|
27274
27531
|
}) : n.push(function (t, e) {
|
|
27275
27532
|
var s = g(d(f(t))),
|
|
27276
27533
|
n = [];
|
|
@@ -29918,10 +30175,11 @@
|
|
|
29918
30175
|
}();
|
|
29919
30176
|
DefaultCanvasGroupPicker = __decorate$O([injectable()], DefaultCanvasGroupPicker);
|
|
29920
30177
|
|
|
29921
|
-
var
|
|
29922
|
-
|
|
29923
|
-
loaded$q || (loaded$q = !0, bind(CanvasGroupPicker).to(DefaultCanvasGroupPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasGroupPicker), bindContributionProvider(bind, CanvasPickerContribution));
|
|
30178
|
+
var m$1 = new ContainerModule(function (bind, unbind, isBound, rebind) {
|
|
30179
|
+
m$1.__vloaded || (m$1.__vloaded = !0, bind(CanvasGroupPicker).to(DefaultCanvasGroupPicker).inSingletonScope(), bind(CanvasPickerContribution).toService(CanvasGroupPicker), bindContributionProvider(bind, CanvasPickerContribution));
|
|
29924
30180
|
});
|
|
30181
|
+
m$1.__vloaded = !1;
|
|
30182
|
+
var canvasModule = m$1;
|
|
29925
30183
|
|
|
29926
30184
|
var canvasPickerModule = new ContainerModule(function (bind, unbind, isBound, rebind) {
|
|
29927
30185
|
isBound(DefaultCanvasPickerService) || bind(DefaultCanvasPickerService).toSelf().inSingletonScope(), isBound(PickerService) ? rebind(PickerService).toService(DefaultCanvasPickerService) : bind(PickerService).toService(DefaultCanvasPickerService);
|
|
@@ -30268,7 +30526,7 @@
|
|
|
30268
30526
|
key: "getNativeAABBBounds",
|
|
30269
30527
|
value: function getNativeAABBBounds(_dom) {
|
|
30270
30528
|
var dom = _dom;
|
|
30271
|
-
if ("string" == typeof _dom && (dom = new DOMParser().parseFromString(_dom, "text/html").firstChild), dom.getBoundingClientRect) {
|
|
30529
|
+
if ("string" == typeof _dom && (dom = new DOMParser().parseFromString(_dom, "text/html").firstChild, dom.lastChild && (dom = dom.lastChild.firstChild)), dom.getBoundingClientRect) {
|
|
30272
30530
|
var b = dom.getBoundingClientRect();
|
|
30273
30531
|
return new DynamicB(b);
|
|
30274
30532
|
}
|
|
@@ -30430,15 +30688,15 @@
|
|
|
30430
30688
|
}(exports.BaseEnvContribution);
|
|
30431
30689
|
BrowserEnvContribution = __decorate$M([injectable(), __metadata$D("design:paramtypes", [])], BrowserEnvContribution);
|
|
30432
30690
|
|
|
30433
|
-
var isBrowserBound = !1;
|
|
30434
30691
|
var browserEnvModule = new ContainerModule(function (bind) {
|
|
30435
|
-
isBrowserBound || (isBrowserBound = !0, bind(BrowserEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(BrowserEnvContribution));
|
|
30692
|
+
browserEnvModule.isBrowserBound || (browserEnvModule.isBrowserBound = !0, bind(BrowserEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(BrowserEnvContribution));
|
|
30436
30693
|
});
|
|
30437
|
-
|
|
30694
|
+
browserEnvModule.isBrowserBound = !1;
|
|
30438
30695
|
function loadBrowserEnv(container) {
|
|
30439
30696
|
var loadPicker = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !0;
|
|
30440
|
-
|
|
30697
|
+
loadBrowserEnv.__loaded || (loadBrowserEnv.__loaded = !0, container.load(browserEnvModule), container.load(browserCanvasModule), container.load(browserWindowModule), loadPicker && loadCanvasPicker(container));
|
|
30441
30698
|
}
|
|
30699
|
+
loadBrowserEnv.__loaded = !1;
|
|
30442
30700
|
function initBrowserEnv() {
|
|
30443
30701
|
loadBrowserEnv(container);
|
|
30444
30702
|
}
|
|
@@ -30803,10 +31061,11 @@
|
|
|
30803
31061
|
}(exports.DefaultPickService);
|
|
30804
31062
|
DefaultMathPickerService = __decorate$I([injectable(), __param$r(0, inject(ContributionProvider)), __param$r(0, named(MathPickerContribution)), __param$r(1, inject(ContributionProvider)), __param$r(1, named(PickItemInterceptor)), __metadata$A("design:paramtypes", [Object, Object])], DefaultMathPickerService);
|
|
30805
31063
|
|
|
30806
|
-
var
|
|
30807
|
-
|
|
30808
|
-
loaded$o || (loaded$o = !0, bindContributionProvider(bind, MathPickerContribution));
|
|
31064
|
+
var m = new ContainerModule(function (bind) {
|
|
31065
|
+
m.__vloaded || (m.__vloaded = !0, bindContributionProvider(bind, MathPickerContribution));
|
|
30809
31066
|
});
|
|
31067
|
+
m.__vloaded = !1;
|
|
31068
|
+
var mathModule = m;
|
|
30810
31069
|
|
|
30811
31070
|
var mathPickerModule = new ContainerModule(function (bind, unbind, isBound, rebind) {
|
|
30812
31071
|
isBound(DefaultMathPickerService) || bind(DefaultMathPickerService).toSelf().inSingletonScope(), isBound(PickerService) ? rebind(PickerService).toService(DefaultMathPickerService) : bind(PickerService).toService(DefaultMathPickerService);
|
|
@@ -30970,15 +31229,15 @@
|
|
|
30970
31229
|
}(exports.BaseEnvContribution);
|
|
30971
31230
|
FeishuEnvContribution = __decorate$H([injectable(), __metadata$z("design:paramtypes", [])], FeishuEnvContribution);
|
|
30972
31231
|
|
|
30973
|
-
var isFeishuBound = !1;
|
|
30974
31232
|
var feishuEnvModule = new ContainerModule(function (bind) {
|
|
30975
|
-
isFeishuBound || (isFeishuBound = !0, bind(FeishuEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(FeishuEnvContribution));
|
|
31233
|
+
feishuEnvModule.isFeishuBound || (feishuEnvModule.isFeishuBound = !0, bind(FeishuEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(FeishuEnvContribution));
|
|
30976
31234
|
});
|
|
30977
|
-
|
|
31235
|
+
feishuEnvModule.isFeishuBound = !1;
|
|
30978
31236
|
function loadFeishuEnv(container) {
|
|
30979
31237
|
var loadPicker = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !0;
|
|
30980
|
-
|
|
31238
|
+
loadFeishuEnv.__loaded || (loadFeishuEnv.__loaded = !0, container.load(feishuEnvModule), container.load(feishuCanvasModule), container.load(feishuWindowModule), loadPicker && loadMathPicker(container));
|
|
30981
31239
|
}
|
|
31240
|
+
loadFeishuEnv.__loaded = !1;
|
|
30982
31241
|
function initFeishuEnv() {
|
|
30983
31242
|
loadFeishuEnv(container);
|
|
30984
31243
|
}
|
|
@@ -31497,15 +31756,15 @@
|
|
|
31497
31756
|
}(exports.BaseEnvContribution);
|
|
31498
31757
|
LynxEnvContribution = __decorate$D([injectable(), __metadata$w("design:paramtypes", [])], LynxEnvContribution);
|
|
31499
31758
|
|
|
31500
|
-
var isLynxBound = !1;
|
|
31501
31759
|
var lynxEnvModule = new ContainerModule(function (bind) {
|
|
31502
|
-
isLynxBound || (isLynxBound = !0, bind(LynxEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(LynxEnvContribution));
|
|
31760
|
+
lynxEnvModule.isLynxBound || (lynxEnvModule.isLynxBound = !0, bind(LynxEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(LynxEnvContribution));
|
|
31503
31761
|
});
|
|
31504
|
-
|
|
31762
|
+
lynxEnvModule.isLynxBound = !1;
|
|
31505
31763
|
function loadLynxEnv(container) {
|
|
31506
31764
|
var loadPicker = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !0;
|
|
31507
|
-
|
|
31765
|
+
loadLynxEnv.__loaded || (loadLynxEnv.__loaded = !0, container.load(lynxEnvModule), container.load(lynxCanvasModule), container.load(lynxWindowModule), loadPicker && loadMathPicker(container));
|
|
31508
31766
|
}
|
|
31767
|
+
loadLynxEnv.__loaded = !1;
|
|
31509
31768
|
function initLynxEnv() {
|
|
31510
31769
|
loadLynxEnv(container);
|
|
31511
31770
|
}
|
|
@@ -31878,14 +32137,14 @@
|
|
|
31878
32137
|
}(exports.BaseEnvContribution);
|
|
31879
32138
|
NodeEnvContribution = __decorate$z([injectable()], NodeEnvContribution);
|
|
31880
32139
|
|
|
31881
|
-
var isNodeBound = !1;
|
|
31882
32140
|
var nodeEnvModule = new ContainerModule(function (bind) {
|
|
31883
|
-
isNodeBound || (isNodeBound = !0, bind(NodeEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(NodeEnvContribution));
|
|
32141
|
+
nodeEnvModule.isNodeBound || (nodeEnvModule.isNodeBound = !0, bind(NodeEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(NodeEnvContribution));
|
|
31884
32142
|
});
|
|
31885
|
-
|
|
32143
|
+
nodeEnvModule.isNodeBound = !1;
|
|
31886
32144
|
function loadNodeEnv(container) {
|
|
31887
|
-
|
|
32145
|
+
loadNodeEnv.__loaded || (loadNodeEnv.__loaded = !0, container.load(nodeEnvModule), container.load(nodeCanvasModule), container.load(nodeWindowModule));
|
|
31888
32146
|
}
|
|
32147
|
+
loadNodeEnv.__loaded = !1;
|
|
31889
32148
|
function initNodeEnv() {
|
|
31890
32149
|
loadNodeEnv(container);
|
|
31891
32150
|
}
|
|
@@ -32426,15 +32685,15 @@
|
|
|
32426
32685
|
}(exports.BaseEnvContribution);
|
|
32427
32686
|
TaroEnvContribution = __decorate$v([injectable(), __metadata$q("design:paramtypes", [])], TaroEnvContribution);
|
|
32428
32687
|
|
|
32429
|
-
var isTaroBound = !1;
|
|
32430
32688
|
var taroEnvModule = new ContainerModule(function (bind) {
|
|
32431
|
-
isTaroBound || (isTaroBound = !0, bind(TaroEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(TaroEnvContribution));
|
|
32689
|
+
taroEnvModule.isTaroBound || (taroEnvModule.isTaroBound = !0, bind(TaroEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(TaroEnvContribution));
|
|
32432
32690
|
});
|
|
32433
|
-
|
|
32691
|
+
taroEnvModule.isTaroBound = !1;
|
|
32434
32692
|
function loadTaroEnv(container) {
|
|
32435
32693
|
var loadPicker = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !0;
|
|
32436
|
-
|
|
32694
|
+
loadTaroEnv.__loaded || (loadTaroEnv.__loaded = !0, container.load(taroEnvModule), container.load(taroCanvasModule), container.load(taroWindowModule), loadPicker && loadMathPicker(container));
|
|
32437
32695
|
}
|
|
32696
|
+
loadTaroEnv.__loaded = !1;
|
|
32438
32697
|
function initTaroEnv() {
|
|
32439
32698
|
loadTaroEnv(container);
|
|
32440
32699
|
}
|
|
@@ -32901,15 +33160,15 @@
|
|
|
32901
33160
|
}(exports.BaseEnvContribution);
|
|
32902
33161
|
WxEnvContribution = __decorate$r([injectable(), __metadata$n("design:paramtypes", [])], WxEnvContribution);
|
|
32903
33162
|
|
|
32904
|
-
var isWxBound = !1;
|
|
32905
33163
|
var wxEnvModule = new ContainerModule(function (bind) {
|
|
32906
|
-
|
|
33164
|
+
wxEnvModule._isWxBound || (wxEnvModule._isWxBound = !0, bind(WxEnvContribution).toSelf().inSingletonScope(), bind(EnvContribution).toService(WxEnvContribution));
|
|
32907
33165
|
});
|
|
32908
|
-
|
|
33166
|
+
wxEnvModule._isWxBound = !1;
|
|
32909
33167
|
function loadWxEnv(container) {
|
|
32910
33168
|
var loadPicker = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !0;
|
|
32911
|
-
|
|
33169
|
+
loadWxEnv.__loaded || (loadWxEnv.__loaded = !0, container.load(wxEnvModule), container.load(wxCanvasModule), container.load(wxWindowModule), loadPicker && loadMathPicker(container));
|
|
32912
33170
|
}
|
|
33171
|
+
loadWxEnv.__loaded = !1;
|
|
32913
33172
|
function initWxEnv() {
|
|
32914
33173
|
loadWxEnv(container);
|
|
32915
33174
|
}
|
|
@@ -32917,12 +33176,12 @@
|
|
|
32917
33176
|
function loadAllEnv(container) {
|
|
32918
33177
|
loadAllModule(container);
|
|
32919
33178
|
}
|
|
32920
|
-
var loaded$i = !1;
|
|
32921
33179
|
function loadAllModule(container) {
|
|
32922
|
-
|
|
33180
|
+
loadAllModule.__loaded || (loadAllModule.__loaded = !0, loadBrowserEnv(container, !1), loadFeishuEnv(container, !1), loadLynxEnv(container, !1), loadNodeEnv(container), loadTaroEnv(container, !1), loadWxEnv(container, !1), loadCanvasPicker(container), vglobal.hooks.onSetEnv.tap("loadMathPicker", function (lastEnv, env) {
|
|
32923
33181
|
"browser" !== env && loadMathPicker(container);
|
|
32924
33182
|
}));
|
|
32925
33183
|
}
|
|
33184
|
+
loadAllModule.__loaded = !1;
|
|
32926
33185
|
function initAllEnv() {
|
|
32927
33186
|
loadAllEnv(container);
|
|
32928
33187
|
}
|
|
@@ -34424,99 +34683,117 @@
|
|
|
34424
34683
|
|
|
34425
34684
|
var browser = isBrowserEnv();
|
|
34426
34685
|
|
|
34427
|
-
|
|
34428
|
-
|
|
34429
|
-
loaded$h || (loaded$h = !0, registerArcGraphic(), container.load(arcModule), container.load(browser ? arcCanvasPickModule : arcMathPickModule));
|
|
34686
|
+
function _registerArc() {
|
|
34687
|
+
_registerArc.__loaded || (_registerArc.__loaded = !0, registerArcGraphic(), container.load(arcModule), container.load(browser ? arcCanvasPickModule : arcMathPickModule));
|
|
34430
34688
|
}
|
|
34689
|
+
_registerArc.__loaded = !1;
|
|
34690
|
+
var registerArc = _registerArc;
|
|
34431
34691
|
|
|
34432
|
-
|
|
34433
|
-
|
|
34434
|
-
loaded$g || (loaded$g = !0, registerArc3dGraphic(), container.load(arc3dModule), container.load(arc3dCanvasPickModule));
|
|
34692
|
+
function _registerArc3d() {
|
|
34693
|
+
_registerArc3d.__loaded || (_registerArc3d.__loaded = !0, registerArc3dGraphic(), container.load(arc3dModule), container.load(arc3dCanvasPickModule));
|
|
34435
34694
|
}
|
|
34695
|
+
_registerArc3d.__loaded = !1;
|
|
34696
|
+
var registerArc3d = _registerArc3d;
|
|
34436
34697
|
|
|
34437
|
-
|
|
34438
|
-
|
|
34439
|
-
loaded$f || (loaded$f = !0, registerAreaGraphic(), container.load(areaModule), container.load(browser ? areaCanvasPickModule : areaMathPickModule));
|
|
34698
|
+
function _registerArea() {
|
|
34699
|
+
_registerArea.__loaded || (_registerArea.__loaded = !0, registerAreaGraphic(), container.load(areaModule), container.load(browser ? areaCanvasPickModule : areaMathPickModule));
|
|
34440
34700
|
}
|
|
34701
|
+
_registerArea.__loaded = !1;
|
|
34702
|
+
var registerArea = _registerArea;
|
|
34441
34703
|
|
|
34442
|
-
|
|
34443
|
-
|
|
34444
|
-
loaded$e || (loaded$e = !0, registerCircleGraphic(), container.load(circleModule), container.load(browser ? circleCanvasPickModule : circleMathPickModule));
|
|
34704
|
+
function _registerCircle() {
|
|
34705
|
+
_registerCircle.__loaded || (_registerCircle.__loaded = !0, registerCircleGraphic(), container.load(circleModule), container.load(browser ? circleCanvasPickModule : circleMathPickModule));
|
|
34445
34706
|
}
|
|
34707
|
+
_registerCircle.__loaded = !1;
|
|
34708
|
+
var registerCircle = _registerCircle;
|
|
34446
34709
|
|
|
34447
|
-
|
|
34448
|
-
|
|
34449
|
-
loaded$d || (loaded$d = !0, registerGlyphGraphic(), container.load(glyphModule), container.load(browser ? glyphCanvasPickModule : glyphMathPickModule));
|
|
34710
|
+
function _registerGlyph() {
|
|
34711
|
+
_registerGlyph.__loaded || (_registerGlyph.__loaded = !0, registerGlyphGraphic(), container.load(glyphModule), container.load(browser ? glyphCanvasPickModule : glyphMathPickModule));
|
|
34450
34712
|
}
|
|
34713
|
+
_registerGlyph.__loaded = !1;
|
|
34714
|
+
var registerGlyph = _registerGlyph;
|
|
34451
34715
|
|
|
34452
|
-
|
|
34453
|
-
|
|
34454
|
-
loaded$c || (loaded$c = !0, registerGroupGraphic());
|
|
34716
|
+
function _registerGroup() {
|
|
34717
|
+
_registerGroup.__loaded || (_registerGroup.__loaded = !0, registerGroupGraphic());
|
|
34455
34718
|
}
|
|
34719
|
+
_registerGroup.__loaded = !1;
|
|
34720
|
+
var registerGroup = _registerGroup;
|
|
34456
34721
|
|
|
34457
|
-
|
|
34458
|
-
|
|
34459
|
-
loaded$b || (loaded$b = !0, registerImageGraphic(), container.load(imageModule), container.load(browser ? imageCanvasPickModule : imageMathPickModule));
|
|
34722
|
+
function _registerImage() {
|
|
34723
|
+
_registerImage.__loaded || (_registerImage.__loaded = !0, registerImageGraphic(), container.load(imageModule), container.load(browser ? imageCanvasPickModule : imageMathPickModule));
|
|
34460
34724
|
}
|
|
34725
|
+
_registerImage.__loaded = !1;
|
|
34726
|
+
var registerImage = _registerImage;
|
|
34461
34727
|
|
|
34462
|
-
|
|
34463
|
-
|
|
34464
|
-
loaded$a || (loaded$a = !0, registerLineGraphic(), container.load(lineModule), container.load(browser ? lineCanvasPickModule : lineMathPickModule));
|
|
34728
|
+
function _registerLine() {
|
|
34729
|
+
_registerLine.__loaded || (_registerLine.__loaded = !0, registerLineGraphic(), container.load(lineModule), container.load(browser ? lineCanvasPickModule : lineMathPickModule));
|
|
34465
34730
|
}
|
|
34731
|
+
_registerLine.__loaded = !1;
|
|
34732
|
+
var registerLine = _registerLine;
|
|
34466
34733
|
|
|
34467
|
-
|
|
34468
|
-
|
|
34469
|
-
loaded$9 || (loaded$9 = !0, registerPathGraphic(), container.load(pathModule), container.load(browser ? pathCanvasPickModule : pathMathPickModule));
|
|
34734
|
+
function _registerPath() {
|
|
34735
|
+
_registerPath.__loaded || (_registerPath.__loaded = !0, registerPathGraphic(), container.load(pathModule), container.load(browser ? pathCanvasPickModule : pathMathPickModule));
|
|
34470
34736
|
}
|
|
34737
|
+
_registerPath.__loaded = !1;
|
|
34738
|
+
var registerPath = _registerPath;
|
|
34471
34739
|
|
|
34472
|
-
|
|
34473
|
-
|
|
34474
|
-
loaded$8 || (loaded$8 = !0, registerPolygonGraphic(), container.load(polygonModule), container.load(browser ? polygonCanvasPickModule : polygonMathPickModule));
|
|
34740
|
+
function _registerPolygon() {
|
|
34741
|
+
_registerPolygon.__loaded || (_registerPolygon.__loaded = !0, registerPolygonGraphic(), container.load(polygonModule), container.load(browser ? polygonCanvasPickModule : polygonMathPickModule));
|
|
34475
34742
|
}
|
|
34743
|
+
_registerPolygon.__loaded = !1;
|
|
34744
|
+
var registerPolygon = _registerPolygon;
|
|
34476
34745
|
|
|
34477
|
-
|
|
34478
|
-
|
|
34479
|
-
loaded$7 || (loaded$7 = !0, registerPyramid3dGraphic(), container.load(pyramid3dModule), container.load(pyramid3dCanvasPickModule));
|
|
34746
|
+
function _registerPyramid3d() {
|
|
34747
|
+
_registerPyramid3d.__loaded || (_registerPyramid3d.__loaded = !0, registerPyramid3dGraphic(), container.load(pyramid3dModule), container.load(pyramid3dCanvasPickModule));
|
|
34480
34748
|
}
|
|
34749
|
+
_registerPyramid3d.__loaded = !1;
|
|
34750
|
+
var registerPyramid3d = _registerPyramid3d;
|
|
34481
34751
|
|
|
34482
|
-
|
|
34483
|
-
|
|
34484
|
-
loaded$6 || (loaded$6 = !0, registerRectGraphic(), container.load(rectModule), container.load(browser ? rectCanvasPickModule : rectMathPickModule));
|
|
34752
|
+
function _registerRect() {
|
|
34753
|
+
_registerRect.__loaded || (_registerRect.__loaded = !0, registerRectGraphic(), container.load(rectModule), container.load(browser ? rectCanvasPickModule : rectMathPickModule));
|
|
34485
34754
|
}
|
|
34755
|
+
_registerRect.__loaded = !1;
|
|
34756
|
+
var registerRect = _registerRect;
|
|
34486
34757
|
|
|
34487
|
-
|
|
34488
|
-
|
|
34489
|
-
loaded$5 || (loaded$5 = !0, registerRect3dGraphic(), container.load(rect3dModule), container.load(rect3dCanvasPickModule));
|
|
34758
|
+
function _registerRect3d() {
|
|
34759
|
+
_registerRect3d.__loaded || (_registerRect3d.__loaded = !0, registerRect3dGraphic(), container.load(rect3dModule), container.load(rect3dCanvasPickModule));
|
|
34490
34760
|
}
|
|
34761
|
+
_registerRect3d.__loaded = !1;
|
|
34762
|
+
var registerRect3d = _registerRect3d;
|
|
34491
34763
|
|
|
34492
|
-
|
|
34493
|
-
|
|
34494
|
-
loaded$4 || (loaded$4 = !0, registerRichtextGraphic(), container.load(richtextModule), container.load(browser ? richtextCanvasPickModule : richTextMathPickModule));
|
|
34764
|
+
function _registerRichtext() {
|
|
34765
|
+
_registerRichtext.__loaded || (_registerRichtext.__loaded = !0, registerRichtextGraphic(), container.load(richtextModule), container.load(browser ? richtextCanvasPickModule : richTextMathPickModule));
|
|
34495
34766
|
}
|
|
34767
|
+
_registerRichtext.__loaded = !1;
|
|
34768
|
+
var registerRichtext = _registerRichtext;
|
|
34496
34769
|
|
|
34497
|
-
|
|
34498
|
-
|
|
34499
|
-
loaded$3 || (loaded$3 = !0, registerShadowRootGraphic());
|
|
34770
|
+
function _registerShadowRoot() {
|
|
34771
|
+
_registerShadowRoot.__loaded || (_registerShadowRoot.__loaded = !0, registerShadowRootGraphic());
|
|
34500
34772
|
}
|
|
34773
|
+
_registerShadowRoot.__loaded = !1;
|
|
34774
|
+
var registerShadowRoot = _registerShadowRoot;
|
|
34501
34775
|
|
|
34502
|
-
|
|
34503
|
-
|
|
34504
|
-
loaded$2 || (loaded$2 = !0, registerSymbolGraphic(), container.load(symbolModule), container.load(browser ? symbolCanvasPickModule : symbolMathPickModule));
|
|
34776
|
+
function _registerSymbol() {
|
|
34777
|
+
_registerSymbol.__loaded || (_registerSymbol.__loaded = !0, registerSymbolGraphic(), container.load(symbolModule), container.load(browser ? symbolCanvasPickModule : symbolMathPickModule));
|
|
34505
34778
|
}
|
|
34779
|
+
_registerSymbol.__loaded = !1;
|
|
34780
|
+
var registerSymbol = _registerSymbol;
|
|
34506
34781
|
|
|
34507
|
-
|
|
34508
|
-
|
|
34509
|
-
loaded$1 || (loaded$1 = !0, registerTextGraphic(), container.load(textModule), container.load(browser ? textCanvasPickModule : textMathPickModule));
|
|
34782
|
+
function _registerText() {
|
|
34783
|
+
_registerText.__loaded || (_registerText.__loaded = !0, registerTextGraphic(), container.load(textModule), container.load(browser ? textCanvasPickModule : textMathPickModule));
|
|
34510
34784
|
}
|
|
34785
|
+
_registerText.__loaded = !1;
|
|
34786
|
+
var registerText = _registerText;
|
|
34511
34787
|
|
|
34512
|
-
|
|
34513
|
-
|
|
34514
|
-
loaded || (loaded = !0, registerWrapTextGraphic());
|
|
34788
|
+
function _registerWrapText() {
|
|
34789
|
+
_registerWrapText.__loaded || (_registerWrapText.__loaded = !0, registerWrapTextGraphic());
|
|
34515
34790
|
}
|
|
34791
|
+
_registerWrapText.__loaded = !1;
|
|
34792
|
+
var registerWrapText = _registerWrapText;
|
|
34516
34793
|
|
|
34517
34794
|
var roughModule = _roughModule;
|
|
34518
34795
|
|
|
34519
|
-
const version = "0.17.
|
|
34796
|
+
const version = "0.17.17";
|
|
34520
34797
|
preLoadAllModule();
|
|
34521
34798
|
if (isBrowserEnv()) {
|
|
34522
34799
|
loadBrowserEnv(container);
|
|
@@ -34780,6 +35057,7 @@
|
|
|
34780
35057
|
exports.WindowHandlerContribution = WindowHandlerContribution;
|
|
34781
35058
|
exports.WrapText = WrapText;
|
|
34782
35059
|
exports.XMLParser = XMLParser;
|
|
35060
|
+
exports._registerArc = _registerArc;
|
|
34783
35061
|
exports.addArcToBezierPath = addArcToBezierPath$1;
|
|
34784
35062
|
exports.addAttributeToPrototype = addAttributeToPrototype;
|
|
34785
35063
|
exports.alignBezierCurves = alignBezierCurves;
|