@kq_npm/client3d_webgl_vue 4.5.3-beta → 4.5.5-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adddata/index.js +337 -524
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +163 -229
- package/baseterraingallery/index.js +122 -145
- package/boxclip/index.js +291 -472
- package/clientPrint/index.js +368 -906
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +224 -246
- package/compass/index.js +96 -84
- package/excavatefillanalysis/index.js +185 -255
- package/fixedzoomin/index.js +91 -76
- package/fixedzoomout/index.js +91 -76
- package/flight/index.js +298 -402
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +248 -385
- package/geologicalbodyanalysis/index.js +206 -288
- package/gpuspatialquery/index.js +243 -392
- package/hawkeye/index.js +139 -103
- package/headertemp/index.js +23 -33
- package/heatmap3d/index.js +427 -734
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +8170 -17000
- package/isolineanalysis/index.js +557 -1233
- package/light/index.js +351 -488
- package/limitheightanalysis/index.js +249 -312
- package/measure/index.js +341 -495
- package/modelFlat/index.js +261 -259
- package/modelexcavate/index.js +214 -266
- package/modelfilter/index.js +216 -299
- package/modelprofileanalysis/index.js +354 -465
- package/modelselect/index.js +183 -175
- package/package.json +1 -1
- package/particleeffect/index.js +257 -430
- package/planeclip/index.js +240 -330
- package/resetview/index.js +89 -69
- package/roller/index.js +305 -363
- package/scaneffect/index.js +274 -572
- package/sceneadvancedtoimage/index.js +1057 -0
- package/sceneadvancedtoimage/style/index.js +3 -0
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
- package/sceneapp/index.js +818 -2179
- package/sceneset/index.js +391 -885
- package/scenetohdimage/index.js +212 -346
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +9208 -17907
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +273 -312
- package/shadowanalysis/index.js +259 -437
- package/sightlineanalysis/index.js +229 -312
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +204 -341
- package/slopeanalysis/index.js +274 -435
- package/slopeaspectanalysis/index.js +307 -524
- package/statusbar/index.js +113 -84
- package/style.css +1 -1
- package/terrainoperation/index.js +222 -271
- package/terrainprofileanalysis/index.js +166 -173
- package/underground/index.js +96 -82
- package/videofusion/index.js +305 -519
- package/videoproject/index.js +311 -521
- package/viewshedanalysis/index.js +176 -275
- package/weathereffect/index.js +197 -343
- package/wireframesketch/index.js +133 -141
|
@@ -7,81 +7,113 @@
|
|
|
7
7
|
var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/_utils/const-image"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/init.js")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/_utils/const-image"], root["@kq_npm/client_common_vue/_utils/util"], root["@kq_npm/client_common_vue/init.js"]);
|
|
8
8
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
9
|
}
|
|
10
|
-
})(this, function(
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__154__, __WEBPACK_EXTERNAL_MODULE__64__, __WEBPACK_EXTERNAL_MODULE__4822__, __WEBPACK_EXTERNAL_MODULE__2975__, __WEBPACK_EXTERNAL_MODULE__455__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 5698:
|
|
16
16
|
/***/ (function(module) {
|
|
17
17
|
|
|
18
18
|
module.exports = require("@kq_npm/client_icons_vue");
|
|
19
19
|
|
|
20
20
|
/***/ }),
|
|
21
21
|
|
|
22
|
-
/***/
|
|
22
|
+
/***/ 3579:
|
|
23
23
|
/***/ (function(module) {
|
|
24
24
|
|
|
25
25
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
26
26
|
|
|
27
27
|
/***/ }),
|
|
28
28
|
|
|
29
|
-
/***/
|
|
29
|
+
/***/ 4822:
|
|
30
30
|
/***/ (function(module) {
|
|
31
31
|
|
|
32
|
-
module.exports =
|
|
32
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__4822__;
|
|
33
33
|
|
|
34
34
|
/***/ }),
|
|
35
35
|
|
|
36
|
-
/***/
|
|
36
|
+
/***/ 64:
|
|
37
37
|
/***/ (function(module) {
|
|
38
38
|
|
|
39
|
-
module.exports =
|
|
39
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
|
|
40
40
|
|
|
41
41
|
/***/ }),
|
|
42
42
|
|
|
43
|
-
/***/
|
|
43
|
+
/***/ 2975:
|
|
44
44
|
/***/ (function(module) {
|
|
45
45
|
|
|
46
|
-
module.exports =
|
|
46
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
|
|
47
47
|
|
|
48
48
|
/***/ }),
|
|
49
49
|
|
|
50
|
-
/***/
|
|
50
|
+
/***/ 455:
|
|
51
51
|
/***/ (function(module) {
|
|
52
52
|
|
|
53
|
-
module.exports =
|
|
53
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
|
|
54
54
|
|
|
55
55
|
/***/ }),
|
|
56
56
|
|
|
57
|
-
/***/
|
|
57
|
+
/***/ 154:
|
|
58
58
|
/***/ (function(module) {
|
|
59
59
|
|
|
60
|
-
module.exports =
|
|
60
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
|
|
61
61
|
|
|
62
62
|
/***/ }),
|
|
63
63
|
|
|
64
|
-
/***/
|
|
64
|
+
/***/ 6913:
|
|
65
65
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
function
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
67
|
+
|
|
68
|
+
// EXPORTS
|
|
69
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
70
|
+
A: function() { return /* binding */ _defineProperty; }
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
74
|
+
function _typeof(o) {
|
|
75
|
+
"@babel/helpers - typeof";
|
|
76
|
+
|
|
77
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
78
|
+
return typeof o;
|
|
79
|
+
} : function (o) {
|
|
80
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
81
|
+
}, _typeof(o);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
85
|
+
|
|
86
|
+
function toPrimitive(t, r) {
|
|
87
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
88
|
+
var e = t[Symbol.toPrimitive];
|
|
89
|
+
if (void 0 !== e) {
|
|
90
|
+
var i = e.call(t, r || "default");
|
|
91
|
+
if ("object" != _typeof(i)) return i;
|
|
92
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
80
93
|
}
|
|
94
|
+
return ("string" === r ? String : Number)(t);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
function toPropertyKey(t) {
|
|
101
|
+
var i = toPrimitive(t, "string");
|
|
102
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
81
106
|
|
|
82
|
-
|
|
107
|
+
function _defineProperty(e, r, t) {
|
|
108
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
109
|
+
value: t,
|
|
110
|
+
enumerable: !0,
|
|
111
|
+
configurable: !0,
|
|
112
|
+
writable: !0
|
|
113
|
+
}) : e[r] = t, e;
|
|
83
114
|
}
|
|
84
115
|
|
|
116
|
+
|
|
85
117
|
/***/ })
|
|
86
118
|
|
|
87
119
|
/******/ });
|
|
@@ -153,74 +185,67 @@ function _defineProperty(obj, key, value) {
|
|
|
153
185
|
/******/
|
|
154
186
|
/************************************************************************/
|
|
155
187
|
var __webpack_exports__ = {};
|
|
156
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
157
|
-
!function() {
|
|
158
188
|
// ESM COMPAT FLAG
|
|
159
189
|
__webpack_require__.r(__webpack_exports__);
|
|
160
190
|
|
|
161
191
|
// EXPORTS
|
|
162
192
|
__webpack_require__.d(__webpack_exports__, {
|
|
163
|
-
|
|
193
|
+
ViewshedAnalysisViewModel: function() { return /* reexport */ ViewshedAnalysisViewModel; },
|
|
164
194
|
"default": function() { return /* reexport */ ViewshedAnalysis; }
|
|
165
195
|
});
|
|
166
196
|
|
|
167
197
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
168
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
198
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
169
199
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
170
|
-
var gis_utils_ = __webpack_require__(
|
|
171
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
172
|
-
var defineProperty = __webpack_require__(
|
|
200
|
+
var gis_utils_ = __webpack_require__(64);
|
|
201
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
202
|
+
var defineProperty = __webpack_require__(6913);
|
|
173
203
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
174
|
-
var const_image_ = __webpack_require__(
|
|
204
|
+
var const_image_ = __webpack_require__(4822);
|
|
175
205
|
;// CONCATENATED MODULE: ./src/webgl/viewshedanalysis/ViewshedAnalysisViewModel.js
|
|
176
206
|
|
|
177
|
-
|
|
207
|
+
/*
|
|
208
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
209
|
+
* All rights reserved.
|
|
210
|
+
*/
|
|
178
211
|
|
|
212
|
+
//可视域分析逻辑类
|
|
179
213
|
class ViewshedAnalysisViewModel {
|
|
180
|
-
//可视域分析三维对象
|
|
181
|
-
//三维场景对象
|
|
182
|
-
//可视域分析存储参数对象
|
|
183
|
-
//可视域分析初始点图标
|
|
184
214
|
//可视域分析初始点坐标
|
|
185
|
-
constructor(scenceView, options) {
|
|
186
|
-
(0,defineProperty/* default */.Z)(this, "_viewshedAnalysis", null);
|
|
187
|
-
|
|
188
|
-
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
189
|
-
|
|
190
|
-
(0,defineProperty/* default */.Z)(this, "_scene", null);
|
|
191
|
-
|
|
192
|
-
(0,defineProperty/* default */.Z)(this, "_options", null);
|
|
193
|
-
|
|
194
|
-
(0,defineProperty/* default */.Z)(this, "_marker", null);
|
|
195
|
-
|
|
196
|
-
(0,defineProperty/* default */.Z)(this, "_position", null);
|
|
197
215
|
|
|
216
|
+
constructor(scenceView, options) {
|
|
217
|
+
(0,defineProperty/* default */.A)(this, "_viewshedAnalysis", null);
|
|
218
|
+
//可视域分析三维对象
|
|
219
|
+
(0,defineProperty/* default */.A)(this, "_viewer", null);
|
|
220
|
+
(0,defineProperty/* default */.A)(this, "_scene", null);
|
|
221
|
+
//三维场景对象
|
|
222
|
+
(0,defineProperty/* default */.A)(this, "_options", null);
|
|
223
|
+
//可视域分析存储参数对象
|
|
224
|
+
(0,defineProperty/* default */.A)(this, "_marker", null);
|
|
225
|
+
//可视域分析初始点图标
|
|
226
|
+
(0,defineProperty/* default */.A)(this, "_position", null);
|
|
198
227
|
this._viewer = scenceView._viewer;
|
|
199
228
|
this._scene = scenceView._viewer.scene;
|
|
200
229
|
this._scene.globe.depthTestAgainstTerrain = true;
|
|
201
230
|
this._options = options;
|
|
202
|
-
|
|
203
231
|
if (this._options.visibleColor) {
|
|
204
232
|
this._options.visibleColor = Cesium.Color.fromCssColorString(this._options.visibleColor);
|
|
205
233
|
}
|
|
206
|
-
|
|
207
234
|
if (this._options.visibleColor) {
|
|
208
235
|
this._options.invisibleColor = Cesium.Color.fromCssColorString(this._options.invisibleColor);
|
|
209
236
|
}
|
|
210
|
-
}
|
|
211
|
-
|
|
237
|
+
}
|
|
212
238
|
|
|
239
|
+
//开始分析
|
|
213
240
|
start() {
|
|
214
241
|
this.clear();
|
|
215
242
|
this._viewshedAnalysis = new Cesium.Kq3dViewshedInteractive(this._scene, this._options);
|
|
216
243
|
let that = this;
|
|
217
|
-
|
|
218
244
|
this._viewshedAnalysis.event.addEventListener((p1, p2) => {
|
|
219
245
|
if (p1 && p2 == undefined) {
|
|
220
246
|
that._position = p1;
|
|
221
247
|
let cartographic = Cesium.Cartographic.fromCartesian(p1);
|
|
222
248
|
let newPos = Cesium.Cartesian3.fromRadians(cartographic.longitude, cartographic.latitude, cartographic.height + that._options.offsetHeight);
|
|
223
|
-
|
|
224
249
|
if (that._marker) {
|
|
225
250
|
that._marker.position = newPos;
|
|
226
251
|
} else {
|
|
@@ -235,85 +260,75 @@ class ViewshedAnalysisViewModel {
|
|
|
235
260
|
}
|
|
236
261
|
}
|
|
237
262
|
});
|
|
263
|
+
this._viewshedAnalysis.start();
|
|
238
264
|
|
|
239
|
-
|
|
265
|
+
// if (!this._viewshedAnalysis.isRunning()) {
|
|
240
266
|
// // 绘制完成后,需要释放绘制事件
|
|
241
267
|
// }
|
|
268
|
+
}
|
|
242
269
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
270
|
+
//清除全部结果
|
|
246
271
|
clear() {
|
|
247
272
|
// this._viewshedAnalysis && this._viewshedAnalysis.pause();
|
|
248
273
|
this.destroy();
|
|
249
|
-
}
|
|
250
|
-
|
|
274
|
+
}
|
|
251
275
|
|
|
276
|
+
//销毁
|
|
252
277
|
destroy() {
|
|
253
278
|
this._viewshedAnalysis && this._viewshedAnalysis.destroy();
|
|
254
279
|
this._viewshedAnalysis = null;
|
|
255
|
-
|
|
256
280
|
if (this._marker) {
|
|
257
281
|
this._viewer.entities.remove(this._marker);
|
|
258
|
-
|
|
259
282
|
this._marker = null;
|
|
260
283
|
}
|
|
261
|
-
}
|
|
262
|
-
|
|
284
|
+
}
|
|
263
285
|
|
|
286
|
+
//设置偏移高度
|
|
264
287
|
setOffsetHeight(offsetHeight) {
|
|
265
288
|
this._options.offsetHeight = Number(offsetHeight);
|
|
266
289
|
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.offsetHeight = this._options.offsetHeight;
|
|
267
|
-
|
|
268
290
|
if (this._marker) {
|
|
269
291
|
let cartographic = Cesium.Cartographic.fromCartesian(this._position);
|
|
270
292
|
this._marker.position = Cesium.Cartesian3.fromRadians(cartographic.longitude, cartographic.latitude, cartographic.height + this._options.offsetHeight);
|
|
271
293
|
}
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
|
|
294
|
+
}
|
|
295
|
+
//设置水平角
|
|
275
296
|
setFovH(fovH) {
|
|
276
297
|
this._options.fovH = Number(fovH);
|
|
277
298
|
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.fovH = this._options.fovH;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
|
|
299
|
+
}
|
|
300
|
+
//设置竖直角
|
|
281
301
|
setFovV(fovV) {
|
|
282
302
|
this._options.fovV = Number(fovV);
|
|
283
303
|
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.fovV = this._options.fovV;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
|
|
304
|
+
}
|
|
305
|
+
//设置可视颜色
|
|
287
306
|
setVisibleColor(visibleColor) {
|
|
288
307
|
this._options.visibleColor = Cesium.Color.fromCssColorString(visibleColor);
|
|
289
308
|
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.visibleColor = this._options.visibleColor;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
|
|
309
|
+
}
|
|
310
|
+
//设置不可视颜色
|
|
293
311
|
setInvisibleColor(invisibleColor) {
|
|
294
312
|
this._options.invisibleColor = Cesium.Color.fromCssColorString(invisibleColor);
|
|
295
313
|
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.invisibleColor = this._options.invisibleColor;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
|
|
314
|
+
}
|
|
315
|
+
//设置网格线颜色
|
|
299
316
|
setLineColor(lineColor) {
|
|
300
317
|
this._options.lineColor = lineColor;
|
|
301
318
|
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.lineColor = Cesium.Color.fromCssColorString(lineColor);
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
|
|
319
|
+
}
|
|
320
|
+
//显示/隐藏网格线
|
|
305
321
|
setShowGridLine(showGridLine) {
|
|
306
322
|
this._options.showGridLine = showGridLine;
|
|
307
323
|
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.showGridLine = showGridLine;
|
|
308
324
|
}
|
|
309
|
-
|
|
310
325
|
}
|
|
311
326
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
312
|
-
var client_icons_vue_ = __webpack_require__(
|
|
327
|
+
var client_icons_vue_ = __webpack_require__(5698);
|
|
313
328
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
314
|
-
var util_ = __webpack_require__(
|
|
329
|
+
var util_ = __webpack_require__(2975);
|
|
315
330
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
316
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
331
|
+
var vue_i18n_cjs_js_ = __webpack_require__(3579);
|
|
317
332
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/viewshedanalysis/ViewshedAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
318
333
|
|
|
319
334
|
const _hoisted_1 = {
|
|
@@ -331,7 +346,7 @@ const _hoisted_2 = {
|
|
|
331
346
|
const __default__ = {
|
|
332
347
|
name: "Kq3dViewshedAnalysis"
|
|
333
348
|
};
|
|
334
|
-
/* harmony default export */ var ViewshedAnalysisvue_type_script_setup_true_lang_js = (
|
|
349
|
+
/* harmony default export */ var ViewshedAnalysisvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
335
350
|
props: {
|
|
336
351
|
// 设置参数
|
|
337
352
|
settingParams: {
|
|
@@ -342,7 +357,6 @@ const __default__ = {
|
|
|
342
357
|
type: Boolean,
|
|
343
358
|
default: true
|
|
344
359
|
},
|
|
345
|
-
|
|
346
360
|
/**
|
|
347
361
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
348
362
|
*/
|
|
@@ -372,18 +386,18 @@ const __default__ = {
|
|
|
372
386
|
default: true
|
|
373
387
|
}
|
|
374
388
|
},
|
|
375
|
-
|
|
376
389
|
setup(__props, {
|
|
377
390
|
expose: __expose
|
|
378
391
|
}) {
|
|
379
|
-
const props = __props;
|
|
380
392
|
const {
|
|
381
393
|
proxy
|
|
382
394
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
383
395
|
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
384
396
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
385
|
-
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
397
|
+
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
386
398
|
|
|
399
|
+
// 获取组件传参
|
|
400
|
+
const props = __props;
|
|
387
401
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
388
402
|
offsetHeight: props.settingParams && props.settingParams.offsetHeight || 1.8,
|
|
389
403
|
// 视点高
|
|
@@ -409,13 +423,16 @@ const __default__ = {
|
|
|
409
423
|
// 不可见颜色
|
|
410
424
|
lineColor: props.settingParams && props.settingParams.lineColor || "#E6A23C"
|
|
411
425
|
});
|
|
412
|
-
let viewModel = null;
|
|
426
|
+
let viewModel = null;
|
|
413
427
|
|
|
414
|
-
|
|
428
|
+
// 组件容器Ref
|
|
429
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
415
430
|
|
|
431
|
+
// 生成组件默认header
|
|
416
432
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
417
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
433
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
418
434
|
|
|
435
|
+
// 国际化
|
|
419
436
|
let {
|
|
420
437
|
locale,
|
|
421
438
|
messages
|
|
@@ -435,7 +452,6 @@ const __default__ = {
|
|
|
435
452
|
watchCreateHeaderTemp();
|
|
436
453
|
});
|
|
437
454
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言类型
|
|
438
|
-
|
|
439
455
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
440
456
|
if (scenceView) {
|
|
441
457
|
viewModel = new ViewshedAnalysisViewModel(scenceView, {
|
|
@@ -449,90 +465,71 @@ const __default__ = {
|
|
|
449
465
|
}
|
|
450
466
|
});
|
|
451
467
|
});
|
|
468
|
+
|
|
452
469
|
/**
|
|
453
470
|
* @description 监听header生成
|
|
454
471
|
*/
|
|
455
|
-
|
|
456
472
|
const watchCreateHeaderTemp = () => {
|
|
457
473
|
if (props.showHeaderTemp) {
|
|
458
474
|
// 生成headerTemp
|
|
459
475
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
460
476
|
}
|
|
461
477
|
};
|
|
462
|
-
|
|
463
478
|
function paramsChanged(key) {
|
|
464
479
|
switch (key) {
|
|
465
480
|
case "height":
|
|
466
481
|
viewModel.setOffsetHeight(formItem.offsetHeight);
|
|
467
482
|
break;
|
|
468
|
-
|
|
469
483
|
case "fovV":
|
|
470
484
|
viewModel.setFovV(formItem.fovV);
|
|
471
485
|
break;
|
|
472
|
-
|
|
473
486
|
case "fovH":
|
|
474
487
|
viewModel.setFovH(formItem.fovH);
|
|
475
488
|
break;
|
|
476
|
-
|
|
477
489
|
case "visibleColor":
|
|
478
490
|
viewModel.setVisibleColor(formItem.visibleColor);
|
|
479
491
|
break;
|
|
480
|
-
|
|
481
492
|
case "invisibleColor":
|
|
482
493
|
viewModel.setInvisibleColor(formItem.invisibleColor);
|
|
483
494
|
break;
|
|
484
|
-
|
|
485
495
|
case "lineColor":
|
|
486
496
|
viewModel.setLineColor(formItem.lineColor);
|
|
487
497
|
break;
|
|
488
|
-
|
|
489
498
|
default:
|
|
490
499
|
break;
|
|
491
500
|
}
|
|
492
|
-
}
|
|
493
|
-
|
|
501
|
+
}
|
|
494
502
|
|
|
503
|
+
//开始分析
|
|
495
504
|
function startAnalysis() {
|
|
496
505
|
viewModel && viewModel.start();
|
|
497
|
-
}
|
|
498
|
-
|
|
506
|
+
}
|
|
499
507
|
|
|
508
|
+
//清除结果
|
|
500
509
|
function clearResult() {
|
|
501
510
|
viewModel && viewModel.clear();
|
|
502
|
-
}
|
|
503
|
-
|
|
511
|
+
}
|
|
504
512
|
|
|
513
|
+
// 销毁
|
|
505
514
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
506
515
|
viewModel && viewModel.destroy();
|
|
507
516
|
});
|
|
508
|
-
|
|
509
517
|
__expose({
|
|
510
518
|
paramsChanged,
|
|
511
519
|
startAnalysis,
|
|
512
520
|
clearResult
|
|
513
521
|
});
|
|
514
|
-
|
|
515
522
|
return (_ctx, _cache) => {
|
|
516
523
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
517
|
-
|
|
518
524
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
519
|
-
|
|
520
525
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
521
|
-
|
|
522
526
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
523
|
-
|
|
524
527
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
525
|
-
|
|
526
528
|
const _component_kq_color_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-color-picker");
|
|
527
|
-
|
|
528
529
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
529
|
-
|
|
530
530
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
531
|
-
|
|
532
531
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
533
|
-
|
|
534
532
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
535
|
-
|
|
536
533
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
537
534
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-viewshed-analysis", {
|
|
538
535
|
'kq-box-shadow': __props.showShadow
|
|
@@ -543,17 +540,11 @@ const __default__ = {
|
|
|
543
540
|
key: 0,
|
|
544
541
|
ref_key: "headerTempRef",
|
|
545
542
|
ref: headerTempRef
|
|
546
|
-
}, null, 512
|
|
547
|
-
/* NEED_PATCH */
|
|
548
|
-
)) : (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, {
|
|
543
|
+
}, 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, {
|
|
549
544
|
class: "kq3d-viewshed-analysis-tip"
|
|
550
545
|
}, {
|
|
551
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).viewshedTips), 1
|
|
552
|
-
/*
|
|
553
|
-
)]),
|
|
554
|
-
_: 1
|
|
555
|
-
/* STABLE */
|
|
556
|
-
|
|
546
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).viewshedTips), 1 /* TEXT */)]),
|
|
547
|
+
_: 1 /* STABLE */
|
|
557
548
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
558
549
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(collapseValue)
|
|
559
550
|
}, {
|
|
@@ -584,12 +575,8 @@ const __default__ = {
|
|
|
584
575
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minOffsetHeight,
|
|
585
576
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxOffsetHeight,
|
|
586
577
|
onInput: _cache[1] || (_cache[1] = $event => paramsChanged('height'))
|
|
587
|
-
}, null, 8
|
|
588
|
-
/*
|
|
589
|
-
, ["modelValue", "min", "max"])]),
|
|
590
|
-
_: 1
|
|
591
|
-
/* STABLE */
|
|
592
|
-
|
|
578
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
579
|
+
_: 1 /* STABLE */
|
|
593
580
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
594
581
|
span: 8
|
|
595
582
|
}, {
|
|
@@ -601,26 +588,14 @@ const __default__ = {
|
|
|
601
588
|
step: 1,
|
|
602
589
|
"controls-position": "right",
|
|
603
590
|
onInput: _cache[3] || (_cache[3] = $event => paramsChanged('height'))
|
|
604
|
-
}, null, 8
|
|
605
|
-
/*
|
|
606
|
-
, ["modelValue", "min", "max"])]),
|
|
607
|
-
_: 1
|
|
608
|
-
/* STABLE */
|
|
609
|
-
|
|
591
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
592
|
+
_: 1 /* STABLE */
|
|
610
593
|
})]),
|
|
611
|
-
_: 1
|
|
612
|
-
/* STABLE */
|
|
613
|
-
|
|
594
|
+
_: 1 /* STABLE */
|
|
614
595
|
})]),
|
|
615
|
-
_: 1
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
}, 8
|
|
619
|
-
/* PROPS */
|
|
620
|
-
, ["label"])]),
|
|
621
|
-
_: 1
|
|
622
|
-
/* STABLE */
|
|
623
|
-
|
|
596
|
+
_: 1 /* STABLE */
|
|
597
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
598
|
+
_: 1 /* STABLE */
|
|
624
599
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
625
600
|
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, {
|
|
626
601
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).FovV
|
|
@@ -640,12 +615,8 @@ const __default__ = {
|
|
|
640
615
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minFovV,
|
|
641
616
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFovV,
|
|
642
617
|
onInput: _cache[5] || (_cache[5] = $event => paramsChanged('fovV'))
|
|
643
|
-
}, null, 8
|
|
644
|
-
/*
|
|
645
|
-
, ["modelValue", "min", "max"])]),
|
|
646
|
-
_: 1
|
|
647
|
-
/* STABLE */
|
|
648
|
-
|
|
618
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
619
|
+
_: 1 /* STABLE */
|
|
649
620
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
650
621
|
span: 8
|
|
651
622
|
}, {
|
|
@@ -657,26 +628,14 @@ const __default__ = {
|
|
|
657
628
|
step: 1,
|
|
658
629
|
"controls-position": "right",
|
|
659
630
|
onInput: _cache[7] || (_cache[7] = $event => paramsChanged('fovV'))
|
|
660
|
-
}, null, 8
|
|
661
|
-
/*
|
|
662
|
-
, ["modelValue", "min", "max"])]),
|
|
663
|
-
_: 1
|
|
664
|
-
/* STABLE */
|
|
665
|
-
|
|
631
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
632
|
+
_: 1 /* STABLE */
|
|
666
633
|
})]),
|
|
667
|
-
_: 1
|
|
668
|
-
/* STABLE */
|
|
669
|
-
|
|
634
|
+
_: 1 /* STABLE */
|
|
670
635
|
})]),
|
|
671
|
-
_: 1
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
}, 8
|
|
675
|
-
/* PROPS */
|
|
676
|
-
, ["label"])]),
|
|
677
|
-
_: 1
|
|
678
|
-
/* STABLE */
|
|
679
|
-
|
|
636
|
+
_: 1 /* STABLE */
|
|
637
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
638
|
+
_: 1 /* STABLE */
|
|
680
639
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
681
640
|
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, {
|
|
682
641
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).FovH
|
|
@@ -696,12 +655,8 @@ const __default__ = {
|
|
|
696
655
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minFovH,
|
|
697
656
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFovH,
|
|
698
657
|
onInput: _cache[9] || (_cache[9] = $event => paramsChanged('fovH'))
|
|
699
|
-
}, null, 8
|
|
700
|
-
/*
|
|
701
|
-
, ["modelValue", "min", "max"])]),
|
|
702
|
-
_: 1
|
|
703
|
-
/* STABLE */
|
|
704
|
-
|
|
658
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
659
|
+
_: 1 /* STABLE */
|
|
705
660
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
706
661
|
span: 8
|
|
707
662
|
}, {
|
|
@@ -713,26 +668,14 @@ const __default__ = {
|
|
|
713
668
|
step: 1,
|
|
714
669
|
"controls-position": "right",
|
|
715
670
|
onInput: _cache[11] || (_cache[11] = $event => paramsChanged('fovH'))
|
|
716
|
-
}, null, 8
|
|
717
|
-
/*
|
|
718
|
-
, ["modelValue", "min", "max"])]),
|
|
719
|
-
_: 1
|
|
720
|
-
/* STABLE */
|
|
721
|
-
|
|
671
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
672
|
+
_: 1 /* STABLE */
|
|
722
673
|
})]),
|
|
723
|
-
_: 1
|
|
724
|
-
/* STABLE */
|
|
725
|
-
|
|
674
|
+
_: 1 /* STABLE */
|
|
726
675
|
})]),
|
|
727
|
-
_: 1
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
}, 8
|
|
731
|
-
/* PROPS */
|
|
732
|
-
, ["label"])]),
|
|
733
|
-
_: 1
|
|
734
|
-
/* STABLE */
|
|
735
|
-
|
|
676
|
+
_: 1 /* STABLE */
|
|
677
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
678
|
+
_: 1 /* STABLE */
|
|
736
679
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
737
680
|
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, {
|
|
738
681
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).visibleColor
|
|
@@ -741,18 +684,10 @@ const __default__ = {
|
|
|
741
684
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).visibleColor,
|
|
742
685
|
"onUpdate:modelValue": _cache[12] || (_cache[12] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).visibleColor = $event),
|
|
743
686
|
onChange: _cache[13] || (_cache[13] = $event => paramsChanged('visibleColor'))
|
|
744
|
-
}, null, 8
|
|
745
|
-
/*
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
/* STABLE */
|
|
749
|
-
|
|
750
|
-
}, 8
|
|
751
|
-
/* PROPS */
|
|
752
|
-
, ["label"])]),
|
|
753
|
-
_: 1
|
|
754
|
-
/* STABLE */
|
|
755
|
-
|
|
687
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
688
|
+
_: 1 /* STABLE */
|
|
689
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
690
|
+
_: 1 /* STABLE */
|
|
756
691
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
757
692
|
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, {
|
|
758
693
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).invisibleColor
|
|
@@ -761,67 +696,32 @@ const __default__ = {
|
|
|
761
696
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).invisibleColor,
|
|
762
697
|
"onUpdate:modelValue": _cache[14] || (_cache[14] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).invisibleColor = $event),
|
|
763
698
|
onChange: _cache[15] || (_cache[15] = $event => paramsChanged('invisibleColor'))
|
|
764
|
-
}, null, 8
|
|
765
|
-
/*
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
/* STABLE */
|
|
769
|
-
|
|
770
|
-
}, 8
|
|
771
|
-
/* PROPS */
|
|
772
|
-
, ["label"])]),
|
|
773
|
-
_: 1
|
|
774
|
-
/* STABLE */
|
|
775
|
-
|
|
699
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
700
|
+
_: 1 /* STABLE */
|
|
701
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
702
|
+
_: 1 /* STABLE */
|
|
776
703
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-row>\r\n <kq-form-item :label=\"language.lineColor\">\r\n <kq-color-picker v-model=\"formItem.lineColor\" @change=\"paramsChanged('lineColor')\"> </kq-color-picker>\r\n </kq-form-item>\r\n </kq-row> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("<kq-row :gutter=\"20\">\r\n <kq-col :span=\"8\">\r\n <kq-checkbox v-model=\"formItem.showVisible\">{{ language.showVisible }}</kq-checkbox>\r\n </kq-col>\r\n <kq-col :span=\"8\">\r\n <kq-checkbox v-model=\"formItem.showInvisible\">{{ language.showInvisible }}</kq-checkbox>\r\n </kq-col>\r\n <kq-col :span=\"8\">\r\n <kq-checkbox v-model=\"formItem.dynamicVisual\">{{ language.dynamicVisual }}</kq-checkbox>\r\n </kq-col>\r\n </kq-row> ")]),
|
|
777
|
-
_: 1
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
_: 1
|
|
784
|
-
/* STABLE */
|
|
785
|
-
|
|
786
|
-
}, 8
|
|
787
|
-
/* PROPS */
|
|
788
|
-
, ["title"])]),
|
|
789
|
-
_: 1
|
|
790
|
-
/* STABLE */
|
|
791
|
-
|
|
792
|
-
}, 8
|
|
793
|
-
/* PROPS */
|
|
794
|
-
, ["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, {
|
|
704
|
+
_: 1 /* STABLE */
|
|
705
|
+
}, 8 /* PROPS */, ["label-width"])]),
|
|
706
|
+
_: 1 /* STABLE */
|
|
707
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
708
|
+
_: 1 /* STABLE */
|
|
709
|
+
}, 8 /* PROPS */, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
795
710
|
onClick: _cache[16] || (_cache[16] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
796
711
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
|
|
797
712
|
type: "primary"
|
|
798
713
|
}, {
|
|
799
|
-
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
|
|
800
|
-
/*
|
|
801
|
-
|
|
802
|
-
_: 1
|
|
803
|
-
/* STABLE */
|
|
804
|
-
|
|
805
|
-
}, 8
|
|
806
|
-
/* PROPS */
|
|
807
|
-
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
714
|
+
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 */)]),
|
|
715
|
+
_: 1 /* STABLE */
|
|
716
|
+
}, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
808
717
|
onClick: _cache[17] || (_cache[17] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
|
|
809
718
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
|
|
810
719
|
}, {
|
|
811
|
-
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
|
|
812
|
-
/*
|
|
813
|
-
|
|
814
|
-
_: 1
|
|
815
|
-
/* STABLE */
|
|
816
|
-
|
|
817
|
-
}, 8
|
|
818
|
-
/* PROPS */
|
|
819
|
-
, ["title"])])])], 2
|
|
820
|
-
/* CLASS */
|
|
821
|
-
);
|
|
720
|
+
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 */)]),
|
|
721
|
+
_: 1 /* STABLE */
|
|
722
|
+
}, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
|
|
822
723
|
};
|
|
823
724
|
}
|
|
824
|
-
|
|
825
725
|
}));
|
|
826
726
|
;// CONCATENATED MODULE: ./src/webgl/viewshedanalysis/ViewshedAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
827
727
|
|
|
@@ -833,10 +733,13 @@ const __exports__ = ViewshedAnalysisvue_type_script_setup_true_lang_js;
|
|
|
833
733
|
|
|
834
734
|
/* harmony default export */ var ViewshedAnalysis = (__exports__);
|
|
835
735
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
836
|
-
var init_js_ = __webpack_require__(
|
|
736
|
+
var init_js_ = __webpack_require__(455);
|
|
837
737
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
838
738
|
;// CONCATENATED MODULE: ./src/webgl/viewshedanalysis/index.js
|
|
839
|
-
|
|
739
|
+
/*
|
|
740
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
741
|
+
* All rights reserved.
|
|
742
|
+
*/
|
|
840
743
|
|
|
841
744
|
|
|
842
745
|
|
|
@@ -845,8 +748,6 @@ ViewshedAnalysis.install = (Vue, opts) => {
|
|
|
845
748
|
Vue.component(ViewshedAnalysis.name, ViewshedAnalysis);
|
|
846
749
|
};
|
|
847
750
|
|
|
848
|
-
|
|
849
|
-
}();
|
|
850
751
|
/******/ return __webpack_exports__;
|
|
851
752
|
/******/ })()
|
|
852
753
|
;
|