@kq_npm/client3d_webgl_vue 4.5.2 → 4.5.4-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adddata/index.js +355 -538
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +172 -239
- package/baseterraingallery/index.js +124 -145
- package/boxclip/index.js +300 -481
- package/clientPrint/index.js +335 -898
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +226 -246
- package/compass/index.js +96 -84
- package/excavatefillanalysis/index.js +193 -263
- package/fixedzoomin/index.js +91 -76
- package/fixedzoomout/index.js +91 -76
- package/flight/index.js +311 -415
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +255 -393
- package/geologicalbodyanalysis/index.js +215 -298
- package/gpuspatialquery/index.js +260 -402
- package/hawkeye/index.js +141 -103
- package/headertemp/index.js +25 -34
- package/heatmap3d/index.js +451 -763
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +20826 -17774
- package/isolineanalysis/index.js +566 -1243
- package/light/index.js +353 -488
- package/limitheightanalysis/index.js +251 -312
- package/measure/index.js +350 -504
- package/modelFlat/index.js +214 -234
- package/modelexcavate/index.js +206 -262
- package/modelfilter/index.js +229 -308
- package/modelprofileanalysis/index.js +356 -465
- package/modelselect/index.js +192 -184
- package/package.json +1 -1
- package/particleeffect/index.js +259 -430
- package/planeclip/index.js +249 -339
- package/resetview/index.js +89 -69
- package/roller/index.js +307 -363
- package/scaneffect/index.js +285 -582
- package/sceneadvancedtoimage/index.js +1055 -0
- package/sceneadvancedtoimage/style/index.js +3 -0
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
- package/sceneapp/index.js +11149 -0
- package/sceneset/index.js +393 -885
- package/scenetohdimage/index.js +214 -346
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +22780 -19540
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +275 -312
- package/shadowanalysis/index.js +269 -448
- package/sightlineanalysis/index.js +231 -312
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +213 -351
- package/slopeanalysis/index.js +282 -444
- package/slopeaspectanalysis/index.js +315 -534
- package/statusbar/index.js +194 -164
- package/style.css +1 -1
- package/terrainoperation/index.js +230 -280
- package/terrainprofileanalysis/index.js +174 -182
- package/underground/index.js +98 -82
- package/videofusion/index.js +319 -532
- package/videoproject/index.js +325 -534
- package/viewshedanalysis/index.js +178 -275
- package/weathereffect/index.js +199 -343
- package/wireframesketch/index.js +146 -150
|
@@ -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
|
-
expose
|
|
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,88 +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
|
-
|
|
517
|
+
__expose({
|
|
509
518
|
paramsChanged,
|
|
510
519
|
startAnalysis,
|
|
511
520
|
clearResult
|
|
512
521
|
});
|
|
513
522
|
return (_ctx, _cache) => {
|
|
514
523
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
515
|
-
|
|
516
524
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
517
|
-
|
|
518
525
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
519
|
-
|
|
520
526
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
521
|
-
|
|
522
527
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
523
|
-
|
|
524
528
|
const _component_kq_color_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-color-picker");
|
|
525
|
-
|
|
526
529
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
527
|
-
|
|
528
530
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
529
|
-
|
|
530
531
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
531
|
-
|
|
532
532
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
533
|
-
|
|
534
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", {
|
|
535
534
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-viewshed-analysis", {
|
|
536
535
|
'kq-box-shadow': __props.showShadow
|
|
@@ -541,17 +540,11 @@ const __default__ = {
|
|
|
541
540
|
key: 0,
|
|
542
541
|
ref_key: "headerTempRef",
|
|
543
542
|
ref: headerTempRef
|
|
544
|
-
}, null, 512
|
|
545
|
-
/* NEED_PATCH */
|
|
546
|
-
)) : (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, {
|
|
547
544
|
class: "kq3d-viewshed-analysis-tip"
|
|
548
545
|
}, {
|
|
549
|
-
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
|
|
550
|
-
/*
|
|
551
|
-
)]),
|
|
552
|
-
_: 1
|
|
553
|
-
/* STABLE */
|
|
554
|
-
|
|
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 */
|
|
555
548
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
556
549
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(collapseValue)
|
|
557
550
|
}, {
|
|
@@ -582,12 +575,8 @@ const __default__ = {
|
|
|
582
575
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minOffsetHeight,
|
|
583
576
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxOffsetHeight,
|
|
584
577
|
onInput: _cache[1] || (_cache[1] = $event => paramsChanged('height'))
|
|
585
|
-
}, null, 8
|
|
586
|
-
/*
|
|
587
|
-
, ["modelValue", "min", "max"])]),
|
|
588
|
-
_: 1
|
|
589
|
-
/* STABLE */
|
|
590
|
-
|
|
578
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
579
|
+
_: 1 /* STABLE */
|
|
591
580
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
592
581
|
span: 8
|
|
593
582
|
}, {
|
|
@@ -599,26 +588,14 @@ const __default__ = {
|
|
|
599
588
|
step: 1,
|
|
600
589
|
"controls-position": "right",
|
|
601
590
|
onInput: _cache[3] || (_cache[3] = $event => paramsChanged('height'))
|
|
602
|
-
}, null, 8
|
|
603
|
-
/*
|
|
604
|
-
, ["modelValue", "min", "max"])]),
|
|
605
|
-
_: 1
|
|
606
|
-
/* STABLE */
|
|
607
|
-
|
|
591
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
592
|
+
_: 1 /* STABLE */
|
|
608
593
|
})]),
|
|
609
|
-
_: 1
|
|
610
|
-
/* STABLE */
|
|
611
|
-
|
|
594
|
+
_: 1 /* STABLE */
|
|
612
595
|
})]),
|
|
613
|
-
_: 1
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
}, 8
|
|
617
|
-
/* PROPS */
|
|
618
|
-
, ["label"])]),
|
|
619
|
-
_: 1
|
|
620
|
-
/* STABLE */
|
|
621
|
-
|
|
596
|
+
_: 1 /* STABLE */
|
|
597
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
598
|
+
_: 1 /* STABLE */
|
|
622
599
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
623
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, {
|
|
624
601
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).FovV
|
|
@@ -638,12 +615,8 @@ const __default__ = {
|
|
|
638
615
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minFovV,
|
|
639
616
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFovV,
|
|
640
617
|
onInput: _cache[5] || (_cache[5] = $event => paramsChanged('fovV'))
|
|
641
|
-
}, null, 8
|
|
642
|
-
/*
|
|
643
|
-
, ["modelValue", "min", "max"])]),
|
|
644
|
-
_: 1
|
|
645
|
-
/* STABLE */
|
|
646
|
-
|
|
618
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
619
|
+
_: 1 /* STABLE */
|
|
647
620
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
648
621
|
span: 8
|
|
649
622
|
}, {
|
|
@@ -655,26 +628,14 @@ const __default__ = {
|
|
|
655
628
|
step: 1,
|
|
656
629
|
"controls-position": "right",
|
|
657
630
|
onInput: _cache[7] || (_cache[7] = $event => paramsChanged('fovV'))
|
|
658
|
-
}, null, 8
|
|
659
|
-
/*
|
|
660
|
-
, ["modelValue", "min", "max"])]),
|
|
661
|
-
_: 1
|
|
662
|
-
/* STABLE */
|
|
663
|
-
|
|
631
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
632
|
+
_: 1 /* STABLE */
|
|
664
633
|
})]),
|
|
665
|
-
_: 1
|
|
666
|
-
/* STABLE */
|
|
667
|
-
|
|
634
|
+
_: 1 /* STABLE */
|
|
668
635
|
})]),
|
|
669
|
-
_: 1
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
}, 8
|
|
673
|
-
/* PROPS */
|
|
674
|
-
, ["label"])]),
|
|
675
|
-
_: 1
|
|
676
|
-
/* STABLE */
|
|
677
|
-
|
|
636
|
+
_: 1 /* STABLE */
|
|
637
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
638
|
+
_: 1 /* STABLE */
|
|
678
639
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
679
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, {
|
|
680
641
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).FovH
|
|
@@ -694,12 +655,8 @@ const __default__ = {
|
|
|
694
655
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minFovH,
|
|
695
656
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFovH,
|
|
696
657
|
onInput: _cache[9] || (_cache[9] = $event => paramsChanged('fovH'))
|
|
697
|
-
}, null, 8
|
|
698
|
-
/*
|
|
699
|
-
, ["modelValue", "min", "max"])]),
|
|
700
|
-
_: 1
|
|
701
|
-
/* STABLE */
|
|
702
|
-
|
|
658
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
659
|
+
_: 1 /* STABLE */
|
|
703
660
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
704
661
|
span: 8
|
|
705
662
|
}, {
|
|
@@ -711,26 +668,14 @@ const __default__ = {
|
|
|
711
668
|
step: 1,
|
|
712
669
|
"controls-position": "right",
|
|
713
670
|
onInput: _cache[11] || (_cache[11] = $event => paramsChanged('fovH'))
|
|
714
|
-
}, null, 8
|
|
715
|
-
/*
|
|
716
|
-
, ["modelValue", "min", "max"])]),
|
|
717
|
-
_: 1
|
|
718
|
-
/* STABLE */
|
|
719
|
-
|
|
671
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
672
|
+
_: 1 /* STABLE */
|
|
720
673
|
})]),
|
|
721
|
-
_: 1
|
|
722
|
-
/* STABLE */
|
|
723
|
-
|
|
674
|
+
_: 1 /* STABLE */
|
|
724
675
|
})]),
|
|
725
|
-
_: 1
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
}, 8
|
|
729
|
-
/* PROPS */
|
|
730
|
-
, ["label"])]),
|
|
731
|
-
_: 1
|
|
732
|
-
/* STABLE */
|
|
733
|
-
|
|
676
|
+
_: 1 /* STABLE */
|
|
677
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
678
|
+
_: 1 /* STABLE */
|
|
734
679
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
735
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, {
|
|
736
681
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).visibleColor
|
|
@@ -739,18 +684,10 @@ const __default__ = {
|
|
|
739
684
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).visibleColor,
|
|
740
685
|
"onUpdate:modelValue": _cache[12] || (_cache[12] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).visibleColor = $event),
|
|
741
686
|
onChange: _cache[13] || (_cache[13] = $event => paramsChanged('visibleColor'))
|
|
742
|
-
}, null, 8
|
|
743
|
-
/*
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
/* STABLE */
|
|
747
|
-
|
|
748
|
-
}, 8
|
|
749
|
-
/* PROPS */
|
|
750
|
-
, ["label"])]),
|
|
751
|
-
_: 1
|
|
752
|
-
/* STABLE */
|
|
753
|
-
|
|
687
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
688
|
+
_: 1 /* STABLE */
|
|
689
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
690
|
+
_: 1 /* STABLE */
|
|
754
691
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
755
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, {
|
|
756
693
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).invisibleColor
|
|
@@ -759,67 +696,32 @@ const __default__ = {
|
|
|
759
696
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).invisibleColor,
|
|
760
697
|
"onUpdate:modelValue": _cache[14] || (_cache[14] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).invisibleColor = $event),
|
|
761
698
|
onChange: _cache[15] || (_cache[15] = $event => paramsChanged('invisibleColor'))
|
|
762
|
-
}, null, 8
|
|
763
|
-
/*
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
/* STABLE */
|
|
767
|
-
|
|
768
|
-
}, 8
|
|
769
|
-
/* PROPS */
|
|
770
|
-
, ["label"])]),
|
|
771
|
-
_: 1
|
|
772
|
-
/* STABLE */
|
|
773
|
-
|
|
699
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
700
|
+
_: 1 /* STABLE */
|
|
701
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
702
|
+
_: 1 /* STABLE */
|
|
774
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> ")]),
|
|
775
|
-
_: 1
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
_: 1
|
|
782
|
-
/* STABLE */
|
|
783
|
-
|
|
784
|
-
}, 8
|
|
785
|
-
/* PROPS */
|
|
786
|
-
, ["title"])]),
|
|
787
|
-
_: 1
|
|
788
|
-
/* STABLE */
|
|
789
|
-
|
|
790
|
-
}, 8
|
|
791
|
-
/* PROPS */
|
|
792
|
-
, ["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, {
|
|
793
710
|
onClick: _cache[16] || (_cache[16] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
794
711
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
|
|
795
712
|
type: "primary"
|
|
796
713
|
}, {
|
|
797
|
-
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
|
|
798
|
-
/*
|
|
799
|
-
|
|
800
|
-
_: 1
|
|
801
|
-
/* STABLE */
|
|
802
|
-
|
|
803
|
-
}, 8
|
|
804
|
-
/* PROPS */
|
|
805
|
-
, ["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, {
|
|
806
717
|
onClick: _cache[17] || (_cache[17] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
|
|
807
718
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
|
|
808
719
|
}, {
|
|
809
|
-
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
|
|
810
|
-
/*
|
|
811
|
-
|
|
812
|
-
_: 1
|
|
813
|
-
/* STABLE */
|
|
814
|
-
|
|
815
|
-
}, 8
|
|
816
|
-
/* PROPS */
|
|
817
|
-
, ["title"])])])], 2
|
|
818
|
-
/* CLASS */
|
|
819
|
-
);
|
|
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 */);
|
|
820
723
|
};
|
|
821
724
|
}
|
|
822
|
-
|
|
823
725
|
}));
|
|
824
726
|
;// CONCATENATED MODULE: ./src/webgl/viewshedanalysis/ViewshedAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
825
727
|
|
|
@@ -831,10 +733,13 @@ const __exports__ = ViewshedAnalysisvue_type_script_setup_true_lang_js;
|
|
|
831
733
|
|
|
832
734
|
/* harmony default export */ var ViewshedAnalysis = (__exports__);
|
|
833
735
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
834
|
-
var init_js_ = __webpack_require__(
|
|
736
|
+
var init_js_ = __webpack_require__(455);
|
|
835
737
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
836
738
|
;// CONCATENATED MODULE: ./src/webgl/viewshedanalysis/index.js
|
|
837
|
-
|
|
739
|
+
/*
|
|
740
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
741
|
+
* All rights reserved.
|
|
742
|
+
*/
|
|
838
743
|
|
|
839
744
|
|
|
840
745
|
|
|
@@ -843,8 +748,6 @@ ViewshedAnalysis.install = (Vue, opts) => {
|
|
|
843
748
|
Vue.component(ViewshedAnalysis.name, ViewshedAnalysis);
|
|
844
749
|
};
|
|
845
750
|
|
|
846
|
-
|
|
847
|
-
}();
|
|
848
751
|
/******/ return __webpack_exports__;
|
|
849
752
|
/******/ })()
|
|
850
753
|
;
|