@kq_npm/client3d_webgl_vue 4.5.29-beta → 4.5.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adddata/index.js +518 -262
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +201 -123
- package/baseterraingallery/index.js +123 -94
- package/baseterraingallery/style/baseterraingallery.css +1 -1
- package/boxclip/index.js +442 -249
- package/clientPrint/index.js +27088 -14116
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +243 -213
- package/compass/index.js +68 -74
- package/excavatefillanalysis/index.js +225 -143
- package/fixedzoomin/index.js +82 -72
- package/fixedzoomout/index.js +80 -71
- package/flight/index.js +371 -257
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +347 -199
- package/geologicalbodyanalysis/index.js +260 -166
- package/gpuspatialquery/index.js +359 -198
- package/hawkeye/index.js +100 -131
- package/headertemp/index.js +25 -14
- package/heatmap3d/index.js +678 -366
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +20310 -7159
- package/isolineanalysis/index.js +1202 -504
- package/light/index.js +494 -349
- package/limitheightanalysis/index.js +223 -159
- package/measure/index.js +353 -198
- package/modelFlat/index.js +204 -167
- package/modelexcavate/index.js +191 -130
- package/modelfilter/index.js +271 -179
- package/modelprofileanalysis/index.js +316 -206
- package/modelselect/index.js +147 -142
- package/package.json +1 -1
- package/particleeffect/index.js +403 -225
- package/planeclip/index.js +300 -198
- package/resetview/index.js +52 -66
- package/roller/index.js +372 -304
- package/scaneffect/index.js +537 -230
- package/sceneadvancedtoimage/index.js +358 -205
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -1
- package/sceneapp/index.js +27088 -14116
- package/sceneset/index.js +864 -350
- package/scenetohdimage/index.js +297 -159
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +27088 -14116
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +301 -257
- package/shadowanalysis/index.js +405 -217
- package/sightlineanalysis/index.js +271 -183
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +308 -160
- package/slopeanalysis/index.js +397 -227
- package/slopeaspectanalysis/index.js +485 -259
- package/statusbar/index.js +65 -88
- package/style.css +1 -1
- package/terrainoperation/index.js +237 -176
- package/terrainprofileanalysis/index.js +138 -120
- package/typhoontrac/index.js +970 -234
- package/typhoontrac/style/typhoontrac.css +1 -1
- package/underground/index.js +61 -70
- package/videofusion/index.js +488 -265
- package/videoproject/index.js +490 -271
- package/viewshedanalysis/index.js +255 -151
- package/weathereffect/index.js +317 -166
- package/windyslicing/index.js +1947 -0
- package/windyslicing/style/index.js +3 -0
- package/windyslicing/style/windyslicing.css +1 -0
- package/wireframesketch/index.js +142 -110
|
@@ -0,0 +1,1947 @@
|
|
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
+
module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/_types/global-event"), require("@kq_npm/client_common_vue/init.js"));
|
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
|
5
|
+
define("@kq_npm/client3d_webgl_vue", ["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/_utils/util", "@kq_npm/client_common_vue/_types/global-event", "@kq_npm/client_common_vue/init.js"], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["@kq_npm/client3d_webgl_vue"] = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/_types/global-event"), require("@kq_npm/client_common_vue/init.js"));
|
|
8
|
+
else
|
|
9
|
+
root["@kq_npm/client3d_webgl_vue"] = factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/_utils/util"], root["@kq_npm/client_common_vue/_types/global-event"], root["@kq_npm/client_common_vue/init.js"]);
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__3458__, __WEBPACK_EXTERNAL_MODULE__3536__, __WEBPACK_EXTERNAL_MODULE__7997__) {
|
|
11
|
+
return /******/ (function() { // webpackBootstrap
|
|
12
|
+
/******/ "use strict";
|
|
13
|
+
/******/ var __webpack_modules__ = ({
|
|
14
|
+
|
|
15
|
+
/***/ 348:
|
|
16
|
+
/***/ (function(module) {
|
|
17
|
+
|
|
18
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
19
|
+
|
|
20
|
+
/***/ }),
|
|
21
|
+
|
|
22
|
+
/***/ 3600:
|
|
23
|
+
/***/ (function(module) {
|
|
24
|
+
|
|
25
|
+
module.exports = require("core-js/modules/es.array.includes.js");
|
|
26
|
+
|
|
27
|
+
/***/ }),
|
|
28
|
+
|
|
29
|
+
/***/ 7080:
|
|
30
|
+
/***/ (function(module) {
|
|
31
|
+
|
|
32
|
+
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
33
|
+
|
|
34
|
+
/***/ }),
|
|
35
|
+
|
|
36
|
+
/***/ 3536:
|
|
37
|
+
/***/ (function(module) {
|
|
38
|
+
|
|
39
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__3536__;
|
|
40
|
+
|
|
41
|
+
/***/ }),
|
|
42
|
+
|
|
43
|
+
/***/ 7135:
|
|
44
|
+
/***/ (function(module) {
|
|
45
|
+
|
|
46
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
|
|
47
|
+
|
|
48
|
+
/***/ }),
|
|
49
|
+
|
|
50
|
+
/***/ 3458:
|
|
51
|
+
/***/ (function(module) {
|
|
52
|
+
|
|
53
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__3458__;
|
|
54
|
+
|
|
55
|
+
/***/ }),
|
|
56
|
+
|
|
57
|
+
/***/ 7997:
|
|
58
|
+
/***/ (function(module) {
|
|
59
|
+
|
|
60
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
|
|
61
|
+
|
|
62
|
+
/***/ }),
|
|
63
|
+
|
|
64
|
+
/***/ 1895:
|
|
65
|
+
/***/ (function(module) {
|
|
66
|
+
|
|
67
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
68
|
+
|
|
69
|
+
/***/ }),
|
|
70
|
+
|
|
71
|
+
/***/ 8270:
|
|
72
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
73
|
+
|
|
74
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
75
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
76
|
+
/* harmony export */ });
|
|
77
|
+
function _defineProperty(obj, key, value) {
|
|
78
|
+
if (key in obj) {
|
|
79
|
+
Object.defineProperty(obj, key, {
|
|
80
|
+
value: value,
|
|
81
|
+
enumerable: true,
|
|
82
|
+
configurable: true,
|
|
83
|
+
writable: true
|
|
84
|
+
});
|
|
85
|
+
} else {
|
|
86
|
+
obj[key] = value;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
return obj;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/***/ })
|
|
93
|
+
|
|
94
|
+
/******/ });
|
|
95
|
+
/************************************************************************/
|
|
96
|
+
/******/ // The module cache
|
|
97
|
+
/******/ var __webpack_module_cache__ = {};
|
|
98
|
+
/******/
|
|
99
|
+
/******/ // The require function
|
|
100
|
+
/******/ function __webpack_require__(moduleId) {
|
|
101
|
+
/******/ // Check if module is in cache
|
|
102
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
103
|
+
/******/ if (cachedModule !== undefined) {
|
|
104
|
+
/******/ return cachedModule.exports;
|
|
105
|
+
/******/ }
|
|
106
|
+
/******/ // Create a new module (and put it into the cache)
|
|
107
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
108
|
+
/******/ // no module.id needed
|
|
109
|
+
/******/ // no module.loaded needed
|
|
110
|
+
/******/ exports: {}
|
|
111
|
+
/******/ };
|
|
112
|
+
/******/
|
|
113
|
+
/******/ // Execute the module function
|
|
114
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
115
|
+
/******/
|
|
116
|
+
/******/ // Return the exports of the module
|
|
117
|
+
/******/ return module.exports;
|
|
118
|
+
/******/ }
|
|
119
|
+
/******/
|
|
120
|
+
/************************************************************************/
|
|
121
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
122
|
+
/******/ !function() {
|
|
123
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
124
|
+
/******/ __webpack_require__.n = function(module) {
|
|
125
|
+
/******/ var getter = module && module.__esModule ?
|
|
126
|
+
/******/ function() { return module['default']; } :
|
|
127
|
+
/******/ function() { return module; };
|
|
128
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
129
|
+
/******/ return getter;
|
|
130
|
+
/******/ };
|
|
131
|
+
/******/ }();
|
|
132
|
+
/******/
|
|
133
|
+
/******/ /* webpack/runtime/define property getters */
|
|
134
|
+
/******/ !function() {
|
|
135
|
+
/******/ // define getter functions for harmony exports
|
|
136
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
137
|
+
/******/ for(var key in definition) {
|
|
138
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
139
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
140
|
+
/******/ }
|
|
141
|
+
/******/ }
|
|
142
|
+
/******/ };
|
|
143
|
+
/******/ }();
|
|
144
|
+
/******/
|
|
145
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
146
|
+
/******/ !function() {
|
|
147
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
148
|
+
/******/ }();
|
|
149
|
+
/******/
|
|
150
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
151
|
+
/******/ !function() {
|
|
152
|
+
/******/ // define __esModule on exports
|
|
153
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
154
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
155
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
156
|
+
/******/ }
|
|
157
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
158
|
+
/******/ };
|
|
159
|
+
/******/ }();
|
|
160
|
+
/******/
|
|
161
|
+
/************************************************************************/
|
|
162
|
+
var __webpack_exports__ = {};
|
|
163
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
164
|
+
!function() {
|
|
165
|
+
// ESM COMPAT FLAG
|
|
166
|
+
__webpack_require__.r(__webpack_exports__);
|
|
167
|
+
|
|
168
|
+
// EXPORTS
|
|
169
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
170
|
+
"WindySlicingViewModel": function() { return /* reexport */ WindySlicingViewModel; },
|
|
171
|
+
"default": function() { return /* reexport */ WindySlicing; }
|
|
172
|
+
});
|
|
173
|
+
|
|
174
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
175
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
|
|
176
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
177
|
+
var gis_utils_ = __webpack_require__(7135);
|
|
178
|
+
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
179
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
180
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
181
|
+
var defineProperty = __webpack_require__(8270);
|
|
182
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
183
|
+
var es_array_includes_js_ = __webpack_require__(3600);
|
|
184
|
+
;// CONCATENATED MODULE: ./src/webgl/windyslicing/WindySlicingViewModel.js
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
class WindySlicingViewModel {
|
|
188
|
+
//三维球场景视图对象
|
|
189
|
+
//绘制管理对象
|
|
190
|
+
//绘制完成监听事件
|
|
191
|
+
// 是否线剖切
|
|
192
|
+
// 点剖切
|
|
193
|
+
constructor(scenceView, options, callbackParams) {
|
|
194
|
+
(0,defineProperty/* default */.Z)(this, "_sceneView", null);
|
|
195
|
+
|
|
196
|
+
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
197
|
+
|
|
198
|
+
(0,defineProperty/* default */.Z)(this, "_layerManager", null);
|
|
199
|
+
|
|
200
|
+
(0,defineProperty/* default */.Z)(this, "_options", null);
|
|
201
|
+
|
|
202
|
+
(0,defineProperty/* default */.Z)(this, "_windySlicingDrawManager", null);
|
|
203
|
+
|
|
204
|
+
(0,defineProperty/* default */.Z)(this, "_windySlicingRemoveEventListener", null);
|
|
205
|
+
|
|
206
|
+
(0,defineProperty/* default */.Z)(this, "_windySlicingLayerconfig", null);
|
|
207
|
+
|
|
208
|
+
(0,defineProperty/* default */.Z)(this, "_windySlicingPolylineHandler", null);
|
|
209
|
+
|
|
210
|
+
(0,defineProperty/* default */.Z)(this, "_isDrawPolyline", false);
|
|
211
|
+
|
|
212
|
+
(0,defineProperty/* default */.Z)(this, "_pointSlicingHtmlTag", null);
|
|
213
|
+
|
|
214
|
+
(0,defineProperty/* default */.Z)(this, "_volumePrimitives", []);
|
|
215
|
+
|
|
216
|
+
(0,defineProperty/* default */.Z)(this, "_volumePrimitive", null);
|
|
217
|
+
|
|
218
|
+
(0,defineProperty/* default */.Z)(this, "_currentVolumeOption", null);
|
|
219
|
+
|
|
220
|
+
(0,defineProperty/* default */.Z)(this, "_currentVolumePosition", null);
|
|
221
|
+
|
|
222
|
+
(0,defineProperty/* default */.Z)(this, "callbackParams", null);
|
|
223
|
+
|
|
224
|
+
(0,defineProperty/* default */.Z)(this, "currentSlicingUnit", "m");
|
|
225
|
+
|
|
226
|
+
this._sceneView = scenceView;
|
|
227
|
+
this._layerManager = scenceView._layerManager;
|
|
228
|
+
this._viewer = scenceView._viewer;
|
|
229
|
+
this._options = options || {};
|
|
230
|
+
this._windySlicingDrawManager = this._sceneView._drawManager;
|
|
231
|
+
this._viewer.scene.globe.showGroundAtmosphere = false;
|
|
232
|
+
this._viewer.scene.screenSpaceCameraController.maximumZoomDistance = 20_000_000;
|
|
233
|
+
this.callbackParams = callbackParams;
|
|
234
|
+
var that = this;
|
|
235
|
+
that._windySlicingRemoveEventListener = that._windySlicingDrawManager.drawFinishedEvent.addEventListener(shape => {
|
|
236
|
+
if (shape && shape.type === "rectangle") {
|
|
237
|
+
that.windySlicingRectangleSlicing(shape.bounds);
|
|
238
|
+
this.callbackParams && this.callbackParams("showSlicingSetting", true);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
that._windySlicingDrawManager.clear();
|
|
242
|
+
});
|
|
243
|
+
this._windySlicingPolylineHandler = new window.Cesium.ScreenSpaceEventHandler(this._viewer.canvas);
|
|
244
|
+
} // 参数切换
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
paramsChanged(key, val) {
|
|
248
|
+
let that = this;
|
|
249
|
+
if (!this._windySlicingLayerconfig) this.getWindySlicingLayer(this._windySlicingLayerconfig?.guid ?? '');
|
|
250
|
+
|
|
251
|
+
switch (key) {
|
|
252
|
+
case "mode":
|
|
253
|
+
that.removeInputAction();
|
|
254
|
+
|
|
255
|
+
if (this._volumePrimitive) {
|
|
256
|
+
this._viewer.scene.primitives.remove(this._volumePrimitive);
|
|
257
|
+
|
|
258
|
+
this._volumePrimitive = null;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
if (this._options.mode === "point") {
|
|
262
|
+
this._windySlicingDrawManager.stopDraw();
|
|
263
|
+
|
|
264
|
+
this.drawPolylineHandler();
|
|
265
|
+
} else if (this._options.mode === "line") {
|
|
266
|
+
this.drawPolylineHandler(function (newPositions) {
|
|
267
|
+
that._isDrawPolyline = false;
|
|
268
|
+
that.windySlicingPolylineSlicing(newPositions);
|
|
269
|
+
});
|
|
270
|
+
this._isDrawPolyline = true;
|
|
271
|
+
|
|
272
|
+
this._windySlicingDrawManager.startDraw("polyline", {
|
|
273
|
+
clampToGround: true
|
|
274
|
+
});
|
|
275
|
+
} else if (this._options.mode === "polygon") {
|
|
276
|
+
this._windySlicingDrawManager.startDraw("rectangle", {
|
|
277
|
+
clampToGround: true
|
|
278
|
+
});
|
|
279
|
+
} else if (this._options.mode === "clear") {
|
|
280
|
+
this.clear();
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
break;
|
|
284
|
+
|
|
285
|
+
case "showAxis":
|
|
286
|
+
if (this._volumePrimitive) this._volumePrimitive.showAxis(this._options[key]);
|
|
287
|
+
break;
|
|
288
|
+
|
|
289
|
+
case "slicingType":
|
|
290
|
+
this.windyVoxelsSingleSlicing();
|
|
291
|
+
break;
|
|
292
|
+
|
|
293
|
+
case "enableLayering":
|
|
294
|
+
case "enableLayerings":
|
|
295
|
+
if (this._volumePrimitive) this.setEnableLayeringVisible();
|
|
296
|
+
break;
|
|
297
|
+
|
|
298
|
+
case "layerScale":
|
|
299
|
+
if (this._volumePrimitive) this._volumePrimitive.scale = this._options[key];
|
|
300
|
+
break;
|
|
301
|
+
|
|
302
|
+
case "destroy":
|
|
303
|
+
this.destroy();
|
|
304
|
+
break;
|
|
305
|
+
|
|
306
|
+
default:
|
|
307
|
+
break;
|
|
308
|
+
}
|
|
309
|
+
} // 分层显隐
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
setEnableLayeringVisible() {
|
|
313
|
+
let zValues = this._windySlicingLayerconfig?.params?.zValues;
|
|
314
|
+
let zVisibles = [];
|
|
315
|
+
|
|
316
|
+
if (this._options?.enableLayering) {
|
|
317
|
+
for (let i = 0; i < zValues.length; i++) {
|
|
318
|
+
if (this._options?.enableLayerings?.includes(zValues[i])) {
|
|
319
|
+
zVisibles.push(true);
|
|
320
|
+
} else {
|
|
321
|
+
zVisibles.push(false);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
this._volumePrimitive.updateVisibles(this.currentSlicingUnit == 'hpa' ? zVisibles.reverse() : zVisibles);
|
|
326
|
+
} else {
|
|
327
|
+
for (let i = zValues.length; i > 0; i--) {
|
|
328
|
+
zVisibles.push(false);
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
this._volumePrimitive.updateVisibles(zVisibles);
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* 获取或设置气象剖切图层配置
|
|
336
|
+
* @param {string} [guid] 可选图层guid
|
|
337
|
+
* @returns {Object|null} 图层配置对象或null
|
|
338
|
+
*/
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
getWindySlicingLayer(guid) {
|
|
342
|
+
// 参数校验:确保guid为有效字符串
|
|
343
|
+
const isValidGuid = typeof guid === 'string' && guid.trim() !== ''; // 获取图层配置逻辑
|
|
344
|
+
|
|
345
|
+
this._windySlicingLayerconfig = isValidGuid ? this._layerManager.getLayerDataByGuid(guid) || null : this._layerManager._layerListData?.find(element => element?.addType === 'kqgisweatherserver') || null; // 可选:添加调试信息或错误处理
|
|
346
|
+
|
|
347
|
+
if (!this._windySlicingLayerconfig) {
|
|
348
|
+
console.warn('未找到匹配的气象剖切图层配置');
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
let groups = this._layerManager._windyViewModel?._PRODUCT_CONFIG[this._windySlicingLayerconfig?.params?.productType]?.groups ?? [];
|
|
352
|
+
|
|
353
|
+
if (groups.includes("AIR_PRESSURE")) {
|
|
354
|
+
this.currentSlicingUnit = "hpa";
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
this.callbackParams && this.callbackParams("enableLayerings", this._windySlicingLayerconfig?.params?.zValues ?? []);
|
|
358
|
+
this.callbackParams && this.callbackParams("currentSlicingUnit", this.currentSlicingUnit);
|
|
359
|
+
return this._windySlicingLayerconfig;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
removeInputAction() {
|
|
363
|
+
if (this._windySlicingPolylineHandler) {
|
|
364
|
+
this._windySlicingPolylineHandler.removeInputAction(window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
365
|
+
|
|
366
|
+
this._windySlicingPolylineHandler.removeInputAction(window.Cesium.ScreenSpaceEventType.RIGHT_CLICK);
|
|
367
|
+
} //清除
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
if (this._pointSlicingHtmlTag) {
|
|
371
|
+
this._pointSlicingHtmlTag.destroy();
|
|
372
|
+
}
|
|
373
|
+
} // 两点绘制线结果
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
drawPolylineHandler(callback) {
|
|
377
|
+
let that = this;
|
|
378
|
+
let activeShapePoints = [];
|
|
379
|
+
|
|
380
|
+
this._windySlicingPolylineHandler.setInputAction(function (event) {
|
|
381
|
+
if (that._isDrawPolyline) {
|
|
382
|
+
let earthPosition = that._viewer.scene.pickPosition(event.position);
|
|
383
|
+
|
|
384
|
+
if (window.Cesium.defined(earthPosition)) {
|
|
385
|
+
activeShapePoints.push(earthPosition); //单线分析结果显示
|
|
386
|
+
|
|
387
|
+
if (activeShapePoints.length == 2) {
|
|
388
|
+
that._windySlicingDrawManager.stopDraw();
|
|
389
|
+
|
|
390
|
+
that.removeInputAction();
|
|
391
|
+
var newPositions = [];
|
|
392
|
+
activeShapePoints.forEach(position => {
|
|
393
|
+
var newPosition = that._windySlicingDrawManager.transformPosition(position);
|
|
394
|
+
|
|
395
|
+
newPositions.push({
|
|
396
|
+
x: newPosition[0],
|
|
397
|
+
y: newPosition[1]
|
|
398
|
+
});
|
|
399
|
+
});
|
|
400
|
+
if (callback) callback(newPositions);
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
} else {
|
|
404
|
+
let cartographic = that._viewer.scene.globe.ellipsoid.cartesianToCartographic(that._viewer.camera.pickEllipsoid(event.position, that._viewer.scene.globe.ellipsoid));
|
|
405
|
+
|
|
406
|
+
that.getPointSlicingData(cartographic);
|
|
407
|
+
}
|
|
408
|
+
}, window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
409
|
+
|
|
410
|
+
if (!that._isDrawPolyline) {
|
|
411
|
+
that._windySlicingPolylineHandler.setInputAction(function (event) {
|
|
412
|
+
that.removeInputAction();
|
|
413
|
+
}, window.Cesium.ScreenSpaceEventType.RIGHT_CLICK);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* 获取点的气象数据
|
|
418
|
+
* @param {string} [guid] cartographic拾取的点
|
|
419
|
+
*/
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
getPointSlicingData(cartographic) {
|
|
423
|
+
let that = this;
|
|
424
|
+
let X = window.Cesium.Math.toDegrees(cartographic.longitude);
|
|
425
|
+
let Y = window.Cesium.Math.toDegrees(cartographic.latitude);
|
|
426
|
+
let groups = this._layerManager._windyViewModel._PRODUCT_CONFIG[this._windySlicingLayerconfig?.params?.productType]?.groups ?? [];
|
|
427
|
+
let unit = 'm';
|
|
428
|
+
|
|
429
|
+
if (groups.includes("AIR_PRESSURE")) {
|
|
430
|
+
unit = "hpa";
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
let data = {
|
|
434
|
+
"collectionName": that._windySlicingLayerconfig?.params?.layer,
|
|
435
|
+
"point": {
|
|
436
|
+
"x": X,
|
|
437
|
+
"y": Y
|
|
438
|
+
},
|
|
439
|
+
"geoSRS": "EPSG:4326",
|
|
440
|
+
type: 1
|
|
441
|
+
}; //清除
|
|
442
|
+
|
|
443
|
+
if (this._pointSlicingHtmlTag) {
|
|
444
|
+
this._pointSlicingHtmlTag.destroy();
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
let url = this._windySlicingLayerconfig?.url.replaceAll("/wmts", "").replace("/image", "/image/identify");
|
|
448
|
+
const xhr = new XMLHttpRequest();
|
|
449
|
+
xhr.open('POST', url);
|
|
450
|
+
xhr.setRequestHeader('Content-Type', 'application/json');
|
|
451
|
+
|
|
452
|
+
xhr.onload = function () {
|
|
453
|
+
if (xhr.status >= 200 && xhr.status < 300) {
|
|
454
|
+
const data = JSON.parse(xhr.responseText);
|
|
455
|
+
|
|
456
|
+
if (data) {
|
|
457
|
+
let val;
|
|
458
|
+
let getAllVal = data.result.RasterNameValue;
|
|
459
|
+
|
|
460
|
+
if (that._windySlicingLayerconfig?.params?.layer === 'wind_5' || that._windySlicingLayerconfig?.params?.layer === 'current_global_5') {
|
|
461
|
+
let U = getAllVal[0].value; //经度
|
|
462
|
+
|
|
463
|
+
let V = getAllVal[1].value; //维度
|
|
464
|
+
|
|
465
|
+
let directVal = that.direction(U, V);
|
|
466
|
+
let unitName = that._windySlicingLayerconfig?.params?.layer === 'wind_5' ? '风' : '';
|
|
467
|
+
val = directVal.direct + unitName + ' ' + directVal.speed.toFixed(2);
|
|
468
|
+
} else if (that._windySlicingLayerconfig?.params?.layer === 'hailang') {
|
|
469
|
+
let hldirectVal = that.direction(null, null, getAllVal[4].value); //波浪平均方向
|
|
470
|
+
|
|
471
|
+
let period = Number(getAllVal[2].value).toFixed(); // 海洋表面温湿度平均周期
|
|
472
|
+
|
|
473
|
+
let alt = Number(getAllVal[0].value).toFixed(); //风浪高度
|
|
474
|
+
|
|
475
|
+
val = hldirectVal.direct + ' ' + '周期' + ' ' + period + 's' + ' ' + alt;
|
|
476
|
+
} else {
|
|
477
|
+
val = Number(getAllVal[0].value);
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
let value = val + ' ' + unit;
|
|
481
|
+
that.setWindySlicingPointData(value, cartographic); //显示拾取数据
|
|
482
|
+
}
|
|
483
|
+
} else {
|
|
484
|
+
console.error('Request error:', xhr.statusText);
|
|
485
|
+
}
|
|
486
|
+
};
|
|
487
|
+
|
|
488
|
+
xhr.onerror = function () {
|
|
489
|
+
console.error('Request error!');
|
|
490
|
+
};
|
|
491
|
+
|
|
492
|
+
xhr.send(JSON.stringify(data));
|
|
493
|
+
}
|
|
494
|
+
/**
|
|
495
|
+
* 展现气象服务点数据
|
|
496
|
+
* @param {*} val 数值
|
|
497
|
+
* @param {*} position 坐标
|
|
498
|
+
*/
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
setWindySlicingPointData(val, position) {
|
|
502
|
+
let myposition = window.Cesium.Cartesian3.fromRadians(position.longitude, position.latitude, position.height);
|
|
503
|
+
let html = `<div class="pickClass" style="">
|
|
504
|
+
<div style="display: block;position: absolute;left: 0px;right: 0;width: 2px;height: 140px;background: rgba(68,65,65,.84)">
|
|
505
|
+
<span style="background:rgba(68,65,65,.84);padding:5px 18px;text-align: center;line-height: 1.9;color: #fff;border-top-right-radius: 20px;border-bottom-right-radius: 20px;white-space: nowrap;cursor: move;display: inline-block;">${val}</span>
|
|
506
|
+
</div>
|
|
507
|
+
</div>`; // 点标注
|
|
508
|
+
|
|
509
|
+
this._pointSlicingHtmlTag = new window.Cesium.Kq3dHtmlTag(this._viewer, {
|
|
510
|
+
html: html,
|
|
511
|
+
position: myposition,
|
|
512
|
+
// 获取到的位置
|
|
513
|
+
anchor: [0, -140],
|
|
514
|
+
// 设置标注的偏移量
|
|
515
|
+
noEvent: false
|
|
516
|
+
});
|
|
517
|
+
} // 重构剖切参数
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
getSlicingParams(position) {
|
|
521
|
+
this._currentVolumePosition = position;
|
|
522
|
+
if (!this._windySlicingLayerconfig) return;
|
|
523
|
+
let proConfig = this._layerManager._windyViewModel._PRODUCT_CONFIG;
|
|
524
|
+
if (!proConfig) return;
|
|
525
|
+
let colors = proConfig[this._windySlicingLayerconfig?.params?.productType]?.colors;
|
|
526
|
+
let ranges = proConfig[this._windySlicingLayerconfig?.params?.productType]?.ranges;
|
|
527
|
+
let img = colors && this.generateImage(colors);
|
|
528
|
+
if (!img) return;
|
|
529
|
+
this._currentVolumeOption = {
|
|
530
|
+
viewer: this._viewer,
|
|
531
|
+
url: this._windySlicingLayerconfig.url.replaceAll("/wmts", ""),
|
|
532
|
+
collectionName: this._windySlicingLayerconfig?.params?.layer,
|
|
533
|
+
image: img,
|
|
534
|
+
// 高度偏移
|
|
535
|
+
offset: 0,
|
|
536
|
+
// 高度放大比例
|
|
537
|
+
scale: this.currentSlicingUnit == 'hpa' ? 18 : 300,
|
|
538
|
+
unit: this.currentSlicingUnit,
|
|
539
|
+
attrRange: [ranges[0], ranges[ranges.length - 1]],
|
|
540
|
+
varName: this._windySlicingLayerconfig?.params?.varNames
|
|
541
|
+
};
|
|
542
|
+
|
|
543
|
+
if (this._volumePrimitive) {
|
|
544
|
+
this._viewer.scene.primitives.remove(this._volumePrimitive);
|
|
545
|
+
|
|
546
|
+
this._volumePrimitive = null;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
this._volumePrimitive = new Cesium.Kq3dGridVolumeProvider(this._currentVolumeOption);
|
|
550
|
+
}
|
|
551
|
+
/**
|
|
552
|
+
* 创建线剖切
|
|
553
|
+
* @param {Object} polyline 绘制的线坐标数据
|
|
554
|
+
*/
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
windySlicingPolylineSlicing(polyline) {
|
|
558
|
+
this.getSlicingParams(polyline);
|
|
559
|
+
|
|
560
|
+
this._volumePrimitive.showSection(polyline); // this._volumePrimitives.push(gridVolumePolyline)
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
this.setViewEntity(calculateBoundingBox(polyline)); // 核心计算方法
|
|
564
|
+
|
|
565
|
+
function calculateBoundingBox(points) {
|
|
566
|
+
// 初始化边界值
|
|
567
|
+
let minX = Infinity,
|
|
568
|
+
maxX = -Infinity;
|
|
569
|
+
let minY = Infinity,
|
|
570
|
+
maxY = -Infinity; // 遍历所有坐标点
|
|
571
|
+
|
|
572
|
+
for (const point of points) {
|
|
573
|
+
minX = Math.min(minX, point.x);
|
|
574
|
+
maxX = Math.max(maxX, point.x);
|
|
575
|
+
minY = Math.min(minY, point.y);
|
|
576
|
+
maxY = Math.max(maxY, point.y);
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
return {
|
|
580
|
+
minX: minX,
|
|
581
|
+
// 西经(最小经度)
|
|
582
|
+
maxX: maxX,
|
|
583
|
+
// 东经(最大经度)
|
|
584
|
+
minY: minY,
|
|
585
|
+
// 南纬(最小纬度)
|
|
586
|
+
maxY: maxY // 北纬(最大纬度)
|
|
587
|
+
|
|
588
|
+
};
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
/**
|
|
592
|
+
* 面剖切
|
|
593
|
+
* @param {Object} rect 矩形四至
|
|
594
|
+
*/
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
windySlicingRectangleSlicing(rect) {
|
|
598
|
+
this.getSlicingParams(rect);
|
|
599
|
+
|
|
600
|
+
this._volumePrimitive.showSections(rect);
|
|
601
|
+
|
|
602
|
+
this.setViewEntity(rect);
|
|
603
|
+
} // 体剖切
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
windyVoxelsSingleSlicing() {
|
|
607
|
+
if (!Cesium.Kq3dGridVoxelsSingleProviderExt) {
|
|
608
|
+
console.log("Kq3dGridVoxelsSingleProviderExt class cannot be empty");
|
|
609
|
+
return;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
if (this._volumePrimitive) {
|
|
613
|
+
this._viewer.scene.primitives.remove(this._volumePrimitive);
|
|
614
|
+
|
|
615
|
+
this._volumePrimitive = null;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
if (this._currentVolumeOption && this._currentVolumePosition) {
|
|
619
|
+
this._volumePrimitive = new Cesium.Kq3dGridVoxelsSingleProviderExt(this.options);
|
|
620
|
+
this.volumePrimitive.showVoxels(rect);
|
|
621
|
+
}
|
|
622
|
+
} // 设置entity视角缩放
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
setViewEntity(rect) {
|
|
626
|
+
var rectangle = new Cesium.Rectangle(Cesium.Math.toRadians(rect.minX), Cesium.Math.toRadians(rect.minY), Cesium.Math.toRadians(rect.maxX), Cesium.Math.toRadians(rect.maxY));
|
|
627
|
+
|
|
628
|
+
let entity = this._viewer.entities.add({
|
|
629
|
+
name: 'Blue translucent, rotated, and extruded ellipse with outline',
|
|
630
|
+
rectangle: {
|
|
631
|
+
coordinates: rectangle,
|
|
632
|
+
material: Cesium.Color.RED.withAlpha(0)
|
|
633
|
+
}
|
|
634
|
+
});
|
|
635
|
+
|
|
636
|
+
this._viewer.flyTo(entity, {
|
|
637
|
+
duration: 1,
|
|
638
|
+
offset: {
|
|
639
|
+
heading: Cesium.Math.toRadians(-30),
|
|
640
|
+
pitch: Cesium.Math.toRadians(-30),
|
|
641
|
+
range: 1100000
|
|
642
|
+
}
|
|
643
|
+
});
|
|
644
|
+
|
|
645
|
+
setTimeout(() => {
|
|
646
|
+
this._viewer.entities.remove(entity);
|
|
647
|
+
}, 1000);
|
|
648
|
+
} // 根据颜色表生成图片
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
generateImage(colors) {
|
|
652
|
+
var canvas = document.createElement('canvas');
|
|
653
|
+
var context = canvas.getContext('2d'); // 设置画布大小为500x300像素
|
|
654
|
+
|
|
655
|
+
canvas.width = 434;
|
|
656
|
+
canvas.height = 27; // 计算每个颜色所占据的区域大小
|
|
657
|
+
|
|
658
|
+
var scale = 1 / (colors.length - 1); // 创建一个线性渐变
|
|
659
|
+
|
|
660
|
+
const gradient = context.createLinearGradient(0, 0, canvas.width, canvas.height);
|
|
661
|
+
gradient.addColorStop(0, colors[0]); // 渐变开始的颜色
|
|
662
|
+
// 绘制颜色条形
|
|
663
|
+
|
|
664
|
+
for (let i = 1; i < colors.length; i++) {
|
|
665
|
+
gradient.addColorStop(i * scale, colors[i]);
|
|
666
|
+
} // 填充渐变
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
context.fillStyle = gradient;
|
|
670
|
+
context.fillRect(0, 0, canvas.width, canvas.height);
|
|
671
|
+
var imageDataUrl = canvas.toDataURL('image/png');
|
|
672
|
+
return imageDataUrl;
|
|
673
|
+
} //清除
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
clear() {
|
|
677
|
+
if (this._volumePrimitive) this._viewer.scene.primitives.remove(this._volumePrimitive);
|
|
678
|
+
this.removeInputAction();
|
|
679
|
+
this._isDrawPolyline = false;
|
|
680
|
+
this._viewer.scene.globe.showGroundAtmosphere = true;
|
|
681
|
+
this._viewer.scene.screenSpaceCameraController.maximumZoomDistance = Number.POSITIVE_INFINITY;
|
|
682
|
+
|
|
683
|
+
this._windySlicingDrawManager.stopDraw();
|
|
684
|
+
|
|
685
|
+
this._windySlicingDrawManager.clear();
|
|
686
|
+
} //销毁
|
|
687
|
+
|
|
688
|
+
|
|
689
|
+
destroy() {
|
|
690
|
+
this.clear();
|
|
691
|
+
if (this._options) this._options = {};
|
|
692
|
+
|
|
693
|
+
if (this._windySlicingRemoveEventListener) {
|
|
694
|
+
//移除监听事件
|
|
695
|
+
this._windySlicingRemoveEventListener && this._windySlicingRemoveEventListener();
|
|
696
|
+
this._windySlicingRemoveEventListener = null;
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
}
|
|
701
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
702
|
+
var util_ = __webpack_require__(3458);
|
|
703
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
704
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
705
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_types/global-event"
|
|
706
|
+
var global_event_ = __webpack_require__(3536);
|
|
707
|
+
var global_event_default = /*#__PURE__*/__webpack_require__.n(global_event_);
|
|
708
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/windyslicing/WindySlicing.vue?vue&type=script&setup=true&lang=js
|
|
709
|
+
|
|
710
|
+
const _hoisted_1 = {
|
|
711
|
+
class: "kq3d-windy-slicing-box"
|
|
712
|
+
};
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
const __default__ = {
|
|
721
|
+
name: "Kq3dWindySlicing"
|
|
722
|
+
};
|
|
723
|
+
/* harmony default export */ var WindySlicingvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
724
|
+
props: {
|
|
725
|
+
mapTarget: String,
|
|
726
|
+
// 设置参数
|
|
727
|
+
settingParams: {
|
|
728
|
+
type: Object
|
|
729
|
+
},
|
|
730
|
+
// 是否显示阴影效果
|
|
731
|
+
showShadow: {
|
|
732
|
+
type: Boolean,
|
|
733
|
+
default: true
|
|
734
|
+
},
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
738
|
+
*/
|
|
739
|
+
position: [String, Object],
|
|
740
|
+
// 是否生成HeaderTemp
|
|
741
|
+
showHeaderTemp: {
|
|
742
|
+
type: Boolean,
|
|
743
|
+
default: false
|
|
744
|
+
},
|
|
745
|
+
// 是否折叠HeaderTemp,showHeaderTemp为true时生效
|
|
746
|
+
isCollapseHeaderTemp: {
|
|
747
|
+
type: Boolean,
|
|
748
|
+
default: false
|
|
749
|
+
},
|
|
750
|
+
// HeaderTemp标题
|
|
751
|
+
headerTempTitle: {
|
|
752
|
+
type: String
|
|
753
|
+
},
|
|
754
|
+
// HeaderTemp图标
|
|
755
|
+
headerTempIcon: {
|
|
756
|
+
type: [Object, String],
|
|
757
|
+
default: client_icons_vue_.IconWindySlicing
|
|
758
|
+
},
|
|
759
|
+
// HeaderTemp Title&Icon的位置
|
|
760
|
+
isRight: {
|
|
761
|
+
type: Boolean,
|
|
762
|
+
default: true
|
|
763
|
+
},
|
|
764
|
+
show: {
|
|
765
|
+
type: Boolean,
|
|
766
|
+
default: true
|
|
767
|
+
}
|
|
768
|
+
},
|
|
769
|
+
|
|
770
|
+
setup(__props, {
|
|
771
|
+
expose: __expose
|
|
772
|
+
}) {
|
|
773
|
+
const props = __props;
|
|
774
|
+
const {
|
|
775
|
+
proxy
|
|
776
|
+
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)(); // 获取组件传参
|
|
777
|
+
|
|
778
|
+
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
779
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
|
|
780
|
+
let enableLayerings = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
|
|
781
|
+
let unit = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("m");
|
|
782
|
+
let showSlicingSetting = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
783
|
+
let showWindySlicing = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(props.show);
|
|
784
|
+
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
785
|
+
collapseValue: props.settingParams?.collapseValue ?? "setting",
|
|
786
|
+
mode: props.settingParams?.mode ?? "",
|
|
787
|
+
// 绘制类型
|
|
788
|
+
slicingType: props.settingParams?.slicingType ?? 1,
|
|
789
|
+
// 显示方式,1为三维面,3为三维体
|
|
790
|
+
showAxis: props.settingParams?.showAxis ?? true,
|
|
791
|
+
// 经纬网显示
|
|
792
|
+
styleType: props.settingParams?.styleType ?? "1",
|
|
793
|
+
// 剖切样式
|
|
794
|
+
enableLayering: props.settingParams?.enableLayering ?? true,
|
|
795
|
+
// 分层显示
|
|
796
|
+
enableLayerings: props.settingParams?.enableLayerings ?? [],
|
|
797
|
+
// 分层数据选中
|
|
798
|
+
layerScale: props.settingParams?.layerScale ?? 300,
|
|
799
|
+
// 分层缩放
|
|
800
|
+
maxLayerScale: props.settingParams?.maxLayerScale ?? 300,
|
|
801
|
+
// 分层缩放最大值
|
|
802
|
+
altitudeControl: props.settingParams?.altitudeControl ?? 50,
|
|
803
|
+
enableLongSection: props.settingParams?.enableLongSection ?? true,
|
|
804
|
+
// 是否启动经度剖面
|
|
805
|
+
longSectionValue: props.settingParams?.longSectionValue ?? 50,
|
|
806
|
+
// 经度剖面值
|
|
807
|
+
enableLatSection: props.settingParams?.enableLatSection ?? true,
|
|
808
|
+
// 是否启动纬度剖面
|
|
809
|
+
latSectionValue: props.settingParams?.latSectionValue ?? 50,
|
|
810
|
+
// 纬度剖面值
|
|
811
|
+
enableHeightSection: props.settingParams?.enableHeightSection ?? true,
|
|
812
|
+
// 高度剖面
|
|
813
|
+
heightSectionValue: props.settingParams?.heightSectionValue ?? 50,
|
|
814
|
+
// 等值面高度
|
|
815
|
+
bodyDissectionAxis: props.settingParams?.bodyDissectionAxis ?? true,
|
|
816
|
+
// 体剖切刻度线
|
|
817
|
+
bodyDissectionAlpha: props.settingParams?.bodyDissectionAlpha ?? 1 //体剖切透明度
|
|
818
|
+
|
|
819
|
+
});
|
|
820
|
+
let viewModel = null; // 组件容器Ref
|
|
821
|
+
|
|
822
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
823
|
+
|
|
824
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
825
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
826
|
+
|
|
827
|
+
let {
|
|
828
|
+
locale,
|
|
829
|
+
messages
|
|
830
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
831
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
832
|
+
headerTempTitle.value = language.value.windySlicingAnalysisTitle;
|
|
833
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
834
|
+
language.value = messages.value[newVal]["webgl"];
|
|
835
|
+
headerTempTitle.value = language.value.windySlicingAnalysisTitle;
|
|
836
|
+
});
|
|
837
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
838
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
839
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
840
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
841
|
+
});
|
|
842
|
+
watchCreateHeaderTemp();
|
|
843
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
844
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.nextTick)(() => {
|
|
845
|
+
watchCreateHeaderTemp();
|
|
846
|
+
});
|
|
847
|
+
});
|
|
848
|
+
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
849
|
+
|
|
850
|
+
gis_utils_.utils.getWebMap(props.mapTarget, scenceView => {
|
|
851
|
+
if (scenceView) {
|
|
852
|
+
viewModel = new WindySlicingViewModel(scenceView, formItem, callbackParams);
|
|
853
|
+
}
|
|
854
|
+
});
|
|
855
|
+
setTimeout(() => {
|
|
856
|
+
global_event_default().on("windyTypeChange", handleWindyTypeChange);
|
|
857
|
+
}, 100);
|
|
858
|
+
});
|
|
859
|
+
/**
|
|
860
|
+
* @description 监听header生成
|
|
861
|
+
*/
|
|
862
|
+
|
|
863
|
+
const watchCreateHeaderTemp = () => {
|
|
864
|
+
if (props.showHeaderTemp) {
|
|
865
|
+
// 生成headerTemp
|
|
866
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
867
|
+
}
|
|
868
|
+
};
|
|
869
|
+
/**
|
|
870
|
+
* @description 当前气象图层类型变化
|
|
871
|
+
* @param {Object} data 气象类型{windyType:WIND}
|
|
872
|
+
*/
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
const handleWindyTypeChange = data => {
|
|
876
|
+
console.log(data);
|
|
877
|
+
clear();
|
|
878
|
+
|
|
879
|
+
if (data?.windyType == "exit") {
|
|
880
|
+
showWindySlicing.value = false;
|
|
881
|
+
return;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
showWindySlicing.value = true;
|
|
885
|
+
viewModel && viewModel.getWindySlicingLayer(data?.guid ?? "");
|
|
886
|
+
};
|
|
887
|
+
|
|
888
|
+
function callbackParams(key, val) {
|
|
889
|
+
console.log(val);
|
|
890
|
+
|
|
891
|
+
switch (key) {
|
|
892
|
+
case "showSlicingSetting":
|
|
893
|
+
showSlicingSetting.value = val;
|
|
894
|
+
break;
|
|
895
|
+
|
|
896
|
+
case "enableLayerings":
|
|
897
|
+
enableLayerings.value = val;
|
|
898
|
+
formItem.enableLayerings = val;
|
|
899
|
+
viewModel._options["enableLayerings"] = val;
|
|
900
|
+
break;
|
|
901
|
+
|
|
902
|
+
case "currentSlicingUnit":
|
|
903
|
+
unit.value = val;
|
|
904
|
+
break;
|
|
905
|
+
|
|
906
|
+
default:
|
|
907
|
+
break;
|
|
908
|
+
}
|
|
909
|
+
} //切换类型
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
function changeMode(mode) {
|
|
913
|
+
if (!viewModel) return;
|
|
914
|
+
|
|
915
|
+
if (formItem.mode !== mode) {
|
|
916
|
+
showSlicingSetting.value = false;
|
|
917
|
+
formItem.mode = mode;
|
|
918
|
+
viewModel._options.mode = formItem.mode;
|
|
919
|
+
viewModel && viewModel.paramsChanged("mode");
|
|
920
|
+
}
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
function paramsChanged(key) {
|
|
924
|
+
if (!viewModel) return; // 统一使用可选链操作符和空值合并运算符处理参数更新
|
|
925
|
+
|
|
926
|
+
viewModel._options[key] = formItem[key];
|
|
927
|
+
viewModel.paramsChanged?.(key); // 使用可选链调用方法
|
|
928
|
+
// 处理 slicingType 的特殊逻辑
|
|
929
|
+
|
|
930
|
+
if (key === "slicingType") {
|
|
931
|
+
const VALID_SLICING_TYPES = {
|
|
932
|
+
1: "1",
|
|
933
|
+
3: "3"
|
|
934
|
+
};
|
|
935
|
+
const newStyleType = VALID_SLICING_TYPES[formItem.slicingType];
|
|
936
|
+
|
|
937
|
+
if (newStyleType) {
|
|
938
|
+
// 同时更新表单数据和 viewModel 配置
|
|
939
|
+
viewModel._options.styleType = formItem.styleType = newStyleType;
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
function clear() {
|
|
945
|
+
showSlicingSetting.value = false;
|
|
946
|
+
viewModel && viewModel.clear();
|
|
947
|
+
} // 销毁
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
951
|
+
viewModel && viewModel.destroy();
|
|
952
|
+
});
|
|
953
|
+
|
|
954
|
+
__expose({
|
|
955
|
+
changeMode,
|
|
956
|
+
paramsChanged,
|
|
957
|
+
clear
|
|
958
|
+
});
|
|
959
|
+
|
|
960
|
+
return (_ctx, _cache) => {
|
|
961
|
+
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
962
|
+
|
|
963
|
+
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
964
|
+
|
|
965
|
+
const _component_kq_radio_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio-button");
|
|
966
|
+
|
|
967
|
+
const _component_kq_radio_group = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio-group");
|
|
968
|
+
|
|
969
|
+
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
970
|
+
|
|
971
|
+
const _component_kq_switch = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-switch");
|
|
972
|
+
|
|
973
|
+
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
974
|
+
|
|
975
|
+
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
976
|
+
|
|
977
|
+
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
978
|
+
|
|
979
|
+
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
980
|
+
|
|
981
|
+
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
982
|
+
|
|
983
|
+
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
984
|
+
|
|
985
|
+
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
986
|
+
|
|
987
|
+
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
988
|
+
|
|
989
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)(((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
990
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-windy-slicing", {
|
|
991
|
+
'kq-box-shadow': __props.showShadow
|
|
992
|
+
}]),
|
|
993
|
+
ref_key: "boxRef",
|
|
994
|
+
ref: boxRef
|
|
995
|
+
}, [__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)), {
|
|
996
|
+
key: 0,
|
|
997
|
+
ref_key: "headerTempRef",
|
|
998
|
+
ref: headerTempRef
|
|
999
|
+
}, null, 512
|
|
1000
|
+
/* NEED_PATCH */
|
|
1001
|
+
)) : (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, {
|
|
1002
|
+
gutter: 20,
|
|
1003
|
+
class: "rowclass"
|
|
1004
|
+
}, {
|
|
1005
|
+
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_button, {
|
|
1006
|
+
icon: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconLocation),
|
|
1007
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(['kq3d-windy-slicing-btn', (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'point' ? 'kq3d-windy-slicing-btn_active' : '']),
|
|
1008
|
+
onClick: _cache[0] || (_cache[0] = $event => changeMode('point')),
|
|
1009
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pointSlicing
|
|
1010
|
+
}, null, 8
|
|
1011
|
+
/* PROPS */
|
|
1012
|
+
, ["icon", "class", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1013
|
+
icon: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconLine),
|
|
1014
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(['kq3d-windy-slicing-btn', (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'line' ? 'kq3d-windy-slicing-btn_active' : '']),
|
|
1015
|
+
onClick: _cache[1] || (_cache[1] = $event => changeMode('line')),
|
|
1016
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).lineSlicing
|
|
1017
|
+
}, null, 8
|
|
1018
|
+
/* PROPS */
|
|
1019
|
+
, ["icon", "class", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1020
|
+
icon: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconPolygon),
|
|
1021
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(['kq3d-windy-slicing-btn', (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'polygon' ? 'kq3d-windy-slicing-btn_active' : '']),
|
|
1022
|
+
onClick: _cache[2] || (_cache[2] = $event => changeMode('polygon')),
|
|
1023
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).polygonSlicing
|
|
1024
|
+
}, null, 8
|
|
1025
|
+
/* PROPS */
|
|
1026
|
+
, ["icon", "class", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1027
|
+
icon: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconPlottingDelete),
|
|
1028
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(['kq3d-windy-slicing-btn', (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'delete' ? 'kq3d-windy-slicing-btn_active' : '']),
|
|
1029
|
+
onClick: _cache[3] || (_cache[3] = $event => changeMode('delete')),
|
|
1030
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
1031
|
+
}, null, 8
|
|
1032
|
+
/* PROPS */
|
|
1033
|
+
, ["icon", "class", "title"])]),
|
|
1034
|
+
_: 1
|
|
1035
|
+
/* STABLE */
|
|
1036
|
+
|
|
1037
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1038
|
+
class: "kq3d-windy-slicing-tip"
|
|
1039
|
+
}, {
|
|
1040
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", {
|
|
1041
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(showSlicingSetting) ? 'margin-bottom:16px' : '')
|
|
1042
|
+
}, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).windySlicingTips), 5
|
|
1043
|
+
/* TEXT, STYLE */
|
|
1044
|
+
)]),
|
|
1045
|
+
_: 1
|
|
1046
|
+
/* STABLE */
|
|
1047
|
+
|
|
1048
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
1049
|
+
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue,
|
|
1050
|
+
class: "kq3d-windy-slicing-collapse"
|
|
1051
|
+
}, {
|
|
1052
|
+
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_collapse_item, {
|
|
1053
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).analysisSettings,
|
|
1054
|
+
name: "setting"
|
|
1055
|
+
}, {
|
|
1056
|
+
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_form, {
|
|
1057
|
+
"label-width": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? '110px' : '160px',
|
|
1058
|
+
"label-position": "left"
|
|
1059
|
+
}, {
|
|
1060
|
+
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, {
|
|
1061
|
+
class: "rowclass"
|
|
1062
|
+
}, {
|
|
1063
|
+
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_form_item, {
|
|
1064
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).slicingType
|
|
1065
|
+
}, {
|
|
1066
|
+
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, {
|
|
1067
|
+
style: {
|
|
1068
|
+
"display": "flex"
|
|
1069
|
+
}
|
|
1070
|
+
}, {
|
|
1071
|
+
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, {
|
|
1072
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slicingType,
|
|
1073
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slicingType = $event),
|
|
1074
|
+
onChange: _cache[5] || (_cache[5] = $event => paramsChanged('slicingType'))
|
|
1075
|
+
}, {
|
|
1076
|
+
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_button, {
|
|
1077
|
+
label: 1
|
|
1078
|
+
}, {
|
|
1079
|
+
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).threeDimensionalSurface), 1
|
|
1080
|
+
/* TEXT */
|
|
1081
|
+
)]),
|
|
1082
|
+
_: 1
|
|
1083
|
+
/* STABLE */
|
|
1084
|
+
|
|
1085
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio_button, {
|
|
1086
|
+
label: 3
|
|
1087
|
+
}, {
|
|
1088
|
+
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).threeDimensional), 1
|
|
1089
|
+
/* TEXT */
|
|
1090
|
+
)]),
|
|
1091
|
+
_: 1
|
|
1092
|
+
/* STABLE */
|
|
1093
|
+
|
|
1094
|
+
})]),
|
|
1095
|
+
_: 1
|
|
1096
|
+
/* STABLE */
|
|
1097
|
+
|
|
1098
|
+
}, 8
|
|
1099
|
+
/* PROPS */
|
|
1100
|
+
, ["modelValue"])]),
|
|
1101
|
+
_: 1
|
|
1102
|
+
/* STABLE */
|
|
1103
|
+
|
|
1104
|
+
})]),
|
|
1105
|
+
_: 1
|
|
1106
|
+
/* STABLE */
|
|
1107
|
+
|
|
1108
|
+
}, 8
|
|
1109
|
+
/* PROPS */
|
|
1110
|
+
, ["label"])]),
|
|
1111
|
+
_: 1
|
|
1112
|
+
/* STABLE */
|
|
1113
|
+
|
|
1114
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1115
|
+
class: "rowclass"
|
|
1116
|
+
}, {
|
|
1117
|
+
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_form_item, {
|
|
1118
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).slicingStyle
|
|
1119
|
+
}, {
|
|
1120
|
+
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, {
|
|
1121
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).styleType,
|
|
1122
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).styleType = $event),
|
|
1123
|
+
onChange: _cache[7] || (_cache[7] = $event => paramsChanged('styleType'))
|
|
1124
|
+
}, {
|
|
1125
|
+
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_.createVNode)(_component_kq_radio_button, {
|
|
1126
|
+
label: "1"
|
|
1127
|
+
}, {
|
|
1128
|
+
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).surfaceStratification), 1
|
|
1129
|
+
/* TEXT */
|
|
1130
|
+
)]),
|
|
1131
|
+
_: 1
|
|
1132
|
+
/* STABLE */
|
|
1133
|
+
|
|
1134
|
+
}, 512
|
|
1135
|
+
/* NEED_PATCH */
|
|
1136
|
+
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slicingType == 1]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio_button, {
|
|
1137
|
+
label: "2"
|
|
1138
|
+
}, {
|
|
1139
|
+
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).surfaceSection), 1
|
|
1140
|
+
/* TEXT */
|
|
1141
|
+
)]),
|
|
1142
|
+
_: 1
|
|
1143
|
+
/* STABLE */
|
|
1144
|
+
|
|
1145
|
+
}, 512
|
|
1146
|
+
/* NEED_PATCH */
|
|
1147
|
+
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slicingType == 1]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio_button, {
|
|
1148
|
+
label: "3"
|
|
1149
|
+
}, {
|
|
1150
|
+
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).bodyDissection), 1
|
|
1151
|
+
/* TEXT */
|
|
1152
|
+
)]),
|
|
1153
|
+
_: 1
|
|
1154
|
+
/* STABLE */
|
|
1155
|
+
|
|
1156
|
+
}, 512
|
|
1157
|
+
/* NEED_PATCH */
|
|
1158
|
+
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slicingType == 3]])]),
|
|
1159
|
+
_: 1
|
|
1160
|
+
/* STABLE */
|
|
1161
|
+
|
|
1162
|
+
}, 8
|
|
1163
|
+
/* PROPS */
|
|
1164
|
+
, ["modelValue"])]),
|
|
1165
|
+
_: 1
|
|
1166
|
+
/* STABLE */
|
|
1167
|
+
|
|
1168
|
+
}, 8
|
|
1169
|
+
/* PROPS */
|
|
1170
|
+
, ["label"])]),
|
|
1171
|
+
_: 1
|
|
1172
|
+
/* STABLE */
|
|
1173
|
+
|
|
1174
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" 面分层设置 "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).styleType === '1' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, {
|
|
1175
|
+
key: 0
|
|
1176
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1177
|
+
class: "rowclass"
|
|
1178
|
+
}, {
|
|
1179
|
+
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_form_item, {
|
|
1180
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).printlatlng
|
|
1181
|
+
}, {
|
|
1182
|
+
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_switch, {
|
|
1183
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).showAxis,
|
|
1184
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).showAxis = $event),
|
|
1185
|
+
onChange: _cache[9] || (_cache[9] = $event => paramsChanged('showAxis'))
|
|
1186
|
+
}, null, 8
|
|
1187
|
+
/* PROPS */
|
|
1188
|
+
, ["modelValue"])]),
|
|
1189
|
+
_: 1
|
|
1190
|
+
/* STABLE */
|
|
1191
|
+
|
|
1192
|
+
}, 8
|
|
1193
|
+
/* PROPS */
|
|
1194
|
+
, ["label"])]),
|
|
1195
|
+
_: 1
|
|
1196
|
+
/* STABLE */
|
|
1197
|
+
|
|
1198
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1199
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableLayering ? 'rowclass' : '')
|
|
1200
|
+
}, {
|
|
1201
|
+
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_form_item, {
|
|
1202
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).layering
|
|
1203
|
+
}, {
|
|
1204
|
+
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_switch, {
|
|
1205
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableLayering,
|
|
1206
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableLayering = $event),
|
|
1207
|
+
onChange: _cache[11] || (_cache[11] = $event => paramsChanged('enableLayering'))
|
|
1208
|
+
}, null, 8
|
|
1209
|
+
/* PROPS */
|
|
1210
|
+
, ["modelValue"])]),
|
|
1211
|
+
_: 1
|
|
1212
|
+
/* STABLE */
|
|
1213
|
+
|
|
1214
|
+
}, 8
|
|
1215
|
+
/* PROPS */
|
|
1216
|
+
, ["label"])]),
|
|
1217
|
+
_: 1
|
|
1218
|
+
/* STABLE */
|
|
1219
|
+
|
|
1220
|
+
}, 8
|
|
1221
|
+
/* PROPS */
|
|
1222
|
+
, ["class"]), (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, {
|
|
1223
|
+
class: "rowclass"
|
|
1224
|
+
}, {
|
|
1225
|
+
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_form_item, {
|
|
1226
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).hierarchicalScaling
|
|
1227
|
+
}, {
|
|
1228
|
+
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, {
|
|
1229
|
+
style: {
|
|
1230
|
+
"display": "flex"
|
|
1231
|
+
}
|
|
1232
|
+
}, {
|
|
1233
|
+
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, {
|
|
1234
|
+
span: 17
|
|
1235
|
+
}, {
|
|
1236
|
+
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, {
|
|
1237
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).layerScale,
|
|
1238
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).layerScale = $event),
|
|
1239
|
+
"show-tooltip": false,
|
|
1240
|
+
step: 1,
|
|
1241
|
+
min: 0,
|
|
1242
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxLayerScale,
|
|
1243
|
+
onChange: _cache[13] || (_cache[13] = $event => paramsChanged('layerScale'))
|
|
1244
|
+
}, null, 8
|
|
1245
|
+
/* PROPS */
|
|
1246
|
+
, ["modelValue", "max"])]),
|
|
1247
|
+
_: 1
|
|
1248
|
+
/* STABLE */
|
|
1249
|
+
|
|
1250
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1251
|
+
span: 7
|
|
1252
|
+
}, {
|
|
1253
|
+
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, {
|
|
1254
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).layerScale,
|
|
1255
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).layerScale = $event),
|
|
1256
|
+
min: 0,
|
|
1257
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxLayerScale,
|
|
1258
|
+
step: 1,
|
|
1259
|
+
"controls-position": "right",
|
|
1260
|
+
onChange: _cache[15] || (_cache[15] = $event => paramsChanged('layerScale'))
|
|
1261
|
+
}, null, 8
|
|
1262
|
+
/* PROPS */
|
|
1263
|
+
, ["modelValue", "max"])]),
|
|
1264
|
+
_: 1
|
|
1265
|
+
/* STABLE */
|
|
1266
|
+
|
|
1267
|
+
})]),
|
|
1268
|
+
_: 1
|
|
1269
|
+
/* STABLE */
|
|
1270
|
+
|
|
1271
|
+
})]),
|
|
1272
|
+
_: 1
|
|
1273
|
+
/* STABLE */
|
|
1274
|
+
|
|
1275
|
+
}, 8
|
|
1276
|
+
/* PROPS */
|
|
1277
|
+
, ["label"])]),
|
|
1278
|
+
_: 1
|
|
1279
|
+
/* STABLE */
|
|
1280
|
+
|
|
1281
|
+
}, 512
|
|
1282
|
+
/* NEED_PATCH */
|
|
1283
|
+
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableLayering]]), (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, null, {
|
|
1284
|
+
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_form_item, {
|
|
1285
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).stratifiedSelection
|
|
1286
|
+
}, {
|
|
1287
|
+
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, null, {
|
|
1288
|
+
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, {
|
|
1289
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableLayerings,
|
|
1290
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableLayerings = $event),
|
|
1291
|
+
multiple: "",
|
|
1292
|
+
"collapse-tags": "",
|
|
1293
|
+
placeholder: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pleaseselect,
|
|
1294
|
+
onChange: _cache[17] || (_cache[17] = $event => paramsChanged('enableLayerings'))
|
|
1295
|
+
}, {
|
|
1296
|
+
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)(enableLayerings), item => {
|
|
1297
|
+
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, {
|
|
1298
|
+
key: item,
|
|
1299
|
+
label: item + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(unit),
|
|
1300
|
+
value: item
|
|
1301
|
+
}, null, 8
|
|
1302
|
+
/* PROPS */
|
|
1303
|
+
, ["label", "value"]);
|
|
1304
|
+
}), 128
|
|
1305
|
+
/* KEYED_FRAGMENT */
|
|
1306
|
+
))]),
|
|
1307
|
+
_: 1
|
|
1308
|
+
/* STABLE */
|
|
1309
|
+
|
|
1310
|
+
}, 8
|
|
1311
|
+
/* PROPS */
|
|
1312
|
+
, ["modelValue", "placeholder"])]),
|
|
1313
|
+
_: 1
|
|
1314
|
+
/* STABLE */
|
|
1315
|
+
|
|
1316
|
+
})]),
|
|
1317
|
+
_: 1
|
|
1318
|
+
/* STABLE */
|
|
1319
|
+
|
|
1320
|
+
}, 8
|
|
1321
|
+
/* PROPS */
|
|
1322
|
+
, ["label"])]),
|
|
1323
|
+
_: 1
|
|
1324
|
+
/* STABLE */
|
|
1325
|
+
|
|
1326
|
+
}, 512
|
|
1327
|
+
/* NEED_PATCH */
|
|
1328
|
+
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableLayering]])], 64
|
|
1329
|
+
/* STABLE_FRAGMENT */
|
|
1330
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" 面剖设置 "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).styleType === '2' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, {
|
|
1331
|
+
key: 1
|
|
1332
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1333
|
+
class: "rowclass"
|
|
1334
|
+
}, {
|
|
1335
|
+
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_form_item, {
|
|
1336
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).altitudeControl
|
|
1337
|
+
}, {
|
|
1338
|
+
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, {
|
|
1339
|
+
style: {
|
|
1340
|
+
"display": "flex"
|
|
1341
|
+
}
|
|
1342
|
+
}, {
|
|
1343
|
+
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, {
|
|
1344
|
+
span: 17
|
|
1345
|
+
}, {
|
|
1346
|
+
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, {
|
|
1347
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).altitudeControl,
|
|
1348
|
+
"onUpdate:modelValue": _cache[18] || (_cache[18] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).altitudeControl = $event),
|
|
1349
|
+
"show-tooltip": false,
|
|
1350
|
+
step: 1,
|
|
1351
|
+
min: 0,
|
|
1352
|
+
max: 100,
|
|
1353
|
+
onChange: _cache[19] || (_cache[19] = $event => paramsChanged('altitudeControl'))
|
|
1354
|
+
}, null, 8
|
|
1355
|
+
/* PROPS */
|
|
1356
|
+
, ["modelValue"])]),
|
|
1357
|
+
_: 1
|
|
1358
|
+
/* STABLE */
|
|
1359
|
+
|
|
1360
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1361
|
+
span: 7
|
|
1362
|
+
}, {
|
|
1363
|
+
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, {
|
|
1364
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).altitudeControl,
|
|
1365
|
+
"onUpdate:modelValue": _cache[20] || (_cache[20] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).altitudeControl = $event),
|
|
1366
|
+
min: 0,
|
|
1367
|
+
max: 100,
|
|
1368
|
+
step: 1,
|
|
1369
|
+
"controls-position": "right",
|
|
1370
|
+
onChange: _cache[21] || (_cache[21] = $event => paramsChanged('altitudeControl'))
|
|
1371
|
+
}, null, 8
|
|
1372
|
+
/* PROPS */
|
|
1373
|
+
, ["modelValue"])]),
|
|
1374
|
+
_: 1
|
|
1375
|
+
/* STABLE */
|
|
1376
|
+
|
|
1377
|
+
})]),
|
|
1378
|
+
_: 1
|
|
1379
|
+
/* STABLE */
|
|
1380
|
+
|
|
1381
|
+
})]),
|
|
1382
|
+
_: 1
|
|
1383
|
+
/* STABLE */
|
|
1384
|
+
|
|
1385
|
+
}, 8
|
|
1386
|
+
/* PROPS */
|
|
1387
|
+
, ["label"])]),
|
|
1388
|
+
_: 1
|
|
1389
|
+
/* STABLE */
|
|
1390
|
+
|
|
1391
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1392
|
+
class: "rowclass"
|
|
1393
|
+
}, {
|
|
1394
|
+
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_form_item, {
|
|
1395
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).longSection
|
|
1396
|
+
}, {
|
|
1397
|
+
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_switch, {
|
|
1398
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableLongSection,
|
|
1399
|
+
"onUpdate:modelValue": _cache[22] || (_cache[22] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableLongSection = $event)
|
|
1400
|
+
}, null, 8
|
|
1401
|
+
/* PROPS */
|
|
1402
|
+
, ["modelValue"])]),
|
|
1403
|
+
_: 1
|
|
1404
|
+
/* STABLE */
|
|
1405
|
+
|
|
1406
|
+
}, 8
|
|
1407
|
+
/* PROPS */
|
|
1408
|
+
, ["label"])]),
|
|
1409
|
+
_: 1
|
|
1410
|
+
/* STABLE */
|
|
1411
|
+
|
|
1412
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1413
|
+
class: "rowclass"
|
|
1414
|
+
}, {
|
|
1415
|
+
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_form_item, {
|
|
1416
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).longSection + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).value
|
|
1417
|
+
}, {
|
|
1418
|
+
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, {
|
|
1419
|
+
style: {
|
|
1420
|
+
"display": "flex"
|
|
1421
|
+
}
|
|
1422
|
+
}, {
|
|
1423
|
+
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, {
|
|
1424
|
+
span: 17
|
|
1425
|
+
}, {
|
|
1426
|
+
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, {
|
|
1427
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValue,
|
|
1428
|
+
"onUpdate:modelValue": _cache[23] || (_cache[23] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValue = $event),
|
|
1429
|
+
"show-tooltip": false,
|
|
1430
|
+
step: 1,
|
|
1431
|
+
min: 0,
|
|
1432
|
+
max: 100,
|
|
1433
|
+
onChange: _cache[24] || (_cache[24] = $event => paramsChanged('longSectionValue'))
|
|
1434
|
+
}, null, 8
|
|
1435
|
+
/* PROPS */
|
|
1436
|
+
, ["modelValue"])]),
|
|
1437
|
+
_: 1
|
|
1438
|
+
/* STABLE */
|
|
1439
|
+
|
|
1440
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1441
|
+
span: 7
|
|
1442
|
+
}, {
|
|
1443
|
+
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, {
|
|
1444
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValue,
|
|
1445
|
+
"onUpdate:modelValue": _cache[25] || (_cache[25] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValue = $event),
|
|
1446
|
+
min: 0,
|
|
1447
|
+
max: 100,
|
|
1448
|
+
step: 1,
|
|
1449
|
+
"controls-position": "right",
|
|
1450
|
+
onChange: _cache[26] || (_cache[26] = $event => paramsChanged('longSectionValue'))
|
|
1451
|
+
}, null, 8
|
|
1452
|
+
/* PROPS */
|
|
1453
|
+
, ["modelValue"])]),
|
|
1454
|
+
_: 1
|
|
1455
|
+
/* STABLE */
|
|
1456
|
+
|
|
1457
|
+
})]),
|
|
1458
|
+
_: 1
|
|
1459
|
+
/* STABLE */
|
|
1460
|
+
|
|
1461
|
+
})]),
|
|
1462
|
+
_: 1
|
|
1463
|
+
/* STABLE */
|
|
1464
|
+
|
|
1465
|
+
}, 8
|
|
1466
|
+
/* PROPS */
|
|
1467
|
+
, ["label"])]),
|
|
1468
|
+
_: 1
|
|
1469
|
+
/* STABLE */
|
|
1470
|
+
|
|
1471
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1472
|
+
class: "rowclass"
|
|
1473
|
+
}, {
|
|
1474
|
+
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_form_item, {
|
|
1475
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).latSection
|
|
1476
|
+
}, {
|
|
1477
|
+
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_switch, {
|
|
1478
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableLatSection,
|
|
1479
|
+
"onUpdate:modelValue": _cache[27] || (_cache[27] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableLatSection = $event)
|
|
1480
|
+
}, null, 8
|
|
1481
|
+
/* PROPS */
|
|
1482
|
+
, ["modelValue"])]),
|
|
1483
|
+
_: 1
|
|
1484
|
+
/* STABLE */
|
|
1485
|
+
|
|
1486
|
+
}, 8
|
|
1487
|
+
/* PROPS */
|
|
1488
|
+
, ["label"])]),
|
|
1489
|
+
_: 1
|
|
1490
|
+
/* STABLE */
|
|
1491
|
+
|
|
1492
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1493
|
+
class: "rowclass"
|
|
1494
|
+
}, {
|
|
1495
|
+
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_form_item, {
|
|
1496
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).latSection + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).value
|
|
1497
|
+
}, {
|
|
1498
|
+
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, {
|
|
1499
|
+
style: {
|
|
1500
|
+
"display": "flex"
|
|
1501
|
+
}
|
|
1502
|
+
}, {
|
|
1503
|
+
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, {
|
|
1504
|
+
span: 17
|
|
1505
|
+
}, {
|
|
1506
|
+
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, {
|
|
1507
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValue,
|
|
1508
|
+
"onUpdate:modelValue": _cache[28] || (_cache[28] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValue = $event),
|
|
1509
|
+
"show-tooltip": false,
|
|
1510
|
+
step: 1,
|
|
1511
|
+
min: 0,
|
|
1512
|
+
max: 100,
|
|
1513
|
+
onChange: _cache[29] || (_cache[29] = $event => paramsChanged('latSectionValue'))
|
|
1514
|
+
}, null, 8
|
|
1515
|
+
/* PROPS */
|
|
1516
|
+
, ["modelValue"])]),
|
|
1517
|
+
_: 1
|
|
1518
|
+
/* STABLE */
|
|
1519
|
+
|
|
1520
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1521
|
+
span: 7
|
|
1522
|
+
}, {
|
|
1523
|
+
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, {
|
|
1524
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValue,
|
|
1525
|
+
"onUpdate:modelValue": _cache[30] || (_cache[30] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValue = $event),
|
|
1526
|
+
min: 0,
|
|
1527
|
+
max: 100,
|
|
1528
|
+
step: 1,
|
|
1529
|
+
"controls-position": "right",
|
|
1530
|
+
onChange: _cache[31] || (_cache[31] = $event => paramsChanged('latSectionValue'))
|
|
1531
|
+
}, null, 8
|
|
1532
|
+
/* PROPS */
|
|
1533
|
+
, ["modelValue"])]),
|
|
1534
|
+
_: 1
|
|
1535
|
+
/* STABLE */
|
|
1536
|
+
|
|
1537
|
+
})]),
|
|
1538
|
+
_: 1
|
|
1539
|
+
/* STABLE */
|
|
1540
|
+
|
|
1541
|
+
})]),
|
|
1542
|
+
_: 1
|
|
1543
|
+
/* STABLE */
|
|
1544
|
+
|
|
1545
|
+
}, 8
|
|
1546
|
+
/* PROPS */
|
|
1547
|
+
, ["label"])]),
|
|
1548
|
+
_: 1
|
|
1549
|
+
/* STABLE */
|
|
1550
|
+
|
|
1551
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1552
|
+
class: "rowclass"
|
|
1553
|
+
}, {
|
|
1554
|
+
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_form_item, {
|
|
1555
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).heightSection
|
|
1556
|
+
}, {
|
|
1557
|
+
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_switch, {
|
|
1558
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableHeightSection,
|
|
1559
|
+
"onUpdate:modelValue": _cache[32] || (_cache[32] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableHeightSection = $event)
|
|
1560
|
+
}, null, 8
|
|
1561
|
+
/* PROPS */
|
|
1562
|
+
, ["modelValue"])]),
|
|
1563
|
+
_: 1
|
|
1564
|
+
/* STABLE */
|
|
1565
|
+
|
|
1566
|
+
}, 8
|
|
1567
|
+
/* PROPS */
|
|
1568
|
+
, ["label"])]),
|
|
1569
|
+
_: 1
|
|
1570
|
+
/* STABLE */
|
|
1571
|
+
|
|
1572
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1573
|
+
class: "rowclass"
|
|
1574
|
+
}, {
|
|
1575
|
+
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_form_item, {
|
|
1576
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).heightSection + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).value
|
|
1577
|
+
}, {
|
|
1578
|
+
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, {
|
|
1579
|
+
style: {
|
|
1580
|
+
"display": "flex"
|
|
1581
|
+
}
|
|
1582
|
+
}, {
|
|
1583
|
+
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, {
|
|
1584
|
+
span: 17
|
|
1585
|
+
}, {
|
|
1586
|
+
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, {
|
|
1587
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heightSectionValue,
|
|
1588
|
+
"onUpdate:modelValue": _cache[33] || (_cache[33] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heightSectionValue = $event),
|
|
1589
|
+
"show-tooltip": false,
|
|
1590
|
+
step: 1,
|
|
1591
|
+
min: 0,
|
|
1592
|
+
max: 100,
|
|
1593
|
+
onChange: _cache[34] || (_cache[34] = $event => paramsChanged('heightSectionValue'))
|
|
1594
|
+
}, null, 8
|
|
1595
|
+
/* PROPS */
|
|
1596
|
+
, ["modelValue"])]),
|
|
1597
|
+
_: 1
|
|
1598
|
+
/* STABLE */
|
|
1599
|
+
|
|
1600
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1601
|
+
span: 7
|
|
1602
|
+
}, {
|
|
1603
|
+
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, {
|
|
1604
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heightSectionValue,
|
|
1605
|
+
"onUpdate:modelValue": _cache[35] || (_cache[35] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heightSectionValue = $event),
|
|
1606
|
+
min: 0,
|
|
1607
|
+
max: 100,
|
|
1608
|
+
step: 1,
|
|
1609
|
+
"controls-position": "right",
|
|
1610
|
+
onChange: _cache[36] || (_cache[36] = $event => paramsChanged('heightSectionValue'))
|
|
1611
|
+
}, null, 8
|
|
1612
|
+
/* PROPS */
|
|
1613
|
+
, ["modelValue"])]),
|
|
1614
|
+
_: 1
|
|
1615
|
+
/* STABLE */
|
|
1616
|
+
|
|
1617
|
+
})]),
|
|
1618
|
+
_: 1
|
|
1619
|
+
/* STABLE */
|
|
1620
|
+
|
|
1621
|
+
})]),
|
|
1622
|
+
_: 1
|
|
1623
|
+
/* STABLE */
|
|
1624
|
+
|
|
1625
|
+
}, 8
|
|
1626
|
+
/* PROPS */
|
|
1627
|
+
, ["label"])]),
|
|
1628
|
+
_: 1
|
|
1629
|
+
/* STABLE */
|
|
1630
|
+
|
|
1631
|
+
})], 64
|
|
1632
|
+
/* STABLE_FRAGMENT */
|
|
1633
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" 提剖切设置 "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slicingType === 3 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, {
|
|
1634
|
+
key: 2
|
|
1635
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1636
|
+
class: "rowclass"
|
|
1637
|
+
}, {
|
|
1638
|
+
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_form_item, {
|
|
1639
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).printlatlng
|
|
1640
|
+
}, {
|
|
1641
|
+
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_switch, {
|
|
1642
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAxis,
|
|
1643
|
+
"onUpdate:modelValue": _cache[37] || (_cache[37] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAxis = $event),
|
|
1644
|
+
onChange: _cache[38] || (_cache[38] = $event => paramsChanged('bodyDissectionAxis'))
|
|
1645
|
+
}, null, 8
|
|
1646
|
+
/* PROPS */
|
|
1647
|
+
, ["modelValue"])]),
|
|
1648
|
+
_: 1
|
|
1649
|
+
/* STABLE */
|
|
1650
|
+
|
|
1651
|
+
}, 8
|
|
1652
|
+
/* PROPS */
|
|
1653
|
+
, ["label"])]),
|
|
1654
|
+
_: 1
|
|
1655
|
+
/* STABLE */
|
|
1656
|
+
|
|
1657
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1658
|
+
class: "rowclass"
|
|
1659
|
+
}, {
|
|
1660
|
+
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_form_item, {
|
|
1661
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).floodAlpha
|
|
1662
|
+
}, {
|
|
1663
|
+
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, {
|
|
1664
|
+
style: {
|
|
1665
|
+
"display": "flex"
|
|
1666
|
+
}
|
|
1667
|
+
}, {
|
|
1668
|
+
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, {
|
|
1669
|
+
span: 16
|
|
1670
|
+
}, {
|
|
1671
|
+
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, {
|
|
1672
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAlpha,
|
|
1673
|
+
"onUpdate:modelValue": _cache[39] || (_cache[39] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAlpha = $event),
|
|
1674
|
+
step: 0.01,
|
|
1675
|
+
min: 0,
|
|
1676
|
+
max: 1,
|
|
1677
|
+
onChange: _cache[40] || (_cache[40] = $event => paramsChanged('bodyDissectionAlpha'))
|
|
1678
|
+
}, null, 8
|
|
1679
|
+
/* PROPS */
|
|
1680
|
+
, ["modelValue", "step"])]),
|
|
1681
|
+
_: 1
|
|
1682
|
+
/* STABLE */
|
|
1683
|
+
|
|
1684
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1685
|
+
span: 8
|
|
1686
|
+
}, {
|
|
1687
|
+
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, {
|
|
1688
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAlpha,
|
|
1689
|
+
"onUpdate:modelValue": _cache[41] || (_cache[41] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAlpha = $event),
|
|
1690
|
+
min: 0,
|
|
1691
|
+
max: 1,
|
|
1692
|
+
step: 0.01,
|
|
1693
|
+
"controls-position": "right",
|
|
1694
|
+
onChange: _cache[42] || (_cache[42] = $event => paramsChanged('bodyDissectionAlpha'))
|
|
1695
|
+
}, null, 8
|
|
1696
|
+
/* PROPS */
|
|
1697
|
+
, ["modelValue", "step"])]),
|
|
1698
|
+
_: 1
|
|
1699
|
+
/* STABLE */
|
|
1700
|
+
|
|
1701
|
+
})]),
|
|
1702
|
+
_: 1
|
|
1703
|
+
/* STABLE */
|
|
1704
|
+
|
|
1705
|
+
})]),
|
|
1706
|
+
_: 1
|
|
1707
|
+
/* STABLE */
|
|
1708
|
+
|
|
1709
|
+
}, 8
|
|
1710
|
+
/* PROPS */
|
|
1711
|
+
, ["label"])]),
|
|
1712
|
+
_: 1
|
|
1713
|
+
/* STABLE */
|
|
1714
|
+
|
|
1715
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1716
|
+
class: "rowclass"
|
|
1717
|
+
}, {
|
|
1718
|
+
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_form_item, {
|
|
1719
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).longitude + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).direction + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clip
|
|
1720
|
+
}, {
|
|
1721
|
+
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, {
|
|
1722
|
+
style: {
|
|
1723
|
+
"display": "flex"
|
|
1724
|
+
}
|
|
1725
|
+
}, {
|
|
1726
|
+
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, {
|
|
1727
|
+
span: 16
|
|
1728
|
+
}, {
|
|
1729
|
+
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, {
|
|
1730
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAlpha,
|
|
1731
|
+
"onUpdate:modelValue": _cache[43] || (_cache[43] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAlpha = $event),
|
|
1732
|
+
step: 1,
|
|
1733
|
+
min: 0,
|
|
1734
|
+
max: 1000,
|
|
1735
|
+
onChange: _cache[44] || (_cache[44] = $event => paramsChanged('bodyDissectionAlpha'))
|
|
1736
|
+
}, null, 8
|
|
1737
|
+
/* PROPS */
|
|
1738
|
+
, ["modelValue"])]),
|
|
1739
|
+
_: 1
|
|
1740
|
+
/* STABLE */
|
|
1741
|
+
|
|
1742
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1743
|
+
span: 8
|
|
1744
|
+
}, {
|
|
1745
|
+
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, {
|
|
1746
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAlpha,
|
|
1747
|
+
"onUpdate:modelValue": _cache[45] || (_cache[45] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAlpha = $event),
|
|
1748
|
+
min: 0,
|
|
1749
|
+
max: 1000,
|
|
1750
|
+
step: 1,
|
|
1751
|
+
"controls-position": "right",
|
|
1752
|
+
onChange: _cache[46] || (_cache[46] = $event => paramsChanged('bodyDissectionAlpha'))
|
|
1753
|
+
}, null, 8
|
|
1754
|
+
/* PROPS */
|
|
1755
|
+
, ["modelValue"])]),
|
|
1756
|
+
_: 1
|
|
1757
|
+
/* STABLE */
|
|
1758
|
+
|
|
1759
|
+
})]),
|
|
1760
|
+
_: 1
|
|
1761
|
+
/* STABLE */
|
|
1762
|
+
|
|
1763
|
+
})]),
|
|
1764
|
+
_: 1
|
|
1765
|
+
/* STABLE */
|
|
1766
|
+
|
|
1767
|
+
}, 8
|
|
1768
|
+
/* PROPS */
|
|
1769
|
+
, ["label"])]),
|
|
1770
|
+
_: 1
|
|
1771
|
+
/* STABLE */
|
|
1772
|
+
|
|
1773
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1774
|
+
class: "rowclass"
|
|
1775
|
+
}, {
|
|
1776
|
+
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_form_item, {
|
|
1777
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).latitude + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).direction + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clip
|
|
1778
|
+
}, {
|
|
1779
|
+
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, {
|
|
1780
|
+
style: {
|
|
1781
|
+
"display": "flex"
|
|
1782
|
+
}
|
|
1783
|
+
}, {
|
|
1784
|
+
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, {
|
|
1785
|
+
span: 16
|
|
1786
|
+
}, {
|
|
1787
|
+
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, {
|
|
1788
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAlpha,
|
|
1789
|
+
"onUpdate:modelValue": _cache[47] || (_cache[47] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAlpha = $event),
|
|
1790
|
+
step: 1,
|
|
1791
|
+
min: 0,
|
|
1792
|
+
max: 1000,
|
|
1793
|
+
onChange: _cache[48] || (_cache[48] = $event => paramsChanged('bodyDissectionAlpha'))
|
|
1794
|
+
}, null, 8
|
|
1795
|
+
/* PROPS */
|
|
1796
|
+
, ["modelValue"])]),
|
|
1797
|
+
_: 1
|
|
1798
|
+
/* STABLE */
|
|
1799
|
+
|
|
1800
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1801
|
+
span: 8
|
|
1802
|
+
}, {
|
|
1803
|
+
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, {
|
|
1804
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAlpha,
|
|
1805
|
+
"onUpdate:modelValue": _cache[49] || (_cache[49] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAlpha = $event),
|
|
1806
|
+
min: 0,
|
|
1807
|
+
max: 1000,
|
|
1808
|
+
step: 1,
|
|
1809
|
+
"controls-position": "right",
|
|
1810
|
+
onChange: _cache[50] || (_cache[50] = $event => paramsChanged('bodyDissectionAlpha'))
|
|
1811
|
+
}, null, 8
|
|
1812
|
+
/* PROPS */
|
|
1813
|
+
, ["modelValue"])]),
|
|
1814
|
+
_: 1
|
|
1815
|
+
/* STABLE */
|
|
1816
|
+
|
|
1817
|
+
})]),
|
|
1818
|
+
_: 1
|
|
1819
|
+
/* STABLE */
|
|
1820
|
+
|
|
1821
|
+
})]),
|
|
1822
|
+
_: 1
|
|
1823
|
+
/* STABLE */
|
|
1824
|
+
|
|
1825
|
+
}, 8
|
|
1826
|
+
/* PROPS */
|
|
1827
|
+
, ["label"])]),
|
|
1828
|
+
_: 1
|
|
1829
|
+
/* STABLE */
|
|
1830
|
+
|
|
1831
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1832
|
+
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_form_item, {
|
|
1833
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).height + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).direction + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clip
|
|
1834
|
+
}, {
|
|
1835
|
+
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, {
|
|
1836
|
+
style: {
|
|
1837
|
+
"display": "flex"
|
|
1838
|
+
}
|
|
1839
|
+
}, {
|
|
1840
|
+
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, {
|
|
1841
|
+
span: 16
|
|
1842
|
+
}, {
|
|
1843
|
+
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, {
|
|
1844
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAlpha,
|
|
1845
|
+
"onUpdate:modelValue": _cache[51] || (_cache[51] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAlpha = $event),
|
|
1846
|
+
step: 1,
|
|
1847
|
+
min: 0,
|
|
1848
|
+
max: 1000,
|
|
1849
|
+
onChange: _cache[52] || (_cache[52] = $event => paramsChanged('bodyDissectionAlpha'))
|
|
1850
|
+
}, null, 8
|
|
1851
|
+
/* PROPS */
|
|
1852
|
+
, ["modelValue"])]),
|
|
1853
|
+
_: 1
|
|
1854
|
+
/* STABLE */
|
|
1855
|
+
|
|
1856
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1857
|
+
span: 8
|
|
1858
|
+
}, {
|
|
1859
|
+
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, {
|
|
1860
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAlpha,
|
|
1861
|
+
"onUpdate:modelValue": _cache[53] || (_cache[53] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAlpha = $event),
|
|
1862
|
+
min: 0,
|
|
1863
|
+
max: 1000,
|
|
1864
|
+
step: 1,
|
|
1865
|
+
"controls-position": "right",
|
|
1866
|
+
onChange: _cache[54] || (_cache[54] = $event => paramsChanged('bodyDissectionAlpha'))
|
|
1867
|
+
}, null, 8
|
|
1868
|
+
/* PROPS */
|
|
1869
|
+
, ["modelValue"])]),
|
|
1870
|
+
_: 1
|
|
1871
|
+
/* STABLE */
|
|
1872
|
+
|
|
1873
|
+
})]),
|
|
1874
|
+
_: 1
|
|
1875
|
+
/* STABLE */
|
|
1876
|
+
|
|
1877
|
+
})]),
|
|
1878
|
+
_: 1
|
|
1879
|
+
/* STABLE */
|
|
1880
|
+
|
|
1881
|
+
}, 8
|
|
1882
|
+
/* PROPS */
|
|
1883
|
+
, ["label"])]),
|
|
1884
|
+
_: 1
|
|
1885
|
+
/* STABLE */
|
|
1886
|
+
|
|
1887
|
+
})], 64
|
|
1888
|
+
/* STABLE_FRAGMENT */
|
|
1889
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
|
|
1890
|
+
_: 1
|
|
1891
|
+
/* STABLE */
|
|
1892
|
+
|
|
1893
|
+
}, 8
|
|
1894
|
+
/* PROPS */
|
|
1895
|
+
, ["label-width"])]),
|
|
1896
|
+
_: 1
|
|
1897
|
+
/* STABLE */
|
|
1898
|
+
|
|
1899
|
+
}, 8
|
|
1900
|
+
/* PROPS */
|
|
1901
|
+
, ["title"])]),
|
|
1902
|
+
_: 1
|
|
1903
|
+
/* STABLE */
|
|
1904
|
+
|
|
1905
|
+
}, 8
|
|
1906
|
+
/* PROPS */
|
|
1907
|
+
, ["model-value"]), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(showSlicingSetting)]])])], 2
|
|
1908
|
+
/* CLASS */
|
|
1909
|
+
)), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(showWindySlicing)]]);
|
|
1910
|
+
};
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1913
|
+
}));
|
|
1914
|
+
;// CONCATENATED MODULE: ./src/webgl/windyslicing/WindySlicing.vue?vue&type=script&setup=true&lang=js
|
|
1915
|
+
|
|
1916
|
+
;// CONCATENATED MODULE: ./src/webgl/windyslicing/WindySlicing.vue
|
|
1917
|
+
|
|
1918
|
+
|
|
1919
|
+
|
|
1920
|
+
const __exports__ = WindySlicingvue_type_script_setup_true_lang_js;
|
|
1921
|
+
|
|
1922
|
+
/* harmony default export */ var WindySlicing = (__exports__);
|
|
1923
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
1924
|
+
var init_js_ = __webpack_require__(7997);
|
|
1925
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
1926
|
+
;// CONCATENATED MODULE: ./src/webgl/windyslicing/index.js
|
|
1927
|
+
/*
|
|
1928
|
+
* @Author: zqp
|
|
1929
|
+
* @Date: 2025-04-01 14:33:01
|
|
1930
|
+
* @LastEditors: zqp
|
|
1931
|
+
* @LastEditTime: 2025-04-02 11:34:14
|
|
1932
|
+
*/
|
|
1933
|
+
|
|
1934
|
+
|
|
1935
|
+
|
|
1936
|
+
|
|
1937
|
+
WindySlicing.install = (Vue, opts) => {
|
|
1938
|
+
init_js_default()(Vue, opts);
|
|
1939
|
+
Vue.component(WindySlicing.name, WindySlicing);
|
|
1940
|
+
};
|
|
1941
|
+
|
|
1942
|
+
|
|
1943
|
+
}();
|
|
1944
|
+
/******/ return __webpack_exports__;
|
|
1945
|
+
/******/ })()
|
|
1946
|
+
;
|
|
1947
|
+
});
|