@kq_npm/client3d_webgl_vue 4.5.30 → 4.5.32

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 +227 -496
  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 +7324 -17727
  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 +6896 -17544
  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 +7324 -17727
  36. package/sceneset/index.js +299 -838
  37. package/scenetohdimage/index.js +105 -276
  38. package/sceneview/index.js +7324 -17727
  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 +208 -330
  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 +545 -727
  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
+ /***/ 8470:
44
+ /***/ (function(module) {
45
+
46
+ module.exports = require("core-js/modules/esnext.iterator.constructor.js");
47
+
48
+ /***/ }),
49
+
50
+ /***/ 8697:
51
+ /***/ (function(module) {
52
+
53
+ module.exports = require("core-js/modules/esnext.iterator.find.js");
54
+
55
+ /***/ }),
56
+
57
+ /***/ 2170:
58
+ /***/ (function(module) {
59
+
60
+ module.exports = require("core-js/modules/esnext.iterator.map.js");
61
+
62
+ /***/ }),
63
+
45
64
  /***/ 9389:
46
65
  /***/ (function(module) {
47
66
 
@@ -108,7 +127,6 @@ function _defineProperty(obj, key, value) {
108
127
  } else {
109
128
  obj[key] = value;
110
129
  }
111
-
112
130
  return obj;
113
131
  }
114
132
 
@@ -194,12 +212,18 @@ __webpack_require__.d(__webpack_exports__, {
194
212
  "default": function() { return /* reexport */ SlopeAnalysis; }
195
213
  });
196
214
 
215
+ // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
216
+ var esnext_iterator_constructor_js_ = __webpack_require__(8470);
217
+ // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.map.js"
218
+ var esnext_iterator_map_js_ = __webpack_require__(2170);
197
219
  // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
198
220
  var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
199
221
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
200
222
  var gis_utils_ = __webpack_require__(7135);
201
223
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
202
224
  var defineProperty = __webpack_require__(8270);
225
+ // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.find.js"
226
+ var esnext_iterator_find_js_ = __webpack_require__(8697);
203
227
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
204
228
  var const_image_ = __webpack_require__(6277);
205
229
  // EXTERNAL MODULE: ./src/common/_ui/message/index.js
@@ -207,25 +231,25 @@ var message = __webpack_require__(1349);
207
231
  ;// CONCATENATED MODULE: ./src/webgl/slopeanalysis/SlopeAnalysisViewModel.js
208
232
 
209
233
 
234
+
210
235
  /*
211
236
  * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
212
237
  * All rights reserved.
213
238
  */
214
- // 分析逻辑类
215
239
 
240
+ // 分析逻辑类
216
241
 
217
242
  class SlopeAnalysisViewModel {
218
- // 坡度坡向三维对象
219
243
  constructor(scenceView, viewModel) {
220
244
  (0,defineProperty/* default */.Z)(this, "_slopeAnalysis", null);
221
-
245
+ // 坡度坡向三维对象
222
246
  (0,defineProperty/* default */.Z)(this, "_globaOptions", {
223
247
  //全局参数
224
248
  viewer: null,
225
249
  _drawManager: null
226
250
  });
227
-
228
- (0,defineProperty/* default */.Z)(this, "_colorImages", [//渐变图片集合
251
+ (0,defineProperty/* default */.Z)(this, "_colorImages", [
252
+ //渐变图片集合
229
253
  {
230
254
  value: "0",
231
255
  src: const_image_.RED_TO_PURPLE_URL
@@ -236,9 +260,7 @@ class SlopeAnalysisViewModel {
236
260
  value: "2",
237
261
  src: const_image_.GREEN_TO_BLUE_URL
238
262
  }]);
239
-
240
263
  (0,defineProperty/* default */.Z)(this, "_language", {});
241
-
242
264
  this._language = scenceView._language;
243
265
  this._globaOptions.viewer = scenceView._viewer;
244
266
  this._globaOptions.viewModel = {
@@ -259,9 +281,9 @@ class SlopeAnalysisViewModel {
259
281
  };
260
282
  this._globaOptions.viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
261
283
  // this._globaOptions.viewer.scene.globe.enableLighting = true;
262
-
263
284
  this._globaOptions._drawManager = scenceView._drawManager;
264
- var that = this; // that._slopeAnalysis = new Cesium.Kq3dSlope({
285
+ var that = this;
286
+ // that._slopeAnalysis = new Cesium.Kq3dSlope({
265
287
  // viewer: that._globaOptions.viewer,
266
288
  // positions: [
267
289
  // new Cesium.Cartesian3(528486.4951355414, 5591866.071664512, 3011848.5874731047),
@@ -280,8 +302,8 @@ class SlopeAnalysisViewModel {
280
302
 
281
303
  this._globaOptions._drawFinishedEventListener = this._globaOptions._drawManager.drawFinishedEvent.addEventListener(shape => {
282
304
  if (shape) {
283
- that._globaOptions.viewModel.positions = shape._controlPoints; // 实例化分析对象
284
-
305
+ that._globaOptions.viewModel.positions = shape._controlPoints;
306
+ // 实例化分析对象
285
307
  if (!that._slopeAnalysis) {
286
308
  switch (that._globaOptions.viewModel.fillStyle) {
287
309
  case "tableColor":
@@ -293,7 +315,6 @@ class SlopeAnalysisViewModel {
293
315
  colorTable: that._globaOptions.viewModel.colorTable
294
316
  });
295
317
  break;
296
-
297
318
  case "colorImage":
298
319
  that._slopeAnalysis = new Cesium.Kq3dSlope({
299
320
  viewer: that._globaOptions.viewer,
@@ -302,7 +323,6 @@ class SlopeAnalysisViewModel {
302
323
  colorImage: that._globaOptions.viewModel.imageSrc
303
324
  });
304
325
  break;
305
-
306
326
  case "slopeFilter":
307
327
  that._slopeAnalysis = new Cesium.Kq3dSlope({
308
328
  viewer: that._globaOptions.viewer,
@@ -317,26 +337,20 @@ class SlopeAnalysisViewModel {
317
337
  } else {
318
338
  that._slopeAnalysis.positions = that._globaOptions.viewModel.positions;
319
339
  }
320
-
321
340
  that._globaOptions._drawManager.clear();
322
341
  }
323
342
  });
324
- } //获取图片路径
325
-
326
-
343
+ }
344
+ //获取图片路径
327
345
  getImagePath(value) {
328
346
  var imagePath = '';
329
-
330
347
  var image = this._colorImages.find(item => item.value === value);
331
-
332
348
  if (image) {
333
349
  imagePath = image.src;
334
350
  }
335
-
336
351
  return imagePath;
337
- } // 开始分析
338
-
339
-
352
+ }
353
+ // 开始分析
340
354
  start() {
341
355
  // 判断是否添加了地形
342
356
  if (this._globaOptions.viewModel.viewer.terrainProvider.availability) {
@@ -371,13 +385,11 @@ class SlopeAnalysisViewModel {
371
385
  type: "warning"
372
386
  });
373
387
  }
374
- } //修改填充样式
375
-
376
-
388
+ }
389
+ //修改填充样式
377
390
  changeFilltyle(key) {
378
391
  this._globaOptions.viewModel.fillStyle = key;
379
392
  if (!this._slopeAnalysis) return;
380
-
381
393
  switch (key) {
382
394
  case "tableColor":
383
395
  if (this._slopeAnalysis.isFilter) this._slopeAnalysis.isFilter = false;
@@ -386,7 +398,6 @@ class SlopeAnalysisViewModel {
386
398
  this._slopeAnalysis.colorTableDegree = this._globaOptions.viewModel.colorTableDegree;
387
399
  this._slopeAnalysis.colorTable = this._globaOptions.viewModel.colorTable;
388
400
  break;
389
-
390
401
  case "colorImage":
391
402
  if (this._slopeAnalysis.isFilter) this._slopeAnalysis.isFilter = false;
392
403
  this._slopeAnalysis.colorTableDegree = [];
@@ -394,85 +405,70 @@ class SlopeAnalysisViewModel {
394
405
  this._slopeAnalysis.color = null;
395
406
  this._slopeAnalysis.colorImage = this._globaOptions.viewModel.imageSrc;
396
407
  break;
397
-
398
408
  case "slopeFilter":
399
409
  this._slopeAnalysis.colorImage = null;
400
410
  this._slopeAnalysis.isFilter = true;
401
411
  this._slopeAnalysis.minSlope = this._globaOptions.viewModel.minSlope, this._slopeAnalysis.maxSlope = this._globaOptions.viewModel.maxSlope, this._slopeAnalysis.color = Cesium.Color.fromCssColorString(this._globaOptions.viewModel.slopeColorText).withAlpha(Number(this._globaOptions.viewModel.slopeColorAlpha));
402
412
  break;
403
413
  }
404
- } // 设置填充纹理值
405
-
406
-
414
+ }
415
+ // 设置填充纹理值
407
416
  setColorTableDegree(newValue) {
408
417
  this._globaOptions.viewModel.colorTableDegree = newValue;
409
418
  if (this._slopeAnalysis) this._slopeAnalysis.colorTableDegree = this._globaOptions.viewModel.colorTableDegree;
410
- } // 设置填充纹理颜色
411
-
412
-
419
+ }
420
+ // 设置填充纹理颜色
413
421
  setColorTable(newValue) {
414
422
  this._globaOptions.viewModel.colorTable = newValue;
415
423
  if (this._slopeAnalysis) this._slopeAnalysis.colorTable = this._globaOptions.viewModel.colorTable;
416
- } // 设置填充纹理
417
-
418
-
424
+ }
425
+ // 设置填充纹理
419
426
  setColorImage(newValue) {
420
427
  this._globaOptions.viewModel.imageSrc = newValue;
421
428
  if (this._slopeAnalysis) this._slopeAnalysis.colorImage = this._globaOptions.viewModel.imageSrc;
422
- } // 设置渐变纹理
423
-
424
-
429
+ }
430
+ // 设置渐变纹理
425
431
  getColorLine(key) {
426
432
  var path = "";
427
-
428
433
  switch (key) {
429
434
  case 0:
430
435
  path = const_image_.RED_TO_PURPLE_URL;
431
436
  break;
432
-
433
437
  case 1:
434
438
  path = const_image_.PURPLE_TO_YELLOW_URL;
435
439
  break;
436
-
437
440
  case 2:
438
441
  path = const_image_.GREEN_TO_BLUE_URL;
439
442
  break;
440
-
441
443
  default:
442
444
  path = const_image_.RED_TO_PURPLE_URL;
443
445
  break;
444
446
  }
445
-
446
447
  return path;
447
- } // 设置坡度过滤样式
448
-
449
-
448
+ }
449
+ // 设置坡度过滤样式
450
450
  setSlopeFilterColor(slopeColorText, slopeColorAlpha) {
451
451
  this._globaOptions.viewModel.slopeColorText = slopeColorText;
452
452
  this._globaOptions.viewModel.slopeColorAlpha = Number(slopeColorAlpha);
453
453
  if (this._slopeAnalysis) this._slopeAnalysis.color = Cesium.Color.fromCssColorString(slopeColorText).withAlpha(Number(slopeColorAlpha));
454
- } // 设置最小坡度值
455
-
456
-
454
+ }
455
+ // 设置最小坡度值
457
456
  setSlopeFilterMin(newValue) {
458
457
  this._globaOptions.viewModel.minSlope = Number(newValue);
459
458
  if (this._slopeAnalysis) this._slopeAnalysis.minSlope = this._globaOptions.viewModel.minSlope;
460
- } // 设置最大坡度值
461
-
462
-
459
+ }
460
+ // 设置最大坡度值
463
461
  setSlopeFilterMax(newValue) {
464
462
  this._globaOptions.viewModel.maxSlope = Number(newValue);
465
463
  if (this._slopeAnalysis) this._slopeAnalysis.maxSlope = this._globaOptions.viewModel.maxSlope;
466
- } // 清除全部结果
467
-
468
-
464
+ }
465
+ // 清除全部结果
469
466
  clear() {
470
467
  this._globaOptions._drawManager && this._globaOptions._drawManager.stopDraw();
471
468
  this._slopeAnalysis && this._slopeAnalysis.destroy();
472
469
  this._slopeAnalysis = null;
473
- } // 销毁
474
-
475
-
470
+ }
471
+ // 销毁
476
472
  destroy() {
477
473
  // 移除监听事件
478
474
  this._globaOptions._drawFinishedEventListener && this._globaOptions._drawFinishedEventListener();
@@ -480,7 +476,6 @@ class SlopeAnalysisViewModel {
480
476
  this._slopeAnalysis && this._slopeAnalysis.destroy();
481
477
  this._slopeAnalysis = null;
482
478
  }
483
-
484
479
  }
485
480
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
486
481
  var client_icons_vue_ = __webpack_require__(348);
@@ -490,6 +485,8 @@ var util_ = __webpack_require__(3458);
490
485
  var vue_i18n_cjs_js_ = __webpack_require__(7080);
491
486
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/slopeanalysis/SlopeAnalysis.vue?vue&type=script&setup=true&lang=js
492
487
 
488
+
489
+
493
490
  const _hoisted_1 = {
494
491
  class: "kq3d-slope-analysis-box"
495
492
  };
@@ -502,21 +499,11 @@ const _hoisted_3 = {
502
499
  const _hoisted_4 = {
503
500
  key: 1
504
501
  };
505
-
506
- const _hoisted_5 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", null, "0°", -1
507
- /* HOISTED */
508
- );
509
-
502
+ const _hoisted_5 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", null, "0°", -1 /* HOISTED */);
510
503
  const _hoisted_6 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
511
504
  class: "kq3d-slope-analysis-line"
512
- }, null, -1
513
- /* HOISTED */
514
- );
515
-
516
- const _hoisted_7 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", null, "90°", -1
517
- /* HOISTED */
518
- );
519
-
505
+ }, null, -1 /* HOISTED */);
506
+ const _hoisted_7 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", null, "90°", -1 /* HOISTED */);
520
507
  const _hoisted_8 = ["src"];
521
508
  const _hoisted_9 = {
522
509
  key: 2
@@ -545,7 +532,6 @@ const __default__ = {
545
532
  type: Boolean,
546
533
  default: true
547
534
  },
548
-
549
535
  /**
550
536
  * 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
551
537
  */
@@ -575,7 +561,6 @@ const __default__ = {
575
561
  default: true
576
562
  }
577
563
  },
578
-
579
564
  setup(__props, {
580
565
  expose: __expose
581
566
  }) {
@@ -613,12 +598,15 @@ const __default__ = {
613
598
  }, {
614
599
  value: 2,
615
600
  src: const_image_.GREEN_TO_BLUE_URL
616
- }]; //计算属性
617
- // 获取组件传参
618
- // 分析类
601
+ }];
619
602
 
620
- let viewModel = null; // 默认参数
603
+ //计算属性
621
604
 
605
+ // 获取组件传参
606
+
607
+ // 分析类
608
+ let viewModel = null;
609
+ // 默认参数
622
610
  let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
623
611
  collapseValue: props.settingParams && props.settingParams.collapseValue || ((props.settingParams && props.settingParams.collapseValue) == '' ? "" : "setting"),
624
612
  // 默认展开属性设置
@@ -630,13 +618,16 @@ const __default__ = {
630
618
  maxSlope: props.settingParams && props.settingParams.maxSlope || 60,
631
619
  slopeColorAlpha: props.settingParams && props.settingParams.slopeColorAlpha || 0.3,
632
620
  slopeColorText: props.settingParams && props.settingParams.slopeColorText || "#FF0000"
633
- }); // 组件容器Ref
621
+ });
634
622
 
635
- let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
623
+ // 组件容器Ref
624
+ let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
636
625
 
626
+ // 生成组件默认header
637
627
  let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
638
- let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
628
+ let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
639
629
 
630
+ // 国际化
640
631
  let {
641
632
  locale,
642
633
  messages
@@ -659,30 +650,29 @@ const __default__ = {
659
650
  });
660
651
  });
661
652
  currentLang.value = proxy.$i18n.locale; // 获取当前语言
662
-
663
653
  gis_utils_.utils.getWebMap(null, scenceView => {
664
654
  if (scenceView) {
665
655
  refactorArr();
666
- viewModel = new SlopeAnalysisViewModel(scenceView, formItem); // var imageUrl = getImagePath(formItem.colorImage);
656
+ viewModel = new SlopeAnalysisViewModel(scenceView, formItem);
657
+ // var imageUrl = getImagePath(formItem.colorImage);
667
658
  // viewModel.setColorImage(imageUrl);
668
659
  }
669
660
  });
670
661
  });
662
+
671
663
  /**
672
664
  * @description 监听header生成
673
665
  */
674
-
675
666
  const watchCreateHeaderTemp = () => {
676
667
  if (props.showHeaderTemp) {
677
668
  // 生成headerTemp
678
669
  headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
679
670
  }
680
- }; // 刷新自定义样式数组
681
-
671
+ };
682
672
 
673
+ // 刷新自定义样式数组
683
674
  function refactorArr(type) {
684
675
  if (!dataList || !dataList.length) return;
685
-
686
676
  if (type == "degree") {
687
677
  formItem.colorTableDegree = dataList.map(item => {
688
678
  return item.colorTableDegree;
@@ -694,87 +684,73 @@ const __default__ = {
694
684
  });
695
685
  formItem.colorTable.shift();
696
686
  }
697
- } //获取图片路径
698
-
687
+ }
699
688
 
689
+ //获取图片路径
700
690
  function getImagePath(value) {
701
691
  var imagePath = "";
702
692
  var image = colorImages.find(item => item.value === value);
703
-
704
693
  if (image) {
705
694
  imagePath = image.src;
706
695
  }
707
-
708
696
  return imagePath;
709
- } // 参数改变
710
-
697
+ }
711
698
 
699
+ // 参数改变
712
700
  function paramsChanged(key) {
713
701
  switch (key) {
714
702
  case "fillStyle":
715
703
  // 填充样式
716
704
  viewModel.changeFilltyle(formItem.fillStyle);
717
705
  break;
718
-
719
706
  case "colorTableDegree":
720
707
  // 自定义填充样式区间
721
708
  refactorArr("degree");
722
709
  viewModel.setColorTableDegree(formItem.colorTableDegree);
723
710
  break;
724
-
725
711
  case "colorTable":
726
712
  // 自定义填充样式颜色
727
713
  refactorArr("color");
728
714
  viewModel.setColorTable(formItem.colorTable);
729
715
  break;
730
-
731
716
  case "colorImage":
732
717
  // 填充样式
733
718
  var imageUrl = getImagePath(formItem.colorImage);
734
719
  viewModel.setColorImage(imageUrl);
735
720
  break;
736
-
737
721
  case "minSlope":
738
722
  // 填充样式
739
723
  viewModel.setSlopeFilterMin(formItem.minSlope);
740
724
  break;
741
-
742
725
  case "maxSlope":
743
726
  // 填充样式
744
727
  viewModel.setSlopeFilterMax(formItem.maxSlope);
745
728
  break;
746
-
747
729
  case "slopeColorAlpha":
748
730
  // 填充样式
749
731
  viewModel.setSlopeFilterColor(formItem.slopeColorText, formItem.slopeColorAlpha);
750
732
  break;
751
-
752
733
  case "slopeColorText":
753
734
  // 填充样式
754
735
  viewModel.setSlopeFilterColor(formItem.slopeColorText, formItem.slopeColorAlpha);
755
736
  break;
756
-
757
737
  default:
758
738
  break;
759
739
  }
760
- } // 开始分析
761
-
762
-
740
+ }
741
+ // 开始分析
763
742
  function startAnalysis() {
764
743
  clearResult();
765
744
  viewModel && viewModel.start();
766
- } //清除结果
767
-
768
-
745
+ }
746
+ //清除结果
769
747
  function clearResult() {
770
748
  viewModel && viewModel.clear();
771
- } // 销毁
772
-
773
-
749
+ }
750
+ // 销毁
774
751
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
775
752
  viewModel && viewModel.destroy();
776
753
  });
777
-
778
754
  __expose({
779
755
  refactorArr,
780
756
  getImagePath,
@@ -782,36 +758,21 @@ const __default__ = {
782
758
  startAnalysis,
783
759
  clearResult
784
760
  });
785
-
786
761
  return (_ctx, _cache) => {
787
762
  const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
788
-
789
763
  const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
790
-
791
764
  const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
792
-
793
765
  const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
794
-
795
766
  const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
796
-
797
767
  const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
798
-
799
768
  const _component_kq_color_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-color-picker");
800
-
801
769
  const _component_kq_radio = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio");
802
-
803
770
  const _component_kq_radio_group = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio-group");
804
-
805
771
  const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
806
-
807
772
  const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
808
-
809
773
  const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
810
-
811
774
  const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
812
-
813
775
  const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
814
-
815
776
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
816
777
  class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-slope-analysis", {
817
778
  'kq-box-shadow': __props.showShadow
@@ -822,18 +783,12 @@ const __default__ = {
822
783
  key: 0,
823
784
  ref_key: "headerTempRef",
824
785
  ref: headerTempRef
825
- }, null, 512
826
- /* NEED_PATCH */
827
- )) : (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, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle !== 'slopeFilter' ? ((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, {
786
+ }, 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, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle !== 'slopeFilter' ? ((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, {
828
787
  key: 0,
829
788
  class: "kq3d-slope-analysis-tip"
830
789
  }, {
831
- 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
832
- /* TEXT */
833
- )]),
834
- _: 1
835
- /* STABLE */
836
-
790
+ 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 */)]),
791
+ _: 1 /* STABLE */
837
792
  })) : (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_collapse, {
838
793
  "model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue
839
794
  }, {
@@ -861,34 +816,18 @@ const __default__ = {
861
816
  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_option, {
862
817
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).customColorScheme,
863
818
  value: "tableColor"
864
- }, null, 8
865
- /* PROPS */
866
- , ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
819
+ }, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
867
820
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).gradientTexture,
868
821
  value: "colorImage"
869
- }, null, 8
870
- /* PROPS */
871
- , ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
822
+ }, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
872
823
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).slopeFilter,
873
824
  value: "slopeFilter"
874
- }, null, 8
875
- /* PROPS */
876
- , ["label"])]),
877
- _: 1
878
- /* STABLE */
879
-
880
- }, 8
881
- /* PROPS */
882
- , ["modelValue"])]),
883
- _: 1
884
- /* STABLE */
885
-
886
- }, 8
887
- /* PROPS */
888
- , ["label"])]),
889
- _: 1
890
- /* STABLE */
891
-
825
+ }, null, 8 /* PROPS */, ["label"])]),
826
+ _: 1 /* STABLE */
827
+ }, 8 /* PROPS */, ["modelValue"])]),
828
+ _: 1 /* STABLE */
829
+ }, 8 /* PROPS */, ["label"])]),
830
+ _: 1 /* STABLE */
892
831
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle === 'tableColor' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
893
832
  style: {
894
833
  "display": "flex"
@@ -897,25 +836,15 @@ const __default__ = {
897
836
  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, {
898
837
  span: 18
899
838
  }, {
900
- 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).setSlopeRange), 1
901
- /* TEXT */
902
- )]),
903
- _: 1
904
- /* STABLE */
905
-
839
+ 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).setSlopeRange), 1 /* TEXT */)]),
840
+ _: 1 /* STABLE */
906
841
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
907
842
  span: 6
908
843
  }, {
909
- 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).setColor), 1
910
- /* TEXT */
911
- )]),
912
- _: 1
913
- /* STABLE */
914
-
844
+ 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).setColor), 1 /* TEXT */)]),
845
+ _: 1 /* STABLE */
915
846
  })]),
916
- _: 1
917
- /* STABLE */
918
-
847
+ _: 1 /* STABLE */
919
848
  }), ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList), (item, index) => {
920
849
  return (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, {
921
850
  key: index,
@@ -936,9 +865,7 @@ const __default__ = {
936
865
  disabled: true,
937
866
  onChange: _cache[2] || (_cache[2] = $event => paramsChanged('colorTableDegree')),
938
867
  "controls-position": "right"
939
- }, null, 8
940
- /* PROPS */
941
- , ["modelValue", "onUpdate:modelValue"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), index > 1 && index < (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList).length ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_input_number, {
868
+ }, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), index > 1 && index < (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList).length ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_input_number, {
942
869
  key: 1,
943
870
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList)[index - 1].colorTableDegree,
944
871
  "onUpdate:modelValue": $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList)[index - 1].colorTableDegree = $event,
@@ -946,11 +873,7 @@ const __default__ = {
946
873
  step: 1,
947
874
  onChange: _cache[3] || (_cache[3] = $event => paramsChanged('colorTableDegree')),
948
875
  "controls-position": "right"
949
- }, null, 8
950
- /* PROPS */
951
- , ["modelValue", "onUpdate:modelValue"])) : (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)("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).to), 1
952
- /* TEXT */
953
- ), index > 0 && index < (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList).length - 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_input_number, {
876
+ }, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue"])) : (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)("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).to), 1 /* TEXT */), index > 0 && index < (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList).length - 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_input_number, {
954
877
  key: 2,
955
878
  modelValue: item.colorTableDegree,
956
879
  "onUpdate:modelValue": $event => item.colorTableDegree = $event,
@@ -959,9 +882,7 @@ const __default__ = {
959
882
  step: 1,
960
883
  onChange: _cache[4] || (_cache[4] = $event => paramsChanged('colorTableDegree')),
961
884
  "controls-position": "right"
962
- }, null, 8
963
- /* PROPS */
964
- , ["modelValue", "onUpdate:modelValue", "min", "max"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), index === (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList).length - 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_input_number, {
885
+ }, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue", "min", "max"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), index === (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList).length - 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_input_number, {
965
886
  key: 3,
966
887
  modelValue: item.colorTableDegree,
967
888
  "onUpdate:modelValue": $event => item.colorTableDegree = $event,
@@ -969,41 +890,21 @@ const __default__ = {
969
890
  disabled: true,
970
891
  onChange: _cache[5] || (_cache[5] = $event => paramsChanged('colorTableDegree')),
971
892
  "controls-position": "right"
972
- }, null, 8
973
- /* PROPS */
974
- , ["modelValue", "onUpdate:modelValue"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
975
- _: 2
976
- /* DYNAMIC */
977
-
978
- }, 1024
979
- /* DYNAMIC_SLOTS */
980
- ), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
893
+ }, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
894
+ _: 2 /* DYNAMIC */
895
+ }, 1024 /* DYNAMIC_SLOTS */), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
981
896
  span: 6
982
897
  }, {
983
898
  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_color_picker, {
984
899
  modelValue: item.colorTable,
985
900
  "onUpdate:modelValue": $event => item.colorTable = $event,
986
901
  onChange: _cache[6] || (_cache[6] = $event => paramsChanged('colorTable'))
987
- }, null, 8
988
- /* PROPS */
989
- , ["modelValue", "onUpdate:modelValue"])]),
990
- _: 2
991
- /* DYNAMIC */
992
-
993
- }, 1024
994
- /* DYNAMIC_SLOTS */
995
- )], 64
996
- /* STABLE_FRAGMENT */
997
- )) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
998
- _: 2
999
- /* DYNAMIC */
1000
-
1001
- }, 1024
1002
- /* DYNAMIC_SLOTS */
1003
- );
1004
- }), 128
1005
- /* KEYED_FRAGMENT */
1006
- ))])) : (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).fillStyle === 'colorImage' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_4, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
902
+ }, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue"])]),
903
+ _: 2 /* DYNAMIC */
904
+ }, 1024 /* DYNAMIC_SLOTS */)], 64 /* STABLE_FRAGMENT */)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
905
+ _: 2 /* DYNAMIC */
906
+ }, 1024 /* DYNAMIC_SLOTS */);
907
+ }), 128 /* KEYED_FRAGMENT */))])) : (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).fillStyle === 'colorImage' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_4, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
1007
908
  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_form_item, {
1008
909
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).gradientColor
1009
910
  }, {
@@ -1013,9 +914,7 @@ const __default__ = {
1013
914
  }
1014
915
  }, {
1015
916
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_5, _hoisted_6, _hoisted_7]),
1016
- _: 1
1017
- /* STABLE */
1018
-
917
+ _: 1 /* STABLE */
1019
918
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio_group, {
1020
919
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).colorImage,
1021
920
  "onUpdate:modelValue": _cache[7] || (_cache[7] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).colorImage = $event),
@@ -1030,33 +929,15 @@ const __default__ = {
1030
929
  class: "kq3d-slope-analysis-legend",
1031
930
  src: item.src,
1032
931
  alt: ""
1033
- }, null, 8
1034
- /* PROPS */
1035
- , _hoisted_8)]),
1036
- _: 2
1037
- /* DYNAMIC */
1038
-
1039
- }, 1032
1040
- /* PROPS, DYNAMIC_SLOTS */
1041
- , ["label"]);
1042
- }), 64
1043
- /* STABLE_FRAGMENT */
1044
- ))]),
1045
- _: 1
1046
- /* STABLE */
1047
-
1048
- }, 8
1049
- /* PROPS */
1050
- , ["modelValue"])]),
1051
- _: 1
1052
- /* STABLE */
1053
-
1054
- }, 8
1055
- /* PROPS */
1056
- , ["label"])]),
1057
- _: 1
1058
- /* STABLE */
1059
-
932
+ }, null, 8 /* PROPS */, _hoisted_8)]),
933
+ _: 2 /* DYNAMIC */
934
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["label"]);
935
+ }), 64 /* STABLE_FRAGMENT */))]),
936
+ _: 1 /* STABLE */
937
+ }, 8 /* PROPS */, ["modelValue"])]),
938
+ _: 1 /* STABLE */
939
+ }, 8 /* PROPS */, ["label"])]),
940
+ _: 1 /* STABLE */
1060
941
  })])) : (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).fillStyle === 'slopeFilter' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_9, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
1061
942
  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_form_item, {
1062
943
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).minSlope
@@ -1076,12 +957,8 @@ const __default__ = {
1076
957
  min: 0,
1077
958
  max: 90,
1078
959
  onChange: _cache[10] || (_cache[10] = $event => paramsChanged('minSlope'))
1079
- }, null, 8
1080
- /* PROPS */
1081
- , ["modelValue"])]),
1082
- _: 1
1083
- /* STABLE */
1084
-
960
+ }, null, 8 /* PROPS */, ["modelValue"])]),
961
+ _: 1 /* STABLE */
1085
962
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1086
963
  span: 8
1087
964
  }, {
@@ -1093,26 +970,14 @@ const __default__ = {
1093
970
  max: 90,
1094
971
  "controls-position": "right",
1095
972
  onChange: _cache[12] || (_cache[12] = $event => paramsChanged('minSlope'))
1096
- }, null, 8
1097
- /* PROPS */
1098
- , ["modelValue"])]),
1099
- _: 1
1100
- /* STABLE */
1101
-
973
+ }, null, 8 /* PROPS */, ["modelValue"])]),
974
+ _: 1 /* STABLE */
1102
975
  })]),
1103
- _: 1
1104
- /* STABLE */
1105
-
976
+ _: 1 /* STABLE */
1106
977
  })]),
1107
- _: 1
1108
- /* STABLE */
1109
-
1110
- }, 8
1111
- /* PROPS */
1112
- , ["label"])]),
1113
- _: 1
1114
- /* STABLE */
1115
-
978
+ _: 1 /* STABLE */
979
+ }, 8 /* PROPS */, ["label"])]),
980
+ _: 1 /* STABLE */
1116
981
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
1117
982
  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_form_item, {
1118
983
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).maxSlope
@@ -1132,12 +997,8 @@ const __default__ = {
1132
997
  min: 0,
1133
998
  max: 90,
1134
999
  onChange: _cache[14] || (_cache[14] = $event => paramsChanged('maxSlope'))
1135
- }, null, 8
1136
- /* PROPS */
1137
- , ["modelValue"])]),
1138
- _: 1
1139
- /* STABLE */
1140
-
1000
+ }, null, 8 /* PROPS */, ["modelValue"])]),
1001
+ _: 1 /* STABLE */
1141
1002
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1142
1003
  span: 8
1143
1004
  }, {
@@ -1149,26 +1010,14 @@ const __default__ = {
1149
1010
  max: 90,
1150
1011
  "controls-position": "right",
1151
1012
  onChange: _cache[16] || (_cache[16] = $event => paramsChanged('maxSlope'))
1152
- }, null, 8
1153
- /* PROPS */
1154
- , ["modelValue"])]),
1155
- _: 1
1156
- /* STABLE */
1157
-
1013
+ }, null, 8 /* PROPS */, ["modelValue"])]),
1014
+ _: 1 /* STABLE */
1158
1015
  })]),
1159
- _: 1
1160
- /* STABLE */
1161
-
1016
+ _: 1 /* STABLE */
1162
1017
  })]),
1163
- _: 1
1164
- /* STABLE */
1165
-
1166
- }, 8
1167
- /* PROPS */
1168
- , ["label"])]),
1169
- _: 1
1170
- /* STABLE */
1171
-
1018
+ _: 1 /* STABLE */
1019
+ }, 8 /* PROPS */, ["label"])]),
1020
+ _: 1 /* STABLE */
1172
1021
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
1173
1022
  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_form_item, {
1174
1023
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).transparents
@@ -1188,12 +1037,8 @@ const __default__ = {
1188
1037
  max: 1,
1189
1038
  step: 0.01,
1190
1039
  onChange: _cache[18] || (_cache[18] = $event => paramsChanged('slopeColorAlpha'))
1191
- }, null, 8
1192
- /* PROPS */
1193
- , ["modelValue", "step"])]),
1194
- _: 1
1195
- /* STABLE */
1196
-
1040
+ }, null, 8 /* PROPS */, ["modelValue", "step"])]),
1041
+ _: 1 /* STABLE */
1197
1042
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1198
1043
  span: 8
1199
1044
  }, {
@@ -1205,26 +1050,14 @@ const __default__ = {
1205
1050
  step: 0.01,
1206
1051
  "controls-position": "right",
1207
1052
  onChange: _cache[20] || (_cache[20] = $event => paramsChanged('slopeColorAlpha'))
1208
- }, null, 8
1209
- /* PROPS */
1210
- , ["modelValue", "step"])]),
1211
- _: 1
1212
- /* STABLE */
1213
-
1053
+ }, null, 8 /* PROPS */, ["modelValue", "step"])]),
1054
+ _: 1 /* STABLE */
1214
1055
  })]),
1215
- _: 1
1216
- /* STABLE */
1217
-
1056
+ _: 1 /* STABLE */
1218
1057
  })]),
1219
- _: 1
1220
- /* STABLE */
1221
-
1222
- }, 8
1223
- /* PROPS */
1224
- , ["label"])]),
1225
- _: 1
1226
- /* STABLE */
1227
-
1058
+ _: 1 /* STABLE */
1059
+ }, 8 /* PROPS */, ["label"])]),
1060
+ _: 1 /* STABLE */
1228
1061
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
1229
1062
  style: {
1230
1063
  "padding-bottom": "8px"
@@ -1237,67 +1070,32 @@ const __default__ = {
1237
1070
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slopeColorText,
1238
1071
  "onUpdate:modelValue": _cache[21] || (_cache[21] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slopeColorText = $event),
1239
1072
  onChange: _cache[22] || (_cache[22] = $event => paramsChanged('slopeColorText'))
1240
- }, null, 8
1241
- /* PROPS */
1242
- , ["modelValue"])]),
1243
- _: 1
1244
- /* STABLE */
1245
-
1246
- }, 8
1247
- /* PROPS */
1248
- , ["label"])]),
1249
- _: 1
1250
- /* STABLE */
1251
-
1073
+ }, null, 8 /* PROPS */, ["modelValue"])]),
1074
+ _: 1 /* STABLE */
1075
+ }, 8 /* PROPS */, ["label"])]),
1076
+ _: 1 /* STABLE */
1252
1077
  })])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
1253
- _: 1
1254
- /* STABLE */
1255
-
1256
- }, 8
1257
- /* PROPS */
1258
- , ["label-width"])]),
1259
- _: 1
1260
- /* STABLE */
1261
-
1262
- }, 8
1263
- /* PROPS */
1264
- , ["title"])]),
1265
- _: 1
1266
- /* STABLE */
1267
-
1268
- }, 8
1269
- /* PROPS */
1270
- , ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_10, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1078
+ _: 1 /* STABLE */
1079
+ }, 8 /* PROPS */, ["label-width"])]),
1080
+ _: 1 /* STABLE */
1081
+ }, 8 /* PROPS */, ["title"])]),
1082
+ _: 1 /* STABLE */
1083
+ }, 8 /* PROPS */, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_10, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1271
1084
  onClick: _cache[23] || (_cache[23] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
1272
1085
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
1273
1086
  type: "primary"
1274
1087
  }, {
1275
- 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).startAnalysis), 1
1276
- /* TEXT */
1277
- )]),
1278
- _: 1
1279
- /* STABLE */
1280
-
1281
- }, 8
1282
- /* PROPS */
1283
- , ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1088
+ 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).startAnalysis), 1 /* TEXT */)]),
1089
+ _: 1 /* STABLE */
1090
+ }, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1284
1091
  onClick: _cache[24] || (_cache[24] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
1285
1092
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
1286
1093
  }, {
1287
- 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).clearResult), 1
1288
- /* TEXT */
1289
- )]),
1290
- _: 1
1291
- /* STABLE */
1292
-
1293
- }, 8
1294
- /* PROPS */
1295
- , ["title"])])])], 2
1296
- /* CLASS */
1297
- );
1094
+ 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).clearResult), 1 /* TEXT */)]),
1095
+ _: 1 /* STABLE */
1096
+ }, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
1298
1097
  };
1299
1098
  }
1300
-
1301
1099
  }));
1302
1100
  ;// CONCATENATED MODULE: ./src/webgl/slopeanalysis/SlopeAnalysis.vue?vue&type=script&setup=true&lang=js
1303
1101
 
@@ -1319,13 +1117,11 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
1319
1117
 
1320
1118
 
1321
1119
 
1322
-
1323
1120
  SlopeAnalysis.install = (Vue, opts) => {
1324
1121
  init_js_default()(Vue, opts);
1325
1122
  Vue.component(SlopeAnalysis.name, SlopeAnalysis);
1326
1123
  };
1327
1124
 
1328
-
1329
1125
  }();
1330
1126
  /******/ return __webpack_exports__;
1331
1127
  /******/ })()