@kq_npm/client3d_webgl_vue 4.5.31 → 4.5.33-beta

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.
Files changed (55) hide show
  1. package/adddata/index.js +226 -495
  2. package/aspectanalysis/index.js +71 -182
  3. package/baseterraingallery/index.js +40 -102
  4. package/boxclip/index.js +197 -423
  5. package/clientPrint/index.js +6953 -17145
  6. package/comparemap/index.js +165 -216
  7. package/compass/index.js +20 -47
  8. package/excavatefillanalysis/index.js +101 -206
  9. package/fixedzoomin/index.js +20 -43
  10. package/fixedzoomout/index.js +18 -42
  11. package/flight/index.js +206 -353
  12. package/floodanalysis/index.js +145 -328
  13. package/geologicalbodyanalysis/index.js +114 -241
  14. package/gpuspatialquery/index.js +146 -340
  15. package/hawkeye/index.js +78 -80
  16. package/headertemp/index.js +8 -19
  17. package/heatmap3d/index.js +304 -645
  18. package/index.js +6525 -16962
  19. package/isolineanalysis/index.js +451 -1183
  20. package/light/index.js +308 -486
  21. package/limitheightanalysis/index.js +107 -204
  22. package/measure/index.js +145 -331
  23. package/modelFlat/index.js +114 -183
  24. package/modelexcavate/index.js +78 -172
  25. package/modelfilter/index.js +127 -252
  26. package/modelprofileanalysis/index.js +154 -297
  27. package/modelselect/index.js +90 -128
  28. package/package.json +1 -1
  29. package/particleeffect/index.js +170 -381
  30. package/planeclip/index.js +146 -281
  31. package/resetview/index.js +12 -31
  32. package/roller/index.js +252 -353
  33. package/scaneffect/index.js +178 -518
  34. package/sceneadvancedtoimage/index.js +152 -337
  35. package/sceneapp/index.js +6953 -17145
  36. package/sceneset/index.js +299 -838
  37. package/scenetohdimage/index.js +105 -276
  38. package/sceneview/index.js +6953 -17145
  39. package/screenshot/index.js +204 -281
  40. package/shadowanalysis/index.js +175 -386
  41. package/sightlineanalysis/index.js +135 -245
  42. package/skylineanalysis/index.js +108 -289
  43. package/slopeanalysis/index.js +174 -378
  44. package/slopeaspectanalysis/index.js +206 -466
  45. package/statusbar/index.js +37 -39
  46. package/terrainoperation/index.js +124 -218
  47. package/terrainprofileanalysis/index.js +66 -118
  48. package/typhoontrac/index.js +165 -321
  49. package/underground/index.js +16 -40
  50. package/videofusion/index.js +214 -470
  51. package/videoproject/index.js +220 -472
  52. package/viewshedanalysis/index.js +93 -230
  53. package/weathereffect/index.js +111 -295
  54. package/windyslicing/index.js +262 -695
  55. package/wireframesketch/index.js +49 -106
@@ -19,18 +19,16 @@ return /******/ (function() { // webpackBootstrap
19
19
  /* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__);
20
20
  /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7997);
21
21
  /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
22
- /*
23
- * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
24
- * All rights reserved.
22
+ /*
23
+ * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
24
+ * All rights reserved.
25
25
  */
26
26
 
27
27
 
28
-
29
28
  element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
30
29
  _init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
31
30
  Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
32
31
  };
33
-
34
32
  /* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
35
33
 
36
34
  /***/ }),
@@ -42,6 +40,27 @@ module.exports = require("@kq_npm/client_icons_vue");
42
40
 
43
41
  /***/ }),
44
42
 
43
+ /***/ 2118:
44
+ /***/ (function(module) {
45
+
46
+ module.exports = require("core-js/modules/es.array.push.js");
47
+
48
+ /***/ }),
49
+
50
+ /***/ 8470:
51
+ /***/ (function(module) {
52
+
53
+ module.exports = require("core-js/modules/esnext.iterator.constructor.js");
54
+
55
+ /***/ }),
56
+
57
+ /***/ 1058:
58
+ /***/ (function(module) {
59
+
60
+ module.exports = require("core-js/modules/esnext.iterator.for-each.js");
61
+
62
+ /***/ }),
63
+
45
64
  /***/ 9389:
46
65
  /***/ (function(module) {
47
66
 
@@ -101,7 +120,6 @@ function _defineProperty(obj, key, value) {
101
120
  } else {
102
121
  obj[key] = value;
103
122
  }
104
-
105
123
  return obj;
106
124
  }
107
125
 
@@ -193,48 +211,47 @@ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
193
211
  var gis_utils_ = __webpack_require__(7135);
194
212
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
195
213
  var defineProperty = __webpack_require__(8270);
214
+ // EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
215
+ var es_array_push_js_ = __webpack_require__(2118);
216
+ // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
217
+ var esnext_iterator_constructor_js_ = __webpack_require__(8470);
218
+ // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
219
+ var esnext_iterator_for_each_js_ = __webpack_require__(1058);
196
220
  // EXTERNAL MODULE: ./src/common/_ui/message/index.js
197
221
  var message = __webpack_require__(1349);
198
222
  ;// CONCATENATED MODULE: ./src/webgl/terrainoperation/TerrainOperationViewModel.js
199
223
 
200
224
 
225
+
226
+
201
227
  /*
202
228
  * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
203
229
  * All rights reserved.
204
230
  */
231
+
205
232
  //地形淹没分析逻辑类
206
233
 
207
234
  class TerrainOperationViewModel {
208
- //地形开挖三维对象
209
- //地形平整三维对象
210
- //绘制管理对象
211
- //全局参数
212
- //绘制的坐标点集合
213
- //地形操作类型
214
- //开挖深度
215
- //平整高度
216
- //绘制完成监听事件
217
235
  constructor(scenceView, viewModel) {
218
236
  (0,defineProperty/* default */.Z)(this, "_terrainexcavationext", null);
219
-
237
+ //地形开挖三维对象
220
238
  (0,defineProperty/* default */.Z)(this, "_terrainmodification", null);
221
-
239
+ //地形平整三维对象
222
240
  (0,defineProperty/* default */.Z)(this, "_drawManager", null);
223
-
241
+ //绘制管理对象
224
242
  (0,defineProperty/* default */.Z)(this, "_globaOptions", {});
225
-
243
+ //全局参数
226
244
  (0,defineProperty/* default */.Z)(this, "_positions", []);
227
-
245
+ //绘制的坐标点集合
228
246
  (0,defineProperty/* default */.Z)(this, "_terrainStyle", null);
229
-
247
+ //地形操作类型
230
248
  (0,defineProperty/* default */.Z)(this, "_height", 0);
231
-
249
+ //开挖深度
232
250
  (0,defineProperty/* default */.Z)(this, "_smoothHeight", 2000);
233
-
251
+ //平整高度
234
252
  (0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
235
-
253
+ //绘制完成监听事件
236
254
  (0,defineProperty/* default */.Z)(this, "_language", {});
237
-
238
255
  this._language = scenceView._language;
239
256
  this._globaOptions.viewer = scenceView._viewer;
240
257
  this._globaOptions.viewer.scene.logarithmicDepthBuffer = false;
@@ -247,10 +264,8 @@ class TerrainOperationViewModel {
247
264
  this._removeEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
248
265
  if (shape) {
249
266
  that._globaOptions.positions = shape._controlPoints;
250
-
251
267
  if (that._terrainStyle === 1) {
252
268
  that._positions.push(shape._controlPoints);
253
-
254
269
  if (that._terrainexcavationext) {
255
270
  that.setTerrainExcavationAddPolygon();
256
271
  } else {
@@ -265,16 +280,13 @@ class TerrainOperationViewModel {
265
280
  this.createTerrainModification();
266
281
  }
267
282
  }
268
-
269
283
  that._drawManager.clear();
270
284
  }
271
285
  });
272
- } // 创建地形分析类
273
-
274
-
286
+ }
287
+ // 创建地形分析类
275
288
  createTerrainExcavation(callback) {
276
289
  var that = this;
277
-
278
290
  this._globaOptions.viewer.terrainProvider.readyPromise.then(function () {
279
291
  setTimeout(() => {
280
292
  // 地形开挖
@@ -284,24 +296,20 @@ class TerrainOperationViewModel {
284
296
  if (callback) callback();
285
297
  }, 500);
286
298
  });
287
- } // 创建地形平整分析类
288
-
289
-
299
+ }
300
+ // 创建地形平整分析类
290
301
  createTerrainModification(callback) {
291
302
  var that = this;
292
-
293
303
  this._globaOptions.viewer.terrainProvider.readyPromise.then(function () {
294
304
  setTimeout(() => {
295
305
  let heights = [];
296
306
  let positions = [];
297
-
298
307
  that._globaOptions.positions.forEach((item, index) => {
299
308
  let cag = window.Cesium.Cartographic.fromCartesian(item);
300
309
  positions.push(cag);
301
310
  heights.push(cag.height);
302
- }); // 地形平整
303
-
304
-
311
+ });
312
+ // 地形平整
305
313
  if (!that._terrainmodification) {
306
314
  that._terrainmodification = new window.Cesium.Kq3dTerrainModification({
307
315
  viewer: that._globaOptions.viewer,
@@ -313,43 +321,36 @@ class TerrainOperationViewModel {
313
321
  that._terrainmodification.heights = heights;
314
322
  that._terrainmodification.positions = positions;
315
323
  }
316
-
317
324
  that._terrainmodification._clippingPlanesEnabled = true;
318
325
  if (callback) callback();
319
326
  }, 500);
320
327
  });
321
- } // 地形开挖分析更新分析位置和高度
322
-
323
-
328
+ }
329
+ // 地形开挖分析更新分析位置和高度
324
330
  setTerrainExcavationAddPolygon() {
325
331
  this._terrainexcavationext.addPolygon({
326
332
  polygonArray: this._globaOptions.positions,
327
333
  height: Number(this._height)
328
334
  });
329
- } // 地形平整执行分析
330
-
331
-
335
+ }
336
+ // 地形平整执行分析
332
337
  setTerrainModification() {
333
338
  let heights = [];
334
339
  let positions = [];
335
-
336
340
  this._globaOptions.positions.forEach((item, index) => {
337
341
  let cag = window.Cesium.Cartographic.fromCartesian(item);
338
342
  positions.push(cag);
339
343
  heights.push(cag.height);
340
344
  });
341
-
342
345
  this._terrainmodification.heights = heights;
343
346
  this._terrainmodification.positions = positions;
344
- } //开始分析
345
-
346
-
347
+ }
348
+ //开始分析
347
349
  start() {
348
350
  // 判断是否添加了地形
349
351
  if (this._globaOptions.viewer.terrainProvider.availability) {
350
352
  if (this._globaOptions.viewer.terrainProvider && !this._globaOptions.viewer.terrainProvider._heightmapStructure) {
351
353
  this.clear();
352
-
353
354
  this._drawManager.startDraw("polygon", {
354
355
  clampToGround: true
355
356
  });
@@ -365,25 +366,22 @@ class TerrainOperationViewModel {
365
366
  type: "warning"
366
367
  });
367
368
  }
368
- } //改变分析类型
369
-
370
-
369
+ }
370
+ //改变分析类型
371
371
  setTerrainStyle(val) {
372
372
  this._terrainStyle = val;
373
373
  this.clear();
374
- } // 设置开挖深度
375
-
374
+ }
376
375
 
376
+ // 设置开挖深度
377
377
  setHeight(height) {
378
378
  let that = this;
379
379
  this._height = height;
380
-
381
380
  if (this._terrainStyle === 0 && this._terrainexcavationext) {
382
381
  this._terrainexcavationext && this._terrainexcavationext.destroy();
383
382
  this._terrainexcavationext = new window.Cesium.Kq3dTerrainExcavationExt({
384
383
  viewer: this._globaOptions.viewer
385
384
  });
386
-
387
385
  this._positions.forEach(item => {
388
386
  if (that._terrainexcavationext) {
389
387
  that._terrainexcavationext.addPolygon({
@@ -394,39 +392,32 @@ class TerrainOperationViewModel {
394
392
  });
395
393
  }
396
394
  }
397
-
398
395
  setModificationHeight(height) {
399
396
  this._smoothHeight = Number(height);
400
397
  if (this._terrainmodification) this._terrainmodification._height = this._smoothHeight;
401
- } //清除全部结果
402
-
403
-
398
+ }
399
+ //清除全部结果
404
400
  clear() {
405
- this._drawManager.stopDraw(); // 销毁地形开挖
406
-
407
-
401
+ this._drawManager.stopDraw();
402
+ // 销毁地形开挖
408
403
  if (this._terrainexcavationext) {
409
404
  this._terrainexcavationext.destroy();
410
-
411
405
  this._terrainexcavationext = null;
412
406
  this._positions = [];
413
- } // 销毁地形平整
414
-
415
-
407
+ }
408
+ // 销毁地形平整
416
409
  if (this._terrainmodification) {
417
410
  this._terrainmodification && this._terrainmodification.remove();
418
411
  this._terrainmodification = null;
419
412
  }
420
- } // 销毁
421
-
422
-
413
+ }
414
+ // 销毁
423
415
  destroy() {
424
- this.clear(); //移除监听事件
425
-
416
+ this.clear();
417
+ //移除监听事件
426
418
  this._removeEventListener && this._removeEventListener();
427
419
  this._removeEventListener = null;
428
420
  }
429
-
430
421
  }
431
422
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
432
423
  var client_icons_vue_ = __webpack_require__(348);
@@ -473,7 +464,6 @@ const __default__ = {
473
464
  type: Boolean,
474
465
  default: true
475
466
  },
476
-
477
467
  /**
478
468
  * 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
479
469
  */
@@ -503,7 +493,6 @@ const __default__ = {
503
493
  default: true
504
494
  }
505
495
  },
506
-
507
496
  setup(__props, {
508
497
  expose: __expose
509
498
  }) {
@@ -512,7 +501,9 @@ const __default__ = {
512
501
  proxy
513
502
  } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
514
503
  let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
515
- let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]); // 获取组件传参
504
+ let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
505
+
506
+ // 获取组件传参
516
507
 
517
508
  let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
518
509
  terrainStyle: props.settingParams && props.settingParams.terrainStyle || 1,
@@ -528,15 +519,17 @@ const __default__ = {
528
519
  minModificationHeight: props.settingParams && props.settingParams.minModificationHeight || 100,
529
520
  // 地形平整高度最小值
530
521
  maxModificationHeight: props.settingParams && props.settingParams.maxModificationHeight || 8000 // 地形平整高度最大值
531
-
532
522
  });
533
- let viewModel = null; // 组件容器Ref
523
+ let viewModel = null;
534
524
 
535
- let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
525
+ // 组件容器Ref
526
+ let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
536
527
 
528
+ // 生成组件默认header
537
529
  let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
538
- let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
530
+ let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
539
531
 
532
+ // 国际化
540
533
  let {
541
534
  locale,
542
535
  messages
@@ -559,13 +552,11 @@ const __default__ = {
559
552
  });
560
553
  });
561
554
  currentLang.value = proxy.$i18n.locale; // 获取当前语言
562
-
563
555
  gis_utils_.utils.getWebMap(null, scenceView => {
564
556
  if (scenceView) {
565
557
  if (props.operationMode !== 0) {
566
558
  formItem.terrainStyle = props.operationMode;
567
559
  }
568
-
569
560
  viewModel = new TerrainOperationViewModel(scenceView, {
570
561
  terrainStyle: formItem.terrainStyle,
571
562
  excavationDepth: formItem.excavationDepth,
@@ -574,47 +565,42 @@ const __default__ = {
574
565
  }
575
566
  });
576
567
  });
568
+
577
569
  /**
578
570
  * @description 监听header生成
579
571
  */
580
-
581
572
  const watchCreateHeaderTemp = () => {
582
573
  if (props.showHeaderTemp) {
583
574
  // 生成headerTemp
584
575
  headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
585
576
  }
586
- }; // 改变样式
587
-
577
+ };
588
578
 
579
+ // 改变样式
589
580
  function changeStyle() {
590
581
  viewModel && viewModel.setTerrainStyle(formItem.terrainStyle);
591
- } // 调整开挖深度
592
-
593
-
582
+ }
583
+ // 调整开挖深度
594
584
  function changeHeight() {
595
585
  viewModel && viewModel.setHeight(formItem.excavationDepth);
596
- } // 调整平整高度
597
-
598
-
586
+ }
587
+ // 调整平整高度
599
588
  function changeModificationHeight() {
600
589
  viewModel && viewModel.setModificationHeight(formItem.modificationHeight);
601
- } // 开始分析
602
-
603
-
590
+ }
591
+ // 开始分析
604
592
  function startOperation() {
605
593
  viewModel && viewModel.start();
606
- } // 清除
607
-
608
-
594
+ }
595
+ // 清除
609
596
  function clear() {
610
597
  viewModel && viewModel.clear();
611
- } // 销毁
612
-
598
+ }
613
599
 
600
+ // 销毁
614
601
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
615
602
  viewModel && viewModel.destroy();
616
603
  });
617
-
618
604
  __expose({
619
605
  changeStyle,
620
606
  changeHeight,
@@ -622,20 +608,13 @@ const __default__ = {
622
608
  startOperation,
623
609
  clear
624
610
  });
625
-
626
611
  return (_ctx, _cache) => {
627
612
  const _component_kq_radio = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio");
628
-
629
613
  const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
630
-
631
614
  const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
632
-
633
615
  const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
634
-
635
616
  const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
636
-
637
617
  const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
638
-
639
618
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
640
619
  class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-terrain-operation-analysis", {
641
620
  'kq-box-shadow': __props.showShadow
@@ -646,9 +625,7 @@ const __default__ = {
646
625
  key: 0,
647
626
  ref_key: "headerTempRef",
648
627
  ref: headerTempRef
649
- }, null, 512
650
- /* NEED_PATCH */
651
- )) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [__props.operationMode === 0 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
628
+ }, null, 512 /* NEED_PATCH */)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [__props.operationMode === 0 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
652
629
  key: 0
653
630
  }, {
654
631
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
@@ -657,32 +634,18 @@ const __default__ = {
657
634
  label: 1,
658
635
  onChange: changeStyle
659
636
  }, {
660
- default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).terrainExcavation), 1
661
- /* TEXT */
662
- )]),
663
- _: 1
664
- /* STABLE */
665
-
666
- }, 8
667
- /* PROPS */
668
- , ["modelValue"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
637
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).terrainExcavation), 1 /* TEXT */)]),
638
+ _: 1 /* STABLE */
639
+ }, 8 /* PROPS */, ["modelValue"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
669
640
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle,
670
641
  "onUpdate:modelValue": _cache[1] || (_cache[1] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle = $event),
671
642
  label: 2,
672
643
  onChange: changeStyle
673
644
  }, {
674
- default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).TerrainModification), 1
675
- /* TEXT */
676
- )]),
677
- _: 1
678
- /* STABLE */
679
-
680
- }, 8
681
- /* PROPS */
682
- , ["modelValue"])]),
683
- _: 1
684
- /* STABLE */
685
-
645
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).TerrainModification), 1 /* TEXT */)]),
646
+ _: 1 /* STABLE */
647
+ }, 8 /* PROPS */, ["modelValue"])]),
648
+ _: 1 /* STABLE */
686
649
  })) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle === 1 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
687
650
  key: 1,
688
651
  gutter: 10
@@ -690,15 +653,9 @@ const __default__ = {
690
653
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
691
654
  span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
692
655
  }, {
693
- default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).excavationDepth), 1
694
- /* TEXT */
695
- )]),
696
- _: 1
697
- /* STABLE */
698
-
699
- }, 8
700
- /* PROPS */
701
- , ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
656
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).excavationDepth), 1 /* TEXT */)]),
657
+ _: 1 /* STABLE */
658
+ }, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
702
659
  span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 11 : 8
703
660
  }, {
704
661
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
@@ -709,15 +666,9 @@ const __default__ = {
709
666
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxExcavationDepth,
710
667
  onChange: _cache[3] || (_cache[3] = $event => changeHeight()),
711
668
  onClick: _cache[4] || (_cache[4] = $event => changeHeight())
712
- }, null, 8
713
- /* PROPS */
714
- , ["modelValue", "min", "max"])]),
715
- _: 1
716
- /* STABLE */
717
-
718
- }, 8
719
- /* PROPS */
720
- , ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
669
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
670
+ _: 1 /* STABLE */
671
+ }, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
721
672
  span: 6,
722
673
  style: {
723
674
  "text-align": "end"
@@ -731,16 +682,10 @@ const __default__ = {
731
682
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxExcavationDepth,
732
683
  "controls-position": "right",
733
684
  onInput: _cache[6] || (_cache[6] = $event => changeHeight())
734
- }, null, 8
735
- /* PROPS */
736
- , ["modelValue", "min", "max"])]),
737
- _: 1
738
- /* STABLE */
739
-
685
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
686
+ _: 1 /* STABLE */
740
687
  })]),
741
- _: 1
742
- /* STABLE */
743
-
688
+ _: 1 /* STABLE */
744
689
  })) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle === 2 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
745
690
  key: 2,
746
691
  gutter: 10
@@ -748,15 +693,9 @@ const __default__ = {
748
693
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
749
694
  span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
750
695
  }, {
751
- default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).modificationHeight), 1
752
- /* TEXT */
753
- )]),
754
- _: 1
755
- /* STABLE */
756
-
757
- }, 8
758
- /* PROPS */
759
- , ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
696
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).modificationHeight), 1 /* TEXT */)]),
697
+ _: 1 /* STABLE */
698
+ }, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
760
699
  span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 11 : 8
761
700
  }, {
762
701
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
@@ -767,15 +706,9 @@ const __default__ = {
767
706
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxModificationHeight,
768
707
  onChange: _cache[8] || (_cache[8] = $event => changeModificationHeight()),
769
708
  onClick: _cache[9] || (_cache[9] = $event => changeModificationHeight())
770
- }, null, 8
771
- /* PROPS */
772
- , ["modelValue", "min", "max"])]),
773
- _: 1
774
- /* STABLE */
775
-
776
- }, 8
777
- /* PROPS */
778
- , ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
709
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
710
+ _: 1 /* STABLE */
711
+ }, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
779
712
  span: 6,
780
713
  style: {
781
714
  "text-align": "end"
@@ -789,56 +722,31 @@ const __default__ = {
789
722
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxModificationHeight,
790
723
  "controls-position": "right",
791
724
  onInput: _cache[11] || (_cache[11] = $event => changeModificationHeight())
792
- }, null, 8
793
- /* PROPS */
794
- , ["modelValue", "min", "max"])]),
795
- _: 1
796
- /* STABLE */
797
-
725
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
726
+ _: 1 /* STABLE */
798
727
  })]),
799
- _: 1
800
- /* STABLE */
801
-
728
+ _: 1 /* STABLE */
802
729
  })) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
803
730
  class: "kq3d-terrain-operation-analysis-tip"
804
731
  }, {
805
- default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).skylineTips), 1
806
- /* TEXT */
807
- ), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <p v-if=\"formItem.terrainStyle === 2\">{{ \"(\" + language.reverseDrawPolygon + \")\" }}</p> ")]),
808
- _: 1
809
- /* STABLE */
810
-
732
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).skylineTips), 1 /* TEXT */), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <p v-if=\"formItem.terrainStyle === 2\">{{ \"(\" + language.reverseDrawPolygon + \")\" }}</p> ")]),
733
+ _: 1 /* STABLE */
811
734
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_4, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
812
735
  onClick: _cache[12] || (_cache[12] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startOperation(), ["stop"])),
813
736
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startOperation,
814
737
  type: "primary"
815
738
  }, {
816
- default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startOperation), 1
817
- /* TEXT */
818
- )]),
819
- _: 1
820
- /* STABLE */
821
-
822
- }, 8
823
- /* PROPS */
824
- , ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
739
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startOperation), 1 /* TEXT */)]),
740
+ _: 1 /* STABLE */
741
+ }, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
825
742
  onClick: _cache[13] || (_cache[13] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clear(), ["stop"])),
826
743
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
827
744
  }, {
828
- default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear), 1
829
- /* TEXT */
830
- )]),
831
- _: 1
832
- /* STABLE */
833
-
834
- }, 8
835
- /* PROPS */
836
- , ["title"])])])], 2
837
- /* CLASS */
838
- );
745
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear), 1 /* TEXT */)]),
746
+ _: 1 /* STABLE */
747
+ }, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
839
748
  };
840
749
  }
841
-
842
750
  }));
843
751
  ;// CONCATENATED MODULE: ./src/webgl/terrainoperation/TerrainOperation.vue?vue&type=script&setup=true&lang=js
844
752
 
@@ -860,13 +768,11 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
860
768
 
861
769
 
862
770
 
863
-
864
771
  TerrainOperation.install = (Vue, opts) => {
865
772
  init_js_default()(Vue, opts);
866
773
  Vue.component(TerrainOperation.name, TerrainOperation);
867
774
  };
868
775
 
869
-
870
776
  }();
871
777
  /******/ return __webpack_exports__;
872
778
  /******/ })()