@kq_npm/client3d_webgl_vue 4.5.29-beta → 4.5.30

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 (68) hide show
  1. package/adddata/index.js +518 -262
  2. package/adddata/style/adddata.css +1 -1
  3. package/aspectanalysis/index.js +201 -123
  4. package/baseterraingallery/index.js +123 -94
  5. package/baseterraingallery/style/baseterraingallery.css +1 -1
  6. package/boxclip/index.js +442 -249
  7. package/clientPrint/index.js +27088 -14116
  8. package/clientPrint/style/clientPrint.css +1 -1
  9. package/comparemap/index.js +243 -213
  10. package/compass/index.js +68 -74
  11. package/excavatefillanalysis/index.js +225 -143
  12. package/fixedzoomin/index.js +82 -72
  13. package/fixedzoomout/index.js +80 -71
  14. package/flight/index.js +371 -257
  15. package/flight/style/flight.css +1 -1
  16. package/floodanalysis/index.js +347 -199
  17. package/geologicalbodyanalysis/index.js +260 -166
  18. package/gpuspatialquery/index.js +359 -198
  19. package/hawkeye/index.js +100 -131
  20. package/headertemp/index.js +25 -14
  21. package/heatmap3d/index.js +678 -366
  22. package/heatmap3d/style/heatmap3d.css +1 -1
  23. package/index.js +20310 -7159
  24. package/isolineanalysis/index.js +1202 -504
  25. package/light/index.js +494 -349
  26. package/limitheightanalysis/index.js +223 -159
  27. package/measure/index.js +353 -198
  28. package/modelFlat/index.js +204 -167
  29. package/modelexcavate/index.js +191 -130
  30. package/modelfilter/index.js +271 -179
  31. package/modelprofileanalysis/index.js +316 -206
  32. package/modelselect/index.js +147 -142
  33. package/package.json +1 -1
  34. package/particleeffect/index.js +403 -225
  35. package/planeclip/index.js +300 -198
  36. package/resetview/index.js +52 -66
  37. package/roller/index.js +372 -304
  38. package/scaneffect/index.js +537 -230
  39. package/sceneadvancedtoimage/index.js +358 -205
  40. package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -1
  41. package/sceneapp/index.js +27088 -14116
  42. package/sceneset/index.js +864 -350
  43. package/scenetohdimage/index.js +297 -159
  44. package/scenetohdimage/style/scenetohdimage.css +1 -1
  45. package/sceneview/index.js +27088 -14116
  46. package/sceneview/style/sceneview.css +1 -1
  47. package/screenshot/index.js +301 -257
  48. package/shadowanalysis/index.js +405 -217
  49. package/sightlineanalysis/index.js +271 -183
  50. package/sightlineanalysis/style/divpoint.css +1 -1
  51. package/skylineanalysis/index.js +308 -160
  52. package/slopeanalysis/index.js +397 -227
  53. package/slopeaspectanalysis/index.js +485 -259
  54. package/statusbar/index.js +65 -88
  55. package/style.css +1 -1
  56. package/terrainoperation/index.js +237 -176
  57. package/terrainprofileanalysis/index.js +138 -120
  58. package/typhoontrac/index.js +970 -234
  59. package/typhoontrac/style/typhoontrac.css +1 -1
  60. package/underground/index.js +61 -70
  61. package/videofusion/index.js +488 -265
  62. package/videoproject/index.js +490 -271
  63. package/viewshedanalysis/index.js +255 -151
  64. package/weathereffect/index.js +317 -166
  65. package/windyslicing/index.js +1947 -0
  66. package/windyslicing/style/index.js +3 -0
  67. package/windyslicing/style/windyslicing.css +1 -0
  68. package/wireframesketch/index.js +142 -110
@@ -2,11 +2,11 @@
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
3
  module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/_utils/const-image"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util"));
4
4
  else if(typeof define === 'function' && define.amd)
5
- define(["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/_utils/const-image", "@kq_npm/client_common_vue/init.js", "@kq_npm/client_common_vue/_utils/util"], factory);
6
- else {
7
- var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/_utils/const-image"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/_utils/const-image"], root["@kq_npm/client_common_vue/init.js"], root["@kq_npm/client_common_vue/_utils/util"]);
8
- for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
- }
5
+ define("@kq_npm/client3d_webgl_vue", ["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/_utils/const-image", "@kq_npm/client_common_vue/init.js", "@kq_npm/client_common_vue/_utils/util"], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["@kq_npm/client3d_webgl_vue"] = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/_utils/const-image"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util"));
8
+ else
9
+ root["@kq_npm/client3d_webgl_vue"] = factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/_utils/const-image"], root["@kq_npm/client_common_vue/init.js"], root["@kq_npm/client_common_vue/_utils/util"]);
10
10
  })(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__6277__, __WEBPACK_EXTERNAL_MODULE__7997__, __WEBPACK_EXTERNAL_MODULE__3458__) {
11
11
  return /******/ (function() { // webpackBootstrap
12
12
  /******/ "use strict";
@@ -25,10 +25,12 @@ return /******/ (function() { // webpackBootstrap
25
25
  */
26
26
 
27
27
 
28
+
28
29
  element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
29
30
  _init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
30
31
  Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
31
32
  };
33
+
32
34
  /* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
33
35
 
34
36
  /***/ }),
@@ -40,27 +42,6 @@ module.exports = require("@kq_npm/client_icons_vue");
40
42
 
41
43
  /***/ }),
42
44
 
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
-
64
45
  /***/ 9389:
65
46
  /***/ (function(module) {
66
47
 
@@ -110,59 +91,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
110
91
 
111
92
  /***/ }),
112
93
 
113
- /***/ 5301:
94
+ /***/ 8270:
114
95
  /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
115
96
 
116
-
117
- // EXPORTS
118
- __webpack_require__.d(__webpack_exports__, {
119
- "Z": function() { return /* binding */ _defineProperty; }
120
- });
121
-
122
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
123
- function _typeof(o) {
124
- "@babel/helpers - typeof";
125
-
126
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
127
- return typeof o;
128
- } : function (o) {
129
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
130
- }, _typeof(o);
131
- }
132
-
133
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
134
-
135
- function toPrimitive(t, r) {
136
- if ("object" != _typeof(t) || !t) return t;
137
- var e = t[Symbol.toPrimitive];
138
- if (void 0 !== e) {
139
- var i = e.call(t, r || "default");
140
- if ("object" != _typeof(i)) return i;
141
- throw new TypeError("@@toPrimitive must return a primitive value.");
97
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
98
+ /* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
99
+ /* harmony export */ });
100
+ function _defineProperty(obj, key, value) {
101
+ if (key in obj) {
102
+ Object.defineProperty(obj, key, {
103
+ value: value,
104
+ enumerable: true,
105
+ configurable: true,
106
+ writable: true
107
+ });
108
+ } else {
109
+ obj[key] = value;
142
110
  }
143
- return ("string" === r ? String : Number)(t);
144
- }
145
-
146
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
147
111
 
148
-
149
- function toPropertyKey(t) {
150
- var i = toPrimitive(t, "string");
151
- return "symbol" == _typeof(i) ? i : i + "";
112
+ return obj;
152
113
  }
153
114
 
154
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
155
-
156
- function _defineProperty(e, r, t) {
157
- return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
158
- value: t,
159
- enumerable: !0,
160
- configurable: !0,
161
- writable: !0
162
- }) : e[r] = t, e;
163
- }
164
-
165
-
166
115
  /***/ })
167
116
 
168
117
  /******/ });
@@ -245,18 +194,12 @@ __webpack_require__.d(__webpack_exports__, {
245
194
  "default": function() { return /* reexport */ SlopeAnalysis; }
246
195
  });
247
196
 
248
- // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
249
- var esnext_iterator_constructor_js_ = __webpack_require__(8470);
250
- // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.find.js"
251
- var esnext_iterator_find_js_ = __webpack_require__(8697);
252
- // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.map.js"
253
- var esnext_iterator_map_js_ = __webpack_require__(2170);
254
197
  // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
255
198
  var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
256
199
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
257
200
  var gis_utils_ = __webpack_require__(7135);
258
- // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
259
- var defineProperty = __webpack_require__(5301);
201
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
202
+ var defineProperty = __webpack_require__(8270);
260
203
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
261
204
  var const_image_ = __webpack_require__(6277);
262
205
  // EXTERNAL MODULE: ./src/common/_ui/message/index.js
@@ -264,25 +207,25 @@ var message = __webpack_require__(1349);
264
207
  ;// CONCATENATED MODULE: ./src/webgl/slopeanalysis/SlopeAnalysisViewModel.js
265
208
 
266
209
 
267
-
268
210
  /*
269
211
  * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
270
212
  * All rights reserved.
271
213
  */
214
+ // 分析逻辑类
272
215
 
273
- // 分析逻辑类
274
216
 
275
217
  class SlopeAnalysisViewModel {
218
+ // 坡度坡向三维对象
276
219
  constructor(scenceView, viewModel) {
277
220
  (0,defineProperty/* default */.Z)(this, "_slopeAnalysis", null);
278
- // 坡度坡向三维对象
221
+
279
222
  (0,defineProperty/* default */.Z)(this, "_globaOptions", {
280
223
  //全局参数
281
224
  viewer: null,
282
225
  _drawManager: null
283
226
  });
284
- (0,defineProperty/* default */.Z)(this, "_colorImages", [
285
- //渐变图片集合
227
+
228
+ (0,defineProperty/* default */.Z)(this, "_colorImages", [//渐变图片集合
286
229
  {
287
230
  value: "0",
288
231
  src: const_image_.RED_TO_PURPLE_URL
@@ -293,7 +236,9 @@ class SlopeAnalysisViewModel {
293
236
  value: "2",
294
237
  src: const_image_.GREEN_TO_BLUE_URL
295
238
  }]);
239
+
296
240
  (0,defineProperty/* default */.Z)(this, "_language", {});
241
+
297
242
  this._language = scenceView._language;
298
243
  this._globaOptions.viewer = scenceView._viewer;
299
244
  this._globaOptions.viewModel = {
@@ -314,9 +259,9 @@ class SlopeAnalysisViewModel {
314
259
  };
315
260
  this._globaOptions.viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
316
261
  // this._globaOptions.viewer.scene.globe.enableLighting = true;
262
+
317
263
  this._globaOptions._drawManager = scenceView._drawManager;
318
- var that = this;
319
- // that._slopeAnalysis = new Cesium.Kq3dSlope({
264
+ var that = this; // that._slopeAnalysis = new Cesium.Kq3dSlope({
320
265
  // viewer: that._globaOptions.viewer,
321
266
  // positions: [
322
267
  // new Cesium.Cartesian3(528486.4951355414, 5591866.071664512, 3011848.5874731047),
@@ -335,8 +280,8 @@ class SlopeAnalysisViewModel {
335
280
 
336
281
  this._globaOptions._drawFinishedEventListener = this._globaOptions._drawManager.drawFinishedEvent.addEventListener(shape => {
337
282
  if (shape) {
338
- that._globaOptions.viewModel.positions = shape._controlPoints;
339
- // 实例化分析对象
283
+ that._globaOptions.viewModel.positions = shape._controlPoints; // 实例化分析对象
284
+
340
285
  if (!that._slopeAnalysis) {
341
286
  switch (that._globaOptions.viewModel.fillStyle) {
342
287
  case "tableColor":
@@ -348,6 +293,7 @@ class SlopeAnalysisViewModel {
348
293
  colorTable: that._globaOptions.viewModel.colorTable
349
294
  });
350
295
  break;
296
+
351
297
  case "colorImage":
352
298
  that._slopeAnalysis = new Cesium.Kq3dSlope({
353
299
  viewer: that._globaOptions.viewer,
@@ -356,6 +302,7 @@ class SlopeAnalysisViewModel {
356
302
  colorImage: that._globaOptions.viewModel.imageSrc
357
303
  });
358
304
  break;
305
+
359
306
  case "slopeFilter":
360
307
  that._slopeAnalysis = new Cesium.Kq3dSlope({
361
308
  viewer: that._globaOptions.viewer,
@@ -370,20 +317,26 @@ class SlopeAnalysisViewModel {
370
317
  } else {
371
318
  that._slopeAnalysis.positions = that._globaOptions.viewModel.positions;
372
319
  }
320
+
373
321
  that._globaOptions._drawManager.clear();
374
322
  }
375
323
  });
376
- }
377
- //获取图片路径
324
+ } //获取图片路径
325
+
326
+
378
327
  getImagePath(value) {
379
328
  var imagePath = '';
329
+
380
330
  var image = this._colorImages.find(item => item.value === value);
331
+
381
332
  if (image) {
382
333
  imagePath = image.src;
383
334
  }
335
+
384
336
  return imagePath;
385
- }
386
- // 开始分析
337
+ } // 开始分析
338
+
339
+
387
340
  start() {
388
341
  // 判断是否添加了地形
389
342
  if (this._globaOptions.viewModel.viewer.terrainProvider.availability) {
@@ -418,11 +371,13 @@ class SlopeAnalysisViewModel {
418
371
  type: "warning"
419
372
  });
420
373
  }
421
- }
422
- //修改填充样式
374
+ } //修改填充样式
375
+
376
+
423
377
  changeFilltyle(key) {
424
378
  this._globaOptions.viewModel.fillStyle = key;
425
379
  if (!this._slopeAnalysis) return;
380
+
426
381
  switch (key) {
427
382
  case "tableColor":
428
383
  if (this._slopeAnalysis.isFilter) this._slopeAnalysis.isFilter = false;
@@ -431,6 +386,7 @@ class SlopeAnalysisViewModel {
431
386
  this._slopeAnalysis.colorTableDegree = this._globaOptions.viewModel.colorTableDegree;
432
387
  this._slopeAnalysis.colorTable = this._globaOptions.viewModel.colorTable;
433
388
  break;
389
+
434
390
  case "colorImage":
435
391
  if (this._slopeAnalysis.isFilter) this._slopeAnalysis.isFilter = false;
436
392
  this._slopeAnalysis.colorTableDegree = [];
@@ -438,70 +394,85 @@ class SlopeAnalysisViewModel {
438
394
  this._slopeAnalysis.color = null;
439
395
  this._slopeAnalysis.colorImage = this._globaOptions.viewModel.imageSrc;
440
396
  break;
397
+
441
398
  case "slopeFilter":
442
399
  this._slopeAnalysis.colorImage = null;
443
400
  this._slopeAnalysis.isFilter = true;
444
401
  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));
445
402
  break;
446
403
  }
447
- }
448
- // 设置填充纹理值
404
+ } // 设置填充纹理值
405
+
406
+
449
407
  setColorTableDegree(newValue) {
450
408
  this._globaOptions.viewModel.colorTableDegree = newValue;
451
409
  if (this._slopeAnalysis) this._slopeAnalysis.colorTableDegree = this._globaOptions.viewModel.colorTableDegree;
452
- }
453
- // 设置填充纹理颜色
410
+ } // 设置填充纹理颜色
411
+
412
+
454
413
  setColorTable(newValue) {
455
414
  this._globaOptions.viewModel.colorTable = newValue;
456
415
  if (this._slopeAnalysis) this._slopeAnalysis.colorTable = this._globaOptions.viewModel.colorTable;
457
- }
458
- // 设置填充纹理
416
+ } // 设置填充纹理
417
+
418
+
459
419
  setColorImage(newValue) {
460
420
  this._globaOptions.viewModel.imageSrc = newValue;
461
421
  if (this._slopeAnalysis) this._slopeAnalysis.colorImage = this._globaOptions.viewModel.imageSrc;
462
- }
463
- // 设置渐变纹理
422
+ } // 设置渐变纹理
423
+
424
+
464
425
  getColorLine(key) {
465
426
  var path = "";
427
+
466
428
  switch (key) {
467
429
  case 0:
468
430
  path = const_image_.RED_TO_PURPLE_URL;
469
431
  break;
432
+
470
433
  case 1:
471
434
  path = const_image_.PURPLE_TO_YELLOW_URL;
472
435
  break;
436
+
473
437
  case 2:
474
438
  path = const_image_.GREEN_TO_BLUE_URL;
475
439
  break;
440
+
476
441
  default:
477
442
  path = const_image_.RED_TO_PURPLE_URL;
478
443
  break;
479
444
  }
445
+
480
446
  return path;
481
- }
482
- // 设置坡度过滤样式
447
+ } // 设置坡度过滤样式
448
+
449
+
483
450
  setSlopeFilterColor(slopeColorText, slopeColorAlpha) {
484
451
  this._globaOptions.viewModel.slopeColorText = slopeColorText;
485
452
  this._globaOptions.viewModel.slopeColorAlpha = Number(slopeColorAlpha);
486
453
  if (this._slopeAnalysis) this._slopeAnalysis.color = Cesium.Color.fromCssColorString(slopeColorText).withAlpha(Number(slopeColorAlpha));
487
- }
488
- // 设置最小坡度值
454
+ } // 设置最小坡度值
455
+
456
+
489
457
  setSlopeFilterMin(newValue) {
490
458
  this._globaOptions.viewModel.minSlope = Number(newValue);
491
459
  if (this._slopeAnalysis) this._slopeAnalysis.minSlope = this._globaOptions.viewModel.minSlope;
492
- }
493
- // 设置最大坡度值
460
+ } // 设置最大坡度值
461
+
462
+
494
463
  setSlopeFilterMax(newValue) {
495
464
  this._globaOptions.viewModel.maxSlope = Number(newValue);
496
465
  if (this._slopeAnalysis) this._slopeAnalysis.maxSlope = this._globaOptions.viewModel.maxSlope;
497
- }
498
- // 清除全部结果
466
+ } // 清除全部结果
467
+
468
+
499
469
  clear() {
500
470
  this._globaOptions._drawManager && this._globaOptions._drawManager.stopDraw();
501
471
  this._slopeAnalysis && this._slopeAnalysis.destroy();
502
472
  this._slopeAnalysis = null;
503
- }
504
- // 销毁
473
+ } // 销毁
474
+
475
+
505
476
  destroy() {
506
477
  // 移除监听事件
507
478
  this._globaOptions._drawFinishedEventListener && this._globaOptions._drawFinishedEventListener();
@@ -509,6 +480,7 @@ class SlopeAnalysisViewModel {
509
480
  this._slopeAnalysis && this._slopeAnalysis.destroy();
510
481
  this._slopeAnalysis = null;
511
482
  }
483
+
512
484
  }
513
485
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
514
486
  var client_icons_vue_ = __webpack_require__(348);
@@ -516,10 +488,7 @@ var client_icons_vue_ = __webpack_require__(348);
516
488
  var util_ = __webpack_require__(3458);
517
489
  // EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
518
490
  var vue_i18n_cjs_js_ = __webpack_require__(7080);
519
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/slopeanalysis/SlopeAnalysis.vue?vue&type=script&setup=true&lang=js
520
-
521
-
522
-
491
+ ;// 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
523
492
 
524
493
  const _hoisted_1 = {
525
494
  class: "kq3d-slope-analysis-box"
@@ -533,11 +502,21 @@ const _hoisted_3 = {
533
502
  const _hoisted_4 = {
534
503
  key: 1
535
504
  };
536
- const _hoisted_5 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", null, "0°", -1 /* HOISTED */);
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
+
537
510
  const _hoisted_6 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
538
511
  class: "kq3d-slope-analysis-line"
539
- }, null, -1 /* HOISTED */);
540
- const _hoisted_7 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", null, "90°", -1 /* HOISTED */);
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
+
541
520
  const _hoisted_8 = ["src"];
542
521
  const _hoisted_9 = {
543
522
  key: 2
@@ -566,6 +545,7 @@ const __default__ = {
566
545
  type: Boolean,
567
546
  default: true
568
547
  },
548
+
569
549
  /**
570
550
  * 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
571
551
  */
@@ -595,6 +575,7 @@ const __default__ = {
595
575
  default: true
596
576
  }
597
577
  },
578
+
598
579
  setup(__props, {
599
580
  expose: __expose
600
581
  }) {
@@ -632,15 +613,12 @@ const __default__ = {
632
613
  }, {
633
614
  value: 2,
634
615
  src: const_image_.GREEN_TO_BLUE_URL
635
- }];
636
-
637
- //计算属性
638
-
616
+ }]; //计算属性
639
617
  // 获取组件传参
640
-
641
618
  // 分析类
642
- let viewModel = null;
643
- // 默认参数
619
+
620
+ let viewModel = null; // 默认参数
621
+
644
622
  let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
645
623
  collapseValue: props.settingParams && props.settingParams.collapseValue || ((props.settingParams && props.settingParams.collapseValue) == '' ? "" : "setting"),
646
624
  // 默认展开属性设置
@@ -652,16 +630,13 @@ const __default__ = {
652
630
  maxSlope: props.settingParams && props.settingParams.maxSlope || 60,
653
631
  slopeColorAlpha: props.settingParams && props.settingParams.slopeColorAlpha || 0.3,
654
632
  slopeColorText: props.settingParams && props.settingParams.slopeColorText || "#FF0000"
655
- });
633
+ }); // 组件容器Ref
656
634
 
657
- // 组件容器Ref
658
- let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
635
+ let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
659
636
 
660
- // 生成组件默认header
661
637
  let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
662
- let headerTempRef = (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)(); // 国际化
663
639
 
664
- // 国际化
665
640
  let {
666
641
  locale,
667
642
  messages
@@ -684,29 +659,30 @@ const __default__ = {
684
659
  });
685
660
  });
686
661
  currentLang.value = proxy.$i18n.locale; // 获取当前语言
662
+
687
663
  gis_utils_.utils.getWebMap(null, scenceView => {
688
664
  if (scenceView) {
689
665
  refactorArr();
690
- viewModel = new SlopeAnalysisViewModel(scenceView, formItem);
691
- // var imageUrl = getImagePath(formItem.colorImage);
666
+ viewModel = new SlopeAnalysisViewModel(scenceView, formItem); // var imageUrl = getImagePath(formItem.colorImage);
692
667
  // viewModel.setColorImage(imageUrl);
693
668
  }
694
669
  });
695
670
  });
696
-
697
671
  /**
698
672
  * @description 监听header生成
699
673
  */
674
+
700
675
  const watchCreateHeaderTemp = () => {
701
676
  if (props.showHeaderTemp) {
702
677
  // 生成headerTemp
703
678
  headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
704
679
  }
705
- };
680
+ }; // 刷新自定义样式数组
681
+
706
682
 
707
- // 刷新自定义样式数组
708
683
  function refactorArr(type) {
709
684
  if (!dataList || !dataList.length) return;
685
+
710
686
  if (type == "degree") {
711
687
  formItem.colorTableDegree = dataList.map(item => {
712
688
  return item.colorTableDegree;
@@ -718,73 +694,87 @@ const __default__ = {
718
694
  });
719
695
  formItem.colorTable.shift();
720
696
  }
721
- }
697
+ } //获取图片路径
698
+
722
699
 
723
- //获取图片路径
724
700
  function getImagePath(value) {
725
701
  var imagePath = "";
726
702
  var image = colorImages.find(item => item.value === value);
703
+
727
704
  if (image) {
728
705
  imagePath = image.src;
729
706
  }
707
+
730
708
  return imagePath;
731
- }
709
+ } // 参数改变
710
+
732
711
 
733
- // 参数改变
734
712
  function paramsChanged(key) {
735
713
  switch (key) {
736
714
  case "fillStyle":
737
715
  // 填充样式
738
716
  viewModel.changeFilltyle(formItem.fillStyle);
739
717
  break;
718
+
740
719
  case "colorTableDegree":
741
720
  // 自定义填充样式区间
742
721
  refactorArr("degree");
743
722
  viewModel.setColorTableDegree(formItem.colorTableDegree);
744
723
  break;
724
+
745
725
  case "colorTable":
746
726
  // 自定义填充样式颜色
747
727
  refactorArr("color");
748
728
  viewModel.setColorTable(formItem.colorTable);
749
729
  break;
730
+
750
731
  case "colorImage":
751
732
  // 填充样式
752
733
  var imageUrl = getImagePath(formItem.colorImage);
753
734
  viewModel.setColorImage(imageUrl);
754
735
  break;
736
+
755
737
  case "minSlope":
756
738
  // 填充样式
757
739
  viewModel.setSlopeFilterMin(formItem.minSlope);
758
740
  break;
741
+
759
742
  case "maxSlope":
760
743
  // 填充样式
761
744
  viewModel.setSlopeFilterMax(formItem.maxSlope);
762
745
  break;
746
+
763
747
  case "slopeColorAlpha":
764
748
  // 填充样式
765
749
  viewModel.setSlopeFilterColor(formItem.slopeColorText, formItem.slopeColorAlpha);
766
750
  break;
751
+
767
752
  case "slopeColorText":
768
753
  // 填充样式
769
754
  viewModel.setSlopeFilterColor(formItem.slopeColorText, formItem.slopeColorAlpha);
770
755
  break;
756
+
771
757
  default:
772
758
  break;
773
759
  }
774
- }
775
- // 开始分析
760
+ } // 开始分析
761
+
762
+
776
763
  function startAnalysis() {
777
764
  clearResult();
778
765
  viewModel && viewModel.start();
779
- }
780
- //清除结果
766
+ } //清除结果
767
+
768
+
781
769
  function clearResult() {
782
770
  viewModel && viewModel.clear();
783
- }
784
- // 销毁
771
+ } // 销毁
772
+
773
+
785
774
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
786
775
  viewModel && viewModel.destroy();
787
776
  });
777
+
788
778
  __expose({
789
779
  refactorArr,
790
780
  getImagePath,
@@ -792,21 +782,36 @@ const __default__ = {
792
782
  startAnalysis,
793
783
  clearResult
794
784
  });
785
+
795
786
  return (_ctx, _cache) => {
796
787
  const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
788
+
797
789
  const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
790
+
798
791
  const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
792
+
799
793
  const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
794
+
800
795
  const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
796
+
801
797
  const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
798
+
802
799
  const _component_kq_color_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-color-picker");
800
+
803
801
  const _component_kq_radio = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio");
802
+
804
803
  const _component_kq_radio_group = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio-group");
804
+
805
805
  const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
806
+
806
807
  const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
808
+
807
809
  const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
810
+
808
811
  const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
812
+
809
813
  const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
814
+
810
815
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
811
816
  class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-slope-analysis", {
812
817
  'kq-box-shadow': __props.showShadow
@@ -817,12 +822,18 @@ const __default__ = {
817
822
  key: 0,
818
823
  ref_key: "headerTempRef",
819
824
  ref: headerTempRef
820
- }, 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, {
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, {
821
828
  key: 0,
822
829
  class: "kq3d-slope-analysis-tip"
823
830
  }, {
824
- 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 */)]),
825
- _: 1 /* STABLE */
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
+
826
837
  })) : (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, {
827
838
  "model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue
828
839
  }, {
@@ -850,18 +861,34 @@ const __default__ = {
850
861
  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, {
851
862
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).customColorScheme,
852
863
  value: "tableColor"
853
- }, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
864
+ }, null, 8
865
+ /* PROPS */
866
+ , ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
854
867
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).gradientTexture,
855
868
  value: "colorImage"
856
- }, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
869
+ }, null, 8
870
+ /* PROPS */
871
+ , ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
857
872
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).slopeFilter,
858
873
  value: "slopeFilter"
859
- }, null, 8 /* PROPS */, ["label"])]),
860
- _: 1 /* STABLE */
861
- }, 8 /* PROPS */, ["modelValue"])]),
862
- _: 1 /* STABLE */
863
- }, 8 /* PROPS */, ["label"])]),
864
- _: 1 /* STABLE */
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
+
865
892
  }), (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, {
866
893
  style: {
867
894
  "display": "flex"
@@ -870,15 +897,25 @@ const __default__ = {
870
897
  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, {
871
898
  span: 18
872
899
  }, {
873
- 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 */)]),
874
- _: 1 /* STABLE */
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
+
875
906
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
876
907
  span: 6
877
908
  }, {
878
- 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 */)]),
879
- _: 1 /* STABLE */
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
+
880
915
  })]),
881
- _: 1 /* STABLE */
916
+ _: 1
917
+ /* STABLE */
918
+
882
919
  }), ((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) => {
883
920
  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, {
884
921
  key: index,
@@ -899,7 +936,9 @@ const __default__ = {
899
936
  disabled: true,
900
937
  onChange: _cache[2] || (_cache[2] = $event => paramsChanged('colorTableDegree')),
901
938
  "controls-position": "right"
902
- }, 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, {
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, {
903
942
  key: 1,
904
943
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList)[index - 1].colorTableDegree,
905
944
  "onUpdate:modelValue": $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList)[index - 1].colorTableDegree = $event,
@@ -907,7 +946,11 @@ const __default__ = {
907
946
  step: 1,
908
947
  onChange: _cache[3] || (_cache[3] = $event => paramsChanged('colorTableDegree')),
909
948
  "controls-position": "right"
910
- }, 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, {
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, {
911
954
  key: 2,
912
955
  modelValue: item.colorTableDegree,
913
956
  "onUpdate:modelValue": $event => item.colorTableDegree = $event,
@@ -916,7 +959,9 @@ const __default__ = {
916
959
  step: 1,
917
960
  onChange: _cache[4] || (_cache[4] = $event => paramsChanged('colorTableDegree')),
918
961
  "controls-position": "right"
919
- }, 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, {
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, {
920
965
  key: 3,
921
966
  modelValue: item.colorTableDegree,
922
967
  "onUpdate:modelValue": $event => item.colorTableDegree = $event,
@@ -924,21 +969,41 @@ const __default__ = {
924
969
  disabled: true,
925
970
  onChange: _cache[5] || (_cache[5] = $event => paramsChanged('colorTableDegree')),
926
971
  "controls-position": "right"
927
- }, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
928
- _: 2 /* DYNAMIC */
929
- }, 1024 /* DYNAMIC_SLOTS */), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
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, {
930
981
  span: 6
931
982
  }, {
932
983
  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, {
933
984
  modelValue: item.colorTable,
934
985
  "onUpdate:modelValue": $event => item.colorTable = $event,
935
986
  onChange: _cache[6] || (_cache[6] = $event => paramsChanged('colorTable'))
936
- }, null, 8 /* PROPS */, ["modelValue", "onUpdate:modelValue"])]),
937
- _: 2 /* DYNAMIC */
938
- }, 1024 /* DYNAMIC_SLOTS */)], 64 /* STABLE_FRAGMENT */)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
939
- _: 2 /* DYNAMIC */
940
- }, 1024 /* DYNAMIC_SLOTS */);
941
- }), 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, {
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, {
942
1007
  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, {
943
1008
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).gradientColor
944
1009
  }, {
@@ -948,7 +1013,9 @@ const __default__ = {
948
1013
  }
949
1014
  }, {
950
1015
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_5, _hoisted_6, _hoisted_7]),
951
- _: 1 /* STABLE */
1016
+ _: 1
1017
+ /* STABLE */
1018
+
952
1019
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio_group, {
953
1020
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).colorImage,
954
1021
  "onUpdate:modelValue": _cache[7] || (_cache[7] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).colorImage = $event),
@@ -963,15 +1030,33 @@ const __default__ = {
963
1030
  class: "kq3d-slope-analysis-legend",
964
1031
  src: item.src,
965
1032
  alt: ""
966
- }, null, 8 /* PROPS */, _hoisted_8)]),
967
- _: 2 /* DYNAMIC */
968
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["label"]);
969
- }), 64 /* STABLE_FRAGMENT */))]),
970
- _: 1 /* STABLE */
971
- }, 8 /* PROPS */, ["modelValue"])]),
972
- _: 1 /* STABLE */
973
- }, 8 /* PROPS */, ["label"])]),
974
- _: 1 /* STABLE */
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
+
975
1060
  })])) : (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, {
976
1061
  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, {
977
1062
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).minSlope
@@ -991,8 +1076,12 @@ const __default__ = {
991
1076
  min: 0,
992
1077
  max: 90,
993
1078
  onChange: _cache[10] || (_cache[10] = $event => paramsChanged('minSlope'))
994
- }, null, 8 /* PROPS */, ["modelValue"])]),
995
- _: 1 /* STABLE */
1079
+ }, null, 8
1080
+ /* PROPS */
1081
+ , ["modelValue"])]),
1082
+ _: 1
1083
+ /* STABLE */
1084
+
996
1085
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
997
1086
  span: 8
998
1087
  }, {
@@ -1004,14 +1093,26 @@ const __default__ = {
1004
1093
  max: 90,
1005
1094
  "controls-position": "right",
1006
1095
  onChange: _cache[12] || (_cache[12] = $event => paramsChanged('minSlope'))
1007
- }, null, 8 /* PROPS */, ["modelValue"])]),
1008
- _: 1 /* STABLE */
1096
+ }, null, 8
1097
+ /* PROPS */
1098
+ , ["modelValue"])]),
1099
+ _: 1
1100
+ /* STABLE */
1101
+
1009
1102
  })]),
1010
- _: 1 /* STABLE */
1103
+ _: 1
1104
+ /* STABLE */
1105
+
1011
1106
  })]),
1012
- _: 1 /* STABLE */
1013
- }, 8 /* PROPS */, ["label"])]),
1014
- _: 1 /* STABLE */
1107
+ _: 1
1108
+ /* STABLE */
1109
+
1110
+ }, 8
1111
+ /* PROPS */
1112
+ , ["label"])]),
1113
+ _: 1
1114
+ /* STABLE */
1115
+
1015
1116
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
1016
1117
  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, {
1017
1118
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).maxSlope
@@ -1031,8 +1132,12 @@ const __default__ = {
1031
1132
  min: 0,
1032
1133
  max: 90,
1033
1134
  onChange: _cache[14] || (_cache[14] = $event => paramsChanged('maxSlope'))
1034
- }, null, 8 /* PROPS */, ["modelValue"])]),
1035
- _: 1 /* STABLE */
1135
+ }, null, 8
1136
+ /* PROPS */
1137
+ , ["modelValue"])]),
1138
+ _: 1
1139
+ /* STABLE */
1140
+
1036
1141
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1037
1142
  span: 8
1038
1143
  }, {
@@ -1044,14 +1149,26 @@ const __default__ = {
1044
1149
  max: 90,
1045
1150
  "controls-position": "right",
1046
1151
  onChange: _cache[16] || (_cache[16] = $event => paramsChanged('maxSlope'))
1047
- }, null, 8 /* PROPS */, ["modelValue"])]),
1048
- _: 1 /* STABLE */
1152
+ }, null, 8
1153
+ /* PROPS */
1154
+ , ["modelValue"])]),
1155
+ _: 1
1156
+ /* STABLE */
1157
+
1049
1158
  })]),
1050
- _: 1 /* STABLE */
1159
+ _: 1
1160
+ /* STABLE */
1161
+
1051
1162
  })]),
1052
- _: 1 /* STABLE */
1053
- }, 8 /* PROPS */, ["label"])]),
1054
- _: 1 /* STABLE */
1163
+ _: 1
1164
+ /* STABLE */
1165
+
1166
+ }, 8
1167
+ /* PROPS */
1168
+ , ["label"])]),
1169
+ _: 1
1170
+ /* STABLE */
1171
+
1055
1172
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
1056
1173
  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, {
1057
1174
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).transparents
@@ -1071,8 +1188,12 @@ const __default__ = {
1071
1188
  max: 1,
1072
1189
  step: 0.01,
1073
1190
  onChange: _cache[18] || (_cache[18] = $event => paramsChanged('slopeColorAlpha'))
1074
- }, null, 8 /* PROPS */, ["modelValue", "step"])]),
1075
- _: 1 /* STABLE */
1191
+ }, null, 8
1192
+ /* PROPS */
1193
+ , ["modelValue", "step"])]),
1194
+ _: 1
1195
+ /* STABLE */
1196
+
1076
1197
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1077
1198
  span: 8
1078
1199
  }, {
@@ -1084,14 +1205,26 @@ const __default__ = {
1084
1205
  step: 0.01,
1085
1206
  "controls-position": "right",
1086
1207
  onChange: _cache[20] || (_cache[20] = $event => paramsChanged('slopeColorAlpha'))
1087
- }, null, 8 /* PROPS */, ["modelValue", "step"])]),
1088
- _: 1 /* STABLE */
1208
+ }, null, 8
1209
+ /* PROPS */
1210
+ , ["modelValue", "step"])]),
1211
+ _: 1
1212
+ /* STABLE */
1213
+
1089
1214
  })]),
1090
- _: 1 /* STABLE */
1215
+ _: 1
1216
+ /* STABLE */
1217
+
1091
1218
  })]),
1092
- _: 1 /* STABLE */
1093
- }, 8 /* PROPS */, ["label"])]),
1094
- _: 1 /* STABLE */
1219
+ _: 1
1220
+ /* STABLE */
1221
+
1222
+ }, 8
1223
+ /* PROPS */
1224
+ , ["label"])]),
1225
+ _: 1
1226
+ /* STABLE */
1227
+
1095
1228
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
1096
1229
  style: {
1097
1230
  "padding-bottom": "8px"
@@ -1104,32 +1237,67 @@ const __default__ = {
1104
1237
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slopeColorText,
1105
1238
  "onUpdate:modelValue": _cache[21] || (_cache[21] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slopeColorText = $event),
1106
1239
  onChange: _cache[22] || (_cache[22] = $event => paramsChanged('slopeColorText'))
1107
- }, null, 8 /* PROPS */, ["modelValue"])]),
1108
- _: 1 /* STABLE */
1109
- }, 8 /* PROPS */, ["label"])]),
1110
- _: 1 /* STABLE */
1240
+ }, null, 8
1241
+ /* PROPS */
1242
+ , ["modelValue"])]),
1243
+ _: 1
1244
+ /* STABLE */
1245
+
1246
+ }, 8
1247
+ /* PROPS */
1248
+ , ["label"])]),
1249
+ _: 1
1250
+ /* STABLE */
1251
+
1111
1252
  })])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
1112
- _: 1 /* STABLE */
1113
- }, 8 /* PROPS */, ["label-width"])]),
1114
- _: 1 /* STABLE */
1115
- }, 8 /* PROPS */, ["title"])]),
1116
- _: 1 /* STABLE */
1117
- }, 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, {
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, {
1118
1271
  onClick: _cache[23] || (_cache[23] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
1119
1272
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
1120
1273
  type: "primary"
1121
1274
  }, {
1122
- 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 */)]),
1123
- _: 1 /* STABLE */
1124
- }, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
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, {
1125
1284
  onClick: _cache[24] || (_cache[24] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
1126
1285
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
1127
1286
  }, {
1128
- 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 */)]),
1129
- _: 1 /* STABLE */
1130
- }, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
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
+ );
1131
1298
  };
1132
1299
  }
1300
+
1133
1301
  }));
1134
1302
  ;// CONCATENATED MODULE: ./src/webgl/slopeanalysis/SlopeAnalysis.vue?vue&type=script&setup=true&lang=js
1135
1303
 
@@ -1151,11 +1319,13 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
1151
1319
 
1152
1320
 
1153
1321
 
1322
+
1154
1323
  SlopeAnalysis.install = (Vue, opts) => {
1155
1324
  init_js_default()(Vue, opts);
1156
1325
  Vue.component(SlopeAnalysis.name, SlopeAnalysis);
1157
1326
  };
1158
1327
 
1328
+
1159
1329
  }();
1160
1330
  /******/ return __webpack_exports__;
1161
1331
  /******/ })()