@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.
- package/adddata/index.js +518 -262
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +201 -123
- package/baseterraingallery/index.js +123 -94
- package/baseterraingallery/style/baseterraingallery.css +1 -1
- package/boxclip/index.js +442 -249
- package/clientPrint/index.js +27088 -14116
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +243 -213
- package/compass/index.js +68 -74
- package/excavatefillanalysis/index.js +225 -143
- package/fixedzoomin/index.js +82 -72
- package/fixedzoomout/index.js +80 -71
- package/flight/index.js +371 -257
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +347 -199
- package/geologicalbodyanalysis/index.js +260 -166
- package/gpuspatialquery/index.js +359 -198
- package/hawkeye/index.js +100 -131
- package/headertemp/index.js +25 -14
- package/heatmap3d/index.js +678 -366
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +20310 -7159
- package/isolineanalysis/index.js +1202 -504
- package/light/index.js +494 -349
- package/limitheightanalysis/index.js +223 -159
- package/measure/index.js +353 -198
- package/modelFlat/index.js +204 -167
- package/modelexcavate/index.js +191 -130
- package/modelfilter/index.js +271 -179
- package/modelprofileanalysis/index.js +316 -206
- package/modelselect/index.js +147 -142
- package/package.json +1 -1
- package/particleeffect/index.js +403 -225
- package/planeclip/index.js +300 -198
- package/resetview/index.js +52 -66
- package/roller/index.js +372 -304
- package/scaneffect/index.js +537 -230
- package/sceneadvancedtoimage/index.js +358 -205
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -1
- package/sceneapp/index.js +27088 -14116
- package/sceneset/index.js +864 -350
- package/scenetohdimage/index.js +297 -159
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +27088 -14116
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +301 -257
- package/shadowanalysis/index.js +405 -217
- package/sightlineanalysis/index.js +271 -183
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +308 -160
- package/slopeanalysis/index.js +397 -227
- package/slopeaspectanalysis/index.js +485 -259
- package/statusbar/index.js +65 -88
- package/style.css +1 -1
- package/terrainoperation/index.js +237 -176
- package/terrainprofileanalysis/index.js +138 -120
- package/typhoontrac/index.js +970 -234
- package/typhoontrac/style/typhoontrac.css +1 -1
- package/underground/index.js +61 -70
- package/videofusion/index.js +488 -265
- package/videoproject/index.js +490 -271
- package/viewshedanalysis/index.js +255 -151
- package/weathereffect/index.js +317 -166
- package/windyslicing/index.js +1947 -0
- package/windyslicing/style/index.js +3 -0
- package/windyslicing/style/windyslicing.css +1 -0
- package/wireframesketch/index.js +142 -110
|
@@ -2,19 +2,18 @@
|
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
3
|
module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/_utils/const-image"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/init.js"));
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
5
|
-
define(["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/_utils/const-image", "@kq_npm/client_common_vue/_utils/util", "@kq_npm/client_common_vue/init.js"], factory);
|
|
6
|
-
else
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
define("@kq_npm/client3d_webgl_vue", ["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/_utils/const-image", "@kq_npm/client_common_vue/_utils/util", "@kq_npm/client_common_vue/init.js"], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["@kq_npm/client3d_webgl_vue"] = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/_utils/const-image"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/init.js"));
|
|
8
|
+
else
|
|
9
|
+
root["@kq_npm/client3d_webgl_vue"] = factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/_utils/const-image"], root["@kq_npm/client_common_vue/_utils/util"], root["@kq_npm/client_common_vue/init.js"]);
|
|
10
10
|
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__6277__, __WEBPACK_EXTERNAL_MODULE__3458__, __WEBPACK_EXTERNAL_MODULE__7997__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
15
|
/***/ 7705:
|
|
16
|
-
/***/ (function(module
|
|
17
|
-
|
|
16
|
+
/***/ (function(module) {
|
|
18
17
|
|
|
19
18
|
|
|
20
19
|
/*
|
|
@@ -23,43 +22,51 @@ return /******/ (function() { // webpackBootstrap
|
|
|
23
22
|
*/
|
|
24
23
|
// css base code, injected by the css-loader
|
|
25
24
|
// eslint-disable-next-line func-names
|
|
26
|
-
|
|
27
|
-
__webpack_require__(2170);
|
|
25
|
+
|
|
28
26
|
module.exports = function (cssWithMappingToString) {
|
|
29
27
|
var list = []; // return the list of modules as css string
|
|
30
28
|
|
|
31
29
|
list.toString = function toString() {
|
|
32
30
|
return this.map(function (item) {
|
|
33
31
|
var content = cssWithMappingToString(item);
|
|
32
|
+
|
|
34
33
|
if (item[2]) {
|
|
35
34
|
return "@media ".concat(item[2], " {").concat(content, "}");
|
|
36
35
|
}
|
|
36
|
+
|
|
37
37
|
return content;
|
|
38
38
|
}).join("");
|
|
39
39
|
}; // import a list of modules into the list
|
|
40
40
|
// eslint-disable-next-line func-names
|
|
41
41
|
|
|
42
|
+
|
|
42
43
|
list.i = function (modules, mediaQuery, dedupe) {
|
|
43
44
|
if (typeof modules === "string") {
|
|
44
45
|
// eslint-disable-next-line no-param-reassign
|
|
45
46
|
modules = [[null, modules, ""]];
|
|
46
47
|
}
|
|
48
|
+
|
|
47
49
|
var alreadyImportedModules = {};
|
|
50
|
+
|
|
48
51
|
if (dedupe) {
|
|
49
52
|
for (var i = 0; i < this.length; i++) {
|
|
50
53
|
// eslint-disable-next-line prefer-destructuring
|
|
51
54
|
var id = this[i][0];
|
|
55
|
+
|
|
52
56
|
if (id != null) {
|
|
53
57
|
alreadyImportedModules[id] = true;
|
|
54
58
|
}
|
|
55
59
|
}
|
|
56
60
|
}
|
|
61
|
+
|
|
57
62
|
for (var _i = 0; _i < modules.length; _i++) {
|
|
58
63
|
var item = [].concat(modules[_i]);
|
|
64
|
+
|
|
59
65
|
if (dedupe && alreadyImportedModules[item[0]]) {
|
|
60
66
|
// eslint-disable-next-line no-continue
|
|
61
67
|
continue;
|
|
62
68
|
}
|
|
69
|
+
|
|
63
70
|
if (mediaQuery) {
|
|
64
71
|
if (!item[2]) {
|
|
65
72
|
item[2] = mediaQuery;
|
|
@@ -67,9 +74,11 @@ module.exports = function (cssWithMappingToString) {
|
|
|
67
74
|
item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
|
|
68
75
|
}
|
|
69
76
|
}
|
|
77
|
+
|
|
70
78
|
list.push(item);
|
|
71
79
|
}
|
|
72
80
|
};
|
|
81
|
+
|
|
73
82
|
return list;
|
|
74
83
|
};
|
|
75
84
|
|
|
@@ -373,24 +382,10 @@ module.exports = require("@kq_npm/client_icons_vue");
|
|
|
373
382
|
|
|
374
383
|
/***/ }),
|
|
375
384
|
|
|
376
|
-
/***/
|
|
377
|
-
/***/ (function(module) {
|
|
378
|
-
|
|
379
|
-
module.exports = require("core-js/modules/es.array.push.js");
|
|
380
|
-
|
|
381
|
-
/***/ }),
|
|
382
|
-
|
|
383
|
-
/***/ 8470:
|
|
385
|
+
/***/ 3600:
|
|
384
386
|
/***/ (function(module) {
|
|
385
387
|
|
|
386
|
-
module.exports = require("core-js/modules/
|
|
387
|
-
|
|
388
|
-
/***/ }),
|
|
389
|
-
|
|
390
|
-
/***/ 2170:
|
|
391
|
-
/***/ (function(module) {
|
|
392
|
-
|
|
393
|
-
module.exports = require("core-js/modules/esnext.iterator.map.js");
|
|
388
|
+
module.exports = require("core-js/modules/es.array.includes.js");
|
|
394
389
|
|
|
395
390
|
/***/ }),
|
|
396
391
|
|
|
@@ -436,59 +431,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
|
436
431
|
|
|
437
432
|
/***/ }),
|
|
438
433
|
|
|
439
|
-
/***/
|
|
434
|
+
/***/ 8270:
|
|
440
435
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
441
436
|
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
456
|
-
}, _typeof(o);
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
460
|
-
|
|
461
|
-
function toPrimitive(t, r) {
|
|
462
|
-
if ("object" != _typeof(t) || !t) return t;
|
|
463
|
-
var e = t[Symbol.toPrimitive];
|
|
464
|
-
if (void 0 !== e) {
|
|
465
|
-
var i = e.call(t, r || "default");
|
|
466
|
-
if ("object" != _typeof(i)) return i;
|
|
467
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
437
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
438
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
439
|
+
/* harmony export */ });
|
|
440
|
+
function _defineProperty(obj, key, value) {
|
|
441
|
+
if (key in obj) {
|
|
442
|
+
Object.defineProperty(obj, key, {
|
|
443
|
+
value: value,
|
|
444
|
+
enumerable: true,
|
|
445
|
+
configurable: true,
|
|
446
|
+
writable: true
|
|
447
|
+
});
|
|
448
|
+
} else {
|
|
449
|
+
obj[key] = value;
|
|
468
450
|
}
|
|
469
|
-
return ("string" === r ? String : Number)(t);
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
function toPropertyKey(t) {
|
|
476
|
-
var i = toPrimitive(t, "string");
|
|
477
|
-
return "symbol" == _typeof(i) ? i : i + "";
|
|
478
|
-
}
|
|
479
451
|
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
function _defineProperty(e, r, t) {
|
|
483
|
-
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
484
|
-
value: t,
|
|
485
|
-
enumerable: !0,
|
|
486
|
-
configurable: !0,
|
|
487
|
-
writable: !0
|
|
488
|
-
}) : e[r] = t, e;
|
|
452
|
+
return obj;
|
|
489
453
|
}
|
|
490
454
|
|
|
491
|
-
|
|
492
455
|
/***/ })
|
|
493
456
|
|
|
494
457
|
/******/ });
|
|
@@ -580,14 +543,10 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
580
543
|
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
|
|
581
544
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
582
545
|
var gis_utils_ = __webpack_require__(7135);
|
|
583
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
584
|
-
var defineProperty = __webpack_require__(
|
|
585
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.
|
|
586
|
-
var
|
|
587
|
-
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
588
|
-
var esnext_iterator_constructor_js_ = __webpack_require__(8470);
|
|
589
|
-
;// CONCATENATED MODULE: external "core-js/modules/esnext.iterator.some.js"
|
|
590
|
-
var esnext_iterator_some_js_namespaceObject = require("core-js/modules/esnext.iterator.some.js");
|
|
546
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
547
|
+
var defineProperty = __webpack_require__(8270);
|
|
548
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
549
|
+
var es_array_includes_js_ = __webpack_require__(3600);
|
|
591
550
|
// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
|
|
592
551
|
var injectStylesIntoStyleTag = __webpack_require__(3379);
|
|
593
552
|
var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
|
|
@@ -613,79 +572,103 @@ var const_image_ = __webpack_require__(6277);
|
|
|
613
572
|
|
|
614
573
|
|
|
615
574
|
|
|
616
|
-
|
|
617
575
|
/*
|
|
618
576
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
619
577
|
* All rights reserved.
|
|
620
578
|
*/
|
|
621
579
|
|
|
580
|
+
//通视分析逻辑类
|
|
622
581
|
|
|
623
|
-
//通视分析逻辑类
|
|
624
582
|
class SightlineAnalysisViewModel {
|
|
583
|
+
//三维viewer对象
|
|
584
|
+
//通视分析三维对象
|
|
585
|
+
//绘制管理对象
|
|
586
|
+
//绘制完成监听事件
|
|
587
|
+
//障碍物颜色
|
|
588
|
+
//是否显示标注
|
|
589
|
+
//添加的点的类型
|
|
590
|
+
//创建的divpoint集合
|
|
591
|
+
//拾取的点位集合
|
|
592
|
+
//高亮的障碍物的id集合
|
|
593
|
+
// 点位图标billboards集合
|
|
625
594
|
constructor(scenceView, options, language) {
|
|
626
595
|
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
627
|
-
|
|
596
|
+
|
|
628
597
|
(0,defineProperty/* default */.Z)(this, "_sightlineAnalysis", null);
|
|
629
|
-
|
|
598
|
+
|
|
630
599
|
(0,defineProperty/* default */.Z)(this, "_drawManager", null);
|
|
631
|
-
|
|
600
|
+
|
|
632
601
|
(0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
|
|
633
|
-
|
|
602
|
+
|
|
634
603
|
(0,defineProperty/* default */.Z)(this, "_obstacleColor", Cesium.Color.RED);
|
|
635
|
-
|
|
604
|
+
|
|
636
605
|
(0,defineProperty/* default */.Z)(this, "_isLabel", false);
|
|
637
|
-
|
|
606
|
+
|
|
638
607
|
(0,defineProperty/* default */.Z)(this, "_addType", 0);
|
|
639
|
-
|
|
608
|
+
|
|
640
609
|
(0,defineProperty/* default */.Z)(this, "_pointCollection", []);
|
|
641
|
-
|
|
610
|
+
|
|
642
611
|
(0,defineProperty/* default */.Z)(this, "_cartographicList", []);
|
|
643
|
-
|
|
612
|
+
|
|
644
613
|
(0,defineProperty/* default */.Z)(this, "_highlightIds", []);
|
|
645
|
-
|
|
614
|
+
|
|
646
615
|
(0,defineProperty/* default */.Z)(this, "_billboards", []);
|
|
647
|
-
|
|
616
|
+
|
|
648
617
|
(0,defineProperty/* default */.Z)(this, "_language", null);
|
|
618
|
+
|
|
649
619
|
this._viewer = scenceView._viewer;
|
|
650
620
|
this._viewer.scene.postProcessStages._fxaa.enabled = true;
|
|
651
621
|
this._viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
622
|
+
|
|
652
623
|
this._language = language;
|
|
653
624
|
options.viewer = this._viewer;
|
|
625
|
+
|
|
654
626
|
if (options.visibleColor) {
|
|
655
627
|
options.visibleColor = Cesium.Color.fromCssColorString(options.visibleColor);
|
|
656
628
|
}
|
|
629
|
+
|
|
657
630
|
if (options.visibleColor) {
|
|
658
631
|
options.invisibleColor = Cesium.Color.fromCssColorString(options.invisibleColor);
|
|
659
632
|
}
|
|
633
|
+
|
|
660
634
|
if (options.obstacleColor) {
|
|
661
635
|
this._obstacleColor = Cesium.Color.fromCssColorString(options.obstacleColor);
|
|
662
636
|
}
|
|
637
|
+
|
|
663
638
|
this._isLabel = options.isLabel;
|
|
664
639
|
options.isLabel = false;
|
|
665
640
|
this._sightlineAnalysis = new Cesium.Kq3dSightAnalysis(options);
|
|
666
641
|
this._drawManager = scenceView._drawManager;
|
|
642
|
+
|
|
667
643
|
this._drawManager.enableMultiDraw(true);
|
|
644
|
+
|
|
668
645
|
let that = this;
|
|
669
646
|
this._removeEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
670
647
|
if (shape && shape.type === "marker") {
|
|
671
648
|
that.createBillboard(shape.position);
|
|
649
|
+
|
|
672
650
|
if (that._addType === 1) {
|
|
673
651
|
that._sightlineAnalysis.setSeePoint(shape.position);
|
|
652
|
+
|
|
674
653
|
that.clearDisplay();
|
|
675
654
|
that.createLabels(that._sightlineAnalysis._pickedPos);
|
|
676
655
|
that.highlightObstacles(that._sightlineAnalysis._pickedFeatures);
|
|
677
656
|
} else if (that._addType === 2) {
|
|
678
657
|
let result = that._sightlineAnalysis.addTargetPoint(shape.position);
|
|
658
|
+
|
|
679
659
|
that.createLabels(result.cartographic);
|
|
680
660
|
that.highlightObstacles(result.id);
|
|
681
661
|
}
|
|
662
|
+
|
|
682
663
|
that._drawManager.clear();
|
|
683
664
|
}
|
|
684
665
|
});
|
|
685
|
-
}
|
|
686
|
-
|
|
666
|
+
} // 创建图标
|
|
667
|
+
|
|
668
|
+
|
|
687
669
|
createBillboard(pos) {
|
|
688
670
|
if (this._addType == 1) this.clearBillboards("marker" + this._addType);
|
|
671
|
+
|
|
689
672
|
this._billboards.push(this._viewer.entities.add({
|
|
690
673
|
position: pos,
|
|
691
674
|
name: "marker" + this._addType,
|
|
@@ -695,8 +678,9 @@ class SightlineAnalysisViewModel {
|
|
|
695
678
|
disableDepthTestDistance: Number.POSITIVE_INFINITY
|
|
696
679
|
}
|
|
697
680
|
}));
|
|
698
|
-
}
|
|
699
|
-
|
|
681
|
+
} //创建点位置
|
|
682
|
+
|
|
683
|
+
|
|
700
684
|
createDivPoint(position) {
|
|
701
685
|
if (position) {
|
|
702
686
|
var longitude = Cesium.Math.toDegrees(position.longitude).toFixed(5);
|
|
@@ -721,9 +705,11 @@ class SightlineAnalysisViewModel {
|
|
|
721
705
|
<span class="triangle"></span>
|
|
722
706
|
</div>`;
|
|
723
707
|
html = html.replace('{X}', longitude).replace('{Y}', latitude).replace('{Z}', height);
|
|
708
|
+
|
|
724
709
|
if (this._language) {
|
|
725
710
|
html = html.replace('X', this._language.value.longitude).replace('Y', this._language.value.latitude).replace('Z', this._language.value.elevation);
|
|
726
711
|
}
|
|
712
|
+
|
|
727
713
|
var divpoint = new Cesium.Kq3dHtmlTag(this._viewer, {
|
|
728
714
|
html: html,
|
|
729
715
|
position: position,
|
|
@@ -731,14 +717,16 @@ class SightlineAnalysisViewModel {
|
|
|
731
717
|
alignmentMode: 7,
|
|
732
718
|
noEvent: true
|
|
733
719
|
});
|
|
720
|
+
|
|
734
721
|
if (!this._isLabel) {
|
|
735
722
|
divpoint.setVisible(false);
|
|
736
723
|
}
|
|
724
|
+
|
|
737
725
|
this._pointCollection.push(divpoint);
|
|
738
726
|
}
|
|
739
|
-
}
|
|
727
|
+
} //创建label标签
|
|
728
|
+
|
|
740
729
|
|
|
741
|
-
//创建label标签
|
|
742
730
|
createLabels(positions) {
|
|
743
731
|
for (let i = 0; i < positions.length; i++) {
|
|
744
732
|
let include = this._cartographicList.some(item => {
|
|
@@ -746,17 +734,20 @@ class SightlineAnalysisViewModel {
|
|
|
746
734
|
return true;
|
|
747
735
|
}
|
|
748
736
|
});
|
|
737
|
+
|
|
749
738
|
if (!include) {
|
|
750
739
|
this.createDivPoint(positions[i]);
|
|
751
740
|
}
|
|
752
741
|
}
|
|
742
|
+
|
|
753
743
|
this._cartographicList = [].concat(positions);
|
|
754
|
-
}
|
|
744
|
+
} //设置3DTileset颜色
|
|
745
|
+
|
|
755
746
|
|
|
756
|
-
//设置3DTileset颜色
|
|
757
747
|
set3DTilesetColor(color, ids) {
|
|
758
748
|
if (!ids) ids = [];
|
|
759
749
|
let primitives = this._viewer.scene.primitives._primitives;
|
|
750
|
+
|
|
760
751
|
for (let i = 0; i < primitives.length; i++) {
|
|
761
752
|
if (primitives[i] instanceof Cesium.Cesium3DTileset) {
|
|
762
753
|
primitives[i].style = new Cesium.Cesium3DTileStyle({
|
|
@@ -769,47 +760,51 @@ class SightlineAnalysisViewModel {
|
|
|
769
760
|
});
|
|
770
761
|
}
|
|
771
762
|
}
|
|
772
|
-
}
|
|
763
|
+
} //高亮障碍物
|
|
764
|
+
|
|
773
765
|
|
|
774
|
-
//高亮障碍物
|
|
775
766
|
highlightObstacles(ids) {
|
|
776
767
|
if (!ids || ids.length === 0) return;
|
|
777
768
|
this._highlightIds = ids;
|
|
778
769
|
this.set3DTilesetColor(this._obstacleColor, ids);
|
|
779
|
-
}
|
|
770
|
+
} //清除所有高亮效果
|
|
771
|
+
|
|
780
772
|
|
|
781
|
-
//清除所有高亮效果
|
|
782
773
|
clearHighlights() {
|
|
783
774
|
this._highlightIds = [];
|
|
784
775
|
this.set3DTilesetColor(Cesium.Color.WHITE);
|
|
785
|
-
}
|
|
776
|
+
} //添加观察点
|
|
777
|
+
|
|
786
778
|
|
|
787
|
-
//添加观察点
|
|
788
779
|
addSeePoint() {
|
|
789
780
|
this._addType = 1;
|
|
781
|
+
|
|
790
782
|
this._drawManager.startDraw("point", {
|
|
791
783
|
image: const_image_.OBSERVATION_POINT
|
|
792
784
|
});
|
|
793
|
-
}
|
|
785
|
+
} //添加目标点
|
|
786
|
+
|
|
794
787
|
|
|
795
|
-
//添加目标点
|
|
796
788
|
addTargetPoint() {
|
|
797
789
|
if (!this._sightlineAnalysis._seePoint) return;
|
|
798
790
|
this._addType = 2;
|
|
791
|
+
|
|
799
792
|
this._drawManager.startDraw("point", {
|
|
800
793
|
image: const_image_.TARGET_POINT
|
|
801
794
|
});
|
|
802
|
-
}
|
|
795
|
+
} //清除显示结果
|
|
796
|
+
|
|
803
797
|
|
|
804
|
-
//清除显示结果
|
|
805
798
|
clearDisplay() {
|
|
806
799
|
//清除标注
|
|
807
800
|
for (var i = 0; i < this._pointCollection.length; i++) {
|
|
808
801
|
this._pointCollection[i].destroy();
|
|
809
802
|
}
|
|
803
|
+
|
|
810
804
|
this._pointCollection = [];
|
|
811
|
-
}
|
|
812
|
-
|
|
805
|
+
} // 清楚billboards
|
|
806
|
+
|
|
807
|
+
|
|
813
808
|
clearBillboards(val) {
|
|
814
809
|
for (var i = 0; i < this._billboards.length; i++) {
|
|
815
810
|
if (val) {
|
|
@@ -818,55 +813,65 @@ class SightlineAnalysisViewModel {
|
|
|
818
813
|
this._viewer.entities.remove(this._billboards[i]);
|
|
819
814
|
}
|
|
820
815
|
}
|
|
816
|
+
|
|
821
817
|
if (!val) this._billboards = [];
|
|
822
|
-
}
|
|
823
|
-
|
|
818
|
+
} //清除全部
|
|
819
|
+
|
|
820
|
+
|
|
824
821
|
clearAll() {
|
|
825
822
|
this._drawManager.stopDraw();
|
|
823
|
+
|
|
826
824
|
this.clearDisplay();
|
|
827
825
|
this.clearHighlights();
|
|
828
826
|
this.clearBillboards();
|
|
829
827
|
this._sightlineAnalysis && this._sightlineAnalysis.remove();
|
|
830
|
-
}
|
|
828
|
+
} //销毁
|
|
829
|
+
|
|
831
830
|
|
|
832
|
-
//销毁
|
|
833
831
|
destroy() {
|
|
834
|
-
this.clearAll();
|
|
835
|
-
|
|
832
|
+
this.clearAll(); //销毁分析对象
|
|
833
|
+
|
|
836
834
|
this._sightlineAnalysis && this._sightlineAnalysis.destroy();
|
|
837
|
-
this._sightlineAnalysis = null;
|
|
838
|
-
|
|
835
|
+
this._sightlineAnalysis = null; //移除监听事件
|
|
836
|
+
|
|
839
837
|
this._removeEventListener && this._removeEventListener();
|
|
840
838
|
this._removeEventListener = null;
|
|
841
|
-
this._drawManager.enableMultiDraw(false);
|
|
842
|
-
}
|
|
843
839
|
|
|
844
|
-
|
|
840
|
+
this._drawManager.enableMultiDraw(false);
|
|
841
|
+
} // //设置线宽
|
|
845
842
|
// setLineWidth(lineWith) {
|
|
846
843
|
// this._sightlineAnalysis.lineWith = Number(lineWith);
|
|
847
844
|
// }
|
|
848
845
|
//设置可视颜色
|
|
846
|
+
|
|
847
|
+
|
|
849
848
|
setVisibleColor(visibleColor) {
|
|
850
849
|
this._sightlineAnalysis.visibleColor = Cesium.Color.fromCssColorString(visibleColor);
|
|
851
|
-
}
|
|
852
|
-
|
|
850
|
+
} //设置不可视颜色
|
|
851
|
+
|
|
852
|
+
|
|
853
853
|
setInvisibleColor(invisibleColor) {
|
|
854
854
|
this._sightlineAnalysis.invisibleColor = Cesium.Color.fromCssColorString(invisibleColor);
|
|
855
|
-
}
|
|
856
|
-
|
|
855
|
+
} //设置障碍物颜色
|
|
856
|
+
|
|
857
|
+
|
|
857
858
|
setObstacleColor(obstacleColor) {
|
|
858
859
|
this._obstacleColor = Cesium.Color.fromCssColorString(obstacleColor);
|
|
860
|
+
|
|
859
861
|
if (this._highlightIds.length > 0) {
|
|
860
862
|
this.set3DTilesetColor(this._obstacleColor, this._highlightIds);
|
|
861
863
|
}
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
+
} //显示/隐藏标注
|
|
865
|
+
|
|
866
|
+
|
|
864
867
|
setShowLabel(isLabel) {
|
|
865
868
|
this._isLabel = isLabel;
|
|
869
|
+
|
|
866
870
|
for (var i = 0; i < this._pointCollection.length; i++) {
|
|
867
871
|
this._pointCollection[i].setVisible(isLabel);
|
|
868
872
|
}
|
|
869
873
|
}
|
|
874
|
+
|
|
870
875
|
}
|
|
871
876
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
872
877
|
var client_icons_vue_ = __webpack_require__(348);
|
|
@@ -874,7 +879,7 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
874
879
|
var util_ = __webpack_require__(3458);
|
|
875
880
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
876
881
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
877
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/sightlineanalysis/SightlineAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
882
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/sightlineanalysis/SightlineAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
878
883
|
|
|
879
884
|
const _hoisted_1 = {
|
|
880
885
|
class: "kq3d-sightline-analysis-box"
|
|
@@ -902,6 +907,7 @@ const __default__ = {
|
|
|
902
907
|
type: Boolean,
|
|
903
908
|
default: true
|
|
904
909
|
},
|
|
910
|
+
|
|
905
911
|
/**
|
|
906
912
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
907
913
|
*/
|
|
@@ -931,6 +937,7 @@ const __default__ = {
|
|
|
931
937
|
default: true
|
|
932
938
|
}
|
|
933
939
|
},
|
|
940
|
+
|
|
934
941
|
setup(__props, {
|
|
935
942
|
expose: __expose
|
|
936
943
|
}) {
|
|
@@ -938,9 +945,7 @@ const __default__ = {
|
|
|
938
945
|
const {
|
|
939
946
|
proxy
|
|
940
947
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
941
|
-
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
|
|
942
|
-
|
|
943
|
-
// 获取组件传参
|
|
948
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]); // 获取组件传参
|
|
944
949
|
|
|
945
950
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
946
951
|
collapseValue: props.settingParams && props.settingParams.collapseValue || ((props.settingParams && props.settingParams.collapseValue) == '' ? "" : "setting"),
|
|
@@ -953,16 +958,13 @@ const __default__ = {
|
|
|
953
958
|
highlightObstacle: props.settingParams && props.settingParams.highlightObstacle !== undefined || false,
|
|
954
959
|
isLabel: props.settingParams && props.settingParams.isLabel !== undefined || true
|
|
955
960
|
});
|
|
956
|
-
let viewModel = null;
|
|
961
|
+
let viewModel = null; // 组件容器Ref
|
|
957
962
|
|
|
958
|
-
//
|
|
959
|
-
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
963
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
960
964
|
|
|
961
|
-
// 生成组件默认header
|
|
962
965
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
963
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
966
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
964
967
|
|
|
965
|
-
// 国际化
|
|
966
968
|
let {
|
|
967
969
|
locale,
|
|
968
970
|
messages
|
|
@@ -983,9 +985,8 @@ const __default__ = {
|
|
|
983
985
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.nextTick)(() => {
|
|
984
986
|
watchCreateHeaderTemp();
|
|
985
987
|
});
|
|
986
|
-
});
|
|
988
|
+
}); //父组件ScenceView初始化完成后执行
|
|
987
989
|
|
|
988
|
-
//父组件ScenceView初始化完成后执行
|
|
989
990
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
990
991
|
if (scenceView) {
|
|
991
992
|
let options = {
|
|
@@ -1002,12 +1003,14 @@ const __default__ = {
|
|
|
1002
1003
|
/**
|
|
1003
1004
|
* @description 监听header生成
|
|
1004
1005
|
*/
|
|
1006
|
+
|
|
1005
1007
|
const watchCreateHeaderTemp = () => {
|
|
1006
1008
|
if (props.showHeaderTemp) {
|
|
1007
1009
|
// 生成headerTemp
|
|
1008
1010
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
1009
1011
|
}
|
|
1010
1012
|
};
|
|
1013
|
+
|
|
1011
1014
|
function paramsChanged(key) {
|
|
1012
1015
|
switch (key) {
|
|
1013
1016
|
// case "lineWidth":
|
|
@@ -1016,54 +1019,68 @@ const __default__ = {
|
|
|
1016
1019
|
case "visibleColor":
|
|
1017
1020
|
viewModel.setVisibleColor(formItem.visibleColor);
|
|
1018
1021
|
break;
|
|
1022
|
+
|
|
1019
1023
|
case "invisibleColor":
|
|
1020
1024
|
viewModel.setInvisibleColor(formItem.invisibleColor);
|
|
1021
1025
|
break;
|
|
1026
|
+
|
|
1022
1027
|
case "obstacleColor":
|
|
1023
1028
|
viewModel.setObstacleColor(formItem.obstacleColor);
|
|
1024
1029
|
break;
|
|
1030
|
+
|
|
1025
1031
|
case "isLabel":
|
|
1026
1032
|
viewModel.setShowLabel(formItem.isLabel);
|
|
1027
1033
|
break;
|
|
1034
|
+
|
|
1028
1035
|
default:
|
|
1029
1036
|
break;
|
|
1030
1037
|
}
|
|
1031
|
-
}
|
|
1038
|
+
} //添加观察点
|
|
1039
|
+
|
|
1032
1040
|
|
|
1033
|
-
//添加观察点
|
|
1034
1041
|
function addSeePoint() {
|
|
1035
1042
|
viewModel && viewModel.addSeePoint();
|
|
1036
|
-
}
|
|
1043
|
+
} //添加目标点
|
|
1044
|
+
|
|
1037
1045
|
|
|
1038
|
-
//添加目标点
|
|
1039
1046
|
function addTargetPoint() {
|
|
1040
1047
|
viewModel && viewModel.addTargetPoint();
|
|
1041
|
-
}
|
|
1048
|
+
} //清除结果
|
|
1049
|
+
|
|
1042
1050
|
|
|
1043
|
-
//清除结果
|
|
1044
1051
|
function clearResult() {
|
|
1045
1052
|
viewModel && viewModel.clearAll();
|
|
1046
|
-
}
|
|
1053
|
+
} // 销毁
|
|
1054
|
+
|
|
1047
1055
|
|
|
1048
|
-
// 销毁
|
|
1049
1056
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
1050
1057
|
viewModel && viewModel.destroy();
|
|
1051
1058
|
});
|
|
1059
|
+
|
|
1052
1060
|
__expose({
|
|
1053
1061
|
paramsChanged,
|
|
1054
1062
|
addSeePoint,
|
|
1055
1063
|
addTargetPoint,
|
|
1056
1064
|
clearResult
|
|
1057
1065
|
});
|
|
1066
|
+
|
|
1058
1067
|
return (_ctx, _cache) => {
|
|
1059
1068
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
1069
|
+
|
|
1060
1070
|
const _component_kq_color_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-color-picker");
|
|
1071
|
+
|
|
1061
1072
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
1073
|
+
|
|
1062
1074
|
const _component_kq_checkbox = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-checkbox");
|
|
1075
|
+
|
|
1063
1076
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
1077
|
+
|
|
1064
1078
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
1079
|
+
|
|
1065
1080
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
1081
|
+
|
|
1066
1082
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
1083
|
+
|
|
1067
1084
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
1068
1085
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-sightline-analysis", {
|
|
1069
1086
|
'kq-box-shadow': __props.showShadow
|
|
@@ -1074,11 +1091,17 @@ const __default__ = {
|
|
|
1074
1091
|
key: 0,
|
|
1075
1092
|
ref_key: "headerTempRef",
|
|
1076
1093
|
ref: headerTempRef
|
|
1077
|
-
}, null, 512
|
|
1094
|
+
}, null, 512
|
|
1095
|
+
/* NEED_PATCH */
|
|
1096
|
+
)) : (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, {
|
|
1078
1097
|
class: "kq3d-sightline-analysis-tip"
|
|
1079
1098
|
}, {
|
|
1080
|
-
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).sightTips), 1
|
|
1081
|
-
|
|
1099
|
+
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).sightTips), 1
|
|
1100
|
+
/* TEXT */
|
|
1101
|
+
)]),
|
|
1102
|
+
_: 1
|
|
1103
|
+
/* STABLE */
|
|
1104
|
+
|
|
1082
1105
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
1083
1106
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue
|
|
1084
1107
|
}, {
|
|
@@ -1098,10 +1121,18 @@ const __default__ = {
|
|
|
1098
1121
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).visibleColor,
|
|
1099
1122
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).visibleColor = $event),
|
|
1100
1123
|
onChange: _cache[1] || (_cache[1] = $event => paramsChanged('visibleColor'))
|
|
1101
|
-
}, null, 8
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1124
|
+
}, null, 8
|
|
1125
|
+
/* PROPS */
|
|
1126
|
+
, ["modelValue"])]),
|
|
1127
|
+
_: 1
|
|
1128
|
+
/* STABLE */
|
|
1129
|
+
|
|
1130
|
+
}, 8
|
|
1131
|
+
/* PROPS */
|
|
1132
|
+
, ["label"])]),
|
|
1133
|
+
_: 1
|
|
1134
|
+
/* STABLE */
|
|
1135
|
+
|
|
1105
1136
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1106
1137
|
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, {
|
|
1107
1138
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).invisibleColor
|
|
@@ -1110,10 +1141,18 @@ const __default__ = {
|
|
|
1110
1141
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).invisibleColor,
|
|
1111
1142
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).invisibleColor = $event),
|
|
1112
1143
|
onChange: _cache[3] || (_cache[3] = $event => paramsChanged('invisibleColor'))
|
|
1113
|
-
}, null, 8
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1144
|
+
}, null, 8
|
|
1145
|
+
/* PROPS */
|
|
1146
|
+
, ["modelValue"])]),
|
|
1147
|
+
_: 1
|
|
1148
|
+
/* STABLE */
|
|
1149
|
+
|
|
1150
|
+
}, 8
|
|
1151
|
+
/* PROPS */
|
|
1152
|
+
, ["label"])]),
|
|
1153
|
+
_: 1
|
|
1154
|
+
/* STABLE */
|
|
1155
|
+
|
|
1117
1156
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1118
1157
|
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, {
|
|
1119
1158
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).obstacleColor
|
|
@@ -1122,49 +1161,96 @@ const __default__ = {
|
|
|
1122
1161
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).obstacleColor,
|
|
1123
1162
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).obstacleColor = $event),
|
|
1124
1163
|
onChange: _cache[5] || (_cache[5] = $event => paramsChanged('obstacleColor'))
|
|
1125
|
-
}, null, 8
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1164
|
+
}, null, 8
|
|
1165
|
+
/* PROPS */
|
|
1166
|
+
, ["modelValue"])]),
|
|
1167
|
+
_: 1
|
|
1168
|
+
/* STABLE */
|
|
1169
|
+
|
|
1170
|
+
}, 8
|
|
1171
|
+
/* PROPS */
|
|
1172
|
+
, ["label"])]),
|
|
1173
|
+
_: 1
|
|
1174
|
+
/* STABLE */
|
|
1175
|
+
|
|
1129
1176
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-row style=\"display: flex\">\r\n <kq-col :span=\"12\">\r\n <kq-checkbox v-model=\"formItem.obstaclePoint\">{{ language.obstaclePoint }}</kq-checkbox>\r\n </kq-col>\r\n <kq-col :span=\"12\">\r\n <kq-checkbox v-model=\"formItem.highlightObstacle\">{{ language.highlightObstacle }}</kq-checkbox>\r\n </kq-col>\r\n </kq-row> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1130
1177
|
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_checkbox, {
|
|
1131
1178
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).isLabel,
|
|
1132
1179
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).isLabel = $event),
|
|
1133
1180
|
onChange: _cache[7] || (_cache[7] = $event => paramsChanged('isLabel'))
|
|
1134
1181
|
}, {
|
|
1135
|
-
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).showLabel), 1
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1182
|
+
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).showLabel), 1
|
|
1183
|
+
/* TEXT */
|
|
1184
|
+
)]),
|
|
1185
|
+
_: 1
|
|
1186
|
+
/* STABLE */
|
|
1187
|
+
|
|
1188
|
+
}, 8
|
|
1189
|
+
/* PROPS */
|
|
1190
|
+
, ["modelValue"])]),
|
|
1191
|
+
_: 1
|
|
1192
|
+
/* STABLE */
|
|
1193
|
+
|
|
1139
1194
|
})]),
|
|
1140
|
-
_: 1
|
|
1195
|
+
_: 1
|
|
1196
|
+
/* STABLE */
|
|
1197
|
+
|
|
1141
1198
|
})]),
|
|
1142
|
-
_: 1
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1199
|
+
_: 1
|
|
1200
|
+
/* STABLE */
|
|
1201
|
+
|
|
1202
|
+
}, 8
|
|
1203
|
+
/* PROPS */
|
|
1204
|
+
, ["title"])]),
|
|
1205
|
+
_: 1
|
|
1206
|
+
/* STABLE */
|
|
1207
|
+
|
|
1208
|
+
}, 8
|
|
1209
|
+
/* PROPS */
|
|
1210
|
+
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1146
1211
|
onClick: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)(addSeePoint, ["stop"]),
|
|
1147
1212
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).seePoint,
|
|
1148
1213
|
type: "primary"
|
|
1149
1214
|
}, {
|
|
1150
|
-
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).seePoint), 1
|
|
1151
|
-
|
|
1152
|
-
|
|
1215
|
+
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).seePoint), 1
|
|
1216
|
+
/* TEXT */
|
|
1217
|
+
)]),
|
|
1218
|
+
_: 1
|
|
1219
|
+
/* STABLE */
|
|
1220
|
+
|
|
1221
|
+
}, 8
|
|
1222
|
+
/* PROPS */
|
|
1223
|
+
, ["onClick", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1153
1224
|
onClick: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)(addTargetPoint, ["stop"]),
|
|
1154
1225
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).targetPoint,
|
|
1155
1226
|
type: "primary"
|
|
1156
1227
|
}, {
|
|
1157
|
-
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).targetPoint), 1
|
|
1158
|
-
|
|
1159
|
-
|
|
1228
|
+
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).targetPoint), 1
|
|
1229
|
+
/* TEXT */
|
|
1230
|
+
)]),
|
|
1231
|
+
_: 1
|
|
1232
|
+
/* STABLE */
|
|
1233
|
+
|
|
1234
|
+
}, 8
|
|
1235
|
+
/* PROPS */
|
|
1236
|
+
, ["onClick", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1160
1237
|
onClick: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)(clearResult, ["stop"]),
|
|
1161
1238
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
|
|
1162
1239
|
}, {
|
|
1163
|
-
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
|
|
1164
|
-
|
|
1165
|
-
|
|
1240
|
+
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
|
|
1241
|
+
/* TEXT */
|
|
1242
|
+
)]),
|
|
1243
|
+
_: 1
|
|
1244
|
+
/* STABLE */
|
|
1245
|
+
|
|
1246
|
+
}, 8
|
|
1247
|
+
/* PROPS */
|
|
1248
|
+
, ["onClick", "title"])])])], 2
|
|
1249
|
+
/* CLASS */
|
|
1250
|
+
);
|
|
1166
1251
|
};
|
|
1167
1252
|
}
|
|
1253
|
+
|
|
1168
1254
|
}));
|
|
1169
1255
|
;// CONCATENATED MODULE: ./src/webgl/sightlineanalysis/SightlineAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
1170
1256
|
|
|
@@ -1186,11 +1272,13 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
|
1186
1272
|
|
|
1187
1273
|
|
|
1188
1274
|
|
|
1275
|
+
|
|
1189
1276
|
SightlineAnalysis.install = (Vue, opts) => {
|
|
1190
1277
|
init_js_default()(Vue, opts);
|
|
1191
1278
|
Vue.component(SightlineAnalysis.name, SightlineAnalysis);
|
|
1192
1279
|
};
|
|
1193
1280
|
|
|
1281
|
+
|
|
1194
1282
|
}();
|
|
1195
1283
|
/******/ return __webpack_exports__;
|
|
1196
1284
|
/******/ })()
|