fl-web-component 2.1.16 → 2.1.18

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.
@@ -896,6 +896,13 @@ module.exports = function (it) {
896
896
 
897
897
  /***/ }),
898
898
 
899
+ /***/ "0b0c":
900
+ /***/ (function(module, exports, __webpack_require__) {
901
+
902
+ // extracted by mini-css-extract-plugin
903
+
904
+ /***/ }),
905
+
899
906
  /***/ "0b99":
900
907
  /***/ (function(module, exports, __webpack_require__) {
901
908
 
@@ -22668,6 +22675,17 @@ module.exports = {
22668
22675
  }
22669
22676
  };
22670
22677
 
22678
+ /***/ }),
22679
+
22680
+ /***/ "35d8":
22681
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
22682
+
22683
+ "use strict";
22684
+ /* 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_5d8eba59_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9194");
22685
+ /* 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_5d8eba59_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_5d8eba59_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
22686
+ /* unused harmony reexport * */
22687
+
22688
+
22671
22689
  /***/ }),
22672
22690
 
22673
22691
  /***/ "362d":
@@ -39821,17 +39839,6 @@ module.exports = function (delay, noTrailing, callback, debounceMode) {
39821
39839
  return wrapper;
39822
39840
  };
39823
39841
 
39824
- /***/ }),
39825
-
39826
- /***/ "5a20":
39827
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
39828
-
39829
- "use strict";
39830
- /* 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_23daca8a_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("76f8");
39831
- /* 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_23daca8a_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_23daca8a_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
39832
- /* unused harmony reexport * */
39833
-
39834
-
39835
39842
  /***/ }),
39836
39843
 
39837
39844
  /***/ "5a43":
@@ -45160,17 +45167,6 @@ Rect.prototype.className = 'Rect';
45160
45167
  (0, Global_1._registerNode)(Rect);
45161
45168
  Factory_1.Factory.addGetterSetter(Rect, 'cornerRadius', 0, (0, Validators_1.getNumberOrArrayOfNumbersValidator)(4));
45162
45169
 
45163
- /***/ }),
45164
-
45165
- /***/ "5fa7":
45166
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
45167
-
45168
- "use strict";
45169
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_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_1_id_23daca8a_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a31d");
45170
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_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_1_id_23daca8a_prod_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_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_1_id_23daca8a_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
45171
- /* unused harmony reexport * */
45172
-
45173
-
45174
45170
  /***/ }),
45175
45171
 
45176
45172
  /***/ "6167":
@@ -46441,17 +46437,6 @@ module.exports = function (module) {
46441
46437
  return module;
46442
46438
  };
46443
46439
 
46444
- /***/ }),
46445
-
46446
- /***/ "635c":
46447
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
46448
-
46449
- "use strict";
46450
- /* 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_23a6a3a8_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a149");
46451
- /* 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_23a6a3a8_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_23a6a3a8_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
46452
- /* unused harmony reexport * */
46453
-
46454
-
46455
46440
  /***/ }),
46456
46441
 
46457
46442
  /***/ "6438":
@@ -51268,13 +51253,6 @@ exports.Sepia = Sepia;
51268
51253
 
51269
51254
  /***/ }),
51270
51255
 
51271
- /***/ "76f8":
51272
- /***/ (function(module, exports, __webpack_require__) {
51273
-
51274
- // extracted by mini-css-extract-plugin
51275
-
51276
- /***/ }),
51277
-
51278
51256
  /***/ "77e9":
51279
51257
  /***/ (function(module, exports, __webpack_require__) {
51280
51258
 
@@ -51456,6 +51434,17 @@ function releaseCapture(pointerId, target) {
51456
51434
  }
51457
51435
  }
51458
51436
 
51437
+ /***/ }),
51438
+
51439
+ /***/ "7d3c":
51440
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
51441
+
51442
+ "use strict";
51443
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_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_1_id_5d8eba59_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0b0c");
51444
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_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_1_id_5d8eba59_prod_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_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_1_id_5d8eba59_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
51445
+ /* unused harmony reexport * */
51446
+
51447
+
51459
51448
  /***/ }),
51460
51449
 
51461
51450
  /***/ "7e1b":
@@ -66016,10 +66005,17 @@ module.exports = document && document.documentElement;
66016
66005
 
66017
66006
  /***/ }),
66018
66007
 
66008
+ /***/ "9194":
66009
+ /***/ (function(module, exports, __webpack_require__) {
66010
+
66011
+ // extracted by mini-css-extract-plugin
66012
+
66013
+ /***/ }),
66014
+
66019
66015
  /***/ "9224":
66020
66016
  /***/ (function(module) {
66021
66017
 
66022
- module.exports = JSON.parse("{\"name\":\"fl-web-component\",\"version\":\"2.1.15\",\"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\"]}");
66018
+ module.exports = JSON.parse("{\"name\":\"fl-web-component\",\"version\":\"2.1.18\",\"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\"]}");
66023
66019
 
66024
66020
  /***/ }),
66025
66021
 
@@ -66142,6 +66138,13 @@ function mergeFn(a, b) {
66142
66138
 
66143
66139
  /***/ }),
66144
66140
 
66141
+ /***/ "9428":
66142
+ /***/ (function(module, exports, __webpack_require__) {
66143
+
66144
+ // extracted by mini-css-extract-plugin
66145
+
66146
+ /***/ }),
66147
+
66145
66148
  /***/ "9470":
66146
66149
  /***/ (function(module, exports, __webpack_require__) {
66147
66150
 
@@ -67403,13 +67406,6 @@ module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
67403
67406
 
67404
67407
  /***/ }),
67405
67408
 
67406
- /***/ "a149":
67407
- /***/ (function(module, exports, __webpack_require__) {
67408
-
67409
- // extracted by mini-css-extract-plugin
67410
-
67411
- /***/ }),
67412
-
67413
67409
  /***/ "a15e":
67414
67410
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
67415
67411
 
@@ -68572,13 +68568,6 @@ Schema.messages = messages_messages;
68572
68568
 
68573
68569
  /***/ }),
68574
68570
 
68575
- /***/ "a31d":
68576
- /***/ (function(module, exports, __webpack_require__) {
68577
-
68578
- // extracted by mini-css-extract-plugin
68579
-
68580
- /***/ }),
68581
-
68582
68571
  /***/ "a34e":
68583
68572
  /***/ (function(module, exports, __webpack_require__) {
68584
68573
 
@@ -83715,6 +83704,17 @@ exports.default = {
83715
83704
  }
83716
83705
  };
83717
83706
 
83707
+ /***/ }),
83708
+
83709
+ /***/ "e9e6":
83710
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
83711
+
83712
+ "use strict";
83713
+ /* 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_e9d7a15c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9428");
83714
+ /* 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_e9d7a15c_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_e9d7a15c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
83715
+ /* unused harmony reexport * */
83716
+
83717
+
83718
83718
  /***/ }),
83719
83719
 
83720
83720
  /***/ "ea34":
@@ -88142,8 +88142,8 @@ 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":"15acc870-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=23daca8a&scoped=true
88146
- var com_graphicsvue_type_template_id_23daca8a_scoped_true_render = function render() {
88145
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0b7ccd2d-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=5d8eba59&scoped=true
88146
+ var com_graphicsvue_type_template_id_5d8eba59_scoped_true_render = function render() {
88147
88147
  var _vm = this,
88148
88148
  _c = _vm._self._c;
88149
88149
  return _c('div', {
@@ -88155,7 +88155,7 @@ var com_graphicsvue_type_template_id_23daca8a_scoped_true_render = function rend
88155
88155
  };
88156
88156
  var staticRenderFns = [];
88157
88157
 
88158
- // CONCATENATED MODULE: ./packages/components/com-graphics/index.vue?vue&type=template&id=23daca8a&scoped=true
88158
+ // CONCATENATED MODULE: ./packages/components/com-graphics/index.vue?vue&type=template&id=5d8eba59&scoped=true
88159
88159
 
88160
88160
  // CONCATENATED MODULE: ./node_modules/camera-controls/dist/camera-controls.module.js
88161
88161
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
@@ -116562,6 +116562,7 @@ var measure_distance_MeasureDistance = function MeasureDistance(renderer, scene,
116562
116562
  this.measureName = 'measureObj';
116563
116563
  // 创建一个辅助平面来捕获鼠标事件
116564
116564
  this.plane = new Plane(new Vector3(0, 0, 1), 0);
116565
+ this.mousePoint = null;
116565
116566
  };
116566
116567
  measure_distance_MeasureDistance.prototype = {
116567
116568
  start: function start() {
@@ -116723,6 +116724,7 @@ measure_distance_MeasureDistance.prototype = {
116723
116724
  },
116724
116725
  mousemove: function mousemove(e) {
116725
116726
  if (measure_distance_this.isCompleted || measure_distance_this.pointArray.length === 0) return;
116727
+ measure_distance_this.mousePoint = e;
116726
116728
  var positionResult = measure_distance_this.getPosition(e);
116727
116729
  if (positionResult) {
116728
116730
  var point = positionResult.point;
@@ -116863,9 +116865,12 @@ measure_distance_MeasureDistance.prototype = {
116863
116865
  }
116864
116866
  },
116865
116867
  close: function close(isClear) {
116868
+ console.log(this.mousePoint);
116869
+ if (this.mousePoint) {
116870
+ this.rightClick(this.mousePoint);
116871
+ }
116866
116872
  this.renderer.domElement.removeEventListener('mousedown', this.mousedown);
116867
116873
  this.renderer.domElement.removeEventListener('mouseup', this.click);
116868
- this.renderer.domElement.removeEventListener('mousemove', this.mousemove);
116869
116874
  this.renderer.domElement.removeEventListener('contextmenu', this.rightClick);
116870
116875
  if (!isClear) {
116871
116876
  this.remove(this.points);
@@ -116958,6 +116963,7 @@ var measure_area_MeasureArea = function MeasureArea(renderer, scene, camera, wid
116958
116963
  this.height = height;
116959
116964
  this.firstTime = 0;
116960
116965
  this.measureName = 'measureObj';
116966
+ this.mousePoint = null;
116961
116967
  // 创建一个辅助平面来捕获鼠标事件
116962
116968
  this.plane = new Plane(new Vector3(0, 0, 1), 0);
116963
116969
  };
@@ -117143,6 +117149,7 @@ measure_area_MeasureArea.prototype = {
117143
117149
  mousemove: function mousemove(e) {
117144
117150
  if (measure_area_this.isCompleted || measure_area_this.pointArray.length === 0) return;
117145
117151
  var positionResult = measure_area_this.getPosition(e);
117152
+ measure_area_this.mousePoint = e;
117146
117153
  if (positionResult) {
117147
117154
  var point = positionResult.point;
117148
117155
  if (measure_area_this.hasTempPoint) {
@@ -117264,9 +117271,13 @@ measure_area_MeasureArea.prototype = {
117264
117271
  }
117265
117272
  },
117266
117273
  close: function close(isClear) {
117274
+ if (this.mousePoint) {
117275
+ this.rightClick(this.mousePoint);
117276
+ this.mousePoint = null;
117277
+ }
117267
117278
  this.renderer.domElement.removeEventListener('mouseup', this.click);
117268
117279
  this.renderer.domElement.removeEventListener('mousedown', this.mousedown);
117269
- this.renderer.domElement.removeEventListener('mousemove', this.mousemove);
117280
+ // this.renderer.domElement.removeEventListener('mousemove', this.mousemove);
117270
117281
  this.renderer.domElement.removeEventListener('contextmenu', this.rightClick);
117271
117282
  if (!isClear) {
117272
117283
  this.remove(this.points);
@@ -117402,6 +117413,7 @@ var measure_angle_MeasureAngle = function MeasureAngle(renderer, scene, camera,
117402
117413
  // 创建一个辅助平面来捕获鼠标事件
117403
117414
  this.plane = new Plane(new Vector3(0, 0, 1), 0);
117404
117415
  this.measureName = 'measureObj';
117416
+ this.mousePoint = null;
117405
117417
  // this.POINT_MATERIAL = new THREE.PointsMaterial({ color: 0xff5000, size: 1, opacity: 0.6, transparent: true, depthWrite: false, depthTest: false })
117406
117418
  // this.LINE_MATERIAL = new THREE.LineBasicMaterial({ color: 0xff0000, linewidth: 3, opacity: 0.8, transparent: true, side: THREE.DoubleSide, depthWrite: false, depthTest: false })
117407
117419
  };
@@ -117617,6 +117629,7 @@ measure_angle_MeasureAngle.prototype = {
117617
117629
  }
117618
117630
  if (measure_angle_this.pointArray.length >= 3 && !measure_angle_this.hasTempPoint) return;
117619
117631
  var positionResult = measure_angle_this.getPosition(e);
117632
+ measure_angle_this.mousePoint = e;
117620
117633
  if (positionResult) {
117621
117634
  var point = positionResult.point;
117622
117635
  if (measure_angle_this.hasTempPoint) {
@@ -117748,9 +117761,13 @@ measure_angle_MeasureAngle.prototype = {
117748
117761
  }
117749
117762
  },
117750
117763
  close: function close(isClear) {
117764
+ if (this.mousePoint) {
117765
+ this.rightClick(this.mousePoint);
117766
+ this.mousePoint = null;
117767
+ }
117751
117768
  this.renderer.domElement.removeEventListener('mouseup', this.click, false);
117752
117769
  this.renderer.domElement.removeEventListener('mousedown', this.mousedown, false);
117753
- this.renderer.domElement.removeEventListener('mousemove', this.mousemove, false);
117770
+ // this.renderer.domElement.removeEventListener('mousemove', this.mousemove, false);
117754
117771
  this.renderer.domElement.removeEventListener('contextmenu', this.rightClick, false);
117755
117772
  if (!isClear) {
117756
117773
  this.remove(this.points);
@@ -138099,7 +138116,14 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
138099
138116
  };
138100
138117
  this.clippingPlanesConstants = null;
138101
138118
  this.renderer.clippingPlanes = Object.freeze([]);
138102
- this.gui && this.gui.destroy();
138119
+ if (this.gui) {
138120
+ this.gui.destroy();
138121
+ this.gui = null;
138122
+ }
138123
+ },
138124
+ closeGlobalClipping: function closeGlobalClipping() {
138125
+ this.cancelGlobalClipping();
138126
+ this.$emit('globalClippingClosed');
138103
138127
  },
138104
138128
  // 单个实体的剖切/ 局部剖切 obj 实体对象 flag 代表是否使用图形组件自带的剖切面板 默认为true
138105
138129
  setLocalClipping: function setLocalClipping(obj) {
@@ -138193,6 +138217,11 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
138193
138217
  },
138194
138218
  // 添加剖切轴工具
138195
138219
  addClippingGui: function addClippingGui(title, boudingValue, objClipp1, objClipp2) {
138220
+ var _this64 = this;
138221
+ if (this.gui) {
138222
+ this.gui.destroy();
138223
+ this.gui = null;
138224
+ }
138196
138225
  var xRange = this.getExpandedClippingRange(boudingValue.min.x, boudingValue.max.x);
138197
138226
  var yRange = this.getExpandedClippingRange(boudingValue.min.y, boudingValue.max.y);
138198
138227
  var zRange = this.getExpandedClippingRange(boudingValue.min.z, boudingValue.max.z);
@@ -138214,6 +138243,19 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
138214
138243
  this.gui = new lil_gui_module_min_g({
138215
138244
  title: title
138216
138245
  });
138246
+ if (title === '全局剖切') {
138247
+ var closeButton = document.createElement('button');
138248
+ closeButton.type = 'button';
138249
+ closeButton.className = 'global-clipping-close';
138250
+ closeButton.textContent = '关闭';
138251
+ closeButton.title = '关闭全局剖切';
138252
+ closeButton.addEventListener('click', function (event) {
138253
+ event.preventDefault();
138254
+ event.stopPropagation();
138255
+ _this64.closeGlobalClipping();
138256
+ });
138257
+ this.gui.domElement.querySelector('.title').appendChild(closeButton);
138258
+ }
138217
138259
  this.gui.add(this.guiParams, 'x轴').step(0.001).min(xRange.min).max(xRange.max).onChange(function (d) {
138218
138260
  objClipp1[0].constant = d;
138219
138261
  objClipp2 && (objClipp2[0].constant = d);
@@ -138300,71 +138342,71 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
138300
138342
  },
138301
138343
  // 页面是否锁定
138302
138344
  initPointerLock: function initPointerLock() {
138303
- var _this64 = this;
138345
+ var _this65 = this;
138304
138346
  // this.home();
138305
138347
  setTimeout(function () {
138306
138348
  // 开启第一视角时,将相机与水平面保持水平
138307
- _this64.camera.rotation.x = 0;
138308
- _this64.camera.rotation.z = 0;
138309
- _this64.pointControls = new PointerLockControls(_this64.camera, _this64.renderer.domElement);
138310
- _this64.pointControls.lock();
138311
- if (!_this64._onFirstPersonChange) {
138312
- _this64._onFirstPersonChange = function () {
138313
- if (typeof _this64._cameraChangeObserver === 'function') {
138314
- _this64._cameraChangeObserver('firstPerson');
138349
+ _this65.camera.rotation.x = 0;
138350
+ _this65.camera.rotation.z = 0;
138351
+ _this65.pointControls = new PointerLockControls(_this65.camera, _this65.renderer.domElement);
138352
+ _this65.pointControls.lock();
138353
+ if (!_this65._onFirstPersonChange) {
138354
+ _this65._onFirstPersonChange = function () {
138355
+ if (typeof _this65._cameraChangeObserver === 'function') {
138356
+ _this65._cameraChangeObserver('firstPerson');
138315
138357
  }
138316
138358
  };
138317
138359
  }
138318
138360
  try {
138319
- _this64.pointControls.addEventListener('change', _this64._onFirstPersonChange);
138361
+ _this65.pointControls.addEventListener('change', _this65._onFirstPersonChange);
138320
138362
  } catch (e) {}
138321
138363
  // 锁定
138322
- _this64.pointControls.addEventListener('lock', function () {
138323
- _this64.detachTransformControls();
138324
- if (_this64.cameraControls) {
138325
- _this64.cameraControls.enabled = false;
138364
+ _this65.pointControls.addEventListener('lock', function () {
138365
+ _this65.detachTransformControls();
138366
+ if (_this65.cameraControls) {
138367
+ _this65.cameraControls.enabled = false;
138326
138368
  }
138327
- window.addEventListener('keydown', _this64.onKeyDown, false);
138328
- window.addEventListener('keyup', _this64.onKeyUp, false);
138329
- _this64.unbindScenePointerEvents();
138330
- if (typeof _this64._cameraChangeObserver === 'function') {
138331
- _this64._cameraChangeObserver('firstPersonLock');
138369
+ window.addEventListener('keydown', _this65.onKeyDown, false);
138370
+ window.addEventListener('keyup', _this65.onKeyUp, false);
138371
+ _this65.unbindScenePointerEvents();
138372
+ if (typeof _this65._cameraChangeObserver === 'function') {
138373
+ _this65._cameraChangeObserver('firstPersonLock');
138332
138374
  }
138333
138375
  });
138334
138376
  // 解锁
138335
- _this64.pointControls.addEventListener('unlock', function () {
138336
- _this64.firstPerSign = false;
138337
- if (_this64.cameraControls) {
138338
- _this64.cameraControls.enabled = true;
138377
+ _this65.pointControls.addEventListener('unlock', function () {
138378
+ _this65.firstPerSign = false;
138379
+ if (_this65.cameraControls) {
138380
+ _this65.cameraControls.enabled = true;
138339
138381
  }
138340
138382
  // 返回初始视角
138341
- if (_this64.cameraControls && _this64.camera && _this64.sceneBoundingBox) {
138342
- _this64.home();
138383
+ if (_this65.cameraControls && _this65.camera && _this65.sceneBoundingBox) {
138384
+ _this65.home();
138343
138385
  }
138344
138386
  try {
138345
- if (_this64._onFirstPersonChange && _this64.pointControls) {
138346
- _this64.pointControls.removeEventListener('change', _this64._onFirstPersonChange);
138387
+ if (_this65._onFirstPersonChange && _this65.pointControls) {
138388
+ _this65.pointControls.removeEventListener('change', _this65._onFirstPersonChange);
138347
138389
  }
138348
138390
  } catch (e) {}
138349
- if (_this64.noObserver) {
138350
- _this64.noObserver._firstPersonLastPos = null;
138391
+ if (_this65.noObserver) {
138392
+ _this65.noObserver._firstPersonLastPos = null;
138351
138393
  }
138352
138394
  setTimeout(function () {
138353
- window.removeEventListener('keydown', _this64.onKeyDown);
138354
- window.removeEventListener('keyup', _this64.onKeyUp);
138355
- if (_this64.renderer && _this64.renderer.domElement) {
138356
- _this64.bindScenePointerEvents();
138395
+ window.removeEventListener('keydown', _this65.onKeyDown);
138396
+ window.removeEventListener('keyup', _this65.onKeyUp);
138397
+ if (_this65.renderer && _this65.renderer.domElement) {
138398
+ _this65.bindScenePointerEvents();
138357
138399
  }
138358
- if (_this64.scene) {
138359
- _this64.ensureTransformSelectionValid();
138400
+ if (_this65.scene) {
138401
+ _this65.ensureTransformSelectionValid();
138360
138402
  }
138361
138403
  // this.timeRender()
138362
138404
  }, 0);
138363
- if (typeof _this64._cameraChangeObserver === 'function') {
138364
- _this64._cameraChangeObserver('firstPersonUnlock');
138405
+ if (typeof _this65._cameraChangeObserver === 'function') {
138406
+ _this65._cameraChangeObserver('firstPersonUnlock');
138365
138407
  }
138366
138408
  });
138367
- if (_this64.scene) _this64.scene.add(_this64.pointControls.object);
138409
+ if (_this65.scene) _this65.scene.add(_this65.pointControls.object);
138368
138410
  }, 10);
138369
138411
  },
138370
138412
  // 第一视角运动
@@ -138519,7 +138561,7 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
138519
138561
  return this.scene && this.scene.children ? this.scene.children : [];
138520
138562
  },
138521
138563
  openMeasure: function openMeasure(type) {
138522
- var _this65 = this;
138564
+ var _this66 = this;
138523
138565
  var isClear = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
138524
138566
  if (this.threeMeasure) {
138525
138567
  this.threeMeasure.close(isClear);
@@ -138531,7 +138573,7 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
138531
138573
  case 'distance':
138532
138574
  this.threeMeasure = new measure_distance.MeasureDistance(this.renderer, this.scene, this.camera, this.instructions.offsetWidth, this.instructions.offsetHeight, {
138533
138575
  pickRoots: function pickRoots() {
138534
- return _this65.getMeasurePickRoots();
138576
+ return _this66.getMeasurePickRoots();
138535
138577
  }
138536
138578
  });
138537
138579
  this.threeMeasure.start();
@@ -138539,7 +138581,7 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
138539
138581
  case 'area':
138540
138582
  this.threeMeasure = new measure_area.MeasureArea(this.renderer, this.scene, this.camera, this.instructions.offsetWidth, this.instructions.offsetHeight, {
138541
138583
  pickRoots: function pickRoots() {
138542
- return _this65.getMeasurePickRoots();
138584
+ return _this66.getMeasurePickRoots();
138543
138585
  }
138544
138586
  });
138545
138587
  this.threeMeasure.start();
@@ -138547,7 +138589,7 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
138547
138589
  case 'angle':
138548
138590
  this.threeMeasure = new measure_angle.MeasureAngle(this.renderer, this.scene, this.camera, this.instructions.offsetWidth, this.instructions.offsetHeight, {
138549
138591
  pickRoots: function pickRoots() {
138550
- return _this65.getMeasurePickRoots();
138592
+ return _this66.getMeasurePickRoots();
138551
138593
  }
138552
138594
  });
138553
138595
  this.threeMeasure.start();
@@ -138555,7 +138597,7 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
138555
138597
  case 'height':
138556
138598
  this.threeMeasure = new measure_height.MeasureHeight(this.renderer, this.scene, this.camera, this.instructions.offsetWidth, this.instructions.offsetHeight, {
138557
138599
  pickRoots: function pickRoots() {
138558
- return _this65.getMeasurePickRoots();
138600
+ return _this66.getMeasurePickRoots();
138559
138601
  }
138560
138602
  });
138561
138603
  this.threeMeasure.start();
@@ -138601,11 +138643,11 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
138601
138643
  return object.name === 'measureObj' || userData.isMeasureObject === true;
138602
138644
  },
138603
138645
  removeMeasureObjectsFromScene: function removeMeasureObjectsFromScene() {
138604
- var _this66 = this;
138646
+ var _this67 = this;
138605
138647
  if (!this.scene) return;
138606
138648
  var measureObjects = [];
138607
138649
  this.scene.traverse(function (object) {
138608
- if (_this66.isMeasureObject(object)) {
138650
+ if (_this67.isMeasureObject(object)) {
138609
138651
  measureObjects.push(object);
138610
138652
  }
138611
138653
  });
@@ -138613,9 +138655,9 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
138613
138655
  if (object.parent) {
138614
138656
  object.parent.remove(object);
138615
138657
  } else {
138616
- _this66.scene.remove(object);
138658
+ _this67.scene.remove(object);
138617
138659
  }
138618
- _this66.disposeMeasureObject(object);
138660
+ _this67.disposeMeasureObject(object);
138619
138661
  });
138620
138662
  },
138621
138663
  // 增加一个清除所有测量结果的方法,清理历史测量实例遗留的对象
@@ -138688,12 +138730,12 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
138688
138730
  参数: object, 目标实体,
138689
138731
  */
138690
138732
  isolate: function isolate(object) {
138691
- var _this67 = this;
138733
+ var _this68 = this;
138692
138734
  if (!this.scene) return;
138693
138735
  // 隔离 将目标实体以外的实体隐藏掉
138694
138736
  this.scene.traverse(function (item) {
138695
138737
  if (item.isMesh && item.name !== object.name) {
138696
- var offsetMatrix = new _this67.THREE.Matrix4().copy(item.userData.copyMatrix).makeTranslation(9999999, 9999999, 9999999);
138738
+ var offsetMatrix = new _this68.THREE.Matrix4().copy(item.userData.copyMatrix).makeTranslation(9999999, 9999999, 9999999);
138697
138739
  item.setMatrixAt(item.userData.instanceIndex, offsetMatrix);
138698
138740
  item.instanceMatrix.needsUpdate = true;
138699
138741
  }
@@ -138701,7 +138743,7 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
138701
138743
  },
138702
138744
  // 还原操作 将修改过的实体进行恢复
138703
138745
  restore: function restore() {
138704
- var _this68 = this;
138746
+ var _this69 = this;
138705
138747
  if (!this.scene) return;
138706
138748
  this.scene.traverse(function (item) {
138707
138749
  if (item.isMesh) {
@@ -138723,20 +138765,20 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
138723
138765
  item.userData.translateMatrixInvert = null;
138724
138766
  }
138725
138767
  if (item.userData.combineMatrixInvert) {
138726
- _this68.rotateMesh(item, {
138768
+ _this69.rotateMesh(item, {
138727
138769
  x: 0,
138728
138770
  y: 0,
138729
138771
  z: 0
138730
138772
  });
138731
138773
  item.userData.combineMatrixInvert = null;
138732
138774
  }
138733
- var copyMatrix = _this68.getInstanceCopyMatrix(item, instanceId);
138775
+ var copyMatrix = _this69.getInstanceCopyMatrix(item, instanceId);
138734
138776
  if (!copyMatrix) return;
138735
- var sourceHidden = _this68.isSourceHiddenInstance(item, instanceId);
138736
- var offsetMatrix = new _this68.THREE.Matrix4().copy(copyMatrix);
138777
+ var sourceHidden = _this69.isSourceHiddenInstance(item, instanceId);
138778
+ var offsetMatrix = new _this69.THREE.Matrix4().copy(copyMatrix);
138737
138779
  if (sourceHidden) {
138738
138780
  offsetMatrix.makeTranslation(9999999, 9999999, 9999999);
138739
- _this68.removeOutlineInstanceProxy(item, item.userData.instanceIndex);
138781
+ _this69.removeOutlineInstanceProxy(item, item.userData.instanceIndex);
138740
138782
  }
138741
138783
  item.setMatrixAt(item.userData.instanceIndex, offsetMatrix);
138742
138784
  item.instanceMatrix.needsUpdate = true;
@@ -138745,7 +138787,7 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
138745
138787
  },
138746
138788
  // 添加自定义模型, 暂时只支持glb、gltf格式
138747
138789
  addCustomModel: function addCustomModel(name, position, url) {
138748
- var _this69 = this;
138790
+ var _this70 = this;
138749
138791
  var scale = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
138750
138792
  var immediately = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
138751
138793
  var callback = arguments.length > 5 ? arguments[5] : undefined;
@@ -138756,41 +138798,41 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
138756
138798
  locationModel.scale.set(scale, scale, scale);
138757
138799
  locationModel.updateMatrixWorld();
138758
138800
  if (immediately) {
138759
- _this69.cameraControls.fitToSphere(gltf.this.scene, true);
138801
+ _this70.cameraControls.fitToSphere(gltf.this.scene, true);
138760
138802
  }
138761
138803
  // 动画混合器
138762
138804
  // 不参与裁剪
138763
138805
  locationModel.userData.cull = false;
138764
138806
  locationModel.name = name;
138765
- if (_this69.scene) _this69.scene.add(locationModel);
138766
- locationModel.position.copy(new _this69.THREE.Vector3(position.x, position.y, position.z));
138807
+ if (_this70.scene) _this70.scene.add(locationModel);
138808
+ locationModel.position.copy(new _this70.THREE.Vector3(position.x, position.y, position.z));
138767
138809
  if (gltf.animations.length > 0) {
138768
- var actionMixer = new _this69.THREE.AnimationMixer(gltf.this.scene);
138810
+ var actionMixer = new _this70.THREE.AnimationMixer(gltf.this.scene);
138769
138811
  var walkActive = actionMixer.clipAction(gltf.animations[0]);
138770
138812
  walkActive.play();
138771
- _this69.modelActive.push(walkActive);
138772
- _this69.modelActions.push(actionMixer);
138813
+ _this70.modelActive.push(walkActive);
138814
+ _this70.modelActions.push(actionMixer);
138773
138815
  }
138774
138816
  callback && callback();
138775
138817
  });
138776
138818
  },
138777
138819
  // 删除添加的自定义模型
138778
138820
  removeCustomModel: function removeCustomModel(name) {
138779
- var _this70 = this;
138821
+ var _this71 = this;
138780
138822
  var obj = this.getObjectByName(name);
138781
138823
  obj.forEach(function (item, index) {
138782
138824
  if (item.animations > 0) {
138783
138825
  item.removeFromParent();
138784
- _this70.modelActions[index].uncacheRoot(item);
138785
- _this70.modelActions[index].uncacheRoot(_this70.modelActive[index]);
138826
+ _this71.modelActions[index].uncacheRoot(item);
138827
+ _this71.modelActions[index].uncacheRoot(_this71.modelActive[index]);
138786
138828
  }
138787
138829
  item.traverse(function (child) {
138788
- if (child instanceof _this70.THREE.Mesh) {
138830
+ if (child instanceof _this71.THREE.Mesh) {
138789
138831
  child.geometry.dispose();
138790
138832
  child.material.dispose();
138791
138833
  }
138792
138834
  });
138793
- if (_this70.scene) _this70.scene.remove(item);
138835
+ if (_this71.scene) _this71.scene.remove(item);
138794
138836
  });
138795
138837
  this.modelActions.splice(0);
138796
138838
  this.modelActive.splice(0);
@@ -138852,7 +138894,7 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
138852
138894
  return size;
138853
138895
  },
138854
138896
  animate: function animate() {
138855
- var _this71 = this;
138897
+ var _this72 = this;
138856
138898
  if (isDebug) {
138857
138899
  this.stats && this.stats.begin(); // 开始帧率统计
138858
138900
  }
@@ -138866,7 +138908,7 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
138866
138908
  if (this.timeStamp > singleFrameTime) {
138867
138909
  if (this.modelActions.length > 0) {
138868
138910
  this.modelActions.forEach(function (item) {
138869
- item.update(_this71.timeStamp);
138911
+ item.update(_this72.timeStamp);
138870
138912
  });
138871
138913
  }
138872
138914
  this.cameraControls.enabled && this.cameraControls.update(this.timeStamp);
@@ -139242,25 +139284,25 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
139242
139284
  * 加载下一批数据
139243
139285
  */
139244
139286
  loadNextBatch: function loadNextBatch() {
139245
- var _this72 = this;
139287
+ var _this73 = this;
139246
139288
  return com_graphicsvue_type_script_lang_js_asyncToGenerator(/*#__PURE__*/com_graphicsvue_type_script_lang_js_regenerator().m(function _callee1() {
139247
139289
  var loadingState, batch, _t3;
139248
139290
  return com_graphicsvue_type_script_lang_js_regenerator().w(function (_context1) {
139249
139291
  while (1) switch (_context1.p = _context1.n) {
139250
139292
  case 0:
139251
- loadingState = _this72.noObserver ? _this72.noObserver.batchLoadingState : _this72.batchLoadingState;
139252
- if (_this72.isBatchLoadingSceneReady()) {
139293
+ loadingState = _this73.noObserver ? _this73.noObserver.batchLoadingState : _this73.batchLoadingState;
139294
+ if (_this73.isBatchLoadingSceneReady()) {
139253
139295
  _context1.n = 1;
139254
139296
  break;
139255
139297
  }
139256
- _this72.stopBatchLoading('scene_unavailable');
139298
+ _this73.stopBatchLoading('scene_unavailable');
139257
139299
  return _context1.a(2);
139258
139300
  case 1:
139259
139301
  if (!(!loadingState.isLoading || loadingState.currentBatch >= loadingState.pendingData.length)) {
139260
139302
  _context1.n = 2;
139261
139303
  break;
139262
139304
  }
139263
- _this72.completeBatchLoading();
139305
+ _this73.completeBatchLoading();
139264
139306
  return _context1.a(2);
139265
139307
  case 2:
139266
139308
  if (!loadingState.isPaused) {
@@ -139269,7 +139311,7 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
139269
139311
  }
139270
139312
  // 如果暂停,延迟一段时间后再次检查
139271
139313
  loadingState.animationFrameId = requestAnimationFrame(function () {
139272
- _this72.loadNextBatch();
139314
+ _this73.loadNextBatch();
139273
139315
  });
139274
139316
  return _context1.a(2);
139275
139317
  case 3:
@@ -139279,7 +139321,7 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
139279
139321
  }
139280
139322
  // 如果正在交互,延迟一段时间后再次检查
139281
139323
  loadingState.animationFrameId = requestAnimationFrame(function () {
139282
- _this72.loadNextBatch();
139324
+ _this73.loadNextBatch();
139283
139325
  });
139284
139326
  return _context1.a(2);
139285
139327
  case 4:
@@ -139288,13 +139330,13 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
139288
139330
  _context1.n = 5;
139289
139331
  break;
139290
139332
  }
139291
- _this72.completeBatchLoading();
139333
+ _this73.completeBatchLoading();
139292
139334
  return _context1.a(2);
139293
139335
  case 5:
139294
139336
  _context1.p = 5;
139295
139337
  console.log('加载批次:', loadingState.currentBatch);
139296
139338
  _context1.n = 6;
139297
- return _this72.processWithMainThread(batch);
139339
+ return _this73.processWithMainThread(batch);
139298
139340
  case 6:
139299
139341
  if (loadingState.isLoading) {
139300
139342
  _context1.n = 7;
@@ -139302,11 +139344,11 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
139302
139344
  }
139303
139345
  return _context1.a(2);
139304
139346
  case 7:
139305
- if (_this72.isBatchLoadingSceneReady()) {
139347
+ if (_this73.isBatchLoadingSceneReady()) {
139306
139348
  _context1.n = 8;
139307
139349
  break;
139308
139350
  }
139309
- _this72.stopBatchLoading('scene_unavailable');
139351
+ _this73.stopBatchLoading('scene_unavailable');
139310
139352
  return _context1.a(2);
139311
139353
  case 8:
139312
139354
  // 更新进度
@@ -139315,8 +139357,8 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
139315
139357
  loadingState.currentBatch++;
139316
139358
 
139317
139359
  // 同步到响应式状态
139318
- _this72.batchLoadingState.loadedCount = loadingState.loadedCount;
139319
- _this72.batchLoadingState.currentBatch = loadingState.currentBatch;
139360
+ _this73.batchLoadingState.loadedCount = loadingState.loadedCount;
139361
+ _this73.batchLoadingState.currentBatch = loadingState.currentBatch;
139320
139362
 
139321
139363
  // 调用进度回调
139322
139364
  if (loadingState.onProgress) {
@@ -139330,7 +139372,7 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
139330
139372
 
139331
139373
  // 使用 requestAnimationFrame 在下一帧继续加载
139332
139374
  loadingState.animationFrameId = requestAnimationFrame(function () {
139333
- _this72.loadNextBatch();
139375
+ _this73.loadNextBatch();
139334
139376
  });
139335
139377
  _context1.n = 10;
139336
139378
  break;
@@ -139341,7 +139383,7 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
139341
139383
 
139342
139384
  // 继续下一批次
139343
139385
  loadingState.animationFrameId = requestAnimationFrame(function () {
139344
- _this72.loadNextBatch();
139386
+ _this73.loadNextBatch();
139345
139387
  });
139346
139388
  case 10:
139347
139389
  return _context1.a(2);
@@ -139353,20 +139395,20 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
139353
139395
  * 使用主线程处理批次数据
139354
139396
  */
139355
139397
  processWithMainThread: function processWithMainThread(batch) {
139356
- var _this73 = this;
139398
+ var _this74 = this;
139357
139399
  return com_graphicsvue_type_script_lang_js_asyncToGenerator(/*#__PURE__*/com_graphicsvue_type_script_lang_js_regenerator().m(function _callee10() {
139358
139400
  var loadingState;
139359
139401
  return com_graphicsvue_type_script_lang_js_regenerator().w(function (_context10) {
139360
139402
  while (1) switch (_context10.n) {
139361
139403
  case 0:
139362
- loadingState = _this73.noObserver ? _this73.noObserver.batchLoadingState : _this73.batchLoadingState;
139404
+ loadingState = _this74.noObserver ? _this74.noObserver.batchLoadingState : _this74.batchLoadingState;
139363
139405
  loadingState.options.batchSize = loadingState.batchSize;
139364
139406
  loadingState.options.resetState = loadingState.currentBatch === 0;
139365
139407
  // 使用原始的handleInstancedMeshModel方法
139366
139408
 
139367
139409
  isDebug && performance.mark('handleInstancedMeshModel-start');
139368
139410
  _context10.n = 1;
139369
- return handleInstancedMeshModel(_this73.modelGroup, batch.instances, batch.drawObjs, '', _this73.scene, loadingState.color, loadingState.meshNameConfig, '', loadingState.options);
139411
+ return handleInstancedMeshModel(_this74.modelGroup, batch.instances, batch.drawObjs, '', _this74.scene, loadingState.color, loadingState.meshNameConfig, '', loadingState.options);
139370
139412
  case 1:
139371
139413
  isDebug && performance.mark('handleInstancedMeshModel-end');
139372
139414
  isDebug && performance.measure('handleInstancedMeshModel', 'handleInstancedMeshModel-start', 'handleInstancedMeshModel-end');
@@ -139394,7 +139436,7 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
139394
139436
  * 完成批量加载
139395
139437
  */
139396
139438
  completeBatchLoading: function completeBatchLoading() {
139397
- var _this74 = this;
139439
+ var _this75 = this;
139398
139440
  var loadingState = this.noObserver ? this.noObserver.batchLoadingState : this.batchLoadingState;
139399
139441
  if (!loadingState.isLoading) return;
139400
139442
  if (!this.isBatchLoadingSceneReady()) {
@@ -139427,17 +139469,17 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
139427
139469
  this.modelGroup.traverse(function (child) {
139428
139470
  if (child.isMesh && !child.userData.batchInitDone) {
139429
139471
  markRendered(child);
139430
- var json = _this74.getMeshCenterAndVolume(child);
139431
- var meshBox3 = new _this74.THREE.Box3();
139472
+ var json = _this75.getMeshCenterAndVolume(child);
139473
+ var meshBox3 = new _this75.THREE.Box3();
139432
139474
  meshBox3.setFromObject(child);
139433
- var worldPs = new _this74.THREE.Vector3().addVectors(meshBox3.max, meshBox3.min).multiplyScalar(0.5);
139475
+ var worldPs = new _this75.THREE.Vector3().addVectors(meshBox3.max, meshBox3.min).multiplyScalar(0.5);
139434
139476
  if (isNaN(worldPs.x)) return;
139435
- child.worldDir = new _this74.THREE.Vector3().subVectors(worldPs, modelWorldPs).normalize();
139477
+ child.worldDir = new _this75.THREE.Vector3().subVectors(worldPs, modelWorldPs).normalize();
139436
139478
  child.userData.center = json.center;
139437
139479
  child.userData.worldPs = worldPs;
139438
- child.userData.oldPs = child.getWorldPosition(new _this74.THREE.Vector3());
139480
+ child.userData.oldPs = child.getWorldPosition(new _this75.THREE.Vector3());
139439
139481
  child.userData.box = json.box;
139440
- child.userData.position = new _this74.THREE.Vector3().copy(child.position);
139482
+ child.userData.position = new _this75.THREE.Vector3().copy(child.position);
139441
139483
  child.userData.translate = {
139442
139484
  x: 0,
139443
139485
  y: 0,
@@ -139534,7 +139576,7 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
139534
139576
  * @param {Object} options - 配置项 { immediate: boolean }
139535
139577
  */
139536
139578
  setSystemInterruption: function setSystemInterruption(active) {
139537
- var _this75 = this;
139579
+ var _this76 = this;
139538
139580
  var reason = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'user_interaction';
139539
139581
  var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
139540
139582
  var loadingState = this.noObserver ? this.noObserver.batchLoadingState : this.batchLoadingState;
@@ -139600,7 +139642,7 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
139600
139642
  if (loadingState.interactionState.wheelTimeout) return;
139601
139643
 
139602
139644
  // 2. 如果是 wheel 结束,但 this.userInteracting (this.camera) 还在进行,则不恢复
139603
- if (reason === 'wheel' && _this75.userInteracting) return;
139645
+ if (reason === 'wheel' && _this76.userInteracting) return;
139604
139646
 
139605
139647
  // 3. 检查是否有强制跳过标记 (可能由其他逻辑触发)
139606
139648
  // if (this.forceSkipRendering && reason !== 'user_interaction') return; // 视情况而定
@@ -139611,15 +139653,15 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
139611
139653
  loadingState.pauseReason = '';
139612
139654
  loadingState.interactionState.isInteracting = false;
139613
139655
  loadingState.interactionState.interactionType = '';
139614
- _this75.forceSkipRendering = false;
139656
+ _this76.forceSkipRendering = false;
139615
139657
 
139616
139658
  // 恢复本地批量加载 (如果未完成)
139617
139659
  if (loadingState.isLoading && loadingState.currentBatch < loadingState.totalBatches) {
139618
- _this75.loadNextBatch();
139660
+ _this76.loadNextBatch();
139619
139661
  }
139620
139662
 
139621
139663
  // 恢复 StreamLoader
139622
- var streamLoader = _this75.noObserver.streamLoader;
139664
+ var streamLoader = _this76.noObserver.streamLoader;
139623
139665
  if (streamLoader && typeof streamLoader.handleControlEnd === 'function') {
139624
139666
  // StreamLoader 内部通常有防抖或延迟,这里直接通知结束即可
139625
139667
  streamLoader.handleControlEnd();
@@ -139672,7 +139714,7 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
139672
139714
  * 滚轮交互结束的定时检测
139673
139715
  */
139674
139716
  scheduleWheelInteractionEnd: function scheduleWheelInteractionEnd(event) {
139675
- var _this76 = this;
139717
+ var _this77 = this;
139676
139718
  var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 100;
139677
139719
  var loadingState = this.noObserver ? this.noObserver.batchLoadingState : this.batchLoadingState;
139678
139720
  if (loadingState.interactionState.wheelTimeout) {
@@ -139680,16 +139722,16 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
139680
139722
  loadingState.interactionState.wheelTimeout = null;
139681
139723
  }
139682
139724
  loadingState.interactionState.wheelTimeout = setTimeout(function () {
139683
- _this76.$emit('wheelEnd', event);
139725
+ _this77.$emit('wheelEnd', event);
139684
139726
  loadingState.interactionState.wheelTimeout = null;
139685
- _this76.clearSettlePrefetchTimer();
139686
- if (_this76.isCameraControlMoveObserverEnabled()) {
139687
- _this76.resetCameraControlMoveSnapshot(false);
139688
- if (typeof _this76._cameraChangeObserver === 'function') {
139689
- _this76._cameraChangeObserver('wheel');
139727
+ _this77.clearSettlePrefetchTimer();
139728
+ if (_this77.isCameraControlMoveObserverEnabled()) {
139729
+ _this77.resetCameraControlMoveSnapshot(false);
139730
+ if (typeof _this77._cameraChangeObserver === 'function') {
139731
+ _this77._cameraChangeObserver('wheel');
139690
139732
  }
139691
139733
  } else {
139692
- _this76.endInteraction('wheel', event, {
139734
+ _this77.endInteraction('wheel', event, {
139693
139735
  immediateResume: false
139694
139736
  });
139695
139737
  }
@@ -139804,11 +139846,11 @@ var OCCLUSION_DEBUG_FLAG_COLORS = {
139804
139846
  });
139805
139847
  // CONCATENATED MODULE: ./packages/components/com-graphics/index.vue?vue&type=script&lang=js
139806
139848
  /* harmony default export */ var components_com_graphicsvue_type_script_lang_js = (com_graphicsvue_type_script_lang_js);
139807
- // EXTERNAL MODULE: ./packages/components/com-graphics/index.vue?vue&type=style&index=0&id=23daca8a&prod&lang=scss&scoped=true
139808
- var com_graphicsvue_type_style_index_0_id_23daca8a_prod_lang_scss_scoped_true = __webpack_require__("5a20");
139849
+ // EXTERNAL MODULE: ./packages/components/com-graphics/index.vue?vue&type=style&index=0&id=5d8eba59&prod&lang=scss&scoped=true
139850
+ var com_graphicsvue_type_style_index_0_id_5d8eba59_prod_lang_scss_scoped_true = __webpack_require__("35d8");
139809
139851
 
139810
- // EXTERNAL MODULE: ./packages/components/com-graphics/index.vue?vue&type=style&index=1&id=23daca8a&prod&lang=css
139811
- var com_graphicsvue_type_style_index_1_id_23daca8a_prod_lang_css = __webpack_require__("5fa7");
139852
+ // EXTERNAL MODULE: ./packages/components/com-graphics/index.vue?vue&type=style&index=1&id=5d8eba59&prod&lang=css
139853
+ var com_graphicsvue_type_style_index_1_id_5d8eba59_prod_lang_css = __webpack_require__("7d3c");
139812
139854
 
139813
139855
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
139814
139856
  /* globals __VUE_SSR_CONTEXT__ */
@@ -139920,18 +139962,18 @@ function normalizeComponent(
139920
139962
 
139921
139963
  var component = normalizeComponent(
139922
139964
  components_com_graphicsvue_type_script_lang_js,
139923
- com_graphicsvue_type_template_id_23daca8a_scoped_true_render,
139965
+ com_graphicsvue_type_template_id_5d8eba59_scoped_true_render,
139924
139966
  staticRenderFns,
139925
139967
  false,
139926
139968
  null,
139927
- "23daca8a",
139969
+ "5d8eba59",
139928
139970
  null
139929
139971
 
139930
139972
  )
139931
139973
 
139932
139974
  /* harmony default export */ var com_graphics = (component.exports);
139933
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"15acc870-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=23a6a3a8&scoped=true
139934
- var com_flcanvasvue_type_template_id_23a6a3a8_scoped_true_render = function render() {
139975
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0b7ccd2d-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=e9d7a15c&scoped=true
139976
+ var com_flcanvasvue_type_template_id_e9d7a15c_scoped_true_render = function render() {
139935
139977
  var _vm = this,
139936
139978
  _c = _vm._self._c;
139937
139979
  return _c('div', {
@@ -139944,9 +139986,9 @@ var com_flcanvasvue_type_template_id_23a6a3a8_scoped_true_render = function rend
139944
139986
  }
139945
139987
  });
139946
139988
  };
139947
- var com_flcanvasvue_type_template_id_23a6a3a8_scoped_true_staticRenderFns = [];
139989
+ var com_flcanvasvue_type_template_id_e9d7a15c_scoped_true_staticRenderFns = [];
139948
139990
 
139949
- // CONCATENATED MODULE: ./packages/components/com-flcanvas/index.vue?vue&type=template&id=23a6a3a8&scoped=true
139991
+ // CONCATENATED MODULE: ./packages/components/com-flcanvas/index.vue?vue&type=template&id=e9d7a15c&scoped=true
139950
139992
 
139951
139993
  // EXTERNAL MODULE: ./node_modules/konva/lib/index.js
139952
139994
  var lib = __webpack_require__("362d");
@@ -143302,6 +143344,7 @@ function drawLwLine(recordDxf, entity, group, key, configParams, lineTypes) {
143302
143344
  // oldstrokeLength: width,
143303
143345
  // });
143304
143346
  // }
143347
+ // if (dashArr.length === 0) {
143305
143348
  group.push({
143306
143349
  type: 'polyline',
143307
143350
  points: list,
@@ -143316,6 +143359,7 @@ function drawLwLine(recordDxf, entity, group, key, configParams, lineTypes) {
143316
143359
  visible: configParams ? configParams.visible : true,
143317
143360
  oldstrokeLength: width
143318
143361
  });
143362
+ // }
143319
143363
  }
143320
143364
  function drawSpline(recordDxf, entity, group, key, configParams) {
143321
143365
  var color = entity.color;
@@ -143427,7 +143471,7 @@ function getDashArray(lineTypeName, lineTypes, entity) {
143427
143471
  return []; // 无定义则实线
143428
143472
  }
143429
143473
  var rawDash = lineTypeDef.pattern.map(Math.abs).map(function (len) {
143430
- return len < 0.6 ? 1 : len;
143474
+ return len < 0.3 ? 1 : len;
143431
143475
  });
143432
143476
  var scale = entity.lineTypeScale || 1;
143433
143477
  var dash = rawDash.map(function (v) {
@@ -144090,6 +144134,9 @@ function downloadPDF(base64, fileName) {
144090
144134
  var shapeGroup = group.filter(function (item) {
144091
144135
  return item.type !== 'text';
144092
144136
  });
144137
+ if (key === '2.0.64-RDCONNCROSS-o.225.11.1.tktub9-5') {
144138
+ console.log(shapeGroup);
144139
+ }
144093
144140
  if (shapeGroup.length > 0) {
144094
144141
  // 根据颜色分组
144095
144142
  var colorGroup = lodash_default.a.groupBy(shapeGroup, 'stroke');
@@ -144105,13 +144152,14 @@ function downloadPDF(base64, fileName) {
144105
144152
  customColor: _configParams ? _configParams.color : colorKey,
144106
144153
  strokeScaleEnabled: false,
144107
144154
  // 加上这句是当坐标点巨大时也能正常显示
144108
- // visible: configParams ? configParams.visible : true,
144155
+ // visible: key === '2.0.64-RDCONNCROSS-o.225.11.1.tktub9-5' ? false : true, // configParams ? configParams.visible : true,
144109
144156
  sceneFunc: function sceneFunc(context, shape) {
144110
144157
  context.beginPath();
144111
144158
  for (var _i5 = 0; _i5 < entityColorGroup.length; _i5++) {
144112
144159
  var _entity3 = entityColorGroup[_i5];
144113
144160
  if (_entity3.type === 'line') {
144114
- context.strokeStyle = _entity3.stroke;
144161
+ // context.strokeStyle = entity.stroke;
144162
+ // context.lineWidth = entity.strokeWidth
144115
144163
  var x1 = _entity3.x1;
144116
144164
  var y1 = _entity3.y1;
144117
144165
  var x2 = _entity3.x2;
@@ -144128,10 +144176,11 @@ function downloadPDF(base64, fileName) {
144128
144176
  v2.y = y2;
144129
144177
  _this[fn](v1);
144130
144178
  _this[fn](v2);
144179
+ context.fillStrokeShape(shape);
144131
144180
  }
144132
144181
  if (_entity3.type === 'polyline') {
144133
- context.strokeStyle = _entity3.stroke;
144134
- var flag = false;
144182
+ // context.strokeStyle = entity.stroke;
144183
+ // context.lineWidth = entity.strokeWidth
144135
144184
  var points = _entity3.points;
144136
144185
  var closed = _entity3.closed;
144137
144186
  for (var _j = 0; _j < points.length; _j++) {
@@ -144151,22 +144200,17 @@ function downloadPDF(base64, fileName) {
144151
144200
  }
144152
144201
  }
144153
144202
  if (closed) {
144154
- /// if (j === points.length - 1) {
144155
144203
  context.lineTo(points[0], points[1]);
144156
- // }
144157
144204
  }
144158
- // if (entity.lineType === 'DASH') {
144159
- // context.setLineDash(entity.dash)
144205
+ // if (entity.dash.length > 0) {
144206
+ // context.lineCap = 'round';
144207
+ context.setLineDash(_entity3.dash);
144208
+ context.fillStrokeShape(shape);
144160
144209
  // }
144161
-
144162
- if (_entity3.dash.length > 0) {
144163
- console.log(_entity3.dash);
144164
- context.lineCap = 'round';
144165
- context.setLineDash(_entity3.dash);
144166
- }
144167
144210
  }
144211
+ context.setLineDash([]);
144168
144212
  }
144169
- context.fillStrokeShape(shape);
144213
+ // context.fillStrokeShape(shape);
144170
144214
  },
144171
144215
  shapeType: 'shape'
144172
144216
  });
@@ -144333,8 +144377,8 @@ function downloadPDF(base64, fileName) {
144333
144377
  });
144334
144378
  // CONCATENATED MODULE: ./packages/components/com-flcanvas/index.vue?vue&type=script&lang=js
144335
144379
  /* harmony default export */ var components_com_flcanvasvue_type_script_lang_js = (com_flcanvasvue_type_script_lang_js);
144336
- // EXTERNAL MODULE: ./packages/components/com-flcanvas/index.vue?vue&type=style&index=0&id=23a6a3a8&prod&lang=scss&scoped=true
144337
- var com_flcanvasvue_type_style_index_0_id_23a6a3a8_prod_lang_scss_scoped_true = __webpack_require__("635c");
144380
+ // EXTERNAL MODULE: ./packages/components/com-flcanvas/index.vue?vue&type=style&index=0&id=e9d7a15c&prod&lang=scss&scoped=true
144381
+ var com_flcanvasvue_type_style_index_0_id_e9d7a15c_prod_lang_scss_scoped_true = __webpack_require__("e9e6");
144338
144382
 
144339
144383
  // CONCATENATED MODULE: ./packages/components/com-flcanvas/index.vue
144340
144384
 
@@ -144347,17 +144391,17 @@ var com_flcanvasvue_type_style_index_0_id_23a6a3a8_prod_lang_scss_scoped_true =
144347
144391
 
144348
144392
  var com_flcanvas_component = normalizeComponent(
144349
144393
  components_com_flcanvasvue_type_script_lang_js,
144350
- com_flcanvasvue_type_template_id_23a6a3a8_scoped_true_render,
144351
- com_flcanvasvue_type_template_id_23a6a3a8_scoped_true_staticRenderFns,
144394
+ com_flcanvasvue_type_template_id_e9d7a15c_scoped_true_render,
144395
+ com_flcanvasvue_type_template_id_e9d7a15c_scoped_true_staticRenderFns,
144352
144396
  false,
144353
144397
  null,
144354
- "23a6a3a8",
144398
+ "e9d7a15c",
144355
144399
  null
144356
144400
 
144357
144401
  )
144358
144402
 
144359
144403
  /* harmony default export */ var com_flcanvas = (com_flcanvas_component.exports);
144360
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"15acc870-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=3fceaac3&scoped=true
144404
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0b7ccd2d-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=3fceaac3&scoped=true
144361
144405
  var per_controlvue_type_template_id_3fceaac3_scoped_true_render = function render() {
144362
144406
  var _vm = this,
144363
144407
  _c = _vm._self._c;
@@ -144471,7 +144515,7 @@ var per_control_component = normalizeComponent(
144471
144515
  )
144472
144516
 
144473
144517
  /* harmony default export */ var per_control = (per_control_component.exports);
144474
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"15acc870-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
144518
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0b7ccd2d-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
144475
144519
  var pidvue_type_template_id_2572c0e2_scoped_true_render = function render() {
144476
144520
  var _vm = this,
144477
144521
  _c = _vm._self._c;
@@ -144518,7 +144562,7 @@ var browserify_default = /*#__PURE__*/__webpack_require__.n(browserify);
144518
144562
  var html2canvas = __webpack_require__("c0e9");
144519
144563
  var html2canvas_default = /*#__PURE__*/__webpack_require__.n(html2canvas);
144520
144564
 
144521
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"15acc870-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
144565
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0b7ccd2d-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
144522
144566
  var ann_toolvue_type_template_id_4b17bce0_scoped_true_render = function render() {
144523
144567
  var _vm = this,
144524
144568
  _c = _vm._self._c;