fl-web-component 1.3.4 → 1.3.6
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/README.md +3 -0
- package/dist/fl-web-component.common.1.js +4 -4
- package/dist/fl-web-component.common.js +215 -204
- package/dist/fl-web-component.common.js.map +1 -1
- package/dist/fl-web-component.css +1 -1
- package/package.json +1 -1
- package/packages/components/com-graphics/index.vue +68 -66
- package/src/static/DXF.svg +1 -1
- package/src/utils/flgltf-parser.js +1 -0
- package/src/utils/index.js +16 -0
- package/src/utils/instance-parser.js +3 -0
|
@@ -614,10 +614,21 @@ var Tween = /*#__PURE__*/function () {
|
|
|
614
614
|
thisId = this._id,
|
|
615
615
|
attrs = Tween.tweens[nodeId];
|
|
616
616
|
this.pause();
|
|
617
|
+
if (this.anim) {
|
|
618
|
+
this.anim.stop();
|
|
619
|
+
}
|
|
617
620
|
for (var key in attrs) {
|
|
618
621
|
delete Tween.tweens[nodeId][key];
|
|
619
622
|
}
|
|
620
623
|
delete Tween.attrs[nodeId][thisId];
|
|
624
|
+
if (Tween.tweens[nodeId]) {
|
|
625
|
+
if (Object.keys(Tween.tweens[nodeId]).length === 0) {
|
|
626
|
+
delete Tween.tweens[nodeId];
|
|
627
|
+
}
|
|
628
|
+
if (Object.keys(Tween.attrs[nodeId]).length === 0) {
|
|
629
|
+
delete Tween.attrs[nodeId];
|
|
630
|
+
}
|
|
631
|
+
}
|
|
621
632
|
}
|
|
622
633
|
}]);
|
|
623
634
|
}();
|
|
@@ -1102,7 +1113,7 @@ var Layer = /*#__PURE__*/function (_Container_1$Containe) {
|
|
|
1102
1113
|
}
|
|
1103
1114
|
}, {
|
|
1104
1115
|
key: "drawScene",
|
|
1105
|
-
value: function drawScene(can, top) {
|
|
1116
|
+
value: function drawScene(can, top, bufferCanvas) {
|
|
1106
1117
|
var layer = this.getLayer(),
|
|
1107
1118
|
canvas = can || layer && layer.getCanvas();
|
|
1108
1119
|
this._fire(BEFORE_DRAW, {
|
|
@@ -1111,7 +1122,7 @@ var Layer = /*#__PURE__*/function (_Container_1$Containe) {
|
|
|
1111
1122
|
if (this.clearBeforeDraw()) {
|
|
1112
1123
|
canvas.getContext().clear();
|
|
1113
1124
|
}
|
|
1114
|
-
Container_1.Container.prototype.drawScene.call(this, canvas, top);
|
|
1125
|
+
Container_1.Container.prototype.drawScene.call(this, canvas, top, bufferCanvas);
|
|
1115
1126
|
this._fire(DRAW, {
|
|
1116
1127
|
node: this
|
|
1117
1128
|
});
|
|
@@ -2967,17 +2978,6 @@ exports.Konva = Util_1.Util._assign(Global_1.Konva, {
|
|
|
2967
2978
|
});
|
|
2968
2979
|
exports.default = exports.Konva;
|
|
2969
2980
|
|
|
2970
|
-
/***/ }),
|
|
2971
|
-
|
|
2972
|
-
/***/ "377d":
|
|
2973
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2974
|
-
|
|
2975
|
-
"use strict";
|
|
2976
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_e9c014d6_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e703");
|
|
2977
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_e9c014d6_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_e9c014d6_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
2978
|
-
/* unused harmony reexport * */
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
2981
|
/***/ }),
|
|
2982
2982
|
|
|
2983
2983
|
/***/ "383f":
|
|
@@ -3079,47 +3079,33 @@ var Pixelate = function Pixelate(imageData) {
|
|
|
3079
3079
|
var pixelSize = Math.ceil(this.pixelSize()),
|
|
3080
3080
|
width = imageData.width,
|
|
3081
3081
|
height = imageData.height,
|
|
3082
|
-
x,
|
|
3083
|
-
y,
|
|
3084
|
-
i,
|
|
3085
|
-
red,
|
|
3086
|
-
green,
|
|
3087
|
-
blue,
|
|
3088
|
-
alpha,
|
|
3089
3082
|
nBinsX = Math.ceil(width / pixelSize),
|
|
3090
3083
|
nBinsY = Math.ceil(height / pixelSize),
|
|
3091
|
-
xBinStart,
|
|
3092
|
-
xBinEnd,
|
|
3093
|
-
yBinStart,
|
|
3094
|
-
yBinEnd,
|
|
3095
|
-
xBin,
|
|
3096
|
-
yBin,
|
|
3097
|
-
pixelsInBin,
|
|
3098
3084
|
data = imageData.data;
|
|
3099
3085
|
if (pixelSize <= 0) {
|
|
3100
3086
|
Util_1.Util.error('pixelSize value can not be <= 0');
|
|
3101
3087
|
return;
|
|
3102
3088
|
}
|
|
3103
|
-
for (xBin = 0; xBin < nBinsX; xBin += 1) {
|
|
3104
|
-
for (yBin = 0; yBin < nBinsY; yBin += 1) {
|
|
3105
|
-
red = 0;
|
|
3106
|
-
green = 0;
|
|
3107
|
-
blue = 0;
|
|
3108
|
-
alpha = 0;
|
|
3109
|
-
xBinStart = xBin * pixelSize;
|
|
3110
|
-
xBinEnd = xBinStart + pixelSize;
|
|
3111
|
-
yBinStart = yBin * pixelSize;
|
|
3112
|
-
yBinEnd = yBinStart + pixelSize;
|
|
3113
|
-
pixelsInBin = 0;
|
|
3114
|
-
for (x = xBinStart; x < xBinEnd; x += 1) {
|
|
3089
|
+
for (var xBin = 0; xBin < nBinsX; xBin += 1) {
|
|
3090
|
+
for (var yBin = 0; yBin < nBinsY; yBin += 1) {
|
|
3091
|
+
var red = 0;
|
|
3092
|
+
var green = 0;
|
|
3093
|
+
var blue = 0;
|
|
3094
|
+
var alpha = 0;
|
|
3095
|
+
var xBinStart = xBin * pixelSize;
|
|
3096
|
+
var xBinEnd = xBinStart + pixelSize;
|
|
3097
|
+
var yBinStart = yBin * pixelSize;
|
|
3098
|
+
var yBinEnd = yBinStart + pixelSize;
|
|
3099
|
+
var pixelsInBin = 0;
|
|
3100
|
+
for (var x = xBinStart; x < xBinEnd; x += 1) {
|
|
3115
3101
|
if (x >= width) {
|
|
3116
3102
|
continue;
|
|
3117
3103
|
}
|
|
3118
|
-
for (y = yBinStart; y < yBinEnd; y += 1) {
|
|
3104
|
+
for (var y = yBinStart; y < yBinEnd; y += 1) {
|
|
3119
3105
|
if (y >= height) {
|
|
3120
3106
|
continue;
|
|
3121
3107
|
}
|
|
3122
|
-
i = (width * y + x) * 4;
|
|
3108
|
+
var i = (width * y + x) * 4;
|
|
3123
3109
|
red += data[i + 0];
|
|
3124
3110
|
green += data[i + 1];
|
|
3125
3111
|
blue += data[i + 2];
|
|
@@ -3131,19 +3117,19 @@ var Pixelate = function Pixelate(imageData) {
|
|
|
3131
3117
|
green = green / pixelsInBin;
|
|
3132
3118
|
blue = blue / pixelsInBin;
|
|
3133
3119
|
alpha = alpha / pixelsInBin;
|
|
3134
|
-
for (
|
|
3135
|
-
if (
|
|
3120
|
+
for (var _x = xBinStart; _x < xBinEnd; _x += 1) {
|
|
3121
|
+
if (_x >= width) {
|
|
3136
3122
|
continue;
|
|
3137
3123
|
}
|
|
3138
|
-
for (
|
|
3139
|
-
if (
|
|
3124
|
+
for (var _y = yBinStart; _y < yBinEnd; _y += 1) {
|
|
3125
|
+
if (_y >= height) {
|
|
3140
3126
|
continue;
|
|
3141
3127
|
}
|
|
3142
|
-
|
|
3143
|
-
data[
|
|
3144
|
-
data[
|
|
3145
|
-
data[
|
|
3146
|
-
data[
|
|
3128
|
+
var _i = (width * _y + _x) * 4;
|
|
3129
|
+
data[_i + 0] = red;
|
|
3130
|
+
data[_i + 1] = green;
|
|
3131
|
+
data[_i + 2] = blue;
|
|
3132
|
+
data[_i + 3] = alpha;
|
|
3147
3133
|
}
|
|
3148
3134
|
}
|
|
3149
3135
|
}
|
|
@@ -3354,12 +3340,11 @@ var HSV = function HSV(imageData) {
|
|
|
3354
3340
|
var br = 0.299 * v - 0.3 * vsu + 1.25 * vsw,
|
|
3355
3341
|
bg = 0.587 * v - 0.586 * vsu - 1.05 * vsw,
|
|
3356
3342
|
bb = 0.114 * v + 0.886 * vsu - 0.2 * vsw;
|
|
3357
|
-
var r, g, b, a;
|
|
3358
3343
|
for (var i = 0; i < nPixels; i += 4) {
|
|
3359
|
-
r = data[i + 0];
|
|
3360
|
-
g = data[i + 1];
|
|
3361
|
-
b = data[i + 2];
|
|
3362
|
-
a = data[i + 3];
|
|
3344
|
+
var r = data[i + 0];
|
|
3345
|
+
var g = data[i + 1];
|
|
3346
|
+
var b = data[i + 2];
|
|
3347
|
+
var a = data[i + 3];
|
|
3363
3348
|
data[i + 0] = rr * r + rg * g + rb * b;
|
|
3364
3349
|
data[i + 1] = gr * r + gg * g + gb * b;
|
|
3365
3350
|
data[i + 2] = br * r + bg * g + bb * b;
|
|
@@ -3398,11 +3383,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3398
3383
|
value: true
|
|
3399
3384
|
});
|
|
3400
3385
|
exports.Node = void 0;
|
|
3401
|
-
var Util_1 = __webpack_require__("9cb8");
|
|
3402
|
-
var Factory_1 = __webpack_require__("f0b4");
|
|
3403
3386
|
var Canvas_1 = __webpack_require__("f655");
|
|
3404
|
-
var Global_1 = __webpack_require__("d777");
|
|
3405
3387
|
var DragAndDrop_1 = __webpack_require__("df93");
|
|
3388
|
+
var Factory_1 = __webpack_require__("f0b4");
|
|
3389
|
+
var Global_1 = __webpack_require__("d777");
|
|
3390
|
+
var Util_1 = __webpack_require__("9cb8");
|
|
3406
3391
|
var Validators_1 = __webpack_require__("4546");
|
|
3407
3392
|
var ABSOLUTE_OPACITY = 'absoluteOpacity',
|
|
3408
3393
|
ALL_LISTENERS = 'allEventListeners',
|
|
@@ -3415,6 +3400,10 @@ var ABSOLUTE_OPACITY = 'absoluteOpacity',
|
|
|
3415
3400
|
LISTENING = 'listening',
|
|
3416
3401
|
MOUSEENTER = 'mouseenter',
|
|
3417
3402
|
MOUSELEAVE = 'mouseleave',
|
|
3403
|
+
POINTERENTER = 'pointerenter',
|
|
3404
|
+
POINTERLEAVE = 'pointerleave',
|
|
3405
|
+
TOUCHENTER = 'touchenter',
|
|
3406
|
+
TOUCHLEAVE = 'touchleave',
|
|
3418
3407
|
NAME = 'name',
|
|
3419
3408
|
SET = 'set',
|
|
3420
3409
|
SHAPE = 'Shape',
|
|
@@ -3509,8 +3498,9 @@ var Node = /*#__PURE__*/function () {
|
|
|
3509
3498
|
var _this$_cache$get = this._cache.get(CANVAS),
|
|
3510
3499
|
scene = _this$_cache$get.scene,
|
|
3511
3500
|
filter = _this$_cache$get.filter,
|
|
3512
|
-
hit = _this$_cache$get.hit
|
|
3513
|
-
|
|
3501
|
+
hit = _this$_cache$get.hit,
|
|
3502
|
+
buffer = _this$_cache$get.buffer;
|
|
3503
|
+
Util_1.Util.releaseCanvas(scene, filter, hit, buffer);
|
|
3514
3504
|
this._cache.delete(CANVAS);
|
|
3515
3505
|
}
|
|
3516
3506
|
this._clearSelfAndDescendantCache();
|
|
@@ -3564,6 +3554,12 @@ var Node = /*#__PURE__*/function () {
|
|
|
3564
3554
|
}),
|
|
3565
3555
|
sceneContext = cachedSceneCanvas.getContext(),
|
|
3566
3556
|
hitContext = cachedHitCanvas.getContext();
|
|
3557
|
+
var bufferCanvas = new Canvas_1.SceneCanvas({
|
|
3558
|
+
width: cachedSceneCanvas.width / cachedSceneCanvas.pixelRatio + Math.abs(x),
|
|
3559
|
+
height: cachedSceneCanvas.height / cachedSceneCanvas.pixelRatio + Math.abs(y),
|
|
3560
|
+
pixelRatio: cachedSceneCanvas.pixelRatio
|
|
3561
|
+
}),
|
|
3562
|
+
bufferContext = bufferCanvas.getContext();
|
|
3567
3563
|
cachedHitCanvas.isCache = true;
|
|
3568
3564
|
cachedSceneCanvas.isCache = true;
|
|
3569
3565
|
this._cache.delete(CANVAS);
|
|
@@ -3574,12 +3570,16 @@ var Node = /*#__PURE__*/function () {
|
|
|
3574
3570
|
}
|
|
3575
3571
|
sceneContext.save();
|
|
3576
3572
|
hitContext.save();
|
|
3573
|
+
bufferContext.save();
|
|
3577
3574
|
sceneContext.translate(-x, -y);
|
|
3578
3575
|
hitContext.translate(-x, -y);
|
|
3576
|
+
bufferContext.translate(-x, -y);
|
|
3577
|
+
bufferCanvas.x = x;
|
|
3578
|
+
bufferCanvas.y = y;
|
|
3579
3579
|
this._isUnderCache = true;
|
|
3580
3580
|
this._clearSelfAndDescendantCache(ABSOLUTE_OPACITY);
|
|
3581
3581
|
this._clearSelfAndDescendantCache(ABSOLUTE_SCALE);
|
|
3582
|
-
this.drawScene(cachedSceneCanvas, this);
|
|
3582
|
+
this.drawScene(cachedSceneCanvas, this, bufferCanvas);
|
|
3583
3583
|
this.drawHit(cachedHitCanvas, this);
|
|
3584
3584
|
this._isUnderCache = false;
|
|
3585
3585
|
sceneContext.restore();
|
|
@@ -3598,6 +3598,7 @@ var Node = /*#__PURE__*/function () {
|
|
|
3598
3598
|
scene: cachedSceneCanvas,
|
|
3599
3599
|
filter: cachedFilterCanvas,
|
|
3600
3600
|
hit: cachedHitCanvas,
|
|
3601
|
+
buffer: bufferCanvas,
|
|
3601
3602
|
x: x,
|
|
3602
3603
|
y: y
|
|
3603
3604
|
});
|
|
@@ -3718,22 +3719,18 @@ var Node = /*#__PURE__*/function () {
|
|
|
3718
3719
|
}, {
|
|
3719
3720
|
key: "on",
|
|
3720
3721
|
value: function on(evtStr, handler) {
|
|
3721
|
-
|
|
3722
|
+
if (this._cache) {
|
|
3723
|
+
this._cache.delete(ALL_LISTENERS);
|
|
3724
|
+
}
|
|
3722
3725
|
if (arguments.length === 3) {
|
|
3723
3726
|
return this._delegate.apply(this, arguments);
|
|
3724
3727
|
}
|
|
3725
|
-
var events = evtStr.split(SPACE)
|
|
3726
|
-
|
|
3727
|
-
n
|
|
3728
|
-
event
|
|
3729
|
-
parts
|
|
3730
|
-
|
|
3731
|
-
name;
|
|
3732
|
-
for (n = 0; n < len; n++) {
|
|
3733
|
-
event = events[n];
|
|
3734
|
-
parts = event.split('.');
|
|
3735
|
-
baseEvent = parts[0];
|
|
3736
|
-
name = parts[1] || '';
|
|
3728
|
+
var events = evtStr.split(SPACE);
|
|
3729
|
+
for (var n = 0; n < events.length; n++) {
|
|
3730
|
+
var event = events[n];
|
|
3731
|
+
var parts = event.split('.');
|
|
3732
|
+
var baseEvent = parts[0];
|
|
3733
|
+
var name = parts[1] || '';
|
|
3737
3734
|
if (!this.eventListeners[baseEvent]) {
|
|
3738
3735
|
this.eventListeners[baseEvent] = [];
|
|
3739
3736
|
}
|
|
@@ -4803,10 +4800,11 @@ var Node = /*#__PURE__*/function () {
|
|
|
4803
4800
|
if (evt && this.nodeType === SHAPE) {
|
|
4804
4801
|
evt.target = this;
|
|
4805
4802
|
}
|
|
4806
|
-
var
|
|
4803
|
+
var nonBubbling = [MOUSEENTER, MOUSELEAVE, POINTERENTER, POINTERLEAVE, TOUCHENTER, TOUCHLEAVE];
|
|
4804
|
+
var shouldStop = nonBubbling.indexOf(eventType) !== -1 && (compareShape && (this === compareShape || this.isAncestorOf && this.isAncestorOf(compareShape)) || this.nodeType === 'Stage' && !compareShape);
|
|
4807
4805
|
if (!shouldStop) {
|
|
4808
4806
|
this._fire(eventType, evt);
|
|
4809
|
-
var stopBubble = (eventType
|
|
4807
|
+
var stopBubble = nonBubbling.indexOf(eventType) !== -1 && compareShape && compareShape.isAncestorOf && compareShape.isAncestorOf(this) && !compareShape.isAncestorOf(this.parent);
|
|
4810
4808
|
if ((evt && !evt.cancelBubble || !evt) && this.parent && this.parent.isListening() && !stopBubble) {
|
|
4811
4809
|
if (compareShape && compareShape.parent) {
|
|
4812
4810
|
this._fireAndBubble.call(this.parent, eventType, evt, compareShape);
|
|
@@ -4850,8 +4848,8 @@ var Node = /*#__PURE__*/function () {
|
|
|
4850
4848
|
}
|
|
4851
4849
|
var selfListeners = this.eventListeners[eventType];
|
|
4852
4850
|
if (selfListeners) {
|
|
4853
|
-
for (var
|
|
4854
|
-
selfListeners[
|
|
4851
|
+
for (var _i = 0; _i < selfListeners.length; _i++) {
|
|
4852
|
+
selfListeners[_i].handler.call(this, evt);
|
|
4855
4853
|
}
|
|
4856
4854
|
}
|
|
4857
4855
|
}
|
|
@@ -5538,8 +5536,6 @@ var Text = /*#__PURE__*/function (_Shape_1$Shape) {
|
|
|
5538
5536
|
baseline = 'alphabetic';
|
|
5539
5537
|
translateY = (metrics.fontBoundingBoxAscent - metrics.fontBoundingBoxDescent) / 2 + lineHeightPx / 2;
|
|
5540
5538
|
}
|
|
5541
|
-
var lineTranslateX = 0;
|
|
5542
|
-
var lineTranslateY = 0;
|
|
5543
5539
|
if (direction === RTL) {
|
|
5544
5540
|
context.setAttr('direction', direction);
|
|
5545
5541
|
}
|
|
@@ -5558,10 +5554,7 @@ var Text = /*#__PURE__*/function (_Shape_1$Shape) {
|
|
|
5558
5554
|
var obj = textArr[n],
|
|
5559
5555
|
text = obj.text,
|
|
5560
5556
|
width = obj.width,
|
|
5561
|
-
lastLine = obj.lastInParagraph
|
|
5562
|
-
spacesNumber,
|
|
5563
|
-
oneWord,
|
|
5564
|
-
lineWidth;
|
|
5557
|
+
lastLine = obj.lastInParagraph;
|
|
5565
5558
|
context.save();
|
|
5566
5559
|
if (align === RIGHT) {
|
|
5567
5560
|
lineTranslateX += totalWidth - width - padding * 2;
|
|
@@ -5575,9 +5568,7 @@ var Text = /*#__PURE__*/function (_Shape_1$Shape) {
|
|
|
5575
5568
|
var x = lineTranslateX;
|
|
5576
5569
|
var y = translateY + lineTranslateY + yOffset;
|
|
5577
5570
|
context.moveTo(x, y);
|
|
5578
|
-
|
|
5579
|
-
oneWord = spacesNumber === 0;
|
|
5580
|
-
lineWidth = align === JUSTIFY && !lastLine ? totalWidth - padding * 2 : width;
|
|
5571
|
+
var lineWidth = align === JUSTIFY && !lastLine ? totalWidth - padding * 2 : width;
|
|
5581
5572
|
context.lineTo(x + Math.round(lineWidth), y);
|
|
5582
5573
|
context.lineWidth = fontSize / 15;
|
|
5583
5574
|
var gradient = this._getLinearGradient();
|
|
@@ -5590,10 +5581,8 @@ var Text = /*#__PURE__*/function (_Shape_1$Shape) {
|
|
|
5590
5581
|
context.beginPath();
|
|
5591
5582
|
var _yOffset = Global_1.Konva._fixTextRendering ? -Math.round(fontSize / 4) : 0;
|
|
5592
5583
|
context.moveTo(lineTranslateX, translateY + lineTranslateY + _yOffset);
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
lineWidth = align === JUSTIFY && !lastLine ? totalWidth - padding * 2 : width;
|
|
5596
|
-
context.lineTo(lineTranslateX + Math.round(lineWidth), translateY + lineTranslateY + _yOffset);
|
|
5584
|
+
var _lineWidth = align === JUSTIFY && !lastLine ? totalWidth - padding * 2 : width;
|
|
5585
|
+
context.lineTo(lineTranslateX + Math.round(_lineWidth), translateY + lineTranslateY + _yOffset);
|
|
5597
5586
|
context.lineWidth = fontSize / 15;
|
|
5598
5587
|
var _gradient = this._getLinearGradient();
|
|
5599
5588
|
context.strokeStyle = _gradient || fill;
|
|
@@ -5601,7 +5590,7 @@ var Text = /*#__PURE__*/function (_Shape_1$Shape) {
|
|
|
5601
5590
|
context.restore();
|
|
5602
5591
|
}
|
|
5603
5592
|
if (direction !== RTL && (letterSpacing !== 0 || align === JUSTIFY)) {
|
|
5604
|
-
spacesNumber = text.split(' ').length - 1;
|
|
5593
|
+
var spacesNumber = text.split(' ').length - 1;
|
|
5605
5594
|
var array = stringToArray(text);
|
|
5606
5595
|
for (var li = 0; li < array.length; li++) {
|
|
5607
5596
|
var letter = array[li];
|
|
@@ -21547,6 +21536,17 @@ E.API.PDFObject = function () {
|
|
|
21547
21536
|
|
|
21548
21537
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba")))
|
|
21549
21538
|
|
|
21539
|
+
/***/ }),
|
|
21540
|
+
|
|
21541
|
+
/***/ "8c0d":
|
|
21542
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
21543
|
+
|
|
21544
|
+
"use strict";
|
|
21545
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_2d99390c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d56b");
|
|
21546
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_2d99390c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_2d99390c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
21547
|
+
/* unused harmony reexport * */
|
|
21548
|
+
|
|
21549
|
+
|
|
21550
21550
|
/***/ }),
|
|
21551
21551
|
|
|
21552
21552
|
/***/ "8c18":
|
|
@@ -21573,8 +21573,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
21573
21573
|
});
|
|
21574
21574
|
exports.Path = void 0;
|
|
21575
21575
|
var Factory_1 = __webpack_require__("f0b4");
|
|
21576
|
-
var Shape_1 = __webpack_require__("fce6");
|
|
21577
21576
|
var Global_1 = __webpack_require__("d777");
|
|
21577
|
+
var Shape_1 = __webpack_require__("fce6");
|
|
21578
21578
|
var BezierFunctions_1 = __webpack_require__("2905");
|
|
21579
21579
|
var Path = /*#__PURE__*/function (_Shape_1$Shape) {
|
|
21580
21580
|
function Path(config) {
|
|
@@ -21752,11 +21752,19 @@ var Path = /*#__PURE__*/function (_Shape_1$Shape) {
|
|
|
21752
21752
|
};
|
|
21753
21753
|
}
|
|
21754
21754
|
if (length < 0.01) {
|
|
21755
|
-
|
|
21756
|
-
|
|
21757
|
-
|
|
21758
|
-
|
|
21759
|
-
|
|
21755
|
+
var cmd = dataArray[i].command;
|
|
21756
|
+
if (cmd === 'M') {
|
|
21757
|
+
points = dataArray[i].points.slice(0, 2);
|
|
21758
|
+
return {
|
|
21759
|
+
x: points[0],
|
|
21760
|
+
y: points[1]
|
|
21761
|
+
};
|
|
21762
|
+
} else {
|
|
21763
|
+
return {
|
|
21764
|
+
x: dataArray[i].start.x,
|
|
21765
|
+
y: dataArray[i].start.y
|
|
21766
|
+
};
|
|
21767
|
+
}
|
|
21760
21768
|
}
|
|
21761
21769
|
var cp = dataArray[i];
|
|
21762
21770
|
var p = cp.points;
|
|
@@ -21776,9 +21784,9 @@ var Path = /*#__PURE__*/function (_Shape_1$Shape) {
|
|
|
21776
21784
|
cy = p[1],
|
|
21777
21785
|
rx = p[2],
|
|
21778
21786
|
ry = p[3],
|
|
21779
|
-
theta = p[4],
|
|
21780
21787
|
dTheta = p[5],
|
|
21781
21788
|
psi = p[6];
|
|
21789
|
+
var theta = p[4];
|
|
21782
21790
|
theta += dTheta * length / cp.pathLength;
|
|
21783
21791
|
return Path.getPointOnEllipticalArc(cx, cy, rx, ry, theta, psi);
|
|
21784
21792
|
}
|
|
@@ -21897,8 +21905,8 @@ var Path = /*#__PURE__*/function (_Shape_1$Shape) {
|
|
|
21897
21905
|
var cpy = 0;
|
|
21898
21906
|
var re = /([-+]?((\d+\.\d+)|((\d+)|(\.\d+)))(?:e[-+]?\d+)?)/gi;
|
|
21899
21907
|
var match;
|
|
21900
|
-
for (
|
|
21901
|
-
var str = arr[
|
|
21908
|
+
for (var _n = 1; _n < arr.length; _n++) {
|
|
21909
|
+
var str = arr[_n];
|
|
21902
21910
|
var c = str.charAt(0);
|
|
21903
21911
|
str = str.slice(1);
|
|
21904
21912
|
coords.length = 0;
|
|
@@ -21926,8 +21934,16 @@ var Path = /*#__PURE__*/function (_Shape_1$Shape) {
|
|
|
21926
21934
|
var points = [];
|
|
21927
21935
|
var startX = cpx,
|
|
21928
21936
|
startY = cpy;
|
|
21929
|
-
var prevCmd
|
|
21930
|
-
|
|
21937
|
+
var prevCmd = void 0,
|
|
21938
|
+
ctlPtx = void 0,
|
|
21939
|
+
ctlPty = void 0;
|
|
21940
|
+
var rx = void 0,
|
|
21941
|
+
ry = void 0,
|
|
21942
|
+
psi = void 0,
|
|
21943
|
+
fa = void 0,
|
|
21944
|
+
fs = void 0,
|
|
21945
|
+
x1 = void 0,
|
|
21946
|
+
y1 = void 0;
|
|
21931
21947
|
switch (c) {
|
|
21932
21948
|
case 'l':
|
|
21933
21949
|
cpx += p.shift();
|
|
@@ -22268,7 +22284,7 @@ Factory_1.Factory.addGetterSetter(Node_1.Node, 'blue', 0, Validators_1.RGBCompon
|
|
|
22268
22284
|
/***/ "9224":
|
|
22269
22285
|
/***/ (function(module) {
|
|
22270
22286
|
|
|
22271
|
-
module.exports = JSON.parse("{\"name\":\"fl-web-component\",\"version\":\"1.3.
|
|
22287
|
+
module.exports = JSON.parse("{\"name\":\"fl-web-component\",\"version\":\"1.3.6\",\"scripts\":{\"tip1\":\"仅调试本组件不涉及业务组件,请执行dev\",\"dev\":\"vue-cli-service serve\",\"lint\":\"eslint \\\"{src,packages}/**/*.{vue,js}\\\" --fix\",\"prettier\":\"prettier --write \\\"packages/**/*.{js,css,less,scss,vue,html}\\\"\",\"=\":\"=============================================================\",\"tip2\":\"同时调试本组件与业务组件,请执行watch\",\"watch\":\"vue-cli-service build --watch --mode production --target lib --name fl-web-component --formats commonjs ./src/main.js\",\"build\":\"npm run lint && vue-cli-service build --target lib --name fl-web-component --formats commonjs ./src/main.js\",\"build:test\":\"vue-cli-service build --target lib --name fl-web-component --formats commonjs ./src/main.js\",\"registry:npm\":\"npm config set registry https://registry.npmjs.org/\",\"publish:base\":\"npm run build && npm run registry:npm && npm publish\",\"==\":\"=============================================================\",\"tip3\":\"发版注意: 【修改bug执行publish:fix】【新增功能执行publish:feat】【新特性执行publish:perf】\",\"publish:fix\":\"npm version patch && npm run publish:base\",\"publish:feat\":\"npm version minor && npm run publish:base\",\"publish:perf\":\"npm version major && npm run publish:base\"},\"files\":[\"dist\",\"packages\",\"src\",\"patches\"],\"main\":\"dist/fl-web-component.common.js\",\"dependencies\":{\"camera-controls\":\"2.9.0\",\"core-js\":\"^3.42.0\",\"dxf-parser\":\"^1.1.2\",\"element-ui\":\"2.15.14\",\"html2canvas\":\"^1.4.1\",\"jspdf\":\"^3.0.1\",\"konva\":\"^9.3.14\",\"lodash\":\"^4.17.21\",\"meshline\":\"^3.3.1\",\"regenerator-runtime\":\"^0.14.1\",\"svg-pan-zoom\":\"^3.6.2\",\"three\":\"^0.176.0\",\"three.path\":\"^1.0.1\",\"vue\":\"^2.6.11\"},\"devDependencies\":{\"@babel/core\":\"^7.12.16\",\"@babel/preset-env\":\"^7.0.0\",\"@babel/runtime-corejs3\":\"^7.27.1\",\"@vue/cli-plugin-babel\":\"~4.4.0\",\"@vue/cli-plugin-eslint\":\"~4.4.0\",\"@vue/cli-service\":\"~4.4.0\",\"babel-eslint\":\"^10.1.0\",\"babel-loader\":\"^8.0.0\",\"copy-webpack-plugin\":\"^4.0.1\",\"eslint\":\"^6.7.2\",\"eslint-plugin-vue\":\"^6.2.2\",\"patch-package\":\"^6.4.7\",\"sass\":\"1.32.13\",\"sass-loader\":\"10.1.1\",\"vue-template-compiler\":\"^2.6.11\"},\"eslintConfig\":{\"root\":true,\"env\":{\"node\":true},\"extends\":[\"plugin:vue/essential\",\"eslint:recommended\"],\"parserOptions\":{\"parser\":\"babel-eslint\"},\"rules\":{}},\"browserslist\":[\"> 1%\",\"last 2 versions\",\"not dead\"]}");
|
|
22272
22288
|
|
|
22273
22289
|
/***/ }),
|
|
22274
22290
|
|
|
@@ -23876,7 +23892,7 @@ var Enhance = function Enhance(imageData) {
|
|
|
23876
23892
|
bMax = 255;
|
|
23877
23893
|
bMin = 0;
|
|
23878
23894
|
}
|
|
23879
|
-
var
|
|
23895
|
+
var rGoalMax, rGoalMin, gGoalMax, gGoalMin, bGoalMax, bGoalMin;
|
|
23880
23896
|
if (enhanceAmount > 0) {
|
|
23881
23897
|
rGoalMax = rMax + enhanceAmount * (255 - rMax);
|
|
23882
23898
|
rGoalMin = rMin - enhanceAmount * (rMin - 0);
|
|
@@ -23885,13 +23901,13 @@ var Enhance = function Enhance(imageData) {
|
|
|
23885
23901
|
bGoalMax = bMax + enhanceAmount * (255 - bMax);
|
|
23886
23902
|
bGoalMin = bMin - enhanceAmount * (bMin - 0);
|
|
23887
23903
|
} else {
|
|
23888
|
-
rMid = (rMax + rMin) * 0.5;
|
|
23904
|
+
var rMid = (rMax + rMin) * 0.5;
|
|
23889
23905
|
rGoalMax = rMax + enhanceAmount * (rMax - rMid);
|
|
23890
23906
|
rGoalMin = rMin + enhanceAmount * (rMin - rMid);
|
|
23891
|
-
gMid = (gMax + gMin) * 0.5;
|
|
23907
|
+
var gMid = (gMax + gMin) * 0.5;
|
|
23892
23908
|
gGoalMax = gMax + enhanceAmount * (gMax - gMid);
|
|
23893
23909
|
gGoalMin = gMin + enhanceAmount * (gMin - gMid);
|
|
23894
|
-
bMid = (bMax + bMin) * 0.5;
|
|
23910
|
+
var bMid = (bMax + bMin) * 0.5;
|
|
23895
23911
|
bGoalMax = bMax + enhanceAmount * (bMax - bMid);
|
|
23896
23912
|
bGoalMin = bMin + enhanceAmount * (bMin - bMid);
|
|
23897
23913
|
}
|
|
@@ -23932,7 +23948,7 @@ function filterGaussBlurRGBA(imageData, radius) {
|
|
|
23932
23948
|
var pixels = imageData.data,
|
|
23933
23949
|
width = imageData.width,
|
|
23934
23950
|
height = imageData.height;
|
|
23935
|
-
var
|
|
23951
|
+
var p, yi, yw, r_sum, g_sum, b_sum, a_sum, r_out_sum, g_out_sum, b_out_sum, a_out_sum, r_in_sum, g_in_sum, b_in_sum, a_in_sum, pr, pg, pb, pa, rbs;
|
|
23936
23952
|
var div = radius + radius + 1,
|
|
23937
23953
|
widthMinus1 = width - 1,
|
|
23938
23954
|
heightMinus1 = height - 1,
|
|
@@ -23945,7 +23961,7 @@ function filterGaussBlurRGBA(imageData, radius) {
|
|
|
23945
23961
|
stack = stackStart,
|
|
23946
23962
|
stackIn = null,
|
|
23947
23963
|
stackOut = null;
|
|
23948
|
-
for (i = 1; i < div; i++) {
|
|
23964
|
+
for (var i = 1; i < div; i++) {
|
|
23949
23965
|
stack = stack.next = new BlurStack();
|
|
23950
23966
|
if (i === radiusPlus1) {
|
|
23951
23967
|
stackEnd = stack;
|
|
@@ -23953,7 +23969,7 @@ function filterGaussBlurRGBA(imageData, radius) {
|
|
|
23953
23969
|
}
|
|
23954
23970
|
stack.next = stackStart;
|
|
23955
23971
|
yw = yi = 0;
|
|
23956
|
-
for (y = 0; y < height; y++) {
|
|
23972
|
+
for (var y = 0; y < height; y++) {
|
|
23957
23973
|
r_in_sum = g_in_sum = b_in_sum = a_in_sum = r_sum = g_sum = b_sum = a_sum = 0;
|
|
23958
23974
|
r_out_sum = radiusPlus1 * (pr = pixels[yi]);
|
|
23959
23975
|
g_out_sum = radiusPlus1 * (pg = pixels[yi + 1]);
|
|
@@ -23964,16 +23980,16 @@ function filterGaussBlurRGBA(imageData, radius) {
|
|
|
23964
23980
|
b_sum += sumFactor * pb;
|
|
23965
23981
|
a_sum += sumFactor * pa;
|
|
23966
23982
|
stack = stackStart;
|
|
23967
|
-
for (
|
|
23983
|
+
for (var _i = 0; _i < radiusPlus1; _i++) {
|
|
23968
23984
|
stack.r = pr;
|
|
23969
23985
|
stack.g = pg;
|
|
23970
23986
|
stack.b = pb;
|
|
23971
23987
|
stack.a = pa;
|
|
23972
23988
|
stack = stack.next;
|
|
23973
23989
|
}
|
|
23974
|
-
for (
|
|
23975
|
-
p = yi + ((widthMinus1 <
|
|
23976
|
-
r_sum += (stack.r = pr = pixels[p]) * (rbs = radiusPlus1 -
|
|
23990
|
+
for (var _i2 = 1; _i2 < radiusPlus1; _i2++) {
|
|
23991
|
+
p = yi + ((widthMinus1 < _i2 ? widthMinus1 : _i2) << 2);
|
|
23992
|
+
r_sum += (stack.r = pr = pixels[p]) * (rbs = radiusPlus1 - _i2);
|
|
23977
23993
|
g_sum += (stack.g = pg = pixels[p + 1]) * rbs;
|
|
23978
23994
|
b_sum += (stack.b = pb = pixels[p + 2]) * rbs;
|
|
23979
23995
|
a_sum += (stack.a = pa = pixels[p + 3]) * rbs;
|
|
@@ -23985,7 +24001,7 @@ function filterGaussBlurRGBA(imageData, radius) {
|
|
|
23985
24001
|
}
|
|
23986
24002
|
stackIn = stackStart;
|
|
23987
24003
|
stackOut = stackEnd;
|
|
23988
|
-
for (x = 0; x < width; x++) {
|
|
24004
|
+
for (var x = 0; x < width; x++) {
|
|
23989
24005
|
pixels[yi + 3] = pa = a_sum * mul_sum >> shg_sum;
|
|
23990
24006
|
if (pa !== 0) {
|
|
23991
24007
|
pa = 255 / pa;
|
|
@@ -24026,9 +24042,9 @@ function filterGaussBlurRGBA(imageData, radius) {
|
|
|
24026
24042
|
}
|
|
24027
24043
|
yw += width;
|
|
24028
24044
|
}
|
|
24029
|
-
for (
|
|
24045
|
+
for (var _x = 0; _x < width; _x++) {
|
|
24030
24046
|
g_in_sum = b_in_sum = a_in_sum = r_in_sum = g_sum = b_sum = a_sum = r_sum = 0;
|
|
24031
|
-
yi =
|
|
24047
|
+
yi = _x << 2;
|
|
24032
24048
|
r_out_sum = radiusPlus1 * (pr = pixels[yi]);
|
|
24033
24049
|
g_out_sum = radiusPlus1 * (pg = pixels[yi + 1]);
|
|
24034
24050
|
b_out_sum = radiusPlus1 * (pb = pixels[yi + 2]);
|
|
@@ -24038,17 +24054,17 @@ function filterGaussBlurRGBA(imageData, radius) {
|
|
|
24038
24054
|
b_sum += sumFactor * pb;
|
|
24039
24055
|
a_sum += sumFactor * pa;
|
|
24040
24056
|
stack = stackStart;
|
|
24041
|
-
for (
|
|
24057
|
+
for (var _i3 = 0; _i3 < radiusPlus1; _i3++) {
|
|
24042
24058
|
stack.r = pr;
|
|
24043
24059
|
stack.g = pg;
|
|
24044
24060
|
stack.b = pb;
|
|
24045
24061
|
stack.a = pa;
|
|
24046
24062
|
stack = stack.next;
|
|
24047
24063
|
}
|
|
24048
|
-
yp = width;
|
|
24049
|
-
for (
|
|
24050
|
-
yi = yp +
|
|
24051
|
-
r_sum += (stack.r = pr = pixels[yi]) * (rbs = radiusPlus1 -
|
|
24064
|
+
var yp = width;
|
|
24065
|
+
for (var _i4 = 1; _i4 <= radius; _i4++) {
|
|
24066
|
+
yi = yp + _x << 2;
|
|
24067
|
+
r_sum += (stack.r = pr = pixels[yi]) * (rbs = radiusPlus1 - _i4);
|
|
24052
24068
|
g_sum += (stack.g = pg = pixels[yi + 1]) * rbs;
|
|
24053
24069
|
b_sum += (stack.b = pb = pixels[yi + 2]) * rbs;
|
|
24054
24070
|
a_sum += (stack.a = pa = pixels[yi + 3]) * rbs;
|
|
@@ -24057,14 +24073,14 @@ function filterGaussBlurRGBA(imageData, radius) {
|
|
|
24057
24073
|
b_in_sum += pb;
|
|
24058
24074
|
a_in_sum += pa;
|
|
24059
24075
|
stack = stack.next;
|
|
24060
|
-
if (
|
|
24076
|
+
if (_i4 < heightMinus1) {
|
|
24061
24077
|
yp += width;
|
|
24062
24078
|
}
|
|
24063
24079
|
}
|
|
24064
|
-
yi =
|
|
24080
|
+
yi = _x;
|
|
24065
24081
|
stackIn = stackStart;
|
|
24066
24082
|
stackOut = stackEnd;
|
|
24067
|
-
for (
|
|
24083
|
+
for (var _y = 0; _y < height; _y++) {
|
|
24068
24084
|
p = yi << 2;
|
|
24069
24085
|
pixels[p + 3] = pa = a_sum * mul_sum >> shg_sum;
|
|
24070
24086
|
if (pa > 0) {
|
|
@@ -24083,7 +24099,7 @@ function filterGaussBlurRGBA(imageData, radius) {
|
|
|
24083
24099
|
g_out_sum -= stackIn.g;
|
|
24084
24100
|
b_out_sum -= stackIn.b;
|
|
24085
24101
|
a_out_sum -= stackIn.a;
|
|
24086
|
-
p =
|
|
24102
|
+
p = _x + ((p = _y + radiusPlus1) < heightMinus1 ? p : heightMinus1) * width << 2;
|
|
24087
24103
|
r_sum += r_in_sum += stackIn.r = pixels[p];
|
|
24088
24104
|
g_sum += g_in_sum += stackIn.g = pixels[p + 1];
|
|
24089
24105
|
b_sum += b_in_sum += stackIn.b = pixels[p + 2];
|
|
@@ -25559,20 +25575,20 @@ var Transformer = /*#__PURE__*/function (_Group_1$Group) {
|
|
|
25559
25575
|
this.findOne('.top-left').y(anchorNode.y());
|
|
25560
25576
|
} else if (this._movingAnchorName === 'top-right') {
|
|
25561
25577
|
if (keepProportion) {
|
|
25562
|
-
var
|
|
25578
|
+
var _comparePoint = centeredScaling ? {
|
|
25563
25579
|
x: this.width() / 2,
|
|
25564
25580
|
y: this.height() / 2
|
|
25565
25581
|
} : {
|
|
25566
25582
|
x: this.findOne('.bottom-left').x(),
|
|
25567
25583
|
y: this.findOne('.bottom-left').y()
|
|
25568
25584
|
};
|
|
25569
|
-
newHypotenuse = Math.sqrt(Math.pow(anchorNode.x() -
|
|
25570
|
-
var
|
|
25571
|
-
var
|
|
25572
|
-
x = newHypotenuse * this.cos *
|
|
25573
|
-
y = newHypotenuse * this.sin *
|
|
25574
|
-
this.findOne('.top-right').x(
|
|
25575
|
-
this.findOne('.top-right').y(
|
|
25585
|
+
newHypotenuse = Math.sqrt(Math.pow(anchorNode.x() - _comparePoint.x, 2) + Math.pow(_comparePoint.y - anchorNode.y(), 2));
|
|
25586
|
+
var _reverseX = this.findOne('.top-right').x() < _comparePoint.x ? -1 : 1;
|
|
25587
|
+
var _reverseY = this.findOne('.top-right').y() > _comparePoint.y ? -1 : 1;
|
|
25588
|
+
x = newHypotenuse * this.cos * _reverseX;
|
|
25589
|
+
y = newHypotenuse * this.sin * _reverseY;
|
|
25590
|
+
this.findOne('.top-right').x(_comparePoint.x + x);
|
|
25591
|
+
this.findOne('.top-right').y(_comparePoint.y - y);
|
|
25576
25592
|
}
|
|
25577
25593
|
var pos = anchorNode.position();
|
|
25578
25594
|
this.findOne('.top-left').y(pos.y);
|
|
@@ -25583,20 +25599,20 @@ var Transformer = /*#__PURE__*/function (_Group_1$Group) {
|
|
|
25583
25599
|
this.findOne('.bottom-right').x(anchorNode.x());
|
|
25584
25600
|
} else if (this._movingAnchorName === 'bottom-left') {
|
|
25585
25601
|
if (keepProportion) {
|
|
25586
|
-
var
|
|
25602
|
+
var _comparePoint2 = centeredScaling ? {
|
|
25587
25603
|
x: this.width() / 2,
|
|
25588
25604
|
y: this.height() / 2
|
|
25589
25605
|
} : {
|
|
25590
25606
|
x: this.findOne('.top-right').x(),
|
|
25591
25607
|
y: this.findOne('.top-right').y()
|
|
25592
25608
|
};
|
|
25593
|
-
newHypotenuse = Math.sqrt(Math.pow(
|
|
25594
|
-
var
|
|
25595
|
-
var
|
|
25596
|
-
x = newHypotenuse * this.cos *
|
|
25597
|
-
y = newHypotenuse * this.sin *
|
|
25598
|
-
anchorNode.x(
|
|
25599
|
-
anchorNode.y(
|
|
25609
|
+
newHypotenuse = Math.sqrt(Math.pow(_comparePoint2.x - anchorNode.x(), 2) + Math.pow(anchorNode.y() - _comparePoint2.y, 2));
|
|
25610
|
+
var _reverseX2 = _comparePoint2.x < anchorNode.x() ? -1 : 1;
|
|
25611
|
+
var _reverseY2 = anchorNode.y() < _comparePoint2.y ? -1 : 1;
|
|
25612
|
+
x = newHypotenuse * this.cos * _reverseX2;
|
|
25613
|
+
y = newHypotenuse * this.sin * _reverseY2;
|
|
25614
|
+
anchorNode.x(_comparePoint2.x - x);
|
|
25615
|
+
anchorNode.y(_comparePoint2.y + y);
|
|
25600
25616
|
}
|
|
25601
25617
|
pos = anchorNode.position();
|
|
25602
25618
|
this.findOne('.top-left').x(pos.x);
|
|
@@ -25605,25 +25621,25 @@ var Transformer = /*#__PURE__*/function (_Group_1$Group) {
|
|
|
25605
25621
|
this.findOne('.bottom-right').y(anchorNode.y());
|
|
25606
25622
|
} else if (this._movingAnchorName === 'bottom-right') {
|
|
25607
25623
|
if (keepProportion) {
|
|
25608
|
-
var
|
|
25624
|
+
var _comparePoint3 = centeredScaling ? {
|
|
25609
25625
|
x: this.width() / 2,
|
|
25610
25626
|
y: this.height() / 2
|
|
25611
25627
|
} : {
|
|
25612
25628
|
x: this.findOne('.top-left').x(),
|
|
25613
25629
|
y: this.findOne('.top-left').y()
|
|
25614
25630
|
};
|
|
25615
|
-
newHypotenuse = Math.sqrt(Math.pow(anchorNode.x() -
|
|
25616
|
-
var
|
|
25617
|
-
var
|
|
25618
|
-
x = newHypotenuse * this.cos *
|
|
25619
|
-
y = newHypotenuse * this.sin *
|
|
25620
|
-
this.findOne('.bottom-right').x(
|
|
25621
|
-
this.findOne('.bottom-right').y(
|
|
25631
|
+
newHypotenuse = Math.sqrt(Math.pow(anchorNode.x() - _comparePoint3.x, 2) + Math.pow(anchorNode.y() - _comparePoint3.y, 2));
|
|
25632
|
+
var _reverseX3 = this.findOne('.bottom-right').x() < _comparePoint3.x ? -1 : 1;
|
|
25633
|
+
var _reverseY3 = this.findOne('.bottom-right').y() < _comparePoint3.y ? -1 : 1;
|
|
25634
|
+
x = newHypotenuse * this.cos * _reverseX3;
|
|
25635
|
+
y = newHypotenuse * this.sin * _reverseY3;
|
|
25636
|
+
this.findOne('.bottom-right').x(_comparePoint3.x + x);
|
|
25637
|
+
this.findOne('.bottom-right').y(_comparePoint3.y + y);
|
|
25622
25638
|
}
|
|
25623
25639
|
} else {
|
|
25624
25640
|
console.error(new Error('Wrong position argument of selection resizer: ' + this._movingAnchorName));
|
|
25625
25641
|
}
|
|
25626
|
-
|
|
25642
|
+
centeredScaling = this.centeredScaling() || e.altKey;
|
|
25627
25643
|
if (centeredScaling) {
|
|
25628
25644
|
var topLeft = this.findOne('.top-left');
|
|
25629
25645
|
var bottomRight = this.findOne('.bottom-right');
|
|
@@ -26030,6 +26046,13 @@ Factory_1.Factory.backCompat(Transformer, {
|
|
|
26030
26046
|
|
|
26031
26047
|
/***/ }),
|
|
26032
26048
|
|
|
26049
|
+
/***/ "d56b":
|
|
26050
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
26051
|
+
|
|
26052
|
+
// extracted by mini-css-extract-plugin
|
|
26053
|
+
|
|
26054
|
+
/***/ }),
|
|
26055
|
+
|
|
26033
26056
|
/***/ "d777":
|
|
26034
26057
|
/***/ (function(module, exports, __webpack_require__) {
|
|
26035
26058
|
|
|
@@ -26047,7 +26070,7 @@ function detectBrowser() {
|
|
|
26047
26070
|
exports.glob = typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : typeof WorkerGlobalScope !== 'undefined' ? self : {};
|
|
26048
26071
|
exports.Konva = {
|
|
26049
26072
|
_global: exports.glob,
|
|
26050
|
-
version: '9.3.
|
|
26073
|
+
version: '9.3.22',
|
|
26051
26074
|
isBrowser: detectBrowser(),
|
|
26052
26075
|
isUnminified: /param/.test(function (param) {}.toString()),
|
|
26053
26076
|
dblClickWindow: 400,
|
|
@@ -26804,13 +26827,6 @@ Factory_1.Factory.addGetterSetter(Node_1.Node, 'embossBlend', false, undefined,
|
|
|
26804
26827
|
|
|
26805
26828
|
/***/ }),
|
|
26806
26829
|
|
|
26807
|
-
/***/ "e703":
|
|
26808
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
26809
|
-
|
|
26810
|
-
// extracted by mini-css-extract-plugin
|
|
26811
|
-
|
|
26812
|
-
/***/ }),
|
|
26813
|
-
|
|
26814
26830
|
/***/ "ea61":
|
|
26815
26831
|
/***/ (function(module, exports, __webpack_require__) {
|
|
26816
26832
|
|
|
@@ -26855,17 +26871,11 @@ var Container = /*#__PURE__*/function (_Node_1$Node) {
|
|
|
26855
26871
|
return _createClass(Container, [{
|
|
26856
26872
|
key: "getChildren",
|
|
26857
26873
|
value: function getChildren(filterFunc) {
|
|
26858
|
-
if (!filterFunc) {
|
|
26859
|
-
return this.children || [];
|
|
26860
|
-
}
|
|
26861
26874
|
var children = this.children || [];
|
|
26862
|
-
|
|
26863
|
-
|
|
26864
|
-
|
|
26865
|
-
|
|
26866
|
-
}
|
|
26867
|
-
});
|
|
26868
|
-
return results;
|
|
26875
|
+
if (filterFunc) {
|
|
26876
|
+
return children.filter(filterFunc);
|
|
26877
|
+
}
|
|
26878
|
+
return children;
|
|
26869
26879
|
}
|
|
26870
26880
|
}, {
|
|
26871
26881
|
key: "hasChildren",
|
|
@@ -27289,7 +27299,7 @@ var STAGE = 'Stage',
|
|
|
27289
27299
|
TOUCHCANCEL = 'touchcancel',
|
|
27290
27300
|
WHEEL = 'wheel',
|
|
27291
27301
|
MAX_LAYERS_NUMBER = 5,
|
|
27292
|
-
EVENTS = [[MOUSEENTER, '_pointerenter'], [MOUSEDOWN, '_pointerdown'], [MOUSEMOVE, '_pointermove'], [MOUSEUP, '_pointerup'], [MOUSELEAVE, '_pointerleave'], [TOUCHSTART, '_pointerdown'], [TOUCHMOVE, '_pointermove'], [TOUCHEND, '_pointerup'], [TOUCHCANCEL, '_pointercancel'], [MOUSEOVER, '_pointerover'], [WHEEL, '_wheel'], [CONTEXTMENU, '_contextmenu'], [POINTERDOWN, '_pointerdown'], [POINTERMOVE, '_pointermove'], [POINTERUP, '_pointerup'], [POINTERCANCEL, '_pointercancel'], [LOSTPOINTERCAPTURE, '_lostpointercapture']];
|
|
27302
|
+
EVENTS = [[MOUSEENTER, '_pointerenter'], [MOUSEDOWN, '_pointerdown'], [MOUSEMOVE, '_pointermove'], [MOUSEUP, '_pointerup'], [MOUSELEAVE, '_pointerleave'], [TOUCHSTART, '_pointerdown'], [TOUCHMOVE, '_pointermove'], [TOUCHEND, '_pointerup'], [TOUCHCANCEL, '_pointercancel'], [MOUSEOVER, '_pointerover'], [WHEEL, '_wheel'], [CONTEXTMENU, '_contextmenu'], [POINTERDOWN, '_pointerdown'], [POINTERMOVE, '_pointermove'], [POINTERUP, '_pointerup'], [POINTERCANCEL, '_pointercancel'], [POINTERLEAVE, '_pointerleave'], [LOSTPOINTERCAPTURE, '_lostpointercapture']];
|
|
27293
27303
|
var EVENTS_MAP = {
|
|
27294
27304
|
mouse: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, POINTEROUT, MOUSEOUT), POINTERLEAVE, MOUSELEAVE), POINTEROVER, MOUSEOVER), POINTERENTER, MOUSEENTER), POINTERMOVE, MOUSEMOVE), POINTERDOWN, MOUSEDOWN), POINTERUP, MOUSEUP), POINTERCANCEL, 'mousecancel'), "pointerclick", 'click'), "pointerdblclick", 'dblclick'),
|
|
27295
27305
|
touch: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, POINTEROUT, 'touchout'), POINTERLEAVE, 'touchleave'), POINTEROVER, 'touchover'), POINTERENTER, 'touchenter'), POINTERMOVE, TOUCHMOVE), POINTERDOWN, TOUCHSTART), POINTERUP, TOUCHEND), POINTERCANCEL, TOUCHCANCEL), "pointerclick", 'tap'), "pointerdblclick", 'dbltap'),
|
|
@@ -27367,11 +27377,11 @@ var Stage = /*#__PURE__*/function (_Container_1$Containe) {
|
|
|
27367
27377
|
key: "setContainer",
|
|
27368
27378
|
value: function setContainer(container) {
|
|
27369
27379
|
if (_typeof(container) === STRING) {
|
|
27380
|
+
var id;
|
|
27370
27381
|
if (container.charAt(0) === '.') {
|
|
27371
27382
|
var className = container.slice(1);
|
|
27372
27383
|
container = document.getElementsByClassName(className)[0];
|
|
27373
27384
|
} else {
|
|
27374
|
-
var id;
|
|
27375
27385
|
if (container.charAt(0) !== '#') {
|
|
27376
27386
|
id = container;
|
|
27377
27387
|
} else {
|
|
@@ -28667,18 +28677,16 @@ var Line = /*#__PURE__*/function (_Shape_1$Shape) {
|
|
|
28667
28677
|
length = points.length,
|
|
28668
28678
|
tension = this.tension(),
|
|
28669
28679
|
closed = this.closed(),
|
|
28670
|
-
bezier = this.bezier()
|
|
28671
|
-
tp,
|
|
28672
|
-
len,
|
|
28673
|
-
n;
|
|
28680
|
+
bezier = this.bezier();
|
|
28674
28681
|
if (!length) {
|
|
28675
28682
|
return;
|
|
28676
28683
|
}
|
|
28684
|
+
var n = 0;
|
|
28677
28685
|
context.beginPath();
|
|
28678
28686
|
context.moveTo(points[0], points[1]);
|
|
28679
28687
|
if (tension !== 0 && length > 4) {
|
|
28680
|
-
tp = this.getTensionPoints();
|
|
28681
|
-
len = tp.length;
|
|
28688
|
+
var tp = this.getTensionPoints();
|
|
28689
|
+
var len = tp.length;
|
|
28682
28690
|
n = closed ? 0 : 4;
|
|
28683
28691
|
if (!closed) {
|
|
28684
28692
|
context.quadraticCurveTo(tp[0], tp[1], tp[2], tp[3]);
|
|
@@ -29248,8 +29256,8 @@ if (typeof window !== 'undefined') {
|
|
|
29248
29256
|
// Indicate to webpack that this file can be concatenated
|
|
29249
29257
|
/* harmony default export */ var setPublicPath = (null);
|
|
29250
29258
|
|
|
29251
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
29252
|
-
var
|
|
29259
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7b8e0146-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/com-graphics/index.vue?vue&type=template&id=2d99390c&scoped=true
|
|
29260
|
+
var com_graphicsvue_type_template_id_2d99390c_scoped_true_render = function render() {
|
|
29253
29261
|
var _vm = this,
|
|
29254
29262
|
_c = _vm._self._c;
|
|
29255
29263
|
return _c('div', {
|
|
@@ -29260,7 +29268,7 @@ var com_graphicsvue_type_template_id_e9c014d6_scoped_true_render = function rend
|
|
|
29260
29268
|
};
|
|
29261
29269
|
var staticRenderFns = [];
|
|
29262
29270
|
|
|
29263
|
-
// CONCATENATED MODULE: ./packages/components/com-graphics/index.vue?vue&type=template&id=
|
|
29271
|
+
// CONCATENATED MODULE: ./packages/components/com-graphics/index.vue?vue&type=template&id=2d99390c&scoped=true
|
|
29264
29272
|
|
|
29265
29273
|
// CONCATENATED MODULE: ./node_modules/camera-controls/dist/camera-controls.module.js
|
|
29266
29274
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
@@ -31866,7 +31874,7 @@ var CameraControls = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
31866
31874
|
}(EventDispatcher);
|
|
31867
31875
|
|
|
31868
31876
|
// CONCATENATED MODULE: ./node_modules/three/build/three.core.js
|
|
31869
|
-
function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function _wrapNativeSuper(t){var r="function"==typeof Map?new Map():void 0;return _wrapNativeSuper=function _wrapNativeSuper(t){if(null===t||!_isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper);}function Wrapper(){return _construct(t,arguments,three_core_getPrototypeOf(this).constructor);}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),three_core_setPrototypeOf(Wrapper,t);},_wrapNativeSuper(t);}function _construct(t,e,r){if(three_core_isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o))();return r&&three_core_setPrototypeOf(p,r.prototype),p;}function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]");}catch(n){return"function"==typeof t;}}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t.return||t.return();}finally{if(u)throw o;}}};}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function three_core_superPropGet(t,o,e,r){var p=three_core_get(three_core_getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t);}:p;}function three_core_get(){return three_core_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=three_core_superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value;}},three_core_get.apply(null,arguments);}function three_core_superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=three_core_getPrototypeOf(t)););return t;}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function three_core_callSuper(t,o,e){return o=three_core_getPrototypeOf(o),three_core_possibleConstructorReturn(t,three_core_isNativeReflectConstruct()?Reflect.construct(o,e||[],three_core_getPrototypeOf(t).constructor):o.apply(t,e));}function three_core_possibleConstructorReturn(t,e){if(e&&("object"==three_core_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return three_core_assertThisInitialized(t);}function three_core_assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function three_core_isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(three_core_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function three_core_getPrototypeOf(t){return three_core_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},three_core_getPrototypeOf(t);}function three_core_inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&three_core_setPrototypeOf(t,e);}function three_core_setPrototypeOf(t,e){return three_core_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},three_core_setPrototypeOf(t,e);}function _defineProperty(e,r,t){return(r=three_core_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a;}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0));}if(o||r>1)return a;throw y=!0,n;}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0);}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e;}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break;}catch(t){i=e,c=1,u=t;}finally{f=1;}}return{value:t,done:y};};}(r,o,i),!0),u;}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this;}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e;}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this;}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]";}),(_regenerator=function _regenerator(){return{w:i,m:f};})();}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{});}catch(e){i=0;}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){if(r)i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n;else{function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e);});}o("next",0),o("throw",1),o("return",2);}},_regeneratorDefine2(e,r,n,t);}function _readOnlyError(r){throw new TypeError('"'+r+'" is read-only');}function three_core_typeof(o){"@babel/helpers - typeof";return three_core_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},three_core_typeof(o);}function three_core_classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function three_core_defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,three_core_toPropertyKey(o.key),o);}}function three_core_createClass(e,r,t){return r&&three_core_defineProperties(e.prototype,r),t&&three_core_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function three_core_toPropertyKey(t){var i=three_core_toPrimitive(t,"string");return"symbol"==three_core_typeof(i)?i:i+"";}function three_core_toPrimitive(t,r){if("object"!=three_core_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=three_core_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}/**
|
|
31877
|
+
function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function _wrapNativeSuper(t){var r="function"==typeof Map?new Map():void 0;return _wrapNativeSuper=function _wrapNativeSuper(t){if(null===t||!_isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper);}function Wrapper(){return _construct(t,arguments,three_core_getPrototypeOf(this).constructor);}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),three_core_setPrototypeOf(Wrapper,t);},_wrapNativeSuper(t);}function _construct(t,e,r){if(three_core_isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o))();return r&&three_core_setPrototypeOf(p,r.prototype),p;}function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]");}catch(n){return"function"==typeof t;}}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t.return||t.return();}finally{if(u)throw o;}}};}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function three_core_superPropGet(t,o,e,r){var p=three_core_get(three_core_getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t);}:p;}function three_core_get(){return three_core_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=three_core_superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value;}},three_core_get.apply(null,arguments);}function three_core_superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=three_core_getPrototypeOf(t)););return t;}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function three_core_callSuper(t,o,e){return o=three_core_getPrototypeOf(o),three_core_possibleConstructorReturn(t,three_core_isNativeReflectConstruct()?Reflect.construct(o,e||[],three_core_getPrototypeOf(t).constructor):o.apply(t,e));}function three_core_possibleConstructorReturn(t,e){if(e&&("object"==three_core_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return three_core_assertThisInitialized(t);}function three_core_assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function three_core_isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(three_core_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function three_core_getPrototypeOf(t){return three_core_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},three_core_getPrototypeOf(t);}function three_core_inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&three_core_setPrototypeOf(t,e);}function three_core_setPrototypeOf(t,e){return three_core_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},three_core_setPrototypeOf(t,e);}function _defineProperty(e,r,t){return(r=three_core_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a;}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0));}if(o||r>1)return a;throw y=!0,n;}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0);}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e;}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break;}catch(t){i=e,c=1,u=t;}finally{f=1;}}return{value:t,done:y};};}(r,o,i),!0),u;}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this;}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e;}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this;}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]";}),(_regenerator=function _regenerator(){return{w:i,m:f};})();}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{});}catch(e){i=0;}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e);});}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2));},_regeneratorDefine2(e,r,n,t);}function _readOnlyError(r){throw new TypeError('"'+r+'" is read-only');}function three_core_typeof(o){"@babel/helpers - typeof";return three_core_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},three_core_typeof(o);}function three_core_classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function three_core_defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,three_core_toPropertyKey(o.key),o);}}function three_core_createClass(e,r,t){return r&&three_core_defineProperties(e.prototype,r),t&&three_core_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function three_core_toPropertyKey(t){var i=three_core_toPrimitive(t,"string");return"symbol"==three_core_typeof(i)?i:i+"";}function three_core_toPrimitive(t,r){if("object"!=three_core_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=three_core_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}/**
|
|
31870
31878
|
* @license
|
|
31871
31879
|
* Copyright 2010-2025 Three.js Authors
|
|
31872
31880
|
* SPDX-License-Identifier: MIT
|
|
@@ -57147,7 +57155,9 @@ function parseData(input) {
|
|
|
57147
57155
|
italic: material === null || material === void 0 ? void 0 : material.italic,
|
|
57148
57156
|
linepacing: 1,
|
|
57149
57157
|
// 默认值
|
|
57150
|
-
linewidth: (material === null || material === void 0 ? void 0 : material.linewidth) !== undefined ? material === null || material === void 0 ? void 0 : material.linewidth : 1
|
|
57158
|
+
linewidth: (material === null || material === void 0 ? void 0 : material.linewidth) !== undefined ? material === null || material === void 0 ? void 0 : material.linewidth : 1,
|
|
57159
|
+
// 默认值
|
|
57160
|
+
visible: (material === null || material === void 0 ? void 0 : material.visible) === false ? false : true
|
|
57151
57161
|
};
|
|
57152
57162
|
var identity = new Matrix4().identity();
|
|
57153
57163
|
geomList.push({
|
|
@@ -57554,7 +57564,7 @@ var TextGeometry = /*#__PURE__*/function (_ExtrudeGeometry) {
|
|
|
57554
57564
|
var helvetiker_regular_typeface = __webpack_require__("7e1b");
|
|
57555
57565
|
|
|
57556
57566
|
// CONCATENATED MODULE: ./node_modules/three/build/three.module.js
|
|
57557
|
-
function three_module_regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return three_module_regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a;}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0));}if(o||r>1)return a;throw y=!0,n;}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0);}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e;}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break;}catch(t){i=e,c=1,u=t;}finally{f=1;}}return{value:t,done:y};};}(r,o,i),!0),u;}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(three_module_regeneratorDefine2(t={},n,function(){return this;}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,three_module_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e;}return GeneratorFunction.prototype=GeneratorFunctionPrototype,three_module_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),three_module_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",three_module_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),three_module_regeneratorDefine2(u),three_module_regeneratorDefine2(u,o,"Generator"),three_module_regeneratorDefine2(u,n,function(){return this;}),three_module_regeneratorDefine2(u,"toString",function(){return"[object Generator]";}),(three_module_regenerator=function _regenerator(){return{w:i,m:f};})();}function three_module_regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{});}catch(e){i=0;}three_module_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){
|
|
57567
|
+
function three_module_regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return three_module_regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a;}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0));}if(o||r>1)return a;throw y=!0,n;}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0);}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e;}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break;}catch(t){i=e,c=1,u=t;}finally{f=1;}}return{value:t,done:y};};}(r,o,i),!0),u;}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(three_module_regeneratorDefine2(t={},n,function(){return this;}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,three_module_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e;}return GeneratorFunction.prototype=GeneratorFunctionPrototype,three_module_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),three_module_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",three_module_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),three_module_regeneratorDefine2(u),three_module_regeneratorDefine2(u,o,"Generator"),three_module_regeneratorDefine2(u,n,function(){return this;}),three_module_regeneratorDefine2(u,"toString",function(){return"[object Generator]";}),(three_module_regenerator=function _regenerator(){return{w:i,m:f};})();}function three_module_regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{});}catch(e){i=0;}three_module_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){function o(r,n){three_module_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e);});}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2));},three_module_regeneratorDefine2(e,r,n,t);}function three_module_asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function three_module_asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){three_module_asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){three_module_asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function three_module_callSuper(t,o,e){return o=three_module_getPrototypeOf(o),three_module_possibleConstructorReturn(t,three_module_isNativeReflectConstruct()?Reflect.construct(o,e||[],three_module_getPrototypeOf(t).constructor):o.apply(t,e));}function three_module_possibleConstructorReturn(t,e){if(e&&("object"==three_module_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return three_module_assertThisInitialized(t);}function three_module_assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function three_module_isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(three_module_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function three_module_getPrototypeOf(t){return three_module_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},three_module_getPrototypeOf(t);}function three_module_inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&three_module_setPrototypeOf(t,e);}function three_module_setPrototypeOf(t,e){return three_module_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},three_module_setPrototypeOf(t,e);}function three_module_defineProperty(e,r,t){return(r=three_module_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function three_module_createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=three_module_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t.return||t.return();}finally{if(u)throw o;}}};}function three_module_unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return three_module_arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?three_module_arrayLikeToArray(r,a):void 0;}}function three_module_arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function three_module_typeof(o){"@babel/helpers - typeof";return three_module_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},three_module_typeof(o);}function three_module_classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function three_module_defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,three_module_toPropertyKey(o.key),o);}}function three_module_createClass(e,r,t){return r&&three_module_defineProperties(e.prototype,r),t&&three_module_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function three_module_toPropertyKey(t){var i=three_module_toPrimitive(t,"string");return"symbol"==three_module_typeof(i)?i:i+"";}function three_module_toPrimitive(t,r){if("object"!=three_module_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=three_module_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}/**
|
|
57558
57568
|
* @license
|
|
57559
57569
|
* Copyright 2010-2025 Three.js Authors
|
|
57560
57570
|
* SPDX-License-Identifier: MIT
|
|
@@ -59785,6 +59795,8 @@ function draw3Dmodel(geom, instanceName, instanceCount, nColor, nOpacity) {
|
|
|
59785
59795
|
};
|
|
59786
59796
|
}
|
|
59787
59797
|
mesh = new InstancedMesh(geometry, material, instanceCount);
|
|
59798
|
+
var visible = prop.visible;
|
|
59799
|
+
mesh.visible = visible;
|
|
59788
59800
|
mesh.userData.drawObjectId = instanceName;
|
|
59789
59801
|
mesh.userData.is3D = geom.type == GEOM_TYPES.geom_3d || geom.type == GEOM_TYPES.geom_3d_obj;
|
|
59790
59802
|
|
|
@@ -61057,7 +61069,7 @@ var RenderPass_RenderPass = /*#__PURE__*/function (_Pass) {
|
|
|
61057
61069
|
|
|
61058
61070
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/com-graphics/index.vue?vue&type=script&lang=js
|
|
61059
61071
|
function com_graphicsvue_type_script_lang_js_regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return com_graphicsvue_type_script_lang_js_regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (com_graphicsvue_type_script_lang_js_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, com_graphicsvue_type_script_lang_js_regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, com_graphicsvue_type_script_lang_js_regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), com_graphicsvue_type_script_lang_js_regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", com_graphicsvue_type_script_lang_js_regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), com_graphicsvue_type_script_lang_js_regeneratorDefine2(u), com_graphicsvue_type_script_lang_js_regeneratorDefine2(u, o, "Generator"), com_graphicsvue_type_script_lang_js_regeneratorDefine2(u, n, function () { return this; }), com_graphicsvue_type_script_lang_js_regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (com_graphicsvue_type_script_lang_js_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
|
|
61060
|
-
function com_graphicsvue_type_script_lang_js_regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } com_graphicsvue_type_script_lang_js_regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) {
|
|
61072
|
+
function com_graphicsvue_type_script_lang_js_regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } com_graphicsvue_type_script_lang_js_regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { function o(r, n) { com_graphicsvue_type_script_lang_js_regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } r ? i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2)); }, com_graphicsvue_type_script_lang_js_regeneratorDefine2(e, r, n, t); }
|
|
61061
61073
|
function com_graphicsvue_type_script_lang_js_slicedToArray(r, e) { return com_graphicsvue_type_script_lang_js_arrayWithHoles(r) || com_graphicsvue_type_script_lang_js_iterableToArrayLimit(r, e) || com_graphicsvue_type_script_lang_js_unsupportedIterableToArray(r, e) || com_graphicsvue_type_script_lang_js_nonIterableRest(); }
|
|
61062
61074
|
function com_graphicsvue_type_script_lang_js_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
61063
61075
|
function com_graphicsvue_type_script_lang_js_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return com_graphicsvue_type_script_lang_js_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? com_graphicsvue_type_script_lang_js_arrayLikeToArray(r, a) : void 0; } }
|
|
@@ -61286,7 +61298,7 @@ var guiParams = {
|
|
|
61286
61298
|
|
|
61287
61299
|
// 与校审截图功能冲突,暂时先注释掉
|
|
61288
61300
|
// -----------
|
|
61289
|
-
// renderer.autoClear = false;
|
|
61301
|
+
// renderer.autoClear = false;
|
|
61290
61302
|
// renderer.autoClearColor = false;
|
|
61291
61303
|
// renderer.autoClearDepth = false;
|
|
61292
61304
|
// renderer.autoClearStencil = false;
|
|
@@ -62549,9 +62561,9 @@ var guiParams = {
|
|
|
62549
62561
|
},
|
|
62550
62562
|
setMouseAction: function setMouseAction(btn) {
|
|
62551
62563
|
var ACTION_ENUM = {
|
|
62552
|
-
|
|
62553
|
-
|
|
62554
|
-
|
|
62564
|
+
none: 0,
|
|
62565
|
+
rotate: 1,
|
|
62566
|
+
drag: 2
|
|
62555
62567
|
};
|
|
62556
62568
|
var left = btn.left,
|
|
62557
62569
|
right = btn.right;
|
|
@@ -62562,8 +62574,8 @@ var guiParams = {
|
|
|
62562
62574
|
});
|
|
62563
62575
|
// CONCATENATED MODULE: ./packages/components/com-graphics/index.vue?vue&type=script&lang=js
|
|
62564
62576
|
/* harmony default export */ var components_com_graphicsvue_type_script_lang_js = (com_graphicsvue_type_script_lang_js);
|
|
62565
|
-
// EXTERNAL MODULE: ./packages/components/com-graphics/index.vue?vue&type=style&index=0&id=
|
|
62566
|
-
var
|
|
62577
|
+
// EXTERNAL MODULE: ./packages/components/com-graphics/index.vue?vue&type=style&index=0&id=2d99390c&prod&lang=scss&scoped=true
|
|
62578
|
+
var com_graphicsvue_type_style_index_0_id_2d99390c_prod_lang_scss_scoped_true = __webpack_require__("8c0d");
|
|
62567
62579
|
|
|
62568
62580
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
62569
62581
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -62674,17 +62686,17 @@ function normalizeComponent(
|
|
|
62674
62686
|
|
|
62675
62687
|
var component = normalizeComponent(
|
|
62676
62688
|
components_com_graphicsvue_type_script_lang_js,
|
|
62677
|
-
|
|
62689
|
+
com_graphicsvue_type_template_id_2d99390c_scoped_true_render,
|
|
62678
62690
|
staticRenderFns,
|
|
62679
62691
|
false,
|
|
62680
62692
|
null,
|
|
62681
|
-
"
|
|
62693
|
+
"2d99390c",
|
|
62682
62694
|
null
|
|
62683
62695
|
|
|
62684
62696
|
)
|
|
62685
62697
|
|
|
62686
62698
|
/* harmony default export */ var com_graphics = (component.exports);
|
|
62687
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
62699
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7b8e0146-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/com-flcanvas/index.vue?vue&type=template&id=32dc6e8c&scoped=true
|
|
62688
62700
|
var com_flcanvasvue_type_template_id_32dc6e8c_scoped_true_render = function render() {
|
|
62689
62701
|
var _vm = this,
|
|
62690
62702
|
_c = _vm._self._c;
|
|
@@ -65903,7 +65915,7 @@ var com_flcanvas_component = normalizeComponent(
|
|
|
65903
65915
|
)
|
|
65904
65916
|
|
|
65905
65917
|
/* harmony default export */ var com_flcanvas = (com_flcanvas_component.exports);
|
|
65906
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
65918
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7b8e0146-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/com-graphics/per-control.vue?vue&type=template&id=f547d5c6&scoped=true
|
|
65907
65919
|
var per_controlvue_type_template_id_f547d5c6_scoped_true_render = function render() {
|
|
65908
65920
|
var _vm = this,
|
|
65909
65921
|
_c = _vm._self._c;
|
|
@@ -66011,7 +66023,7 @@ var per_control_component = normalizeComponent(
|
|
|
66011
66023
|
)
|
|
66012
66024
|
|
|
66013
66025
|
/* harmony default export */ var per_control = (per_control_component.exports);
|
|
66014
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
66026
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7b8e0146-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/com-graphics/pid.vue?vue&type=template&id=0ec35ee4&scoped=true
|
|
66015
66027
|
var pidvue_type_template_id_0ec35ee4_scoped_true_render = function render() {
|
|
66016
66028
|
var _vm = this,
|
|
66017
66029
|
_c = _vm._self._c;
|
|
@@ -66630,10 +66642,9 @@ var Shape = /*#__PURE__*/function (_Node_1$Node) {
|
|
|
66630
66642
|
context = canvas.getContext(),
|
|
66631
66643
|
cachedCanvas = this._getCanvasCache(),
|
|
66632
66644
|
drawFunc = this.getSceneFunc(),
|
|
66633
|
-
hasShadow = this.hasShadow()
|
|
66634
|
-
|
|
66635
|
-
|
|
66636
|
-
var skipBuffer = canvas.isCache;
|
|
66645
|
+
hasShadow = this.hasShadow();
|
|
66646
|
+
var stage;
|
|
66647
|
+
var skipBuffer = false;
|
|
66637
66648
|
var cachingSelf = top === this;
|
|
66638
66649
|
if (!this.isVisible() && !cachingSelf) {
|
|
66639
66650
|
return this;
|
|
@@ -66653,7 +66664,7 @@ var Shape = /*#__PURE__*/function (_Node_1$Node) {
|
|
|
66653
66664
|
if (this._useBufferCanvas() && !skipBuffer) {
|
|
66654
66665
|
stage = this.getStage();
|
|
66655
66666
|
var bc = bufferCanvas || stage.bufferCanvas;
|
|
66656
|
-
bufferContext = bc.getContext();
|
|
66667
|
+
var bufferContext = bc.getContext();
|
|
66657
66668
|
bufferContext.clear();
|
|
66658
66669
|
bufferContext.save();
|
|
66659
66670
|
bufferContext._applyLineJoin(this);
|
|
@@ -66667,12 +66678,12 @@ var Shape = /*#__PURE__*/function (_Node_1$Node) {
|
|
|
66667
66678
|
}
|
|
66668
66679
|
context._applyOpacity(this);
|
|
66669
66680
|
context._applyGlobalCompositeOperation(this);
|
|
66670
|
-
context.drawImage(bc._canvas, 0, 0, bc.width / ratio, bc.height / ratio);
|
|
66681
|
+
context.drawImage(bc._canvas, bc.x || 0, bc.y || 0, bc.width / ratio, bc.height / ratio);
|
|
66671
66682
|
} else {
|
|
66672
66683
|
context._applyLineJoin(this);
|
|
66673
66684
|
if (!cachingSelf) {
|
|
66674
|
-
var
|
|
66675
|
-
context.transform(
|
|
66685
|
+
var _o = this.getAbsoluteTransform(top).getMatrix();
|
|
66686
|
+
context.transform(_o[0], _o[1], _o[2], _o[3], _o[4], _o[5]);
|
|
66676
66687
|
context._applyOpacity(this);
|
|
66677
66688
|
context._applyGlobalCompositeOperation(this);
|
|
66678
66689
|
}
|