@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,100 +7,155 @@
|
|
|
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/init.js"), require("@kq_npm/client_common_vue/_utils/util")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/init.js"], root["@kq_npm/client_common_vue/_utils/util"]);
|
|
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__455__, __WEBPACK_EXTERNAL_MODULE__2975__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 3275:
|
|
16
16
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17
17
|
|
|
18
|
-
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
18
|
+
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6363);
|
|
19
19
|
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
20
|
-
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
20
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(455);
|
|
21
21
|
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
|
|
22
|
-
|
|
22
|
+
/*
|
|
23
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
24
|
+
* All rights reserved.
|
|
25
|
+
*/
|
|
23
26
|
|
|
24
27
|
|
|
25
28
|
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
26
29
|
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
27
30
|
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
28
31
|
};
|
|
29
|
-
|
|
30
|
-
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
32
|
+
/* harmony default export */ __webpack_exports__.A = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
31
33
|
|
|
32
34
|
/***/ }),
|
|
33
35
|
|
|
34
|
-
/***/
|
|
36
|
+
/***/ 5698:
|
|
35
37
|
/***/ (function(module) {
|
|
36
38
|
|
|
37
39
|
module.exports = require("@kq_npm/client_icons_vue");
|
|
38
40
|
|
|
39
41
|
/***/ }),
|
|
40
42
|
|
|
41
|
-
/***/
|
|
43
|
+
/***/ 2652:
|
|
44
|
+
/***/ (function(module) {
|
|
45
|
+
|
|
46
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
47
|
+
|
|
48
|
+
/***/ }),
|
|
49
|
+
|
|
50
|
+
/***/ 3658:
|
|
51
|
+
/***/ (function(module) {
|
|
52
|
+
|
|
53
|
+
module.exports = require("core-js/modules/esnext.iterator.constructor.js");
|
|
54
|
+
|
|
55
|
+
/***/ }),
|
|
56
|
+
|
|
57
|
+
/***/ 4669:
|
|
58
|
+
/***/ (function(module) {
|
|
59
|
+
|
|
60
|
+
module.exports = require("core-js/modules/esnext.iterator.for-each.js");
|
|
61
|
+
|
|
62
|
+
/***/ }),
|
|
63
|
+
|
|
64
|
+
/***/ 6363:
|
|
42
65
|
/***/ (function(module) {
|
|
43
66
|
|
|
44
67
|
module.exports = require("element-plus/dist/index.full.js");
|
|
45
68
|
|
|
46
69
|
/***/ }),
|
|
47
70
|
|
|
48
|
-
/***/
|
|
71
|
+
/***/ 3579:
|
|
49
72
|
/***/ (function(module) {
|
|
50
73
|
|
|
51
74
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
52
75
|
|
|
53
76
|
/***/ }),
|
|
54
77
|
|
|
55
|
-
/***/
|
|
78
|
+
/***/ 64:
|
|
56
79
|
/***/ (function(module) {
|
|
57
80
|
|
|
58
|
-
module.exports =
|
|
81
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
|
|
59
82
|
|
|
60
83
|
/***/ }),
|
|
61
84
|
|
|
62
|
-
/***/
|
|
85
|
+
/***/ 2975:
|
|
63
86
|
/***/ (function(module) {
|
|
64
87
|
|
|
65
|
-
module.exports =
|
|
88
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
|
|
66
89
|
|
|
67
90
|
/***/ }),
|
|
68
91
|
|
|
69
|
-
/***/
|
|
92
|
+
/***/ 455:
|
|
70
93
|
/***/ (function(module) {
|
|
71
94
|
|
|
72
|
-
module.exports =
|
|
95
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
|
|
73
96
|
|
|
74
97
|
/***/ }),
|
|
75
98
|
|
|
76
|
-
/***/
|
|
99
|
+
/***/ 154:
|
|
77
100
|
/***/ (function(module) {
|
|
78
101
|
|
|
79
|
-
module.exports =
|
|
102
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
|
|
80
103
|
|
|
81
104
|
/***/ }),
|
|
82
105
|
|
|
83
|
-
/***/
|
|
106
|
+
/***/ 6913:
|
|
84
107
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
85
108
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
function
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
109
|
+
|
|
110
|
+
// EXPORTS
|
|
111
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
112
|
+
A: function() { return /* binding */ _defineProperty; }
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
116
|
+
function _typeof(o) {
|
|
117
|
+
"@babel/helpers - typeof";
|
|
118
|
+
|
|
119
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
120
|
+
return typeof o;
|
|
121
|
+
} : function (o) {
|
|
122
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
123
|
+
}, _typeof(o);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
127
|
+
|
|
128
|
+
function toPrimitive(t, r) {
|
|
129
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
130
|
+
var e = t[Symbol.toPrimitive];
|
|
131
|
+
if (void 0 !== e) {
|
|
132
|
+
var i = e.call(t, r || "default");
|
|
133
|
+
if ("object" != _typeof(i)) return i;
|
|
134
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
99
135
|
}
|
|
136
|
+
return ("string" === r ? String : Number)(t);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
function toPropertyKey(t) {
|
|
143
|
+
var i = toPrimitive(t, "string");
|
|
144
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
100
148
|
|
|
101
|
-
|
|
149
|
+
function _defineProperty(e, r, t) {
|
|
150
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
151
|
+
value: t,
|
|
152
|
+
enumerable: !0,
|
|
153
|
+
configurable: !0,
|
|
154
|
+
writable: !0
|
|
155
|
+
}) : e[r] = t, e;
|
|
102
156
|
}
|
|
103
157
|
|
|
158
|
+
|
|
104
159
|
/***/ })
|
|
105
160
|
|
|
106
161
|
/******/ });
|
|
@@ -172,58 +227,63 @@ function _defineProperty(obj, key, value) {
|
|
|
172
227
|
/******/
|
|
173
228
|
/************************************************************************/
|
|
174
229
|
var __webpack_exports__ = {};
|
|
175
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
176
|
-
!function() {
|
|
177
230
|
// ESM COMPAT FLAG
|
|
178
231
|
__webpack_require__.r(__webpack_exports__);
|
|
179
232
|
|
|
180
233
|
// EXPORTS
|
|
181
234
|
__webpack_require__.d(__webpack_exports__, {
|
|
182
|
-
|
|
235
|
+
TerrainOperationViewModel: function() { return /* reexport */ TerrainOperationViewModel; },
|
|
183
236
|
"default": function() { return /* reexport */ TerrainOperation; }
|
|
184
237
|
});
|
|
185
238
|
|
|
186
239
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
187
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
240
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
188
241
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
189
|
-
var gis_utils_ = __webpack_require__(
|
|
190
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
191
|
-
var defineProperty = __webpack_require__(
|
|
242
|
+
var gis_utils_ = __webpack_require__(64);
|
|
243
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
244
|
+
var defineProperty = __webpack_require__(6913);
|
|
245
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
246
|
+
var es_array_push_js_ = __webpack_require__(2652);
|
|
247
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
248
|
+
var esnext_iterator_constructor_js_ = __webpack_require__(3658);
|
|
249
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
|
|
250
|
+
var esnext_iterator_for_each_js_ = __webpack_require__(4669);
|
|
192
251
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
193
|
-
var message = __webpack_require__(
|
|
252
|
+
var message = __webpack_require__(3275);
|
|
194
253
|
;// CONCATENATED MODULE: ./src/webgl/terrainoperation/TerrainOperationViewModel.js
|
|
195
254
|
|
|
196
|
-
//地形淹没分析逻辑类
|
|
197
255
|
|
|
198
|
-
class TerrainOperationViewModel {
|
|
199
|
-
//地形开挖三维对象
|
|
200
|
-
//地形修改三维对象
|
|
201
|
-
//绘制管理对象
|
|
202
|
-
//全局参数
|
|
203
|
-
//绘制的坐标点集合
|
|
204
|
-
//地形操作类型
|
|
205
|
-
//开挖深度
|
|
206
|
-
//平整高度
|
|
207
|
-
//绘制完成监听事件
|
|
208
|
-
constructor(scenceView, viewModel) {
|
|
209
|
-
(0,defineProperty/* default */.Z)(this, "_terrainexcavationext", null);
|
|
210
|
-
|
|
211
|
-
(0,defineProperty/* default */.Z)(this, "_terrainmodification", null);
|
|
212
|
-
|
|
213
|
-
(0,defineProperty/* default */.Z)(this, "_drawManager", null);
|
|
214
|
-
|
|
215
|
-
(0,defineProperty/* default */.Z)(this, "_globaOptions", {});
|
|
216
256
|
|
|
217
|
-
(0,defineProperty/* default */.Z)(this, "_positions", []);
|
|
218
257
|
|
|
219
|
-
|
|
258
|
+
/*
|
|
259
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
260
|
+
* All rights reserved.
|
|
261
|
+
*/
|
|
220
262
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
(0,defineProperty/* default */.Z)(this, "_smoothHeight", 2000);
|
|
224
|
-
|
|
225
|
-
(0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
|
|
263
|
+
//地形淹没分析逻辑类
|
|
226
264
|
|
|
265
|
+
class TerrainOperationViewModel {
|
|
266
|
+
constructor(scenceView, viewModel) {
|
|
267
|
+
(0,defineProperty/* default */.A)(this, "_terrainexcavationext", null);
|
|
268
|
+
//地形开挖三维对象
|
|
269
|
+
(0,defineProperty/* default */.A)(this, "_terrainmodification", null);
|
|
270
|
+
//地形修改三维对象
|
|
271
|
+
(0,defineProperty/* default */.A)(this, "_drawManager", null);
|
|
272
|
+
//绘制管理对象
|
|
273
|
+
(0,defineProperty/* default */.A)(this, "_globaOptions", {});
|
|
274
|
+
//全局参数
|
|
275
|
+
(0,defineProperty/* default */.A)(this, "_positions", []);
|
|
276
|
+
//绘制的坐标点集合
|
|
277
|
+
(0,defineProperty/* default */.A)(this, "_terrainStyle", null);
|
|
278
|
+
//地形操作类型
|
|
279
|
+
(0,defineProperty/* default */.A)(this, "_height", 0);
|
|
280
|
+
//开挖深度
|
|
281
|
+
(0,defineProperty/* default */.A)(this, "_smoothHeight", 2000);
|
|
282
|
+
//平整高度
|
|
283
|
+
(0,defineProperty/* default */.A)(this, "_removeEventListener", null);
|
|
284
|
+
//绘制完成监听事件
|
|
285
|
+
(0,defineProperty/* default */.A)(this, "_language", {});
|
|
286
|
+
this._language = scenceView._language;
|
|
227
287
|
this._globaOptions.viewer = scenceView._viewer;
|
|
228
288
|
this._globaOptions.viewer.scene.logarithmicDepthBuffer = false;
|
|
229
289
|
this._globaOptions.viewer.scene.globe.depthTestAgainstTerrain = true;
|
|
@@ -235,10 +295,8 @@ class TerrainOperationViewModel {
|
|
|
235
295
|
this._removeEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
236
296
|
if (shape) {
|
|
237
297
|
that._globaOptions.positions = shape._controlPoints;
|
|
238
|
-
|
|
239
298
|
if (that._terrainStyle === 1) {
|
|
240
299
|
that._positions.push(shape._controlPoints);
|
|
241
|
-
|
|
242
300
|
if (that._terrainexcavationext) {
|
|
243
301
|
that.setTerrainExcavationAddPolygon();
|
|
244
302
|
} else {
|
|
@@ -253,16 +311,13 @@ class TerrainOperationViewModel {
|
|
|
253
311
|
this.createTerrainModification();
|
|
254
312
|
}
|
|
255
313
|
}
|
|
256
|
-
|
|
257
314
|
that._drawManager.clear();
|
|
258
315
|
}
|
|
259
316
|
});
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
|
|
317
|
+
}
|
|
318
|
+
// 创建地形分析类
|
|
263
319
|
createTerrainExcavation(callback) {
|
|
264
320
|
var that = this;
|
|
265
|
-
|
|
266
321
|
this._globaOptions.viewer.terrainProvider.readyPromise.then(function () {
|
|
267
322
|
setTimeout(() => {
|
|
268
323
|
// 地形开挖
|
|
@@ -272,25 +327,21 @@ class TerrainOperationViewModel {
|
|
|
272
327
|
if (callback) callback();
|
|
273
328
|
}, 500);
|
|
274
329
|
});
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
|
|
330
|
+
}
|
|
331
|
+
// 创建地形修改分析类
|
|
278
332
|
createTerrainModification(callback) {
|
|
279
333
|
var that = this;
|
|
280
|
-
|
|
281
334
|
this._globaOptions.viewer.terrainProvider.readyPromise.then(function () {
|
|
282
335
|
setTimeout(() => {
|
|
283
336
|
let heights = [];
|
|
284
337
|
let positions = [];
|
|
285
|
-
|
|
286
338
|
that._globaOptions.positions.forEach((item, index) => {
|
|
287
339
|
console.log(index);
|
|
288
340
|
let cag = window.Cesium.Cartographic.fromCartesian(item);
|
|
289
341
|
positions.push(cag);
|
|
290
342
|
heights.push(cag.height);
|
|
291
|
-
});
|
|
292
|
-
|
|
293
|
-
|
|
343
|
+
});
|
|
344
|
+
// 地形平整
|
|
294
345
|
if (!that._terrainmodification) {
|
|
295
346
|
that._terrainmodification = new window.Cesium.Kq3dTerrainModification({
|
|
296
347
|
viewer: that._globaOptions.viewer,
|
|
@@ -302,78 +353,68 @@ class TerrainOperationViewModel {
|
|
|
302
353
|
that._terrainmodification.heights = heights;
|
|
303
354
|
that._terrainmodification.positions = positions;
|
|
304
355
|
}
|
|
305
|
-
|
|
306
356
|
that._terrainmodification._clippingPlanesEnabled = true;
|
|
307
357
|
if (callback) callback();
|
|
308
358
|
}, 500);
|
|
309
359
|
});
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
|
|
360
|
+
}
|
|
361
|
+
// 地形开挖分析更新分析位置和高度
|
|
313
362
|
setTerrainExcavationAddPolygon() {
|
|
314
363
|
this._terrainexcavationext.addPolygon({
|
|
315
364
|
polygonArray: this._globaOptions.positions,
|
|
316
365
|
height: Number(this._height)
|
|
317
366
|
});
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
|
|
367
|
+
}
|
|
368
|
+
// 地形平整执行分析
|
|
321
369
|
setTerrainModification() {
|
|
322
370
|
let heights = [];
|
|
323
371
|
let positions = [];
|
|
324
|
-
|
|
325
372
|
this._globaOptions.positions.forEach((item, index) => {
|
|
326
373
|
console.log(index);
|
|
327
374
|
let cag = window.Cesium.Cartographic.fromCartesian(item);
|
|
328
375
|
positions.push(cag);
|
|
329
376
|
heights.push(cag.height);
|
|
330
377
|
});
|
|
331
|
-
|
|
332
378
|
this._terrainmodification.heights = heights;
|
|
333
379
|
this._terrainmodification.positions = positions;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
|
|
380
|
+
}
|
|
381
|
+
//开始分析
|
|
337
382
|
start() {
|
|
338
383
|
// 判断是否添加了地形
|
|
339
384
|
if (this._globaOptions.viewer.terrainProvider.availability) {
|
|
340
385
|
if (this._globaOptions.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
341
386
|
this.clear();
|
|
342
|
-
|
|
343
387
|
this._drawManager.startDraw("polygon", {
|
|
344
388
|
clampToGround: true
|
|
345
389
|
});
|
|
346
390
|
} else {
|
|
347
|
-
(0,message/* default */.
|
|
348
|
-
message: "
|
|
391
|
+
(0,message/* default */.A)({
|
|
392
|
+
message: this._language["stkTerrainAnalysisTips"],
|
|
349
393
|
type: "warning"
|
|
350
394
|
});
|
|
351
395
|
}
|
|
352
396
|
} else {
|
|
353
|
-
(0,message/* default */.
|
|
354
|
-
message: "
|
|
397
|
+
(0,message/* default */.A)({
|
|
398
|
+
message: this._language["terrainAnalysisTips"],
|
|
355
399
|
type: "warning"
|
|
356
400
|
});
|
|
357
401
|
}
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
|
|
402
|
+
}
|
|
403
|
+
//改变分析类型
|
|
361
404
|
setTerrainStyle(val) {
|
|
362
405
|
this._terrainStyle = val;
|
|
363
406
|
this.clear();
|
|
364
|
-
}
|
|
365
|
-
|
|
407
|
+
}
|
|
366
408
|
|
|
409
|
+
// 设置开挖深度
|
|
367
410
|
setHeight(height) {
|
|
368
411
|
let that = this;
|
|
369
412
|
this._height = height;
|
|
370
|
-
|
|
371
413
|
if (this._terrainStyle === 0 && this._terrainexcavationext) {
|
|
372
414
|
this._terrainexcavationext && this._terrainexcavationext.destroy();
|
|
373
415
|
this._terrainexcavationext = new window.Cesium.Kq3dTerrainExcavationExt({
|
|
374
416
|
viewer: this._globaOptions.viewer
|
|
375
417
|
});
|
|
376
|
-
|
|
377
418
|
this._positions.forEach(item => {
|
|
378
419
|
if (that._terrainexcavationext) {
|
|
379
420
|
that._terrainexcavationext.addPolygon({
|
|
@@ -384,46 +425,39 @@ class TerrainOperationViewModel {
|
|
|
384
425
|
});
|
|
385
426
|
}
|
|
386
427
|
}
|
|
387
|
-
|
|
388
428
|
setModificationHeight(height) {
|
|
389
429
|
this._smoothHeight = Number(height);
|
|
390
430
|
if (this._terrainmodification) this._terrainmodification._height = this._smoothHeight;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
|
|
431
|
+
}
|
|
432
|
+
//清除全部结果
|
|
394
433
|
clear() {
|
|
395
|
-
this._drawManager.stopDraw();
|
|
396
|
-
|
|
397
|
-
|
|
434
|
+
this._drawManager.stopDraw();
|
|
435
|
+
// 销毁地形开挖
|
|
398
436
|
if (this._terrainexcavationext) {
|
|
399
437
|
this._terrainexcavationext.destroy();
|
|
400
|
-
|
|
401
438
|
this._terrainexcavationext = null;
|
|
402
439
|
this._positions = [];
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
|
|
440
|
+
}
|
|
441
|
+
// 销毁地形平整
|
|
406
442
|
if (this._terrainmodification) {
|
|
407
443
|
this._terrainmodification && this._terrainmodification.remove();
|
|
408
444
|
this._terrainmodification = null;
|
|
409
445
|
}
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
|
|
446
|
+
}
|
|
447
|
+
// 销毁
|
|
413
448
|
destroy() {
|
|
414
|
-
this.clear();
|
|
415
|
-
|
|
449
|
+
this.clear();
|
|
450
|
+
//移除监听事件
|
|
416
451
|
this._removeEventListener && this._removeEventListener();
|
|
417
452
|
this._removeEventListener = null;
|
|
418
453
|
}
|
|
419
|
-
|
|
420
454
|
}
|
|
421
455
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
422
|
-
var client_icons_vue_ = __webpack_require__(
|
|
456
|
+
var client_icons_vue_ = __webpack_require__(5698);
|
|
423
457
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
424
|
-
var util_ = __webpack_require__(
|
|
458
|
+
var util_ = __webpack_require__(2975);
|
|
425
459
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
426
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
460
|
+
var vue_i18n_cjs_js_ = __webpack_require__(3579);
|
|
427
461
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/terrainoperation/TerrainOperation.vue?vue&type=script&setup=true&lang=js
|
|
428
462
|
|
|
429
463
|
const _hoisted_1 = {
|
|
@@ -447,7 +481,7 @@ const _hoisted_4 = {
|
|
|
447
481
|
const __default__ = {
|
|
448
482
|
name: "Kq3dTerrainOperation"
|
|
449
483
|
};
|
|
450
|
-
/* harmony default export */ var TerrainOperationvue_type_script_setup_true_lang_js = (
|
|
484
|
+
/* harmony default export */ var TerrainOperationvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
451
485
|
props: {
|
|
452
486
|
// 设置参数
|
|
453
487
|
settingParams: {
|
|
@@ -463,7 +497,6 @@ const __default__ = {
|
|
|
463
497
|
type: Boolean,
|
|
464
498
|
default: true
|
|
465
499
|
},
|
|
466
|
-
|
|
467
500
|
/**
|
|
468
501
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
469
502
|
*/
|
|
@@ -493,17 +526,17 @@ const __default__ = {
|
|
|
493
526
|
default: true
|
|
494
527
|
}
|
|
495
528
|
},
|
|
496
|
-
|
|
497
529
|
setup(__props, {
|
|
498
530
|
expose: __expose
|
|
499
531
|
}) {
|
|
500
|
-
const props = __props;
|
|
501
532
|
const {
|
|
502
533
|
proxy
|
|
503
534
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
504
535
|
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
505
|
-
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
536
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
506
537
|
|
|
538
|
+
// 获取组件传参
|
|
539
|
+
const props = __props;
|
|
507
540
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
508
541
|
terrainStyle: props.settingParams && props.settingParams.terrainStyle || 1,
|
|
509
542
|
// 地形操作类型。1:地形开挖;2:地形修改
|
|
@@ -518,15 +551,17 @@ const __default__ = {
|
|
|
518
551
|
minModificationHeight: props.settingParams && props.settingParams.minModificationHeight || 100,
|
|
519
552
|
// 地形平整高度最小值
|
|
520
553
|
maxModificationHeight: props.settingParams && props.settingParams.maxModificationHeight || 8000 // 地形平整高度最大值
|
|
521
|
-
|
|
522
554
|
});
|
|
523
|
-
let viewModel = null;
|
|
555
|
+
let viewModel = null;
|
|
524
556
|
|
|
525
|
-
|
|
557
|
+
// 组件容器Ref
|
|
558
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
526
559
|
|
|
560
|
+
// 生成组件默认header
|
|
527
561
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
528
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
562
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
529
563
|
|
|
564
|
+
// 国际化
|
|
530
565
|
let {
|
|
531
566
|
locale,
|
|
532
567
|
messages
|
|
@@ -546,13 +581,11 @@ const __default__ = {
|
|
|
546
581
|
watchCreateHeaderTemp();
|
|
547
582
|
});
|
|
548
583
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
549
|
-
|
|
550
584
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
551
585
|
if (scenceView) {
|
|
552
586
|
if (props.operationMode !== 0) {
|
|
553
587
|
formItem.terrainStyle = props.operationMode;
|
|
554
588
|
}
|
|
555
|
-
|
|
556
589
|
viewModel = new TerrainOperationViewModel(scenceView, {
|
|
557
590
|
terrainStyle: formItem.terrainStyle,
|
|
558
591
|
excavationDepth: formItem.excavationDepth,
|
|
@@ -561,47 +594,42 @@ const __default__ = {
|
|
|
561
594
|
}
|
|
562
595
|
});
|
|
563
596
|
});
|
|
597
|
+
|
|
564
598
|
/**
|
|
565
599
|
* @description 监听header生成
|
|
566
600
|
*/
|
|
567
|
-
|
|
568
601
|
const watchCreateHeaderTemp = () => {
|
|
569
602
|
if (props.showHeaderTemp) {
|
|
570
603
|
// 生成headerTemp
|
|
571
604
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
572
605
|
}
|
|
573
|
-
};
|
|
574
|
-
|
|
606
|
+
};
|
|
575
607
|
|
|
608
|
+
// 改变样式
|
|
576
609
|
function changeStyle() {
|
|
577
610
|
viewModel && viewModel.setTerrainStyle(formItem.terrainStyle);
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
|
|
611
|
+
}
|
|
612
|
+
// 调整开挖深度
|
|
581
613
|
function changeHeight() {
|
|
582
614
|
viewModel && viewModel.setHeight(formItem.excavationDepth);
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
|
|
615
|
+
}
|
|
616
|
+
// 调整平整高度
|
|
586
617
|
function changeModificationHeight() {
|
|
587
618
|
viewModel && viewModel.setModificationHeight(formItem.modificationHeight);
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
|
|
619
|
+
}
|
|
620
|
+
// 开始分析
|
|
591
621
|
function startOperation() {
|
|
592
622
|
viewModel && viewModel.start();
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
|
|
623
|
+
}
|
|
624
|
+
// 清除
|
|
596
625
|
function clear() {
|
|
597
626
|
viewModel && viewModel.clear();
|
|
598
|
-
}
|
|
599
|
-
|
|
627
|
+
}
|
|
600
628
|
|
|
629
|
+
// 销毁
|
|
601
630
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
602
631
|
viewModel && viewModel.destroy();
|
|
603
632
|
});
|
|
604
|
-
|
|
605
633
|
__expose({
|
|
606
634
|
changeStyle,
|
|
607
635
|
changeHeight,
|
|
@@ -609,20 +637,13 @@ const __default__ = {
|
|
|
609
637
|
startOperation,
|
|
610
638
|
clear
|
|
611
639
|
});
|
|
612
|
-
|
|
613
640
|
return (_ctx, _cache) => {
|
|
614
641
|
const _component_kq_radio = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio");
|
|
615
|
-
|
|
616
642
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
617
|
-
|
|
618
643
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
619
|
-
|
|
620
644
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
621
|
-
|
|
622
645
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
623
|
-
|
|
624
646
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
625
|
-
|
|
626
647
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
627
648
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-terrain-operation-analysis", {
|
|
628
649
|
'kq-box-shadow': __props.showShadow
|
|
@@ -633,9 +654,7 @@ const __default__ = {
|
|
|
633
654
|
key: 0,
|
|
634
655
|
ref_key: "headerTempRef",
|
|
635
656
|
ref: headerTempRef
|
|
636
|
-
}, null, 512
|
|
637
|
-
/* NEED_PATCH */
|
|
638
|
-
)) : (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, [__props.operationMode === 0 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
|
|
657
|
+
}, 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, [__props.operationMode === 0 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
|
|
639
658
|
key: 0
|
|
640
659
|
}, {
|
|
641
660
|
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_radio, {
|
|
@@ -644,32 +663,18 @@ const __default__ = {
|
|
|
644
663
|
label: 1,
|
|
645
664
|
onChange: changeStyle
|
|
646
665
|
}, {
|
|
647
|
-
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).terrainExcavation), 1
|
|
648
|
-
/*
|
|
649
|
-
|
|
650
|
-
_: 1
|
|
651
|
-
/* STABLE */
|
|
652
|
-
|
|
653
|
-
}, 8
|
|
654
|
-
/* PROPS */
|
|
655
|
-
, ["modelValue"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
|
|
666
|
+
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).terrainExcavation), 1 /* TEXT */)]),
|
|
667
|
+
_: 1 /* STABLE */
|
|
668
|
+
}, 8 /* PROPS */, ["modelValue"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
|
|
656
669
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle,
|
|
657
670
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle = $event),
|
|
658
671
|
label: 2,
|
|
659
672
|
onChange: changeStyle
|
|
660
673
|
}, {
|
|
661
|
-
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).TerrainModification), 1
|
|
662
|
-
/*
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
/* STABLE */
|
|
666
|
-
|
|
667
|
-
}, 8
|
|
668
|
-
/* PROPS */
|
|
669
|
-
, ["modelValue"])]),
|
|
670
|
-
_: 1
|
|
671
|
-
/* STABLE */
|
|
672
|
-
|
|
674
|
+
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).TerrainModification), 1 /* TEXT */)]),
|
|
675
|
+
_: 1 /* STABLE */
|
|
676
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
677
|
+
_: 1 /* STABLE */
|
|
673
678
|
})) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle === 1 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
|
|
674
679
|
key: 1,
|
|
675
680
|
gutter: 10
|
|
@@ -677,15 +682,9 @@ const __default__ = {
|
|
|
677
682
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
678
683
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
679
684
|
}, {
|
|
680
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).excavationDepth), 1
|
|
681
|
-
/*
|
|
682
|
-
|
|
683
|
-
_: 1
|
|
684
|
-
/* STABLE */
|
|
685
|
-
|
|
686
|
-
}, 8
|
|
687
|
-
/* PROPS */
|
|
688
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
685
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).excavationDepth), 1 /* TEXT */)]),
|
|
686
|
+
_: 1 /* STABLE */
|
|
687
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
689
688
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 11 : 8
|
|
690
689
|
}, {
|
|
691
690
|
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_slider, {
|
|
@@ -696,15 +695,9 @@ const __default__ = {
|
|
|
696
695
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxExcavationDepth,
|
|
697
696
|
onChange: _cache[3] || (_cache[3] = $event => changeHeight()),
|
|
698
697
|
onClick: _cache[4] || (_cache[4] = $event => changeHeight())
|
|
699
|
-
}, null, 8
|
|
700
|
-
/*
|
|
701
|
-
|
|
702
|
-
_: 1
|
|
703
|
-
/* STABLE */
|
|
704
|
-
|
|
705
|
-
}, 8
|
|
706
|
-
/* PROPS */
|
|
707
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
698
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
699
|
+
_: 1 /* STABLE */
|
|
700
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
708
701
|
span: 6,
|
|
709
702
|
style: {
|
|
710
703
|
"text-align": "end"
|
|
@@ -718,16 +711,10 @@ const __default__ = {
|
|
|
718
711
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxExcavationDepth,
|
|
719
712
|
"controls-position": "right",
|
|
720
713
|
onInput: _cache[6] || (_cache[6] = $event => changeHeight())
|
|
721
|
-
}, null, 8
|
|
722
|
-
/*
|
|
723
|
-
, ["modelValue", "min", "max"])]),
|
|
724
|
-
_: 1
|
|
725
|
-
/* STABLE */
|
|
726
|
-
|
|
714
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
715
|
+
_: 1 /* STABLE */
|
|
727
716
|
})]),
|
|
728
|
-
_: 1
|
|
729
|
-
/* STABLE */
|
|
730
|
-
|
|
717
|
+
_: 1 /* STABLE */
|
|
731
718
|
})) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle === 2 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
|
|
732
719
|
key: 2,
|
|
733
720
|
gutter: 10
|
|
@@ -735,15 +722,9 @@ const __default__ = {
|
|
|
735
722
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
736
723
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
737
724
|
}, {
|
|
738
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).modificationHeight), 1
|
|
739
|
-
/*
|
|
740
|
-
|
|
741
|
-
_: 1
|
|
742
|
-
/* STABLE */
|
|
743
|
-
|
|
744
|
-
}, 8
|
|
745
|
-
/* PROPS */
|
|
746
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
725
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).modificationHeight), 1 /* TEXT */)]),
|
|
726
|
+
_: 1 /* STABLE */
|
|
727
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
747
728
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 11 : 8
|
|
748
729
|
}, {
|
|
749
730
|
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_slider, {
|
|
@@ -754,15 +735,9 @@ const __default__ = {
|
|
|
754
735
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxModificationHeight,
|
|
755
736
|
onChange: _cache[8] || (_cache[8] = $event => changeModificationHeight()),
|
|
756
737
|
onClick: _cache[9] || (_cache[9] = $event => changeModificationHeight())
|
|
757
|
-
}, null, 8
|
|
758
|
-
/*
|
|
759
|
-
|
|
760
|
-
_: 1
|
|
761
|
-
/* STABLE */
|
|
762
|
-
|
|
763
|
-
}, 8
|
|
764
|
-
/* PROPS */
|
|
765
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
738
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
739
|
+
_: 1 /* STABLE */
|
|
740
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
766
741
|
span: 6,
|
|
767
742
|
style: {
|
|
768
743
|
"text-align": "end"
|
|
@@ -776,56 +751,31 @@ const __default__ = {
|
|
|
776
751
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxModificationHeight,
|
|
777
752
|
"controls-position": "right",
|
|
778
753
|
onInput: _cache[11] || (_cache[11] = $event => changeModificationHeight())
|
|
779
|
-
}, null, 8
|
|
780
|
-
/*
|
|
781
|
-
, ["modelValue", "min", "max"])]),
|
|
782
|
-
_: 1
|
|
783
|
-
/* STABLE */
|
|
784
|
-
|
|
754
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
755
|
+
_: 1 /* STABLE */
|
|
785
756
|
})]),
|
|
786
|
-
_: 1
|
|
787
|
-
/* STABLE */
|
|
788
|
-
|
|
757
|
+
_: 1 /* STABLE */
|
|
789
758
|
})) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
790
759
|
class: "kq3d-terrain-operation-analysis-tip"
|
|
791
760
|
}, {
|
|
792
|
-
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).skylineTips), 1
|
|
793
|
-
/*
|
|
794
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <p v-if=\"formItem.terrainStyle === 2\">{{ \"(\" + language.reverseDrawPolygon + \")\" }}</p> ")]),
|
|
795
|
-
_: 1
|
|
796
|
-
/* STABLE */
|
|
797
|
-
|
|
761
|
+
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).skylineTips), 1 /* TEXT */), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <p v-if=\"formItem.terrainStyle === 2\">{{ \"(\" + language.reverseDrawPolygon + \")\" }}</p> ")]),
|
|
762
|
+
_: 1 /* STABLE */
|
|
798
763
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_4, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
799
764
|
onClick: _cache[12] || (_cache[12] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startOperation(), ["stop"])),
|
|
800
765
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startOperation,
|
|
801
766
|
type: "primary"
|
|
802
767
|
}, {
|
|
803
|
-
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).startOperation), 1
|
|
804
|
-
/*
|
|
805
|
-
|
|
806
|
-
_: 1
|
|
807
|
-
/* STABLE */
|
|
808
|
-
|
|
809
|
-
}, 8
|
|
810
|
-
/* PROPS */
|
|
811
|
-
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
768
|
+
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).startOperation), 1 /* TEXT */)]),
|
|
769
|
+
_: 1 /* STABLE */
|
|
770
|
+
}, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
812
771
|
onClick: _cache[13] || (_cache[13] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clear(), ["stop"])),
|
|
813
772
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
814
773
|
}, {
|
|
815
|
-
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).clear), 1
|
|
816
|
-
/*
|
|
817
|
-
|
|
818
|
-
_: 1
|
|
819
|
-
/* STABLE */
|
|
820
|
-
|
|
821
|
-
}, 8
|
|
822
|
-
/* PROPS */
|
|
823
|
-
, ["title"])])])], 2
|
|
824
|
-
/* CLASS */
|
|
825
|
-
);
|
|
774
|
+
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).clear), 1 /* TEXT */)]),
|
|
775
|
+
_: 1 /* STABLE */
|
|
776
|
+
}, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
|
|
826
777
|
};
|
|
827
778
|
}
|
|
828
|
-
|
|
829
779
|
}));
|
|
830
780
|
;// CONCATENATED MODULE: ./src/webgl/terrainoperation/TerrainOperation.vue?vue&type=script&setup=true&lang=js
|
|
831
781
|
|
|
@@ -837,10 +787,13 @@ const __exports__ = TerrainOperationvue_type_script_setup_true_lang_js;
|
|
|
837
787
|
|
|
838
788
|
/* harmony default export */ var TerrainOperation = (__exports__);
|
|
839
789
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
840
|
-
var init_js_ = __webpack_require__(
|
|
790
|
+
var init_js_ = __webpack_require__(455);
|
|
841
791
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
842
792
|
;// CONCATENATED MODULE: ./src/webgl/terrainoperation/index.js
|
|
843
|
-
|
|
793
|
+
/*
|
|
794
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
795
|
+
* All rights reserved.
|
|
796
|
+
*/
|
|
844
797
|
|
|
845
798
|
|
|
846
799
|
|
|
@@ -849,8 +802,6 @@ TerrainOperation.install = (Vue, opts) => {
|
|
|
849
802
|
Vue.component(TerrainOperation.name, TerrainOperation);
|
|
850
803
|
};
|
|
851
804
|
|
|
852
|
-
|
|
853
|
-
}();
|
|
854
805
|
/******/ return __webpack_exports__;
|
|
855
806
|
/******/ })()
|
|
856
807
|
;
|