@kq_npm/client3d_webgl_vue 4.5.28-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 +27093 -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 +20321 -7165
  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 +27093 -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 +27093 -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/_utils/util"), require("@kq_npm/client_common_vue/init.js"));
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/_utils/util", "@kq_npm/client_common_vue/init.js"], 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/_utils/util"), require("@kq_npm/client_common_vue/init.js")) : 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/_utils/util"], root["@kq_npm/client_common_vue/init.js"]);
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/_utils/util", "@kq_npm/client_common_vue/init.js"], 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/_utils/util"), require("@kq_npm/client_common_vue/init.js"));
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/_utils/util"], root["@kq_npm/client_common_vue/init.js"]);
10
10
  })(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__6277__, __WEBPACK_EXTERNAL_MODULE__3458__, __WEBPACK_EXTERNAL_MODULE__7997__) {
11
11
  return /******/ (function() { // webpackBootstrap
12
12
  /******/ "use strict";
@@ -61,59 +61,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
61
61
 
62
62
  /***/ }),
63
63
 
64
- /***/ 5301:
64
+ /***/ 8270:
65
65
  /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
66
66
 
67
-
68
- // EXPORTS
69
- __webpack_require__.d(__webpack_exports__, {
70
- "Z": function() { return /* binding */ _defineProperty; }
71
- });
72
-
73
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
74
- function _typeof(o) {
75
- "@babel/helpers - typeof";
76
-
77
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
78
- return typeof o;
79
- } : function (o) {
80
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
81
- }, _typeof(o);
82
- }
83
-
84
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
85
-
86
- function toPrimitive(t, r) {
87
- if ("object" != _typeof(t) || !t) return t;
88
- var e = t[Symbol.toPrimitive];
89
- if (void 0 !== e) {
90
- var i = e.call(t, r || "default");
91
- if ("object" != _typeof(i)) return i;
92
- throw new TypeError("@@toPrimitive must return a primitive value.");
67
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
68
+ /* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
69
+ /* harmony export */ });
70
+ function _defineProperty(obj, key, value) {
71
+ if (key in obj) {
72
+ Object.defineProperty(obj, key, {
73
+ value: value,
74
+ enumerable: true,
75
+ configurable: true,
76
+ writable: true
77
+ });
78
+ } else {
79
+ obj[key] = value;
93
80
  }
94
- return ("string" === r ? String : Number)(t);
95
- }
96
-
97
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
98
81
 
99
-
100
- function toPropertyKey(t) {
101
- var i = toPrimitive(t, "string");
102
- return "symbol" == _typeof(i) ? i : i + "";
82
+ return obj;
103
83
  }
104
84
 
105
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
106
-
107
- function _defineProperty(e, r, t) {
108
- return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
109
- value: t,
110
- enumerable: !0,
111
- configurable: !0,
112
- writable: !0
113
- }) : e[r] = t, e;
114
- }
115
-
116
-
117
85
  /***/ })
118
86
 
119
87
  /******/ });
@@ -200,54 +168,64 @@ __webpack_require__.d(__webpack_exports__, {
200
168
  var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
201
169
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
202
170
  var gis_utils_ = __webpack_require__(7135);
203
- // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
204
- var defineProperty = __webpack_require__(5301);
171
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
172
+ var defineProperty = __webpack_require__(8270);
205
173
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
206
174
  var const_image_ = __webpack_require__(6277);
207
175
  ;// CONCATENATED MODULE: ./src/webgl/viewshedanalysis/ViewshedAnalysisViewModel.js
208
176
 
209
- /*
210
- * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
211
- * All rights reserved.
177
+
178
+ /*
179
+ * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
180
+ * All rights reserved.
212
181
  */
182
+ //可视域分析逻辑类
213
183
 
214
- //可视域分析逻辑类
215
184
  class ViewshedAnalysisViewModel {
185
+ //可视域分析三维对象
186
+ //三维场景对象
187
+ //可视域分析存储参数对象
188
+ //可视域分析初始点图标
216
189
  //可视域分析初始点坐标
217
-
218
190
  constructor(scenceView, options) {
219
191
  (0,defineProperty/* default */.Z)(this, "_viewshedAnalysis", null);
220
- //可视域分析三维对象
192
+
221
193
  (0,defineProperty/* default */.Z)(this, "_viewer", null);
194
+
222
195
  (0,defineProperty/* default */.Z)(this, "_scene", null);
223
- //三维场景对象
196
+
224
197
  (0,defineProperty/* default */.Z)(this, "_options", null);
225
- //可视域分析存储参数对象
198
+
226
199
  (0,defineProperty/* default */.Z)(this, "_marker", null);
227
- //可视域分析初始点图标
200
+
228
201
  (0,defineProperty/* default */.Z)(this, "_position", null);
202
+
229
203
  this._viewer = scenceView._viewer;
230
204
  this._scene = scenceView._viewer.scene;
231
205
  this._scene.globe.depthTestAgainstTerrain = true;
232
206
  this._options = options;
207
+
233
208
  if (this._options.visibleColor) {
234
209
  this._options.visibleColor = Cesium.Color.fromCssColorString(this._options.visibleColor);
235
210
  }
211
+
236
212
  if (this._options.visibleColor) {
237
213
  this._options.invisibleColor = Cesium.Color.fromCssColorString(this._options.invisibleColor);
238
214
  }
239
- }
215
+ } //开始分析
216
+
240
217
 
241
- //开始分析
242
218
  start() {
243
219
  this.clear();
244
220
  this._viewshedAnalysis = new Cesium.Kq3dViewshedInteractive(this._scene, this._options);
245
221
  let that = this;
222
+
246
223
  this._viewshedAnalysis.event.addEventListener((p1, p2) => {
247
224
  if (p1 && p2 == undefined) {
248
225
  that._position = p1;
249
226
  let cartographic = Cesium.Cartographic.fromCartesian(p1);
250
227
  let newPos = Cesium.Cartesian3.fromRadians(cartographic.longitude, cartographic.latitude, cartographic.height + that._options.offsetHeight);
228
+
251
229
  if (that._marker) {
252
230
  that._marker.position = newPos;
253
231
  } else {
@@ -255,75 +233,85 @@ class ViewshedAnalysisViewModel {
255
233
  position: newPos,
256
234
  billboard: {
257
235
  image: const_image_.OBSERVATION_POINT,
258
- verticalOrigin: Cesium.VerticalOrigin.CENTER,
259
- disableDepthTestDistance: Number.POSITIVE_INFINITY
236
+ verticalOrigin: Cesium.VerticalOrigin.CENTER // disableDepthTestDistance: Number.POSITIVE_INFINITY //edited by ly
237
+
260
238
  }
261
239
  });
262
240
  }
263
241
  }
264
242
  });
265
- this._viewshedAnalysis.start();
266
243
 
267
- // if (!this._viewshedAnalysis.isRunning()) {
244
+ this._viewshedAnalysis.start(); // if (!this._viewshedAnalysis.isRunning()) {
268
245
  // // 绘制完成后,需要释放绘制事件
269
246
  // }
270
- }
271
247
 
272
- //清除全部结果
248
+ } //清除全部结果
249
+
250
+
273
251
  clear() {
274
252
  // this._viewshedAnalysis && this._viewshedAnalysis.pause();
275
253
  this.destroy();
276
- }
254
+ } //销毁
255
+
277
256
 
278
- //销毁
279
257
  destroy() {
280
258
  this._viewshedAnalysis && this._viewshedAnalysis.destroy();
281
259
  this._viewshedAnalysis = null;
260
+
282
261
  if (this._marker) {
283
262
  this._viewer.entities.remove(this._marker);
263
+
284
264
  this._marker = null;
285
265
  }
286
- }
266
+ } //设置偏移高度
267
+
287
268
 
288
- //设置偏移高度
289
269
  setOffsetHeight(offsetHeight) {
290
270
  this._options.offsetHeight = Number(offsetHeight);
291
271
  if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.offsetHeight = this._options.offsetHeight;
272
+
292
273
  if (this._marker) {
293
274
  let cartographic = Cesium.Cartographic.fromCartesian(this._position);
294
275
  this._marker.position = Cesium.Cartesian3.fromRadians(cartographic.longitude, cartographic.latitude, cartographic.height + this._options.offsetHeight);
295
276
  }
296
- }
297
- //设置水平角
277
+ } //设置水平角
278
+
279
+
298
280
  setFovH(fovH) {
299
281
  this._options.fovH = Number(fovH);
300
282
  if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.fovH = this._options.fovH;
301
- }
302
- //设置竖直角
283
+ } //设置竖直角
284
+
285
+
303
286
  setFovV(fovV) {
304
287
  this._options.fovV = Number(fovV);
305
288
  if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.fovV = this._options.fovV;
306
- }
307
- //设置可视颜色
289
+ } //设置可视颜色
290
+
291
+
308
292
  setVisibleColor(visibleColor) {
309
293
  this._options.visibleColor = Cesium.Color.fromCssColorString(visibleColor);
310
294
  if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.visibleColor = this._options.visibleColor;
311
- }
312
- //设置不可视颜色
295
+ } //设置不可视颜色
296
+
297
+
313
298
  setInvisibleColor(invisibleColor) {
314
299
  this._options.invisibleColor = Cesium.Color.fromCssColorString(invisibleColor);
315
300
  if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.invisibleColor = this._options.invisibleColor;
316
- }
317
- //设置网格线颜色
301
+ } //设置网格线颜色
302
+
303
+
318
304
  setLineColor(lineColor) {
319
305
  this._options.lineColor = lineColor;
320
306
  if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.lineColor = Cesium.Color.fromCssColorString(lineColor);
321
- }
322
- //显示/隐藏网格线
307
+ } //显示/隐藏网格线
308
+
309
+
323
310
  setShowGridLine(showGridLine) {
324
311
  this._options.showGridLine = showGridLine;
325
312
  if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.showGridLine = showGridLine;
326
313
  }
314
+
327
315
  }
328
316
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
329
317
  var client_icons_vue_ = __webpack_require__(348);
@@ -331,7 +319,7 @@ var client_icons_vue_ = __webpack_require__(348);
331
319
  var util_ = __webpack_require__(3458);
332
320
  // EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
333
321
  var vue_i18n_cjs_js_ = __webpack_require__(7080);
334
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/viewshedanalysis/ViewshedAnalysis.vue?vue&type=script&setup=true&lang=js
322
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/viewshedanalysis/ViewshedAnalysis.vue?vue&type=script&setup=true&lang=js
335
323
 
336
324
  const _hoisted_1 = {
337
325
  class: "kq3d-viewshed-analysis-box"
@@ -359,6 +347,7 @@ const __default__ = {
359
347
  type: Boolean,
360
348
  default: true
361
349
  },
350
+
362
351
  /**
363
352
  * 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
364
353
  */
@@ -388,6 +377,7 @@ const __default__ = {
388
377
  default: true
389
378
  }
390
379
  },
380
+
391
381
  setup(__props, {
392
382
  expose: __expose
393
383
  }) {
@@ -396,9 +386,7 @@ const __default__ = {
396
386
  proxy
397
387
  } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
398
388
  let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
399
- let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
400
-
401
- // 获取组件传参
389
+ let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]); // 获取组件传参
402
390
 
403
391
  let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
404
392
  collapseValue: props.settingParams && props.settingParams.collapseValue || ((props.settingParams && props.settingParams.collapseValue) == '' ? "" : "setting"),
@@ -427,16 +415,13 @@ const __default__ = {
427
415
  // 不可见颜色
428
416
  lineColor: props.settingParams && props.settingParams.lineColor || "#E6A23C"
429
417
  });
430
- let viewModel = null;
418
+ let viewModel = null; // 组件容器Ref
431
419
 
432
- // 组件容器Ref
433
- let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
420
+ let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
434
421
 
435
- // 生成组件默认header
436
422
  let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
437
- let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
423
+ let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
438
424
 
439
- // 国际化
440
425
  let {
441
426
  locale,
442
427
  messages
@@ -459,6 +444,7 @@ const __default__ = {
459
444
  });
460
445
  });
461
446
  currentLang.value = proxy.$i18n.locale; // 获取当前语言类型
447
+
462
448
  gis_utils_.utils.getWebMap(null, scenceView => {
463
449
  if (scenceView) {
464
450
  viewModel = new ViewshedAnalysisViewModel(scenceView, {
@@ -472,71 +458,90 @@ const __default__ = {
472
458
  }
473
459
  });
474
460
  });
475
-
476
461
  /**
477
462
  * @description 监听header生成
478
463
  */
464
+
479
465
  const watchCreateHeaderTemp = () => {
480
466
  if (props.showHeaderTemp) {
481
467
  // 生成headerTemp
482
468
  headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
483
469
  }
484
470
  };
471
+
485
472
  function paramsChanged(key) {
486
473
  switch (key) {
487
474
  case "height":
488
475
  viewModel.setOffsetHeight(formItem.offsetHeight);
489
476
  break;
477
+
490
478
  case "fovV":
491
479
  viewModel.setFovV(formItem.fovV);
492
480
  break;
481
+
493
482
  case "fovH":
494
483
  viewModel.setFovH(formItem.fovH);
495
484
  break;
485
+
496
486
  case "visibleColor":
497
487
  viewModel.setVisibleColor(formItem.visibleColor);
498
488
  break;
489
+
499
490
  case "invisibleColor":
500
491
  viewModel.setInvisibleColor(formItem.invisibleColor);
501
492
  break;
493
+
502
494
  case "lineColor":
503
495
  viewModel.setLineColor(formItem.lineColor);
504
496
  break;
497
+
505
498
  default:
506
499
  break;
507
500
  }
508
- }
501
+ } //开始分析
502
+
509
503
 
510
- //开始分析
511
504
  function startAnalysis() {
512
505
  viewModel && viewModel.start();
513
- }
506
+ } //清除结果
507
+
514
508
 
515
- //清除结果
516
509
  function clearResult() {
517
510
  viewModel && viewModel.clear();
518
- }
511
+ } // 销毁
512
+
519
513
 
520
- // 销毁
521
514
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
522
515
  viewModel && viewModel.destroy();
523
516
  });
517
+
524
518
  __expose({
525
519
  paramsChanged,
526
520
  startAnalysis,
527
521
  clearResult
528
522
  });
523
+
529
524
  return (_ctx, _cache) => {
530
525
  const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
526
+
531
527
  const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
528
+
532
529
  const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
530
+
533
531
  const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
532
+
534
533
  const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
534
+
535
535
  const _component_kq_color_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-color-picker");
536
+
536
537
  const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
538
+
537
539
  const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
540
+
538
541
  const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
542
+
539
543
  const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
544
+
540
545
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
541
546
  class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-viewshed-analysis", {
542
547
  'kq-box-shadow': __props.showShadow
@@ -547,11 +552,17 @@ const __default__ = {
547
552
  key: 0,
548
553
  ref_key: "headerTempRef",
549
554
  ref: headerTempRef
550
- }, 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_.createVNode)(_component_kq_row, {
555
+ }, null, 512
556
+ /* NEED_PATCH */
557
+ )) : (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_.createVNode)(_component_kq_row, {
551
558
  class: "kq3d-viewshed-analysis-tip"
552
559
  }, {
553
- 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).viewshedTips), 1 /* TEXT */)]),
554
- _: 1 /* STABLE */
560
+ 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).viewshedTips), 1
561
+ /* TEXT */
562
+ )]),
563
+ _: 1
564
+ /* STABLE */
565
+
555
566
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
556
567
  "model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue
557
568
  }, {
@@ -582,8 +593,12 @@ const __default__ = {
582
593
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minOffsetHeight,
583
594
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxOffsetHeight,
584
595
  onChange: _cache[1] || (_cache[1] = $event => paramsChanged('height'))
585
- }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
586
- _: 1 /* STABLE */
596
+ }, null, 8
597
+ /* PROPS */
598
+ , ["modelValue", "min", "max"])]),
599
+ _: 1
600
+ /* STABLE */
601
+
587
602
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
588
603
  span: 8
589
604
  }, {
@@ -595,14 +610,26 @@ const __default__ = {
595
610
  step: 1,
596
611
  "controls-position": "right",
597
612
  onChange: _cache[3] || (_cache[3] = $event => paramsChanged('height'))
598
- }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
599
- _: 1 /* STABLE */
613
+ }, null, 8
614
+ /* PROPS */
615
+ , ["modelValue", "min", "max"])]),
616
+ _: 1
617
+ /* STABLE */
618
+
600
619
  })]),
601
- _: 1 /* STABLE */
620
+ _: 1
621
+ /* STABLE */
622
+
602
623
  })]),
603
- _: 1 /* STABLE */
604
- }, 8 /* PROPS */, ["label"])]),
605
- _: 1 /* STABLE */
624
+ _: 1
625
+ /* STABLE */
626
+
627
+ }, 8
628
+ /* PROPS */
629
+ , ["label"])]),
630
+ _: 1
631
+ /* STABLE */
632
+
606
633
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
607
634
  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, {
608
635
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).FovV
@@ -622,8 +649,12 @@ const __default__ = {
622
649
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minFovV,
623
650
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFovV,
624
651
  onChange: _cache[5] || (_cache[5] = $event => paramsChanged('fovV'))
625
- }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
626
- _: 1 /* STABLE */
652
+ }, null, 8
653
+ /* PROPS */
654
+ , ["modelValue", "min", "max"])]),
655
+ _: 1
656
+ /* STABLE */
657
+
627
658
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
628
659
  span: 8
629
660
  }, {
@@ -635,14 +666,26 @@ const __default__ = {
635
666
  step: 1,
636
667
  "controls-position": "right",
637
668
  onChange: _cache[7] || (_cache[7] = $event => paramsChanged('fovV'))
638
- }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
639
- _: 1 /* STABLE */
669
+ }, null, 8
670
+ /* PROPS */
671
+ , ["modelValue", "min", "max"])]),
672
+ _: 1
673
+ /* STABLE */
674
+
640
675
  })]),
641
- _: 1 /* STABLE */
676
+ _: 1
677
+ /* STABLE */
678
+
642
679
  })]),
643
- _: 1 /* STABLE */
644
- }, 8 /* PROPS */, ["label"])]),
645
- _: 1 /* STABLE */
680
+ _: 1
681
+ /* STABLE */
682
+
683
+ }, 8
684
+ /* PROPS */
685
+ , ["label"])]),
686
+ _: 1
687
+ /* STABLE */
688
+
646
689
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
647
690
  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, {
648
691
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).FovH
@@ -662,8 +705,12 @@ const __default__ = {
662
705
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minFovH,
663
706
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFovH,
664
707
  onChange: _cache[9] || (_cache[9] = $event => paramsChanged('fovH'))
665
- }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
666
- _: 1 /* STABLE */
708
+ }, null, 8
709
+ /* PROPS */
710
+ , ["modelValue", "min", "max"])]),
711
+ _: 1
712
+ /* STABLE */
713
+
667
714
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
668
715
  span: 8
669
716
  }, {
@@ -675,14 +722,26 @@ const __default__ = {
675
722
  step: 1,
676
723
  "controls-position": "right",
677
724
  onChange: _cache[11] || (_cache[11] = $event => paramsChanged('fovH'))
678
- }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
679
- _: 1 /* STABLE */
725
+ }, null, 8
726
+ /* PROPS */
727
+ , ["modelValue", "min", "max"])]),
728
+ _: 1
729
+ /* STABLE */
730
+
680
731
  })]),
681
- _: 1 /* STABLE */
732
+ _: 1
733
+ /* STABLE */
734
+
682
735
  })]),
683
- _: 1 /* STABLE */
684
- }, 8 /* PROPS */, ["label"])]),
685
- _: 1 /* STABLE */
736
+ _: 1
737
+ /* STABLE */
738
+
739
+ }, 8
740
+ /* PROPS */
741
+ , ["label"])]),
742
+ _: 1
743
+ /* STABLE */
744
+
686
745
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
687
746
  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, {
688
747
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).visibleColor
@@ -691,10 +750,18 @@ const __default__ = {
691
750
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).visibleColor,
692
751
  "onUpdate:modelValue": _cache[12] || (_cache[12] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).visibleColor = $event),
693
752
  onChange: _cache[13] || (_cache[13] = $event => paramsChanged('visibleColor'))
694
- }, null, 8 /* PROPS */, ["modelValue"])]),
695
- _: 1 /* STABLE */
696
- }, 8 /* PROPS */, ["label"])]),
697
- _: 1 /* STABLE */
753
+ }, null, 8
754
+ /* PROPS */
755
+ , ["modelValue"])]),
756
+ _: 1
757
+ /* STABLE */
758
+
759
+ }, 8
760
+ /* PROPS */
761
+ , ["label"])]),
762
+ _: 1
763
+ /* STABLE */
764
+
698
765
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
699
766
  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, {
700
767
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).invisibleColor
@@ -703,32 +770,67 @@ const __default__ = {
703
770
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).invisibleColor,
704
771
  "onUpdate:modelValue": _cache[14] || (_cache[14] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).invisibleColor = $event),
705
772
  onChange: _cache[15] || (_cache[15] = $event => paramsChanged('invisibleColor'))
706
- }, null, 8 /* PROPS */, ["modelValue"])]),
707
- _: 1 /* STABLE */
708
- }, 8 /* PROPS */, ["label"])]),
709
- _: 1 /* STABLE */
773
+ }, null, 8
774
+ /* PROPS */
775
+ , ["modelValue"])]),
776
+ _: 1
777
+ /* STABLE */
778
+
779
+ }, 8
780
+ /* PROPS */
781
+ , ["label"])]),
782
+ _: 1
783
+ /* STABLE */
784
+
710
785
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-row>\r\n <kq-form-item :label=\"language.lineColor\">\r\n <kq-color-picker v-model=\"formItem.lineColor\" @change=\"paramsChanged('lineColor')\"> </kq-color-picker>\r\n </kq-form-item>\r\n </kq-row> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("<kq-row :gutter=\"20\">\r\n <kq-col :span=\"8\">\r\n <kq-checkbox v-model=\"formItem.showVisible\">{{ language.showVisible }}</kq-checkbox>\r\n </kq-col>\r\n <kq-col :span=\"8\">\r\n <kq-checkbox v-model=\"formItem.showInvisible\">{{ language.showInvisible }}</kq-checkbox>\r\n </kq-col>\r\n <kq-col :span=\"8\">\r\n <kq-checkbox v-model=\"formItem.dynamicVisual\">{{ language.dynamicVisual }}</kq-checkbox>\r\n </kq-col>\r\n </kq-row> ")]),
711
- _: 1 /* STABLE */
712
- }, 8 /* PROPS */, ["label-width"])]),
713
- _: 1 /* STABLE */
714
- }, 8 /* PROPS */, ["title"])]),
715
- _: 1 /* STABLE */
716
- }, 8 /* PROPS */, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
786
+ _: 1
787
+ /* STABLE */
788
+
789
+ }, 8
790
+ /* PROPS */
791
+ , ["label-width"])]),
792
+ _: 1
793
+ /* STABLE */
794
+
795
+ }, 8
796
+ /* PROPS */
797
+ , ["title"])]),
798
+ _: 1
799
+ /* STABLE */
800
+
801
+ }, 8
802
+ /* PROPS */
803
+ , ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
717
804
  onClick: _cache[16] || (_cache[16] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
718
805
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
719
806
  type: "primary"
720
807
  }, {
721
- 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 */)]),
722
- _: 1 /* STABLE */
723
- }, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
808
+ 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
809
+ /* TEXT */
810
+ )]),
811
+ _: 1
812
+ /* STABLE */
813
+
814
+ }, 8
815
+ /* PROPS */
816
+ , ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
724
817
  onClick: _cache[17] || (_cache[17] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
725
818
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
726
819
  }, {
727
- 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 */)]),
728
- _: 1 /* STABLE */
729
- }, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
820
+ 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
821
+ /* TEXT */
822
+ )]),
823
+ _: 1
824
+ /* STABLE */
825
+
826
+ }, 8
827
+ /* PROPS */
828
+ , ["title"])])])], 2
829
+ /* CLASS */
830
+ );
730
831
  };
731
832
  }
833
+
732
834
  }));
733
835
  ;// CONCATENATED MODULE: ./src/webgl/viewshedanalysis/ViewshedAnalysis.vue?vue&type=script&setup=true&lang=js
734
836
 
@@ -750,11 +852,13 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
750
852
 
751
853
 
752
854
 
855
+
753
856
  ViewshedAnalysis.install = (Vue, opts) => {
754
857
  init_js_default()(Vue, opts);
755
858
  Vue.component(ViewshedAnalysis.name, ViewshedAnalysis);
756
859
  };
757
860
 
861
+
758
862
  }();
759
863
  /******/ return __webpack_exports__;
760
864
  /******/ })()