@kq_npm/client3d_webgl_vue 4.5.3-beta → 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 +337 -524
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +159 -227
- package/baseterraingallery/index.js +122 -145
- package/boxclip/index.js +288 -470
- package/clientPrint/index.js +333 -897
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +224 -246
- package/compass/index.js +96 -84
- package/excavatefillanalysis/index.js +181 -252
- package/fixedzoomin/index.js +91 -76
- package/fixedzoomout/index.js +91 -76
- package/flight/index.js +297 -401
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +243 -382
- package/geologicalbodyanalysis/index.js +203 -287
- package/gpuspatialquery/index.js +240 -390
- package/hawkeye/index.js +139 -103
- package/headertemp/index.js +23 -33
- package/heatmap3d/index.js +426 -733
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +7913 -16839
- package/isolineanalysis/index.js +554 -1231
- package/light/index.js +351 -488
- package/limitheightanalysis/index.js +249 -312
- package/measure/index.js +339 -493
- package/modelFlat/index.js +202 -223
- package/modelexcavate/index.js +194 -251
- package/modelfilter/index.js +216 -299
- package/modelprofileanalysis/index.js +354 -465
- package/modelselect/index.js +180 -173
- package/package.json +1 -1
- package/particleeffect/index.js +257 -430
- package/planeclip/index.js +237 -328
- package/resetview/index.js +89 -69
- package/roller/index.js +305 -363
- package/scaneffect/index.js +273 -571
- package/sceneadvancedtoimage/index.js +1055 -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 +9018 -17813
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +273 -312
- package/shadowanalysis/index.js +256 -436
- package/sightlineanalysis/index.js +229 -312
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +200 -339
- package/slopeanalysis/index.js +270 -433
- package/slopeaspectanalysis/index.js +303 -523
- package/statusbar/index.js +113 -84
- package/style.css +1 -1
- package/terrainoperation/index.js +218 -269
- package/terrainprofileanalysis/index.js +162 -171
- 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,61 @@ 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
|
-
|
|
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
255
|
|
|
213
|
-
(0,defineProperty/* default */.Z)(this, "_drawManager", null);
|
|
214
256
|
|
|
215
|
-
(0,defineProperty/* default */.Z)(this, "_globaOptions", {});
|
|
216
257
|
|
|
217
|
-
|
|
258
|
+
/*
|
|
259
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
260
|
+
* All rights reserved.
|
|
261
|
+
*/
|
|
218
262
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
(0,defineProperty/* default */.Z)(this, "_height", 0);
|
|
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
|
+
//绘制完成监听事件
|
|
267
|
+
constructor(scenceView, viewModel) {
|
|
268
|
+
(0,defineProperty/* default */.A)(this, "_terrainexcavationext", null);
|
|
269
|
+
//地形开挖三维对象
|
|
270
|
+
(0,defineProperty/* default */.A)(this, "_terrainmodification", null);
|
|
271
|
+
//地形修改三维对象
|
|
272
|
+
(0,defineProperty/* default */.A)(this, "_drawManager", null);
|
|
273
|
+
//绘制管理对象
|
|
274
|
+
(0,defineProperty/* default */.A)(this, "_globaOptions", {});
|
|
275
|
+
//全局参数
|
|
276
|
+
(0,defineProperty/* default */.A)(this, "_positions", []);
|
|
277
|
+
//绘制的坐标点集合
|
|
278
|
+
(0,defineProperty/* default */.A)(this, "_terrainStyle", null);
|
|
279
|
+
//地形操作类型
|
|
280
|
+
(0,defineProperty/* default */.A)(this, "_height", 0);
|
|
281
|
+
//开挖深度
|
|
282
|
+
(0,defineProperty/* default */.A)(this, "_smoothHeight", 2000);
|
|
283
|
+
//平整高度
|
|
284
|
+
(0,defineProperty/* default */.A)(this, "_removeEventListener", null);
|
|
227
285
|
this._globaOptions.viewer = scenceView._viewer;
|
|
228
286
|
this._globaOptions.viewer.scene.logarithmicDepthBuffer = false;
|
|
229
287
|
this._globaOptions.viewer.scene.globe.depthTestAgainstTerrain = true;
|
|
@@ -235,10 +293,8 @@ class TerrainOperationViewModel {
|
|
|
235
293
|
this._removeEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
236
294
|
if (shape) {
|
|
237
295
|
that._globaOptions.positions = shape._controlPoints;
|
|
238
|
-
|
|
239
296
|
if (that._terrainStyle === 1) {
|
|
240
297
|
that._positions.push(shape._controlPoints);
|
|
241
|
-
|
|
242
298
|
if (that._terrainexcavationext) {
|
|
243
299
|
that.setTerrainExcavationAddPolygon();
|
|
244
300
|
} else {
|
|
@@ -253,16 +309,13 @@ class TerrainOperationViewModel {
|
|
|
253
309
|
this.createTerrainModification();
|
|
254
310
|
}
|
|
255
311
|
}
|
|
256
|
-
|
|
257
312
|
that._drawManager.clear();
|
|
258
313
|
}
|
|
259
314
|
});
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
|
|
315
|
+
}
|
|
316
|
+
// 创建地形分析类
|
|
263
317
|
createTerrainExcavation(callback) {
|
|
264
318
|
var that = this;
|
|
265
|
-
|
|
266
319
|
this._globaOptions.viewer.terrainProvider.readyPromise.then(function () {
|
|
267
320
|
setTimeout(() => {
|
|
268
321
|
// 地形开挖
|
|
@@ -272,25 +325,21 @@ class TerrainOperationViewModel {
|
|
|
272
325
|
if (callback) callback();
|
|
273
326
|
}, 500);
|
|
274
327
|
});
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
|
|
328
|
+
}
|
|
329
|
+
// 创建地形修改分析类
|
|
278
330
|
createTerrainModification(callback) {
|
|
279
331
|
var that = this;
|
|
280
|
-
|
|
281
332
|
this._globaOptions.viewer.terrainProvider.readyPromise.then(function () {
|
|
282
333
|
setTimeout(() => {
|
|
283
334
|
let heights = [];
|
|
284
335
|
let positions = [];
|
|
285
|
-
|
|
286
336
|
that._globaOptions.positions.forEach((item, index) => {
|
|
287
337
|
console.log(index);
|
|
288
338
|
let cag = window.Cesium.Cartographic.fromCartesian(item);
|
|
289
339
|
positions.push(cag);
|
|
290
340
|
heights.push(cag.height);
|
|
291
|
-
});
|
|
292
|
-
|
|
293
|
-
|
|
341
|
+
});
|
|
342
|
+
// 地形平整
|
|
294
343
|
if (!that._terrainmodification) {
|
|
295
344
|
that._terrainmodification = new window.Cesium.Kq3dTerrainModification({
|
|
296
345
|
viewer: that._globaOptions.viewer,
|
|
@@ -302,78 +351,68 @@ class TerrainOperationViewModel {
|
|
|
302
351
|
that._terrainmodification.heights = heights;
|
|
303
352
|
that._terrainmodification.positions = positions;
|
|
304
353
|
}
|
|
305
|
-
|
|
306
354
|
that._terrainmodification._clippingPlanesEnabled = true;
|
|
307
355
|
if (callback) callback();
|
|
308
356
|
}, 500);
|
|
309
357
|
});
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
|
|
358
|
+
}
|
|
359
|
+
// 地形开挖分析更新分析位置和高度
|
|
313
360
|
setTerrainExcavationAddPolygon() {
|
|
314
361
|
this._terrainexcavationext.addPolygon({
|
|
315
362
|
polygonArray: this._globaOptions.positions,
|
|
316
363
|
height: Number(this._height)
|
|
317
364
|
});
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
|
|
365
|
+
}
|
|
366
|
+
// 地形平整执行分析
|
|
321
367
|
setTerrainModification() {
|
|
322
368
|
let heights = [];
|
|
323
369
|
let positions = [];
|
|
324
|
-
|
|
325
370
|
this._globaOptions.positions.forEach((item, index) => {
|
|
326
371
|
console.log(index);
|
|
327
372
|
let cag = window.Cesium.Cartographic.fromCartesian(item);
|
|
328
373
|
positions.push(cag);
|
|
329
374
|
heights.push(cag.height);
|
|
330
375
|
});
|
|
331
|
-
|
|
332
376
|
this._terrainmodification.heights = heights;
|
|
333
377
|
this._terrainmodification.positions = positions;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
|
|
378
|
+
}
|
|
379
|
+
//开始分析
|
|
337
380
|
start() {
|
|
338
381
|
// 判断是否添加了地形
|
|
339
382
|
if (this._globaOptions.viewer.terrainProvider.availability) {
|
|
340
383
|
if (this._globaOptions.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
341
384
|
this.clear();
|
|
342
|
-
|
|
343
385
|
this._drawManager.startDraw("polygon", {
|
|
344
386
|
clampToGround: true
|
|
345
387
|
});
|
|
346
388
|
} else {
|
|
347
|
-
(0,message/* default */.
|
|
389
|
+
(0,message/* default */.A)({
|
|
348
390
|
message: "只支持STK类型的地形分析!",
|
|
349
391
|
type: "warning"
|
|
350
392
|
});
|
|
351
393
|
}
|
|
352
394
|
} else {
|
|
353
|
-
(0,message/* default */.
|
|
395
|
+
(0,message/* default */.A)({
|
|
354
396
|
message: "请加载地形后分析!",
|
|
355
397
|
type: "warning"
|
|
356
398
|
});
|
|
357
399
|
}
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
|
|
400
|
+
}
|
|
401
|
+
//改变分析类型
|
|
361
402
|
setTerrainStyle(val) {
|
|
362
403
|
this._terrainStyle = val;
|
|
363
404
|
this.clear();
|
|
364
|
-
}
|
|
365
|
-
|
|
405
|
+
}
|
|
366
406
|
|
|
407
|
+
// 设置开挖深度
|
|
367
408
|
setHeight(height) {
|
|
368
409
|
let that = this;
|
|
369
410
|
this._height = height;
|
|
370
|
-
|
|
371
411
|
if (this._terrainStyle === 0 && this._terrainexcavationext) {
|
|
372
412
|
this._terrainexcavationext && this._terrainexcavationext.destroy();
|
|
373
413
|
this._terrainexcavationext = new window.Cesium.Kq3dTerrainExcavationExt({
|
|
374
414
|
viewer: this._globaOptions.viewer
|
|
375
415
|
});
|
|
376
|
-
|
|
377
416
|
this._positions.forEach(item => {
|
|
378
417
|
if (that._terrainexcavationext) {
|
|
379
418
|
that._terrainexcavationext.addPolygon({
|
|
@@ -384,46 +423,39 @@ class TerrainOperationViewModel {
|
|
|
384
423
|
});
|
|
385
424
|
}
|
|
386
425
|
}
|
|
387
|
-
|
|
388
426
|
setModificationHeight(height) {
|
|
389
427
|
this._smoothHeight = Number(height);
|
|
390
428
|
if (this._terrainmodification) this._terrainmodification._height = this._smoothHeight;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
|
|
429
|
+
}
|
|
430
|
+
//清除全部结果
|
|
394
431
|
clear() {
|
|
395
|
-
this._drawManager.stopDraw();
|
|
396
|
-
|
|
397
|
-
|
|
432
|
+
this._drawManager.stopDraw();
|
|
433
|
+
// 销毁地形开挖
|
|
398
434
|
if (this._terrainexcavationext) {
|
|
399
435
|
this._terrainexcavationext.destroy();
|
|
400
|
-
|
|
401
436
|
this._terrainexcavationext = null;
|
|
402
437
|
this._positions = [];
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
|
|
438
|
+
}
|
|
439
|
+
// 销毁地形平整
|
|
406
440
|
if (this._terrainmodification) {
|
|
407
441
|
this._terrainmodification && this._terrainmodification.remove();
|
|
408
442
|
this._terrainmodification = null;
|
|
409
443
|
}
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
|
|
444
|
+
}
|
|
445
|
+
// 销毁
|
|
413
446
|
destroy() {
|
|
414
|
-
this.clear();
|
|
415
|
-
|
|
447
|
+
this.clear();
|
|
448
|
+
//移除监听事件
|
|
416
449
|
this._removeEventListener && this._removeEventListener();
|
|
417
450
|
this._removeEventListener = null;
|
|
418
451
|
}
|
|
419
|
-
|
|
420
452
|
}
|
|
421
453
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
422
|
-
var client_icons_vue_ = __webpack_require__(
|
|
454
|
+
var client_icons_vue_ = __webpack_require__(5698);
|
|
423
455
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
424
|
-
var util_ = __webpack_require__(
|
|
456
|
+
var util_ = __webpack_require__(2975);
|
|
425
457
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
426
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
458
|
+
var vue_i18n_cjs_js_ = __webpack_require__(3579);
|
|
427
459
|
;// 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
460
|
|
|
429
461
|
const _hoisted_1 = {
|
|
@@ -447,7 +479,7 @@ const _hoisted_4 = {
|
|
|
447
479
|
const __default__ = {
|
|
448
480
|
name: "Kq3dTerrainOperation"
|
|
449
481
|
};
|
|
450
|
-
/* harmony default export */ var TerrainOperationvue_type_script_setup_true_lang_js = (
|
|
482
|
+
/* harmony default export */ var TerrainOperationvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
451
483
|
props: {
|
|
452
484
|
// 设置参数
|
|
453
485
|
settingParams: {
|
|
@@ -463,7 +495,6 @@ const __default__ = {
|
|
|
463
495
|
type: Boolean,
|
|
464
496
|
default: true
|
|
465
497
|
},
|
|
466
|
-
|
|
467
498
|
/**
|
|
468
499
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
469
500
|
*/
|
|
@@ -493,17 +524,17 @@ const __default__ = {
|
|
|
493
524
|
default: true
|
|
494
525
|
}
|
|
495
526
|
},
|
|
496
|
-
|
|
497
527
|
setup(__props, {
|
|
498
528
|
expose: __expose
|
|
499
529
|
}) {
|
|
500
|
-
const props = __props;
|
|
501
530
|
const {
|
|
502
531
|
proxy
|
|
503
532
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
504
533
|
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)({});
|
|
534
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
506
535
|
|
|
536
|
+
// 获取组件传参
|
|
537
|
+
const props = __props;
|
|
507
538
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
508
539
|
terrainStyle: props.settingParams && props.settingParams.terrainStyle || 1,
|
|
509
540
|
// 地形操作类型。1:地形开挖;2:地形修改
|
|
@@ -518,15 +549,17 @@ const __default__ = {
|
|
|
518
549
|
minModificationHeight: props.settingParams && props.settingParams.minModificationHeight || 100,
|
|
519
550
|
// 地形平整高度最小值
|
|
520
551
|
maxModificationHeight: props.settingParams && props.settingParams.maxModificationHeight || 8000 // 地形平整高度最大值
|
|
521
|
-
|
|
522
552
|
});
|
|
523
|
-
let viewModel = null;
|
|
553
|
+
let viewModel = null;
|
|
524
554
|
|
|
525
|
-
|
|
555
|
+
// 组件容器Ref
|
|
556
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
526
557
|
|
|
558
|
+
// 生成组件默认header
|
|
527
559
|
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)();
|
|
560
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
529
561
|
|
|
562
|
+
// 国际化
|
|
530
563
|
let {
|
|
531
564
|
locale,
|
|
532
565
|
messages
|
|
@@ -546,13 +579,11 @@ const __default__ = {
|
|
|
546
579
|
watchCreateHeaderTemp();
|
|
547
580
|
});
|
|
548
581
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
549
|
-
|
|
550
582
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
551
583
|
if (scenceView) {
|
|
552
584
|
if (props.operationMode !== 0) {
|
|
553
585
|
formItem.terrainStyle = props.operationMode;
|
|
554
586
|
}
|
|
555
|
-
|
|
556
587
|
viewModel = new TerrainOperationViewModel(scenceView, {
|
|
557
588
|
terrainStyle: formItem.terrainStyle,
|
|
558
589
|
excavationDepth: formItem.excavationDepth,
|
|
@@ -561,47 +592,42 @@ const __default__ = {
|
|
|
561
592
|
}
|
|
562
593
|
});
|
|
563
594
|
});
|
|
595
|
+
|
|
564
596
|
/**
|
|
565
597
|
* @description 监听header生成
|
|
566
598
|
*/
|
|
567
|
-
|
|
568
599
|
const watchCreateHeaderTemp = () => {
|
|
569
600
|
if (props.showHeaderTemp) {
|
|
570
601
|
// 生成headerTemp
|
|
571
602
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
572
603
|
}
|
|
573
|
-
};
|
|
574
|
-
|
|
604
|
+
};
|
|
575
605
|
|
|
606
|
+
// 改变样式
|
|
576
607
|
function changeStyle() {
|
|
577
608
|
viewModel && viewModel.setTerrainStyle(formItem.terrainStyle);
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
|
|
609
|
+
}
|
|
610
|
+
// 调整开挖深度
|
|
581
611
|
function changeHeight() {
|
|
582
612
|
viewModel && viewModel.setHeight(formItem.excavationDepth);
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
|
|
613
|
+
}
|
|
614
|
+
// 调整平整高度
|
|
586
615
|
function changeModificationHeight() {
|
|
587
616
|
viewModel && viewModel.setModificationHeight(formItem.modificationHeight);
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
|
|
617
|
+
}
|
|
618
|
+
// 开始分析
|
|
591
619
|
function startOperation() {
|
|
592
620
|
viewModel && viewModel.start();
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
|
|
621
|
+
}
|
|
622
|
+
// 清除
|
|
596
623
|
function clear() {
|
|
597
624
|
viewModel && viewModel.clear();
|
|
598
|
-
}
|
|
599
|
-
|
|
625
|
+
}
|
|
600
626
|
|
|
627
|
+
// 销毁
|
|
601
628
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
602
629
|
viewModel && viewModel.destroy();
|
|
603
630
|
});
|
|
604
|
-
|
|
605
631
|
__expose({
|
|
606
632
|
changeStyle,
|
|
607
633
|
changeHeight,
|
|
@@ -609,20 +635,13 @@ const __default__ = {
|
|
|
609
635
|
startOperation,
|
|
610
636
|
clear
|
|
611
637
|
});
|
|
612
|
-
|
|
613
638
|
return (_ctx, _cache) => {
|
|
614
639
|
const _component_kq_radio = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio");
|
|
615
|
-
|
|
616
640
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
617
|
-
|
|
618
641
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
619
|
-
|
|
620
642
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
621
|
-
|
|
622
643
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
623
|
-
|
|
624
644
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
625
|
-
|
|
626
645
|
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
646
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-terrain-operation-analysis", {
|
|
628
647
|
'kq-box-shadow': __props.showShadow
|
|
@@ -633,9 +652,7 @@ const __default__ = {
|
|
|
633
652
|
key: 0,
|
|
634
653
|
ref_key: "headerTempRef",
|
|
635
654
|
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, {
|
|
655
|
+
}, 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
656
|
key: 0
|
|
640
657
|
}, {
|
|
641
658
|
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 +661,18 @@ const __default__ = {
|
|
|
644
661
|
label: 1,
|
|
645
662
|
onChange: changeStyle
|
|
646
663
|
}, {
|
|
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, {
|
|
664
|
+
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 */)]),
|
|
665
|
+
_: 1 /* STABLE */
|
|
666
|
+
}, 8 /* PROPS */, ["modelValue"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
|
|
656
667
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle,
|
|
657
668
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle = $event),
|
|
658
669
|
label: 2,
|
|
659
670
|
onChange: changeStyle
|
|
660
671
|
}, {
|
|
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
|
-
|
|
672
|
+
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 */)]),
|
|
673
|
+
_: 1 /* STABLE */
|
|
674
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
675
|
+
_: 1 /* STABLE */
|
|
673
676
|
})) : (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
677
|
key: 1,
|
|
675
678
|
gutter: 10
|
|
@@ -677,15 +680,9 @@ const __default__ = {
|
|
|
677
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_col, {
|
|
678
681
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
679
682
|
}, {
|
|
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, {
|
|
683
|
+
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 */)]),
|
|
684
|
+
_: 1 /* STABLE */
|
|
685
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
689
686
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 11 : 8
|
|
690
687
|
}, {
|
|
691
688
|
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 +693,9 @@ const __default__ = {
|
|
|
696
693
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxExcavationDepth,
|
|
697
694
|
onChange: _cache[3] || (_cache[3] = $event => changeHeight()),
|
|
698
695
|
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, {
|
|
696
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
697
|
+
_: 1 /* STABLE */
|
|
698
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
708
699
|
span: 6,
|
|
709
700
|
style: {
|
|
710
701
|
"text-align": "end"
|
|
@@ -718,16 +709,10 @@ const __default__ = {
|
|
|
718
709
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxExcavationDepth,
|
|
719
710
|
"controls-position": "right",
|
|
720
711
|
onInput: _cache[6] || (_cache[6] = $event => changeHeight())
|
|
721
|
-
}, null, 8
|
|
722
|
-
/*
|
|
723
|
-
, ["modelValue", "min", "max"])]),
|
|
724
|
-
_: 1
|
|
725
|
-
/* STABLE */
|
|
726
|
-
|
|
712
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
713
|
+
_: 1 /* STABLE */
|
|
727
714
|
})]),
|
|
728
|
-
_: 1
|
|
729
|
-
/* STABLE */
|
|
730
|
-
|
|
715
|
+
_: 1 /* STABLE */
|
|
731
716
|
})) : (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
717
|
key: 2,
|
|
733
718
|
gutter: 10
|
|
@@ -735,15 +720,9 @@ const __default__ = {
|
|
|
735
720
|
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
721
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
737
722
|
}, {
|
|
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, {
|
|
723
|
+
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 */)]),
|
|
724
|
+
_: 1 /* STABLE */
|
|
725
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
747
726
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 11 : 8
|
|
748
727
|
}, {
|
|
749
728
|
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 +733,9 @@ const __default__ = {
|
|
|
754
733
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxModificationHeight,
|
|
755
734
|
onChange: _cache[8] || (_cache[8] = $event => changeModificationHeight()),
|
|
756
735
|
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, {
|
|
736
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
737
|
+
_: 1 /* STABLE */
|
|
738
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
766
739
|
span: 6,
|
|
767
740
|
style: {
|
|
768
741
|
"text-align": "end"
|
|
@@ -776,56 +749,31 @@ const __default__ = {
|
|
|
776
749
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxModificationHeight,
|
|
777
750
|
"controls-position": "right",
|
|
778
751
|
onInput: _cache[11] || (_cache[11] = $event => changeModificationHeight())
|
|
779
|
-
}, null, 8
|
|
780
|
-
/*
|
|
781
|
-
, ["modelValue", "min", "max"])]),
|
|
782
|
-
_: 1
|
|
783
|
-
/* STABLE */
|
|
784
|
-
|
|
752
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
753
|
+
_: 1 /* STABLE */
|
|
785
754
|
})]),
|
|
786
|
-
_: 1
|
|
787
|
-
/* STABLE */
|
|
788
|
-
|
|
755
|
+
_: 1 /* STABLE */
|
|
789
756
|
})) : (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
757
|
class: "kq3d-terrain-operation-analysis-tip"
|
|
791
758
|
}, {
|
|
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
|
-
|
|
759
|
+
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> ")]),
|
|
760
|
+
_: 1 /* STABLE */
|
|
798
761
|
}), (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
762
|
onClick: _cache[12] || (_cache[12] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startOperation(), ["stop"])),
|
|
800
763
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startOperation,
|
|
801
764
|
type: "primary"
|
|
802
765
|
}, {
|
|
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, {
|
|
766
|
+
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 */)]),
|
|
767
|
+
_: 1 /* STABLE */
|
|
768
|
+
}, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
812
769
|
onClick: _cache[13] || (_cache[13] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clear(), ["stop"])),
|
|
813
770
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
814
771
|
}, {
|
|
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
|
-
);
|
|
772
|
+
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 */)]),
|
|
773
|
+
_: 1 /* STABLE */
|
|
774
|
+
}, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
|
|
826
775
|
};
|
|
827
776
|
}
|
|
828
|
-
|
|
829
777
|
}));
|
|
830
778
|
;// CONCATENATED MODULE: ./src/webgl/terrainoperation/TerrainOperation.vue?vue&type=script&setup=true&lang=js
|
|
831
779
|
|
|
@@ -837,10 +785,13 @@ const __exports__ = TerrainOperationvue_type_script_setup_true_lang_js;
|
|
|
837
785
|
|
|
838
786
|
/* harmony default export */ var TerrainOperation = (__exports__);
|
|
839
787
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
840
|
-
var init_js_ = __webpack_require__(
|
|
788
|
+
var init_js_ = __webpack_require__(455);
|
|
841
789
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
842
790
|
;// CONCATENATED MODULE: ./src/webgl/terrainoperation/index.js
|
|
843
|
-
|
|
791
|
+
/*
|
|
792
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
793
|
+
* All rights reserved.
|
|
794
|
+
*/
|
|
844
795
|
|
|
845
796
|
|
|
846
797
|
|
|
@@ -849,8 +800,6 @@ TerrainOperation.install = (Vue, opts) => {
|
|
|
849
800
|
Vue.component(TerrainOperation.name, TerrainOperation);
|
|
850
801
|
};
|
|
851
802
|
|
|
852
|
-
|
|
853
|
-
}();
|
|
854
803
|
/******/ return __webpack_exports__;
|
|
855
804
|
/******/ })()
|
|
856
805
|
;
|