fl-web-component 2.1.2 → 2.1.3
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.
|
@@ -65997,7 +65997,7 @@ module.exports = document && document.documentElement;
|
|
|
65997
65997
|
/***/ "9224":
|
|
65998
65998
|
/***/ (function(module) {
|
|
65999
65999
|
|
|
66000
|
-
module.exports = JSON.parse("{\"name\":\"fl-web-component\",\"version\":\"2.1.
|
|
66000
|
+
module.exports = JSON.parse("{\"name\":\"fl-web-component\",\"version\":\"2.1.3\",\"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\"]}");
|
|
66001
66001
|
|
|
66002
66002
|
/***/ }),
|
|
66003
66003
|
|
|
@@ -68918,13 +68918,6 @@ var store = global[SHARED] || (global[SHARED] = {});
|
|
|
68918
68918
|
|
|
68919
68919
|
/***/ }),
|
|
68920
68920
|
|
|
68921
|
-
/***/ "b36d":
|
|
68922
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
68923
|
-
|
|
68924
|
-
// extracted by mini-css-extract-plugin
|
|
68925
|
-
|
|
68926
|
-
/***/ }),
|
|
68927
|
-
|
|
68928
68921
|
/***/ "b5e0":
|
|
68929
68922
|
/***/ (function(module, exports) {
|
|
68930
68923
|
|
|
@@ -69071,17 +69064,6 @@ module.exports = __webpack_require__("5524").Object.assign;
|
|
|
69071
69064
|
|
|
69072
69065
|
module.exports = __webpack_require__("051b");
|
|
69073
69066
|
|
|
69074
|
-
/***/ }),
|
|
69075
|
-
|
|
69076
|
-
/***/ "ba73":
|
|
69077
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
69078
|
-
|
|
69079
|
-
"use strict";
|
|
69080
|
-
/* 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_11780588_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b36d");
|
|
69081
|
-
/* 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_11780588_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_11780588_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
69082
|
-
/* unused harmony reexport * */
|
|
69083
|
-
|
|
69084
|
-
|
|
69085
69067
|
/***/ }),
|
|
69086
69068
|
|
|
69087
69069
|
/***/ "bbce":
|
|
@@ -69217,6 +69199,13 @@ Factory_1.Factory.addGetterSetter(Node_1.Node, 'enhance', 0, (0, Validators_1.ge
|
|
|
69217
69199
|
|
|
69218
69200
|
/***/ }),
|
|
69219
69201
|
|
|
69202
|
+
/***/ "bdd3":
|
|
69203
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
69204
|
+
|
|
69205
|
+
// extracted by mini-css-extract-plugin
|
|
69206
|
+
|
|
69207
|
+
/***/ }),
|
|
69208
|
+
|
|
69220
69209
|
/***/ "bdee":
|
|
69221
69210
|
/***/ (function(module, exports, __webpack_require__) {
|
|
69222
69211
|
|
|
@@ -78768,6 +78757,17 @@ module.exports = function (it) {
|
|
|
78768
78757
|
return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
|
|
78769
78758
|
};
|
|
78770
78759
|
|
|
78760
|
+
/***/ }),
|
|
78761
|
+
|
|
78762
|
+
/***/ "d391":
|
|
78763
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
78764
|
+
|
|
78765
|
+
"use strict";
|
|
78766
|
+
/* 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_67daa57f_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("bdd3");
|
|
78767
|
+
/* 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_67daa57f_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_67daa57f_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
78768
|
+
/* unused harmony reexport * */
|
|
78769
|
+
|
|
78770
|
+
|
|
78771
78771
|
/***/ }),
|
|
78772
78772
|
|
|
78773
78773
|
/***/ "d397":
|
|
@@ -88142,7 +88142,7 @@ if (typeof window !== 'undefined') {
|
|
|
88142
88142
|
// Indicate to webpack that this file can be concatenated
|
|
88143
88143
|
/* harmony default export */ var setPublicPath = (null);
|
|
88144
88144
|
|
|
88145
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
88145
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"305dc11f-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=b87e98f6&scoped=true
|
|
88146
88146
|
var com_graphicsvue_type_template_id_b87e98f6_scoped_true_render = function render() {
|
|
88147
88147
|
var _vm = this,
|
|
88148
88148
|
_c = _vm._self._c;
|
|
@@ -139522,8 +139522,8 @@ var component = normalizeComponent(
|
|
|
139522
139522
|
)
|
|
139523
139523
|
|
|
139524
139524
|
/* harmony default export */ var com_graphics = (component.exports);
|
|
139525
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
139526
|
-
var
|
|
139525
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"305dc11f-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=67daa57f&scoped=true
|
|
139526
|
+
var com_flcanvasvue_type_template_id_67daa57f_scoped_true_render = function render() {
|
|
139527
139527
|
var _vm = this,
|
|
139528
139528
|
_c = _vm._self._c;
|
|
139529
139529
|
return _c('div', {
|
|
@@ -139536,9 +139536,9 @@ var com_flcanvasvue_type_template_id_11780588_scoped_true_render = function rend
|
|
|
139536
139536
|
}
|
|
139537
139537
|
});
|
|
139538
139538
|
};
|
|
139539
|
-
var
|
|
139539
|
+
var com_flcanvasvue_type_template_id_67daa57f_scoped_true_staticRenderFns = [];
|
|
139540
139540
|
|
|
139541
|
-
// CONCATENATED MODULE: ./packages/components/com-flcanvas/index.vue?vue&type=template&id=
|
|
139541
|
+
// CONCATENATED MODULE: ./packages/components/com-flcanvas/index.vue?vue&type=template&id=67daa57f&scoped=true
|
|
139542
139542
|
|
|
139543
139543
|
// EXTERNAL MODULE: ./node_modules/konva/lib/index.js
|
|
139544
139544
|
var lib = __webpack_require__("362d");
|
|
@@ -145968,7 +145968,8 @@ function downloadPDF(base64, fileName) {
|
|
|
145968
145968
|
x: scale,
|
|
145969
145969
|
y: scale
|
|
145970
145970
|
});
|
|
145971
|
-
|
|
145971
|
+
|
|
145972
|
+
// this.konvaStage.batchDraw();
|
|
145972
145973
|
}
|
|
145973
145974
|
},
|
|
145974
145975
|
calculateScaleAndPosition: function calculateScaleAndPosition(contentBounds, stageWidth, stageHeight) {
|
|
@@ -146061,23 +146062,94 @@ function downloadPDF(base64, fileName) {
|
|
|
146061
146062
|
},
|
|
146062
146063
|
//思路是计算居中包围盒,然后排除脏数据。
|
|
146063
146064
|
loadDxf: function loadDxf(data) {
|
|
146064
|
-
var
|
|
146065
|
-
_this$$refs$
|
|
146066
|
-
|
|
146067
|
-
var _this = this;
|
|
146065
|
+
var _this$$refs$svgDraw,
|
|
146066
|
+
_this$$refs$svgDraw2,
|
|
146067
|
+
_this3 = this;
|
|
146068
146068
|
this.bounds = null;
|
|
146069
146069
|
this.konvaLayer.destroyChildren();
|
|
146070
|
-
var
|
|
146071
|
-
|
|
146072
|
-
// 在这里处理数据为空的时候
|
|
146073
|
-
if (dxf.entities.length === 0) {
|
|
146070
|
+
var flag = this.formatDrawData(data, 'updateBounds');
|
|
146071
|
+
if (!flag) {
|
|
146074
146072
|
this.$emit('error', {
|
|
146075
146073
|
type: 'entityEmpty'
|
|
146076
146074
|
});
|
|
146077
146075
|
return;
|
|
146078
146076
|
}
|
|
146077
|
+
|
|
146078
|
+
//缩放视口
|
|
146079
|
+
var scale = 1;
|
|
146080
|
+
var boundingRect = this.konvaLayer.getClientRect();
|
|
146081
|
+
var ratio = Number((((_this$$refs$svgDraw = this.$refs.svgDraw) === null || _this$$refs$svgDraw === void 0 ? void 0 : _this$$refs$svgDraw.clientWidth) / boundingRect.width).toFixed(1));
|
|
146082
|
+
if (ratio > 2) {
|
|
146083
|
+
scale = Number((boundingRect.width / boundingRect.height).toFixed(1));
|
|
146084
|
+
scale = scale < 2 ? 2 : scale;
|
|
146085
|
+
}
|
|
146086
|
+
var boundingScale = this.konvaLayer.getClientRect();
|
|
146087
|
+
//平移视口
|
|
146088
|
+
var x = ((_this$$refs$svgDraw2 = this.$refs.svgDraw) === null || _this$$refs$svgDraw2 === void 0 ? void 0 : _this$$refs$svgDraw2.clientWidth) / 2 - (Math.ceil(boundingScale.width) / 2 + boundingScale.x / 2);
|
|
146089
|
+
var y = this.$refs.svgDraw.clientHeight / 2 - (Math.ceil(boundingScale.height) / 2 + boundingScale.y);
|
|
146090
|
+
|
|
146091
|
+
// this.konvaStage.scale({
|
|
146092
|
+
// x: 2,
|
|
146093
|
+
// y: 2,
|
|
146094
|
+
// });
|
|
146095
|
+
// this.konvaStage.setX(0);
|
|
146096
|
+
// this.konvaStage.setY(750); // 750
|
|
146097
|
+
|
|
146098
|
+
// this.activedSvgPan.zoom.x = 0;
|
|
146099
|
+
// this.activedSvgPan.zoom.y = 750;
|
|
146100
|
+
// this.activedSvgPan.x = x;
|
|
146101
|
+
// this.activedSvgPan.y = x;
|
|
146102
|
+
setTimeout(function () {
|
|
146103
|
+
_this3.centerDraw();
|
|
146104
|
+
_this3.$emit('loaded');
|
|
146105
|
+
}, 100);
|
|
146106
|
+
},
|
|
146107
|
+
toPdf: function toPdf(name) {
|
|
146108
|
+
//this.konvaStage.scale({
|
|
146109
|
+
//x: this.activedSvgPan.zoom.x,
|
|
146110
|
+
//y: this.activedSvgPan.zoom.y,
|
|
146111
|
+
//});
|
|
146112
|
+
//this.konvaStage.setX(this.activedSvgPan.x);
|
|
146113
|
+
//this.konvaStage.setY(this.activedSvgPan.y);
|
|
146114
|
+
// get data URL with default settings
|
|
146115
|
+
|
|
146116
|
+
// open in new window
|
|
146117
|
+
this.konvaLayer.getCanvas().setPixelRatio(2);
|
|
146118
|
+
var jpegURL = this.konvaStage.toDataURL({
|
|
146119
|
+
mimeType: 'image/jpeg',
|
|
146120
|
+
quality: 1,
|
|
146121
|
+
pixelRatio: 2
|
|
146122
|
+
});
|
|
146123
|
+
var pageData = this.konvaLayer.canvas.toDataURL('image/jpeg', 2);
|
|
146124
|
+
var img = new Image();
|
|
146125
|
+
img.src = jpegURL;
|
|
146126
|
+
var pdf = new jspdf_es_min["a" /* default */]('l', 'px', [this.konvaStage.width(), this.konvaStage.height()]);
|
|
146127
|
+
pdf.addImage(this.konvaStage.toDataURL({
|
|
146128
|
+
pixelRatio: 2
|
|
146129
|
+
}), 0, 0, this.konvaStage.width(), this.konvaStage.height());
|
|
146130
|
+
pdf.save(name + '.pdf');
|
|
146131
|
+
// var imgData = canvas.toDataURL('image/png');
|
|
146132
|
+
//doc.text("Hello world!", 10, 10);
|
|
146133
|
+
//doc.save("a4.pdf");
|
|
146134
|
+
},
|
|
146135
|
+
// 处理图纸数据
|
|
146136
|
+
formatDrawData: function formatDrawData(data, fn) {
|
|
146137
|
+
var _this4 = this;
|
|
146138
|
+
var _this = this;
|
|
146079
146139
|
var parser2 = new dxf_parser_DxfParser_DxfParser();
|
|
146080
146140
|
var dxf2 = parser2.parseSync(data);
|
|
146141
|
+
// const parser = new DxfParser();
|
|
146142
|
+
// let dxf = parser.parse(data);
|
|
146143
|
+
// 在这里处理数据为空的时候
|
|
146144
|
+
// if (dxf.entities.length === 0) {
|
|
146145
|
+
// this.$emit('error', {
|
|
146146
|
+
// type: 'entityEmpty'
|
|
146147
|
+
// })
|
|
146148
|
+
// return
|
|
146149
|
+
// }
|
|
146150
|
+
if (dxf2.entities.length === 0) {
|
|
146151
|
+
return false;
|
|
146152
|
+
}
|
|
146081
146153
|
var hatchEntitys = dxf2.entities.filter(function (item) {
|
|
146082
146154
|
return item.type === 'HATCH';
|
|
146083
146155
|
});
|
|
@@ -146216,7 +146288,7 @@ function downloadPDF(base64, fileName) {
|
|
|
146216
146288
|
// }
|
|
146217
146289
|
}
|
|
146218
146290
|
//加载图纸
|
|
146219
|
-
var entities = formatEntity(
|
|
146291
|
+
var entities = formatEntity(dxf2.entities);
|
|
146220
146292
|
for (var key in entities) {
|
|
146221
146293
|
if (entities[key]) {
|
|
146222
146294
|
var group = [];
|
|
@@ -146225,7 +146297,7 @@ function downloadPDF(base64, fileName) {
|
|
|
146225
146297
|
var _configParams = _layerConfig && Object.keys(_layerConfig).length > 0 ? _layerConfig : null;
|
|
146226
146298
|
for (var _i3 = 0; _i3 < l; _i3++) {
|
|
146227
146299
|
var type = entities[key][_i3].type;
|
|
146228
|
-
handleFn(type,
|
|
146300
|
+
handleFn(type, dxf2, entities[key][_i3], group, key, _configParams, this.konvaLayer, dxf2.tables.lineType.lineTypes
|
|
146229
146301
|
// this.recordLayerConfig
|
|
146230
146302
|
);
|
|
146231
146303
|
}
|
|
@@ -146240,9 +146312,6 @@ function downloadPDF(base64, fileName) {
|
|
|
146240
146312
|
return item.type !== 'text';
|
|
146241
146313
|
});
|
|
146242
146314
|
if (shapeGroup.length > 0) {
|
|
146243
|
-
// if (group[0]?.stroke) {
|
|
146244
|
-
// group[0].stroke = '#000';
|
|
146245
|
-
// }
|
|
146246
146315
|
// 根据颜色分组
|
|
146247
146316
|
var colorGroup = lodash_default.a.groupBy(shapeGroup, 'stroke');
|
|
146248
146317
|
var _loop = function _loop() {
|
|
@@ -146276,8 +146345,8 @@ function downloadPDF(base64, fileName) {
|
|
|
146276
146345
|
var v2 = {};
|
|
146277
146346
|
v2.x = x2;
|
|
146278
146347
|
v2.y = y2;
|
|
146279
|
-
_this
|
|
146280
|
-
_this
|
|
146348
|
+
_this[fn](v1);
|
|
146349
|
+
_this[fn](v2);
|
|
146281
146350
|
}
|
|
146282
146351
|
if (_entity3.type === 'polyline') {
|
|
146283
146352
|
context.strokeStyle = _entity3.stroke;
|
|
@@ -146287,16 +146356,16 @@ function downloadPDF(base64, fileName) {
|
|
|
146287
146356
|
for (var _j = 0; _j < points.length; _j++) {
|
|
146288
146357
|
var index = _j % 2;
|
|
146289
146358
|
if (index === 0) {
|
|
146290
|
-
var
|
|
146291
|
-
var
|
|
146359
|
+
var x = points[_j];
|
|
146360
|
+
var y = points[_j + 1];
|
|
146292
146361
|
var point = {};
|
|
146293
|
-
point.x =
|
|
146294
|
-
point.y =
|
|
146295
|
-
_this
|
|
146362
|
+
point.x = x;
|
|
146363
|
+
point.y = y;
|
|
146364
|
+
_this[fn](point);
|
|
146296
146365
|
if (_j === 0) {
|
|
146297
|
-
context.moveTo(
|
|
146366
|
+
context.moveTo(x, y);
|
|
146298
146367
|
} else {
|
|
146299
|
-
context.lineTo(
|
|
146368
|
+
context.lineTo(x, y);
|
|
146300
146369
|
}
|
|
146301
146370
|
}
|
|
146302
146371
|
if (closed) {
|
|
@@ -146315,7 +146384,12 @@ function downloadPDF(base64, fileName) {
|
|
|
146315
146384
|
},
|
|
146316
146385
|
shapeType: 'shape'
|
|
146317
146386
|
});
|
|
146318
|
-
if (
|
|
146387
|
+
if (_this4.konvaLayer) {
|
|
146388
|
+
_this4.konvaLayer.add(customShape);
|
|
146389
|
+
// 直接在这里调用draw 能拿到最新数据 不执行的话 就会导致最后执行 导致bounds的数据出错
|
|
146390
|
+
_this4.konvaLayer.draw();
|
|
146391
|
+
}
|
|
146392
|
+
;
|
|
146319
146393
|
};
|
|
146320
146394
|
for (var colorKey in colorGroup) {
|
|
146321
146395
|
_loop();
|
|
@@ -146323,244 +146397,96 @@ function downloadPDF(base64, fileName) {
|
|
|
146323
146397
|
}
|
|
146324
146398
|
}
|
|
146325
146399
|
}
|
|
146326
|
-
|
|
146327
|
-
var scale = 1;
|
|
146328
|
-
var boundingRect = this.konvaLayer.getClientRect();
|
|
146329
|
-
var ratio = Number((((_this$$refs$svgDraw = this.$refs.svgDraw) === null || _this$$refs$svgDraw === void 0 ? void 0 : _this$$refs$svgDraw.clientWidth) / boundingRect.width).toFixed(1));
|
|
146330
|
-
if (ratio > 2) {
|
|
146331
|
-
scale = Number((boundingRect.width / boundingRect.height).toFixed(1));
|
|
146332
|
-
scale = scale < 2 ? 2 : scale;
|
|
146333
|
-
}
|
|
146334
|
-
// this.konvaStage.scale({
|
|
146335
|
-
// x: scale,
|
|
146336
|
-
// y: scale,
|
|
146337
|
-
//})
|
|
146338
|
-
var boundingScale = this.konvaLayer.getClientRect();
|
|
146339
|
-
//平移视口
|
|
146340
|
-
var x = ((_this$$refs$svgDraw2 = this.$refs.svgDraw) === null || _this$$refs$svgDraw2 === void 0 ? void 0 : _this$$refs$svgDraw2.clientWidth) / 2 - (Math.ceil(boundingScale.width) / 2 + boundingScale.x / 2);
|
|
146341
|
-
var y = this.$refs.svgDraw.clientHeight / 2 - (Math.ceil(boundingScale.height) / 2 + boundingScale.y);
|
|
146342
|
-
|
|
146343
|
-
// this.konvaStage.scale({
|
|
146344
|
-
// x: 2,
|
|
146345
|
-
// y: 2,
|
|
146346
|
-
// });
|
|
146347
|
-
// this.konvaStage.setX(0);
|
|
146348
|
-
// this.konvaStage.setY(750); // 750
|
|
146349
|
-
|
|
146350
|
-
// this.activedSvgPan.zoom.x = 0;
|
|
146351
|
-
// this.activedSvgPan.zoom.y = 750;
|
|
146352
|
-
// this.activedSvgPan.x = x;
|
|
146353
|
-
// this.activedSvgPan.y = x;
|
|
146354
|
-
setTimeout(function () {
|
|
146355
|
-
_this3.centerDraw();
|
|
146356
|
-
_this3.$emit('loaded');
|
|
146357
|
-
}, 100);
|
|
146358
|
-
},
|
|
146359
|
-
toPdf: function toPdf(name) {
|
|
146360
|
-
//this.konvaStage.scale({
|
|
146361
|
-
//x: this.activedSvgPan.zoom.x,
|
|
146362
|
-
//y: this.activedSvgPan.zoom.y,
|
|
146363
|
-
//});
|
|
146364
|
-
//this.konvaStage.setX(this.activedSvgPan.x);
|
|
146365
|
-
//this.konvaStage.setY(this.activedSvgPan.y);
|
|
146366
|
-
// get data URL with default settings
|
|
146367
|
-
|
|
146368
|
-
// open in new window
|
|
146369
|
-
this.konvaLayer.getCanvas().setPixelRatio(2);
|
|
146370
|
-
var jpegURL = this.konvaStage.toDataURL({
|
|
146371
|
-
mimeType: 'image/jpeg',
|
|
146372
|
-
quality: 1,
|
|
146373
|
-
pixelRatio: 2
|
|
146374
|
-
});
|
|
146375
|
-
var pageData = this.konvaLayer.canvas.toDataURL('image/jpeg', 2);
|
|
146376
|
-
var img = new Image();
|
|
146377
|
-
img.src = jpegURL;
|
|
146378
|
-
var pdf = new jspdf_es_min["a" /* default */]('l', 'px', [this.konvaStage.width(), this.konvaStage.height()]);
|
|
146379
|
-
pdf.addImage(this.konvaStage.toDataURL({
|
|
146380
|
-
pixelRatio: 2
|
|
146381
|
-
}), 0, 0, this.konvaStage.width(), this.konvaStage.height());
|
|
146382
|
-
pdf.save(name + '.pdf');
|
|
146383
|
-
// var imgData = canvas.toDataURL('image/png');
|
|
146384
|
-
//doc.text("Hello world!", 10, 10);
|
|
146385
|
-
//doc.save("a4.pdf");
|
|
146400
|
+
return true;
|
|
146386
146401
|
},
|
|
146387
146402
|
toPdfs: function toPdfs(list) {
|
|
146388
|
-
var
|
|
146389
|
-
var _this = this;
|
|
146403
|
+
var _this5 = this;
|
|
146390
146404
|
return new Promise(function (resolve, reject) {
|
|
146391
|
-
var pdf = new jspdf_es_min["a" /* default */]('l', 'px', [
|
|
146405
|
+
var pdf = new jspdf_es_min["a" /* default */]('l', 'px', [_this5.konvaStage.width(), _this5.konvaStage.height()]);
|
|
146392
146406
|
var exportPixelRatio = 2; // 可以 2/3/4 自己调
|
|
146393
146407
|
var index = 0;
|
|
146394
|
-
|
|
146395
|
-
|
|
146408
|
+
var length = list.length;
|
|
146409
|
+
do {
|
|
146410
|
+
var data = list[index];
|
|
146396
146411
|
//先绘制图面
|
|
146397
|
-
|
|
146398
|
-
|
|
146399
|
-
var
|
|
146400
|
-
|
|
146401
|
-
|
|
146402
|
-
var
|
|
146403
|
-
//先计算包围
|
|
146404
|
-
for (var key in entities) {
|
|
146405
|
-
if (entities[key]) {
|
|
146406
|
-
var group = [];
|
|
146407
|
-
var l = entities[key].length;
|
|
146408
|
-
var layerConfig = _this4.recordLayerConfig[key];
|
|
146409
|
-
var configParams = layerConfig && Object.keys(layerConfig).length > 0 ? layerConfig : null;
|
|
146410
|
-
for (var i = 0; i < l; i++) {
|
|
146411
|
-
var type = entities[key][i].type;
|
|
146412
|
-
handleFn(type, dxf, entities[key][i], group, key, configParams, _this4.konvaLayer, _this4.recordLayerConfig);
|
|
146413
|
-
}
|
|
146414
|
-
for (var _i6 = 0; _i6 < group.length; _i6++) {
|
|
146415
|
-
var entity = group[_i6];
|
|
146416
|
-
if (entity.type === 'line') {
|
|
146417
|
-
var x1 = entity.x1;
|
|
146418
|
-
var y1 = entity.y1;
|
|
146419
|
-
var x2 = entity.x2;
|
|
146420
|
-
var y2 = entity.y2;
|
|
146421
|
-
var v1 = {};
|
|
146422
|
-
v1.x = x1;
|
|
146423
|
-
v1.y = y1;
|
|
146424
|
-
var v2 = {};
|
|
146425
|
-
v2.x = x2;
|
|
146426
|
-
v2.y = y2;
|
|
146427
|
-
_this.updateBounds1(v1);
|
|
146428
|
-
_this.updateBounds1(v2);
|
|
146429
|
-
}
|
|
146430
|
-
if (entity.type === 'polyline') {
|
|
146431
|
-
var flag = false;
|
|
146432
|
-
var points = entity.points;
|
|
146433
|
-
var closed = entity.closed;
|
|
146434
|
-
for (var j = 0; j < points.length; j++) {
|
|
146435
|
-
var _index = j % 2;
|
|
146436
|
-
if (_index === 0) {
|
|
146437
|
-
var _x2 = points[j];
|
|
146438
|
-
var _y2 = points[j + 1];
|
|
146439
|
-
var point = {};
|
|
146440
|
-
point.x = _x2;
|
|
146441
|
-
point.y = _y2;
|
|
146442
|
-
_this.updateBounds1(point);
|
|
146443
|
-
}
|
|
146444
|
-
}
|
|
146445
|
-
}
|
|
146446
|
-
}
|
|
146447
|
-
}
|
|
146448
|
-
}
|
|
146449
|
-
var _loop2 = function _loop2() {
|
|
146450
|
-
if (entities[_key]) {
|
|
146451
|
-
var _group = [];
|
|
146452
|
-
var _l = entities[_key].length;
|
|
146453
|
-
var _layerConfig2 = _this4.recordLayerConfig[_key];
|
|
146454
|
-
var _configParams2 = _layerConfig2 && Object.keys(_layerConfig2).length > 0 ? _layerConfig2 : null;
|
|
146455
|
-
for (var _i7 = 0; _i7 < _l; _i7++) {
|
|
146456
|
-
var _type = entities[_key][_i7].type;
|
|
146457
|
-
handleFn(_type, dxf, entities[_key][_i7], _group, _key, _configParams2, _this4.konvaLayer, _this4.recordLayerConfig);
|
|
146458
|
-
}
|
|
146459
|
-
if (!_this4.konvaLayer) return {
|
|
146460
|
-
v: void 0
|
|
146461
|
-
};
|
|
146462
|
-
for (var _i8 = 0; _i8 < _group.length; _i8++) {
|
|
146463
|
-
var _entity4 = _group[_i8];
|
|
146464
|
-
if (_entity4.type === 'text') {
|
|
146465
|
-
if (_this4.konvaLayer) _this4.konvaLayer.add(_entity4.obj);
|
|
146466
|
-
}
|
|
146467
|
-
}
|
|
146468
|
-
if (_group.length > 0) {
|
|
146469
|
-
var _group$;
|
|
146470
|
-
if ((_group$ = _group[0]) !== null && _group$ !== void 0 && _group$.stroke) {
|
|
146471
|
-
_group[0].stroke = '#000';
|
|
146472
|
-
}
|
|
146473
|
-
var customShape = new lib_default.a.Shape({
|
|
146474
|
-
x: 0,
|
|
146475
|
-
y: 0,
|
|
146476
|
-
strokeWidth: 0.2,
|
|
146477
|
-
name: _key.replace(/\s*/g, ''),
|
|
146478
|
-
entityId: _key,
|
|
146479
|
-
stroke: _group[0].stroke,
|
|
146480
|
-
customColor: _configParams2 ? _configParams2.color : '',
|
|
146481
|
-
//visible: configParams ? configParams.visible :true,
|
|
146482
|
-
sceneFunc: function sceneFunc(context, shape) {
|
|
146483
|
-
context.beginPath();
|
|
146484
|
-
for (var _i9 = 0; _i9 < _group.length; _i9++) {
|
|
146485
|
-
var _entity5 = _group[_i9];
|
|
146486
|
-
if (_entity5.type === 'line') {
|
|
146487
|
-
context.strokeStyle = _entity5.stroke;
|
|
146488
|
-
var _x3 = _entity5.x1;
|
|
146489
|
-
var _y3 = _entity5.y1;
|
|
146490
|
-
var _x4 = _entity5.x2;
|
|
146491
|
-
var _y4 = _entity5.y2;
|
|
146492
|
-
if (_x3 != undefined && _y3 != undefined && _x4 != undefined && _y4 != undefined) {
|
|
146493
|
-
context.moveTo(_x3, -parseFloat(_y3));
|
|
146494
|
-
context.lineTo(_x4, -parseFloat(_y4));
|
|
146495
|
-
}
|
|
146496
|
-
}
|
|
146497
|
-
if (_entity5.type === 'polyline') {
|
|
146498
|
-
context.strokeStyle = _entity5.stroke;
|
|
146499
|
-
var _flag = false;
|
|
146500
|
-
var _points = _entity5.points;
|
|
146501
|
-
var _closed = _entity5.closed;
|
|
146502
|
-
for (var _j2 = 0; _j2 < _points.length; _j2++) {
|
|
146503
|
-
var _index2 = _j2 % 2;
|
|
146504
|
-
if (_index2 === 0) {
|
|
146505
|
-
var _x5 = _points[_j2];
|
|
146506
|
-
var _y5 = _points[_j2 + 1];
|
|
146507
|
-
if (_j2 === 0) {
|
|
146508
|
-
context.moveTo(_x5, _y5);
|
|
146509
|
-
} else {
|
|
146510
|
-
context.lineTo(_x5, _y5);
|
|
146511
|
-
}
|
|
146512
|
-
}
|
|
146513
|
-
if (_closed) {
|
|
146514
|
-
if (_j2 === _points.length - 1) {
|
|
146515
|
-
context.lineTo(_points[0], _points[1]);
|
|
146516
|
-
}
|
|
146517
|
-
}
|
|
146518
|
-
}
|
|
146519
|
-
}
|
|
146520
|
-
}
|
|
146521
|
-
// context.closePath();
|
|
146522
|
-
context.fillStrokeShape(shape);
|
|
146523
|
-
}
|
|
146524
|
-
});
|
|
146525
|
-
if (_this4.konvaLayer) _this4.konvaLayer.add(customShape);
|
|
146526
|
-
}
|
|
146527
|
-
}
|
|
146528
|
-
},
|
|
146529
|
-
_ret;
|
|
146530
|
-
for (var _key in entities) {
|
|
146531
|
-
_ret = _loop2();
|
|
146532
|
-
if (_ret) return _ret.v;
|
|
146533
|
-
}
|
|
146534
|
-
var _this4$calculateScale = _this4.calculateScaleAndPosition(_this.bounds1, _this4.konvaStage.width(), _this4.konvaStage.height(), 0.05 // 5% 边距
|
|
146412
|
+
|
|
146413
|
+
_this5.konvaLayer.destroyChildren();
|
|
146414
|
+
var flag = _this5.formatDrawData(data, 'updateBounds1');
|
|
146415
|
+
// 这步还没执行完就执行下面的代码了
|
|
146416
|
+
if (flag) {
|
|
146417
|
+
var _this5$calculateScale = _this5.calculateScaleAndPosition(_this5.bounds1, _this5.konvaStage.width(), _this5.konvaStage.height(), 0.05 // 5% 边距
|
|
146535
146418
|
),
|
|
146536
|
-
scale =
|
|
146537
|
-
x =
|
|
146538
|
-
y =
|
|
146539
|
-
|
|
146540
|
-
|
|
146419
|
+
scale = _this5$calculateScale.scale,
|
|
146420
|
+
x = _this5$calculateScale.x,
|
|
146421
|
+
y = _this5$calculateScale.y;
|
|
146422
|
+
_this5.bounds1 = null;
|
|
146423
|
+
_this5.konvaStage.position({
|
|
146541
146424
|
x: x,
|
|
146542
146425
|
y: y
|
|
146543
146426
|
});
|
|
146544
|
-
|
|
146427
|
+
_this5.konvaStage.scale({
|
|
146545
146428
|
x: scale,
|
|
146546
146429
|
y: scale
|
|
146547
146430
|
});
|
|
146548
|
-
|
|
146431
|
+
|
|
146432
|
+
// this.konvaStage.batchDraw();
|
|
146549
146433
|
//添加成功移动视口位置 pageIdx === 0
|
|
146550
146434
|
|
|
146551
146435
|
if (index === 0) {
|
|
146552
|
-
pdf.addImage(
|
|
146436
|
+
pdf.addImage(_this5.konvaStage.toDataURL({
|
|
146553
146437
|
pixelRatio: 2
|
|
146554
|
-
}), 0, 0,
|
|
146438
|
+
}), 0, 0, _this5.konvaStage.width(), _this5.konvaStage.height());
|
|
146555
146439
|
} else {
|
|
146556
146440
|
pdf.addPage();
|
|
146557
|
-
pdf.addImage(
|
|
146441
|
+
pdf.addImage(_this5.konvaStage.toDataURL({
|
|
146558
146442
|
pixelRatio: 2
|
|
146559
|
-
}), 0, 0,
|
|
146443
|
+
}), 0, 0, _this5.konvaStage.width(), _this5.konvaStage.height());
|
|
146560
146444
|
}
|
|
146561
146445
|
index++;
|
|
146562
146446
|
}
|
|
146563
|
-
}
|
|
146447
|
+
} while (index < length);
|
|
146448
|
+
// for (let pageIdx = 0; pageIdx < list.length; pageIdx++) {
|
|
146449
|
+
// let data = list[pageIdx];
|
|
146450
|
+
// //先绘制图面
|
|
146451
|
+
// this.bounds1 = null;
|
|
146452
|
+
// this.konvaLayer.destroyChildren();
|
|
146453
|
+
// let flag = this.formatDrawData(data, 'updateBounds1')
|
|
146454
|
+
// // 这步还没执行完就执行下面的代码了
|
|
146455
|
+
// if (flag) {
|
|
146456
|
+
// const { scale, x, y } = this.calculateScaleAndPosition(
|
|
146457
|
+
// this.bounds1,
|
|
146458
|
+
// this.konvaStage.width(),
|
|
146459
|
+
// this.konvaStage.height(),
|
|
146460
|
+
// 0.05 // 5% 边距
|
|
146461
|
+
// );
|
|
146462
|
+
// this.konvaStage.position({ x: x, y: y });
|
|
146463
|
+
// this.konvaStage.scale({ x: scale, y: scale });
|
|
146464
|
+
|
|
146465
|
+
// this.konvaStage.batchDraw();
|
|
146466
|
+
// //添加成功移动视口位置 pageIdx === 0
|
|
146467
|
+
|
|
146468
|
+
// if (index === 0) {
|
|
146469
|
+
// pdf.addImage(
|
|
146470
|
+
// this.konvaStage.toDataURL({ pixelRatio: 2 }),
|
|
146471
|
+
// 0,
|
|
146472
|
+
// 0,
|
|
146473
|
+
// this.konvaStage.width(),
|
|
146474
|
+
// this.konvaStage.height()
|
|
146475
|
+
// );
|
|
146476
|
+
// } else {
|
|
146477
|
+
// pdf.addPage();
|
|
146478
|
+
// pdf.addImage(
|
|
146479
|
+
// this.konvaStage.toDataURL({ pixelRatio: 2 }),
|
|
146480
|
+
// 0,
|
|
146481
|
+
// 0,
|
|
146482
|
+
// this.konvaStage.width(),
|
|
146483
|
+
// this.konvaStage.height()
|
|
146484
|
+
// );
|
|
146485
|
+
// }
|
|
146486
|
+
// index++
|
|
146487
|
+
// }
|
|
146488
|
+
|
|
146489
|
+
// }
|
|
146564
146490
|
if (index > 0) {
|
|
146565
146491
|
pdf.save('批量导出.pdf');
|
|
146566
146492
|
resolve();
|
|
@@ -146584,16 +146510,16 @@ function downloadPDF(base64, fileName) {
|
|
|
146584
146510
|
},
|
|
146585
146511
|
// 更改图纸的色系 区分明暗两种 darkness 暗色系 bright 明亮
|
|
146586
146512
|
setColorScheme: function setColorScheme(colorType) {
|
|
146587
|
-
var
|
|
146513
|
+
var _this6 = this;
|
|
146588
146514
|
// const backgroundColor = colorType === "darkness" ? "#000" : "transparent";
|
|
146589
146515
|
var color = colorType === 'darkness' ? '#fff' : '#000';
|
|
146590
146516
|
// konvaStage.container().style.background = backgroundColor;
|
|
146591
146517
|
this.konvaLayer.children.forEach(function (item) {
|
|
146592
|
-
|
|
146518
|
+
_this6.traverseLayer(item, color);
|
|
146593
146519
|
});
|
|
146594
146520
|
},
|
|
146595
146521
|
traverseLayer: function traverseLayer(obj, color) {
|
|
146596
|
-
var
|
|
146522
|
+
var _this7 = this;
|
|
146597
146523
|
if (!obj.attrs.isGroup) {
|
|
146598
146524
|
if (color === '#fff') {
|
|
146599
146525
|
var setColor = obj.attrs.customColor === '#000' || obj.attrs.customColor === '#000000' || obj.attrs.customColor === 'rgb(0, 0, 0)' || obj.attrs.customColor === 'rgba(0, 0, 0, 1)' ? color : obj.attrs.customColor;
|
|
@@ -146612,7 +146538,7 @@ function downloadPDF(base64, fileName) {
|
|
|
146612
146538
|
}
|
|
146613
146539
|
} else {
|
|
146614
146540
|
obj.children.forEach(function (item) {
|
|
146615
|
-
|
|
146541
|
+
_this7.traverseLayer(item, color);
|
|
146616
146542
|
});
|
|
146617
146543
|
}
|
|
146618
146544
|
}
|
|
@@ -146623,8 +146549,8 @@ function downloadPDF(base64, fileName) {
|
|
|
146623
146549
|
});
|
|
146624
146550
|
// CONCATENATED MODULE: ./packages/components/com-flcanvas/index.vue?vue&type=script&lang=js
|
|
146625
146551
|
/* harmony default export */ var components_com_flcanvasvue_type_script_lang_js = (com_flcanvasvue_type_script_lang_js);
|
|
146626
|
-
// EXTERNAL MODULE: ./packages/components/com-flcanvas/index.vue?vue&type=style&index=0&id=
|
|
146627
|
-
var
|
|
146552
|
+
// EXTERNAL MODULE: ./packages/components/com-flcanvas/index.vue?vue&type=style&index=0&id=67daa57f&prod&lang=scss&scoped=true
|
|
146553
|
+
var com_flcanvasvue_type_style_index_0_id_67daa57f_prod_lang_scss_scoped_true = __webpack_require__("d391");
|
|
146628
146554
|
|
|
146629
146555
|
// CONCATENATED MODULE: ./packages/components/com-flcanvas/index.vue
|
|
146630
146556
|
|
|
@@ -146637,17 +146563,17 @@ var com_flcanvasvue_type_style_index_0_id_11780588_prod_lang_scss_scoped_true =
|
|
|
146637
146563
|
|
|
146638
146564
|
var com_flcanvas_component = normalizeComponent(
|
|
146639
146565
|
components_com_flcanvasvue_type_script_lang_js,
|
|
146640
|
-
|
|
146641
|
-
|
|
146566
|
+
com_flcanvasvue_type_template_id_67daa57f_scoped_true_render,
|
|
146567
|
+
com_flcanvasvue_type_template_id_67daa57f_scoped_true_staticRenderFns,
|
|
146642
146568
|
false,
|
|
146643
146569
|
null,
|
|
146644
|
-
"
|
|
146570
|
+
"67daa57f",
|
|
146645
146571
|
null
|
|
146646
146572
|
|
|
146647
146573
|
)
|
|
146648
146574
|
|
|
146649
146575
|
/* harmony default export */ var com_flcanvas = (com_flcanvas_component.exports);
|
|
146650
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
146576
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"305dc11f-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
|
|
146651
146577
|
var per_controlvue_type_template_id_f547d5c6_scoped_true_render = function render() {
|
|
146652
146578
|
var _vm = this,
|
|
146653
146579
|
_c = _vm._self._c;
|
|
@@ -146755,7 +146681,7 @@ var per_control_component = normalizeComponent(
|
|
|
146755
146681
|
)
|
|
146756
146682
|
|
|
146757
146683
|
/* harmony default export */ var per_control = (per_control_component.exports);
|
|
146758
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
146684
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"305dc11f-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
|
|
146759
146685
|
var pidvue_type_template_id_2572c0e2_scoped_true_render = function render() {
|
|
146760
146686
|
var _vm = this,
|
|
146761
146687
|
_c = _vm._self._c;
|
|
@@ -146802,7 +146728,7 @@ var browserify_default = /*#__PURE__*/__webpack_require__.n(browserify);
|
|
|
146802
146728
|
var html2canvas = __webpack_require__("c0e9");
|
|
146803
146729
|
var html2canvas_default = /*#__PURE__*/__webpack_require__.n(html2canvas);
|
|
146804
146730
|
|
|
146805
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
146731
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"305dc11f-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
|
|
146806
146732
|
var ann_toolvue_type_template_id_4b17bce0_scoped_true_render = function render() {
|
|
146807
146733
|
var _vm = this,
|
|
146808
146734
|
_c = _vm._self._c;
|