@kq_npm/client3d_webgl_vue 4.5.29-beta → 4.5.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adddata/index.js +518 -262
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +201 -123
- package/baseterraingallery/index.js +123 -94
- package/baseterraingallery/style/baseterraingallery.css +1 -1
- package/boxclip/index.js +442 -249
- package/clientPrint/index.js +27088 -14116
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +243 -213
- package/compass/index.js +68 -74
- package/excavatefillanalysis/index.js +225 -143
- package/fixedzoomin/index.js +82 -72
- package/fixedzoomout/index.js +80 -71
- package/flight/index.js +371 -257
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +347 -199
- package/geologicalbodyanalysis/index.js +260 -166
- package/gpuspatialquery/index.js +359 -198
- package/hawkeye/index.js +100 -131
- package/headertemp/index.js +25 -14
- package/heatmap3d/index.js +678 -366
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +20310 -7159
- package/isolineanalysis/index.js +1202 -504
- package/light/index.js +494 -349
- package/limitheightanalysis/index.js +223 -159
- package/measure/index.js +353 -198
- package/modelFlat/index.js +204 -167
- package/modelexcavate/index.js +191 -130
- package/modelfilter/index.js +271 -179
- package/modelprofileanalysis/index.js +316 -206
- package/modelselect/index.js +147 -142
- package/package.json +1 -1
- package/particleeffect/index.js +403 -225
- package/planeclip/index.js +300 -198
- package/resetview/index.js +52 -66
- package/roller/index.js +372 -304
- package/scaneffect/index.js +537 -230
- package/sceneadvancedtoimage/index.js +358 -205
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -1
- package/sceneapp/index.js +27088 -14116
- package/sceneset/index.js +864 -350
- package/scenetohdimage/index.js +297 -159
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +27088 -14116
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +301 -257
- package/shadowanalysis/index.js +405 -217
- package/sightlineanalysis/index.js +271 -183
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +308 -160
- package/slopeanalysis/index.js +397 -227
- package/slopeaspectanalysis/index.js +485 -259
- package/statusbar/index.js +65 -88
- package/style.css +1 -1
- package/terrainoperation/index.js +237 -176
- package/terrainprofileanalysis/index.js +138 -120
- package/typhoontrac/index.js +970 -234
- package/typhoontrac/style/typhoontrac.css +1 -1
- package/underground/index.js +61 -70
- package/videofusion/index.js +488 -265
- package/videoproject/index.js +490 -271
- package/viewshedanalysis/index.js +255 -151
- package/weathereffect/index.js +317 -166
- package/windyslicing/index.js +1947 -0
- package/windyslicing/style/index.js +3 -0
- package/windyslicing/style/windyslicing.css +1 -0
- package/wireframesketch/index.js +142 -110
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
3
|
module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util"));
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
5
|
-
define(["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js", "@kq_npm/client_common_vue/_utils/util"], factory);
|
|
6
|
-
else
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
define("@kq_npm/client3d_webgl_vue", ["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js", "@kq_npm/client_common_vue/_utils/util"], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["@kq_npm/client3d_webgl_vue"] = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util"));
|
|
8
|
+
else
|
|
9
|
+
root["@kq_npm/client3d_webgl_vue"] = factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/init.js"], root["@kq_npm/client_common_vue/_utils/util"]);
|
|
10
10
|
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__7997__, __WEBPACK_EXTERNAL_MODULE__3458__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
@@ -25,10 +25,12 @@ return /******/ (function() { // webpackBootstrap
|
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
|
|
28
|
+
|
|
28
29
|
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
29
30
|
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
30
31
|
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
31
32
|
};
|
|
33
|
+
|
|
32
34
|
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
33
35
|
|
|
34
36
|
/***/ }),
|
|
@@ -40,27 +42,6 @@ module.exports = require("@kq_npm/client_icons_vue");
|
|
|
40
42
|
|
|
41
43
|
/***/ }),
|
|
42
44
|
|
|
43
|
-
/***/ 2118:
|
|
44
|
-
/***/ (function(module) {
|
|
45
|
-
|
|
46
|
-
module.exports = require("core-js/modules/es.array.push.js");
|
|
47
|
-
|
|
48
|
-
/***/ }),
|
|
49
|
-
|
|
50
|
-
/***/ 8470:
|
|
51
|
-
/***/ (function(module) {
|
|
52
|
-
|
|
53
|
-
module.exports = require("core-js/modules/esnext.iterator.constructor.js");
|
|
54
|
-
|
|
55
|
-
/***/ }),
|
|
56
|
-
|
|
57
|
-
/***/ 1058:
|
|
58
|
-
/***/ (function(module) {
|
|
59
|
-
|
|
60
|
-
module.exports = require("core-js/modules/esnext.iterator.for-each.js");
|
|
61
|
-
|
|
62
|
-
/***/ }),
|
|
63
|
-
|
|
64
45
|
/***/ 9389:
|
|
65
46
|
/***/ (function(module) {
|
|
66
47
|
|
|
@@ -103,59 +84,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
|
103
84
|
|
|
104
85
|
/***/ }),
|
|
105
86
|
|
|
106
|
-
/***/
|
|
87
|
+
/***/ 8270:
|
|
107
88
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
108
89
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
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.");
|
|
90
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
91
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
92
|
+
/* harmony export */ });
|
|
93
|
+
function _defineProperty(obj, key, value) {
|
|
94
|
+
if (key in obj) {
|
|
95
|
+
Object.defineProperty(obj, key, {
|
|
96
|
+
value: value,
|
|
97
|
+
enumerable: true,
|
|
98
|
+
configurable: true,
|
|
99
|
+
writable: true
|
|
100
|
+
});
|
|
101
|
+
} else {
|
|
102
|
+
obj[key] = value;
|
|
135
103
|
}
|
|
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
|
|
148
104
|
|
|
149
|
-
|
|
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;
|
|
105
|
+
return obj;
|
|
156
106
|
}
|
|
157
107
|
|
|
158
|
-
|
|
159
108
|
/***/ })
|
|
160
109
|
|
|
161
110
|
/******/ });
|
|
@@ -242,49 +191,50 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
242
191
|
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
|
|
243
192
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
244
193
|
var gis_utils_ = __webpack_require__(7135);
|
|
245
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
246
|
-
var defineProperty = __webpack_require__(
|
|
247
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
248
|
-
var es_array_push_js_ = __webpack_require__(2118);
|
|
249
|
-
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
250
|
-
var esnext_iterator_constructor_js_ = __webpack_require__(8470);
|
|
251
|
-
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
|
|
252
|
-
var esnext_iterator_for_each_js_ = __webpack_require__(1058);
|
|
194
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
195
|
+
var defineProperty = __webpack_require__(8270);
|
|
253
196
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
254
197
|
var message = __webpack_require__(1349);
|
|
255
198
|
;// CONCATENATED MODULE: ./src/webgl/terrainoperation/TerrainOperationViewModel.js
|
|
256
199
|
|
|
257
200
|
|
|
258
|
-
|
|
259
|
-
|
|
260
201
|
/*
|
|
261
202
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
262
203
|
* All rights reserved.
|
|
263
204
|
*/
|
|
264
|
-
|
|
265
205
|
//地形淹没分析逻辑类
|
|
266
206
|
|
|
267
207
|
class TerrainOperationViewModel {
|
|
208
|
+
//地形开挖三维对象
|
|
209
|
+
//地形平整三维对象
|
|
210
|
+
//绘制管理对象
|
|
211
|
+
//全局参数
|
|
212
|
+
//绘制的坐标点集合
|
|
213
|
+
//地形操作类型
|
|
214
|
+
//开挖深度
|
|
215
|
+
//平整高度
|
|
216
|
+
//绘制完成监听事件
|
|
268
217
|
constructor(scenceView, viewModel) {
|
|
269
218
|
(0,defineProperty/* default */.Z)(this, "_terrainexcavationext", null);
|
|
270
|
-
|
|
219
|
+
|
|
271
220
|
(0,defineProperty/* default */.Z)(this, "_terrainmodification", null);
|
|
272
|
-
|
|
221
|
+
|
|
273
222
|
(0,defineProperty/* default */.Z)(this, "_drawManager", null);
|
|
274
|
-
|
|
223
|
+
|
|
275
224
|
(0,defineProperty/* default */.Z)(this, "_globaOptions", {});
|
|
276
|
-
|
|
225
|
+
|
|
277
226
|
(0,defineProperty/* default */.Z)(this, "_positions", []);
|
|
278
|
-
|
|
227
|
+
|
|
279
228
|
(0,defineProperty/* default */.Z)(this, "_terrainStyle", null);
|
|
280
|
-
|
|
229
|
+
|
|
281
230
|
(0,defineProperty/* default */.Z)(this, "_height", 0);
|
|
282
|
-
|
|
231
|
+
|
|
283
232
|
(0,defineProperty/* default */.Z)(this, "_smoothHeight", 2000);
|
|
284
|
-
|
|
233
|
+
|
|
285
234
|
(0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
|
|
286
|
-
|
|
235
|
+
|
|
287
236
|
(0,defineProperty/* default */.Z)(this, "_language", {});
|
|
237
|
+
|
|
288
238
|
this._language = scenceView._language;
|
|
289
239
|
this._globaOptions.viewer = scenceView._viewer;
|
|
290
240
|
this._globaOptions.viewer.scene.logarithmicDepthBuffer = false;
|
|
@@ -297,8 +247,10 @@ class TerrainOperationViewModel {
|
|
|
297
247
|
this._removeEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
298
248
|
if (shape) {
|
|
299
249
|
that._globaOptions.positions = shape._controlPoints;
|
|
250
|
+
|
|
300
251
|
if (that._terrainStyle === 1) {
|
|
301
252
|
that._positions.push(shape._controlPoints);
|
|
253
|
+
|
|
302
254
|
if (that._terrainexcavationext) {
|
|
303
255
|
that.setTerrainExcavationAddPolygon();
|
|
304
256
|
} else {
|
|
@@ -313,13 +265,16 @@ class TerrainOperationViewModel {
|
|
|
313
265
|
this.createTerrainModification();
|
|
314
266
|
}
|
|
315
267
|
}
|
|
268
|
+
|
|
316
269
|
that._drawManager.clear();
|
|
317
270
|
}
|
|
318
271
|
});
|
|
319
|
-
}
|
|
320
|
-
|
|
272
|
+
} // 创建地形分析类
|
|
273
|
+
|
|
274
|
+
|
|
321
275
|
createTerrainExcavation(callback) {
|
|
322
276
|
var that = this;
|
|
277
|
+
|
|
323
278
|
this._globaOptions.viewer.terrainProvider.readyPromise.then(function () {
|
|
324
279
|
setTimeout(() => {
|
|
325
280
|
// 地形开挖
|
|
@@ -329,20 +284,24 @@ class TerrainOperationViewModel {
|
|
|
329
284
|
if (callback) callback();
|
|
330
285
|
}, 500);
|
|
331
286
|
});
|
|
332
|
-
}
|
|
333
|
-
|
|
287
|
+
} // 创建地形平整分析类
|
|
288
|
+
|
|
289
|
+
|
|
334
290
|
createTerrainModification(callback) {
|
|
335
291
|
var that = this;
|
|
292
|
+
|
|
336
293
|
this._globaOptions.viewer.terrainProvider.readyPromise.then(function () {
|
|
337
294
|
setTimeout(() => {
|
|
338
295
|
let heights = [];
|
|
339
296
|
let positions = [];
|
|
297
|
+
|
|
340
298
|
that._globaOptions.positions.forEach((item, index) => {
|
|
341
299
|
let cag = window.Cesium.Cartographic.fromCartesian(item);
|
|
342
300
|
positions.push(cag);
|
|
343
301
|
heights.push(cag.height);
|
|
344
|
-
});
|
|
345
|
-
|
|
302
|
+
}); // 地形平整
|
|
303
|
+
|
|
304
|
+
|
|
346
305
|
if (!that._terrainmodification) {
|
|
347
306
|
that._terrainmodification = new window.Cesium.Kq3dTerrainModification({
|
|
348
307
|
viewer: that._globaOptions.viewer,
|
|
@@ -354,36 +313,43 @@ class TerrainOperationViewModel {
|
|
|
354
313
|
that._terrainmodification.heights = heights;
|
|
355
314
|
that._terrainmodification.positions = positions;
|
|
356
315
|
}
|
|
316
|
+
|
|
357
317
|
that._terrainmodification._clippingPlanesEnabled = true;
|
|
358
318
|
if (callback) callback();
|
|
359
319
|
}, 500);
|
|
360
320
|
});
|
|
361
|
-
}
|
|
362
|
-
|
|
321
|
+
} // 地形开挖分析更新分析位置和高度
|
|
322
|
+
|
|
323
|
+
|
|
363
324
|
setTerrainExcavationAddPolygon() {
|
|
364
325
|
this._terrainexcavationext.addPolygon({
|
|
365
326
|
polygonArray: this._globaOptions.positions,
|
|
366
327
|
height: Number(this._height)
|
|
367
328
|
});
|
|
368
|
-
}
|
|
369
|
-
|
|
329
|
+
} // 地形平整执行分析
|
|
330
|
+
|
|
331
|
+
|
|
370
332
|
setTerrainModification() {
|
|
371
333
|
let heights = [];
|
|
372
334
|
let positions = [];
|
|
335
|
+
|
|
373
336
|
this._globaOptions.positions.forEach((item, index) => {
|
|
374
337
|
let cag = window.Cesium.Cartographic.fromCartesian(item);
|
|
375
338
|
positions.push(cag);
|
|
376
339
|
heights.push(cag.height);
|
|
377
340
|
});
|
|
341
|
+
|
|
378
342
|
this._terrainmodification.heights = heights;
|
|
379
343
|
this._terrainmodification.positions = positions;
|
|
380
|
-
}
|
|
381
|
-
|
|
344
|
+
} //开始分析
|
|
345
|
+
|
|
346
|
+
|
|
382
347
|
start() {
|
|
383
348
|
// 判断是否添加了地形
|
|
384
349
|
if (this._globaOptions.viewer.terrainProvider.availability) {
|
|
385
350
|
if (this._globaOptions.viewer.terrainProvider && !this._globaOptions.viewer.terrainProvider._heightmapStructure) {
|
|
386
351
|
this.clear();
|
|
352
|
+
|
|
387
353
|
this._drawManager.startDraw("polygon", {
|
|
388
354
|
clampToGround: true
|
|
389
355
|
});
|
|
@@ -399,22 +365,25 @@ class TerrainOperationViewModel {
|
|
|
399
365
|
type: "warning"
|
|
400
366
|
});
|
|
401
367
|
}
|
|
402
|
-
}
|
|
403
|
-
|
|
368
|
+
} //改变分析类型
|
|
369
|
+
|
|
370
|
+
|
|
404
371
|
setTerrainStyle(val) {
|
|
405
372
|
this._terrainStyle = val;
|
|
406
373
|
this.clear();
|
|
407
|
-
}
|
|
374
|
+
} // 设置开挖深度
|
|
375
|
+
|
|
408
376
|
|
|
409
|
-
// 设置开挖深度
|
|
410
377
|
setHeight(height) {
|
|
411
378
|
let that = this;
|
|
412
379
|
this._height = height;
|
|
380
|
+
|
|
413
381
|
if (this._terrainStyle === 0 && this._terrainexcavationext) {
|
|
414
382
|
this._terrainexcavationext && this._terrainexcavationext.destroy();
|
|
415
383
|
this._terrainexcavationext = new window.Cesium.Kq3dTerrainExcavationExt({
|
|
416
384
|
viewer: this._globaOptions.viewer
|
|
417
385
|
});
|
|
386
|
+
|
|
418
387
|
this._positions.forEach(item => {
|
|
419
388
|
if (that._terrainexcavationext) {
|
|
420
389
|
that._terrainexcavationext.addPolygon({
|
|
@@ -425,32 +394,39 @@ class TerrainOperationViewModel {
|
|
|
425
394
|
});
|
|
426
395
|
}
|
|
427
396
|
}
|
|
397
|
+
|
|
428
398
|
setModificationHeight(height) {
|
|
429
399
|
this._smoothHeight = Number(height);
|
|
430
400
|
if (this._terrainmodification) this._terrainmodification._height = this._smoothHeight;
|
|
431
|
-
}
|
|
432
|
-
|
|
401
|
+
} //清除全部结果
|
|
402
|
+
|
|
403
|
+
|
|
433
404
|
clear() {
|
|
434
|
-
this._drawManager.stopDraw();
|
|
435
|
-
|
|
405
|
+
this._drawManager.stopDraw(); // 销毁地形开挖
|
|
406
|
+
|
|
407
|
+
|
|
436
408
|
if (this._terrainexcavationext) {
|
|
437
409
|
this._terrainexcavationext.destroy();
|
|
410
|
+
|
|
438
411
|
this._terrainexcavationext = null;
|
|
439
412
|
this._positions = [];
|
|
440
|
-
}
|
|
441
|
-
|
|
413
|
+
} // 销毁地形平整
|
|
414
|
+
|
|
415
|
+
|
|
442
416
|
if (this._terrainmodification) {
|
|
443
417
|
this._terrainmodification && this._terrainmodification.remove();
|
|
444
418
|
this._terrainmodification = null;
|
|
445
419
|
}
|
|
446
|
-
}
|
|
447
|
-
|
|
420
|
+
} // 销毁
|
|
421
|
+
|
|
422
|
+
|
|
448
423
|
destroy() {
|
|
449
|
-
this.clear();
|
|
450
|
-
|
|
424
|
+
this.clear(); //移除监听事件
|
|
425
|
+
|
|
451
426
|
this._removeEventListener && this._removeEventListener();
|
|
452
427
|
this._removeEventListener = null;
|
|
453
428
|
}
|
|
429
|
+
|
|
454
430
|
}
|
|
455
431
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
456
432
|
var client_icons_vue_ = __webpack_require__(348);
|
|
@@ -458,7 +434,7 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
458
434
|
var util_ = __webpack_require__(3458);
|
|
459
435
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
460
436
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
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
|
|
437
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/terrainoperation/TerrainOperation.vue?vue&type=script&setup=true&lang=js
|
|
462
438
|
|
|
463
439
|
const _hoisted_1 = {
|
|
464
440
|
class: "kq3d-terrain-operation-analysis-box"
|
|
@@ -497,6 +473,7 @@ const __default__ = {
|
|
|
497
473
|
type: Boolean,
|
|
498
474
|
default: true
|
|
499
475
|
},
|
|
476
|
+
|
|
500
477
|
/**
|
|
501
478
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
502
479
|
*/
|
|
@@ -526,6 +503,7 @@ const __default__ = {
|
|
|
526
503
|
default: true
|
|
527
504
|
}
|
|
528
505
|
},
|
|
506
|
+
|
|
529
507
|
setup(__props, {
|
|
530
508
|
expose: __expose
|
|
531
509
|
}) {
|
|
@@ -534,9 +512,7 @@ const __default__ = {
|
|
|
534
512
|
proxy
|
|
535
513
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
536
514
|
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
537
|
-
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
|
|
538
|
-
|
|
539
|
-
// 获取组件传参
|
|
515
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]); // 获取组件传参
|
|
540
516
|
|
|
541
517
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
542
518
|
terrainStyle: props.settingParams && props.settingParams.terrainStyle || 1,
|
|
@@ -552,17 +528,15 @@ const __default__ = {
|
|
|
552
528
|
minModificationHeight: props.settingParams && props.settingParams.minModificationHeight || 100,
|
|
553
529
|
// 地形平整高度最小值
|
|
554
530
|
maxModificationHeight: props.settingParams && props.settingParams.maxModificationHeight || 8000 // 地形平整高度最大值
|
|
531
|
+
|
|
555
532
|
});
|
|
556
|
-
let viewModel = null;
|
|
533
|
+
let viewModel = null; // 组件容器Ref
|
|
557
534
|
|
|
558
|
-
//
|
|
559
|
-
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
535
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
560
536
|
|
|
561
|
-
// 生成组件默认header
|
|
562
537
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
563
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
538
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
564
539
|
|
|
565
|
-
// 国际化
|
|
566
540
|
let {
|
|
567
541
|
locale,
|
|
568
542
|
messages
|
|
@@ -585,11 +559,13 @@ const __default__ = {
|
|
|
585
559
|
});
|
|
586
560
|
});
|
|
587
561
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
562
|
+
|
|
588
563
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
589
564
|
if (scenceView) {
|
|
590
565
|
if (props.operationMode !== 0) {
|
|
591
566
|
formItem.terrainStyle = props.operationMode;
|
|
592
567
|
}
|
|
568
|
+
|
|
593
569
|
viewModel = new TerrainOperationViewModel(scenceView, {
|
|
594
570
|
terrainStyle: formItem.terrainStyle,
|
|
595
571
|
excavationDepth: formItem.excavationDepth,
|
|
@@ -598,42 +574,47 @@ const __default__ = {
|
|
|
598
574
|
}
|
|
599
575
|
});
|
|
600
576
|
});
|
|
601
|
-
|
|
602
577
|
/**
|
|
603
578
|
* @description 监听header生成
|
|
604
579
|
*/
|
|
580
|
+
|
|
605
581
|
const watchCreateHeaderTemp = () => {
|
|
606
582
|
if (props.showHeaderTemp) {
|
|
607
583
|
// 生成headerTemp
|
|
608
584
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
609
585
|
}
|
|
610
|
-
};
|
|
586
|
+
}; // 改变样式
|
|
587
|
+
|
|
611
588
|
|
|
612
|
-
// 改变样式
|
|
613
589
|
function changeStyle() {
|
|
614
590
|
viewModel && viewModel.setTerrainStyle(formItem.terrainStyle);
|
|
615
|
-
}
|
|
616
|
-
|
|
591
|
+
} // 调整开挖深度
|
|
592
|
+
|
|
593
|
+
|
|
617
594
|
function changeHeight() {
|
|
618
595
|
viewModel && viewModel.setHeight(formItem.excavationDepth);
|
|
619
|
-
}
|
|
620
|
-
|
|
596
|
+
} // 调整平整高度
|
|
597
|
+
|
|
598
|
+
|
|
621
599
|
function changeModificationHeight() {
|
|
622
600
|
viewModel && viewModel.setModificationHeight(formItem.modificationHeight);
|
|
623
|
-
}
|
|
624
|
-
|
|
601
|
+
} // 开始分析
|
|
602
|
+
|
|
603
|
+
|
|
625
604
|
function startOperation() {
|
|
626
605
|
viewModel && viewModel.start();
|
|
627
|
-
}
|
|
628
|
-
|
|
606
|
+
} // 清除
|
|
607
|
+
|
|
608
|
+
|
|
629
609
|
function clear() {
|
|
630
610
|
viewModel && viewModel.clear();
|
|
631
|
-
}
|
|
611
|
+
} // 销毁
|
|
612
|
+
|
|
632
613
|
|
|
633
|
-
// 销毁
|
|
634
614
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
635
615
|
viewModel && viewModel.destroy();
|
|
636
616
|
});
|
|
617
|
+
|
|
637
618
|
__expose({
|
|
638
619
|
changeStyle,
|
|
639
620
|
changeHeight,
|
|
@@ -641,13 +622,20 @@ const __default__ = {
|
|
|
641
622
|
startOperation,
|
|
642
623
|
clear
|
|
643
624
|
});
|
|
625
|
+
|
|
644
626
|
return (_ctx, _cache) => {
|
|
645
627
|
const _component_kq_radio = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio");
|
|
628
|
+
|
|
646
629
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
630
|
+
|
|
647
631
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
632
|
+
|
|
648
633
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
634
|
+
|
|
649
635
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
636
|
+
|
|
650
637
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
638
|
+
|
|
651
639
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
652
640
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-terrain-operation-analysis", {
|
|
653
641
|
'kq-box-shadow': __props.showShadow
|
|
@@ -658,7 +646,9 @@ const __default__ = {
|
|
|
658
646
|
key: 0,
|
|
659
647
|
ref_key: "headerTempRef",
|
|
660
648
|
ref: headerTempRef
|
|
661
|
-
}, null, 512
|
|
649
|
+
}, null, 512
|
|
650
|
+
/* NEED_PATCH */
|
|
651
|
+
)) : (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, {
|
|
662
652
|
key: 0
|
|
663
653
|
}, {
|
|
664
654
|
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, {
|
|
@@ -667,18 +657,32 @@ const __default__ = {
|
|
|
667
657
|
label: 1,
|
|
668
658
|
onChange: changeStyle
|
|
669
659
|
}, {
|
|
670
|
-
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
|
|
671
|
-
|
|
672
|
-
|
|
660
|
+
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
|
|
661
|
+
/* TEXT */
|
|
662
|
+
)]),
|
|
663
|
+
_: 1
|
|
664
|
+
/* STABLE */
|
|
665
|
+
|
|
666
|
+
}, 8
|
|
667
|
+
/* PROPS */
|
|
668
|
+
, ["modelValue"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
|
|
673
669
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle,
|
|
674
670
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle = $event),
|
|
675
671
|
label: 2,
|
|
676
672
|
onChange: changeStyle
|
|
677
673
|
}, {
|
|
678
|
-
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
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
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
|
|
675
|
+
/* TEXT */
|
|
676
|
+
)]),
|
|
677
|
+
_: 1
|
|
678
|
+
/* STABLE */
|
|
679
|
+
|
|
680
|
+
}, 8
|
|
681
|
+
/* PROPS */
|
|
682
|
+
, ["modelValue"])]),
|
|
683
|
+
_: 1
|
|
684
|
+
/* STABLE */
|
|
685
|
+
|
|
682
686
|
})) : (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, {
|
|
683
687
|
key: 1,
|
|
684
688
|
gutter: 10
|
|
@@ -686,9 +690,15 @@ const __default__ = {
|
|
|
686
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_col, {
|
|
687
691
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
688
692
|
}, {
|
|
689
|
-
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
|
|
690
|
-
|
|
691
|
-
|
|
693
|
+
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
|
|
694
|
+
/* TEXT */
|
|
695
|
+
)]),
|
|
696
|
+
_: 1
|
|
697
|
+
/* STABLE */
|
|
698
|
+
|
|
699
|
+
}, 8
|
|
700
|
+
/* PROPS */
|
|
701
|
+
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
692
702
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 11 : 8
|
|
693
703
|
}, {
|
|
694
704
|
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, {
|
|
@@ -699,9 +709,15 @@ const __default__ = {
|
|
|
699
709
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxExcavationDepth,
|
|
700
710
|
onChange: _cache[3] || (_cache[3] = $event => changeHeight()),
|
|
701
711
|
onClick: _cache[4] || (_cache[4] = $event => changeHeight())
|
|
702
|
-
}, null, 8
|
|
703
|
-
|
|
704
|
-
|
|
712
|
+
}, null, 8
|
|
713
|
+
/* PROPS */
|
|
714
|
+
, ["modelValue", "min", "max"])]),
|
|
715
|
+
_: 1
|
|
716
|
+
/* STABLE */
|
|
717
|
+
|
|
718
|
+
}, 8
|
|
719
|
+
/* PROPS */
|
|
720
|
+
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
705
721
|
span: 6,
|
|
706
722
|
style: {
|
|
707
723
|
"text-align": "end"
|
|
@@ -715,10 +731,16 @@ const __default__ = {
|
|
|
715
731
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxExcavationDepth,
|
|
716
732
|
"controls-position": "right",
|
|
717
733
|
onInput: _cache[6] || (_cache[6] = $event => changeHeight())
|
|
718
|
-
}, null, 8
|
|
719
|
-
|
|
734
|
+
}, null, 8
|
|
735
|
+
/* PROPS */
|
|
736
|
+
, ["modelValue", "min", "max"])]),
|
|
737
|
+
_: 1
|
|
738
|
+
/* STABLE */
|
|
739
|
+
|
|
720
740
|
})]),
|
|
721
|
-
_: 1
|
|
741
|
+
_: 1
|
|
742
|
+
/* STABLE */
|
|
743
|
+
|
|
722
744
|
})) : (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, {
|
|
723
745
|
key: 2,
|
|
724
746
|
gutter: 10
|
|
@@ -726,9 +748,15 @@ const __default__ = {
|
|
|
726
748
|
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, {
|
|
727
749
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
728
750
|
}, {
|
|
729
|
-
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
|
|
730
|
-
|
|
731
|
-
|
|
751
|
+
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
|
|
752
|
+
/* TEXT */
|
|
753
|
+
)]),
|
|
754
|
+
_: 1
|
|
755
|
+
/* STABLE */
|
|
756
|
+
|
|
757
|
+
}, 8
|
|
758
|
+
/* PROPS */
|
|
759
|
+
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
732
760
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 11 : 8
|
|
733
761
|
}, {
|
|
734
762
|
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, {
|
|
@@ -739,9 +767,15 @@ const __default__ = {
|
|
|
739
767
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxModificationHeight,
|
|
740
768
|
onChange: _cache[8] || (_cache[8] = $event => changeModificationHeight()),
|
|
741
769
|
onClick: _cache[9] || (_cache[9] = $event => changeModificationHeight())
|
|
742
|
-
}, null, 8
|
|
743
|
-
|
|
744
|
-
|
|
770
|
+
}, null, 8
|
|
771
|
+
/* PROPS */
|
|
772
|
+
, ["modelValue", "min", "max"])]),
|
|
773
|
+
_: 1
|
|
774
|
+
/* STABLE */
|
|
775
|
+
|
|
776
|
+
}, 8
|
|
777
|
+
/* PROPS */
|
|
778
|
+
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
745
779
|
span: 6,
|
|
746
780
|
style: {
|
|
747
781
|
"text-align": "end"
|
|
@@ -755,31 +789,56 @@ const __default__ = {
|
|
|
755
789
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxModificationHeight,
|
|
756
790
|
"controls-position": "right",
|
|
757
791
|
onInput: _cache[11] || (_cache[11] = $event => changeModificationHeight())
|
|
758
|
-
}, null, 8
|
|
759
|
-
|
|
792
|
+
}, null, 8
|
|
793
|
+
/* PROPS */
|
|
794
|
+
, ["modelValue", "min", "max"])]),
|
|
795
|
+
_: 1
|
|
796
|
+
/* STABLE */
|
|
797
|
+
|
|
760
798
|
})]),
|
|
761
|
-
_: 1
|
|
799
|
+
_: 1
|
|
800
|
+
/* STABLE */
|
|
801
|
+
|
|
762
802
|
})) : (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, {
|
|
763
803
|
class: "kq3d-terrain-operation-analysis-tip"
|
|
764
804
|
}, {
|
|
765
|
-
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
|
|
766
|
-
|
|
805
|
+
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
|
|
806
|
+
/* TEXT */
|
|
807
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <p v-if=\"formItem.terrainStyle === 2\">{{ \"(\" + language.reverseDrawPolygon + \")\" }}</p> ")]),
|
|
808
|
+
_: 1
|
|
809
|
+
/* STABLE */
|
|
810
|
+
|
|
767
811
|
}), (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, {
|
|
768
812
|
onClick: _cache[12] || (_cache[12] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startOperation(), ["stop"])),
|
|
769
813
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startOperation,
|
|
770
814
|
type: "primary"
|
|
771
815
|
}, {
|
|
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).startOperation), 1
|
|
773
|
-
|
|
774
|
-
|
|
816
|
+
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
|
|
817
|
+
/* TEXT */
|
|
818
|
+
)]),
|
|
819
|
+
_: 1
|
|
820
|
+
/* STABLE */
|
|
821
|
+
|
|
822
|
+
}, 8
|
|
823
|
+
/* PROPS */
|
|
824
|
+
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
775
825
|
onClick: _cache[13] || (_cache[13] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clear(), ["stop"])),
|
|
776
826
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
777
827
|
}, {
|
|
778
|
-
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
|
|
779
|
-
|
|
780
|
-
|
|
828
|
+
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
|
|
829
|
+
/* TEXT */
|
|
830
|
+
)]),
|
|
831
|
+
_: 1
|
|
832
|
+
/* STABLE */
|
|
833
|
+
|
|
834
|
+
}, 8
|
|
835
|
+
/* PROPS */
|
|
836
|
+
, ["title"])])])], 2
|
|
837
|
+
/* CLASS */
|
|
838
|
+
);
|
|
781
839
|
};
|
|
782
840
|
}
|
|
841
|
+
|
|
783
842
|
}));
|
|
784
843
|
;// CONCATENATED MODULE: ./src/webgl/terrainoperation/TerrainOperation.vue?vue&type=script&setup=true&lang=js
|
|
785
844
|
|
|
@@ -801,11 +860,13 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
|
801
860
|
|
|
802
861
|
|
|
803
862
|
|
|
863
|
+
|
|
804
864
|
TerrainOperation.install = (Vue, opts) => {
|
|
805
865
|
init_js_default()(Vue, opts);
|
|
806
866
|
Vue.component(TerrainOperation.name, TerrainOperation);
|
|
807
867
|
};
|
|
808
868
|
|
|
869
|
+
|
|
809
870
|
}();
|
|
810
871
|
/******/ return __webpack_exports__;
|
|
811
872
|
/******/ })()
|