fl-web-component 2.1.1-beta.5 → 2.1.1-beta.7
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/dist/fl-web-component.common.js +234 -220
- 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-flcanvas/components/entityFormatting.js +8 -8
- package/packages/components/com-flcanvas/index.vue +245 -233
- package/packages/components/com-graphics/index.vue +34 -34
- package/src/utils/instance-parser.js +16 -16
|
@@ -202,6 +202,13 @@ module.exports =
|
|
|
202
202
|
/************************************************************************/
|
|
203
203
|
/******/ ({
|
|
204
204
|
|
|
205
|
+
/***/ "0289":
|
|
206
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
207
|
+
|
|
208
|
+
// extracted by mini-css-extract-plugin
|
|
209
|
+
|
|
210
|
+
/***/ }),
|
|
211
|
+
|
|
205
212
|
/***/ "03d6":
|
|
206
213
|
/***/ (function(module, exports, __webpack_require__) {
|
|
207
214
|
|
|
@@ -2387,6 +2394,17 @@ Circle.prototype._attrsAffectingSize = ['radius'];
|
|
|
2387
2394
|
(0, Global_1._registerNode)(Circle);
|
|
2388
2395
|
Factory_1.Factory.addGetterSetter(Circle, 'radius', 0, (0, Validators_1.getNumberValidator)());
|
|
2389
2396
|
|
|
2397
|
+
/***/ }),
|
|
2398
|
+
|
|
2399
|
+
/***/ "1f32":
|
|
2400
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2401
|
+
|
|
2402
|
+
"use strict";
|
|
2403
|
+
/* 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_3b9c081b_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0289");
|
|
2404
|
+
/* 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_3b9c081b_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_3b9c081b_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
2405
|
+
/* unused harmony reexport * */
|
|
2406
|
+
|
|
2407
|
+
|
|
2390
2408
|
/***/ }),
|
|
2391
2409
|
|
|
2392
2410
|
/***/ "2013":
|
|
@@ -14043,17 +14061,6 @@ Factory_1.Factory.addGetterSetter(Node_1.Node, 'hue', 0, (0, Validators_1.getNum
|
|
|
14043
14061
|
Factory_1.Factory.addGetterSetter(Node_1.Node, 'saturation', 0, (0, Validators_1.getNumberValidator)(), Factory_1.Factory.afterSetFilter);
|
|
14044
14062
|
Factory_1.Factory.addGetterSetter(Node_1.Node, 'value', 0, (0, Validators_1.getNumberValidator)(), Factory_1.Factory.afterSetFilter);
|
|
14045
14063
|
|
|
14046
|
-
/***/ }),
|
|
14047
|
-
|
|
14048
|
-
/***/ "469d":
|
|
14049
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14050
|
-
|
|
14051
|
-
"use strict";
|
|
14052
|
-
/* 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_0f76e7f4_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f323");
|
|
14053
|
-
/* 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_0f76e7f4_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_0f76e7f4_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
14054
|
-
/* unused harmony reexport * */
|
|
14055
|
-
|
|
14056
|
-
|
|
14057
14064
|
/***/ }),
|
|
14058
14065
|
|
|
14059
14066
|
/***/ "4726":
|
|
@@ -56518,7 +56525,7 @@ module.exports = document && document.documentElement;
|
|
|
56518
56525
|
/***/ "9224":
|
|
56519
56526
|
/***/ (function(module) {
|
|
56520
56527
|
|
|
56521
|
-
module.exports = JSON.parse("{\"name\":\"fl-web-component\",\"version\":\"2.1.1-beta.
|
|
56528
|
+
module.exports = JSON.parse("{\"name\":\"fl-web-component\",\"version\":\"2.1.1-beta.7\",\"scripts\":{\"postinstall\":\"patch-package\",\"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:prod\",\"watch\":\"vue-cli-service build --watch --mode development --target lib --name fl-web-component --formats commonjs ./src/main.js\",\"watch:prod\":\"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\",\"publish:base\":\"npm run build && npm publish --registry https://registry.npmjs.org/\",\"publish:beta:base\":\"npm run build && npm publish --tag beta --registry https://registry.npmjs.org/\",\"==\":\"=============================================================\",\"tip3\":\"发版注意: 【测试版执行publish:beta】【修改bug执行publish:fix】【新增功能执行publish:feat】【新特性执行publish:perf】\",\"publish:beta\":\"npm version prerelease --preid=beta && npm run publish:beta:base\",\"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\"],\"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\",\"fflate\":\"^0.8.2\",\"html2canvas\":\"^1.4.1\",\"jspdf\":\"^3.0.1\",\"konva\":\"^9.3.12\",\"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/plugin-proposal-nullish-coalescing-operator\":\"^7.18.6\",\"@babel/plugin-proposal-optional-chaining\":\"^7.21.0\",\"@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-config-prettier\":\"^6.15.0\",\"eslint-plugin-prettier\":\"^3.4.1\",\"eslint-plugin-vue\":\"^6.2.2\",\"patch-package\":\"^6.4.7\",\"prettier\":\"^2.8.8\",\"sass\":\"1.32.13\",\"sass-loader\":\"10.1.1\",\"vue-template-compiler\":\"^2.6.11\",\"worker-loader\":\"^3.0.8\"},\"browserslist\":[\"> 1%\",\"last 2 versions\"]}");
|
|
56522
56529
|
|
|
56523
56530
|
/***/ }),
|
|
56524
56531
|
|
|
@@ -76346,13 +76353,6 @@ exports.default = {
|
|
|
76346
76353
|
|
|
76347
76354
|
/***/ }),
|
|
76348
76355
|
|
|
76349
|
-
/***/ "f323":
|
|
76350
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
76351
|
-
|
|
76352
|
-
// extracted by mini-css-extract-plugin
|
|
76353
|
-
|
|
76354
|
-
/***/ }),
|
|
76355
|
-
|
|
76356
76356
|
/***/ "f35c":
|
|
76357
76357
|
/***/ (function(module, exports, __webpack_require__) {
|
|
76358
76358
|
|
|
@@ -78634,7 +78634,7 @@ if (typeof window !== 'undefined') {
|
|
|
78634
78634
|
// Indicate to webpack that this file can be concatenated
|
|
78635
78635
|
/* harmony default export */ var setPublicPath = (null);
|
|
78636
78636
|
|
|
78637
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
78637
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3309e7a4-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=7f8842df&scoped=true
|
|
78638
78638
|
var com_graphicsvue_type_template_id_7f8842df_scoped_true_render = function render() {
|
|
78639
78639
|
var _vm = this,
|
|
78640
78640
|
_c = _vm._self._c;
|
|
@@ -128811,8 +128811,8 @@ var component = normalizeComponent(
|
|
|
128811
128811
|
)
|
|
128812
128812
|
|
|
128813
128813
|
/* harmony default export */ var com_graphics = (component.exports);
|
|
128814
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
128815
|
-
var
|
|
128814
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3309e7a4-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=3b9c081b&scoped=true
|
|
128815
|
+
var com_flcanvasvue_type_template_id_3b9c081b_scoped_true_render = function render() {
|
|
128816
128816
|
var _vm = this,
|
|
128817
128817
|
_c = _vm._self._c;
|
|
128818
128818
|
return _c('div', {
|
|
@@ -128825,9 +128825,9 @@ var com_flcanvasvue_type_template_id_0f76e7f4_scoped_true_render = function rend
|
|
|
128825
128825
|
}
|
|
128826
128826
|
});
|
|
128827
128827
|
};
|
|
128828
|
-
var
|
|
128828
|
+
var com_flcanvasvue_type_template_id_3b9c081b_scoped_true_staticRenderFns = [];
|
|
128829
128829
|
|
|
128830
|
-
// CONCATENATED MODULE: ./packages/components/com-flcanvas/index.vue?vue&type=template&id=
|
|
128830
|
+
// CONCATENATED MODULE: ./packages/components/com-flcanvas/index.vue?vue&type=template&id=3b9c081b&scoped=true
|
|
128831
128831
|
|
|
128832
128832
|
// EXTERNAL MODULE: ./node_modules/konva/lib/index.js
|
|
128833
128833
|
var lib = __webpack_require__("362d");
|
|
@@ -133874,7 +133874,6 @@ function decimalToRGBHex(decimalValue) {
|
|
|
133874
133874
|
};
|
|
133875
133875
|
}
|
|
133876
133876
|
function handleFn(functionName, recordDxf, entity, group, key, configParams, konvaLayer) {
|
|
133877
|
-
console.log(functionName);
|
|
133878
133877
|
switch (functionName) {
|
|
133879
133878
|
case 'LINE':
|
|
133880
133879
|
drawLine(recordDxf, entity, group, key, configParams);
|
|
@@ -134045,9 +134044,11 @@ function mtextContentAndFormattingToTextAndStyle(textAndControlChars, entity, co
|
|
|
134045
134044
|
function drawArc(recordDxf, entity, group, key, configParams) {
|
|
134046
134045
|
var color = entity.color;
|
|
134047
134046
|
var rgb = decimalToRGBHex(color);
|
|
134048
|
-
console.log(rgb);
|
|
134049
134047
|
var hex = rgb.hex;
|
|
134050
134048
|
var startAngle, endAngle;
|
|
134049
|
+
if (hex == '#FFFFFF') {
|
|
134050
|
+
hex = '#000';
|
|
134051
|
+
}
|
|
134051
134052
|
if (entity.type === 'CIRCLE') {
|
|
134052
134053
|
startAngle = entity.startAngle || 0;
|
|
134053
134054
|
endAngle = startAngle + 2 * Math.PI;
|
|
@@ -134098,8 +134099,6 @@ function drawEllpse(recordDxf, entity, group, key, configParams) {
|
|
|
134098
134099
|
var xrad = Math.sqrt(Math.pow(parseFloat(entity.majorAxisEndPoint.x), 2) + Math.pow(parseFloat(entity.majorAxisEndPoint.y), 2));
|
|
134099
134100
|
var yrad = xrad * parseFloat(entity.axisRatio);
|
|
134100
134101
|
var rotation = Math.atan2(parseFloat(entity.majorAxisEndPoint.y), parseFloat(entity.majorAxisEndPoint.x));
|
|
134101
|
-
console.log(entity.startAngle);
|
|
134102
|
-
console.log(entity.endAngle);
|
|
134103
134102
|
var curve = new EllipseCurve(parseFloat(entity.center.x), parseFloat(entity.center.y), xrad, yrad, parseFloat(entity.startAngle), parseFloat(entity.endAngle), false,
|
|
134104
134103
|
// Always counterclockwise
|
|
134105
134104
|
rotation);
|
|
@@ -134141,7 +134140,6 @@ function drawEllpse(recordDxf, entity, group, key, configParams) {
|
|
|
134141
134140
|
function drawLine(recordDxf, entity, group, key, configParams) {
|
|
134142
134141
|
var color = entity.color;
|
|
134143
134142
|
var rgb = decimalToRGBHex(color);
|
|
134144
|
-
console.log(rgb);
|
|
134145
134143
|
var hex = rgb.hex;
|
|
134146
134144
|
var x1 = entity.vertices[0].x;
|
|
134147
134145
|
var y1 = entity.vertices[0].y;
|
|
@@ -134188,7 +134186,6 @@ function drawLine(recordDxf, entity, group, key, configParams) {
|
|
|
134188
134186
|
function entityFormatting_drawText(recordDxf, entity, group, key, configParams) {
|
|
134189
134187
|
var color = entity.color;
|
|
134190
134188
|
var rgb = decimalToRGBHex(color);
|
|
134191
|
-
console.log(rgb);
|
|
134192
134189
|
var hex = rgb.hex;
|
|
134193
134190
|
if (hex == '#FFFFFF') {
|
|
134194
134191
|
hex = '#000';
|
|
@@ -134276,13 +134273,10 @@ function entityFormatting_drawText(recordDxf, entity, group, key, configParams)
|
|
|
134276
134273
|
});
|
|
134277
134274
|
// group.add(dim);
|
|
134278
134275
|
}
|
|
134279
|
-
function drawHatch(recordDxf, entity, group, key, configParams) {
|
|
134280
|
-
console.log('hatch');
|
|
134281
|
-
}
|
|
134276
|
+
function drawHatch(recordDxf, entity, group, key, configParams) {}
|
|
134282
134277
|
function drawLwLine(recordDxf, entity, group, key, configParams) {
|
|
134283
134278
|
var color = entity.color;
|
|
134284
134279
|
var rgb = decimalToRGBHex(color);
|
|
134285
|
-
console.log(rgb);
|
|
134286
134280
|
var hex = rgb.hex;
|
|
134287
134281
|
if (hex == '#FFFFFF') {
|
|
134288
134282
|
hex = '#000';
|
|
@@ -135133,6 +135127,7 @@ function downloadPDF(base64, fileName) {
|
|
|
135133
135127
|
}
|
|
135134
135128
|
});
|
|
135135
135129
|
this.$nextTick(function () {
|
|
135130
|
+
console.log(_this2.$refs.svgDraw.clientHeight);
|
|
135136
135131
|
_this2.konvaStage = new lib_default.a.Stage({
|
|
135137
135132
|
className: 'stage',
|
|
135138
135133
|
container: 'konva-container',
|
|
@@ -135153,7 +135148,6 @@ function downloadPDF(base64, fileName) {
|
|
|
135153
135148
|
var scaleBy = 1.1;
|
|
135154
135149
|
//初始化缩放方法
|
|
135155
135150
|
_this2.konvaStage.on('wheel', function (e) {
|
|
135156
|
-
console.log(e);
|
|
135157
135151
|
e.evt.preventDefault();
|
|
135158
135152
|
var oldScale = _this2.konvaStage.scaleX();
|
|
135159
135153
|
var pointer = _this2.konvaStage.getPointerPosition();
|
|
@@ -135206,20 +135200,18 @@ function downloadPDF(base64, fileName) {
|
|
|
135206
135200
|
this.konvaStage.setY(y2); // 750
|
|
135207
135201
|
*/
|
|
135208
135202
|
|
|
135209
|
-
|
|
135210
|
-
|
|
135211
|
-
|
|
135212
|
-
|
|
135213
|
-
|
|
135214
|
-
|
|
135215
|
-
|
|
135216
|
-
|
|
135217
|
-
});
|
|
135218
|
-
|
|
135219
|
-
|
|
135220
|
-
|
|
135221
|
-
});
|
|
135222
|
-
_this2.konvaStage.batchDraw();
|
|
135203
|
+
// const { scale, x, y } = this.calculateScaleAndPosition(
|
|
135204
|
+
// this.bounds,
|
|
135205
|
+
// this.konvaStage.width(),
|
|
135206
|
+
// this.konvaStage.height(),
|
|
135207
|
+
// 0.05 // 5% 边距
|
|
135208
|
+
// );
|
|
135209
|
+
|
|
135210
|
+
// this.konvaStage.position({ x: x, y: y });
|
|
135211
|
+
// this.konvaStage.scale({ x: scale, y: scale });
|
|
135212
|
+
|
|
135213
|
+
// this.konvaStage.batchDraw();
|
|
135214
|
+
_this2.centerDraw();
|
|
135223
135215
|
});
|
|
135224
135216
|
_this2.konvaStage.on('click', function (e) {
|
|
135225
135217
|
var target = _this2.konvaStage.mouseClickEndShape;
|
|
@@ -135230,6 +135222,23 @@ function downloadPDF(base64, fileName) {
|
|
|
135230
135222
|
//销毁方法
|
|
135231
135223
|
|
|
135232
135224
|
methods: {
|
|
135225
|
+
// 图纸居中展示
|
|
135226
|
+
centerDraw: function centerDraw() {
|
|
135227
|
+
var _this$calculateScaleA = this.calculateScaleAndPosition(this.bounds, this.konvaStage.width(), this.konvaStage.height(), 0.05 // 5% 边距
|
|
135228
|
+
),
|
|
135229
|
+
scale = _this$calculateScaleA.scale,
|
|
135230
|
+
x = _this$calculateScaleA.x,
|
|
135231
|
+
y = _this$calculateScaleA.y;
|
|
135232
|
+
this.konvaStage.position({
|
|
135233
|
+
x: x,
|
|
135234
|
+
y: y
|
|
135235
|
+
});
|
|
135236
|
+
this.konvaStage.scale({
|
|
135237
|
+
x: scale,
|
|
135238
|
+
y: scale
|
|
135239
|
+
});
|
|
135240
|
+
this.konvaStage.batchDraw();
|
|
135241
|
+
},
|
|
135233
135242
|
calculateScaleAndPosition: function calculateScaleAndPosition(contentBounds, stageWidth, stageHeight) {
|
|
135234
135243
|
var padding = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0.1;
|
|
135235
135244
|
// 1. 计算内容的实际宽高
|
|
@@ -135338,15 +135347,16 @@ function downloadPDF(base64, fileName) {
|
|
|
135338
135347
|
var parser2 = new dxf_parser_DxfParser_DxfParser();
|
|
135339
135348
|
var dxf2 = parser2.parseSync(data);
|
|
135340
135349
|
var hatchEntitys = dxf2.entities;
|
|
135350
|
+
console.log(dxf2.entities);
|
|
135341
135351
|
// 处理HATCH部分
|
|
135342
135352
|
for (var i = 0; i < hatchEntitys.length; i++) {
|
|
135343
135353
|
var entity = hatchEntitys[i];
|
|
135344
135354
|
var layerConfig = this.recordLayerConfig[entity.layer];
|
|
135345
135355
|
var configParams = layerConfig && Object.keys(layerConfig).length > 0 ? layerConfig : null;
|
|
135346
|
-
var color = configParams ? configParams.color :
|
|
135356
|
+
var color = configParams ? configParams.color : '#000';
|
|
135347
135357
|
var visible = configParams ? configParams.visible : true;
|
|
135348
|
-
var name = entity.layer.replace(/\s*/g,
|
|
135349
|
-
if (entity.type ==
|
|
135358
|
+
var name = entity.layer.replace(/\s*/g, '');
|
|
135359
|
+
if (entity.type == 'HATCH') {
|
|
135350
135360
|
var boundaryLoops = entity.boundaryLoops;
|
|
135351
135361
|
for (var j = 0; j < boundaryLoops.length; j++) {
|
|
135352
135362
|
var list = [];
|
|
@@ -135484,7 +135494,6 @@ function downloadPDF(base64, fileName) {
|
|
|
135484
135494
|
}
|
|
135485
135495
|
}
|
|
135486
135496
|
if (group[0].stroke == undefined) {
|
|
135487
|
-
console.log(group);
|
|
135488
135497
|
group[0].stroke = '#000';
|
|
135489
135498
|
}
|
|
135490
135499
|
var customShape = new lib_default.a.Shape({
|
|
@@ -135588,6 +135597,7 @@ function downloadPDF(base64, fileName) {
|
|
|
135588
135597
|
this.activedSvgPan.x = x;
|
|
135589
135598
|
this.activedSvgPan.y = x;
|
|
135590
135599
|
setTimeout(function () {
|
|
135600
|
+
_this3.centerDraw();
|
|
135591
135601
|
_this3.$emit('loaded');
|
|
135592
135602
|
}, 100);
|
|
135593
135603
|
},
|
|
@@ -135622,180 +135632,184 @@ function downloadPDF(base64, fileName) {
|
|
|
135622
135632
|
toPdfs: function toPdfs(list) {
|
|
135623
135633
|
var _this4 = this;
|
|
135624
135634
|
var _this = this;
|
|
135625
|
-
|
|
135626
|
-
|
|
135627
|
-
|
|
135628
|
-
|
|
135629
|
-
var
|
|
135630
|
-
|
|
135631
|
-
|
|
135632
|
-
|
|
135633
|
-
|
|
135634
|
-
|
|
135635
|
-
|
|
135636
|
-
|
|
135637
|
-
|
|
135638
|
-
|
|
135639
|
-
|
|
135640
|
-
|
|
135641
|
-
|
|
135642
|
-
|
|
135643
|
-
|
|
135644
|
-
|
|
135645
|
-
|
|
135646
|
-
|
|
135647
|
-
|
|
135648
|
-
|
|
135649
|
-
|
|
135650
|
-
|
|
135651
|
-
|
|
135652
|
-
|
|
135653
|
-
|
|
135654
|
-
|
|
135655
|
-
|
|
135656
|
-
|
|
135657
|
-
|
|
135658
|
-
|
|
135659
|
-
|
|
135660
|
-
|
|
135661
|
-
|
|
135662
|
-
|
|
135663
|
-
|
|
135664
|
-
|
|
135665
|
-
|
|
135666
|
-
|
|
135667
|
-
|
|
135668
|
-
|
|
135669
|
-
|
|
135670
|
-
|
|
135671
|
-
|
|
135672
|
-
|
|
135673
|
-
|
|
135674
|
-
|
|
135675
|
-
|
|
135676
|
-
|
|
135635
|
+
return new Promise(function (resolve, reject) {
|
|
135636
|
+
var pdf = new jspdf_es_min["a" /* default */]('l', 'px', [_this4.konvaStage.width(), _this4.konvaStage.height()]);
|
|
135637
|
+
var exportPixelRatio = 2; // 可以 2/3/4 自己调
|
|
135638
|
+
var index = 0;
|
|
135639
|
+
for (var pageIdx = 0; pageIdx < list.length; pageIdx++) {
|
|
135640
|
+
var data = list[pageIdx];
|
|
135641
|
+
//先绘制图面
|
|
135642
|
+
_this4.konvaLayer.destroyChildren();
|
|
135643
|
+
var parser = new dxf_parser_dist();
|
|
135644
|
+
var dxf = parser.parse(data);
|
|
135645
|
+
if (dxf.entities.length > 0) {
|
|
135646
|
+
var entities = formatEntity(dxf.entities);
|
|
135647
|
+
var layers = dxf.tables.layer.layers;
|
|
135648
|
+
//先计算包围
|
|
135649
|
+
for (var key in entities) {
|
|
135650
|
+
if (entities[key]) {
|
|
135651
|
+
var group = [];
|
|
135652
|
+
var l = entities[key].length;
|
|
135653
|
+
var layerConfig = _this4.recordLayerConfig[key];
|
|
135654
|
+
var configParams = layerConfig && Object.keys(layerConfig).length > 0 ? layerConfig : null;
|
|
135655
|
+
for (var i = 0; i < l; i++) {
|
|
135656
|
+
var type = entities[key][i].type;
|
|
135657
|
+
handleFn(type, dxf, entities[key][i], group, key, configParams, _this4.konvaLayer, _this4.recordLayerConfig);
|
|
135658
|
+
}
|
|
135659
|
+
for (var _i6 = 0; _i6 < group.length; _i6++) {
|
|
135660
|
+
var entity = group[_i6];
|
|
135661
|
+
if (entity.type === 'line') {
|
|
135662
|
+
var x1 = entity.x1;
|
|
135663
|
+
var y1 = entity.y1;
|
|
135664
|
+
var x2 = entity.x2;
|
|
135665
|
+
var y2 = entity.y2;
|
|
135666
|
+
var v1 = {};
|
|
135667
|
+
v1.x = x1;
|
|
135668
|
+
v1.y = y1;
|
|
135669
|
+
var v2 = {};
|
|
135670
|
+
v2.x = x2;
|
|
135671
|
+
v2.y = y2;
|
|
135672
|
+
_this.updateBounds1(v1);
|
|
135673
|
+
_this.updateBounds1(v2);
|
|
135674
|
+
}
|
|
135675
|
+
if (entity.type === 'polyline') {
|
|
135676
|
+
var flag = false;
|
|
135677
|
+
var points = entity.points;
|
|
135678
|
+
var closed = entity.closed;
|
|
135679
|
+
for (var j = 0; j < points.length; j++) {
|
|
135680
|
+
var _index = j % 2;
|
|
135681
|
+
if (_index === 0) {
|
|
135682
|
+
var _x2 = points[j];
|
|
135683
|
+
var _y2 = points[j + 1];
|
|
135684
|
+
var point = {};
|
|
135685
|
+
point.x = _x2;
|
|
135686
|
+
point.y = _y2;
|
|
135687
|
+
_this.updateBounds1(point);
|
|
135688
|
+
}
|
|
135689
|
+
}
|
|
135677
135690
|
}
|
|
135678
135691
|
}
|
|
135679
135692
|
}
|
|
135680
135693
|
}
|
|
135681
|
-
|
|
135682
|
-
|
|
135683
|
-
|
|
135684
|
-
|
|
135685
|
-
|
|
135686
|
-
|
|
135687
|
-
|
|
135688
|
-
|
|
135689
|
-
|
|
135690
|
-
|
|
135691
|
-
|
|
135692
|
-
|
|
135693
|
-
|
|
135694
|
-
|
|
135695
|
-
|
|
135696
|
-
|
|
135697
|
-
|
|
135698
|
-
for (var _i8 = 0; _i8 < _group.length; _i8++) {
|
|
135699
|
-
var _entity4 = _group[_i8];
|
|
135700
|
-
if (_entity4.type === 'text') {
|
|
135701
|
-
if (_this4.konvaLayer) _this4.konvaLayer.add(_entity4.obj);
|
|
135702
|
-
}
|
|
135703
|
-
}
|
|
135704
|
-
if (_group[0].stroke == undefined) {
|
|
135705
|
-
console.log(_group);
|
|
135706
|
-
_group[0].stroke = '#000';
|
|
135707
|
-
}
|
|
135708
|
-
var customShape = new lib_default.a.Shape({
|
|
135709
|
-
x: 0,
|
|
135710
|
-
y: 0,
|
|
135711
|
-
strokeWidth: 0.2,
|
|
135712
|
-
name: _key.replace(/\s*/g, ''),
|
|
135713
|
-
entityId: _key,
|
|
135714
|
-
stroke: _group[0].stroke,
|
|
135715
|
-
customColor: _configParams2 ? _configParams2.color : '',
|
|
135716
|
-
//visible: configParams ? configParams.visible :true,
|
|
135717
|
-
sceneFunc: function sceneFunc(context, shape) {
|
|
135718
|
-
context.beginPath();
|
|
135719
|
-
for (var _i9 = 0; _i9 < _group.length; _i9++) {
|
|
135720
|
-
var _entity5 = _group[_i9];
|
|
135721
|
-
if (_entity5.type === 'line') {
|
|
135722
|
-
context.strokeStyle = _entity5.stroke;
|
|
135723
|
-
var _x3 = _entity5.x1;
|
|
135724
|
-
var _y3 = _entity5.y1;
|
|
135725
|
-
var _x4 = _entity5.x2;
|
|
135726
|
-
var _y4 = _entity5.y2;
|
|
135727
|
-
if (_x3 != undefined && _y3 != undefined && _x4 != undefined && _y4 != undefined) {
|
|
135728
|
-
context.moveTo(_x3, -parseFloat(_y3));
|
|
135729
|
-
context.lineTo(_x4, -parseFloat(_y4));
|
|
135730
|
-
}
|
|
135694
|
+
var _loop2 = function _loop2() {
|
|
135695
|
+
if (entities[_key]) {
|
|
135696
|
+
var _group = [];
|
|
135697
|
+
var _l = entities[_key].length;
|
|
135698
|
+
var _layerConfig2 = _this4.recordLayerConfig[_key];
|
|
135699
|
+
var _configParams2 = _layerConfig2 && Object.keys(_layerConfig2).length > 0 ? _layerConfig2 : null;
|
|
135700
|
+
for (var _i7 = 0; _i7 < _l; _i7++) {
|
|
135701
|
+
var _type = entities[_key][_i7].type;
|
|
135702
|
+
handleFn(_type, dxf, entities[_key][_i7], _group, _key, _configParams2, _this4.konvaLayer, _this4.recordLayerConfig);
|
|
135703
|
+
}
|
|
135704
|
+
if (!_this4.konvaLayer) return {
|
|
135705
|
+
v: void 0
|
|
135706
|
+
};
|
|
135707
|
+
for (var _i8 = 0; _i8 < _group.length; _i8++) {
|
|
135708
|
+
var _entity4 = _group[_i8];
|
|
135709
|
+
if (_entity4.type === 'text') {
|
|
135710
|
+
if (_this4.konvaLayer) _this4.konvaLayer.add(_entity4.obj);
|
|
135731
135711
|
}
|
|
135732
|
-
|
|
135733
|
-
|
|
135734
|
-
|
|
135735
|
-
|
|
135736
|
-
|
|
135737
|
-
|
|
135738
|
-
|
|
135739
|
-
|
|
135740
|
-
|
|
135741
|
-
|
|
135742
|
-
|
|
135743
|
-
|
|
135744
|
-
|
|
135745
|
-
|
|
135712
|
+
}
|
|
135713
|
+
if (_group[0].stroke == undefined) {
|
|
135714
|
+
_group[0].stroke = '#000';
|
|
135715
|
+
}
|
|
135716
|
+
var customShape = new lib_default.a.Shape({
|
|
135717
|
+
x: 0,
|
|
135718
|
+
y: 0,
|
|
135719
|
+
strokeWidth: 0.2,
|
|
135720
|
+
name: _key.replace(/\s*/g, ''),
|
|
135721
|
+
entityId: _key,
|
|
135722
|
+
stroke: _group[0].stroke,
|
|
135723
|
+
customColor: _configParams2 ? _configParams2.color : '',
|
|
135724
|
+
//visible: configParams ? configParams.visible :true,
|
|
135725
|
+
sceneFunc: function sceneFunc(context, shape) {
|
|
135726
|
+
context.beginPath();
|
|
135727
|
+
for (var _i9 = 0; _i9 < _group.length; _i9++) {
|
|
135728
|
+
var _entity5 = _group[_i9];
|
|
135729
|
+
if (_entity5.type === 'line') {
|
|
135730
|
+
context.strokeStyle = _entity5.stroke;
|
|
135731
|
+
var _x3 = _entity5.x1;
|
|
135732
|
+
var _y3 = _entity5.y1;
|
|
135733
|
+
var _x4 = _entity5.x2;
|
|
135734
|
+
var _y4 = _entity5.y2;
|
|
135735
|
+
if (_x3 != undefined && _y3 != undefined && _x4 != undefined && _y4 != undefined) {
|
|
135736
|
+
context.moveTo(_x3, -parseFloat(_y3));
|
|
135737
|
+
context.lineTo(_x4, -parseFloat(_y4));
|
|
135746
135738
|
}
|
|
135747
135739
|
}
|
|
135748
|
-
if (
|
|
135749
|
-
|
|
135750
|
-
|
|
135740
|
+
if (_entity5.type === 'polyline') {
|
|
135741
|
+
context.strokeStyle = _entity5.stroke;
|
|
135742
|
+
var _flag = false;
|
|
135743
|
+
var _points = _entity5.points;
|
|
135744
|
+
var _closed = _entity5.closed;
|
|
135745
|
+
for (var _j2 = 0; _j2 < _points.length; _j2++) {
|
|
135746
|
+
var _index2 = _j2 % 2;
|
|
135747
|
+
if (_index2 === 0) {
|
|
135748
|
+
var _x5 = _points[_j2];
|
|
135749
|
+
var _y5 = _points[_j2 + 1];
|
|
135750
|
+
if (_j2 === 0) {
|
|
135751
|
+
context.moveTo(_x5, _y5);
|
|
135752
|
+
} else {
|
|
135753
|
+
context.lineTo(_x5, _y5);
|
|
135754
|
+
}
|
|
135755
|
+
}
|
|
135756
|
+
if (_closed) {
|
|
135757
|
+
if (_j2 === _points.length - 1) {
|
|
135758
|
+
context.lineTo(_points[0], _points[1]);
|
|
135759
|
+
}
|
|
135760
|
+
}
|
|
135751
135761
|
}
|
|
135752
135762
|
}
|
|
135753
135763
|
}
|
|
135764
|
+
// context.closePath();
|
|
135765
|
+
context.fillStrokeShape(shape);
|
|
135754
135766
|
}
|
|
135755
|
-
}
|
|
135756
|
-
|
|
135757
|
-
context.fillStrokeShape(shape);
|
|
135767
|
+
});
|
|
135768
|
+
if (_this4.konvaLayer) _this4.konvaLayer.add(customShape);
|
|
135758
135769
|
}
|
|
135759
|
-
}
|
|
135760
|
-
|
|
135770
|
+
},
|
|
135771
|
+
_ret2;
|
|
135772
|
+
for (var _key in entities) {
|
|
135773
|
+
_ret2 = _loop2();
|
|
135774
|
+
if (_ret2) return _ret2.v;
|
|
135761
135775
|
}
|
|
135762
|
-
|
|
135763
|
-
|
|
135764
|
-
|
|
135765
|
-
|
|
135766
|
-
|
|
135767
|
-
|
|
135768
|
-
|
|
135769
|
-
|
|
135770
|
-
|
|
135771
|
-
|
|
135772
|
-
|
|
135773
|
-
|
|
135774
|
-
|
|
135775
|
-
|
|
135776
|
-
|
|
135777
|
-
|
|
135778
|
-
y: y
|
|
135779
|
-
});
|
|
135780
|
-
this.konvaStage.scale({
|
|
135781
|
-
x: scale,
|
|
135782
|
-
y: scale
|
|
135783
|
-
});
|
|
135784
|
-
this.konvaStage.batchDraw();
|
|
135785
|
-
//添加成功移动视口位置
|
|
135776
|
+
var _this4$calculateScale = _this4.calculateScaleAndPosition(_this.bounds1, _this4.konvaStage.width(), _this4.konvaStage.height(), 0.05 // 5% 边距
|
|
135777
|
+
),
|
|
135778
|
+
scale = _this4$calculateScale.scale,
|
|
135779
|
+
x = _this4$calculateScale.x,
|
|
135780
|
+
y = _this4$calculateScale.y;
|
|
135781
|
+
_this.bounds1 = null;
|
|
135782
|
+
_this4.konvaStage.position({
|
|
135783
|
+
x: x,
|
|
135784
|
+
y: y
|
|
135785
|
+
});
|
|
135786
|
+
_this4.konvaStage.scale({
|
|
135787
|
+
x: scale,
|
|
135788
|
+
y: scale
|
|
135789
|
+
});
|
|
135790
|
+
_this4.konvaStage.batchDraw();
|
|
135791
|
+
//添加成功移动视口位置 pageIdx === 0
|
|
135786
135792
|
|
|
135787
|
-
|
|
135788
|
-
|
|
135789
|
-
|
|
135790
|
-
|
|
135793
|
+
if (index === 0) {
|
|
135794
|
+
pdf.addImage(_this4.konvaStage.toDataURL({
|
|
135795
|
+
pixelRatio: 2
|
|
135796
|
+
}), 0, 0, _this4.konvaStage.width(), _this4.konvaStage.height());
|
|
135797
|
+
} else {
|
|
135798
|
+
pdf.addPage();
|
|
135799
|
+
pdf.addImage(_this4.konvaStage.toDataURL({
|
|
135800
|
+
pixelRatio: 2
|
|
135801
|
+
}), 0, 0, _this4.konvaStage.width(), _this4.konvaStage.height());
|
|
135802
|
+
}
|
|
135803
|
+
index++;
|
|
135804
|
+
}
|
|
135805
|
+
}
|
|
135806
|
+
if (index > 0) {
|
|
135807
|
+
pdf.save('批量导出.pdf');
|
|
135808
|
+
resolve();
|
|
135791
135809
|
} else {
|
|
135792
|
-
|
|
135793
|
-
pdf.addImage(this.konvaStage.toDataURL({
|
|
135794
|
-
pixelRatio: 2
|
|
135795
|
-
}), 0, 0, this.konvaStage.width(), this.konvaStage.height());
|
|
135810
|
+
reject('解析数据为空, 请检查数据再进行下载');
|
|
135796
135811
|
}
|
|
135797
|
-
}
|
|
135798
|
-
pdf.save('批量导出.pdf');
|
|
135812
|
+
});
|
|
135799
135813
|
|
|
135800
135814
|
// var imgData = canvas.toDataURL('image/png');
|
|
135801
135815
|
//doc.text("Hello world!", 10, 10);
|
|
@@ -135814,7 +135828,7 @@ function downloadPDF(base64, fileName) {
|
|
|
135814
135828
|
setColorScheme: function setColorScheme(colorType) {
|
|
135815
135829
|
var _this5 = this;
|
|
135816
135830
|
// const backgroundColor = colorType === "darkness" ? "#000" : "transparent";
|
|
135817
|
-
var color = colorType ===
|
|
135831
|
+
var color = colorType === 'darkness' ? '#fff' : '#000';
|
|
135818
135832
|
// konvaStage.container().style.background = backgroundColor;
|
|
135819
135833
|
this.konvaLayer.children.forEach(function (item) {
|
|
135820
135834
|
_this5.traverseLayer(item, color);
|
|
@@ -135851,8 +135865,8 @@ function downloadPDF(base64, fileName) {
|
|
|
135851
135865
|
});
|
|
135852
135866
|
// CONCATENATED MODULE: ./packages/components/com-flcanvas/index.vue?vue&type=script&lang=js
|
|
135853
135867
|
/* harmony default export */ var components_com_flcanvasvue_type_script_lang_js = (com_flcanvasvue_type_script_lang_js);
|
|
135854
|
-
// EXTERNAL MODULE: ./packages/components/com-flcanvas/index.vue?vue&type=style&index=0&id=
|
|
135855
|
-
var
|
|
135868
|
+
// EXTERNAL MODULE: ./packages/components/com-flcanvas/index.vue?vue&type=style&index=0&id=3b9c081b&prod&lang=scss&scoped=true
|
|
135869
|
+
var com_flcanvasvue_type_style_index_0_id_3b9c081b_prod_lang_scss_scoped_true = __webpack_require__("1f32");
|
|
135856
135870
|
|
|
135857
135871
|
// CONCATENATED MODULE: ./packages/components/com-flcanvas/index.vue
|
|
135858
135872
|
|
|
@@ -135865,17 +135879,17 @@ var com_flcanvasvue_type_style_index_0_id_0f76e7f4_prod_lang_scss_scoped_true =
|
|
|
135865
135879
|
|
|
135866
135880
|
var com_flcanvas_component = normalizeComponent(
|
|
135867
135881
|
components_com_flcanvasvue_type_script_lang_js,
|
|
135868
|
-
|
|
135869
|
-
|
|
135882
|
+
com_flcanvasvue_type_template_id_3b9c081b_scoped_true_render,
|
|
135883
|
+
com_flcanvasvue_type_template_id_3b9c081b_scoped_true_staticRenderFns,
|
|
135870
135884
|
false,
|
|
135871
135885
|
null,
|
|
135872
|
-
"
|
|
135886
|
+
"3b9c081b",
|
|
135873
135887
|
null
|
|
135874
135888
|
|
|
135875
135889
|
)
|
|
135876
135890
|
|
|
135877
135891
|
/* harmony default export */ var com_flcanvas = (com_flcanvas_component.exports);
|
|
135878
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
135892
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3309e7a4-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
|
|
135879
135893
|
var per_controlvue_type_template_id_f547d5c6_scoped_true_render = function render() {
|
|
135880
135894
|
var _vm = this,
|
|
135881
135895
|
_c = _vm._self._c;
|
|
@@ -135983,7 +135997,7 @@ var per_control_component = normalizeComponent(
|
|
|
135983
135997
|
)
|
|
135984
135998
|
|
|
135985
135999
|
/* harmony default export */ var per_control = (per_control_component.exports);
|
|
135986
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
136000
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3309e7a4-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=2572c0e2&scoped=true
|
|
135987
136001
|
var pidvue_type_template_id_2572c0e2_scoped_true_render = function render() {
|
|
135988
136002
|
var _vm = this,
|
|
135989
136003
|
_c = _vm._self._c;
|
|
@@ -136030,7 +136044,7 @@ var browserify_default = /*#__PURE__*/__webpack_require__.n(browserify);
|
|
|
136030
136044
|
var html2canvas = __webpack_require__("c0e9");
|
|
136031
136045
|
var html2canvas_default = /*#__PURE__*/__webpack_require__.n(html2canvas);
|
|
136032
136046
|
|
|
136033
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
136047
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3309e7a4-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/component/ann-tool.vue?vue&type=template&id=4b17bce0&scoped=true
|
|
136034
136048
|
var ann_toolvue_type_template_id_4b17bce0_scoped_true_render = function render() {
|
|
136035
136049
|
var _vm = this,
|
|
136036
136050
|
_c = _vm._self._c;
|