@kq_npm/client3d_webgl_vue 4.0.5-beta → 4.0.7-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 +114 -198
- package/aspectanalysis/index.js +23 -25
- package/baseterraingallery/index.js +7 -8
- package/boxclip/index.js +23 -25
- package/clientPrint/index.js +4 -6
- package/comparemap/index.js +51 -22
- package/compass/index.js +4 -4
- package/excavatefillanalysis/index.js +23 -25
- package/fixedzoomin/index.js +4 -4
- package/fixedzoomout/index.js +4 -4
- package/flight/index.js +25 -27
- package/floodanalysis/index.js +23 -27
- package/geologicalbodyanalysis/index.js +900 -0
- package/geologicalbodyanalysis/style/geologicalbodyanalysis.css +1 -0
- package/geologicalbodyanalysis/style/index.js +3 -0
- package/gpuspatialquery/index.js +25 -25
- package/hawkeye/index.js +7 -8
- package/headertemp/index.js +4 -5
- package/index.js +21021 -14725
- package/isolineanalysis/index.js +22 -24
- package/light/index.js +1067 -0
- package/light/style/index.js +3 -0
- package/light/style/light.css +1 -0
- package/limitheightanalysis/index.js +751 -0
- package/limitheightanalysis/style/index.js +3 -0
- package/limitheightanalysis/style/limitheightanalysis.css +1 -0
- package/measure/index.js +46 -38
- package/modelFlat/index.js +483 -0
- package/modelFlat/style/index.js +3 -0
- package/modelFlat/style/modelFlat.css +1 -0
- package/modelfilter/index.js +296 -336
- package/modelfilter/style/modelfilter.css +1 -1
- package/modelprofileanalysis/index.js +7 -8
- package/modelselect/index.js +20 -157
- package/package.json +1 -1
- package/particleeffect/index.js +6 -142
- package/planeclip/index.js +23 -25
- package/resetview/index.js +4 -4
- package/roller/index.js +7 -8
- package/scaneffect/index.js +1730 -0
- package/scaneffect/style/index.js +3 -0
- package/scaneffect/style/scaneffect.css +1 -0
- package/scenceview/index.js +13823 -7365
- package/sceneset/index.js +2097 -0
- package/sceneset/style/index.js +3 -0
- package/sceneset/style/sceneset.css +1 -0
- package/screenshot/index.js +7 -8
- package/shadowanalysis/index.js +20 -158
- package/sightlineanalysis/index.js +26 -19
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +23 -25
- package/slopeanalysis/index.js +22 -24
- package/statusbar/index.js +4 -4
- package/style.css +1 -1
- package/terrainoperation/index.js +20 -157
- package/terrainprofileanalysis/index.js +620 -0
- package/terrainprofileanalysis/style/index.js +3 -0
- package/terrainprofileanalysis/style/terrainprofileanalysis.css +1 -0
- package/underground/index.js +7 -8
- package/videofusion/index.js +23 -35
- package/videoproject/index.js +23 -35
- package/viewshedanalysis/index.js +4 -5
- package/weathereffect/index.js +6 -142
- package/wireframesketch/index.js +521 -0
- package/wireframesketch/style/index.js +3 -0
- package/wireframesketch/style/wireframesketch.css +1 -0
|
@@ -0,0 +1,900 @@
|
|
|
1
|
+
/******/ (function() { // webpackBootstrap
|
|
2
|
+
/******/ "use strict";
|
|
3
|
+
/******/ var __webpack_modules__ = ({
|
|
4
|
+
|
|
5
|
+
/***/ 1349:
|
|
6
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
|
+
|
|
8
|
+
/* harmony import */ var element_plus_es__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2442);
|
|
9
|
+
/* harmony import */ var element_plus_es__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_es__WEBPACK_IMPORTED_MODULE_0__);
|
|
10
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5406);
|
|
11
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
element_plus_es__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
16
|
+
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
17
|
+
Vue.component("KqMessage", element_plus_es__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_es__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
21
|
+
|
|
22
|
+
/***/ }),
|
|
23
|
+
|
|
24
|
+
/***/ 348:
|
|
25
|
+
/***/ (function(module) {
|
|
26
|
+
|
|
27
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
28
|
+
|
|
29
|
+
/***/ }),
|
|
30
|
+
|
|
31
|
+
/***/ 2442:
|
|
32
|
+
/***/ (function(module) {
|
|
33
|
+
|
|
34
|
+
module.exports = require("element-plus/es");
|
|
35
|
+
|
|
36
|
+
/***/ }),
|
|
37
|
+
|
|
38
|
+
/***/ 7080:
|
|
39
|
+
/***/ (function(module) {
|
|
40
|
+
|
|
41
|
+
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
42
|
+
|
|
43
|
+
/***/ }),
|
|
44
|
+
|
|
45
|
+
/***/ 826:
|
|
46
|
+
/***/ (function(module) {
|
|
47
|
+
|
|
48
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
49
|
+
|
|
50
|
+
/***/ }),
|
|
51
|
+
|
|
52
|
+
/***/ 9519:
|
|
53
|
+
/***/ (function(module) {
|
|
54
|
+
|
|
55
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/util");
|
|
56
|
+
|
|
57
|
+
/***/ }),
|
|
58
|
+
|
|
59
|
+
/***/ 5406:
|
|
60
|
+
/***/ (function(module) {
|
|
61
|
+
|
|
62
|
+
module.exports = require("@kq_npm/client_common_vue/init.js");
|
|
63
|
+
|
|
64
|
+
/***/ }),
|
|
65
|
+
|
|
66
|
+
/***/ 637:
|
|
67
|
+
/***/ (function(module) {
|
|
68
|
+
|
|
69
|
+
module.exports = require("vue");
|
|
70
|
+
|
|
71
|
+
/***/ }),
|
|
72
|
+
|
|
73
|
+
/***/ 8270:
|
|
74
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
75
|
+
|
|
76
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
77
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
78
|
+
/* harmony export */ });
|
|
79
|
+
function _defineProperty(obj, key, value) {
|
|
80
|
+
if (key in obj) {
|
|
81
|
+
Object.defineProperty(obj, key, {
|
|
82
|
+
value: value,
|
|
83
|
+
enumerable: true,
|
|
84
|
+
configurable: true,
|
|
85
|
+
writable: true
|
|
86
|
+
});
|
|
87
|
+
} else {
|
|
88
|
+
obj[key] = value;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
return obj;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/***/ })
|
|
95
|
+
|
|
96
|
+
/******/ });
|
|
97
|
+
/************************************************************************/
|
|
98
|
+
/******/ // The module cache
|
|
99
|
+
/******/ var __webpack_module_cache__ = {};
|
|
100
|
+
/******/
|
|
101
|
+
/******/ // The require function
|
|
102
|
+
/******/ function __webpack_require__(moduleId) {
|
|
103
|
+
/******/ // Check if module is in cache
|
|
104
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
105
|
+
/******/ if (cachedModule !== undefined) {
|
|
106
|
+
/******/ return cachedModule.exports;
|
|
107
|
+
/******/ }
|
|
108
|
+
/******/ // Create a new module (and put it into the cache)
|
|
109
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
110
|
+
/******/ // no module.id needed
|
|
111
|
+
/******/ // no module.loaded needed
|
|
112
|
+
/******/ exports: {}
|
|
113
|
+
/******/ };
|
|
114
|
+
/******/
|
|
115
|
+
/******/ // Execute the module function
|
|
116
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
117
|
+
/******/
|
|
118
|
+
/******/ // Return the exports of the module
|
|
119
|
+
/******/ return module.exports;
|
|
120
|
+
/******/ }
|
|
121
|
+
/******/
|
|
122
|
+
/************************************************************************/
|
|
123
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
124
|
+
/******/ !function() {
|
|
125
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
126
|
+
/******/ __webpack_require__.n = function(module) {
|
|
127
|
+
/******/ var getter = module && module.__esModule ?
|
|
128
|
+
/******/ function() { return module['default']; } :
|
|
129
|
+
/******/ function() { return module; };
|
|
130
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
131
|
+
/******/ return getter;
|
|
132
|
+
/******/ };
|
|
133
|
+
/******/ }();
|
|
134
|
+
/******/
|
|
135
|
+
/******/ /* webpack/runtime/define property getters */
|
|
136
|
+
/******/ !function() {
|
|
137
|
+
/******/ // define getter functions for harmony exports
|
|
138
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
139
|
+
/******/ for(var key in definition) {
|
|
140
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
141
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
142
|
+
/******/ }
|
|
143
|
+
/******/ }
|
|
144
|
+
/******/ };
|
|
145
|
+
/******/ }();
|
|
146
|
+
/******/
|
|
147
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
148
|
+
/******/ !function() {
|
|
149
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
150
|
+
/******/ }();
|
|
151
|
+
/******/
|
|
152
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
153
|
+
/******/ !function() {
|
|
154
|
+
/******/ // define __esModule on exports
|
|
155
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
156
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
157
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
158
|
+
/******/ }
|
|
159
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
160
|
+
/******/ };
|
|
161
|
+
/******/ }();
|
|
162
|
+
/******/
|
|
163
|
+
/************************************************************************/
|
|
164
|
+
var __webpack_exports__ = {};
|
|
165
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
166
|
+
!function() {
|
|
167
|
+
// ESM COMPAT FLAG
|
|
168
|
+
__webpack_require__.r(__webpack_exports__);
|
|
169
|
+
|
|
170
|
+
// EXPORTS
|
|
171
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
172
|
+
"GeologicalBodyAnalysisViewModel": function() { return /* reexport */ GeologicalBodyAnalysisViewModel; },
|
|
173
|
+
"default": function() { return /* reexport */ GeologicalBodyAnalysis; }
|
|
174
|
+
});
|
|
175
|
+
|
|
176
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
177
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
178
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
179
|
+
var gis_utils_ = __webpack_require__(826);
|
|
180
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
181
|
+
var defineProperty = __webpack_require__(8270);
|
|
182
|
+
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
183
|
+
var message = __webpack_require__(1349);
|
|
184
|
+
;// CONCATENATED MODULE: ./src/webgl/geologicalbodyanalysis/GeologicalBodyAnalysisViewModel.js
|
|
185
|
+
|
|
186
|
+
//地质体分析逻辑类
|
|
187
|
+
|
|
188
|
+
class GeologicalBodyAnalysisViewModel {
|
|
189
|
+
//三维viewer对象
|
|
190
|
+
//地质体分析存储参数对象
|
|
191
|
+
//地质体分析三维对象
|
|
192
|
+
constructor(scenceView, options) {
|
|
193
|
+
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
194
|
+
|
|
195
|
+
(0,defineProperty/* default */.Z)(this, "_options", {});
|
|
196
|
+
|
|
197
|
+
(0,defineProperty/* default */.Z)(this, "_geologyBody", null);
|
|
198
|
+
|
|
199
|
+
(0,defineProperty/* default */.Z)(this, "_measureHandler", null);
|
|
200
|
+
|
|
201
|
+
this._options = options;
|
|
202
|
+
this._viewer = scenceView._viewer;
|
|
203
|
+
this._measureHandler = new Cesium.Kq3dMeasureHandler(scenceView._viewer);
|
|
204
|
+
|
|
205
|
+
this._measureHandler.measureEvent.addEventListener(function (result) {
|
|
206
|
+
if (result.measureResult.labels) result.measureResult.labels.show = false;
|
|
207
|
+
});
|
|
208
|
+
|
|
209
|
+
let that = this;
|
|
210
|
+
|
|
211
|
+
this._measureHandler.activeEvent.addEventListener(function (ret) {
|
|
212
|
+
if (ret == false) {
|
|
213
|
+
if (that._measureHandler.measureResults && that._measureHandler.measureResults.length > 0) {
|
|
214
|
+
switch (that._options.operationType) {
|
|
215
|
+
case 1:
|
|
216
|
+
// 剖切
|
|
217
|
+
that._geologyBody.getSection(that._measureHandler.measureResults[0].polyline.positions).then(function (geo) {
|
|
218
|
+
if (!that._viewer.scene.primitives.contains(geo.sectionPrimitives)) {
|
|
219
|
+
geo.sectionPrimitives = that._viewer.scene.primitives.add(geo.sectionPrimitiveCollection);
|
|
220
|
+
}
|
|
221
|
+
});
|
|
222
|
+
|
|
223
|
+
that._measureHandler.measureResults[0].destroy();
|
|
224
|
+
|
|
225
|
+
break;
|
|
226
|
+
|
|
227
|
+
case 2:
|
|
228
|
+
// 裁剪
|
|
229
|
+
that._geologyBody.polygonClipping(that._measureHandler.measureResults[0].polygonPositions).then(function (geo) {
|
|
230
|
+
if (!that._viewer.scene.primitives.contains(geo.sectionPrimitives)) {
|
|
231
|
+
geo.sectionPrimitives = that._viewer.scene.primitives.add(geo.sectionPrimitiveCollection);
|
|
232
|
+
}
|
|
233
|
+
});
|
|
234
|
+
|
|
235
|
+
that._measureHandler.measureResults[0].destroy();
|
|
236
|
+
|
|
237
|
+
break;
|
|
238
|
+
|
|
239
|
+
case 3:
|
|
240
|
+
// 钻孔
|
|
241
|
+
let positions = [];
|
|
242
|
+
|
|
243
|
+
for (let i = that._measureHandler.measureResults.length - 1; i >= 0; i--) {
|
|
244
|
+
positions.push(that._measureHandler.measureResults[i].entities[0].position._value);
|
|
245
|
+
|
|
246
|
+
that._measureHandler.measureResults[i].destroy();
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
if (positions.length > 0) {
|
|
250
|
+
that._geologyBody.drillHole(positions).then(function (geo) {
|
|
251
|
+
if (!that._viewer.scene.primitives.contains(geo.sectionPrimitives)) {
|
|
252
|
+
geo.sectionPrimitives = that._viewer.scene.primitives.add(geo.sectionPrimitiveCollection);
|
|
253
|
+
}
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
break;
|
|
258
|
+
|
|
259
|
+
default:
|
|
260
|
+
break;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
});
|
|
265
|
+
} // 查找所有地质体对象
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
findLayers() {
|
|
269
|
+
let geologys = [];
|
|
270
|
+
const geologyBodyCollection = this._viewer.geologyBodyCollection;
|
|
271
|
+
|
|
272
|
+
for (let i = 0; i < geologyBodyCollection.length; i++) {
|
|
273
|
+
if (geologyBodyCollection[i].geologyPrimitiveCollection) {
|
|
274
|
+
if (!geologyBodyCollection[i].guid) geologyBodyCollection[i].guid = Cesium.createGuid();
|
|
275
|
+
geologys.push({
|
|
276
|
+
guid: geologyBodyCollection[i].guid,
|
|
277
|
+
name: geologyBodyCollection[i].name ? geologyBodyCollection[i].name : geologyBodyCollection[i].guid
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
return geologys;
|
|
283
|
+
} // 设置地质体分析对象
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
setLayer(guid) {
|
|
287
|
+
this.clear();
|
|
288
|
+
this._geologyBody = this._viewer.geologyBodyCollection.find(function (item) {
|
|
289
|
+
return item.guid === guid;
|
|
290
|
+
});
|
|
291
|
+
} // 开始分析
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
start() {
|
|
295
|
+
// 判断是否添加了地质体
|
|
296
|
+
if (this._viewer.geologyBodyCollection.length > 0 && this._geologyBody) {
|
|
297
|
+
this.clear();
|
|
298
|
+
|
|
299
|
+
switch (this._options.operationType) {
|
|
300
|
+
case 1:
|
|
301
|
+
// 剖切
|
|
302
|
+
this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalDistance);
|
|
303
|
+
|
|
304
|
+
break;
|
|
305
|
+
|
|
306
|
+
case 2:
|
|
307
|
+
// 裁剪
|
|
308
|
+
this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
|
|
309
|
+
|
|
310
|
+
break;
|
|
311
|
+
|
|
312
|
+
case 3:
|
|
313
|
+
// 钻孔
|
|
314
|
+
this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.Coordinate);
|
|
315
|
+
|
|
316
|
+
break;
|
|
317
|
+
|
|
318
|
+
default:
|
|
319
|
+
break;
|
|
320
|
+
}
|
|
321
|
+
} else {
|
|
322
|
+
(0,message/* default */.Z)({
|
|
323
|
+
message: "请添加地质体后分析!",
|
|
324
|
+
type: "warning"
|
|
325
|
+
});
|
|
326
|
+
}
|
|
327
|
+
} //清除全部
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
clear() {
|
|
331
|
+
if (this._geologyBody) {
|
|
332
|
+
this._viewer.scene.primitives.remove(this._geologyBody.sectionPrimitives);
|
|
333
|
+
|
|
334
|
+
if (this._geologyBody.geologyPrimitiveCollection.length == 0) {
|
|
335
|
+
this._geologyBody.createGeology(this._geologyBody.data).then(function (that) {
|
|
336
|
+
if (!that.viewer.scene.primitives.contains(that.geologyPrimitives)) {
|
|
337
|
+
that.geologyPrimitives = that.viewer.scene.primitives.add(that.geologyPrimitiveCollection);
|
|
338
|
+
}
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
} //销毁
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
destroy() {
|
|
346
|
+
this.clear();
|
|
347
|
+
this._measureHandler && this._measureHandler.destroy();
|
|
348
|
+
this._measureHandler = null;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
}
|
|
352
|
+
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
353
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
354
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
355
|
+
var util_ = __webpack_require__(9519);
|
|
356
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
357
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
358
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/geologicalbodyanalysis/GeologicalBodyAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
359
|
+
|
|
360
|
+
const _hoisted_1 = {
|
|
361
|
+
class: "kq3d-geological-body-box"
|
|
362
|
+
};
|
|
363
|
+
const _hoisted_2 = {
|
|
364
|
+
class: "kq3d-geological-body-span"
|
|
365
|
+
};
|
|
366
|
+
const _hoisted_3 = {
|
|
367
|
+
class: "kq3d-geological-body-span"
|
|
368
|
+
};
|
|
369
|
+
const _hoisted_4 = {
|
|
370
|
+
class: "kq3d-geological-body-span"
|
|
371
|
+
};
|
|
372
|
+
const _hoisted_5 = {
|
|
373
|
+
class: "kq3d-geological-body-span"
|
|
374
|
+
};
|
|
375
|
+
const _hoisted_6 = {
|
|
376
|
+
class: "kq3d-geological-body-footer"
|
|
377
|
+
};
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
const __default__ = {
|
|
385
|
+
name: "Kq3dGeologicalBodyAnalysis"
|
|
386
|
+
};
|
|
387
|
+
/* harmony default export */ var GeologicalBodyAnalysisvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
388
|
+
props: {
|
|
389
|
+
// 设置参数
|
|
390
|
+
settingParams: {
|
|
391
|
+
type: Object
|
|
392
|
+
},
|
|
393
|
+
// 是否显示阴影效果
|
|
394
|
+
showShadow: {
|
|
395
|
+
type: Boolean,
|
|
396
|
+
default: true
|
|
397
|
+
},
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
401
|
+
*/
|
|
402
|
+
position: [String, Object],
|
|
403
|
+
// 是否生成HeaderTemp
|
|
404
|
+
showHeaderTemp: {
|
|
405
|
+
type: Boolean,
|
|
406
|
+
default: false
|
|
407
|
+
},
|
|
408
|
+
// 是否折叠HeaderTemp,showHeaderTemp为true时生效
|
|
409
|
+
isCollapseHeaderTemp: {
|
|
410
|
+
type: Boolean,
|
|
411
|
+
default: false
|
|
412
|
+
},
|
|
413
|
+
// HeaderTemp标题
|
|
414
|
+
headerTempTitle: {
|
|
415
|
+
type: String
|
|
416
|
+
},
|
|
417
|
+
// HeaderTemp图标
|
|
418
|
+
headerTempIcon: {
|
|
419
|
+
type: [Object, String],
|
|
420
|
+
default: client_icons_vue_.IconGeologicalAnalysis
|
|
421
|
+
},
|
|
422
|
+
// HeaderTemp Title&Icon的位置
|
|
423
|
+
isRight: {
|
|
424
|
+
type: Boolean,
|
|
425
|
+
default: true
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
|
|
429
|
+
setup(__props, {
|
|
430
|
+
expose
|
|
431
|
+
}) {
|
|
432
|
+
const props = __props;
|
|
433
|
+
const {
|
|
434
|
+
proxy
|
|
435
|
+
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
436
|
+
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
437
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
438
|
+
let geologys = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]); // 获取组件传参
|
|
439
|
+
|
|
440
|
+
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
441
|
+
geology: props.settingParams && props.settingParams.geology || null,
|
|
442
|
+
operationType: props.settingParams && props.settingParams.operationType || 1,
|
|
443
|
+
drillingRadius: props.settingParams && props.settingParams.drillingRadius || 10,
|
|
444
|
+
drillingDepth: props.settingParams && props.settingParams.drillingDepth || 50
|
|
445
|
+
});
|
|
446
|
+
let viewModel = null; // 组件容器Ref
|
|
447
|
+
|
|
448
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
449
|
+
|
|
450
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
451
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
452
|
+
|
|
453
|
+
let {
|
|
454
|
+
locale,
|
|
455
|
+
messages
|
|
456
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
457
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
458
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
459
|
+
language.value = messages.value[newVal]["webgl"];
|
|
460
|
+
headerTempTitle.value = language.value.geologyBodyAnalysis;
|
|
461
|
+
});
|
|
462
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
463
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
464
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
465
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
466
|
+
});
|
|
467
|
+
watchCreateHeaderTemp();
|
|
468
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
469
|
+
watchCreateHeaderTemp();
|
|
470
|
+
});
|
|
471
|
+
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
472
|
+
//父组 件ScenceView初始化完成后执行
|
|
473
|
+
|
|
474
|
+
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
475
|
+
if (scenceView) {
|
|
476
|
+
viewModel = new GeologicalBodyAnalysisViewModel(scenceView, formItem);
|
|
477
|
+
}
|
|
478
|
+
});
|
|
479
|
+
setTimeout(() => {
|
|
480
|
+
if (viewModel) {
|
|
481
|
+
geologys.value = viewModel.findLayers(); // 获取所有地质体对象
|
|
482
|
+
// if (geologys.value.length > 0) {
|
|
483
|
+
// formItem.geology = geologys.value[0].guid;
|
|
484
|
+
// paramsChanged("geology");
|
|
485
|
+
// }
|
|
486
|
+
}
|
|
487
|
+
}, 1000);
|
|
488
|
+
});
|
|
489
|
+
/**
|
|
490
|
+
* @description 监听header生成
|
|
491
|
+
*/
|
|
492
|
+
|
|
493
|
+
const watchCreateHeaderTemp = () => {
|
|
494
|
+
if (props.showHeaderTemp) {
|
|
495
|
+
// 生成headerTemp
|
|
496
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
497
|
+
}
|
|
498
|
+
}; // 参数改变
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
function paramsChanged(key) {
|
|
502
|
+
switch (key) {
|
|
503
|
+
case "geology":
|
|
504
|
+
viewModel.setLayer(formItem.geology);
|
|
505
|
+
break;
|
|
506
|
+
|
|
507
|
+
case "drillingRadius":
|
|
508
|
+
break;
|
|
509
|
+
|
|
510
|
+
case "drillingDepth":
|
|
511
|
+
break;
|
|
512
|
+
|
|
513
|
+
default:
|
|
514
|
+
break;
|
|
515
|
+
}
|
|
516
|
+
} // 开始分析
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
function startAnalysis() {
|
|
520
|
+
viewModel && viewModel.start();
|
|
521
|
+
} // 清除
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
function clear() {
|
|
525
|
+
viewModel && viewModel.clear();
|
|
526
|
+
} // 销毁
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
530
|
+
viewModel && viewModel.destroy();
|
|
531
|
+
});
|
|
532
|
+
expose({
|
|
533
|
+
paramsChanged,
|
|
534
|
+
startAnalysis,
|
|
535
|
+
clear
|
|
536
|
+
});
|
|
537
|
+
return (_ctx, _cache) => {
|
|
538
|
+
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
539
|
+
|
|
540
|
+
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
541
|
+
|
|
542
|
+
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
543
|
+
|
|
544
|
+
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
545
|
+
|
|
546
|
+
const _component_kq_radio = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio");
|
|
547
|
+
|
|
548
|
+
const _component_kq_radio_group = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio-group");
|
|
549
|
+
|
|
550
|
+
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
551
|
+
|
|
552
|
+
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
553
|
+
|
|
554
|
+
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
555
|
+
|
|
556
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
557
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-geological-body", {
|
|
558
|
+
'kq-box-shadow': __props.showShadow
|
|
559
|
+
}]),
|
|
560
|
+
ref_key: "boxRef",
|
|
561
|
+
ref: boxRef
|
|
562
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
563
|
+
key: 0,
|
|
564
|
+
ref_key: "headerTempRef",
|
|
565
|
+
ref: headerTempRef
|
|
566
|
+
}, null, 512
|
|
567
|
+
/* NEED_PATCH */
|
|
568
|
+
)) : (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, {
|
|
569
|
+
gutter: 20,
|
|
570
|
+
class: "rowClass"
|
|
571
|
+
}, {
|
|
572
|
+
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, {
|
|
573
|
+
span: 6,
|
|
574
|
+
class: "colClass"
|
|
575
|
+
}, {
|
|
576
|
+
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).analysisObject), 1
|
|
577
|
+
/* TEXT */
|
|
578
|
+
)]),
|
|
579
|
+
_: 1
|
|
580
|
+
/* STABLE */
|
|
581
|
+
|
|
582
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
583
|
+
span: 18
|
|
584
|
+
}, {
|
|
585
|
+
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_select, {
|
|
586
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).geology,
|
|
587
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).geology = $event),
|
|
588
|
+
onChange: _cache[1] || (_cache[1] = $event => paramsChanged('geology')),
|
|
589
|
+
clearable: "",
|
|
590
|
+
onClear: _cache[2] || (_cache[2] = $event => paramsChanged('geology'))
|
|
591
|
+
}, {
|
|
592
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(geologys), (item, index) => {
|
|
593
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_option, {
|
|
594
|
+
key: index,
|
|
595
|
+
value: item.guid,
|
|
596
|
+
label: item.name
|
|
597
|
+
}, {
|
|
598
|
+
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)(item.name), 1
|
|
599
|
+
/* TEXT */
|
|
600
|
+
)]),
|
|
601
|
+
_: 2
|
|
602
|
+
/* DYNAMIC */
|
|
603
|
+
|
|
604
|
+
}, 1032
|
|
605
|
+
/* PROPS, DYNAMIC_SLOTS */
|
|
606
|
+
, ["value", "label"]);
|
|
607
|
+
}), 128
|
|
608
|
+
/* KEYED_FRAGMENT */
|
|
609
|
+
))]),
|
|
610
|
+
_: 1
|
|
611
|
+
/* STABLE */
|
|
612
|
+
|
|
613
|
+
}, 8
|
|
614
|
+
/* PROPS */
|
|
615
|
+
, ["modelValue"])]),
|
|
616
|
+
_: 1
|
|
617
|
+
/* STABLE */
|
|
618
|
+
|
|
619
|
+
})]),
|
|
620
|
+
_: 1
|
|
621
|
+
/* STABLE */
|
|
622
|
+
|
|
623
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
624
|
+
gutter: 20,
|
|
625
|
+
class: "rowClass"
|
|
626
|
+
}, {
|
|
627
|
+
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, {
|
|
628
|
+
span: 6,
|
|
629
|
+
class: "colClass"
|
|
630
|
+
}, {
|
|
631
|
+
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).operationType), 1
|
|
632
|
+
/* TEXT */
|
|
633
|
+
)]),
|
|
634
|
+
_: 1
|
|
635
|
+
/* STABLE */
|
|
636
|
+
|
|
637
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
638
|
+
span: 18
|
|
639
|
+
}, {
|
|
640
|
+
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_group, {
|
|
641
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).operationType,
|
|
642
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).operationType = $event)
|
|
643
|
+
}, {
|
|
644
|
+
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, {
|
|
645
|
+
label: 1
|
|
646
|
+
}, {
|
|
647
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).section), 1
|
|
648
|
+
/* TEXT */
|
|
649
|
+
)]),
|
|
650
|
+
_: 1
|
|
651
|
+
/* STABLE */
|
|
652
|
+
|
|
653
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
|
|
654
|
+
label: 2
|
|
655
|
+
}, {
|
|
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).cropping), 1
|
|
657
|
+
/* TEXT */
|
|
658
|
+
)]),
|
|
659
|
+
_: 1
|
|
660
|
+
/* STABLE */
|
|
661
|
+
|
|
662
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
|
|
663
|
+
label: 3
|
|
664
|
+
}, {
|
|
665
|
+
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).drillHole), 1
|
|
666
|
+
/* TEXT */
|
|
667
|
+
)]),
|
|
668
|
+
_: 1
|
|
669
|
+
/* STABLE */
|
|
670
|
+
|
|
671
|
+
})]),
|
|
672
|
+
_: 1
|
|
673
|
+
/* STABLE */
|
|
674
|
+
|
|
675
|
+
}, 8
|
|
676
|
+
/* PROPS */
|
|
677
|
+
, ["modelValue"])]),
|
|
678
|
+
_: 1
|
|
679
|
+
/* STABLE */
|
|
680
|
+
|
|
681
|
+
})]),
|
|
682
|
+
_: 1
|
|
683
|
+
/* STABLE */
|
|
684
|
+
|
|
685
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
686
|
+
gutter: 20,
|
|
687
|
+
class: "rowClass"
|
|
688
|
+
}, {
|
|
689
|
+
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, {
|
|
690
|
+
span: 6,
|
|
691
|
+
class: "colClass"
|
|
692
|
+
}, {
|
|
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_4, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).drillingRadius), 1
|
|
694
|
+
/* TEXT */
|
|
695
|
+
)]),
|
|
696
|
+
_: 1
|
|
697
|
+
/* STABLE */
|
|
698
|
+
|
|
699
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
700
|
+
span: 18
|
|
701
|
+
}, {
|
|
702
|
+
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_row, {
|
|
703
|
+
style: {
|
|
704
|
+
"display": "flex"
|
|
705
|
+
}
|
|
706
|
+
}, {
|
|
707
|
+
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, {
|
|
708
|
+
span: 16
|
|
709
|
+
}, {
|
|
710
|
+
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, {
|
|
711
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).drillingRadius,
|
|
712
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).drillingRadius = $event),
|
|
713
|
+
min: 1,
|
|
714
|
+
max: 50,
|
|
715
|
+
step: 0.1,
|
|
716
|
+
onInput: _cache[5] || (_cache[5] = $event => paramsChanged('drillingRadius'))
|
|
717
|
+
}, null, 8
|
|
718
|
+
/* PROPS */
|
|
719
|
+
, ["modelValue", "step"])]),
|
|
720
|
+
_: 1
|
|
721
|
+
/* STABLE */
|
|
722
|
+
|
|
723
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
724
|
+
span: 8,
|
|
725
|
+
style: {
|
|
726
|
+
"text-align": "end"
|
|
727
|
+
}
|
|
728
|
+
}, {
|
|
729
|
+
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_input_number, {
|
|
730
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).drillingRadius,
|
|
731
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).drillingRadius = $event),
|
|
732
|
+
min: 1,
|
|
733
|
+
max: 50,
|
|
734
|
+
step: 0.1,
|
|
735
|
+
"controls-position": "right",
|
|
736
|
+
onInput: _cache[7] || (_cache[7] = $event => paramsChanged('drillingRadius'))
|
|
737
|
+
}, null, 8
|
|
738
|
+
/* PROPS */
|
|
739
|
+
, ["modelValue", "step"])]),
|
|
740
|
+
_: 1
|
|
741
|
+
/* STABLE */
|
|
742
|
+
|
|
743
|
+
})]),
|
|
744
|
+
_: 1
|
|
745
|
+
/* STABLE */
|
|
746
|
+
|
|
747
|
+
})]),
|
|
748
|
+
_: 1
|
|
749
|
+
/* STABLE */
|
|
750
|
+
|
|
751
|
+
})]),
|
|
752
|
+
_: 1
|
|
753
|
+
/* STABLE */
|
|
754
|
+
|
|
755
|
+
}, 512
|
|
756
|
+
/* NEED_PATCH */
|
|
757
|
+
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, false]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
758
|
+
gutter: 20,
|
|
759
|
+
class: "rowClass"
|
|
760
|
+
}, {
|
|
761
|
+
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, {
|
|
762
|
+
span: 6,
|
|
763
|
+
class: "colClass"
|
|
764
|
+
}, {
|
|
765
|
+
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_5, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).drillingDepth), 1
|
|
766
|
+
/* TEXT */
|
|
767
|
+
)]),
|
|
768
|
+
_: 1
|
|
769
|
+
/* STABLE */
|
|
770
|
+
|
|
771
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
772
|
+
span: 18
|
|
773
|
+
}, {
|
|
774
|
+
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_row, {
|
|
775
|
+
style: {
|
|
776
|
+
"display": "flex"
|
|
777
|
+
}
|
|
778
|
+
}, {
|
|
779
|
+
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, {
|
|
780
|
+
span: 16
|
|
781
|
+
}, {
|
|
782
|
+
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, {
|
|
783
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).drillingDepth,
|
|
784
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).drillingDepth = $event),
|
|
785
|
+
min: 1,
|
|
786
|
+
max: 500,
|
|
787
|
+
step: 1,
|
|
788
|
+
onInput: _cache[9] || (_cache[9] = $event => paramsChanged('drillingDepth'))
|
|
789
|
+
}, null, 8
|
|
790
|
+
/* PROPS */
|
|
791
|
+
, ["modelValue"])]),
|
|
792
|
+
_: 1
|
|
793
|
+
/* STABLE */
|
|
794
|
+
|
|
795
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
796
|
+
span: 8,
|
|
797
|
+
style: {
|
|
798
|
+
"text-align": "end"
|
|
799
|
+
}
|
|
800
|
+
}, {
|
|
801
|
+
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_input_number, {
|
|
802
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).drillingDepth,
|
|
803
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).drillingDepth = $event),
|
|
804
|
+
min: 1,
|
|
805
|
+
max: 500,
|
|
806
|
+
step: 1,
|
|
807
|
+
"controls-position": "right",
|
|
808
|
+
onInput: _cache[11] || (_cache[11] = $event => paramsChanged('drillingDepth'))
|
|
809
|
+
}, null, 8
|
|
810
|
+
/* PROPS */
|
|
811
|
+
, ["modelValue"])]),
|
|
812
|
+
_: 1
|
|
813
|
+
/* STABLE */
|
|
814
|
+
|
|
815
|
+
})]),
|
|
816
|
+
_: 1
|
|
817
|
+
/* STABLE */
|
|
818
|
+
|
|
819
|
+
})]),
|
|
820
|
+
_: 1
|
|
821
|
+
/* STABLE */
|
|
822
|
+
|
|
823
|
+
})]),
|
|
824
|
+
_: 1
|
|
825
|
+
/* STABLE */
|
|
826
|
+
|
|
827
|
+
}, 512
|
|
828
|
+
/* NEED_PATCH */
|
|
829
|
+
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, false]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
830
|
+
class: "kq3d-geological-body-tip"
|
|
831
|
+
}, {
|
|
832
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((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).sectionTips), 513
|
|
833
|
+
/* TEXT, NEED_PATCH */
|
|
834
|
+
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).operationType == 1]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((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).croppingTips), 513
|
|
835
|
+
/* TEXT, NEED_PATCH */
|
|
836
|
+
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).operationType == 2]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((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).drillHoleTips), 513
|
|
837
|
+
/* TEXT, NEED_PATCH */
|
|
838
|
+
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).operationType == 3]])]),
|
|
839
|
+
_: 1
|
|
840
|
+
/* STABLE */
|
|
841
|
+
|
|
842
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_6, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
843
|
+
onClick: _cache[12] || (_cache[12] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
844
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
|
|
845
|
+
type: "primary"
|
|
846
|
+
}, {
|
|
847
|
+
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).startAnalysis), 1
|
|
848
|
+
/* TEXT */
|
|
849
|
+
)]),
|
|
850
|
+
_: 1
|
|
851
|
+
/* STABLE */
|
|
852
|
+
|
|
853
|
+
}, 8
|
|
854
|
+
/* PROPS */
|
|
855
|
+
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
856
|
+
onClick: _cache[13] || (_cache[13] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clear(), ["stop"])),
|
|
857
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
858
|
+
}, {
|
|
859
|
+
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
|
|
860
|
+
/* TEXT */
|
|
861
|
+
)]),
|
|
862
|
+
_: 1
|
|
863
|
+
/* STABLE */
|
|
864
|
+
|
|
865
|
+
}, 8
|
|
866
|
+
/* PROPS */
|
|
867
|
+
, ["title"])])])], 2
|
|
868
|
+
/* CLASS */
|
|
869
|
+
);
|
|
870
|
+
};
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
}));
|
|
874
|
+
;// CONCATENATED MODULE: ./src/webgl/geologicalbodyanalysis/GeologicalBodyAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
875
|
+
|
|
876
|
+
;// CONCATENATED MODULE: ./src/webgl/geologicalbodyanalysis/GeologicalBodyAnalysis.vue
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
const __exports__ = GeologicalBodyAnalysisvue_type_script_setup_true_lang_js;
|
|
881
|
+
|
|
882
|
+
/* harmony default export */ var GeologicalBodyAnalysis = (__exports__);
|
|
883
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
884
|
+
var init_js_ = __webpack_require__(5406);
|
|
885
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
886
|
+
;// CONCATENATED MODULE: ./src/webgl/geologicalbodyanalysis/index.js
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
GeologicalBodyAnalysis.install = (Vue, opts) => {
|
|
892
|
+
init_js_default()(Vue, opts);
|
|
893
|
+
Vue.component(GeologicalBodyAnalysis.name, GeologicalBodyAnalysis);
|
|
894
|
+
};
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
}();
|
|
898
|
+
module.exports = __webpack_exports__;
|
|
899
|
+
/******/ })()
|
|
900
|
+
;
|