@kq_npm/client3d_webgl_vue 4.5.2 → 4.5.4-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/adddata/index.js +355 -538
  2. package/adddata/style/adddata.css +1 -1
  3. package/aspectanalysis/index.js +172 -239
  4. package/baseterraingallery/index.js +124 -145
  5. package/boxclip/index.js +300 -481
  6. package/clientPrint/index.js +335 -898
  7. package/clientPrint/style/clientPrint.css +1 -1
  8. package/comparemap/index.js +226 -246
  9. package/compass/index.js +96 -84
  10. package/excavatefillanalysis/index.js +193 -263
  11. package/fixedzoomin/index.js +91 -76
  12. package/fixedzoomout/index.js +91 -76
  13. package/flight/index.js +311 -415
  14. package/flight/style/flight.css +1 -1
  15. package/floodanalysis/index.js +255 -393
  16. package/geologicalbodyanalysis/index.js +215 -298
  17. package/gpuspatialquery/index.js +260 -402
  18. package/hawkeye/index.js +141 -103
  19. package/headertemp/index.js +25 -34
  20. package/heatmap3d/index.js +451 -763
  21. package/heatmap3d/style/heatmap3d.css +1 -1
  22. package/index.js +20826 -17774
  23. package/isolineanalysis/index.js +566 -1243
  24. package/light/index.js +353 -488
  25. package/limitheightanalysis/index.js +251 -312
  26. package/measure/index.js +350 -504
  27. package/modelFlat/index.js +214 -234
  28. package/modelexcavate/index.js +206 -262
  29. package/modelfilter/index.js +229 -308
  30. package/modelprofileanalysis/index.js +356 -465
  31. package/modelselect/index.js +192 -184
  32. package/package.json +1 -1
  33. package/particleeffect/index.js +259 -430
  34. package/planeclip/index.js +249 -339
  35. package/resetview/index.js +89 -69
  36. package/roller/index.js +307 -363
  37. package/scaneffect/index.js +285 -582
  38. package/sceneadvancedtoimage/index.js +1055 -0
  39. package/sceneadvancedtoimage/style/index.js +3 -0
  40. package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
  41. package/sceneapp/index.js +11149 -0
  42. package/sceneset/index.js +393 -885
  43. package/scenetohdimage/index.js +214 -346
  44. package/scenetohdimage/style/scenetohdimage.css +1 -1
  45. package/sceneview/index.js +22780 -19540
  46. package/sceneview/style/sceneview.css +1 -1
  47. package/screenshot/index.js +275 -312
  48. package/shadowanalysis/index.js +269 -448
  49. package/sightlineanalysis/index.js +231 -312
  50. package/sightlineanalysis/style/divpoint.css +1 -1
  51. package/skylineanalysis/index.js +213 -351
  52. package/slopeanalysis/index.js +282 -444
  53. package/slopeaspectanalysis/index.js +315 -534
  54. package/statusbar/index.js +194 -164
  55. package/style.css +1 -1
  56. package/terrainoperation/index.js +230 -280
  57. package/terrainprofileanalysis/index.js +174 -182
  58. package/underground/index.js +98 -82
  59. package/videofusion/index.js +319 -532
  60. package/videoproject/index.js +325 -534
  61. package/viewshedanalysis/index.js +178 -275
  62. package/weathereffect/index.js +199 -343
  63. package/wireframesketch/index.js +146 -150
@@ -7,108 +7,148 @@
7
7
  var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/const-image"), 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/init.js"], root["@kq_npm/client_common_vue/_utils/const-image"], root["@kq_npm/client_common_vue/_utils/util"]);
8
8
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
9
  }
10
- })(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__7997__, __WEBPACK_EXTERNAL_MODULE__6277__, __WEBPACK_EXTERNAL_MODULE__3458__) {
10
+ })(this, function(__WEBPACK_EXTERNAL_MODULE__154__, __WEBPACK_EXTERNAL_MODULE__64__, __WEBPACK_EXTERNAL_MODULE__455__, __WEBPACK_EXTERNAL_MODULE__4822__, __WEBPACK_EXTERNAL_MODULE__2975__) {
11
11
  return /******/ (function() { // webpackBootstrap
12
12
  /******/ "use strict";
13
13
  /******/ var __webpack_modules__ = ({
14
14
 
15
- /***/ 3694:
15
+ /***/ 3275:
16
16
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17
17
 
18
+ /* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6363);
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
+ /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(455);
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.
25
+ */
18
26
 
19
- // EXPORTS
20
- __webpack_require__.d(__webpack_exports__, {
21
- "Z": function() { return /* binding */ message; }
22
- });
23
27
 
24
- ;// CONCATENATED MODULE: external "element-plus/dist/index.full.js"
25
- var index_full_js_namespaceObject = require("element-plus/dist/index.full.js");
26
- // EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
27
- var init_js_ = __webpack_require__(7997);
28
- var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
29
- ;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
28
+ element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
29
+ _init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
30
+ Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
31
+ };
32
+ /* harmony default export */ __webpack_exports__.A = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
30
33
 
34
+ /***/ }),
31
35
 
36
+ /***/ 5698:
37
+ /***/ (function(module) {
32
38
 
33
- index_full_js_namespaceObject.ElMessage.install = (Vue, opts) => {
34
- init_js_default()(Vue, opts);
35
- Vue.component("KqMessage", index_full_js_namespaceObject.ElMessage);
36
- };
39
+ module.exports = require("@kq_npm/client_icons_vue");
40
+
41
+ /***/ }),
37
42
 
38
- /* harmony default export */ var message = (index_full_js_namespaceObject.ElMessage);
43
+ /***/ 8224:
44
+ /***/ (function(module) {
45
+
46
+ module.exports = require("core-js/modules/esnext.iterator.map.js");
39
47
 
40
48
  /***/ }),
41
49
 
42
- /***/ 348:
50
+ /***/ 6363:
43
51
  /***/ (function(module) {
44
52
 
45
- module.exports = require("@kq_npm/client_icons_vue");
53
+ module.exports = require("element-plus/dist/index.full.js");
46
54
 
47
55
  /***/ }),
48
56
 
49
- /***/ 7080:
57
+ /***/ 3579:
50
58
  /***/ (function(module) {
51
59
 
52
60
  module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
53
61
 
54
62
  /***/ }),
55
63
 
56
- /***/ 6277:
64
+ /***/ 4822:
57
65
  /***/ (function(module) {
58
66
 
59
- module.exports = __WEBPACK_EXTERNAL_MODULE__6277__;
67
+ module.exports = __WEBPACK_EXTERNAL_MODULE__4822__;
60
68
 
61
69
  /***/ }),
62
70
 
63
- /***/ 7135:
71
+ /***/ 64:
64
72
  /***/ (function(module) {
65
73
 
66
- module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
74
+ module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
67
75
 
68
76
  /***/ }),
69
77
 
70
- /***/ 3458:
78
+ /***/ 2975:
71
79
  /***/ (function(module) {
72
80
 
73
- module.exports = __WEBPACK_EXTERNAL_MODULE__3458__;
81
+ module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
74
82
 
75
83
  /***/ }),
76
84
 
77
- /***/ 7997:
85
+ /***/ 455:
78
86
  /***/ (function(module) {
79
87
 
80
- module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
88
+ module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
81
89
 
82
90
  /***/ }),
83
91
 
84
- /***/ 1895:
92
+ /***/ 154:
85
93
  /***/ (function(module) {
86
94
 
87
- module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
95
+ module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
88
96
 
89
97
  /***/ }),
90
98
 
91
- /***/ 8270:
99
+ /***/ 6913:
92
100
  /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
93
101
 
94
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
95
- /* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
96
- /* harmony export */ });
97
- function _defineProperty(obj, key, value) {
98
- if (key in obj) {
99
- Object.defineProperty(obj, key, {
100
- value: value,
101
- enumerable: true,
102
- configurable: true,
103
- writable: true
104
- });
105
- } else {
106
- obj[key] = value;
102
+
103
+ // EXPORTS
104
+ __webpack_require__.d(__webpack_exports__, {
105
+ A: function() { return /* binding */ _defineProperty; }
106
+ });
107
+
108
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
109
+ function _typeof(o) {
110
+ "@babel/helpers - typeof";
111
+
112
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
113
+ return typeof o;
114
+ } : function (o) {
115
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
116
+ }, _typeof(o);
117
+ }
118
+
119
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
120
+
121
+ function toPrimitive(t, r) {
122
+ if ("object" != _typeof(t) || !t) return t;
123
+ var e = t[Symbol.toPrimitive];
124
+ if (void 0 !== e) {
125
+ var i = e.call(t, r || "default");
126
+ if ("object" != _typeof(i)) return i;
127
+ throw new TypeError("@@toPrimitive must return a primitive value.");
107
128
  }
129
+ return ("string" === r ? String : Number)(t);
130
+ }
131
+
132
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
108
133
 
109
- return obj;
134
+
135
+ function toPropertyKey(t) {
136
+ var i = toPrimitive(t, "string");
137
+ return "symbol" == _typeof(i) ? i : i + "";
110
138
  }
111
139
 
140
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
141
+
142
+ function _defineProperty(e, r, t) {
143
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
144
+ value: t,
145
+ enumerable: !0,
146
+ configurable: !0,
147
+ writable: !0
148
+ }) : e[r] = t, e;
149
+ }
150
+
151
+
112
152
  /***/ })
113
153
 
114
154
  /******/ });
@@ -180,40 +220,43 @@ function _defineProperty(obj, key, value) {
180
220
  /******/
181
221
  /************************************************************************/
182
222
  var __webpack_exports__ = {};
183
- // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
184
- !function() {
185
223
  // ESM COMPAT FLAG
186
224
  __webpack_require__.r(__webpack_exports__);
187
225
 
188
226
  // EXPORTS
189
227
  __webpack_require__.d(__webpack_exports__, {
190
- "ShadowAnalysisViewModel": function() { return /* reexport */ ShadowAnalysisViewModel; },
228
+ ShadowAnalysisViewModel: function() { return /* reexport */ ShadowAnalysisViewModel; },
191
229
  "default": function() { return /* reexport */ ShadowAnalysis; }
192
230
  });
193
231
 
194
232
  // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
195
- var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
233
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
196
234
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
197
- var gis_utils_ = __webpack_require__(7135);
198
- // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
199
- var defineProperty = __webpack_require__(8270);
200
- // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
201
- var message = __webpack_require__(3694);
235
+ var gis_utils_ = __webpack_require__(64);
236
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
237
+ var defineProperty = __webpack_require__(6913);
238
+ // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.map.js"
239
+ var esnext_iterator_map_js_ = __webpack_require__(8224);
240
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js
241
+ var message = __webpack_require__(3275);
202
242
  ;// CONCATENATED MODULE: ./src/webgl/shadowanalysis/ShadowAnalysisViewModel.js
203
243
 
244
+
245
+ /*
246
+ * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
247
+ * All rights reserved.
248
+ */
204
249
  // 分析逻辑类
205
250
 
206
251
  class ShadowAnalysisViewModel {
207
- //阴影分析三维对象
208
252
  constructor(scenceView, viewModel) {
209
- (0,defineProperty/* default */.Z)(this, "_shadowAnalysis", null);
210
-
211
- (0,defineProperty/* default */.Z)(this, "_globaOptions", {
253
+ (0,defineProperty/* default */.A)(this, "_shadowAnalysis", null);
254
+ //阴影分析三维对象
255
+ (0,defineProperty/* default */.A)(this, "_globaOptions", {
212
256
  //全局参数
213
257
  viewer: null,
214
258
  _drawManager: null
215
259
  });
216
-
217
260
  this._globaOptions.viewer = scenceView._viewer;
218
261
  this._globaOptions.viewModel = {
219
262
  viewer: this._globaOptions.viewer,
@@ -243,16 +286,14 @@ class ShadowAnalysisViewModel {
243
286
  var that = this;
244
287
  this._globaOptions._drawFinishedEventListener = this._globaOptions._drawManager.drawFinishedEvent.addEventListener(shape => {
245
288
  if (shape) {
246
- that._globaOptions.viewModel.positions = shape._controlPoints; // 实例化分析对象
247
-
289
+ that._globaOptions.viewModel.positions = shape._controlPoints;
290
+ // 实例化分析对象
248
291
  that.setKq3dShadowAnalyse();
249
-
250
292
  that._globaOptions._drawManager.clear();
251
293
  }
252
294
  });
253
- } // 处理绘制坐标,转成二维坐标
254
-
255
-
295
+ }
296
+ // 处理绘制坐标,转成二维坐标
256
297
  coordinateTransform(points) {
257
298
  let cutPoints = points.map(function (point) {
258
299
  let cartesPh = Cesium.Cartographic.fromCartesian(point);
@@ -266,132 +307,113 @@ class ShadowAnalysisViewModel {
266
307
  return map;
267
308
  });
268
309
  return cutPoints;
269
- } // 开始分析
270
-
271
-
310
+ }
311
+ // 开始分析
272
312
  start() {
273
313
  // 判断是否添加了模型
274
314
  var flag = false;
275
315
  var models = this._globaOptions.viewer.scene.primitives._primitives;
276
-
277
316
  for (let i = 0; i < models.length; i++) {
278
317
  if (models[i]._url) {
279
318
  flag = true;
280
319
  }
281
320
  }
282
-
283
321
  if (flag) {
284
322
  if (this._globaOptions._drawManager) this._globaOptions._drawManager.startDraw("polygon", {
285
323
  clampToGround: true
286
324
  });
287
325
  } else {
288
- (0,message/* default */.Z)({
326
+ (0,message/* default */.A)({
289
327
  message: "请添加模型后分析!",
290
328
  type: "warning"
291
329
  });
292
330
  }
293
- } // 阴影分析
294
-
295
-
331
+ }
332
+ // 阴影分析
296
333
  setKq3dShadowAnalyse() {
297
- this._shadowAnalysis = new window.Cesium.Kq3dShadowAnalyse(this._globaOptions.viewModel); //this._globaOptions.viewer.scene.primitives.add(this._shadowAnalysis);
298
- } // 分析日期
299
-
300
-
334
+ this._shadowAnalysis = new window.Cesium.Kq3dShadowAnalyse(this._globaOptions.viewModel);
335
+ //this._globaOptions.viewer.scene.primitives.add(this._shadowAnalysis);
336
+ }
337
+ // 分析日期
301
338
  setCurrentDate(newValue) {
302
339
  this._globaOptions.viewModel.currentDate = new Date(newValue);
303
340
  if (this._shadowAnalysis) this._shadowAnalysis.currentDate = new Date(newValue);
304
- } //设置时间
305
-
306
-
341
+ }
342
+ //设置时间
307
343
  setTime(newValue) {
308
344
  if (newValue && newValue.length && newValue.length > 1) {
309
345
  if (this._globaOptions.viewModel.startTime == newValue[0] && this._globaOptions.viewModel.endTime == newValue[1]) return;
310
346
  this._globaOptions.viewModel.startTime = newValue[0];
311
347
  this._globaOptions.viewModel.endTime = newValue[1];
312
-
313
348
  if (this._shadowAnalysis) {
314
349
  this._shadowAnalysis.startTime = Number(this._globaOptions.viewModel.startTime);
315
350
  this._shadowAnalysis.endTime = Number(this._globaOptions.viewModel.endTime);
316
351
  }
317
352
  }
318
- } // 开始时刻
319
-
320
-
353
+ }
354
+ // 开始时刻
321
355
  setStartTime(newValue) {
322
356
  if (this._globaOptions.viewModel.startTime == newValue) return;
323
357
  this._globaOptions.viewModel.startTime = newValue;
324
358
  if (this._shadowAnalysis) this._shadowAnalysis.startTime = Number(newValue);
325
- } // 结束时刻
326
-
327
-
359
+ }
360
+ // 结束时刻
328
361
  setEndTime(newValue) {
329
362
  if (this._globaOptions.viewModel.endTime == newValue) return;
330
363
  this._globaOptions.viewModel.endTime = newValue;
331
364
  if (this._shadowAnalysis) this._shadowAnalysis.endTime = Number(newValue);
332
- } // 分析间隔
333
-
334
-
365
+ }
366
+ // 分析间隔
335
367
  setTimeSpacing(newValue) {
336
368
  if (this._globaOptions.viewModel.timeSpacing == newValue) return;
337
369
  this._globaOptions.viewModel.timeSpacing = newValue;
338
370
  if (this._shadowAnalysis) this._shadowAnalysis.timeSpacing = Number(newValue);
339
- } // 基底高度
340
-
341
-
371
+ }
372
+ // 基底高度
342
373
  setBaseHeight(newValue) {
343
374
  if (this._globaOptions.viewModel.baseHeight == newValue) return;
344
375
  this._globaOptions.viewModel.baseHeight = newValue;
345
376
  if (this._shadowAnalysis) this._shadowAnalysis.baseHeight = Number(newValue);
346
- } // 拉伸高度
347
-
348
-
377
+ }
378
+ // 拉伸高度
349
379
  setExtrudeHeight(newValue) {
350
380
  if (this._globaOptions.viewModel.extrudeHeight == newValue) return;
351
381
  this._globaOptions.viewModel.extrudeHeight = newValue;
352
382
  if (this._shadowAnalysis) this._shadowAnalysis.extrudeHeight = Number(newValue);
353
- } // 是否显示体素
354
-
355
-
383
+ }
384
+ // 是否显示体素
356
385
  setShowVoxel(checked) {
357
386
  if (this._shadowAnalysis) this._shadowAnalysis.voxel.show = checked;
358
- } // 体素大小
359
-
360
-
387
+ }
388
+ // 体素大小
361
389
  setRadius(newValue) {
362
390
  if (this._globaOptions.viewModel.width == newValue) return;
363
391
  this._globaOptions.viewModel.width = newValue;
364
-
365
392
  if (this._shadowAnalysis) {
366
393
  this.clear();
367
394
  this.setKq3dShadowAnalyse();
368
395
  }
369
- } // 体素间距
370
-
371
-
396
+ }
397
+ // 体素间距
372
398
  setSpacing(newValue) {
373
399
  if (this._globaOptions.viewModel.spacing == newValue) return;
374
400
  this._globaOptions.viewModel.spacing = newValue;
375
-
376
401
  if (this._shadowAnalysis) {
377
402
  this.clear();
378
403
  this.setKq3dShadowAnalyse();
379
404
  }
380
- } // 阴影率过滤
381
-
382
-
405
+ }
406
+ // 阴影率过滤
383
407
  setFilterValue(newValue) {
384
408
  this._globaOptions.viewModel.filterValue = newValue;
385
409
  if (this._shadowAnalysis) this._shadowAnalysis.filterValue = Number(newValue);
386
- } // 透明缩放
387
-
388
-
410
+ }
411
+ // 透明缩放
389
412
  setAlphaScale(newValue) {
390
413
  this._globaOptions.viewModel.alphaScale = newValue;
391
414
  if (this._shadowAnalysis) this._shadowAnalysis.alphaScale = Number(newValue);
392
- } //日照效果
393
-
394
-
415
+ }
416
+ //日照效果
395
417
  sunshineEffect() {
396
418
  let timeNumber = new Date(this._globaOptions.viewModel.currentDate.toLocaleDateString()).getTime();
397
419
  let startTimeNumber = timeNumber + this._globaOptions.viewModel.startTime * 3600 * 1000;
@@ -405,41 +427,36 @@ class ShadowAnalysisViewModel {
405
427
  clock.multiplier = 7200;
406
428
  clock.clockRange = Cesium.ClockRange.CLAMPED;
407
429
  clock.shouldAnimate = true;
408
- } // 清除全部结果
409
-
430
+ }
410
431
 
432
+ // 清除全部结果
411
433
  clear() {
412
434
  this._globaOptions._drawManager && this._globaOptions._drawManager.stopDraw();
413
-
414
435
  if (this._shadowAnalysis) {
415
436
  this._globaOptions.viewer.scene.primitives.remove(this._shadowAnalysis);
416
-
417
437
  this._shadowAnalysis = null;
418
438
  }
419
-
420
439
  this._globaOptions.viewModel.showCurrent = false;
421
- } // 销毁
422
-
423
-
440
+ }
441
+ // 销毁
424
442
  destroy() {
425
443
  this.clear();
426
444
  this._globaOptions.viewer.shadows = false;
427
445
  this._globaOptions.viewer.shouldAnimate = false;
428
- this._globaOptions.viewer.scene.globe.enableLighting = false; //移除监听事件
429
-
446
+ this._globaOptions.viewer.scene.globe.enableLighting = false;
447
+ //移除监听事件
430
448
  this._globaOptions._drawFinishedEventListener && this._globaOptions._drawFinishedEventListener();
431
449
  this._globaOptions._drawFinishedEventListener = null;
432
450
  }
433
-
434
451
  }
435
452
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
436
- var const_image_ = __webpack_require__(6277);
453
+ var const_image_ = __webpack_require__(4822);
437
454
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
438
- var client_icons_vue_ = __webpack_require__(348);
455
+ var client_icons_vue_ = __webpack_require__(5698);
439
456
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
440
- var util_ = __webpack_require__(3458);
457
+ var util_ = __webpack_require__(2975);
441
458
  // EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
442
- var vue_i18n_cjs_js_ = __webpack_require__(7080);
459
+ var vue_i18n_cjs_js_ = __webpack_require__(3579);
443
460
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/shadowanalysis/ShadowAnalysis.vue?vue&type=script&setup=true&lang=js
444
461
 
445
462
  const _hoisted_1 = {
@@ -451,18 +468,8 @@ const _hoisted_2 = {
451
468
  const _hoisted_3 = {
452
469
  class: "kq3d-shadow-analysis-span"
453
470
  };
454
-
455
- const _hoisted_4 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, "0.0", -1
456
- /* HOISTED */
457
- );
458
-
459
- const _hoisted_5 = ["src"];
460
-
461
- const _hoisted_6 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, "1.0", -1
462
- /* HOISTED */
463
- );
464
-
465
- const _hoisted_7 = {
471
+ const _hoisted_4 = ["src"];
472
+ const _hoisted_5 = {
466
473
  class: "kq3d-shadow-analysis-footer"
467
474
  };
468
475
 
@@ -475,7 +482,7 @@ const _hoisted_7 = {
475
482
  const __default__ = {
476
483
  name: "Kq3dShadowAnalysis"
477
484
  };
478
- /* harmony default export */ var ShadowAnalysisvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
485
+ /* harmony default export */ var ShadowAnalysisvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
479
486
  props: {
480
487
  // 设置参数
481
488
  settingParams: {
@@ -486,7 +493,6 @@ const __default__ = {
486
493
  type: Boolean,
487
494
  default: true
488
495
  },
489
-
490
496
  /**
491
497
  * 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
492
498
  */
@@ -516,22 +522,20 @@ const __default__ = {
516
522
  default: true
517
523
  }
518
524
  },
519
-
520
525
  setup(__props, {
521
- expose
526
+ expose: __expose
522
527
  }) {
523
- const props = __props;
524
528
  const {
525
529
  proxy
526
530
  } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
527
531
  let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
528
532
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
529
533
  let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
530
- let time = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([6, 12]); //计算属性
534
+ let time = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([6, 12]);
531
535
 
536
+ //计算属性
532
537
  const timeMarks = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.computed)(() => {
533
538
  let marks = {};
534
-
535
539
  for (let i = 0; i <= 24; i++) {
536
540
  if (i % 6 === 0) {
537
541
  // 几个特殊的,显示数字
@@ -552,11 +556,12 @@ const __default__ = {
552
556
  };
553
557
  }
554
558
  }
555
-
556
559
  return marks;
557
- }); // 获取组件传参
558
- // 分析类
560
+ });
559
561
 
562
+ // 获取组件传参
563
+ const props = __props;
564
+ // 分析类
560
565
  let viewModel = null;
561
566
  let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
562
567
  showVoxel: props.settingParams && props.settingParams.showBuilding !== undefined || true,
@@ -603,14 +608,16 @@ const __default__ = {
603
608
  minAlphaScale: props.settingParams && props.settingParams.alphaScale || 1,
604
609
  // 透明缩放范围最小值
605
610
  maxAlphaScale: props.settingParams && props.settingParams.alphaScale || 1 // 透明缩放范围最大值
611
+ });
606
612
 
607
- }); // 组件容器Ref
608
-
609
- let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
613
+ // 组件容器Ref
614
+ let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
610
615
 
616
+ // 生成组件默认header
611
617
  let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
612
- let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
618
+ let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
613
619
 
620
+ // 国际化
614
621
  let {
615
622
  locale,
616
623
  messages
@@ -654,50 +661,44 @@ const __default__ = {
654
661
  filterValue: formItem.filterValue,
655
662
  // 阴影率过滤
656
663
  alphaScale: formItem.alphaScale // 透明缩放
657
-
658
664
  });
659
665
  }
660
666
  });
661
667
  });
668
+
662
669
  /**
663
670
  * @description 监听header生成
664
671
  */
665
-
666
672
  const watchCreateHeaderTemp = () => {
667
673
  if (props.showHeaderTemp) {
668
674
  // 生成headerTemp
669
675
  headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
670
676
  }
671
- }; // 获取当前日期
672
-
677
+ };
673
678
 
679
+ // 获取当前日期
674
680
  function GetDateStr() {
675
681
  var dd = new Date();
676
682
  var y = dd.getFullYear();
677
683
  var m = dd.getMonth() + 1; //获取当前月份的日期
678
-
679
684
  var d = dd.getDate();
680
685
  console.log(y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d));
681
686
  return y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d);
682
- } // 日期改变
683
-
684
-
687
+ }
688
+ // 日期改变
685
689
  function changeDate(val) {
686
690
  console.log(formItem.currentDate);
687
691
  if (viewModel.setCurrentDate) viewModel.setCurrentDate(formItem.currentDate);
688
- } // 改变时刻
689
-
690
-
691
- function changeTime(val) {} // 参数改变
692
-
693
-
692
+ }
693
+ // 改变时刻
694
+ function changeTime(val) {}
695
+ // 参数改变
694
696
  function paramsChanged(key) {
695
697
  switch (key) {
696
698
  case "currentDate":
697
699
  // 改变日期
698
700
  if (viewModel.setCurrentDate) viewModel.setCurrentDate(formItem.currentDate);
699
701
  break;
700
-
701
702
  case "time":
702
703
  // 改变时刻
703
704
  if (!time.value || !time.value.length) return;
@@ -705,64 +706,54 @@ const __default__ = {
705
706
  formItem.endTime = time.value[1];
706
707
  if (viewModel.setTime) viewModel.setTime(time.value);
707
708
  break;
708
-
709
709
  case "extrudeHeight":
710
710
  // 改变拉伸高度
711
711
  if (viewModel.setExtrudeHeight) viewModel.setExtrudeHeight(formItem.extrudeHeight);
712
712
  break;
713
-
714
713
  case "baseHeight":
715
714
  // 改变基地高度
716
715
  if (viewModel.setBaseHeight) viewModel.setBaseHeight(formItem.baseHeight);
717
716
  break;
718
-
719
717
  case "width":
720
718
  // 改变体素大小
721
719
  if (viewModel.setRadius) viewModel.setRadius(formItem.width);
722
720
  break;
723
-
724
721
  case "spacing":
725
722
  // 改变体素间距
726
723
  if (viewModel.setSpacing) viewModel.setSpacing(formItem.spacing);
727
724
  break;
728
-
729
725
  case "filterValue":
730
726
  // 改变阴影率过滤
731
727
  if (viewModel.setFilterValue) viewModel.setFilterValue(formItem.filterValue);
732
728
  break;
733
-
734
729
  case "alphaScale":
735
730
  // 改变透明缩放
736
731
  if (viewModel.setAlphaScale) viewModel.setAlphaScale(formItem.alphaScale);
737
732
  break;
738
-
739
733
  default:
740
734
  break;
741
735
  }
742
- } // 开始分析
743
-
744
-
736
+ }
737
+ // 开始分析
745
738
  function startAnalysis() {
746
739
  // this.clearResult();
747
740
  viewModel && viewModel.clear();
748
741
  viewModel && viewModel.start();
749
- } // 日照效果
750
-
751
-
742
+ }
743
+ // 日照效果
752
744
  function playTime() {
753
745
  viewModel && viewModel.sunshineEffect();
754
- } //清除结果
755
-
756
-
746
+ }
747
+ //清除结果
757
748
  function clearResult() {
758
749
  viewModel && viewModel.clear();
759
- } // 销毁
760
-
750
+ }
761
751
 
752
+ // 销毁
762
753
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
763
754
  viewModel && viewModel.destroy();
764
755
  });
765
- expose({
756
+ __expose({
766
757
  paramsChanged,
767
758
  startAnalysis,
768
759
  playTime,
@@ -770,25 +761,15 @@ const __default__ = {
770
761
  });
771
762
  return (_ctx, _cache) => {
772
763
  const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
773
-
774
764
  const _component_kq_date_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-date-picker");
775
-
776
765
  const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
777
-
778
766
  const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
779
-
780
767
  const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
781
-
782
768
  const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
783
-
784
769
  const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
785
-
786
770
  const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
787
-
788
771
  const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
789
-
790
772
  const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
791
-
792
773
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
793
774
  class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-shadow-analysis", {
794
775
  'kq-box-shadow': __props.showShadow
@@ -799,21 +780,15 @@ const __default__ = {
799
780
  key: 0,
800
781
  ref_key: "headerTempRef",
801
782
  ref: headerTempRef
802
- }, null, 512
803
- /* NEED_PATCH */
804
- )) : (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, {
783
+ }, 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, {
805
784
  class: "kq3d-shadow-analysis-datetime"
806
785
  }, {
807
786
  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, {
808
787
  span: 4,
809
788
  class: "colDate"
810
789
  }, {
811
- default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).analyseDate), 1
812
- /* TEXT */
813
- )]),
814
- _: 1
815
- /* STABLE */
816
-
790
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).analyseDate), 1 /* TEXT */)]),
791
+ _: 1 /* STABLE */
817
792
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
818
793
  span: 20
819
794
  }, {
@@ -825,16 +800,10 @@ const __default__ = {
825
800
  onChange: _cache[1] || (_cache[1] = $event => paramsChanged('currentDate')),
826
801
  clearable: false,
827
802
  format: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 'YYYY年MM月DD日' : 'YYYY-MM-DD'
828
- }, null, 8
829
- /* PROPS */
830
- , ["modelValue", "format"])]),
831
- _: 1
832
- /* STABLE */
833
-
803
+ }, null, 8 /* PROPS */, ["modelValue", "format"])]),
804
+ _: 1 /* STABLE */
834
805
  })]),
835
- _: 1
836
- /* STABLE */
837
-
806
+ _: 1 /* STABLE */
838
807
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
839
808
  class: "kq3d-shadow-analysis-datetime"
840
809
  }, {
@@ -842,12 +811,8 @@ const __default__ = {
842
811
  span: 4,
843
812
  class: "colTime"
844
813
  }, {
845
- default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).time), 1
846
- /* TEXT */
847
- )]),
848
- _: 1
849
- /* STABLE */
850
-
814
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).time), 1 /* TEXT */)]),
815
+ _: 1 /* STABLE */
851
816
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
852
817
  span: 20
853
818
  }, {
@@ -861,26 +826,16 @@ const __default__ = {
861
826
  "show-tooltip": false,
862
827
  onChange: _cache[3] || (_cache[3] = $event => paramsChanged('time')),
863
828
  onClick: _cache[4] || (_cache[4] = $event => paramsChanged('time')),
864
- marks: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(timeMarks)
865
- }, null, 8
866
- /* PROPS */
867
- , ["modelValue", "marks"])]),
868
- _: 1
869
- /* STABLE */
870
-
829
+ marks: timeMarks.value
830
+ }, null, 8 /* PROPS */, ["modelValue", "marks"])]),
831
+ _: 1 /* STABLE */
871
832
  })]),
872
- _: 1
873
- /* STABLE */
874
-
833
+ _: 1 /* STABLE */
875
834
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-row class=\"kq3d-shadow-analysis-datetime\">\r\n <kq-col :span=\"6\">\r\n <span class=\"kq3d-shadow-analysis-span\">{{ language.analysisYear }}</span>\r\n </kq-col>\r\n <kq-col :span=\"18\">\r\n <kq-date-picker v-model=\"year\" align=\"right\" type=\"year\" format=\"YYYY年\"></kq-date-picker>\r\n <kq-row :gutter=\"20\">\r\n <kq-col :span=\"20\">\r\n <kq-slider\r\n v-model=\"month\"\r\n :step=\"1\"\r\n :min=\"formItem.1\"\r\n :max=\"formItem.12\"\r\n range\r\n :show-tooltip=\"false\"\r\n @change=\"changeMonth\"\r\n :marks=\"monthMarks\"></kq-slider>\r\n </kq-col>\r\n <kq-col :span=\"4\" class=\"kq3d-shadow-analysis-timeline\">\r\n <kq-icon @click=\"playOrPauseMonth\">\r\n <IconVideoPlay v-if=\"!playMonth\" />\r\n <IconVideoPause v-else />\r\n </kq-icon>\r\n </kq-col>\r\n </kq-row>\r\n </kq-col>\r\n </kq-row> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
876
835
  class: "kq3d-shadow-analysis-tip"
877
836
  }, {
878
- 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).shadowTips), 1
879
- /* TEXT */
880
- )]),
881
- _: 1
882
- /* STABLE */
883
-
837
+ 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).shadowTips), 1 /* TEXT */)]),
838
+ _: 1 /* STABLE */
884
839
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
885
840
  "model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(collapseValue)
886
841
  }, {
@@ -912,12 +867,8 @@ const __default__ = {
912
867
  step: 10,
913
868
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minExtrudeHeight,
914
869
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxExtrudeHeight
915
- }, null, 8
916
- /* PROPS */
917
- , ["modelValue", "min", "max"])]),
918
- _: 1
919
- /* STABLE */
920
-
870
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
871
+ _: 1 /* STABLE */
921
872
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
922
873
  span: 8
923
874
  }, {
@@ -929,26 +880,14 @@ const __default__ = {
929
880
  step: 10,
930
881
  onChange: _cache[9] || (_cache[9] = $event => paramsChanged('extrudeHeight')),
931
882
  "controls-position": "right"
932
- }, null, 8
933
- /* PROPS */
934
- , ["modelValue", "min", "max"])]),
935
- _: 1
936
- /* STABLE */
937
-
883
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
884
+ _: 1 /* STABLE */
938
885
  })]),
939
- _: 1
940
- /* STABLE */
941
-
886
+ _: 1 /* STABLE */
942
887
  })]),
943
- _: 1
944
- /* STABLE */
945
-
946
- }, 8
947
- /* PROPS */
948
- , ["label"])]),
949
- _: 1
950
- /* STABLE */
951
-
888
+ _: 1 /* STABLE */
889
+ }, 8 /* PROPS */, ["label"])]),
890
+ _: 1 /* STABLE */
952
891
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
953
892
  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, {
954
893
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).baseHeight
@@ -969,12 +908,8 @@ const __default__ = {
969
908
  step: 10,
970
909
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minBaseHeight,
971
910
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxBaseHeight
972
- }, null, 8
973
- /* PROPS */
974
- , ["modelValue", "min", "max"])]),
975
- _: 1
976
- /* STABLE */
977
-
911
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
912
+ _: 1 /* STABLE */
978
913
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
979
914
  span: 8
980
915
  }, {
@@ -986,26 +921,14 @@ const __default__ = {
986
921
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxBaseHeight,
987
922
  step: 10,
988
923
  "controls-position": "right"
989
- }, null, 8
990
- /* PROPS */
991
- , ["modelValue", "min", "max"])]),
992
- _: 1
993
- /* STABLE */
994
-
924
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
925
+ _: 1 /* STABLE */
995
926
  })]),
996
- _: 1
997
- /* STABLE */
998
-
927
+ _: 1 /* STABLE */
999
928
  })]),
1000
- _: 1
1001
- /* STABLE */
1002
-
1003
- }, 8
1004
- /* PROPS */
1005
- , ["label"])]),
1006
- _: 1
1007
- /* STABLE */
1008
-
929
+ _: 1 /* STABLE */
930
+ }, 8 /* PROPS */, ["label"])]),
931
+ _: 1 /* STABLE */
1009
932
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
1010
933
  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, {
1011
934
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).voxelSize
@@ -1026,12 +949,8 @@ const __default__ = {
1026
949
  step: 1,
1027
950
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minWidth,
1028
951
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxWidth
1029
- }, null, 8
1030
- /* PROPS */
1031
- , ["modelValue", "min", "max"])]),
1032
- _: 1
1033
- /* STABLE */
1034
-
952
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
953
+ _: 1 /* STABLE */
1035
954
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1036
955
  span: 8
1037
956
  }, {
@@ -1043,26 +962,14 @@ const __default__ = {
1043
962
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxWidth,
1044
963
  step: 1,
1045
964
  "controls-position": "right"
1046
- }, null, 8
1047
- /* PROPS */
1048
- , ["modelValue", "min", "max"])]),
1049
- _: 1
1050
- /* STABLE */
1051
-
965
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
966
+ _: 1 /* STABLE */
1052
967
  })]),
1053
- _: 1
1054
- /* STABLE */
1055
-
968
+ _: 1 /* STABLE */
1056
969
  })]),
1057
- _: 1
1058
- /* STABLE */
1059
-
1060
- }, 8
1061
- /* PROPS */
1062
- , ["label"])]),
1063
- _: 1
1064
- /* STABLE */
1065
-
970
+ _: 1 /* STABLE */
971
+ }, 8 /* PROPS */, ["label"])]),
972
+ _: 1 /* STABLE */
1066
973
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
1067
974
  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, {
1068
975
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).voxelSpacing
@@ -1083,12 +990,8 @@ const __default__ = {
1083
990
  step: 0.1,
1084
991
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minSpacing,
1085
992
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxSpacing
1086
- }, null, 8
1087
- /* PROPS */
1088
- , ["modelValue", "step", "min", "max"])]),
1089
- _: 1
1090
- /* STABLE */
1091
-
993
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
994
+ _: 1 /* STABLE */
1092
995
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1093
996
  span: 8
1094
997
  }, {
@@ -1100,26 +1003,14 @@ const __default__ = {
1100
1003
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxSpacing,
1101
1004
  step: 0.1,
1102
1005
  "controls-position": "right"
1103
- }, null, 8
1104
- /* PROPS */
1105
- , ["modelValue", "min", "max", "step"])]),
1106
- _: 1
1107
- /* STABLE */
1108
-
1006
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
1007
+ _: 1 /* STABLE */
1109
1008
  })]),
1110
- _: 1
1111
- /* STABLE */
1112
-
1009
+ _: 1 /* STABLE */
1113
1010
  })]),
1114
- _: 1
1115
- /* STABLE */
1116
-
1117
- }, 8
1118
- /* PROPS */
1119
- , ["label"])]),
1120
- _: 1
1121
- /* STABLE */
1122
-
1011
+ _: 1 /* STABLE */
1012
+ }, 8 /* PROPS */, ["label"])]),
1013
+ _: 1 /* STABLE */
1123
1014
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
1124
1015
  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, {
1125
1016
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).filterValue
@@ -1139,12 +1030,8 @@ const __default__ = {
1139
1030
  step: 0.01,
1140
1031
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minFilterValue,
1141
1032
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFilterValue
1142
- }, null, 8
1143
- /* PROPS */
1144
- , ["modelValue", "step", "min", "max"])]),
1145
- _: 1
1146
- /* STABLE */
1147
-
1033
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
1034
+ _: 1 /* STABLE */
1148
1035
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1149
1036
  span: 8
1150
1037
  }, {
@@ -1156,26 +1043,14 @@ const __default__ = {
1156
1043
  step: 0.01,
1157
1044
  onInput: _cache[28] || (_cache[28] = $event => paramsChanged('filterValue')),
1158
1045
  "controls-position": "right"
1159
- }, null, 8
1160
- /* PROPS */
1161
- , ["modelValue", "min", "max", "step"])]),
1162
- _: 1
1163
- /* STABLE */
1164
-
1046
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
1047
+ _: 1 /* STABLE */
1165
1048
  })]),
1166
- _: 1
1167
- /* STABLE */
1168
-
1049
+ _: 1 /* STABLE */
1169
1050
  })]),
1170
- _: 1
1171
- /* STABLE */
1172
-
1173
- }, 8
1174
- /* PROPS */
1175
- , ["label"])]),
1176
- _: 1
1177
- /* STABLE */
1178
-
1051
+ _: 1 /* STABLE */
1052
+ }, 8 /* PROPS */, ["label"])]),
1053
+ _: 1 /* STABLE */
1179
1054
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
1180
1055
  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, {
1181
1056
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).alphaScale
@@ -1195,12 +1070,8 @@ const __default__ = {
1195
1070
  step: 0.1,
1196
1071
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minAlphaScale,
1197
1072
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxAlphaScale
1198
- }, null, 8
1199
- /* PROPS */
1200
- , ["modelValue", "step", "min", "max"])]),
1201
- _: 1
1202
- /* STABLE */
1203
-
1073
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
1074
+ _: 1 /* STABLE */
1204
1075
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1205
1076
  span: 8
1206
1077
  }, {
@@ -1212,107 +1083,56 @@ const __default__ = {
1212
1083
  step: 0.1,
1213
1084
  onInput: _cache[32] || (_cache[32] = $event => paramsChanged('alphaScale')),
1214
1085
  "controls-position": "right"
1215
- }, null, 8
1216
- /* PROPS */
1217
- , ["modelValue", "min", "max", "step"])]),
1218
- _: 1
1219
- /* STABLE */
1220
-
1086
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
1087
+ _: 1 /* STABLE */
1221
1088
  })]),
1222
- _: 1
1223
- /* STABLE */
1224
-
1089
+ _: 1 /* STABLE */
1225
1090
  })]),
1226
- _: 1
1227
- /* STABLE */
1228
-
1229
- }, 8
1230
- /* PROPS */
1231
- , ["label"])]),
1232
- _: 1
1233
- /* STABLE */
1234
-
1091
+ _: 1 /* STABLE */
1092
+ }, 8 /* PROPS */, ["label"])]),
1093
+ _: 1 /* STABLE */
1235
1094
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
1236
1095
  class: "kq3d-shadow-analysis-legend"
1237
1096
  }, {
1238
1097
  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, {
1239
1098
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).shadowRateLegend
1240
1099
  }, {
1241
- default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_4, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("img", {
1100
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_cache[36] || (_cache[36] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, "0.0", -1 /* HOISTED */)), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("img", {
1242
1101
  src: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(const_image_.SHADOW_LEGEND_URL),
1243
1102
  alt: ""
1244
- }, null, 8
1245
- /* PROPS */
1246
- , _hoisted_5), _hoisted_6]),
1247
- _: 1
1248
- /* STABLE */
1249
-
1250
- }, 8
1251
- /* PROPS */
1252
- , ["label"])]),
1253
- _: 1
1254
- /* STABLE */
1255
-
1103
+ }, null, 8 /* PROPS */, _hoisted_4), _cache[37] || (_cache[37] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, "1.0", -1 /* HOISTED */))]),
1104
+ _: 1 /* STABLE */
1105
+ }, 8 /* PROPS */, ["label"])]),
1106
+ _: 1 /* STABLE */
1256
1107
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-row :gutter=\"20\" style=\"display: flex\">\r\n <kq-col :span=\"12\">\r\n <kq-checkbox v-model=\"formItem.showBuilding\">{{ language.showBuilding }}</kq-checkbox>\r\n </kq-col>\r\n <kq-col :span=\"12\">\r\n <kq-checkbox v-model=\"formItem.showVoxel\">{{ language.showVoxel }}</kq-checkbox>\r\n </kq-col>\r\n </kq-row> ")]),
1257
- _: 1
1258
- /* STABLE */
1259
-
1108
+ _: 1 /* STABLE */
1260
1109
  })]),
1261
- _: 1
1262
- /* STABLE */
1263
-
1264
- }, 8
1265
- /* PROPS */
1266
- , ["title"])]),
1267
- _: 1
1268
- /* STABLE */
1269
-
1270
- }, 8
1271
- /* PROPS */
1272
- , ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_7, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1110
+ _: 1 /* STABLE */
1111
+ }, 8 /* PROPS */, ["title"])]),
1112
+ _: 1 /* STABLE */
1113
+ }, 8 /* PROPS */, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_5, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1273
1114
  onClick: _cache[33] || (_cache[33] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
1274
1115
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
1275
1116
  type: "primary"
1276
1117
  }, {
1277
- 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
1278
- /* TEXT */
1279
- )]),
1280
- _: 1
1281
- /* STABLE */
1282
-
1283
- }, 8
1284
- /* PROPS */
1285
- , ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1118
+ 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 */)]),
1119
+ _: 1 /* STABLE */
1120
+ }, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1286
1121
  onClick: _cache[34] || (_cache[34] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => playTime(), ["stop"])),
1287
1122
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).sunshine,
1288
1123
  type: "primary"
1289
1124
  }, {
1290
- 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).sunshine), 1
1291
- /* TEXT */
1292
- )]),
1293
- _: 1
1294
- /* STABLE */
1295
-
1296
- }, 8
1297
- /* PROPS */
1298
- , ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1125
+ 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).sunshine), 1 /* TEXT */)]),
1126
+ _: 1 /* STABLE */
1127
+ }, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1299
1128
  onClick: _cache[35] || (_cache[35] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
1300
1129
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
1301
1130
  }, {
1302
- 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
1303
- /* TEXT */
1304
- )]),
1305
- _: 1
1306
- /* STABLE */
1307
-
1308
- }, 8
1309
- /* PROPS */
1310
- , ["title"])])])], 2
1311
- /* CLASS */
1312
- );
1131
+ 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 */)]),
1132
+ _: 1 /* STABLE */
1133
+ }, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
1313
1134
  };
1314
1135
  }
1315
-
1316
1136
  }));
1317
1137
  ;// CONCATENATED MODULE: ./src/webgl/shadowanalysis/ShadowAnalysis.vue?vue&type=script&setup=true&lang=js
1318
1138
 
@@ -1324,10 +1144,13 @@ const __exports__ = ShadowAnalysisvue_type_script_setup_true_lang_js;
1324
1144
 
1325
1145
  /* harmony default export */ var ShadowAnalysis = (__exports__);
1326
1146
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
1327
- var init_js_ = __webpack_require__(7997);
1147
+ var init_js_ = __webpack_require__(455);
1328
1148
  var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
1329
1149
  ;// CONCATENATED MODULE: ./src/webgl/shadowanalysis/index.js
1330
-
1150
+ /*
1151
+ * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
1152
+ * All rights reserved.
1153
+ */
1331
1154
 
1332
1155
 
1333
1156
 
@@ -1336,8 +1159,6 @@ ShadowAnalysis.install = (Vue, opts) => {
1336
1159
  Vue.component(ShadowAnalysis.name, ShadowAnalysis);
1337
1160
  };
1338
1161
 
1339
-
1340
- }();
1341
1162
  /******/ return __webpack_exports__;
1342
1163
  /******/ })()
1343
1164
  ;