@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/modelFlat/index.js
CHANGED
|
@@ -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
|
+
}
|
|
100
138
|
|
|
101
|
-
|
|
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
|
+
|
|
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,80 +227,102 @@ 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
|
+
ModelFlatViewModel: function() { return /* reexport */ ModelFlatViewModel; },
|
|
183
236
|
"default": function() { return /* reexport */ ModelFlat; }
|
|
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/modelFlat/ModelFlatViewModel.js
|
|
195
254
|
|
|
196
|
-
//模型拾取逻辑类
|
|
197
|
-
|
|
198
|
-
class ModelFlatViewModel {
|
|
199
|
-
//三维viewer对象
|
|
200
|
-
//绘制管理对象
|
|
201
|
-
//全局参数
|
|
202
|
-
//绘制完成监听事件
|
|
203
|
-
// 平整对象
|
|
204
|
-
//平整辅助面数组
|
|
205
|
-
constructor(scenceView, viewModel) {
|
|
206
|
-
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
207
|
-
|
|
208
|
-
(0,defineProperty/* default */.Z)(this, "_drawManager", null);
|
|
209
|
-
|
|
210
|
-
(0,defineProperty/* default */.Z)(this, "_options", {});
|
|
211
255
|
|
|
212
|
-
(0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
|
|
213
256
|
|
|
214
|
-
(0,defineProperty/* default */.Z)(this, "_flatteningPolygonTex", null);
|
|
215
257
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
258
|
+
/*
|
|
259
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
260
|
+
* All rights reserved.
|
|
261
|
+
*/
|
|
262
|
+
//模型拾取逻辑类
|
|
219
263
|
|
|
264
|
+
class ModelFlatViewModel {
|
|
265
|
+
constructor(scenceView, viewModel) {
|
|
266
|
+
(0,defineProperty/* default */.A)(this, "_viewer", null);
|
|
267
|
+
//三维viewer对象
|
|
268
|
+
(0,defineProperty/* default */.A)(this, "_drawManager", null);
|
|
269
|
+
//绘制管理对象
|
|
270
|
+
(0,defineProperty/* default */.A)(this, "_options", {});
|
|
271
|
+
//全局参数
|
|
272
|
+
(0,defineProperty/* default */.A)(this, "_removeEventListener", null);
|
|
273
|
+
//绘制完成监听事件
|
|
274
|
+
(0,defineProperty/* default */.A)(this, "_measureHandler", null);
|
|
275
|
+
//测量三维对象
|
|
276
|
+
(0,defineProperty/* default */.A)(this, "_measureResult", null);
|
|
277
|
+
//测量结果
|
|
278
|
+
(0,defineProperty/* default */.A)(this, "_flatteningPolygonTex", null);
|
|
279
|
+
// 平整对象
|
|
280
|
+
(0,defineProperty/* default */.A)(this, "_assistPolygons", []);
|
|
281
|
+
//平整辅助面数组
|
|
282
|
+
(0,defineProperty/* default */.A)(this, "currentFlatPolygonIndex", -1);
|
|
283
|
+
(0,defineProperty/* default */.A)(this, "_language", {});
|
|
220
284
|
this._viewer = scenceView._viewer;
|
|
221
285
|
this._options = viewModel;
|
|
222
286
|
this._viewer.scene.globe.depthTestAgainstTerrain = true;
|
|
223
|
-
this.
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
287
|
+
this._language = scenceView._language;
|
|
288
|
+
this._drawManager = scenceView._drawManager;
|
|
289
|
+
//Create flattenning controller
|
|
290
|
+
var that = this;
|
|
291
|
+
if (scenceView.g_flattenedPolygonTexture) {
|
|
292
|
+
this._flatteningPolygonTex = scenceView.g_flattenedPolygonTexture;
|
|
293
|
+
} else {
|
|
294
|
+
let kq3dFlattenning = new window.Cesium.Kq3dFlattenning(this._viewer, {});
|
|
295
|
+
this._flatteningPolygonTex = kq3dFlattenning.createFlattenedPolygonTexture();
|
|
296
|
+
var models = this._viewer.scene.primitives._primitives;
|
|
297
|
+
for (let i = 0; i < models.length; i++) {
|
|
298
|
+
if (models[i] instanceof Cesium.Cesium3DTileset && models[i]._url) {
|
|
299
|
+
that._flatteningPolygonTex.attachTileset(models[i]);
|
|
300
|
+
}
|
|
234
301
|
}
|
|
235
302
|
}
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
303
|
+
// this._removeEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
304
|
+
// if (shape) {
|
|
305
|
+
// that._options.positions = shape._controlPoints;
|
|
306
|
+
// that.createFlat();
|
|
307
|
+
// that._drawManager.clear();
|
|
308
|
+
// }
|
|
309
|
+
// });
|
|
310
|
+
this._measureHandler = new Cesium.Kq3dMeasureHandler(this._viewer);
|
|
311
|
+
this._measureHandler.measureEvent.addEventListener(function (result) {
|
|
312
|
+
that._measureResult = result;
|
|
313
|
+
result.measureResult.label.show = false;
|
|
314
|
+
});
|
|
315
|
+
this._measureHandler.activeEvent.addEventListener(function (ret) {
|
|
316
|
+
if (ret == false) {
|
|
317
|
+
if (that._measureResult) {
|
|
318
|
+
that._options.positions = that._measureResult.positions;
|
|
319
|
+
that.createFlat();
|
|
320
|
+
that._measureResult.measureResult.destroy();
|
|
321
|
+
}
|
|
244
322
|
}
|
|
245
323
|
});
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
|
|
324
|
+
}
|
|
325
|
+
// 创建平整
|
|
249
326
|
createFlat() {
|
|
250
327
|
// 创建压平面
|
|
251
328
|
let curAssitPolygon = this._viewer.entities.add({
|
|
@@ -255,63 +332,51 @@ class ModelFlatViewModel {
|
|
|
255
332
|
},
|
|
256
333
|
show: this._options.flatteningShow ? true : false
|
|
257
334
|
});
|
|
258
|
-
|
|
259
335
|
this._assistPolygons.push(curAssitPolygon);
|
|
260
|
-
|
|
261
336
|
let myPolygon = window.Cesium.PolygonGeometry.fromPositions({
|
|
262
337
|
positions: this._options.positions,
|
|
263
338
|
height: this._options.flatHeight
|
|
264
339
|
});
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
340
|
+
this._flatteningPolygonTex && this._flatteningPolygonTex.addFlattenedPolygon(myPolygon);
|
|
341
|
+
}
|
|
342
|
+
// 获取平整数量
|
|
270
343
|
getFlatCount() {
|
|
271
344
|
return this._flatteningPolygonTex.getFlattenedPolygons().length;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
|
|
345
|
+
}
|
|
346
|
+
// 开始分析
|
|
275
347
|
start() {
|
|
276
348
|
// 判断是否添加了模型
|
|
277
349
|
var flag = false;
|
|
278
350
|
var models = this._viewer.scene.primitives._primitives;
|
|
279
|
-
|
|
280
351
|
for (let i = 0; i < models.length; i++) {
|
|
281
|
-
if (models[i]._url) {
|
|
352
|
+
if (models[i] instanceof Cesium.Cesium3DTileset && models[i]._url) {
|
|
353
|
+
models[i].flattenDiscard = false;
|
|
282
354
|
flag = true;
|
|
283
355
|
}
|
|
284
356
|
}
|
|
285
|
-
|
|
286
357
|
if (flag) {
|
|
287
|
-
this.remove();
|
|
288
|
-
|
|
289
|
-
this._drawManager.startDraw("polygon", {
|
|
290
|
-
clampToGround: true
|
|
291
|
-
});
|
|
358
|
+
this.remove(!this._options.showFlattenedPolygons);
|
|
359
|
+
this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
|
|
360
|
+
// this._drawManager.startDraw("polygon", { clampToGround: true });
|
|
292
361
|
} else {
|
|
293
|
-
(0,message/* default */.
|
|
294
|
-
message: "
|
|
362
|
+
(0,message/* default */.A)({
|
|
363
|
+
message: this._language["addModelTips"],
|
|
295
364
|
type: "warning"
|
|
296
365
|
});
|
|
297
366
|
}
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
|
|
367
|
+
}
|
|
368
|
+
// 切换高度重新计算
|
|
301
369
|
setHeight(val) {
|
|
302
370
|
this._options.flatHeight = Number(val);
|
|
303
|
-
|
|
304
|
-
if (this.currentFlatPolygonIndex === -1) {
|
|
371
|
+
if (this.currentFlatPolygonIndex == -1) {
|
|
305
372
|
this._flatteningPolygonTex.setFlattenedPolygonHeight(-1, Number(val));
|
|
306
373
|
} else {
|
|
307
374
|
this._flatteningPolygonTex.setFlattenedPolygonHeight(this.currentFlatPolygonIndex, Number(val));
|
|
308
375
|
}
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
|
|
376
|
+
}
|
|
377
|
+
// 切换辅助面显示
|
|
312
378
|
setFlatteningShow(val) {
|
|
313
379
|
this._options.flatteningShow = val;
|
|
314
|
-
|
|
315
380
|
if (val) {
|
|
316
381
|
this._assistPolygons.forEach(item => {
|
|
317
382
|
item.show = true;
|
|
@@ -321,43 +386,41 @@ class ModelFlatViewModel {
|
|
|
321
386
|
item.show = false;
|
|
322
387
|
});
|
|
323
388
|
}
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
|
|
389
|
+
}
|
|
390
|
+
// 设置平整实例
|
|
327
391
|
setCurrentFlatPolygonIndex(val) {
|
|
328
392
|
this.currentFlatPolygonIndex = val;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
remove() {
|
|
393
|
+
}
|
|
394
|
+
// 清除绘制
|
|
395
|
+
remove(bool) {
|
|
333
396
|
this._drawManager.stopDraw();
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
this._flatteningPolygonTex.removeAllFlattenedPolygon();
|
|
341
|
-
|
|
342
|
-
for (var i = 0; i < this._assistPolygons.length; i++) {
|
|
343
|
-
this._viewer.entities.remove(this._assistPolygons[i]);
|
|
397
|
+
if (bool) {
|
|
398
|
+
this._flatteningPolygonTex && this._flatteningPolygonTex.removeAllFlattenedPolygon();
|
|
399
|
+
for (var i = 0; i < this._assistPolygons.length; i++) {
|
|
400
|
+
this._viewer.entities.remove(this._assistPolygons[i]);
|
|
401
|
+
}
|
|
402
|
+
this._assistPolygons = [];
|
|
344
403
|
}
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
404
|
+
}
|
|
405
|
+
// 清除
|
|
406
|
+
clear() {
|
|
407
|
+
this.remove(true);
|
|
408
|
+
this._measureResult = null;
|
|
409
|
+
this._measureHandler.clear();
|
|
410
|
+
}
|
|
411
|
+
//销毁
|
|
350
412
|
destroy() {
|
|
351
413
|
this.clear();
|
|
414
|
+
this._measureHandler && this._measureHandler.destroy();
|
|
415
|
+
this._measureHandler = null;
|
|
352
416
|
}
|
|
353
|
-
|
|
354
417
|
}
|
|
355
418
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
356
|
-
var client_icons_vue_ = __webpack_require__(
|
|
419
|
+
var client_icons_vue_ = __webpack_require__(5698);
|
|
357
420
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
358
|
-
var util_ = __webpack_require__(
|
|
421
|
+
var util_ = __webpack_require__(2975);
|
|
359
422
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
360
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
423
|
+
var vue_i18n_cjs_js_ = __webpack_require__(3579);
|
|
361
424
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/modelFlat/ModelFlat.vue?vue&type=script&setup=true&lang=js
|
|
362
425
|
|
|
363
426
|
const _hoisted_1 = {
|
|
@@ -378,12 +441,14 @@ const _hoisted_4 = {
|
|
|
378
441
|
|
|
379
442
|
|
|
380
443
|
|
|
381
|
-
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
//语言
|
|
382
447
|
|
|
383
448
|
const __default__ = {
|
|
384
449
|
name: "Kq3dModelFlat"
|
|
385
450
|
};
|
|
386
|
-
/* harmony default export */ var ModelFlatvue_type_script_setup_true_lang_js = (
|
|
451
|
+
/* harmony default export */ var ModelFlatvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
387
452
|
props: {
|
|
388
453
|
// 设置参数
|
|
389
454
|
settingParams: {
|
|
@@ -394,7 +459,6 @@ const __default__ = {
|
|
|
394
459
|
type: Boolean,
|
|
395
460
|
default: true
|
|
396
461
|
},
|
|
397
|
-
|
|
398
462
|
/**
|
|
399
463
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
400
464
|
*/
|
|
@@ -424,14 +488,14 @@ const __default__ = {
|
|
|
424
488
|
default: true
|
|
425
489
|
}
|
|
426
490
|
},
|
|
427
|
-
|
|
428
491
|
setup(__props, {
|
|
429
492
|
expose: __expose
|
|
430
493
|
}) {
|
|
431
|
-
const props = __props;
|
|
432
494
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
433
|
-
let viewModel = null;
|
|
495
|
+
let viewModel = null;
|
|
434
496
|
|
|
497
|
+
// 获取组件传参
|
|
498
|
+
const props = __props;
|
|
435
499
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
436
500
|
flatHeight: props.settingParams && props.settingParams.excavationDepth || 10,
|
|
437
501
|
// 模型平整深度
|
|
@@ -439,15 +503,19 @@ const __default__ = {
|
|
|
439
503
|
// 模型平整深度范围最小值
|
|
440
504
|
maxFlatDepth: props.settingParams && props.settingParams.maxExcavationDepth || 100,
|
|
441
505
|
// 模型平整深度范围最大值
|
|
442
|
-
flatteningShow: props.settingParams && props.settingParams.maxExcavationDepth || true
|
|
443
|
-
|
|
444
|
-
|
|
506
|
+
flatteningShow: props.settingParams && props.settingParams.maxExcavationDepth || true,
|
|
507
|
+
// 压平面是否显示
|
|
508
|
+
showFlattenedPolygons: props.settingParams && props.settingParams.showFlattenedPolygons || false // 是否显示多个压平面分析结果
|
|
509
|
+
});
|
|
445
510
|
|
|
446
|
-
|
|
511
|
+
// 组件容器Ref
|
|
512
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
447
513
|
|
|
514
|
+
// 生成组件默认header
|
|
448
515
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
449
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
516
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
450
517
|
|
|
518
|
+
// 国际化
|
|
451
519
|
let {
|
|
452
520
|
locale,
|
|
453
521
|
messages
|
|
@@ -465,86 +533,66 @@ const __default__ = {
|
|
|
465
533
|
watchCreateHeaderTemp();
|
|
466
534
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
467
535
|
watchCreateHeaderTemp();
|
|
468
|
-
});
|
|
536
|
+
});
|
|
469
537
|
|
|
538
|
+
//父组件ScenceView初始化完成后执行
|
|
470
539
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
471
540
|
if (scenceView) {
|
|
472
|
-
viewModel = new ModelFlatViewModel(scenceView,
|
|
473
|
-
flatHeight: formItem.flatHeight,
|
|
474
|
-
flatteningShow: formItem.flatteningShow
|
|
475
|
-
});
|
|
476
|
-
setTimeout(() => {
|
|
477
|
-
setCurrentFlatPolygonIndex(0);
|
|
478
|
-
console.log(getFlatCount());
|
|
479
|
-
}, 1500);
|
|
541
|
+
viewModel = new ModelFlatViewModel(scenceView, formItem);
|
|
480
542
|
}
|
|
481
543
|
});
|
|
482
544
|
});
|
|
545
|
+
|
|
483
546
|
/**
|
|
484
547
|
* @description 监听header生成
|
|
485
548
|
*/
|
|
486
|
-
|
|
487
549
|
const watchCreateHeaderTemp = () => {
|
|
488
550
|
if (props.showHeaderTemp) {
|
|
489
551
|
// 生成headerTemp
|
|
490
552
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
491
553
|
}
|
|
492
|
-
};
|
|
493
|
-
|
|
494
|
-
|
|
554
|
+
};
|
|
555
|
+
// 调整平整深度
|
|
495
556
|
function changeHeight() {
|
|
496
557
|
viewModel && viewModel.setHeight(formItem.flatHeight);
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
|
|
558
|
+
}
|
|
559
|
+
// 调整压平面是否显示
|
|
500
560
|
function onChangeFlatteningShow() {
|
|
501
561
|
viewModel && viewModel.setFlatteningShow(formItem.flatteningShow);
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
|
|
562
|
+
}
|
|
563
|
+
// 获取平整分析个数
|
|
505
564
|
function getFlatCount() {
|
|
506
565
|
return viewModel && viewModel.getFlatCount();
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
|
|
566
|
+
}
|
|
567
|
+
// 设置操作平整实例
|
|
510
568
|
function setCurrentFlatPolygonIndex(val) {
|
|
511
569
|
viewModel && viewModel.setCurrentFlatPolygonIndex(val);
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
|
|
570
|
+
}
|
|
571
|
+
// 开始分析
|
|
515
572
|
function startOperation() {
|
|
516
573
|
viewModel && viewModel.start();
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
|
|
574
|
+
}
|
|
575
|
+
// 清除
|
|
520
576
|
function clear() {
|
|
521
577
|
viewModel && viewModel.clear();
|
|
522
|
-
}
|
|
523
|
-
|
|
578
|
+
}
|
|
524
579
|
|
|
580
|
+
// 销毁
|
|
525
581
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
526
582
|
viewModel && viewModel.destroy();
|
|
527
583
|
});
|
|
528
|
-
|
|
529
584
|
__expose({
|
|
530
585
|
getFlatCount,
|
|
531
586
|
setCurrentFlatPolygonIndex,
|
|
532
587
|
clear
|
|
533
588
|
});
|
|
534
|
-
|
|
535
589
|
return (_ctx, _cache) => {
|
|
536
590
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
537
|
-
|
|
538
591
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
539
|
-
|
|
540
592
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
541
|
-
|
|
542
593
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
543
|
-
|
|
544
594
|
const _component_kq_switch = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-switch");
|
|
545
|
-
|
|
546
595
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
547
|
-
|
|
548
596
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
549
597
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-model-flat", {
|
|
550
598
|
'kq-box-shadow': __props.showShadow
|
|
@@ -555,20 +603,14 @@ const __default__ = {
|
|
|
555
603
|
key: 0,
|
|
556
604
|
ref_key: "headerTempRef",
|
|
557
605
|
ref: headerTempRef
|
|
558
|
-
}, null, 512
|
|
559
|
-
/* NEED_PATCH */
|
|
560
|
-
)) : (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, {
|
|
606
|
+
}, 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, {
|
|
561
607
|
gutter: 10
|
|
562
608
|
}, {
|
|
563
609
|
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, {
|
|
564
610
|
span: 7
|
|
565
611
|
}, {
|
|
566
|
-
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).flatHeight), 1
|
|
567
|
-
/*
|
|
568
|
-
)]),
|
|
569
|
-
_: 1
|
|
570
|
-
/* STABLE */
|
|
571
|
-
|
|
612
|
+
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).flatHeight), 1 /* TEXT */)]),
|
|
613
|
+
_: 1 /* STABLE */
|
|
572
614
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
573
615
|
span: 11
|
|
574
616
|
}, {
|
|
@@ -580,12 +622,8 @@ const __default__ = {
|
|
|
580
622
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFlatDepth,
|
|
581
623
|
onChange: _cache[1] || (_cache[1] = $event => changeHeight()),
|
|
582
624
|
onClick: _cache[2] || (_cache[2] = $event => changeHeight())
|
|
583
|
-
}, null, 8
|
|
584
|
-
/*
|
|
585
|
-
, ["modelValue", "min", "max"])]),
|
|
586
|
-
_: 1
|
|
587
|
-
/* STABLE */
|
|
588
|
-
|
|
625
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
626
|
+
_: 1 /* STABLE */
|
|
589
627
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
590
628
|
span: 6,
|
|
591
629
|
style: {
|
|
@@ -600,28 +638,18 @@ const __default__ = {
|
|
|
600
638
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFlatDepth,
|
|
601
639
|
"controls-position": "right",
|
|
602
640
|
onInput: _cache[4] || (_cache[4] = $event => changeHeight())
|
|
603
|
-
}, null, 8
|
|
604
|
-
/*
|
|
605
|
-
, ["modelValue", "min", "max"])]),
|
|
606
|
-
_: 1
|
|
607
|
-
/* STABLE */
|
|
608
|
-
|
|
641
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
642
|
+
_: 1 /* STABLE */
|
|
609
643
|
})]),
|
|
610
|
-
_: 1
|
|
611
|
-
/* STABLE */
|
|
612
|
-
|
|
644
|
+
_: 1 /* STABLE */
|
|
613
645
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
614
646
|
gutter: 10
|
|
615
647
|
}, {
|
|
616
648
|
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, {
|
|
617
649
|
span: 7
|
|
618
650
|
}, {
|
|
619
|
-
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).flatteningShow), 1
|
|
620
|
-
/*
|
|
621
|
-
)]),
|
|
622
|
-
_: 1
|
|
623
|
-
/* STABLE */
|
|
624
|
-
|
|
651
|
+
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).flatteningShow), 1 /* TEXT */)]),
|
|
652
|
+
_: 1 /* STABLE */
|
|
625
653
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
626
654
|
span: 11
|
|
627
655
|
}, {
|
|
@@ -629,58 +657,31 @@ const __default__ = {
|
|
|
629
657
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).flatteningShow,
|
|
630
658
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).flatteningShow = $event),
|
|
631
659
|
onChange: onChangeFlatteningShow
|
|
632
|
-
}, null, 8
|
|
633
|
-
/*
|
|
634
|
-
, ["modelValue"])]),
|
|
635
|
-
_: 1
|
|
636
|
-
/* STABLE */
|
|
637
|
-
|
|
660
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
661
|
+
_: 1 /* STABLE */
|
|
638
662
|
})]),
|
|
639
|
-
_: 1
|
|
640
|
-
/* STABLE */
|
|
641
|
-
|
|
663
|
+
_: 1 /* STABLE */
|
|
642
664
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
643
665
|
class: "kq3d-model-flat-tip"
|
|
644
666
|
}, {
|
|
645
|
-
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
|
|
646
|
-
/*
|
|
647
|
-
)]),
|
|
648
|
-
_: 1
|
|
649
|
-
/* STABLE */
|
|
650
|
-
|
|
667
|
+
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 */)]),
|
|
668
|
+
_: 1 /* STABLE */
|
|
651
669
|
}), (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, {
|
|
652
670
|
onClick: _cache[6] || (_cache[6] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startOperation(), ["stop"])),
|
|
653
671
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startOperation,
|
|
654
672
|
type: "primary"
|
|
655
673
|
}, {
|
|
656
|
-
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
|
|
657
|
-
/*
|
|
658
|
-
|
|
659
|
-
_: 1
|
|
660
|
-
/* STABLE */
|
|
661
|
-
|
|
662
|
-
}, 8
|
|
663
|
-
/* PROPS */
|
|
664
|
-
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
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).startOperation), 1 /* TEXT */)]),
|
|
675
|
+
_: 1 /* STABLE */
|
|
676
|
+
}, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
665
677
|
onClick: _cache[7] || (_cache[7] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clear(), ["stop"])),
|
|
666
678
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
667
679
|
}, {
|
|
668
|
-
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
|
|
669
|
-
/*
|
|
670
|
-
|
|
671
|
-
_: 1
|
|
672
|
-
/* STABLE */
|
|
673
|
-
|
|
674
|
-
}, 8
|
|
675
|
-
/* PROPS */
|
|
676
|
-
, ["title"])])], 512
|
|
677
|
-
/* NEED_PATCH */
|
|
678
|
-
)], 2
|
|
679
|
-
/* CLASS */
|
|
680
|
-
);
|
|
680
|
+
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 */)]),
|
|
681
|
+
_: 1 /* STABLE */
|
|
682
|
+
}, 8 /* PROPS */, ["title"])])], 512 /* NEED_PATCH */)], 2 /* CLASS */);
|
|
681
683
|
};
|
|
682
684
|
}
|
|
683
|
-
|
|
684
685
|
}));
|
|
685
686
|
;// CONCATENATED MODULE: ./src/webgl/modelFlat/ModelFlat.vue?vue&type=script&setup=true&lang=js
|
|
686
687
|
|
|
@@ -692,10 +693,13 @@ const __exports__ = ModelFlatvue_type_script_setup_true_lang_js;
|
|
|
692
693
|
|
|
693
694
|
/* harmony default export */ var ModelFlat = (__exports__);
|
|
694
695
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
695
|
-
var init_js_ = __webpack_require__(
|
|
696
|
+
var init_js_ = __webpack_require__(455);
|
|
696
697
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
697
698
|
;// CONCATENATED MODULE: ./src/webgl/modelFlat/index.js
|
|
698
|
-
|
|
699
|
+
/*
|
|
700
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
701
|
+
* All rights reserved.
|
|
702
|
+
*/
|
|
699
703
|
|
|
700
704
|
|
|
701
705
|
|
|
@@ -704,8 +708,6 @@ ModelFlat.install = (Vue, opts) => {
|
|
|
704
708
|
Vue.component(ModelFlat.name, ModelFlat);
|
|
705
709
|
};
|
|
706
710
|
|
|
707
|
-
|
|
708
|
-
}();
|
|
709
711
|
/******/ return __webpack_exports__;
|
|
710
712
|
/******/ })()
|
|
711
713
|
;
|