@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/init.js"), require("@kq_npm/client_common_vue/_utils/const-image"), 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/init.js", "@kq_npm/client_common_vue/_utils/const-image", "@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/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
- 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/init.js", "@kq_npm/client_common_vue/_utils/const-image", "@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/init.js"), require("@kq_npm/client_common_vue/_utils/const-image"), 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/init.js"], root["@kq_npm/client_common_vue/_utils/const-image"], root["@kq_npm/client_common_vue/_utils/util"]);
10
10
  })(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__7997__, __WEBPACK_EXTERNAL_MODULE__6277__, __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,13 +42,6 @@ module.exports = require("@kq_npm/client_icons_vue");
40
42
 
41
43
  /***/ }),
42
44
 
43
- /***/ 2170:
44
- /***/ (function(module) {
45
-
46
- module.exports = require("core-js/modules/esnext.iterator.map.js");
47
-
48
- /***/ }),
49
-
50
45
  /***/ 9389:
51
46
  /***/ (function(module) {
52
47
 
@@ -96,59 +91,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
96
91
 
97
92
  /***/ }),
98
93
 
99
- /***/ 5301:
94
+ /***/ 8270:
100
95
  /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
101
96
 
102
-
103
- // EXPORTS
104
- __webpack_require__.d(__webpack_exports__, {
105
- "Z": 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.");
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;
128
110
  }
129
- return ("string" === r ? String : Number)(t);
130
- }
131
-
132
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
133
111
 
134
-
135
- function toPropertyKey(t) {
136
- var i = toPrimitive(t, "string");
137
- return "symbol" == _typeof(i) ? i : i + "";
138
- }
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;
112
+ return obj;
149
113
  }
150
114
 
151
-
152
115
  /***/ })
153
116
 
154
117
  /******/ });
@@ -235,10 +198,8 @@ __webpack_require__.d(__webpack_exports__, {
235
198
  var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
236
199
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
237
200
  var gis_utils_ = __webpack_require__(7135);
238
- // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
239
- var defineProperty = __webpack_require__(5301);
240
- // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.map.js"
241
- var esnext_iterator_map_js_ = __webpack_require__(2170);
201
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
202
+ var defineProperty = __webpack_require__(8270);
242
203
  // EXTERNAL MODULE: ./src/common/_ui/message/index.js
243
204
  var message = __webpack_require__(1349);
244
205
  ;// CONCATENATED MODULE: ./src/webgl/shadowanalysis/ShadowAnalysisViewModel.js
@@ -251,15 +212,18 @@ var message = __webpack_require__(1349);
251
212
  // 分析逻辑类
252
213
 
253
214
  class ShadowAnalysisViewModel {
215
+ //阴影分析三维对象
254
216
  constructor(scenceView, viewModel) {
255
217
  (0,defineProperty/* default */.Z)(this, "_shadowAnalysis", null);
256
- //阴影分析三维对象
218
+
257
219
  (0,defineProperty/* default */.Z)(this, "_globaOptions", {
258
220
  //全局参数
259
221
  viewer: null,
260
222
  _drawManager: null
261
223
  });
224
+
262
225
  (0,defineProperty/* default */.Z)(this, "_language", {});
226
+
263
227
  this._language = scenceView._language;
264
228
  this._globaOptions.viewer = scenceView._viewer;
265
229
  this._globaOptions.viewModel = {
@@ -290,14 +254,16 @@ class ShadowAnalysisViewModel {
290
254
  var that = this;
291
255
  this._globaOptions._drawFinishedEventListener = this._globaOptions._drawManager.drawFinishedEvent.addEventListener(shape => {
292
256
  if (shape) {
293
- that._globaOptions.viewModel.positions = shape._controlPoints;
294
- // 实例化分析对象
257
+ that._globaOptions.viewModel.positions = shape._controlPoints; // 实例化分析对象
258
+
295
259
  that.setKq3dShadowAnalyse();
260
+
296
261
  that._globaOptions._drawManager.clear();
297
262
  }
298
263
  });
299
- }
300
- // 处理绘制坐标,转成二维坐标
264
+ } // 处理绘制坐标,转成二维坐标
265
+
266
+
301
267
  coordinateTransform(points) {
302
268
  let cutPoints = points.map(function (point) {
303
269
  let cartesPh = Cesium.Cartographic.fromCartesian(point);
@@ -311,17 +277,20 @@ class ShadowAnalysisViewModel {
311
277
  return map;
312
278
  });
313
279
  return cutPoints;
314
- }
315
- // 开始分析
280
+ } // 开始分析
281
+
282
+
316
283
  start() {
317
284
  // 判断是否添加了模型
318
285
  var flag = false;
319
286
  var models = this._globaOptions.viewer.scene.primitives._primitives;
287
+
320
288
  for (let i = 0; i < models.length; i++) {
321
289
  if (models[i]._url) {
322
290
  flag = true;
323
291
  }
324
292
  }
293
+
325
294
  if (flag) {
326
295
  if (this._globaOptions._drawManager) this._globaOptions._drawManager.startDraw("polygon", {
327
296
  clampToGround: true
@@ -332,92 +301,108 @@ class ShadowAnalysisViewModel {
332
301
  type: "warning"
333
302
  });
334
303
  }
335
- }
336
- // 阴影分析
304
+ } // 阴影分析
305
+
306
+
337
307
  setKq3dShadowAnalyse() {
338
- this._shadowAnalysis = new window.Cesium.Kq3dShadowAnalyse(this._globaOptions.viewModel);
339
- //this._globaOptions.viewer.scene.primitives.add(this._shadowAnalysis);
340
- }
341
- // 分析日期
308
+ this._shadowAnalysis = new window.Cesium.Kq3dShadowAnalyse(this._globaOptions.viewModel); //this._globaOptions.viewer.scene.primitives.add(this._shadowAnalysis);
309
+ } // 分析日期
310
+
311
+
342
312
  setCurrentDate(newValue) {
343
313
  this._globaOptions.viewModel.currentDate = new Date(newValue);
344
314
  if (this._shadowAnalysis) this._shadowAnalysis.currentDate = new Date(newValue);
345
- }
346
- //设置时间
315
+ } //设置时间
316
+
317
+
347
318
  setTime(newValue) {
348
319
  if (newValue && newValue.length && newValue.length > 1) {
349
320
  if (this._globaOptions.viewModel.startTime == newValue[0] && this._globaOptions.viewModel.endTime == newValue[1]) return;
350
321
  this._globaOptions.viewModel.startTime = newValue[0];
351
322
  this._globaOptions.viewModel.endTime = newValue[1];
323
+
352
324
  if (this._shadowAnalysis) {
353
325
  this._shadowAnalysis.startTime = Number(this._globaOptions.viewModel.startTime);
354
326
  this._shadowAnalysis.endTime = Number(this._globaOptions.viewModel.endTime);
355
327
  }
356
328
  }
357
- }
358
- // 开始时刻
329
+ } // 开始时刻
330
+
331
+
359
332
  setStartTime(newValue) {
360
333
  if (this._globaOptions.viewModel.startTime == newValue) return;
361
334
  this._globaOptions.viewModel.startTime = newValue;
362
335
  if (this._shadowAnalysis) this._shadowAnalysis.startTime = Number(newValue);
363
- }
364
- // 结束时刻
336
+ } // 结束时刻
337
+
338
+
365
339
  setEndTime(newValue) {
366
340
  if (this._globaOptions.viewModel.endTime == newValue) return;
367
341
  this._globaOptions.viewModel.endTime = newValue;
368
342
  if (this._shadowAnalysis) this._shadowAnalysis.endTime = Number(newValue);
369
- }
370
- // 分析间隔
343
+ } // 分析间隔
344
+
345
+
371
346
  setTimeSpacing(newValue) {
372
347
  if (this._globaOptions.viewModel.timeSpacing == newValue) return;
373
348
  this._globaOptions.viewModel.timeSpacing = newValue;
374
349
  if (this._shadowAnalysis) this._shadowAnalysis.timeSpacing = Number(newValue);
375
- }
376
- // 基底高度
350
+ } // 基底高度
351
+
352
+
377
353
  setBaseHeight(newValue) {
378
354
  if (this._globaOptions.viewModel.baseHeight == newValue) return;
379
355
  this._globaOptions.viewModel.baseHeight = newValue;
380
356
  if (this._shadowAnalysis) this._shadowAnalysis.baseHeight = Number(newValue);
381
- }
382
- // 拉伸高度
357
+ } // 拉伸高度
358
+
359
+
383
360
  setExtrudeHeight(newValue) {
384
361
  if (this._globaOptions.viewModel.extrudeHeight == newValue) return;
385
362
  this._globaOptions.viewModel.extrudeHeight = newValue;
386
363
  if (this._shadowAnalysis) this._shadowAnalysis.extrudeHeight = Number(newValue);
387
- }
388
- // 是否显示体素
364
+ } // 是否显示体素
365
+
366
+
389
367
  setShowVoxel(checked) {
390
368
  if (this._shadowAnalysis) this._shadowAnalysis.voxel.show = checked;
391
- }
392
- // 体素大小
369
+ } // 体素大小
370
+
371
+
393
372
  setRadius(newValue) {
394
373
  if (this._globaOptions.viewModel.width == newValue) return;
395
374
  this._globaOptions.viewModel.width = newValue;
375
+
396
376
  if (this._shadowAnalysis) {
397
377
  this.clear();
398
378
  this.setKq3dShadowAnalyse();
399
379
  }
400
- }
401
- // 体素间距
380
+ } // 体素间距
381
+
382
+
402
383
  setSpacing(newValue) {
403
384
  if (this._globaOptions.viewModel.spacing == newValue) return;
404
385
  this._globaOptions.viewModel.spacing = newValue;
386
+
405
387
  if (this._shadowAnalysis) {
406
388
  this.clear();
407
389
  this.setKq3dShadowAnalyse();
408
390
  }
409
- }
410
- // 阴影率过滤
391
+ } // 阴影率过滤
392
+
393
+
411
394
  setFilterValue(newValue) {
412
395
  this._globaOptions.viewModel.filterValue = newValue;
413
396
  if (this._shadowAnalysis) this._shadowAnalysis.filterValue = Number(newValue);
414
- }
415
- // 透明缩放
397
+ } // 透明缩放
398
+
399
+
416
400
  setAlphaScale(newValue) {
417
401
  this._globaOptions.viewModel.alphaScale = newValue;
418
402
  if (this._shadowAnalysis) this._shadowAnalysis.alphaScale = Number(newValue);
419
- }
420
- //日照效果
403
+ } //日照效果
404
+
405
+
421
406
  sunshineEffect() {
422
407
  let timeNumber = new Date(this._globaOptions.viewModel.currentDate.toLocaleDateString()).getTime();
423
408
  let startTimeNumber = timeNumber + this._globaOptions.viewModel.startTime * 3600 * 1000;
@@ -431,27 +416,32 @@ class ShadowAnalysisViewModel {
431
416
  clock.multiplier = 7200;
432
417
  clock.clockRange = Cesium.ClockRange.CLAMPED;
433
418
  clock.shouldAnimate = true;
434
- }
419
+ } // 清除全部结果
420
+
435
421
 
436
- // 清除全部结果
437
422
  clear() {
438
423
  this._globaOptions._drawManager && this._globaOptions._drawManager.stopDraw();
424
+
439
425
  if (this._shadowAnalysis) {
440
426
  this._globaOptions.viewer.scene.primitives.remove(this._shadowAnalysis);
427
+
441
428
  this._shadowAnalysis = null;
442
429
  }
430
+
443
431
  this._globaOptions.viewModel.showCurrent = false;
444
- }
445
- // 销毁
432
+ } // 销毁
433
+
434
+
446
435
  destroy() {
447
436
  this.clear();
448
437
  this._globaOptions.viewer.shadows = false;
449
438
  this._globaOptions.viewer.shouldAnimate = false;
450
- this._globaOptions.viewer.scene.globe.enableLighting = false;
451
- //移除监听事件
439
+ this._globaOptions.viewer.scene.globe.enableLighting = false; //移除监听事件
440
+
452
441
  this._globaOptions._drawFinishedEventListener && this._globaOptions._drawFinishedEventListener();
453
442
  this._globaOptions._drawFinishedEventListener = null;
454
443
  }
444
+
455
445
  }
456
446
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
457
447
  var const_image_ = __webpack_require__(6277);
@@ -461,7 +451,7 @@ var client_icons_vue_ = __webpack_require__(348);
461
451
  var util_ = __webpack_require__(3458);
462
452
  // EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
463
453
  var vue_i18n_cjs_js_ = __webpack_require__(7080);
464
- ;// 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
454
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/shadowanalysis/ShadowAnalysis.vue?vue&type=script&setup=true&lang=js
465
455
 
466
456
  const _hoisted_1 = {
467
457
  class: "kq3d-shadow-analysis-box"
@@ -472,9 +462,17 @@ const _hoisted_2 = {
472
462
  const _hoisted_3 = {
473
463
  class: "kq3d-shadow-analysis-span"
474
464
  };
475
- const _hoisted_4 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, "0.0", -1 /* HOISTED */);
465
+
466
+ const _hoisted_4 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, "0.0", -1
467
+ /* HOISTED */
468
+ );
469
+
476
470
  const _hoisted_5 = ["src"];
477
- const _hoisted_6 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, "1.0", -1 /* HOISTED */);
471
+
472
+ const _hoisted_6 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, "1.0", -1
473
+ /* HOISTED */
474
+ );
475
+
478
476
  const _hoisted_7 = {
479
477
  class: "kq3d-shadow-analysis-footer"
480
478
  };
@@ -499,6 +497,7 @@ const __default__ = {
499
497
  type: Boolean,
500
498
  default: true
501
499
  },
500
+
502
501
  /**
503
502
  * 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
504
503
  */
@@ -528,6 +527,7 @@ const __default__ = {
528
527
  default: true
529
528
  }
530
529
  },
530
+
531
531
  setup(__props, {
532
532
  expose: __expose
533
533
  }) {
@@ -537,11 +537,11 @@ const __default__ = {
537
537
  } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
538
538
  let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
539
539
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
540
- let time = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([6, 12]);
540
+ let time = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([6, 12]); //计算属性
541
541
 
542
- //计算属性
543
542
  const timeMarks = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.computed)(() => {
544
543
  let marks = {};
544
+
545
545
  for (let i = 0; i <= 24; i++) {
546
546
  if (i % 6 === 0) {
547
547
  // 几个特殊的,显示数字
@@ -562,12 +562,11 @@ const __default__ = {
562
562
  };
563
563
  }
564
564
  }
565
- return marks;
566
- });
567
-
568
- // 获取组件传参
569
565
 
566
+ return marks;
567
+ }); // 获取组件传参
570
568
  // 分析类
569
+
571
570
  let viewModel = null;
572
571
  let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
573
572
  collapseValue: props.settingParams && props.settingParams.collapseValue || ((props.settingParams && props.settingParams.collapseValue) == '' ? "" : "setting"),
@@ -616,16 +615,14 @@ const __default__ = {
616
615
  minAlphaScale: props.settingParams && props.settingParams.alphaScale || 1,
617
616
  // 透明缩放范围最小值
618
617
  maxAlphaScale: props.settingParams && props.settingParams.alphaScale || 1 // 透明缩放范围最大值
619
- });
620
618
 
621
- // 组件容器Ref
622
- let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
619
+ }); // 组件容器Ref
620
+
621
+ let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
623
622
 
624
- // 生成组件默认header
625
623
  let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
626
- let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
624
+ let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
627
625
 
628
- // 国际化
629
626
  let {
630
627
  locale,
631
628
  messages
@@ -672,44 +669,50 @@ const __default__ = {
672
669
  filterValue: formItem.filterValue,
673
670
  // 阴影率过滤
674
671
  alphaScale: formItem.alphaScale // 透明缩放
672
+
675
673
  });
676
674
  }
677
675
  });
678
676
  });
679
-
680
677
  /**
681
678
  * @description 监听header生成
682
679
  */
680
+
683
681
  const watchCreateHeaderTemp = () => {
684
682
  if (props.showHeaderTemp) {
685
683
  // 生成headerTemp
686
684
  headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
687
685
  }
688
- };
686
+ }; // 获取当前日期
687
+
689
688
 
690
- // 获取当前日期
691
689
  function GetDateStr() {
692
690
  var dd = new Date();
693
691
  var y = dd.getFullYear();
694
692
  var m = dd.getMonth() + 1; //获取当前月份的日期
693
+
695
694
  var d = dd.getDate();
696
695
  console.log(y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d));
697
696
  return y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d);
698
- }
699
- // 日期改变
697
+ } // 日期改变
698
+
699
+
700
700
  function changeDate(val) {
701
701
  console.log(formItem.currentDate);
702
702
  if (viewModel.setCurrentDate) viewModel.setCurrentDate(formItem.currentDate);
703
- }
704
- // 改变时刻
705
- function changeTime(val) {}
706
- // 参数改变
703
+ } // 改变时刻
704
+
705
+
706
+ function changeTime(val) {} // 参数改变
707
+
708
+
707
709
  function paramsChanged(key) {
708
710
  switch (key) {
709
711
  case "currentDate":
710
712
  // 改变日期
711
713
  if (viewModel.setCurrentDate) viewModel.setCurrentDate(formItem.currentDate);
712
714
  break;
715
+
713
716
  case "time":
714
717
  // 改变时刻
715
718
  if (!time.value || !time.value.length) return;
@@ -717,70 +720,92 @@ const __default__ = {
717
720
  formItem.endTime = time.value[1];
718
721
  if (viewModel.setTime) viewModel.setTime(time.value);
719
722
  break;
723
+
720
724
  case "extrudeHeight":
721
725
  // 改变拉伸高度
722
726
  if (viewModel.setExtrudeHeight) viewModel.setExtrudeHeight(formItem.extrudeHeight);
723
727
  break;
728
+
724
729
  case "baseHeight":
725
730
  // 改变基地高度
726
731
  if (viewModel.setBaseHeight) viewModel.setBaseHeight(formItem.baseHeight);
727
732
  break;
733
+
728
734
  case "width":
729
735
  // 改变体素大小
730
736
  if (viewModel.setRadius) viewModel.setRadius(formItem.width);
731
737
  break;
738
+
732
739
  case "spacing":
733
740
  // 改变体素间距
734
741
  if (viewModel.setSpacing) viewModel.setSpacing(formItem.spacing);
735
742
  break;
743
+
736
744
  case "filterValue":
737
745
  // 改变阴影率过滤
738
746
  if (viewModel.setFilterValue) viewModel.setFilterValue(formItem.filterValue);
739
747
  break;
748
+
740
749
  case "alphaScale":
741
750
  // 改变透明缩放
742
751
  if (viewModel.setAlphaScale) viewModel.setAlphaScale(formItem.alphaScale);
743
752
  break;
753
+
744
754
  default:
745
755
  break;
746
756
  }
747
- }
748
- // 开始分析
757
+ } // 开始分析
758
+
759
+
749
760
  function startAnalysis() {
750
761
  // this.clearResult();
751
762
  viewModel && viewModel.clear();
752
763
  viewModel && viewModel.start();
753
- }
754
- // 日照效果
764
+ } // 日照效果
765
+
766
+
755
767
  function playTime() {
756
768
  viewModel && viewModel.sunshineEffect();
757
- }
758
- //清除结果
769
+ } //清除结果
770
+
771
+
759
772
  function clearResult() {
760
773
  viewModel && viewModel.clear();
761
- }
774
+ } // 销毁
775
+
762
776
 
763
- // 销毁
764
777
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
765
778
  viewModel && viewModel.destroy();
766
779
  });
780
+
767
781
  __expose({
768
782
  paramsChanged,
769
783
  startAnalysis,
770
784
  playTime,
771
785
  clearResult
772
786
  });
787
+
773
788
  return (_ctx, _cache) => {
774
789
  const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
790
+
775
791
  const _component_kq_date_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-date-picker");
792
+
776
793
  const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
794
+
777
795
  const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
796
+
778
797
  const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
798
+
779
799
  const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
800
+
780
801
  const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
802
+
781
803
  const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
804
+
782
805
  const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
806
+
783
807
  const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
808
+
784
809
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
785
810
  class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-shadow-analysis", {
786
811
  'kq-box-shadow': __props.showShadow
@@ -791,15 +816,21 @@ const __default__ = {
791
816
  key: 0,
792
817
  ref_key: "headerTempRef",
793
818
  ref: headerTempRef
794
- }, 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, {
819
+ }, null, 512
820
+ /* NEED_PATCH */
821
+ )) : (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, {
795
822
  class: "kq3d-shadow-analysis-datetime"
796
823
  }, {
797
824
  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, {
798
825
  span: 4,
799
826
  class: "colDate"
800
827
  }, {
801
- 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 */)]),
802
- _: 1 /* STABLE */
828
+ 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
829
+ /* TEXT */
830
+ )]),
831
+ _: 1
832
+ /* STABLE */
833
+
803
834
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
804
835
  span: 20
805
836
  }, {
@@ -811,10 +842,16 @@ const __default__ = {
811
842
  onChange: _cache[1] || (_cache[1] = $event => paramsChanged('currentDate')),
812
843
  clearable: false,
813
844
  format: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 'YYYY年MM月DD日' : 'YYYY-MM-DD'
814
- }, null, 8 /* PROPS */, ["modelValue", "format"])]),
815
- _: 1 /* STABLE */
845
+ }, null, 8
846
+ /* PROPS */
847
+ , ["modelValue", "format"])]),
848
+ _: 1
849
+ /* STABLE */
850
+
816
851
  })]),
817
- _: 1 /* STABLE */
852
+ _: 1
853
+ /* STABLE */
854
+
818
855
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
819
856
  class: "kq3d-shadow-analysis-datetime"
820
857
  }, {
@@ -822,8 +859,12 @@ const __default__ = {
822
859
  span: 4,
823
860
  class: "colTime"
824
861
  }, {
825
- 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 */)]),
826
- _: 1 /* STABLE */
862
+ 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
863
+ /* TEXT */
864
+ )]),
865
+ _: 1
866
+ /* STABLE */
867
+
827
868
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
828
869
  span: 20
829
870
  }, {
@@ -838,15 +879,25 @@ const __default__ = {
838
879
  onChange: _cache[3] || (_cache[3] = $event => paramsChanged('time')),
839
880
  onClick: _cache[4] || (_cache[4] = $event => paramsChanged('time')),
840
881
  marks: timeMarks.value
841
- }, null, 8 /* PROPS */, ["modelValue", "marks"])]),
842
- _: 1 /* STABLE */
882
+ }, null, 8
883
+ /* PROPS */
884
+ , ["modelValue", "marks"])]),
885
+ _: 1
886
+ /* STABLE */
887
+
843
888
  })]),
844
- _: 1 /* STABLE */
889
+ _: 1
890
+ /* STABLE */
891
+
845
892
  }), (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, {
846
893
  class: "kq3d-shadow-analysis-tip"
847
894
  }, {
848
- 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 */)]),
849
- _: 1 /* STABLE */
895
+ 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
896
+ /* TEXT */
897
+ )]),
898
+ _: 1
899
+ /* STABLE */
900
+
850
901
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
851
902
  "model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue
852
903
  }, {
@@ -878,8 +929,12 @@ const __default__ = {
878
929
  step: 10,
879
930
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minExtrudeHeight,
880
931
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxExtrudeHeight
881
- }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
882
- _: 1 /* STABLE */
932
+ }, null, 8
933
+ /* PROPS */
934
+ , ["modelValue", "min", "max"])]),
935
+ _: 1
936
+ /* STABLE */
937
+
883
938
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
884
939
  span: 8
885
940
  }, {
@@ -891,14 +946,26 @@ const __default__ = {
891
946
  step: 10,
892
947
  onChange: _cache[9] || (_cache[9] = $event => paramsChanged('extrudeHeight')),
893
948
  "controls-position": "right"
894
- }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
895
- _: 1 /* STABLE */
949
+ }, null, 8
950
+ /* PROPS */
951
+ , ["modelValue", "min", "max"])]),
952
+ _: 1
953
+ /* STABLE */
954
+
896
955
  })]),
897
- _: 1 /* STABLE */
956
+ _: 1
957
+ /* STABLE */
958
+
898
959
  })]),
899
- _: 1 /* STABLE */
900
- }, 8 /* PROPS */, ["label"])]),
901
- _: 1 /* STABLE */
960
+ _: 1
961
+ /* STABLE */
962
+
963
+ }, 8
964
+ /* PROPS */
965
+ , ["label"])]),
966
+ _: 1
967
+ /* STABLE */
968
+
902
969
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
903
970
  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, {
904
971
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).baseHeight
@@ -919,8 +986,12 @@ const __default__ = {
919
986
  step: 10,
920
987
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minBaseHeight,
921
988
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxBaseHeight
922
- }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
923
- _: 1 /* STABLE */
989
+ }, null, 8
990
+ /* PROPS */
991
+ , ["modelValue", "min", "max"])]),
992
+ _: 1
993
+ /* STABLE */
994
+
924
995
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
925
996
  span: 8
926
997
  }, {
@@ -932,14 +1003,26 @@ const __default__ = {
932
1003
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxBaseHeight,
933
1004
  step: 10,
934
1005
  "controls-position": "right"
935
- }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
936
- _: 1 /* STABLE */
1006
+ }, null, 8
1007
+ /* PROPS */
1008
+ , ["modelValue", "min", "max"])]),
1009
+ _: 1
1010
+ /* STABLE */
1011
+
937
1012
  })]),
938
- _: 1 /* STABLE */
1013
+ _: 1
1014
+ /* STABLE */
1015
+
939
1016
  })]),
940
- _: 1 /* STABLE */
941
- }, 8 /* PROPS */, ["label"])]),
942
- _: 1 /* STABLE */
1017
+ _: 1
1018
+ /* STABLE */
1019
+
1020
+ }, 8
1021
+ /* PROPS */
1022
+ , ["label"])]),
1023
+ _: 1
1024
+ /* STABLE */
1025
+
943
1026
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
944
1027
  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, {
945
1028
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).voxelSize
@@ -960,8 +1043,12 @@ const __default__ = {
960
1043
  step: 1,
961
1044
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minWidth,
962
1045
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxWidth
963
- }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
964
- _: 1 /* STABLE */
1046
+ }, null, 8
1047
+ /* PROPS */
1048
+ , ["modelValue", "min", "max"])]),
1049
+ _: 1
1050
+ /* STABLE */
1051
+
965
1052
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
966
1053
  span: 8
967
1054
  }, {
@@ -973,14 +1060,26 @@ const __default__ = {
973
1060
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxWidth,
974
1061
  step: 1,
975
1062
  "controls-position": "right"
976
- }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
977
- _: 1 /* STABLE */
1063
+ }, null, 8
1064
+ /* PROPS */
1065
+ , ["modelValue", "min", "max"])]),
1066
+ _: 1
1067
+ /* STABLE */
1068
+
978
1069
  })]),
979
- _: 1 /* STABLE */
1070
+ _: 1
1071
+ /* STABLE */
1072
+
980
1073
  })]),
981
- _: 1 /* STABLE */
982
- }, 8 /* PROPS */, ["label"])]),
983
- _: 1 /* STABLE */
1074
+ _: 1
1075
+ /* STABLE */
1076
+
1077
+ }, 8
1078
+ /* PROPS */
1079
+ , ["label"])]),
1080
+ _: 1
1081
+ /* STABLE */
1082
+
984
1083
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
985
1084
  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, {
986
1085
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).voxelSpacing
@@ -1001,8 +1100,12 @@ const __default__ = {
1001
1100
  step: 0.1,
1002
1101
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minSpacing,
1003
1102
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxSpacing
1004
- }, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
1005
- _: 1 /* STABLE */
1103
+ }, null, 8
1104
+ /* PROPS */
1105
+ , ["modelValue", "step", "min", "max"])]),
1106
+ _: 1
1107
+ /* STABLE */
1108
+
1006
1109
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1007
1110
  span: 8
1008
1111
  }, {
@@ -1014,14 +1117,26 @@ const __default__ = {
1014
1117
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxSpacing,
1015
1118
  step: 0.1,
1016
1119
  "controls-position": "right"
1017
- }, null, 8 /* PROPS */, ["modelValue", "min", "max", "step"])]),
1018
- _: 1 /* STABLE */
1120
+ }, null, 8
1121
+ /* PROPS */
1122
+ , ["modelValue", "min", "max", "step"])]),
1123
+ _: 1
1124
+ /* STABLE */
1125
+
1019
1126
  })]),
1020
- _: 1 /* STABLE */
1127
+ _: 1
1128
+ /* STABLE */
1129
+
1021
1130
  })]),
1022
- _: 1 /* STABLE */
1023
- }, 8 /* PROPS */, ["label"])]),
1024
- _: 1 /* STABLE */
1131
+ _: 1
1132
+ /* STABLE */
1133
+
1134
+ }, 8
1135
+ /* PROPS */
1136
+ , ["label"])]),
1137
+ _: 1
1138
+ /* STABLE */
1139
+
1025
1140
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
1026
1141
  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, {
1027
1142
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).filterValue
@@ -1041,8 +1156,12 @@ const __default__ = {
1041
1156
  step: 0.01,
1042
1157
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minFilterValue,
1043
1158
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFilterValue
1044
- }, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
1045
- _: 1 /* STABLE */
1159
+ }, null, 8
1160
+ /* PROPS */
1161
+ , ["modelValue", "step", "min", "max"])]),
1162
+ _: 1
1163
+ /* STABLE */
1164
+
1046
1165
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1047
1166
  span: 8
1048
1167
  }, {
@@ -1054,14 +1173,26 @@ const __default__ = {
1054
1173
  step: 0.01,
1055
1174
  onChange: _cache[28] || (_cache[28] = $event => paramsChanged('filterValue')),
1056
1175
  "controls-position": "right"
1057
- }, null, 8 /* PROPS */, ["modelValue", "min", "max", "step"])]),
1058
- _: 1 /* STABLE */
1176
+ }, null, 8
1177
+ /* PROPS */
1178
+ , ["modelValue", "min", "max", "step"])]),
1179
+ _: 1
1180
+ /* STABLE */
1181
+
1059
1182
  })]),
1060
- _: 1 /* STABLE */
1183
+ _: 1
1184
+ /* STABLE */
1185
+
1061
1186
  })]),
1062
- _: 1 /* STABLE */
1063
- }, 8 /* PROPS */, ["label"])]),
1064
- _: 1 /* STABLE */
1187
+ _: 1
1188
+ /* STABLE */
1189
+
1190
+ }, 8
1191
+ /* PROPS */
1192
+ , ["label"])]),
1193
+ _: 1
1194
+ /* STABLE */
1195
+
1065
1196
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
1066
1197
  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, {
1067
1198
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).alphaScale
@@ -1081,8 +1212,12 @@ const __default__ = {
1081
1212
  step: 0.1,
1082
1213
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minAlphaScale,
1083
1214
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxAlphaScale
1084
- }, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
1085
- _: 1 /* STABLE */
1215
+ }, null, 8
1216
+ /* PROPS */
1217
+ , ["modelValue", "step", "min", "max"])]),
1218
+ _: 1
1219
+ /* STABLE */
1220
+
1086
1221
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1087
1222
  span: 8
1088
1223
  }, {
@@ -1094,14 +1229,26 @@ const __default__ = {
1094
1229
  step: 0.1,
1095
1230
  onChange: _cache[32] || (_cache[32] = $event => paramsChanged('alphaScale')),
1096
1231
  "controls-position": "right"
1097
- }, null, 8 /* PROPS */, ["modelValue", "min", "max", "step"])]),
1098
- _: 1 /* STABLE */
1232
+ }, null, 8
1233
+ /* PROPS */
1234
+ , ["modelValue", "min", "max", "step"])]),
1235
+ _: 1
1236
+ /* STABLE */
1237
+
1099
1238
  })]),
1100
- _: 1 /* STABLE */
1239
+ _: 1
1240
+ /* STABLE */
1241
+
1101
1242
  })]),
1102
- _: 1 /* STABLE */
1103
- }, 8 /* PROPS */, ["label"])]),
1104
- _: 1 /* STABLE */
1243
+ _: 1
1244
+ /* STABLE */
1245
+
1246
+ }, 8
1247
+ /* PROPS */
1248
+ , ["label"])]),
1249
+ _: 1
1250
+ /* STABLE */
1251
+
1105
1252
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
1106
1253
  class: "kq3d-shadow-analysis-legend"
1107
1254
  }, {
@@ -1111,39 +1258,78 @@ const __default__ = {
1111
1258
  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", {
1112
1259
  src: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(const_image_.SHADOW_LEGEND_URL),
1113
1260
  alt: ""
1114
- }, null, 8 /* PROPS */, _hoisted_5), _hoisted_6]),
1115
- _: 1 /* STABLE */
1116
- }, 8 /* PROPS */, ["label"])]),
1117
- _: 1 /* STABLE */
1261
+ }, null, 8
1262
+ /* PROPS */
1263
+ , _hoisted_5), _hoisted_6]),
1264
+ _: 1
1265
+ /* STABLE */
1266
+
1267
+ }, 8
1268
+ /* PROPS */
1269
+ , ["label"])]),
1270
+ _: 1
1271
+ /* STABLE */
1272
+
1118
1273
  }), (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> ")]),
1119
- _: 1 /* STABLE */
1274
+ _: 1
1275
+ /* STABLE */
1276
+
1120
1277
  })]),
1121
- _: 1 /* STABLE */
1122
- }, 8 /* PROPS */, ["title"])]),
1123
- _: 1 /* STABLE */
1124
- }, 8 /* PROPS */, ["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, {
1278
+ _: 1
1279
+ /* STABLE */
1280
+
1281
+ }, 8
1282
+ /* PROPS */
1283
+ , ["title"])]),
1284
+ _: 1
1285
+ /* STABLE */
1286
+
1287
+ }, 8
1288
+ /* PROPS */
1289
+ , ["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, {
1125
1290
  onClick: _cache[33] || (_cache[33] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
1126
1291
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
1127
1292
  type: "primary"
1128
1293
  }, {
1129
- 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 */)]),
1130
- _: 1 /* STABLE */
1131
- }, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1294
+ 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
1295
+ /* TEXT */
1296
+ )]),
1297
+ _: 1
1298
+ /* STABLE */
1299
+
1300
+ }, 8
1301
+ /* PROPS */
1302
+ , ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1132
1303
  onClick: _cache[34] || (_cache[34] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => playTime(), ["stop"])),
1133
1304
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).sunshine,
1134
1305
  type: "primary"
1135
1306
  }, {
1136
- 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 */)]),
1137
- _: 1 /* STABLE */
1138
- }, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1307
+ 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
1308
+ /* TEXT */
1309
+ )]),
1310
+ _: 1
1311
+ /* STABLE */
1312
+
1313
+ }, 8
1314
+ /* PROPS */
1315
+ , ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1139
1316
  onClick: _cache[35] || (_cache[35] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
1140
1317
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
1141
1318
  }, {
1142
- 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 */)]),
1143
- _: 1 /* STABLE */
1144
- }, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
1319
+ 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
1320
+ /* TEXT */
1321
+ )]),
1322
+ _: 1
1323
+ /* STABLE */
1324
+
1325
+ }, 8
1326
+ /* PROPS */
1327
+ , ["title"])])])], 2
1328
+ /* CLASS */
1329
+ );
1145
1330
  };
1146
1331
  }
1332
+
1147
1333
  }));
1148
1334
  ;// CONCATENATED MODULE: ./src/webgl/shadowanalysis/ShadowAnalysis.vue?vue&type=script&setup=true&lang=js
1149
1335
 
@@ -1165,11 +1351,13 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
1165
1351
 
1166
1352
 
1167
1353
 
1354
+
1168
1355
  ShadowAnalysis.install = (Vue, opts) => {
1169
1356
  init_js_default()(Vue, opts);
1170
1357
  Vue.component(ShadowAnalysis.name, ShadowAnalysis);
1171
1358
  };
1172
1359
 
1360
+
1173
1361
  }();
1174
1362
  /******/ return __webpack_exports__;
1175
1363
  /******/ })()