@kq_npm/client3d_webgl_vue 4.5.31 → 4.5.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adddata/index.js +226 -495
- package/aspectanalysis/index.js +71 -182
- package/baseterraingallery/index.js +40 -102
- package/boxclip/index.js +197 -423
- package/clientPrint/index.js +6953 -17145
- package/comparemap/index.js +165 -216
- package/compass/index.js +20 -47
- package/excavatefillanalysis/index.js +101 -206
- package/fixedzoomin/index.js +20 -43
- package/fixedzoomout/index.js +18 -42
- package/flight/index.js +206 -353
- package/floodanalysis/index.js +145 -328
- package/geologicalbodyanalysis/index.js +114 -241
- package/gpuspatialquery/index.js +146 -340
- package/hawkeye/index.js +78 -80
- package/headertemp/index.js +8 -19
- package/heatmap3d/index.js +304 -645
- package/index.js +6525 -16962
- package/isolineanalysis/index.js +451 -1183
- package/light/index.js +308 -486
- package/limitheightanalysis/index.js +107 -204
- package/measure/index.js +145 -331
- package/modelFlat/index.js +114 -183
- package/modelexcavate/index.js +78 -172
- package/modelfilter/index.js +127 -252
- package/modelprofileanalysis/index.js +154 -297
- package/modelselect/index.js +90 -128
- package/package.json +1 -1
- package/particleeffect/index.js +170 -381
- package/planeclip/index.js +146 -281
- package/resetview/index.js +12 -31
- package/roller/index.js +252 -353
- package/scaneffect/index.js +178 -518
- package/sceneadvancedtoimage/index.js +152 -337
- package/sceneapp/index.js +6953 -17145
- package/sceneset/index.js +299 -838
- package/scenetohdimage/index.js +105 -276
- package/sceneview/index.js +6953 -17145
- package/screenshot/index.js +204 -281
- package/shadowanalysis/index.js +175 -386
- package/sightlineanalysis/index.js +135 -245
- package/skylineanalysis/index.js +108 -289
- package/slopeanalysis/index.js +174 -378
- package/slopeaspectanalysis/index.js +206 -466
- package/statusbar/index.js +37 -39
- package/terrainoperation/index.js +124 -218
- package/terrainprofileanalysis/index.js +66 -118
- package/typhoontrac/index.js +165 -321
- package/underground/index.js +16 -40
- package/videofusion/index.js +214 -470
- package/videoproject/index.js +220 -472
- package/viewshedanalysis/index.js +93 -230
- package/weathereffect/index.js +111 -295
- package/windyslicing/index.js +262 -695
- package/wireframesketch/index.js +49 -106
package/shadowanalysis/index.js
CHANGED
|
@@ -19,18 +19,16 @@ return /******/ (function() { // webpackBootstrap
|
|
|
19
19
|
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
20
20
|
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7997);
|
|
21
21
|
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
|
|
22
|
-
/*
|
|
23
|
-
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
24
|
-
* All rights reserved.
|
|
22
|
+
/*
|
|
23
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
24
|
+
* All rights reserved.
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
|
|
29
28
|
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
30
29
|
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
31
30
|
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
32
31
|
};
|
|
33
|
-
|
|
34
32
|
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
35
33
|
|
|
36
34
|
/***/ }),
|
|
@@ -42,6 +40,20 @@ module.exports = require("@kq_npm/client_icons_vue");
|
|
|
42
40
|
|
|
43
41
|
/***/ }),
|
|
44
42
|
|
|
43
|
+
/***/ 8470:
|
|
44
|
+
/***/ (function(module) {
|
|
45
|
+
|
|
46
|
+
module.exports = require("core-js/modules/esnext.iterator.constructor.js");
|
|
47
|
+
|
|
48
|
+
/***/ }),
|
|
49
|
+
|
|
50
|
+
/***/ 2170:
|
|
51
|
+
/***/ (function(module) {
|
|
52
|
+
|
|
53
|
+
module.exports = require("core-js/modules/esnext.iterator.map.js");
|
|
54
|
+
|
|
55
|
+
/***/ }),
|
|
56
|
+
|
|
45
57
|
/***/ 9389:
|
|
46
58
|
/***/ (function(module) {
|
|
47
59
|
|
|
@@ -108,7 +120,6 @@ function _defineProperty(obj, key, value) {
|
|
|
108
120
|
} else {
|
|
109
121
|
obj[key] = value;
|
|
110
122
|
}
|
|
111
|
-
|
|
112
123
|
return obj;
|
|
113
124
|
}
|
|
114
125
|
|
|
@@ -200,11 +211,16 @@ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
|
200
211
|
var gis_utils_ = __webpack_require__(7135);
|
|
201
212
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
202
213
|
var defineProperty = __webpack_require__(8270);
|
|
214
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
215
|
+
var esnext_iterator_constructor_js_ = __webpack_require__(8470);
|
|
216
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.map.js"
|
|
217
|
+
var esnext_iterator_map_js_ = __webpack_require__(2170);
|
|
203
218
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
204
219
|
var message = __webpack_require__(1349);
|
|
205
220
|
;// CONCATENATED MODULE: ./src/webgl/shadowanalysis/ShadowAnalysisViewModel.js
|
|
206
221
|
|
|
207
222
|
|
|
223
|
+
|
|
208
224
|
/*
|
|
209
225
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
210
226
|
* All rights reserved.
|
|
@@ -212,18 +228,15 @@ var message = __webpack_require__(1349);
|
|
|
212
228
|
// 分析逻辑类
|
|
213
229
|
|
|
214
230
|
class ShadowAnalysisViewModel {
|
|
215
|
-
//阴影分析三维对象
|
|
216
231
|
constructor(scenceView, viewModel) {
|
|
217
232
|
(0,defineProperty/* default */.Z)(this, "_shadowAnalysis", null);
|
|
218
|
-
|
|
233
|
+
//阴影分析三维对象
|
|
219
234
|
(0,defineProperty/* default */.Z)(this, "_globaOptions", {
|
|
220
235
|
//全局参数
|
|
221
236
|
viewer: null,
|
|
222
237
|
_drawManager: null
|
|
223
238
|
});
|
|
224
|
-
|
|
225
239
|
(0,defineProperty/* default */.Z)(this, "_language", {});
|
|
226
|
-
|
|
227
240
|
this._language = scenceView._language;
|
|
228
241
|
this._globaOptions.viewer = scenceView._viewer;
|
|
229
242
|
this._globaOptions.viewModel = {
|
|
@@ -254,16 +267,14 @@ class ShadowAnalysisViewModel {
|
|
|
254
267
|
var that = this;
|
|
255
268
|
this._globaOptions._drawFinishedEventListener = this._globaOptions._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
256
269
|
if (shape) {
|
|
257
|
-
that._globaOptions.viewModel.positions = shape._controlPoints;
|
|
258
|
-
|
|
270
|
+
that._globaOptions.viewModel.positions = shape._controlPoints;
|
|
271
|
+
// 实例化分析对象
|
|
259
272
|
that.setKq3dShadowAnalyse();
|
|
260
|
-
|
|
261
273
|
that._globaOptions._drawManager.clear();
|
|
262
274
|
}
|
|
263
275
|
});
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
|
|
276
|
+
}
|
|
277
|
+
// 处理绘制坐标,转成二维坐标
|
|
267
278
|
coordinateTransform(points) {
|
|
268
279
|
let cutPoints = points.map(function (point) {
|
|
269
280
|
let cartesPh = Cesium.Cartographic.fromCartesian(point);
|
|
@@ -277,20 +288,17 @@ class ShadowAnalysisViewModel {
|
|
|
277
288
|
return map;
|
|
278
289
|
});
|
|
279
290
|
return cutPoints;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
|
|
291
|
+
}
|
|
292
|
+
// 开始分析
|
|
283
293
|
start() {
|
|
284
294
|
// 判断是否添加了模型
|
|
285
295
|
var flag = false;
|
|
286
296
|
var models = this._globaOptions.viewer.scene.primitives._primitives;
|
|
287
|
-
|
|
288
297
|
for (let i = 0; i < models.length; i++) {
|
|
289
298
|
if (models[i]._url) {
|
|
290
299
|
flag = true;
|
|
291
300
|
}
|
|
292
301
|
}
|
|
293
|
-
|
|
294
302
|
if (flag) {
|
|
295
303
|
if (this._globaOptions._drawManager) this._globaOptions._drawManager.startDraw("polygon", {
|
|
296
304
|
clampToGround: true
|
|
@@ -301,108 +309,92 @@ class ShadowAnalysisViewModel {
|
|
|
301
309
|
type: "warning"
|
|
302
310
|
});
|
|
303
311
|
}
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
|
|
312
|
+
}
|
|
313
|
+
// 阴影分析
|
|
307
314
|
setKq3dShadowAnalyse() {
|
|
308
|
-
this._shadowAnalysis = new window.Cesium.Kq3dShadowAnalyse(this._globaOptions.viewModel);
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
315
|
+
this._shadowAnalysis = new window.Cesium.Kq3dShadowAnalyse(this._globaOptions.viewModel);
|
|
316
|
+
//this._globaOptions.viewer.scene.primitives.add(this._shadowAnalysis);
|
|
317
|
+
}
|
|
318
|
+
// 分析日期
|
|
312
319
|
setCurrentDate(newValue) {
|
|
313
320
|
this._globaOptions.viewModel.currentDate = new Date(newValue);
|
|
314
321
|
if (this._shadowAnalysis) this._shadowAnalysis.currentDate = new Date(newValue);
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
|
|
322
|
+
}
|
|
323
|
+
//设置时间
|
|
318
324
|
setTime(newValue) {
|
|
319
325
|
if (newValue && newValue.length && newValue.length > 1) {
|
|
320
326
|
if (this._globaOptions.viewModel.startTime == newValue[0] && this._globaOptions.viewModel.endTime == newValue[1]) return;
|
|
321
327
|
this._globaOptions.viewModel.startTime = newValue[0];
|
|
322
328
|
this._globaOptions.viewModel.endTime = newValue[1];
|
|
323
|
-
|
|
324
329
|
if (this._shadowAnalysis) {
|
|
325
330
|
this._shadowAnalysis.startTime = Number(this._globaOptions.viewModel.startTime);
|
|
326
331
|
this._shadowAnalysis.endTime = Number(this._globaOptions.viewModel.endTime);
|
|
327
332
|
}
|
|
328
333
|
}
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
|
|
334
|
+
}
|
|
335
|
+
// 开始时刻
|
|
332
336
|
setStartTime(newValue) {
|
|
333
337
|
if (this._globaOptions.viewModel.startTime == newValue) return;
|
|
334
338
|
this._globaOptions.viewModel.startTime = newValue;
|
|
335
339
|
if (this._shadowAnalysis) this._shadowAnalysis.startTime = Number(newValue);
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
|
|
340
|
+
}
|
|
341
|
+
// 结束时刻
|
|
339
342
|
setEndTime(newValue) {
|
|
340
343
|
if (this._globaOptions.viewModel.endTime == newValue) return;
|
|
341
344
|
this._globaOptions.viewModel.endTime = newValue;
|
|
342
345
|
if (this._shadowAnalysis) this._shadowAnalysis.endTime = Number(newValue);
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
|
|
346
|
+
}
|
|
347
|
+
// 分析间隔
|
|
346
348
|
setTimeSpacing(newValue) {
|
|
347
349
|
if (this._globaOptions.viewModel.timeSpacing == newValue) return;
|
|
348
350
|
this._globaOptions.viewModel.timeSpacing = newValue;
|
|
349
351
|
if (this._shadowAnalysis) this._shadowAnalysis.timeSpacing = Number(newValue);
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
|
|
352
|
+
}
|
|
353
|
+
// 基底高度
|
|
353
354
|
setBaseHeight(newValue) {
|
|
354
355
|
if (this._globaOptions.viewModel.baseHeight == newValue) return;
|
|
355
356
|
this._globaOptions.viewModel.baseHeight = newValue;
|
|
356
357
|
if (this._shadowAnalysis) this._shadowAnalysis.baseHeight = Number(newValue);
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
|
|
358
|
+
}
|
|
359
|
+
// 拉伸高度
|
|
360
360
|
setExtrudeHeight(newValue) {
|
|
361
361
|
if (this._globaOptions.viewModel.extrudeHeight == newValue) return;
|
|
362
362
|
this._globaOptions.viewModel.extrudeHeight = newValue;
|
|
363
363
|
if (this._shadowAnalysis) this._shadowAnalysis.extrudeHeight = Number(newValue);
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
|
|
364
|
+
}
|
|
365
|
+
// 是否显示体素
|
|
367
366
|
setShowVoxel(checked) {
|
|
368
367
|
if (this._shadowAnalysis) this._shadowAnalysis.voxel.show = checked;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
|
|
368
|
+
}
|
|
369
|
+
// 体素大小
|
|
372
370
|
setRadius(newValue) {
|
|
373
371
|
if (this._globaOptions.viewModel.width == newValue) return;
|
|
374
372
|
this._globaOptions.viewModel.width = newValue;
|
|
375
|
-
|
|
376
373
|
if (this._shadowAnalysis) {
|
|
377
374
|
this.clear();
|
|
378
375
|
this.setKq3dShadowAnalyse();
|
|
379
376
|
}
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
|
|
377
|
+
}
|
|
378
|
+
// 体素间距
|
|
383
379
|
setSpacing(newValue) {
|
|
384
380
|
if (this._globaOptions.viewModel.spacing == newValue) return;
|
|
385
381
|
this._globaOptions.viewModel.spacing = newValue;
|
|
386
|
-
|
|
387
382
|
if (this._shadowAnalysis) {
|
|
388
383
|
this.clear();
|
|
389
384
|
this.setKq3dShadowAnalyse();
|
|
390
385
|
}
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
|
|
386
|
+
}
|
|
387
|
+
// 阴影率过滤
|
|
394
388
|
setFilterValue(newValue) {
|
|
395
389
|
this._globaOptions.viewModel.filterValue = newValue;
|
|
396
390
|
if (this._shadowAnalysis) this._shadowAnalysis.filterValue = Number(newValue);
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
|
|
391
|
+
}
|
|
392
|
+
// 透明缩放
|
|
400
393
|
setAlphaScale(newValue) {
|
|
401
394
|
this._globaOptions.viewModel.alphaScale = newValue;
|
|
402
395
|
if (this._shadowAnalysis) this._shadowAnalysis.alphaScale = Number(newValue);
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
|
|
396
|
+
}
|
|
397
|
+
//日照效果
|
|
406
398
|
sunshineEffect() {
|
|
407
399
|
let timeNumber = new Date(this._globaOptions.viewModel.currentDate.toLocaleDateString()).getTime();
|
|
408
400
|
let startTimeNumber = timeNumber + this._globaOptions.viewModel.startTime * 3600 * 1000;
|
|
@@ -416,32 +408,27 @@ class ShadowAnalysisViewModel {
|
|
|
416
408
|
clock.multiplier = 7200;
|
|
417
409
|
clock.clockRange = Cesium.ClockRange.CLAMPED;
|
|
418
410
|
clock.shouldAnimate = true;
|
|
419
|
-
}
|
|
420
|
-
|
|
411
|
+
}
|
|
421
412
|
|
|
413
|
+
// 清除全部结果
|
|
422
414
|
clear() {
|
|
423
415
|
this._globaOptions._drawManager && this._globaOptions._drawManager.stopDraw();
|
|
424
|
-
|
|
425
416
|
if (this._shadowAnalysis) {
|
|
426
417
|
this._globaOptions.viewer.scene.primitives.remove(this._shadowAnalysis);
|
|
427
|
-
|
|
428
418
|
this._shadowAnalysis = null;
|
|
429
419
|
}
|
|
430
|
-
|
|
431
420
|
this._globaOptions.viewModel.showCurrent = false;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
|
|
421
|
+
}
|
|
422
|
+
// 销毁
|
|
435
423
|
destroy() {
|
|
436
424
|
this.clear();
|
|
437
425
|
this._globaOptions.viewer.shadows = false;
|
|
438
426
|
this._globaOptions.viewer.shouldAnimate = false;
|
|
439
|
-
this._globaOptions.viewer.scene.globe.enableLighting = false;
|
|
440
|
-
|
|
427
|
+
this._globaOptions.viewer.scene.globe.enableLighting = false;
|
|
428
|
+
//移除监听事件
|
|
441
429
|
this._globaOptions._drawFinishedEventListener && this._globaOptions._drawFinishedEventListener();
|
|
442
430
|
this._globaOptions._drawFinishedEventListener = null;
|
|
443
431
|
}
|
|
444
|
-
|
|
445
432
|
}
|
|
446
433
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
447
434
|
var const_image_ = __webpack_require__(6277);
|
|
@@ -462,17 +449,9 @@ const _hoisted_2 = {
|
|
|
462
449
|
const _hoisted_3 = {
|
|
463
450
|
class: "kq3d-shadow-analysis-span"
|
|
464
451
|
};
|
|
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
|
-
|
|
452
|
+
const _hoisted_4 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, "0.0", -1 /* HOISTED */);
|
|
470
453
|
const _hoisted_5 = ["src"];
|
|
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
|
-
|
|
454
|
+
const _hoisted_6 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, "1.0", -1 /* HOISTED */);
|
|
476
455
|
const _hoisted_7 = {
|
|
477
456
|
class: "kq3d-shadow-analysis-footer"
|
|
478
457
|
};
|
|
@@ -497,7 +476,6 @@ const __default__ = {
|
|
|
497
476
|
type: Boolean,
|
|
498
477
|
default: true
|
|
499
478
|
},
|
|
500
|
-
|
|
501
479
|
/**
|
|
502
480
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
503
481
|
*/
|
|
@@ -527,7 +505,6 @@ const __default__ = {
|
|
|
527
505
|
default: true
|
|
528
506
|
}
|
|
529
507
|
},
|
|
530
|
-
|
|
531
508
|
setup(__props, {
|
|
532
509
|
expose: __expose
|
|
533
510
|
}) {
|
|
@@ -537,11 +514,11 @@ const __default__ = {
|
|
|
537
514
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
538
515
|
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
539
516
|
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]);
|
|
517
|
+
let time = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([6, 12]);
|
|
541
518
|
|
|
519
|
+
//计算属性
|
|
542
520
|
const timeMarks = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.computed)(() => {
|
|
543
521
|
let marks = {};
|
|
544
|
-
|
|
545
522
|
for (let i = 0; i <= 24; i++) {
|
|
546
523
|
if (i % 6 === 0) {
|
|
547
524
|
// 几个特殊的,显示数字
|
|
@@ -562,11 +539,12 @@ const __default__ = {
|
|
|
562
539
|
};
|
|
563
540
|
}
|
|
564
541
|
}
|
|
565
|
-
|
|
566
542
|
return marks;
|
|
567
|
-
});
|
|
568
|
-
// 分析类
|
|
543
|
+
});
|
|
569
544
|
|
|
545
|
+
// 获取组件传参
|
|
546
|
+
|
|
547
|
+
// 分析类
|
|
570
548
|
let viewModel = null;
|
|
571
549
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
572
550
|
collapseValue: props.settingParams && props.settingParams.collapseValue || ((props.settingParams && props.settingParams.collapseValue) == '' ? "" : "setting"),
|
|
@@ -615,14 +593,16 @@ const __default__ = {
|
|
|
615
593
|
minAlphaScale: props.settingParams && props.settingParams.alphaScale || 1,
|
|
616
594
|
// 透明缩放范围最小值
|
|
617
595
|
maxAlphaScale: props.settingParams && props.settingParams.alphaScale || 1 // 透明缩放范围最大值
|
|
596
|
+
});
|
|
618
597
|
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
598
|
+
// 组件容器Ref
|
|
599
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
622
600
|
|
|
601
|
+
// 生成组件默认header
|
|
623
602
|
let headerTemp = (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)();
|
|
603
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
625
604
|
|
|
605
|
+
// 国际化
|
|
626
606
|
let {
|
|
627
607
|
locale,
|
|
628
608
|
messages
|
|
@@ -669,50 +649,44 @@ const __default__ = {
|
|
|
669
649
|
filterValue: formItem.filterValue,
|
|
670
650
|
// 阴影率过滤
|
|
671
651
|
alphaScale: formItem.alphaScale // 透明缩放
|
|
672
|
-
|
|
673
652
|
});
|
|
674
653
|
}
|
|
675
654
|
});
|
|
676
655
|
});
|
|
656
|
+
|
|
677
657
|
/**
|
|
678
658
|
* @description 监听header生成
|
|
679
659
|
*/
|
|
680
|
-
|
|
681
660
|
const watchCreateHeaderTemp = () => {
|
|
682
661
|
if (props.showHeaderTemp) {
|
|
683
662
|
// 生成headerTemp
|
|
684
663
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
685
664
|
}
|
|
686
|
-
};
|
|
687
|
-
|
|
665
|
+
};
|
|
688
666
|
|
|
667
|
+
// 获取当前日期
|
|
689
668
|
function GetDateStr() {
|
|
690
669
|
var dd = new Date();
|
|
691
670
|
var y = dd.getFullYear();
|
|
692
671
|
var m = dd.getMonth() + 1; //获取当前月份的日期
|
|
693
|
-
|
|
694
672
|
var d = dd.getDate();
|
|
695
673
|
console.log(y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d));
|
|
696
674
|
return y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d);
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
|
|
675
|
+
}
|
|
676
|
+
// 日期改变
|
|
700
677
|
function changeDate(val) {
|
|
701
678
|
console.log(formItem.currentDate);
|
|
702
679
|
if (viewModel.setCurrentDate) viewModel.setCurrentDate(formItem.currentDate);
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
680
|
+
}
|
|
681
|
+
// 改变时刻
|
|
682
|
+
function changeTime(val) {}
|
|
683
|
+
// 参数改变
|
|
709
684
|
function paramsChanged(key) {
|
|
710
685
|
switch (key) {
|
|
711
686
|
case "currentDate":
|
|
712
687
|
// 改变日期
|
|
713
688
|
if (viewModel.setCurrentDate) viewModel.setCurrentDate(formItem.currentDate);
|
|
714
689
|
break;
|
|
715
|
-
|
|
716
690
|
case "time":
|
|
717
691
|
// 改变时刻
|
|
718
692
|
if (!time.value || !time.value.length) return;
|
|
@@ -720,92 +694,70 @@ const __default__ = {
|
|
|
720
694
|
formItem.endTime = time.value[1];
|
|
721
695
|
if (viewModel.setTime) viewModel.setTime(time.value);
|
|
722
696
|
break;
|
|
723
|
-
|
|
724
697
|
case "extrudeHeight":
|
|
725
698
|
// 改变拉伸高度
|
|
726
699
|
if (viewModel.setExtrudeHeight) viewModel.setExtrudeHeight(formItem.extrudeHeight);
|
|
727
700
|
break;
|
|
728
|
-
|
|
729
701
|
case "baseHeight":
|
|
730
702
|
// 改变基地高度
|
|
731
703
|
if (viewModel.setBaseHeight) viewModel.setBaseHeight(formItem.baseHeight);
|
|
732
704
|
break;
|
|
733
|
-
|
|
734
705
|
case "width":
|
|
735
706
|
// 改变体素大小
|
|
736
707
|
if (viewModel.setRadius) viewModel.setRadius(formItem.width);
|
|
737
708
|
break;
|
|
738
|
-
|
|
739
709
|
case "spacing":
|
|
740
710
|
// 改变体素间距
|
|
741
711
|
if (viewModel.setSpacing) viewModel.setSpacing(formItem.spacing);
|
|
742
712
|
break;
|
|
743
|
-
|
|
744
713
|
case "filterValue":
|
|
745
714
|
// 改变阴影率过滤
|
|
746
715
|
if (viewModel.setFilterValue) viewModel.setFilterValue(formItem.filterValue);
|
|
747
716
|
break;
|
|
748
|
-
|
|
749
717
|
case "alphaScale":
|
|
750
718
|
// 改变透明缩放
|
|
751
719
|
if (viewModel.setAlphaScale) viewModel.setAlphaScale(formItem.alphaScale);
|
|
752
720
|
break;
|
|
753
|
-
|
|
754
721
|
default:
|
|
755
722
|
break;
|
|
756
723
|
}
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
|
|
724
|
+
}
|
|
725
|
+
// 开始分析
|
|
760
726
|
function startAnalysis() {
|
|
761
727
|
// this.clearResult();
|
|
762
728
|
viewModel && viewModel.clear();
|
|
763
729
|
viewModel && viewModel.start();
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
|
|
730
|
+
}
|
|
731
|
+
// 日照效果
|
|
767
732
|
function playTime() {
|
|
768
733
|
viewModel && viewModel.sunshineEffect();
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
|
|
734
|
+
}
|
|
735
|
+
//清除结果
|
|
772
736
|
function clearResult() {
|
|
773
737
|
viewModel && viewModel.clear();
|
|
774
|
-
}
|
|
775
|
-
|
|
738
|
+
}
|
|
776
739
|
|
|
740
|
+
// 销毁
|
|
777
741
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
778
742
|
viewModel && viewModel.destroy();
|
|
779
743
|
});
|
|
780
|
-
|
|
781
744
|
__expose({
|
|
782
745
|
paramsChanged,
|
|
783
746
|
startAnalysis,
|
|
784
747
|
playTime,
|
|
785
748
|
clearResult
|
|
786
749
|
});
|
|
787
|
-
|
|
788
750
|
return (_ctx, _cache) => {
|
|
789
751
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
790
|
-
|
|
791
752
|
const _component_kq_date_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-date-picker");
|
|
792
|
-
|
|
793
753
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
794
|
-
|
|
795
754
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
796
|
-
|
|
797
755
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
798
|
-
|
|
799
756
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
800
|
-
|
|
801
757
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
802
|
-
|
|
803
758
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
804
|
-
|
|
805
759
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
806
|
-
|
|
807
760
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
808
|
-
|
|
809
761
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
810
762
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-shadow-analysis", {
|
|
811
763
|
'kq-box-shadow': __props.showShadow
|
|
@@ -816,21 +768,15 @@ const __default__ = {
|
|
|
816
768
|
key: 0,
|
|
817
769
|
ref_key: "headerTempRef",
|
|
818
770
|
ref: headerTempRef
|
|
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, {
|
|
771
|
+
}, 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, {
|
|
822
772
|
class: "kq3d-shadow-analysis-datetime"
|
|
823
773
|
}, {
|
|
824
774
|
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, {
|
|
825
775
|
span: 4,
|
|
826
776
|
class: "colDate"
|
|
827
777
|
}, {
|
|
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
|
-
/*
|
|
830
|
-
)]),
|
|
831
|
-
_: 1
|
|
832
|
-
/* STABLE */
|
|
833
|
-
|
|
778
|
+
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 */)]),
|
|
779
|
+
_: 1 /* STABLE */
|
|
834
780
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
835
781
|
span: 20
|
|
836
782
|
}, {
|
|
@@ -842,16 +788,10 @@ const __default__ = {
|
|
|
842
788
|
onChange: _cache[1] || (_cache[1] = $event => paramsChanged('currentDate')),
|
|
843
789
|
clearable: false,
|
|
844
790
|
format: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 'YYYY年MM月DD日' : 'YYYY-MM-DD'
|
|
845
|
-
}, null, 8
|
|
846
|
-
/*
|
|
847
|
-
, ["modelValue", "format"])]),
|
|
848
|
-
_: 1
|
|
849
|
-
/* STABLE */
|
|
850
|
-
|
|
791
|
+
}, null, 8 /* PROPS */, ["modelValue", "format"])]),
|
|
792
|
+
_: 1 /* STABLE */
|
|
851
793
|
})]),
|
|
852
|
-
_: 1
|
|
853
|
-
/* STABLE */
|
|
854
|
-
|
|
794
|
+
_: 1 /* STABLE */
|
|
855
795
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
856
796
|
class: "kq3d-shadow-analysis-datetime"
|
|
857
797
|
}, {
|
|
@@ -859,12 +799,8 @@ const __default__ = {
|
|
|
859
799
|
span: 4,
|
|
860
800
|
class: "colTime"
|
|
861
801
|
}, {
|
|
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
|
-
/*
|
|
864
|
-
)]),
|
|
865
|
-
_: 1
|
|
866
|
-
/* STABLE */
|
|
867
|
-
|
|
802
|
+
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 */)]),
|
|
803
|
+
_: 1 /* STABLE */
|
|
868
804
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
869
805
|
span: 20
|
|
870
806
|
}, {
|
|
@@ -879,25 +815,15 @@ const __default__ = {
|
|
|
879
815
|
onChange: _cache[3] || (_cache[3] = $event => paramsChanged('time')),
|
|
880
816
|
onClick: _cache[4] || (_cache[4] = $event => paramsChanged('time')),
|
|
881
817
|
marks: timeMarks.value
|
|
882
|
-
}, null, 8
|
|
883
|
-
/*
|
|
884
|
-
, ["modelValue", "marks"])]),
|
|
885
|
-
_: 1
|
|
886
|
-
/* STABLE */
|
|
887
|
-
|
|
818
|
+
}, null, 8 /* PROPS */, ["modelValue", "marks"])]),
|
|
819
|
+
_: 1 /* STABLE */
|
|
888
820
|
})]),
|
|
889
|
-
_: 1
|
|
890
|
-
/* STABLE */
|
|
891
|
-
|
|
821
|
+
_: 1 /* STABLE */
|
|
892
822
|
}), (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, {
|
|
893
823
|
class: "kq3d-shadow-analysis-tip"
|
|
894
824
|
}, {
|
|
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
|
-
/*
|
|
897
|
-
)]),
|
|
898
|
-
_: 1
|
|
899
|
-
/* STABLE */
|
|
900
|
-
|
|
825
|
+
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 */)]),
|
|
826
|
+
_: 1 /* STABLE */
|
|
901
827
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
902
828
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue
|
|
903
829
|
}, {
|
|
@@ -929,12 +855,8 @@ const __default__ = {
|
|
|
929
855
|
step: 10,
|
|
930
856
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minExtrudeHeight,
|
|
931
857
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxExtrudeHeight
|
|
932
|
-
}, null, 8
|
|
933
|
-
/*
|
|
934
|
-
, ["modelValue", "min", "max"])]),
|
|
935
|
-
_: 1
|
|
936
|
-
/* STABLE */
|
|
937
|
-
|
|
858
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
859
|
+
_: 1 /* STABLE */
|
|
938
860
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
939
861
|
span: 8
|
|
940
862
|
}, {
|
|
@@ -946,26 +868,14 @@ const __default__ = {
|
|
|
946
868
|
step: 10,
|
|
947
869
|
onChange: _cache[9] || (_cache[9] = $event => paramsChanged('extrudeHeight')),
|
|
948
870
|
"controls-position": "right"
|
|
949
|
-
}, null, 8
|
|
950
|
-
/*
|
|
951
|
-
, ["modelValue", "min", "max"])]),
|
|
952
|
-
_: 1
|
|
953
|
-
/* STABLE */
|
|
954
|
-
|
|
871
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
872
|
+
_: 1 /* STABLE */
|
|
955
873
|
})]),
|
|
956
|
-
_: 1
|
|
957
|
-
/* STABLE */
|
|
958
|
-
|
|
874
|
+
_: 1 /* STABLE */
|
|
959
875
|
})]),
|
|
960
|
-
_: 1
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
}, 8
|
|
964
|
-
/* PROPS */
|
|
965
|
-
, ["label"])]),
|
|
966
|
-
_: 1
|
|
967
|
-
/* STABLE */
|
|
968
|
-
|
|
876
|
+
_: 1 /* STABLE */
|
|
877
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
878
|
+
_: 1 /* STABLE */
|
|
969
879
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
970
880
|
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, {
|
|
971
881
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).baseHeight
|
|
@@ -986,12 +896,8 @@ const __default__ = {
|
|
|
986
896
|
step: 10,
|
|
987
897
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minBaseHeight,
|
|
988
898
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxBaseHeight
|
|
989
|
-
}, null, 8
|
|
990
|
-
/*
|
|
991
|
-
, ["modelValue", "min", "max"])]),
|
|
992
|
-
_: 1
|
|
993
|
-
/* STABLE */
|
|
994
|
-
|
|
899
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
900
|
+
_: 1 /* STABLE */
|
|
995
901
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
996
902
|
span: 8
|
|
997
903
|
}, {
|
|
@@ -1003,26 +909,14 @@ const __default__ = {
|
|
|
1003
909
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxBaseHeight,
|
|
1004
910
|
step: 10,
|
|
1005
911
|
"controls-position": "right"
|
|
1006
|
-
}, null, 8
|
|
1007
|
-
/*
|
|
1008
|
-
, ["modelValue", "min", "max"])]),
|
|
1009
|
-
_: 1
|
|
1010
|
-
/* STABLE */
|
|
1011
|
-
|
|
912
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
913
|
+
_: 1 /* STABLE */
|
|
1012
914
|
})]),
|
|
1013
|
-
_: 1
|
|
1014
|
-
/* STABLE */
|
|
1015
|
-
|
|
915
|
+
_: 1 /* STABLE */
|
|
1016
916
|
})]),
|
|
1017
|
-
_: 1
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
}, 8
|
|
1021
|
-
/* PROPS */
|
|
1022
|
-
, ["label"])]),
|
|
1023
|
-
_: 1
|
|
1024
|
-
/* STABLE */
|
|
1025
|
-
|
|
917
|
+
_: 1 /* STABLE */
|
|
918
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
919
|
+
_: 1 /* STABLE */
|
|
1026
920
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1027
921
|
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, {
|
|
1028
922
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).voxelSize
|
|
@@ -1043,12 +937,8 @@ const __default__ = {
|
|
|
1043
937
|
step: 1,
|
|
1044
938
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minWidth,
|
|
1045
939
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxWidth
|
|
1046
|
-
}, null, 8
|
|
1047
|
-
/*
|
|
1048
|
-
, ["modelValue", "min", "max"])]),
|
|
1049
|
-
_: 1
|
|
1050
|
-
/* STABLE */
|
|
1051
|
-
|
|
940
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
941
|
+
_: 1 /* STABLE */
|
|
1052
942
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1053
943
|
span: 8
|
|
1054
944
|
}, {
|
|
@@ -1060,26 +950,14 @@ const __default__ = {
|
|
|
1060
950
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxWidth,
|
|
1061
951
|
step: 1,
|
|
1062
952
|
"controls-position": "right"
|
|
1063
|
-
}, null, 8
|
|
1064
|
-
/*
|
|
1065
|
-
, ["modelValue", "min", "max"])]),
|
|
1066
|
-
_: 1
|
|
1067
|
-
/* STABLE */
|
|
1068
|
-
|
|
953
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
954
|
+
_: 1 /* STABLE */
|
|
1069
955
|
})]),
|
|
1070
|
-
_: 1
|
|
1071
|
-
/* STABLE */
|
|
1072
|
-
|
|
956
|
+
_: 1 /* STABLE */
|
|
1073
957
|
})]),
|
|
1074
|
-
_: 1
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
}, 8
|
|
1078
|
-
/* PROPS */
|
|
1079
|
-
, ["label"])]),
|
|
1080
|
-
_: 1
|
|
1081
|
-
/* STABLE */
|
|
1082
|
-
|
|
958
|
+
_: 1 /* STABLE */
|
|
959
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
960
|
+
_: 1 /* STABLE */
|
|
1083
961
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1084
962
|
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, {
|
|
1085
963
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).voxelSpacing
|
|
@@ -1100,12 +978,8 @@ const __default__ = {
|
|
|
1100
978
|
step: 0.1,
|
|
1101
979
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minSpacing,
|
|
1102
980
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxSpacing
|
|
1103
|
-
}, null, 8
|
|
1104
|
-
/*
|
|
1105
|
-
, ["modelValue", "step", "min", "max"])]),
|
|
1106
|
-
_: 1
|
|
1107
|
-
/* STABLE */
|
|
1108
|
-
|
|
981
|
+
}, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
|
|
982
|
+
_: 1 /* STABLE */
|
|
1109
983
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1110
984
|
span: 8
|
|
1111
985
|
}, {
|
|
@@ -1117,26 +991,14 @@ const __default__ = {
|
|
|
1117
991
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxSpacing,
|
|
1118
992
|
step: 0.1,
|
|
1119
993
|
"controls-position": "right"
|
|
1120
|
-
}, null, 8
|
|
1121
|
-
/*
|
|
1122
|
-
, ["modelValue", "min", "max", "step"])]),
|
|
1123
|
-
_: 1
|
|
1124
|
-
/* STABLE */
|
|
1125
|
-
|
|
994
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max", "step"])]),
|
|
995
|
+
_: 1 /* STABLE */
|
|
1126
996
|
})]),
|
|
1127
|
-
_: 1
|
|
1128
|
-
/* STABLE */
|
|
1129
|
-
|
|
997
|
+
_: 1 /* STABLE */
|
|
1130
998
|
})]),
|
|
1131
|
-
_: 1
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
}, 8
|
|
1135
|
-
/* PROPS */
|
|
1136
|
-
, ["label"])]),
|
|
1137
|
-
_: 1
|
|
1138
|
-
/* STABLE */
|
|
1139
|
-
|
|
999
|
+
_: 1 /* STABLE */
|
|
1000
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1001
|
+
_: 1 /* STABLE */
|
|
1140
1002
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1141
1003
|
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, {
|
|
1142
1004
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).filterValue
|
|
@@ -1156,12 +1018,8 @@ const __default__ = {
|
|
|
1156
1018
|
step: 0.01,
|
|
1157
1019
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minFilterValue,
|
|
1158
1020
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFilterValue
|
|
1159
|
-
}, null, 8
|
|
1160
|
-
/*
|
|
1161
|
-
, ["modelValue", "step", "min", "max"])]),
|
|
1162
|
-
_: 1
|
|
1163
|
-
/* STABLE */
|
|
1164
|
-
|
|
1021
|
+
}, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
|
|
1022
|
+
_: 1 /* STABLE */
|
|
1165
1023
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1166
1024
|
span: 8
|
|
1167
1025
|
}, {
|
|
@@ -1173,26 +1031,14 @@ const __default__ = {
|
|
|
1173
1031
|
step: 0.01,
|
|
1174
1032
|
onChange: _cache[28] || (_cache[28] = $event => paramsChanged('filterValue')),
|
|
1175
1033
|
"controls-position": "right"
|
|
1176
|
-
}, null, 8
|
|
1177
|
-
/*
|
|
1178
|
-
, ["modelValue", "min", "max", "step"])]),
|
|
1179
|
-
_: 1
|
|
1180
|
-
/* STABLE */
|
|
1181
|
-
|
|
1034
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max", "step"])]),
|
|
1035
|
+
_: 1 /* STABLE */
|
|
1182
1036
|
})]),
|
|
1183
|
-
_: 1
|
|
1184
|
-
/* STABLE */
|
|
1185
|
-
|
|
1037
|
+
_: 1 /* STABLE */
|
|
1186
1038
|
})]),
|
|
1187
|
-
_: 1
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
}, 8
|
|
1191
|
-
/* PROPS */
|
|
1192
|
-
, ["label"])]),
|
|
1193
|
-
_: 1
|
|
1194
|
-
/* STABLE */
|
|
1195
|
-
|
|
1039
|
+
_: 1 /* STABLE */
|
|
1040
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1041
|
+
_: 1 /* STABLE */
|
|
1196
1042
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1197
1043
|
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, {
|
|
1198
1044
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).alphaScale
|
|
@@ -1212,12 +1058,8 @@ const __default__ = {
|
|
|
1212
1058
|
step: 0.1,
|
|
1213
1059
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minAlphaScale,
|
|
1214
1060
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxAlphaScale
|
|
1215
|
-
}, null, 8
|
|
1216
|
-
/*
|
|
1217
|
-
, ["modelValue", "step", "min", "max"])]),
|
|
1218
|
-
_: 1
|
|
1219
|
-
/* STABLE */
|
|
1220
|
-
|
|
1061
|
+
}, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
|
|
1062
|
+
_: 1 /* STABLE */
|
|
1221
1063
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1222
1064
|
span: 8
|
|
1223
1065
|
}, {
|
|
@@ -1229,26 +1071,14 @@ const __default__ = {
|
|
|
1229
1071
|
step: 0.1,
|
|
1230
1072
|
onChange: _cache[32] || (_cache[32] = $event => paramsChanged('alphaScale')),
|
|
1231
1073
|
"controls-position": "right"
|
|
1232
|
-
}, null, 8
|
|
1233
|
-
/*
|
|
1234
|
-
, ["modelValue", "min", "max", "step"])]),
|
|
1235
|
-
_: 1
|
|
1236
|
-
/* STABLE */
|
|
1237
|
-
|
|
1074
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max", "step"])]),
|
|
1075
|
+
_: 1 /* STABLE */
|
|
1238
1076
|
})]),
|
|
1239
|
-
_: 1
|
|
1240
|
-
/* STABLE */
|
|
1241
|
-
|
|
1077
|
+
_: 1 /* STABLE */
|
|
1242
1078
|
})]),
|
|
1243
|
-
_: 1
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
}, 8
|
|
1247
|
-
/* PROPS */
|
|
1248
|
-
, ["label"])]),
|
|
1249
|
-
_: 1
|
|
1250
|
-
/* STABLE */
|
|
1251
|
-
|
|
1079
|
+
_: 1 /* STABLE */
|
|
1080
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1081
|
+
_: 1 /* STABLE */
|
|
1252
1082
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1253
1083
|
class: "kq3d-shadow-analysis-legend"
|
|
1254
1084
|
}, {
|
|
@@ -1258,78 +1088,39 @@ const __default__ = {
|
|
|
1258
1088
|
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", {
|
|
1259
1089
|
src: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(const_image_.SHADOW_LEGEND_URL),
|
|
1260
1090
|
alt: ""
|
|
1261
|
-
}, null, 8
|
|
1262
|
-
/*
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
/* STABLE */
|
|
1266
|
-
|
|
1267
|
-
}, 8
|
|
1268
|
-
/* PROPS */
|
|
1269
|
-
, ["label"])]),
|
|
1270
|
-
_: 1
|
|
1271
|
-
/* STABLE */
|
|
1272
|
-
|
|
1091
|
+
}, null, 8 /* PROPS */, _hoisted_5), _hoisted_6]),
|
|
1092
|
+
_: 1 /* STABLE */
|
|
1093
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1094
|
+
_: 1 /* STABLE */
|
|
1273
1095
|
}), (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> ")]),
|
|
1274
|
-
_: 1
|
|
1275
|
-
/* STABLE */
|
|
1276
|
-
|
|
1096
|
+
_: 1 /* STABLE */
|
|
1277
1097
|
})]),
|
|
1278
|
-
_: 1
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
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, {
|
|
1098
|
+
_: 1 /* STABLE */
|
|
1099
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
1100
|
+
_: 1 /* STABLE */
|
|
1101
|
+
}, 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, {
|
|
1290
1102
|
onClick: _cache[33] || (_cache[33] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
1291
1103
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
|
|
1292
1104
|
type: "primary"
|
|
1293
1105
|
}, {
|
|
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
|
-
/*
|
|
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, {
|
|
1106
|
+
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 */)]),
|
|
1107
|
+
_: 1 /* STABLE */
|
|
1108
|
+
}, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1303
1109
|
onClick: _cache[34] || (_cache[34] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => playTime(), ["stop"])),
|
|
1304
1110
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).sunshine,
|
|
1305
1111
|
type: "primary"
|
|
1306
1112
|
}, {
|
|
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
|
-
/*
|
|
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, {
|
|
1113
|
+
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 */)]),
|
|
1114
|
+
_: 1 /* STABLE */
|
|
1115
|
+
}, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1316
1116
|
onClick: _cache[35] || (_cache[35] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
|
|
1317
1117
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
|
|
1318
1118
|
}, {
|
|
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
|
-
/*
|
|
1321
|
-
|
|
1322
|
-
_: 1
|
|
1323
|
-
/* STABLE */
|
|
1324
|
-
|
|
1325
|
-
}, 8
|
|
1326
|
-
/* PROPS */
|
|
1327
|
-
, ["title"])])])], 2
|
|
1328
|
-
/* CLASS */
|
|
1329
|
-
);
|
|
1119
|
+
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 */)]),
|
|
1120
|
+
_: 1 /* STABLE */
|
|
1121
|
+
}, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
|
|
1330
1122
|
};
|
|
1331
1123
|
}
|
|
1332
|
-
|
|
1333
1124
|
}));
|
|
1334
1125
|
;// CONCATENATED MODULE: ./src/webgl/shadowanalysis/ShadowAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
1335
1126
|
|
|
@@ -1351,13 +1142,11 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
|
1351
1142
|
|
|
1352
1143
|
|
|
1353
1144
|
|
|
1354
|
-
|
|
1355
1145
|
ShadowAnalysis.install = (Vue, opts) => {
|
|
1356
1146
|
init_js_default()(Vue, opts);
|
|
1357
1147
|
Vue.component(ShadowAnalysis.name, ShadowAnalysis);
|
|
1358
1148
|
};
|
|
1359
1149
|
|
|
1360
|
-
|
|
1361
1150
|
}();
|
|
1362
1151
|
/******/ return __webpack_exports__;
|
|
1363
1152
|
/******/ })()
|