@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
package/modelexcavate/index.js
CHANGED
|
@@ -7,100 +7,141 @@
|
|
|
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
|
+
/***/ 6363:
|
|
42
51
|
/***/ (function(module) {
|
|
43
52
|
|
|
44
53
|
module.exports = require("element-plus/dist/index.full.js");
|
|
45
54
|
|
|
46
55
|
/***/ }),
|
|
47
56
|
|
|
48
|
-
/***/
|
|
57
|
+
/***/ 3579:
|
|
49
58
|
/***/ (function(module) {
|
|
50
59
|
|
|
51
60
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
52
61
|
|
|
53
62
|
/***/ }),
|
|
54
63
|
|
|
55
|
-
/***/
|
|
64
|
+
/***/ 64:
|
|
56
65
|
/***/ (function(module) {
|
|
57
66
|
|
|
58
|
-
module.exports =
|
|
67
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
|
|
59
68
|
|
|
60
69
|
/***/ }),
|
|
61
70
|
|
|
62
|
-
/***/
|
|
71
|
+
/***/ 2975:
|
|
63
72
|
/***/ (function(module) {
|
|
64
73
|
|
|
65
|
-
module.exports =
|
|
74
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
|
|
66
75
|
|
|
67
76
|
/***/ }),
|
|
68
77
|
|
|
69
|
-
/***/
|
|
78
|
+
/***/ 455:
|
|
70
79
|
/***/ (function(module) {
|
|
71
80
|
|
|
72
|
-
module.exports =
|
|
81
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
|
|
73
82
|
|
|
74
83
|
/***/ }),
|
|
75
84
|
|
|
76
|
-
/***/
|
|
85
|
+
/***/ 154:
|
|
77
86
|
/***/ (function(module) {
|
|
78
87
|
|
|
79
|
-
module.exports =
|
|
88
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
|
|
80
89
|
|
|
81
90
|
/***/ }),
|
|
82
91
|
|
|
83
|
-
/***/
|
|
92
|
+
/***/ 6913:
|
|
84
93
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
85
94
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
function
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
95
|
+
|
|
96
|
+
// EXPORTS
|
|
97
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
98
|
+
A: function() { return /* binding */ _defineProperty; }
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
102
|
+
function _typeof(o) {
|
|
103
|
+
"@babel/helpers - typeof";
|
|
104
|
+
|
|
105
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
106
|
+
return typeof o;
|
|
107
|
+
} : function (o) {
|
|
108
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
109
|
+
}, _typeof(o);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
113
|
+
|
|
114
|
+
function toPrimitive(t, r) {
|
|
115
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
116
|
+
var e = t[Symbol.toPrimitive];
|
|
117
|
+
if (void 0 !== e) {
|
|
118
|
+
var i = e.call(t, r || "default");
|
|
119
|
+
if ("object" != _typeof(i)) return i;
|
|
120
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
99
121
|
}
|
|
122
|
+
return ("string" === r ? String : Number)(t);
|
|
123
|
+
}
|
|
100
124
|
|
|
101
|
-
|
|
125
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
function toPropertyKey(t) {
|
|
129
|
+
var i = toPrimitive(t, "string");
|
|
130
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
134
|
+
|
|
135
|
+
function _defineProperty(e, r, t) {
|
|
136
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
137
|
+
value: t,
|
|
138
|
+
enumerable: !0,
|
|
139
|
+
configurable: !0,
|
|
140
|
+
writable: !0
|
|
141
|
+
}) : e[r] = t, e;
|
|
102
142
|
}
|
|
103
143
|
|
|
144
|
+
|
|
104
145
|
/***/ })
|
|
105
146
|
|
|
106
147
|
/******/ });
|
|
@@ -172,124 +213,100 @@ function _defineProperty(obj, key, value) {
|
|
|
172
213
|
/******/
|
|
173
214
|
/************************************************************************/
|
|
174
215
|
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
216
|
// ESM COMPAT FLAG
|
|
178
217
|
__webpack_require__.r(__webpack_exports__);
|
|
179
218
|
|
|
180
219
|
// EXPORTS
|
|
181
220
|
__webpack_require__.d(__webpack_exports__, {
|
|
182
|
-
|
|
221
|
+
ModelExcavateViewModel: function() { return /* reexport */ ModelExcavateViewModel; },
|
|
183
222
|
"default": function() { return /* reexport */ ModelExcavate; }
|
|
184
223
|
});
|
|
185
224
|
|
|
186
225
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
187
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
226
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
188
227
|
// 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__(
|
|
228
|
+
var gis_utils_ = __webpack_require__(64);
|
|
229
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
230
|
+
var defineProperty = __webpack_require__(6913);
|
|
231
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
232
|
+
var es_array_push_js_ = __webpack_require__(2652);
|
|
192
233
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
193
|
-
var message = __webpack_require__(
|
|
234
|
+
var message = __webpack_require__(3275);
|
|
194
235
|
;// CONCATENATED MODULE: ./src/webgl/modelexcavate/ModelExcavateViewModel.js
|
|
195
236
|
|
|
237
|
+
|
|
238
|
+
/*
|
|
239
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
240
|
+
* All rights reserved.
|
|
241
|
+
*/
|
|
196
242
|
//模型开挖逻辑类
|
|
197
243
|
|
|
198
244
|
class ModelExcavateViewModel {
|
|
199
|
-
//三维viewer对象
|
|
200
|
-
//Box裁剪存储参数对象
|
|
201
|
-
//绘制管理对象
|
|
202
|
-
//绘制完成监听事件
|
|
203
|
-
//Kq3dWallPrimitive
|
|
204
245
|
constructor(scenceView, options) {
|
|
205
|
-
(0,defineProperty/* default */.
|
|
206
|
-
|
|
207
|
-
(0,defineProperty/* default */.
|
|
208
|
-
|
|
209
|
-
(0,defineProperty/* default */.
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
(0,defineProperty/* default */.
|
|
220
|
-
|
|
221
|
-
(0,defineProperty/* default */.
|
|
222
|
-
|
|
223
|
-
(0,defineProperty/* default */.
|
|
224
|
-
|
|
225
|
-
(0,defineProperty/* default */.
|
|
226
|
-
|
|
227
|
-
(0,defineProperty/* default */.
|
|
228
|
-
|
|
229
|
-
(0,defineProperty/* default */.
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
(0,defineProperty/* default */.Z)(this, "scratchCartesian6", new window.Cesium.Cartesian3());
|
|
234
|
-
|
|
235
|
-
(0,defineProperty/* default */.Z)(this, "scratchCartesian7", new window.Cesium.Cartesian3());
|
|
236
|
-
|
|
237
|
-
(0,defineProperty/* default */.Z)(this, "intervalId", null);
|
|
238
|
-
|
|
239
|
-
(0,defineProperty/* default */.Z)(this, "tileset1", null);
|
|
240
|
-
|
|
241
|
-
(0,defineProperty/* default */.Z)(this, "g_flattenedPolygonTexture", null);
|
|
242
|
-
|
|
246
|
+
(0,defineProperty/* default */.A)(this, "_viewer", null);
|
|
247
|
+
//三维viewer对象
|
|
248
|
+
(0,defineProperty/* default */.A)(this, "_options", {});
|
|
249
|
+
//Box裁剪存储参数对象
|
|
250
|
+
(0,defineProperty/* default */.A)(this, "_Kq3dTerrainExcavation", null);
|
|
251
|
+
(0,defineProperty/* default */.A)(this, "_removeEventListener", null);
|
|
252
|
+
//绘制完成监听事件
|
|
253
|
+
(0,defineProperty/* default */.A)(this, "_measureHandler", null);
|
|
254
|
+
//测量三维对象
|
|
255
|
+
(0,defineProperty/* default */.A)(this, "_measureResult", null);
|
|
256
|
+
//测量结果
|
|
257
|
+
(0,defineProperty/* default */.A)(this, "_wallPrimitive", void 0);
|
|
258
|
+
//Kq3dWallPrimitive
|
|
259
|
+
(0,defineProperty/* default */.A)(this, "entity0", null);
|
|
260
|
+
(0,defineProperty/* default */.A)(this, "_language", {});
|
|
261
|
+
(0,defineProperty/* default */.A)(this, "wall", null);
|
|
262
|
+
(0,defineProperty/* default */.A)(this, "ratio", 0.01);
|
|
263
|
+
(0,defineProperty/* default */.A)(this, "ii", 1);
|
|
264
|
+
(0,defineProperty/* default */.A)(this, "scratchCartesian2", new window.Cesium.Cartesian3());
|
|
265
|
+
(0,defineProperty/* default */.A)(this, "scratchCartesian3", new window.Cesium.Cartesian3());
|
|
266
|
+
(0,defineProperty/* default */.A)(this, "scratchCartesian4", new window.Cesium.Cartesian3());
|
|
267
|
+
(0,defineProperty/* default */.A)(this, "scratchCartesian5", new window.Cesium.Cartesian3());
|
|
268
|
+
(0,defineProperty/* default */.A)(this, "scratchCartesian6", new window.Cesium.Cartesian3());
|
|
269
|
+
(0,defineProperty/* default */.A)(this, "scratchCartesian7", new window.Cesium.Cartesian3());
|
|
270
|
+
(0,defineProperty/* default */.A)(this, "intervalId", null);
|
|
271
|
+
(0,defineProperty/* default */.A)(this, "g_flattenedPolygonTexture", null);
|
|
272
|
+
this._language = scenceView._language;
|
|
243
273
|
this._viewer = scenceView._viewer;
|
|
244
274
|
this._options = options;
|
|
245
|
-
this._drawManager = scenceView._drawManager;
|
|
246
275
|
this._viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
247
|
-
|
|
248
|
-
let kq3dFlattenning = new window.Cesium.Kq3dFlattenning(this._viewer, {});
|
|
249
|
-
this.g_flattenedPolygonTexture = kq3dFlattenning.createFlattenedPolygonTexture(); // this.tileset1 = this._viewer.scene.primitives.add(new Cesium.Cesium3DTileset({
|
|
250
|
-
// url: "http://support.kqgeo.com:18700/SampleData/3DTiles/Oblique/tileset.json"
|
|
251
|
-
// }));
|
|
252
|
-
// this.tileset1.readyPromise.then(function (tileset) {
|
|
253
|
-
// that._viewer.zoomTo(tileset);
|
|
254
|
-
// }).otherwise(function (error) {
|
|
255
|
-
// console.log(error);
|
|
256
|
-
// });
|
|
257
|
-
// this.tileset1.enableFlattenning = true;
|
|
258
|
-
// this.tileset1.flattenDiscard = true;
|
|
259
|
-
// this.g_flattenedPolygonTexture.attachTileset(this.tileset1);
|
|
260
|
-
|
|
261
276
|
var that = this;
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
277
|
+
if (scenceView.g_flattenedPolygonTexture) {
|
|
278
|
+
this.g_flattenedPolygonTexture = scenceView.g_flattenedPolygonTexture;
|
|
279
|
+
} else {
|
|
280
|
+
let kq3dFlattenning = new window.Cesium.Kq3dFlattenning(this._viewer, {});
|
|
281
|
+
this.g_flattenedPolygonTexture = kq3dFlattenning.createFlattenedPolygonTexture();
|
|
282
|
+
var models = this._viewer.scene.primitives._primitives;
|
|
283
|
+
for (let i = 0; i < models.length; i++) {
|
|
284
|
+
if (models[i] instanceof Cesium.Cesium3DTileset && models[i]._url) {
|
|
285
|
+
models[i].enableFlattenning = true;
|
|
286
|
+
models[i].flattenDiscard = true;
|
|
287
|
+
models[i].readyPromise.then(function (tileset) {
|
|
288
|
+
that.g_flattenedPolygonTexture.attachTileset(tileset);
|
|
289
|
+
});
|
|
290
|
+
}
|
|
271
291
|
}
|
|
272
292
|
}
|
|
273
|
-
|
|
274
|
-
this.
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
293
|
+
this._measureHandler = new Cesium.Kq3dMeasureHandler(this._viewer);
|
|
294
|
+
this._measureHandler.measureEvent.addEventListener(function (result) {
|
|
295
|
+
that._measureResult = result;
|
|
296
|
+
result.measureResult.label.show = false;
|
|
297
|
+
});
|
|
298
|
+
this._measureHandler.activeEvent.addEventListener(function (ret) {
|
|
299
|
+
if (ret == false) {
|
|
300
|
+
if (that._measureResult) {
|
|
301
|
+
that._options.positions = that._measureResult.positions;
|
|
279
302
|
that.createDynamicExcavationEffect();
|
|
280
|
-
|
|
281
|
-
(0,message/* default */.Z)({
|
|
282
|
-
message: "请至少绘制3个点!",
|
|
283
|
-
type: "warning"
|
|
284
|
-
});
|
|
303
|
+
that._measureResult.measureResult.destroy();
|
|
285
304
|
}
|
|
286
|
-
|
|
287
|
-
that._drawManager.clear();
|
|
288
305
|
}
|
|
289
306
|
});
|
|
290
|
-
}
|
|
291
|
-
|
|
307
|
+
}
|
|
292
308
|
|
|
309
|
+
// 创建开挖模型
|
|
293
310
|
createDynamicExcavationEffect() {
|
|
294
311
|
this._Kq3dTerrainExcavation && this._Kq3dTerrainExcavation.destroy();
|
|
295
312
|
this._Kq3dTerrainExcavation = new window.Cesium.Kq3dTerrainExcavation({
|
|
@@ -298,35 +315,30 @@ class ModelExcavateViewModel {
|
|
|
298
315
|
positions: this._options.positions,
|
|
299
316
|
hasWall: false
|
|
300
317
|
});
|
|
301
|
-
|
|
302
318
|
if (this._wallPrimitive) {
|
|
303
319
|
this._viewer.scene.primitives.remove(this._wallPrimitive);
|
|
304
|
-
|
|
305
320
|
this._wallPrimitive = undefined;
|
|
306
321
|
}
|
|
307
|
-
|
|
308
322
|
this._wallPrimitive = new window.Cesium.Kq3dWallPrimitive({
|
|
309
323
|
viewer: this._viewer,
|
|
310
324
|
height: this._options.height,
|
|
311
325
|
positions: this._options.positions,
|
|
312
326
|
elevationOnTerrain: false
|
|
313
327
|
});
|
|
314
|
-
|
|
315
328
|
this._viewer.scene.primitives.add(this._wallPrimitive);
|
|
316
|
-
|
|
317
329
|
let that = this;
|
|
318
|
-
|
|
319
330
|
this._wallPrimitive._readyEvent.addEventListener(function (eventType) {
|
|
320
331
|
if (eventType != "Ready") {
|
|
321
332
|
return;
|
|
322
333
|
}
|
|
323
|
-
|
|
324
334
|
that.g_flattenedPolygonTexture && that.g_flattenedPolygonTexture.removeAllFlattenedPolygon();
|
|
325
335
|
var myPolygon = window.Cesium.PolygonGeometry.fromPositions({
|
|
326
336
|
positions: that._options.positions,
|
|
327
337
|
height: window.Cesium.Cartographic.fromCartesian(that._options.positions[0]).height
|
|
328
338
|
});
|
|
329
|
-
that.g_flattenedPolygonTexture && that.g_flattenedPolygonTexture.addFlattenedPolygon(myPolygon);
|
|
339
|
+
that.g_flattenedPolygonTexture && that.g_flattenedPolygonTexture.addFlattenedPolygon(myPolygon);
|
|
340
|
+
|
|
341
|
+
// that.intervalId = setInterval(function () {
|
|
330
342
|
// if (that.ii > 100) {
|
|
331
343
|
// if (that.entity0) {
|
|
332
344
|
// that._viewer.scene.primitives.remove(that.entity0);
|
|
@@ -340,15 +352,20 @@ class ModelExcavateViewModel {
|
|
|
340
352
|
// that.ii = 0;
|
|
341
353
|
// return;
|
|
342
354
|
// }
|
|
355
|
+
|
|
343
356
|
// var carto2 = window.Cesium.Cartesian3.lerp(that._options.positions[0], that._options.positions[3], that.ratio * that.ii, that.scratchCartesian2);
|
|
344
357
|
// var carto3 = window.Cesium.Cartesian3.lerp(that._options.positions[1], that._options.positions[2], that.ratio * that.ii, that.scratchCartesian3);
|
|
358
|
+
|
|
345
359
|
// if (that.entity0) {
|
|
346
360
|
// that._viewer.scene.primitives.remove(that.entity0);
|
|
347
361
|
// that.entity0 = undefined;
|
|
348
362
|
// }
|
|
363
|
+
|
|
349
364
|
// that.entity0 = that.createPolyline([carto2, carto3]);
|
|
365
|
+
|
|
350
366
|
// that.ii++;
|
|
351
367
|
// that.g_flattenedPolygonTexture.removeAllFlattenedPolygon();
|
|
368
|
+
|
|
352
369
|
// var myPolygon = window.Cesium.PolygonGeometry.fromPositions({
|
|
353
370
|
// positions: [that._options.positions[0], that._options.positions[1], carto3, carto2],
|
|
354
371
|
// height: window.Cesium.Cartographic.fromCartesian(that._options.positions[0]).height
|
|
@@ -357,16 +374,12 @@ class ModelExcavateViewModel {
|
|
|
357
374
|
// }, 100);
|
|
358
375
|
});
|
|
359
376
|
}
|
|
360
|
-
|
|
361
377
|
createPolyline(positions) {
|
|
362
378
|
var material = window.Cesium.Material.fromType("Kq3dLightningMaterial", {});
|
|
363
|
-
|
|
364
379
|
if (this.wall) {
|
|
365
380
|
this._viewer.scene.primitives.remove(this.wall);
|
|
366
|
-
|
|
367
381
|
this.wall = undefined;
|
|
368
382
|
}
|
|
369
|
-
|
|
370
383
|
var geometryInstances = [];
|
|
371
384
|
geometryInstances.push(new window.Cesium.GeometryInstance({
|
|
372
385
|
geometry: new window.Cesium.WallGeometry({
|
|
@@ -382,9 +395,7 @@ class ModelExcavateViewModel {
|
|
|
382
395
|
material: material
|
|
383
396
|
})
|
|
384
397
|
});
|
|
385
|
-
|
|
386
398
|
this._viewer.scene.primitives.add(this.wall);
|
|
387
|
-
|
|
388
399
|
var geo = new window.Cesium.GroundPolylineGeometry({
|
|
389
400
|
positions: positions,
|
|
390
401
|
width: 40.0,
|
|
@@ -402,93 +413,77 @@ class ModelExcavateViewModel {
|
|
|
402
413
|
});
|
|
403
414
|
return this._viewer.scene.primitives.add(primitive);
|
|
404
415
|
}
|
|
405
|
-
|
|
406
416
|
start() {
|
|
407
417
|
// 判断是否添加了模型
|
|
408
418
|
var flag = false;
|
|
409
419
|
var that = this;
|
|
410
420
|
var models = this._viewer.scene.primitives._primitives;
|
|
411
|
-
|
|
412
421
|
for (let i = 0; i < models.length; i++) {
|
|
413
422
|
if (models[i] instanceof Cesium.Cesium3DTileset && models[i]._url) {
|
|
414
|
-
|
|
415
|
-
|
|
423
|
+
models[i].enableFlattenning = true;
|
|
424
|
+
models[i].flattenDiscard = true;
|
|
416
425
|
// models[i].readyPromise.then(function (tileset) {
|
|
417
426
|
// that.g_flattenedPolygonTexture.attachTileset(tileset);
|
|
418
427
|
// });
|
|
419
428
|
flag = true;
|
|
420
429
|
}
|
|
421
430
|
}
|
|
422
|
-
|
|
423
431
|
if (flag) {
|
|
424
432
|
this.remove();
|
|
425
|
-
|
|
426
|
-
this._drawManager.startDraw("polygon", {
|
|
427
|
-
clampToGround: true
|
|
428
|
-
});
|
|
433
|
+
this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
|
|
429
434
|
} else {
|
|
430
|
-
(0,message/* default */.
|
|
431
|
-
message: "
|
|
435
|
+
(0,message/* default */.A)({
|
|
436
|
+
message: this._language["addModelTips"],
|
|
432
437
|
type: "warning"
|
|
433
438
|
});
|
|
434
439
|
}
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
|
|
440
|
+
}
|
|
441
|
+
// 切换高度重新计算
|
|
438
442
|
setHeight(val) {
|
|
439
443
|
this._options.height = Number(val);
|
|
440
444
|
}
|
|
441
|
-
|
|
442
445
|
remove() {
|
|
443
446
|
// 销毁地形开挖
|
|
444
447
|
if (this.intervalId) {
|
|
445
448
|
clearInterval(this.intervalId);
|
|
446
449
|
this.ii = 0;
|
|
447
|
-
|
|
448
450
|
if (this.entity0) {
|
|
449
451
|
this._viewer.scene.primitives.remove(this.entity0);
|
|
450
|
-
|
|
451
452
|
this.entity0 = undefined;
|
|
452
453
|
}
|
|
453
|
-
|
|
454
454
|
if (this.wall) {
|
|
455
455
|
this._viewer.scene.primitives.remove(this.wall);
|
|
456
|
-
|
|
457
456
|
this.wall = undefined;
|
|
458
457
|
}
|
|
459
458
|
}
|
|
460
|
-
|
|
461
459
|
if (this._wallPrimitive) {
|
|
462
460
|
this._viewer.scene.primitives.remove(this._wallPrimitive);
|
|
463
|
-
|
|
464
461
|
this._wallPrimitive = undefined;
|
|
465
462
|
}
|
|
466
|
-
|
|
467
463
|
this._Kq3dTerrainExcavation && this._Kq3dTerrainExcavation.destroy();
|
|
468
464
|
this.g_flattenedPolygonTexture && this.g_flattenedPolygonTexture.removeAllFlattenedPolygon();
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
|
|
465
|
+
}
|
|
466
|
+
// 清除
|
|
472
467
|
clear() {
|
|
473
|
-
this.
|
|
474
|
-
|
|
468
|
+
this._measureResult = null;
|
|
469
|
+
this._measureHandler.clear();
|
|
475
470
|
this.remove();
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
|
|
471
|
+
}
|
|
472
|
+
//销毁
|
|
479
473
|
destroy() {
|
|
480
474
|
this.clear();
|
|
481
|
-
this.g_flattenedPolygonTexture && this.g_flattenedPolygonTexture.detachAllTileset();
|
|
482
|
-
this.g_flattenedPolygonTexture && this.g_flattenedPolygonTexture.destroy();
|
|
475
|
+
// this.g_flattenedPolygonTexture && this.g_flattenedPolygonTexture.detachAllTileset();
|
|
476
|
+
// this.g_flattenedPolygonTexture && this.g_flattenedPolygonTexture.destroy();
|
|
477
|
+
this._measureHandler && this._measureHandler.destroy();
|
|
478
|
+
this._measureHandler = null;
|
|
483
479
|
}
|
|
484
|
-
|
|
485
480
|
}
|
|
486
481
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
487
|
-
var client_icons_vue_ = __webpack_require__(
|
|
482
|
+
var client_icons_vue_ = __webpack_require__(5698);
|
|
488
483
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
489
|
-
var util_ = __webpack_require__(
|
|
484
|
+
var util_ = __webpack_require__(2975);
|
|
490
485
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
491
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
486
|
+
var vue_i18n_cjs_js_ = __webpack_require__(3579);
|
|
492
487
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/modelexcavate/ModelExcavate.vue?vue&type=script&setup=true&lang=js
|
|
493
488
|
|
|
494
489
|
const _hoisted_1 = {
|
|
@@ -506,12 +501,13 @@ const _hoisted_3 = {
|
|
|
506
501
|
|
|
507
502
|
|
|
508
503
|
|
|
509
|
-
|
|
504
|
+
|
|
505
|
+
//语言
|
|
510
506
|
|
|
511
507
|
const __default__ = {
|
|
512
508
|
name: "Kq3dModelExcavate"
|
|
513
509
|
};
|
|
514
|
-
/* harmony default export */ var ModelExcavatevue_type_script_setup_true_lang_js = (
|
|
510
|
+
/* harmony default export */ var ModelExcavatevue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
515
511
|
props: {
|
|
516
512
|
//指定组件绑定的viewer对象的div的id
|
|
517
513
|
mapTarget: String,
|
|
@@ -524,7 +520,6 @@ const __default__ = {
|
|
|
524
520
|
type: Boolean,
|
|
525
521
|
default: true
|
|
526
522
|
},
|
|
527
|
-
|
|
528
523
|
/**
|
|
529
524
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
530
525
|
*/
|
|
@@ -554,29 +549,31 @@ const __default__ = {
|
|
|
554
549
|
default: true
|
|
555
550
|
}
|
|
556
551
|
},
|
|
557
|
-
|
|
558
552
|
setup(__props, {
|
|
559
553
|
expose: __expose
|
|
560
554
|
}) {
|
|
561
|
-
const props = __props;
|
|
562
555
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
563
556
|
let viewModel = null;
|
|
564
|
-
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
557
|
+
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
565
558
|
|
|
559
|
+
// 获取组件传参
|
|
560
|
+
const props = __props;
|
|
566
561
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
567
562
|
excavationDepth: props.settingParams && props.settingParams.excavationDepth || 20,
|
|
568
563
|
// 地形开挖深度
|
|
569
564
|
minExcavationDepth: props.settingParams && props.settingParams.minExcavationDepth || 0,
|
|
570
565
|
// 地形开挖深度范围最小值
|
|
571
566
|
maxExcavationDepth: props.settingParams && props.settingParams.maxExcavationDepth || 100 // 地形开挖深度范围最大值
|
|
567
|
+
});
|
|
572
568
|
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
569
|
+
// 组件容器Ref
|
|
570
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
576
571
|
|
|
572
|
+
// 生成组件默认header
|
|
577
573
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
578
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
574
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
579
575
|
|
|
576
|
+
// 国际化
|
|
580
577
|
let {
|
|
581
578
|
locale,
|
|
582
579
|
messages
|
|
@@ -594,8 +591,9 @@ const __default__ = {
|
|
|
594
591
|
watchCreateHeaderTemp();
|
|
595
592
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
596
593
|
watchCreateHeaderTemp();
|
|
597
|
-
});
|
|
594
|
+
});
|
|
598
595
|
|
|
596
|
+
//父组件ScenceView初始化完成后执行
|
|
599
597
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
600
598
|
if (scenceView) {
|
|
601
599
|
viewModel = new ModelExcavateViewModel(scenceView, {
|
|
@@ -605,52 +603,42 @@ const __default__ = {
|
|
|
605
603
|
}
|
|
606
604
|
});
|
|
607
605
|
});
|
|
606
|
+
|
|
608
607
|
/**
|
|
609
608
|
* @description 监听header生成
|
|
610
609
|
*/
|
|
611
|
-
|
|
612
610
|
const watchCreateHeaderTemp = () => {
|
|
613
611
|
if (props.showHeaderTemp) {
|
|
614
612
|
// 生成headerTemp
|
|
615
613
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
616
614
|
}
|
|
617
|
-
};
|
|
618
|
-
|
|
619
|
-
|
|
615
|
+
};
|
|
616
|
+
// 调整开挖深度
|
|
620
617
|
function changeHeight() {
|
|
621
618
|
viewModel && viewModel.setHeight(formItem.excavationDepth);
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
|
|
619
|
+
}
|
|
620
|
+
// 开始分析
|
|
625
621
|
function startOperation() {
|
|
626
622
|
viewModel && viewModel.start();
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
|
|
623
|
+
}
|
|
624
|
+
// 清除
|
|
630
625
|
function clear() {
|
|
631
626
|
viewModel && viewModel.clear();
|
|
632
|
-
}
|
|
633
|
-
|
|
627
|
+
}
|
|
634
628
|
|
|
629
|
+
// 销毁
|
|
635
630
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
636
631
|
viewModel && viewModel.destroy();
|
|
637
632
|
});
|
|
638
|
-
|
|
639
633
|
__expose({
|
|
640
634
|
clear
|
|
641
635
|
});
|
|
642
|
-
|
|
643
636
|
return (_ctx, _cache) => {
|
|
644
637
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
645
|
-
|
|
646
638
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
647
|
-
|
|
648
639
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
649
|
-
|
|
650
640
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
651
|
-
|
|
652
641
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
653
|
-
|
|
654
642
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
655
643
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-model-excavate", {
|
|
656
644
|
'kq-box-shadow': __props.showShadow
|
|
@@ -661,23 +649,15 @@ const __default__ = {
|
|
|
661
649
|
key: 0,
|
|
662
650
|
ref_key: "headerTempRef",
|
|
663
651
|
ref: headerTempRef
|
|
664
|
-
}, null, 512
|
|
665
|
-
/* NEED_PATCH */
|
|
666
|
-
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
652
|
+
}, null, 512 /* NEED_PATCH */)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
667
653
|
gutter: 10
|
|
668
654
|
}, {
|
|
669
655
|
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, {
|
|
670
656
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
671
657
|
}, {
|
|
672
|
-
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
|
|
673
|
-
/*
|
|
674
|
-
|
|
675
|
-
_: 1
|
|
676
|
-
/* STABLE */
|
|
677
|
-
|
|
678
|
-
}, 8
|
|
679
|
-
/* PROPS */
|
|
680
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
658
|
+
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 */)]),
|
|
659
|
+
_: 1 /* STABLE */
|
|
660
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
681
661
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 11 : 8
|
|
682
662
|
}, {
|
|
683
663
|
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, {
|
|
@@ -688,15 +668,9 @@ const __default__ = {
|
|
|
688
668
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxExcavationDepth,
|
|
689
669
|
onChange: _cache[1] || (_cache[1] = $event => changeHeight()),
|
|
690
670
|
onClick: _cache[2] || (_cache[2] = $event => changeHeight())
|
|
691
|
-
}, null, 8
|
|
692
|
-
/*
|
|
693
|
-
|
|
694
|
-
_: 1
|
|
695
|
-
/* STABLE */
|
|
696
|
-
|
|
697
|
-
}, 8
|
|
698
|
-
/* PROPS */
|
|
699
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
671
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
672
|
+
_: 1 /* STABLE */
|
|
673
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
700
674
|
span: 6,
|
|
701
675
|
style: {
|
|
702
676
|
"text-align": "end"
|
|
@@ -710,58 +684,31 @@ const __default__ = {
|
|
|
710
684
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxExcavationDepth,
|
|
711
685
|
"controls-position": "right",
|
|
712
686
|
onInput: _cache[4] || (_cache[4] = $event => changeHeight())
|
|
713
|
-
}, null, 8
|
|
714
|
-
/*
|
|
715
|
-
, ["modelValue", "min", "max"])]),
|
|
716
|
-
_: 1
|
|
717
|
-
/* STABLE */
|
|
718
|
-
|
|
687
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
688
|
+
_: 1 /* STABLE */
|
|
719
689
|
})]),
|
|
720
|
-
_: 1
|
|
721
|
-
/* STABLE */
|
|
722
|
-
|
|
690
|
+
_: 1 /* STABLE */
|
|
723
691
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
724
692
|
class: "kq3d-model-excavate-tip"
|
|
725
693
|
}, {
|
|
726
|
-
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
|
|
727
|
-
/*
|
|
728
|
-
)]),
|
|
729
|
-
_: 1
|
|
730
|
-
/* STABLE */
|
|
731
|
-
|
|
694
|
+
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 */)]),
|
|
695
|
+
_: 1 /* STABLE */
|
|
732
696
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
733
697
|
onClick: _cache[5] || (_cache[5] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startOperation(), ["stop"])),
|
|
734
698
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startOperation,
|
|
735
699
|
type: "primary"
|
|
736
700
|
}, {
|
|
737
|
-
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
|
|
738
|
-
/*
|
|
739
|
-
|
|
740
|
-
_: 1
|
|
741
|
-
/* STABLE */
|
|
742
|
-
|
|
743
|
-
}, 8
|
|
744
|
-
/* PROPS */
|
|
745
|
-
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
701
|
+
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 */)]),
|
|
702
|
+
_: 1 /* STABLE */
|
|
703
|
+
}, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
746
704
|
onClick: _cache[6] || (_cache[6] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clear(), ["stop"])),
|
|
747
705
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
748
706
|
}, {
|
|
749
|
-
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
|
|
750
|
-
/*
|
|
751
|
-
|
|
752
|
-
_: 1
|
|
753
|
-
/* STABLE */
|
|
754
|
-
|
|
755
|
-
}, 8
|
|
756
|
-
/* PROPS */
|
|
757
|
-
, ["title"])])], 512
|
|
758
|
-
/* NEED_PATCH */
|
|
759
|
-
)], 2
|
|
760
|
-
/* CLASS */
|
|
761
|
-
);
|
|
707
|
+
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 */)]),
|
|
708
|
+
_: 1 /* STABLE */
|
|
709
|
+
}, 8 /* PROPS */, ["title"])])], 512 /* NEED_PATCH */)], 2 /* CLASS */);
|
|
762
710
|
};
|
|
763
711
|
}
|
|
764
|
-
|
|
765
712
|
}));
|
|
766
713
|
;// CONCATENATED MODULE: ./src/webgl/modelexcavate/ModelExcavate.vue?vue&type=script&setup=true&lang=js
|
|
767
714
|
|
|
@@ -773,10 +720,13 @@ const __exports__ = ModelExcavatevue_type_script_setup_true_lang_js;
|
|
|
773
720
|
|
|
774
721
|
/* harmony default export */ var ModelExcavate = (__exports__);
|
|
775
722
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
776
|
-
var init_js_ = __webpack_require__(
|
|
723
|
+
var init_js_ = __webpack_require__(455);
|
|
777
724
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
778
725
|
;// CONCATENATED MODULE: ./src/webgl/modelexcavate/index.js
|
|
779
|
-
|
|
726
|
+
/*
|
|
727
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
728
|
+
* All rights reserved.
|
|
729
|
+
*/
|
|
780
730
|
|
|
781
731
|
|
|
782
732
|
|
|
@@ -785,8 +735,6 @@ ModelExcavate.install = (Vue, opts) => {
|
|
|
785
735
|
Vue.component(ModelExcavate.name, ModelExcavate);
|
|
786
736
|
};
|
|
787
737
|
|
|
788
|
-
|
|
789
|
-
}();
|
|
790
738
|
/******/ return __webpack_exports__;
|
|
791
739
|
/******/ })()
|
|
792
740
|
;
|