@kq_npm/client3d_webgl_vue 4.5.30 → 4.5.32
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 +227 -496
- package/aspectanalysis/index.js +71 -182
- package/baseterraingallery/index.js +40 -102
- package/boxclip/index.js +197 -423
- package/clientPrint/index.js +7324 -17727
- package/comparemap/index.js +165 -216
- package/compass/index.js +20 -47
- package/excavatefillanalysis/index.js +101 -206
- package/fixedzoomin/index.js +20 -43
- package/fixedzoomout/index.js +18 -42
- package/flight/index.js +206 -353
- package/floodanalysis/index.js +145 -328
- package/geologicalbodyanalysis/index.js +114 -241
- package/gpuspatialquery/index.js +146 -340
- package/hawkeye/index.js +78 -80
- package/headertemp/index.js +8 -19
- package/heatmap3d/index.js +304 -645
- package/index.js +6896 -17544
- package/isolineanalysis/index.js +451 -1183
- package/light/index.js +308 -486
- package/limitheightanalysis/index.js +107 -204
- package/measure/index.js +145 -331
- package/modelFlat/index.js +114 -183
- package/modelexcavate/index.js +78 -172
- package/modelfilter/index.js +127 -252
- package/modelprofileanalysis/index.js +154 -297
- package/modelselect/index.js +90 -128
- package/package.json +1 -1
- package/particleeffect/index.js +170 -381
- package/planeclip/index.js +146 -281
- package/resetview/index.js +12 -31
- package/roller/index.js +252 -353
- package/scaneffect/index.js +178 -518
- package/sceneadvancedtoimage/index.js +152 -337
- package/sceneapp/index.js +7324 -17727
- package/sceneset/index.js +299 -838
- package/scenetohdimage/index.js +105 -276
- package/sceneview/index.js +7324 -17727
- package/screenshot/index.js +204 -281
- package/shadowanalysis/index.js +175 -386
- package/sightlineanalysis/index.js +135 -245
- package/skylineanalysis/index.js +108 -289
- package/slopeanalysis/index.js +174 -378
- package/slopeaspectanalysis/index.js +206 -466
- package/statusbar/index.js +37 -39
- package/terrainoperation/index.js +124 -218
- package/terrainprofileanalysis/index.js +66 -118
- package/typhoontrac/index.js +208 -330
- package/underground/index.js +16 -40
- package/videofusion/index.js +214 -470
- package/videoproject/index.js +220 -472
- package/viewshedanalysis/index.js +93 -230
- package/weathereffect/index.js +111 -295
- package/windyslicing/index.js +545 -727
- package/wireframesketch/index.js +49 -106
package/windyslicing/index.js
CHANGED
|
@@ -26,6 +26,27 @@ module.exports = require("core-js/modules/es.array.includes.js");
|
|
|
26
26
|
|
|
27
27
|
/***/ }),
|
|
28
28
|
|
|
29
|
+
/***/ 2118:
|
|
30
|
+
/***/ (function(module) {
|
|
31
|
+
|
|
32
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
33
|
+
|
|
34
|
+
/***/ }),
|
|
35
|
+
|
|
36
|
+
/***/ 8470:
|
|
37
|
+
/***/ (function(module) {
|
|
38
|
+
|
|
39
|
+
module.exports = require("core-js/modules/esnext.iterator.constructor.js");
|
|
40
|
+
|
|
41
|
+
/***/ }),
|
|
42
|
+
|
|
43
|
+
/***/ 8697:
|
|
44
|
+
/***/ (function(module) {
|
|
45
|
+
|
|
46
|
+
module.exports = require("core-js/modules/esnext.iterator.find.js");
|
|
47
|
+
|
|
48
|
+
/***/ }),
|
|
49
|
+
|
|
29
50
|
/***/ 7080:
|
|
30
51
|
/***/ (function(module) {
|
|
31
52
|
|
|
@@ -85,7 +106,6 @@ function _defineProperty(obj, key, value) {
|
|
|
85
106
|
} else {
|
|
86
107
|
obj[key] = value;
|
|
87
108
|
}
|
|
88
|
-
|
|
89
109
|
return obj;
|
|
90
110
|
}
|
|
91
111
|
|
|
@@ -181,48 +201,41 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
181
201
|
var defineProperty = __webpack_require__(8270);
|
|
182
202
|
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
183
203
|
var es_array_includes_js_ = __webpack_require__(3600);
|
|
204
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
205
|
+
var es_array_push_js_ = __webpack_require__(2118);
|
|
206
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
207
|
+
var esnext_iterator_constructor_js_ = __webpack_require__(8470);
|
|
208
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.find.js"
|
|
209
|
+
var esnext_iterator_find_js_ = __webpack_require__(8697);
|
|
184
210
|
;// CONCATENATED MODULE: ./src/webgl/windyslicing/WindySlicingViewModel.js
|
|
185
211
|
|
|
186
212
|
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
187
216
|
class WindySlicingViewModel {
|
|
188
|
-
//三维球场景视图对象
|
|
189
|
-
//绘制管理对象
|
|
190
|
-
//绘制完成监听事件
|
|
191
|
-
// 是否线剖切
|
|
192
|
-
// 点剖切
|
|
193
217
|
constructor(scenceView, options, callbackParams) {
|
|
194
218
|
(0,defineProperty/* default */.Z)(this, "_sceneView", null);
|
|
195
|
-
|
|
219
|
+
//三维球场景视图对象
|
|
196
220
|
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
197
|
-
|
|
198
221
|
(0,defineProperty/* default */.Z)(this, "_layerManager", null);
|
|
199
|
-
|
|
200
222
|
(0,defineProperty/* default */.Z)(this, "_options", null);
|
|
201
|
-
|
|
202
223
|
(0,defineProperty/* default */.Z)(this, "_windySlicingDrawManager", null);
|
|
203
|
-
|
|
224
|
+
//绘制管理对象
|
|
204
225
|
(0,defineProperty/* default */.Z)(this, "_windySlicingRemoveEventListener", null);
|
|
205
|
-
|
|
226
|
+
//绘制完成监听事件
|
|
206
227
|
(0,defineProperty/* default */.Z)(this, "_windySlicingLayerconfig", null);
|
|
207
|
-
|
|
208
228
|
(0,defineProperty/* default */.Z)(this, "_windySlicingPolylineHandler", null);
|
|
209
|
-
|
|
210
229
|
(0,defineProperty/* default */.Z)(this, "_isDrawPolyline", false);
|
|
211
|
-
|
|
230
|
+
// 是否线剖切
|
|
212
231
|
(0,defineProperty/* default */.Z)(this, "_pointSlicingHtmlTag", null);
|
|
213
|
-
|
|
232
|
+
// 点剖切
|
|
214
233
|
(0,defineProperty/* default */.Z)(this, "_volumePrimitives", []);
|
|
215
|
-
|
|
216
234
|
(0,defineProperty/* default */.Z)(this, "_volumePrimitive", null);
|
|
217
|
-
|
|
218
235
|
(0,defineProperty/* default */.Z)(this, "_currentVolumeOption", null);
|
|
219
|
-
|
|
220
236
|
(0,defineProperty/* default */.Z)(this, "_currentVolumePosition", null);
|
|
221
|
-
|
|
222
237
|
(0,defineProperty/* default */.Z)(this, "callbackParams", null);
|
|
223
|
-
|
|
224
|
-
(0,defineProperty/* default */.Z)(this, "currentSlicingUnit", "m");
|
|
225
|
-
|
|
238
|
+
(0,defineProperty/* default */.Z)(this, "volumelines", null);
|
|
226
239
|
this._sceneView = scenceView;
|
|
227
240
|
this._layerManager = scenceView._layerManager;
|
|
228
241
|
this._viewer = scenceView._viewer;
|
|
@@ -237,30 +250,20 @@ class WindySlicingViewModel {
|
|
|
237
250
|
that.windySlicingRectangleSlicing(shape.bounds);
|
|
238
251
|
this.callbackParams && this.callbackParams("showSlicingSetting", true);
|
|
239
252
|
}
|
|
240
|
-
|
|
241
253
|
that._windySlicingDrawManager.clear();
|
|
242
254
|
});
|
|
243
255
|
this._windySlicingPolylineHandler = new window.Cesium.ScreenSpaceEventHandler(this._viewer.canvas);
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
|
|
256
|
+
}
|
|
257
|
+
// 参数切换
|
|
247
258
|
paramsChanged(key, val) {
|
|
248
259
|
let that = this;
|
|
249
260
|
if (!this._windySlicingLayerconfig) this.getWindySlicingLayer(this._windySlicingLayerconfig?.guid ?? '');
|
|
250
|
-
|
|
251
261
|
switch (key) {
|
|
252
262
|
case "mode":
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
if (this._volumePrimitive) {
|
|
256
|
-
this._viewer.scene.primitives.remove(this._volumePrimitive);
|
|
257
|
-
|
|
258
|
-
this._volumePrimitive = null;
|
|
259
|
-
}
|
|
260
|
-
|
|
263
|
+
this.removeInputAction();
|
|
264
|
+
this.removeVolumePrimitive();
|
|
261
265
|
if (this._options.mode === "point") {
|
|
262
266
|
this._windySlicingDrawManager.stopDraw();
|
|
263
|
-
|
|
264
267
|
this.drawPolylineHandler();
|
|
265
268
|
} else if (this._options.mode === "line") {
|
|
266
269
|
this.drawPolylineHandler(function (newPositions) {
|
|
@@ -268,7 +271,6 @@ class WindySlicingViewModel {
|
|
|
268
271
|
that.windySlicingPolylineSlicing(newPositions);
|
|
269
272
|
});
|
|
270
273
|
this._isDrawPolyline = true;
|
|
271
|
-
|
|
272
274
|
this._windySlicingDrawManager.startDraw("polyline", {
|
|
273
275
|
clampToGround: true
|
|
274
276
|
});
|
|
@@ -279,40 +281,57 @@ class WindySlicingViewModel {
|
|
|
279
281
|
} else if (this._options.mode === "clear") {
|
|
280
282
|
this.clear();
|
|
281
283
|
}
|
|
282
|
-
|
|
283
284
|
break;
|
|
284
|
-
|
|
285
|
+
case "slicingType":
|
|
286
|
+
this.removeVolumePrimitive();
|
|
287
|
+
if (this._options.slicingType == 1) {
|
|
288
|
+
if (this._options.styleType == "1") {
|
|
289
|
+
if (this._currentVolumePosition) this.windySlicingRectangleSlicing(this._currentVolumePosition);
|
|
290
|
+
}
|
|
291
|
+
} else {
|
|
292
|
+
this.windyVoxelsSingleSlicing();
|
|
293
|
+
}
|
|
294
|
+
break;
|
|
295
|
+
case "styleType":
|
|
296
|
+
this.removeVolumePrimitive();
|
|
297
|
+
if (this._options.styleType == "1") {
|
|
298
|
+
if (this._currentVolumePosition) this.windySlicingRectangleSlicing(this._currentVolumePosition);
|
|
299
|
+
} else {
|
|
300
|
+
if (this._currentVolumePosition) {
|
|
301
|
+
this.windySlicingSurfaceSection(this._currentVolumePosition, this._windySlicingLayerconfig);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
break;
|
|
285
305
|
case "showAxis":
|
|
286
306
|
if (this._volumePrimitive) this._volumePrimitive.showAxis(this._options[key]);
|
|
287
307
|
break;
|
|
288
|
-
|
|
289
|
-
case "slicingType":
|
|
290
|
-
this.windyVoxelsSingleSlicing();
|
|
291
|
-
break;
|
|
292
|
-
|
|
293
308
|
case "enableLayering":
|
|
294
309
|
case "enableLayerings":
|
|
295
310
|
if (this._volumePrimitive) this.setEnableLayeringVisible();
|
|
296
311
|
break;
|
|
297
|
-
|
|
298
312
|
case "layerScale":
|
|
299
313
|
if (this._volumePrimitive) this._volumePrimitive.scale = this._options[key];
|
|
300
314
|
break;
|
|
301
|
-
|
|
315
|
+
case "altitudeControl":
|
|
316
|
+
this.removeVolumePrimitive();
|
|
317
|
+
if (this._currentVolumePosition) {
|
|
318
|
+
let layerConfig = JSON.parse(JSON.stringify(this._windySlicingLayerconfig));
|
|
319
|
+
this.windySlicingSurfaceSection(this._currentVolumePosition, Object.assign(layerConfig, {
|
|
320
|
+
zValues: val
|
|
321
|
+
}));
|
|
322
|
+
}
|
|
323
|
+
break;
|
|
302
324
|
case "destroy":
|
|
303
325
|
this.destroy();
|
|
304
326
|
break;
|
|
305
|
-
|
|
306
327
|
default:
|
|
307
328
|
break;
|
|
308
329
|
}
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
|
|
330
|
+
}
|
|
331
|
+
// 分层显隐
|
|
312
332
|
setEnableLayeringVisible() {
|
|
313
|
-
let zValues = this._windySlicingLayerconfig?.
|
|
333
|
+
let zValues = this._windySlicingLayerconfig?.zValues;
|
|
314
334
|
let zVisibles = [];
|
|
315
|
-
|
|
316
335
|
if (this._options?.enableLayering) {
|
|
317
336
|
for (let i = 0; i < zValues.length; i++) {
|
|
318
337
|
if (this._options?.enableLayerings?.includes(zValues[i])) {
|
|
@@ -321,13 +340,11 @@ class WindySlicingViewModel {
|
|
|
321
340
|
zVisibles.push(false);
|
|
322
341
|
}
|
|
323
342
|
}
|
|
324
|
-
|
|
325
|
-
this._volumePrimitive.updateVisibles(this.currentSlicingUnit == 'hpa' ? zVisibles.reverse() : zVisibles);
|
|
343
|
+
this._volumePrimitive.updateVisibles(this._windySlicingLayerconfig.unit == 'hpa' ? zVisibles.reverse() : zVisibles);
|
|
326
344
|
} else {
|
|
327
345
|
for (let i = zValues.length; i > 0; i--) {
|
|
328
346
|
zVisibles.push(false);
|
|
329
347
|
}
|
|
330
|
-
|
|
331
348
|
this._volumePrimitive.updateVisibles(zVisibles);
|
|
332
349
|
}
|
|
333
350
|
}
|
|
@@ -336,62 +353,70 @@ class WindySlicingViewModel {
|
|
|
336
353
|
* @param {string} [guid] 可选图层guid
|
|
337
354
|
* @returns {Object|null} 图层配置对象或null
|
|
338
355
|
*/
|
|
339
|
-
|
|
340
|
-
|
|
341
356
|
getWindySlicingLayer(guid) {
|
|
342
357
|
// 参数校验:确保guid为有效字符串
|
|
343
|
-
const isValidGuid = typeof guid === 'string' && guid.trim() !== '';
|
|
358
|
+
const isValidGuid = typeof guid === 'string' && guid.trim() !== '';
|
|
344
359
|
|
|
345
|
-
|
|
360
|
+
// 获取图层配置逻辑
|
|
361
|
+
this._windySlicingLayerconfig = isValidGuid ? this._layerManager.getLayerDataByGuid(guid) || null : this._layerManager._layerListData?.find(element => element?.addType === 'kqgisweatherserver') || null;
|
|
346
362
|
|
|
363
|
+
// 可选:添加调试信息或错误处理
|
|
347
364
|
if (!this._windySlicingLayerconfig) {
|
|
348
365
|
console.warn('未找到匹配的气象剖切图层配置');
|
|
349
366
|
}
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
367
|
+
this._windySlicingLayerconfig.groups = this._layerManager._windyViewModel?._PRODUCT_CONFIG[this._windySlicingLayerconfig?.params?.productType]?.groups ?? [];
|
|
368
|
+
this._windySlicingLayerconfig.colors = this._layerManager._windyViewModel?._PRODUCT_CONFIG[this._windySlicingLayerconfig?.params?.productType]?.colors ?? [];
|
|
369
|
+
this._windySlicingLayerconfig.ranges = this._layerManager._windyViewModel?._PRODUCT_CONFIG[this._windySlicingLayerconfig?.params?.productType]?.ranges ?? [];
|
|
370
|
+
this._windySlicingLayerconfig.unit = "m";
|
|
371
|
+
if (this._windySlicingLayerconfig.groups.includes("AIR_PRESSURE")) {
|
|
372
|
+
this._windySlicingLayerconfig.unit = "hpa";
|
|
355
373
|
}
|
|
356
|
-
|
|
357
|
-
this.callbackParams && this.callbackParams("
|
|
358
|
-
this.callbackParams && this.callbackParams("currentSlicingUnit", this.currentSlicingUnit);
|
|
374
|
+
this._windySlicingLayerconfig.zValues = this._windySlicingLayerconfig?.zValues ?? this._windySlicingLayerconfig?.params?.zValues ?? [];
|
|
375
|
+
this.callbackParams && this.callbackParams("slicingLayerConfig", this._windySlicingLayerconfig);
|
|
359
376
|
return this._windySlicingLayerconfig;
|
|
360
377
|
}
|
|
361
|
-
|
|
378
|
+
// 清除剖切分析实例
|
|
379
|
+
removeVolumePrimitive() {
|
|
380
|
+
if (this._volumePrimitive) {
|
|
381
|
+
this._viewer.scene.primitives.remove(this._volumePrimitive);
|
|
382
|
+
this._volumePrimitive = null;
|
|
383
|
+
}
|
|
384
|
+
if (this._volumePrimitive1) {
|
|
385
|
+
this._viewer.scene.primitives.remove(this._volumePrimitive1);
|
|
386
|
+
this._volumePrimitive1 = null;
|
|
387
|
+
}
|
|
388
|
+
if (this._volumePrimitive2) {
|
|
389
|
+
this._viewer.scene.primitives.remove(this._volumePrimitive2);
|
|
390
|
+
this._volumePrimitive2 = null;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
// 清除左右鼠标点击事件及弹框
|
|
362
394
|
removeInputAction() {
|
|
363
395
|
if (this._windySlicingPolylineHandler) {
|
|
364
396
|
this._windySlicingPolylineHandler.removeInputAction(window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
365
|
-
|
|
366
397
|
this._windySlicingPolylineHandler.removeInputAction(window.Cesium.ScreenSpaceEventType.RIGHT_CLICK);
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
|
|
398
|
+
}
|
|
399
|
+
//清除
|
|
370
400
|
if (this._pointSlicingHtmlTag) {
|
|
371
401
|
this._pointSlicingHtmlTag.destroy();
|
|
372
402
|
}
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
|
|
403
|
+
}
|
|
404
|
+
// 两点绘制线结果
|
|
376
405
|
drawPolylineHandler(callback) {
|
|
377
406
|
let that = this;
|
|
378
407
|
let activeShapePoints = [];
|
|
379
|
-
|
|
380
408
|
this._windySlicingPolylineHandler.setInputAction(function (event) {
|
|
381
409
|
if (that._isDrawPolyline) {
|
|
382
410
|
let earthPosition = that._viewer.scene.pickPosition(event.position);
|
|
383
|
-
|
|
384
411
|
if (window.Cesium.defined(earthPosition)) {
|
|
385
|
-
activeShapePoints.push(earthPosition);
|
|
386
|
-
|
|
412
|
+
activeShapePoints.push(earthPosition);
|
|
413
|
+
//单线分析结果显示
|
|
387
414
|
if (activeShapePoints.length == 2) {
|
|
388
415
|
that._windySlicingDrawManager.stopDraw();
|
|
389
|
-
|
|
390
416
|
that.removeInputAction();
|
|
391
417
|
var newPositions = [];
|
|
392
418
|
activeShapePoints.forEach(position => {
|
|
393
419
|
var newPosition = that._windySlicingDrawManager.transformPosition(position);
|
|
394
|
-
|
|
395
420
|
newPositions.push({
|
|
396
421
|
x: newPosition[0],
|
|
397
422
|
y: newPosition[1]
|
|
@@ -402,11 +427,9 @@ class WindySlicingViewModel {
|
|
|
402
427
|
}
|
|
403
428
|
} else {
|
|
404
429
|
let cartographic = that._viewer.scene.globe.ellipsoid.cartesianToCartographic(that._viewer.camera.pickEllipsoid(event.position, that._viewer.scene.globe.ellipsoid));
|
|
405
|
-
|
|
406
430
|
that.getPointSlicingData(cartographic);
|
|
407
431
|
}
|
|
408
432
|
}, window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
409
|
-
|
|
410
433
|
if (!that._isDrawPolyline) {
|
|
411
434
|
that._windySlicingPolylineHandler.setInputAction(function (event) {
|
|
412
435
|
that.removeInputAction();
|
|
@@ -417,19 +440,11 @@ class WindySlicingViewModel {
|
|
|
417
440
|
* 获取点的气象数据
|
|
418
441
|
* @param {string} [guid] cartographic拾取的点
|
|
419
442
|
*/
|
|
420
|
-
|
|
421
|
-
|
|
422
443
|
getPointSlicingData(cartographic) {
|
|
423
444
|
let that = this;
|
|
424
445
|
let X = window.Cesium.Math.toDegrees(cartographic.longitude);
|
|
425
446
|
let Y = window.Cesium.Math.toDegrees(cartographic.latitude);
|
|
426
|
-
let
|
|
427
|
-
let unit = 'm';
|
|
428
|
-
|
|
429
|
-
if (groups.includes("AIR_PRESSURE")) {
|
|
430
|
-
unit = "hpa";
|
|
431
|
-
}
|
|
432
|
-
|
|
447
|
+
let unit = this._windySlicingLayerconfig.unit;
|
|
433
448
|
let data = {
|
|
434
449
|
"collectionName": that._windySlicingLayerconfig?.params?.layer,
|
|
435
450
|
"point": {
|
|
@@ -438,45 +453,35 @@ class WindySlicingViewModel {
|
|
|
438
453
|
},
|
|
439
454
|
"geoSRS": "EPSG:4326",
|
|
440
455
|
type: 1
|
|
441
|
-
};
|
|
442
|
-
|
|
456
|
+
};
|
|
457
|
+
//清除
|
|
443
458
|
if (this._pointSlicingHtmlTag) {
|
|
444
459
|
this._pointSlicingHtmlTag.destroy();
|
|
445
460
|
}
|
|
446
|
-
|
|
447
461
|
let url = this._windySlicingLayerconfig?.url.replaceAll("/wmts", "").replace("/image", "/image/identify");
|
|
448
462
|
const xhr = new XMLHttpRequest();
|
|
449
463
|
xhr.open('POST', url);
|
|
450
464
|
xhr.setRequestHeader('Content-Type', 'application/json');
|
|
451
|
-
|
|
452
465
|
xhr.onload = function () {
|
|
453
466
|
if (xhr.status >= 200 && xhr.status < 300) {
|
|
454
467
|
const data = JSON.parse(xhr.responseText);
|
|
455
|
-
|
|
456
468
|
if (data) {
|
|
457
469
|
let val;
|
|
458
470
|
let getAllVal = data.result.RasterNameValue;
|
|
459
|
-
|
|
460
471
|
if (that._windySlicingLayerconfig?.params?.layer === 'wind_5' || that._windySlicingLayerconfig?.params?.layer === 'current_global_5') {
|
|
461
472
|
let U = getAllVal[0].value; //经度
|
|
462
|
-
|
|
463
473
|
let V = getAllVal[1].value; //维度
|
|
464
|
-
|
|
465
474
|
let directVal = that.direction(U, V);
|
|
466
475
|
let unitName = that._windySlicingLayerconfig?.params?.layer === 'wind_5' ? '风' : '';
|
|
467
476
|
val = directVal.direct + unitName + ' ' + directVal.speed.toFixed(2);
|
|
468
477
|
} else if (that._windySlicingLayerconfig?.params?.layer === 'hailang') {
|
|
469
478
|
let hldirectVal = that.direction(null, null, getAllVal[4].value); //波浪平均方向
|
|
470
|
-
|
|
471
479
|
let period = Number(getAllVal[2].value).toFixed(); // 海洋表面温湿度平均周期
|
|
472
|
-
|
|
473
480
|
let alt = Number(getAllVal[0].value).toFixed(); //风浪高度
|
|
474
|
-
|
|
475
481
|
val = hldirectVal.direct + ' ' + '周期' + ' ' + period + 's' + ' ' + alt;
|
|
476
482
|
} else {
|
|
477
483
|
val = Number(getAllVal[0].value);
|
|
478
484
|
}
|
|
479
|
-
|
|
480
485
|
let value = val + ' ' + unit;
|
|
481
486
|
that.setWindySlicingPointData(value, cartographic); //显示拾取数据
|
|
482
487
|
}
|
|
@@ -484,11 +489,9 @@ class WindySlicingViewModel {
|
|
|
484
489
|
console.error('Request error:', xhr.statusText);
|
|
485
490
|
}
|
|
486
491
|
};
|
|
487
|
-
|
|
488
492
|
xhr.onerror = function () {
|
|
489
493
|
console.error('Request error!');
|
|
490
494
|
};
|
|
491
|
-
|
|
492
495
|
xhr.send(JSON.stringify(data));
|
|
493
496
|
}
|
|
494
497
|
/**
|
|
@@ -496,16 +499,14 @@ class WindySlicingViewModel {
|
|
|
496
499
|
* @param {*} val 数值
|
|
497
500
|
* @param {*} position 坐标
|
|
498
501
|
*/
|
|
499
|
-
|
|
500
|
-
|
|
501
502
|
setWindySlicingPointData(val, position) {
|
|
502
503
|
let myposition = window.Cesium.Cartesian3.fromRadians(position.longitude, position.latitude, position.height);
|
|
503
504
|
let html = `<div class="pickClass" style="">
|
|
504
505
|
<div style="display: block;position: absolute;left: 0px;right: 0;width: 2px;height: 140px;background: rgba(68,65,65,.84)">
|
|
505
506
|
<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
507
|
</div>
|
|
507
|
-
</div>`;
|
|
508
|
-
|
|
508
|
+
</div>`;
|
|
509
|
+
// 点标注
|
|
509
510
|
this._pointSlicingHtmlTag = new window.Cesium.Kq3dHtmlTag(this._viewer, {
|
|
510
511
|
html: html,
|
|
511
512
|
position: myposition,
|
|
@@ -514,16 +515,13 @@ class WindySlicingViewModel {
|
|
|
514
515
|
// 设置标注的偏移量
|
|
515
516
|
noEvent: false
|
|
516
517
|
});
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
getSlicingParams(position) {
|
|
518
|
+
}
|
|
519
|
+
// 重构剖切参数
|
|
520
|
+
getSlicingParams(position, params) {
|
|
521
521
|
this._currentVolumePosition = position;
|
|
522
522
|
if (!this._windySlicingLayerconfig) return;
|
|
523
|
-
let
|
|
524
|
-
|
|
525
|
-
let colors = proConfig[this._windySlicingLayerconfig?.params?.productType]?.colors;
|
|
526
|
-
let ranges = proConfig[this._windySlicingLayerconfig?.params?.productType]?.ranges;
|
|
523
|
+
let colors = this._windySlicingLayerconfig?.colors ?? [];
|
|
524
|
+
let ranges = this._windySlicingLayerconfig?.ranges ?? [];
|
|
527
525
|
let img = colors && this.generateImage(colors);
|
|
528
526
|
if (!img) return;
|
|
529
527
|
this._currentVolumeOption = {
|
|
@@ -532,50 +530,42 @@ class WindySlicingViewModel {
|
|
|
532
530
|
collectionName: this._windySlicingLayerconfig?.params?.layer,
|
|
533
531
|
image: img,
|
|
534
532
|
// 高度偏移
|
|
535
|
-
offset:
|
|
533
|
+
offset: 10000,
|
|
536
534
|
// 高度放大比例
|
|
537
|
-
scale: this.
|
|
538
|
-
unit: this.
|
|
535
|
+
scale: this._windySlicingLayerconfig.unit == 'hpa' ? 18 : 300,
|
|
536
|
+
unit: this._windySlicingLayerconfig.unit,
|
|
539
537
|
attrRange: [ranges[0], ranges[ranges.length - 1]],
|
|
540
538
|
varName: this._windySlicingLayerconfig?.params?.varNames
|
|
541
539
|
};
|
|
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);
|
|
540
|
+
return new Cesium.Kq3dGridVolumeProvider(Object.assign({}, this._currentVolumeOption, params || {}));
|
|
550
541
|
}
|
|
551
542
|
/**
|
|
552
543
|
* 创建线剖切
|
|
553
544
|
* @param {Object} polyline 绘制的线坐标数据
|
|
554
545
|
*/
|
|
555
|
-
|
|
556
|
-
|
|
557
546
|
windySlicingPolylineSlicing(polyline) {
|
|
558
|
-
this.getSlicingParams(polyline);
|
|
559
|
-
|
|
560
|
-
this._volumePrimitive
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
547
|
+
this._volumePrimitive = this.getSlicingParams(polyline);
|
|
548
|
+
let that = this;
|
|
549
|
+
if (!this._volumePrimitive || !this._volumePrimitive.readyPromise) return;
|
|
550
|
+
this._volumePrimitive.readyPromise.then(() => {
|
|
551
|
+
that._volumePrimitive.showSection(polyline);
|
|
552
|
+
});
|
|
553
|
+
this.setViewEntity(calculateBoundingBox(polyline));
|
|
554
|
+
// 核心计算方法
|
|
565
555
|
function calculateBoundingBox(points) {
|
|
566
556
|
// 初始化边界值
|
|
567
557
|
let minX = Infinity,
|
|
568
|
-
|
|
558
|
+
maxX = -Infinity;
|
|
569
559
|
let minY = Infinity,
|
|
570
|
-
|
|
560
|
+
maxY = -Infinity;
|
|
571
561
|
|
|
562
|
+
// 遍历所有坐标点
|
|
572
563
|
for (const point of points) {
|
|
573
564
|
minX = Math.min(minX, point.x);
|
|
574
565
|
maxX = Math.max(maxX, point.x);
|
|
575
566
|
minY = Math.min(minY, point.y);
|
|
576
567
|
maxY = Math.max(maxY, point.y);
|
|
577
568
|
}
|
|
578
|
-
|
|
579
569
|
return {
|
|
580
570
|
minX: minX,
|
|
581
571
|
// 西经(最小经度)
|
|
@@ -584,47 +574,171 @@ class WindySlicingViewModel {
|
|
|
584
574
|
minY: minY,
|
|
585
575
|
// 南纬(最小纬度)
|
|
586
576
|
maxY: maxY // 北纬(最大纬度)
|
|
587
|
-
|
|
588
577
|
};
|
|
589
578
|
}
|
|
590
579
|
}
|
|
591
580
|
/**
|
|
592
|
-
*
|
|
581
|
+
* 面剖切-面分层
|
|
593
582
|
* @param {Object} rect 矩形四至
|
|
594
583
|
*/
|
|
595
|
-
|
|
596
|
-
|
|
597
584
|
windySlicingRectangleSlicing(rect) {
|
|
598
|
-
this.getSlicingParams(rect);
|
|
599
|
-
|
|
600
|
-
this._volumePrimitive.
|
|
601
|
-
|
|
585
|
+
this._volumePrimitive = this.getSlicingParams(rect);
|
|
586
|
+
let that = this;
|
|
587
|
+
if (!this._volumePrimitive || !this._volumePrimitive.readyPromise) return;
|
|
588
|
+
this._volumePrimitive.readyPromise.then(() => {
|
|
589
|
+
that._volumePrimitive.showSections(rect);
|
|
590
|
+
});
|
|
591
|
+
this.setViewEntity(rect);
|
|
592
|
+
}
|
|
593
|
+
/**
|
|
594
|
+
* 面剖切-面剖
|
|
595
|
+
* @param {Object} rect 矩形四至
|
|
596
|
+
*/
|
|
597
|
+
windySlicingSurfaceSection(rect, data) {
|
|
598
|
+
let options = {};
|
|
599
|
+
let zValues = JSON.parse(JSON.stringify(data.zValues));
|
|
600
|
+
if (!zValues || zValues?.length == 0) {
|
|
601
|
+
zValues = JSON.parse(JSON.stringify(data.ranges));
|
|
602
|
+
}
|
|
603
|
+
let index = zValues.length - 1;
|
|
604
|
+
if (data.unit != 'hpa') {
|
|
605
|
+
// options.isReverse = true;
|
|
606
|
+
index = 0;
|
|
607
|
+
zValues = zValues.sort((a, b) => a - b);
|
|
608
|
+
} else {
|
|
609
|
+
zValues = zValues.sort((a, b) => b - a);
|
|
610
|
+
}
|
|
611
|
+
options.zValues = zValues;
|
|
612
|
+
options.showAxis = true;
|
|
613
|
+
this._volumePrimitive = this.getSlicingParams(rect, options);
|
|
614
|
+
let that = this;
|
|
615
|
+
if (!this._volumePrimitive || !this._volumePrimitive.readyPromise) return;
|
|
616
|
+
this._volumePrimitive.readyPromise.then(() => {
|
|
617
|
+
if (typeof index != 'undefined') {
|
|
618
|
+
that._volumePrimitive.showPolygonSection(rect, index);
|
|
619
|
+
} else {
|
|
620
|
+
that._volumePrimitive.showPolygonSection(rect);
|
|
621
|
+
}
|
|
622
|
+
});
|
|
623
|
+
let options1 = JSON.parse(JSON.stringify(options));
|
|
624
|
+
this.volumelines = this.createXYVolume(this.getRectangle(rect));
|
|
625
|
+
options1.showAxis = false;
|
|
626
|
+
this._volumePrimitive1 = this.getSlicingParams(rect, options1);
|
|
627
|
+
if (!this._volumePrimitive1 || !this._volumePrimitive1.readyPromise) return;
|
|
628
|
+
this._volumePrimitive1.readyPromise.then(() => {
|
|
629
|
+
that._volumePrimitive1.showSection(that.volumelines?.volumeLine1);
|
|
630
|
+
});
|
|
631
|
+
this._volumePrimitive2 = this.getSlicingParams(rect, options1);
|
|
632
|
+
if (!this._volumePrimitive2 || !this._volumePrimitive2.readyPromise) return;
|
|
633
|
+
this._volumePrimitive2.readyPromise.then(() => {
|
|
634
|
+
that._volumePrimitive2.showSection(that.volumelines?.volumeLine2);
|
|
635
|
+
});
|
|
602
636
|
this.setViewEntity(rect);
|
|
603
|
-
}
|
|
637
|
+
}
|
|
638
|
+
getRectangle(rect) {
|
|
639
|
+
if (typeof rect == 'string') {
|
|
640
|
+
rect = JSON.parse(rect);
|
|
641
|
+
}
|
|
642
|
+
let rectangle = new Cesium.Rectangle(Cesium.Math.toRadians(rect.minX), Cesium.Math.toRadians(rect.minY), Cesium.Math.toRadians(rect.maxX), Cesium.Math.toRadians(rect.maxY));
|
|
643
|
+
return rectangle;
|
|
644
|
+
}
|
|
645
|
+
createXYVolume(rectangle) {
|
|
646
|
+
// 获取矩形的四个角点
|
|
647
|
+
var southwest = Cesium.Rectangle.southwest(rectangle); // 西南角经纬度
|
|
648
|
+
var northwest = Cesium.Rectangle.northwest(rectangle); // 西北角经纬度
|
|
649
|
+
var northeast = Cesium.Rectangle.northeast(rectangle); // 东北角经纬度
|
|
650
|
+
var southeast = Cesium.Rectangle.southeast(rectangle); // 东南角经纬度
|
|
651
|
+
let line1 = [];
|
|
652
|
+
let line2 = [];
|
|
653
|
+
let line3 = [];
|
|
654
|
+
let line4 = [];
|
|
655
|
+
// 上线
|
|
656
|
+
line1.push({
|
|
657
|
+
longitude: northeast.longitude / Math.PI * 180,
|
|
658
|
+
latitude: northeast.latitude / Math.PI * 180
|
|
659
|
+
});
|
|
660
|
+
line1.push({
|
|
661
|
+
longitude: northwest.longitude / Math.PI * 180,
|
|
662
|
+
latitude: northwest.latitude / Math.PI * 180
|
|
663
|
+
});
|
|
604
664
|
|
|
665
|
+
// 下线
|
|
666
|
+
line2.push({
|
|
667
|
+
longitude: southeast.longitude / Math.PI * 180,
|
|
668
|
+
latitude: southeast.latitude / Math.PI * 180
|
|
669
|
+
});
|
|
670
|
+
line2.push({
|
|
671
|
+
longitude: southwest.longitude / Math.PI * 180,
|
|
672
|
+
latitude: southwest.latitude / Math.PI * 180
|
|
673
|
+
});
|
|
674
|
+
// 左线
|
|
675
|
+
line3.push({
|
|
676
|
+
longitude: northeast.longitude / Math.PI * 180,
|
|
677
|
+
latitude: northeast.latitude / Math.PI * 180
|
|
678
|
+
});
|
|
679
|
+
line3.push({
|
|
680
|
+
longitude: southeast.longitude / Math.PI * 180,
|
|
681
|
+
latitude: southeast.latitude / Math.PI * 180
|
|
682
|
+
});
|
|
683
|
+
// 右线
|
|
684
|
+
line4.push({
|
|
685
|
+
longitude: northwest.longitude / Math.PI * 180,
|
|
686
|
+
latitude: northwest.latitude / Math.PI * 180
|
|
687
|
+
});
|
|
688
|
+
line4.push({
|
|
689
|
+
longitude: southwest.longitude / Math.PI * 180,
|
|
690
|
+
latitude: southwest.latitude / Math.PI * 180
|
|
691
|
+
});
|
|
692
|
+
let volumeLine1 = [],
|
|
693
|
+
volumeLine2 = [];
|
|
694
|
+
volumeLine1.push(this.getLineCenter(line1[0], line1[1]));
|
|
695
|
+
volumeLine1.push(this.getLineCenter(line2[0], line2[1]));
|
|
696
|
+
volumeLine2.push(this.getLineCenter(line3[0], line3[1]));
|
|
697
|
+
volumeLine2.push(this.getLineCenter(line4[0], line4[1]));
|
|
698
|
+
return {
|
|
699
|
+
line1,
|
|
700
|
+
line2,
|
|
701
|
+
line3,
|
|
702
|
+
line4,
|
|
703
|
+
volumeLine1,
|
|
704
|
+
volumeLine2
|
|
705
|
+
};
|
|
706
|
+
}
|
|
707
|
+
// 获取线段中心点
|
|
708
|
+
getLineCenter(startPoint, endPoint) {
|
|
709
|
+
startPoint = Cesium.Cartesian3.fromDegrees(startPoint.longitude, startPoint.latitude);
|
|
710
|
+
endPoint = Cesium.Cartesian3.fromDegrees(endPoint.longitude, endPoint.latitude);
|
|
711
|
+
// 计算线段中心点
|
|
712
|
+
let centerPoint = Cesium.Cartesian3.add(startPoint, endPoint, new Cesium.Cartesian3());
|
|
713
|
+
centerPoint = Cesium.Cartesian3.divideByScalar(centerPoint, 2.0, new Cesium.Cartesian3());
|
|
714
|
+
|
|
715
|
+
// 将中心点转换为经纬度
|
|
716
|
+
let centerPointCartographic = Cesium.Cartographic.fromCartesian(centerPoint);
|
|
717
|
+
let centerPointLatLon = {
|
|
718
|
+
y: Cesium.Math.toDegrees(centerPointCartographic.latitude),
|
|
719
|
+
x: Cesium.Math.toDegrees(centerPointCartographic.longitude)
|
|
720
|
+
};
|
|
721
|
+
return centerPointLatLon;
|
|
722
|
+
}
|
|
605
723
|
|
|
724
|
+
// 体剖切
|
|
606
725
|
windyVoxelsSingleSlicing() {
|
|
607
726
|
if (!Cesium.Kq3dGridVoxelsSingleProviderExt) {
|
|
608
727
|
console.log("Kq3dGridVoxelsSingleProviderExt class cannot be empty");
|
|
609
728
|
return;
|
|
610
729
|
}
|
|
611
|
-
|
|
612
|
-
if (this._volumePrimitive) {
|
|
613
|
-
this._viewer.scene.primitives.remove(this._volumePrimitive);
|
|
614
|
-
|
|
615
|
-
this._volumePrimitive = null;
|
|
616
|
-
}
|
|
617
|
-
|
|
618
730
|
if (this._currentVolumeOption && this._currentVolumePosition) {
|
|
619
|
-
this._volumePrimitive = new Cesium.Kq3dGridVoxelsSingleProviderExt(this.
|
|
620
|
-
this
|
|
731
|
+
this._volumePrimitive = new Cesium.Kq3dGridVoxelsSingleProviderExt(this._currentVolumeOption);
|
|
732
|
+
let that = this;
|
|
733
|
+
if (!this._volumePrimitive || !this._volumePrimitive.readyPromise) return;
|
|
734
|
+
this._volumePrimitive.readyPromise.then(() => {
|
|
735
|
+
that._volumePrimitive.showVoxels(that._currentVolumePosition);
|
|
736
|
+
});
|
|
621
737
|
}
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
|
|
738
|
+
}
|
|
739
|
+
// 设置entity视角缩放
|
|
625
740
|
setViewEntity(rect) {
|
|
626
741
|
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
742
|
let entity = this._viewer.entities.add({
|
|
629
743
|
name: 'Blue translucent, rotated, and extruded ellipse with outline',
|
|
630
744
|
rectangle: {
|
|
@@ -632,7 +746,6 @@ class WindySlicingViewModel {
|
|
|
632
746
|
material: Cesium.Color.RED.withAlpha(0)
|
|
633
747
|
}
|
|
634
748
|
});
|
|
635
|
-
|
|
636
749
|
this._viewer.flyTo(entity, {
|
|
637
750
|
duration: 1,
|
|
638
751
|
offset: {
|
|
@@ -641,62 +754,56 @@ class WindySlicingViewModel {
|
|
|
641
754
|
range: 1100000
|
|
642
755
|
}
|
|
643
756
|
});
|
|
644
|
-
|
|
645
757
|
setTimeout(() => {
|
|
646
758
|
this._viewer.entities.remove(entity);
|
|
647
759
|
}, 1000);
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
|
|
760
|
+
}
|
|
761
|
+
// 根据颜色表生成图片
|
|
651
762
|
generateImage(colors) {
|
|
652
763
|
var canvas = document.createElement('canvas');
|
|
653
|
-
var context = canvas.getContext('2d');
|
|
654
|
-
|
|
764
|
+
var context = canvas.getContext('2d');
|
|
765
|
+
// 设置画布大小为500x300像素
|
|
655
766
|
canvas.width = 434;
|
|
656
|
-
canvas.height = 27;
|
|
657
|
-
|
|
658
|
-
var scale = 1 / (colors.length - 1);
|
|
659
|
-
|
|
767
|
+
canvas.height = 27;
|
|
768
|
+
// 计算每个颜色所占据的区域大小
|
|
769
|
+
var scale = 1 / (colors.length - 1);
|
|
770
|
+
// 创建一个线性渐变
|
|
660
771
|
const gradient = context.createLinearGradient(0, 0, canvas.width, canvas.height);
|
|
661
772
|
gradient.addColorStop(0, colors[0]); // 渐变开始的颜色
|
|
662
773
|
// 绘制颜色条形
|
|
663
|
-
|
|
664
774
|
for (let i = 1; i < colors.length; i++) {
|
|
665
775
|
gradient.addColorStop(i * scale, colors[i]);
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
|
|
776
|
+
}
|
|
777
|
+
// 填充渐变
|
|
669
778
|
context.fillStyle = gradient;
|
|
670
779
|
context.fillRect(0, 0, canvas.width, canvas.height);
|
|
671
780
|
var imageDataUrl = canvas.toDataURL('image/png');
|
|
672
781
|
return imageDataUrl;
|
|
673
|
-
}
|
|
674
|
-
|
|
782
|
+
}
|
|
675
783
|
|
|
784
|
+
//清除
|
|
676
785
|
clear() {
|
|
677
|
-
|
|
786
|
+
this.removeVolumePrimitive();
|
|
678
787
|
this.removeInputAction();
|
|
679
788
|
this._isDrawPolyline = false;
|
|
680
|
-
this._viewer.scene.globe.showGroundAtmosphere = true;
|
|
681
|
-
this._viewer.scene.screenSpaceCameraController.maximumZoomDistance = Number.POSITIVE_INFINITY;
|
|
682
|
-
|
|
683
789
|
this._windySlicingDrawManager.stopDraw();
|
|
684
|
-
|
|
685
790
|
this._windySlicingDrawManager.clear();
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
791
|
+
this._currentVolumePosition = null;
|
|
792
|
+
this._currentVolumeOption = null;
|
|
793
|
+
this.volumelines = null;
|
|
794
|
+
}
|
|
795
|
+
//销毁
|
|
689
796
|
destroy() {
|
|
690
797
|
this.clear();
|
|
691
798
|
if (this._options) this._options = {};
|
|
692
|
-
|
|
693
799
|
if (this._windySlicingRemoveEventListener) {
|
|
694
800
|
//移除监听事件
|
|
695
801
|
this._windySlicingRemoveEventListener && this._windySlicingRemoveEventListener();
|
|
696
802
|
this._windySlicingRemoveEventListener = null;
|
|
697
803
|
}
|
|
804
|
+
this._viewer.scene.globe.showGroundAtmosphere = true;
|
|
805
|
+
this._viewer.scene.screenSpaceCameraController.maximumZoomDistance = Number.POSITIVE_INFINITY;
|
|
698
806
|
}
|
|
699
|
-
|
|
700
807
|
}
|
|
701
808
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
702
809
|
var util_ = __webpack_require__(3458);
|
|
@@ -732,7 +839,6 @@ const __default__ = {
|
|
|
732
839
|
type: Boolean,
|
|
733
840
|
default: true
|
|
734
841
|
},
|
|
735
|
-
|
|
736
842
|
/**
|
|
737
843
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
738
844
|
*/
|
|
@@ -766,14 +872,14 @@ const __default__ = {
|
|
|
766
872
|
default: true
|
|
767
873
|
}
|
|
768
874
|
},
|
|
769
|
-
|
|
770
875
|
setup(__props, {
|
|
771
876
|
expose: __expose
|
|
772
877
|
}) {
|
|
773
878
|
const props = __props;
|
|
774
879
|
const {
|
|
775
880
|
proxy
|
|
776
|
-
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
881
|
+
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
882
|
+
// 获取组件传参
|
|
777
883
|
|
|
778
884
|
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
779
885
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
|
|
@@ -800,30 +906,44 @@ const __default__ = {
|
|
|
800
906
|
maxLayerScale: props.settingParams?.maxLayerScale ?? 300,
|
|
801
907
|
// 分层缩放最大值
|
|
802
908
|
altitudeControl: props.settingParams?.altitudeControl ?? 50,
|
|
909
|
+
// 高度控制
|
|
910
|
+
maxAltitudeControl: props.settingParams?.maxAltitudeControl ?? 100,
|
|
911
|
+
// 高度控制
|
|
803
912
|
enableLongSection: props.settingParams?.enableLongSection ?? true,
|
|
804
913
|
// 是否启动经度剖面
|
|
805
914
|
longSectionValue: props.settingParams?.longSectionValue ?? 50,
|
|
806
915
|
// 经度剖面值
|
|
916
|
+
longSectionValueStep: 1,
|
|
917
|
+
longSectionValueMin: 1,
|
|
918
|
+
longSectionValueMax: 10,
|
|
807
919
|
enableLatSection: props.settingParams?.enableLatSection ?? true,
|
|
808
920
|
// 是否启动纬度剖面
|
|
809
921
|
latSectionValue: props.settingParams?.latSectionValue ?? 50,
|
|
810
922
|
// 纬度剖面值
|
|
923
|
+
latSectionValueStep: 1,
|
|
924
|
+
latSectionValueMin: 1,
|
|
925
|
+
latSectionValueMax: 10,
|
|
811
926
|
enableHeightSection: props.settingParams?.enableHeightSection ?? true,
|
|
812
927
|
// 高度剖面
|
|
928
|
+
heightSectionValueMax: 10,
|
|
929
|
+
//高度剖面最大值
|
|
813
930
|
heightSectionValue: props.settingParams?.heightSectionValue ?? 50,
|
|
814
931
|
// 等值面高度
|
|
815
932
|
bodyDissectionAxis: props.settingParams?.bodyDissectionAxis ?? true,
|
|
816
933
|
// 体剖切刻度线
|
|
817
934
|
bodyDissectionAlpha: props.settingParams?.bodyDissectionAlpha ?? 1 //体剖切透明度
|
|
818
|
-
|
|
819
935
|
});
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
936
|
+
// 创建深度复制
|
|
937
|
+
let formItemDef = JSON.parse(JSON.stringify(formItem));
|
|
938
|
+
delete formItemDef.collapseValue;
|
|
939
|
+
let viewModel = null;
|
|
940
|
+
// 组件容器Ref
|
|
941
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
942
|
+
// 生成组件默认header
|
|
824
943
|
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)();
|
|
944
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
826
945
|
|
|
946
|
+
// 国际化
|
|
827
947
|
let {
|
|
828
948
|
locale,
|
|
829
949
|
messages
|
|
@@ -846,7 +966,6 @@ const __default__ = {
|
|
|
846
966
|
});
|
|
847
967
|
});
|
|
848
968
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
849
|
-
|
|
850
969
|
gis_utils_.utils.getWebMap(props.mapTarget, scenceView => {
|
|
851
970
|
if (scenceView) {
|
|
852
971
|
viewModel = new WindySlicingViewModel(scenceView, formItem, callbackParams);
|
|
@@ -859,7 +978,6 @@ const __default__ = {
|
|
|
859
978
|
/**
|
|
860
979
|
* @description 监听header生成
|
|
861
980
|
*/
|
|
862
|
-
|
|
863
981
|
const watchCreateHeaderTemp = () => {
|
|
864
982
|
if (props.showHeaderTemp) {
|
|
865
983
|
// 生成headerTemp
|
|
@@ -870,122 +988,123 @@ const __default__ = {
|
|
|
870
988
|
* @description 当前气象图层类型变化
|
|
871
989
|
* @param {Object} data 气象类型{windyType:WIND}
|
|
872
990
|
*/
|
|
873
|
-
|
|
874
|
-
|
|
875
991
|
const handleWindyTypeChange = data => {
|
|
876
|
-
console.log(data);
|
|
877
992
|
clear();
|
|
878
|
-
|
|
993
|
+
Object.assign(formItem, formItemDef);
|
|
879
994
|
if (data?.windyType == "exit") {
|
|
880
995
|
showWindySlicing.value = false;
|
|
881
996
|
return;
|
|
882
997
|
}
|
|
883
|
-
|
|
884
998
|
showWindySlicing.value = true;
|
|
885
999
|
viewModel && viewModel.getWindySlicingLayer(data?.guid ?? "");
|
|
886
1000
|
};
|
|
887
|
-
|
|
888
1001
|
function callbackParams(key, val) {
|
|
889
1002
|
console.log(val);
|
|
890
|
-
|
|
891
1003
|
switch (key) {
|
|
892
1004
|
case "showSlicingSetting":
|
|
893
1005
|
showSlicingSetting.value = val;
|
|
894
1006
|
break;
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
1007
|
+
case "slicingLayerConfig":
|
|
1008
|
+
if (!Array.isArray(val.zValues) || val.zValues.length === 0) {
|
|
1009
|
+
showWindySlicing.value = false;
|
|
1010
|
+
} else {
|
|
1011
|
+
showWindySlicing.value = true;
|
|
1012
|
+
enableLayerings.value = val.zValues;
|
|
1013
|
+
formItem.enableLayerings = val.zValues;
|
|
1014
|
+
viewModel._options["enableLayerings"] = val.zValues;
|
|
1015
|
+
formItem.altitudeControl = val.zValues.length;
|
|
1016
|
+
formItem.maxAltitudeControl = val.zValues.length;
|
|
1017
|
+
}
|
|
1018
|
+
unit.value = val.unit;
|
|
904
1019
|
break;
|
|
905
|
-
|
|
906
1020
|
default:
|
|
907
1021
|
break;
|
|
908
1022
|
}
|
|
909
|
-
}
|
|
910
|
-
|
|
911
|
-
|
|
1023
|
+
}
|
|
1024
|
+
//切换类型
|
|
912
1025
|
function changeMode(mode) {
|
|
913
1026
|
if (!viewModel) return;
|
|
914
|
-
|
|
915
1027
|
if (formItem.mode !== mode) {
|
|
916
1028
|
showSlicingSetting.value = false;
|
|
917
1029
|
formItem.mode = mode;
|
|
918
1030
|
viewModel._options.mode = formItem.mode;
|
|
919
1031
|
viewModel && viewModel.paramsChanged("mode");
|
|
1032
|
+
if (mode == "delete") {
|
|
1033
|
+
Object.assign(formItem, formItemDef);
|
|
1034
|
+
}
|
|
920
1035
|
}
|
|
921
1036
|
}
|
|
922
|
-
|
|
923
1037
|
function paramsChanged(key) {
|
|
924
|
-
if (!viewModel) return;
|
|
925
|
-
|
|
1038
|
+
if (!viewModel) return;
|
|
926
1039
|
viewModel._options[key] = formItem[key];
|
|
927
|
-
viewModel.paramsChanged?.(key); // 使用可选链调用方法
|
|
928
1040
|
// 处理 slicingType 的特殊逻辑
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
1041
|
+
let defaultValues = null;
|
|
1042
|
+
switch (key) {
|
|
1043
|
+
case "slicingType":
|
|
1044
|
+
const VALID_SLICING_TYPES = {
|
|
1045
|
+
1: "1",
|
|
1046
|
+
3: "3"
|
|
1047
|
+
};
|
|
1048
|
+
const newStyleType = VALID_SLICING_TYPES[formItem.slicingType];
|
|
1049
|
+
if (newStyleType) {
|
|
1050
|
+
viewModel._options.styleType = formItem.styleType = newStyleType;
|
|
1051
|
+
}
|
|
1052
|
+
break;
|
|
1053
|
+
case "altitudeControl":
|
|
1054
|
+
let gdzValues = enableLayerings.value.slice(0, formItem.altitudeControl);
|
|
1055
|
+
formItem.heightSectionValueMax = gdzValues.length;
|
|
1056
|
+
defaultValues = gdzValues;
|
|
1057
|
+
if (!viewModel?.volumelines) return;
|
|
1058
|
+
let jdValue = Math.abs(viewModel?.volumelines.line1[0].longitude - viewModel?.volumelines.line1[1].longitude);
|
|
1059
|
+
jdValue = jdValue.toFixed(3);
|
|
1060
|
+
formItem.longSectionValueStep = jdValue / 100;
|
|
1061
|
+
formItem.longSectionValueMin = -(jdValue / 2);
|
|
1062
|
+
formItem.longSectionValueMax = jdValue / 2;
|
|
1063
|
+
formItem.longSectionValue = 0;
|
|
1064
|
+
let wdValue = Math.abs(viewModel?.volumelines.line4[0].latitude - viewModel?.volumelines.line4[1].latitude);
|
|
1065
|
+
wdValue = wdValue.toFixed(3);
|
|
1066
|
+
formItem.latSectionValueStep = wdValue / 100;
|
|
1067
|
+
formItem.latSectionValueMin = -(wdValue / 2);
|
|
1068
|
+
formItem.latSectionValueMax = wdValue / 2;
|
|
1069
|
+
formItem.latSectionValue = 0;
|
|
1070
|
+
break;
|
|
1071
|
+
default:
|
|
1072
|
+
break;
|
|
941
1073
|
}
|
|
1074
|
+
viewModel.paramsChanged?.(key, defaultValues); // 使用可选链调用方法
|
|
942
1075
|
}
|
|
943
|
-
|
|
944
1076
|
function clear() {
|
|
945
1077
|
showSlicingSetting.value = false;
|
|
946
1078
|
viewModel && viewModel.clear();
|
|
947
|
-
}
|
|
948
|
-
|
|
949
|
-
|
|
1079
|
+
}
|
|
1080
|
+
// 显示提示信息
|
|
1081
|
+
function formatTooltip(val) {
|
|
1082
|
+
return enableLayerings.value[val - 1] + unit.value;
|
|
1083
|
+
}
|
|
1084
|
+
// 销毁
|
|
950
1085
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
951
1086
|
viewModel && viewModel.destroy();
|
|
952
1087
|
});
|
|
953
|
-
|
|
954
1088
|
__expose({
|
|
955
1089
|
changeMode,
|
|
956
1090
|
paramsChanged,
|
|
957
1091
|
clear
|
|
958
1092
|
});
|
|
959
|
-
|
|
960
1093
|
return (_ctx, _cache) => {
|
|
961
1094
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
962
|
-
|
|
963
1095
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
964
|
-
|
|
965
1096
|
const _component_kq_radio_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio-button");
|
|
966
|
-
|
|
967
1097
|
const _component_kq_radio_group = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio-group");
|
|
968
|
-
|
|
969
1098
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
970
|
-
|
|
971
1099
|
const _component_kq_switch = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-switch");
|
|
972
|
-
|
|
973
1100
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
974
|
-
|
|
975
1101
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
976
|
-
|
|
977
1102
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
978
|
-
|
|
979
1103
|
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
980
|
-
|
|
981
1104
|
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
982
|
-
|
|
983
1105
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
984
|
-
|
|
985
1106
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
986
|
-
|
|
987
1107
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
988
|
-
|
|
989
1108
|
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
1109
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-windy-slicing", {
|
|
991
1110
|
'kq-box-shadow': __props.showShadow
|
|
@@ -996,9 +1115,7 @@ const __default__ = {
|
|
|
996
1115
|
key: 0,
|
|
997
1116
|
ref_key: "headerTempRef",
|
|
998
1117
|
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, {
|
|
1118
|
+
}, null, 512 /* NEED_PATCH */)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1002
1119
|
gutter: 20,
|
|
1003
1120
|
class: "rowclass"
|
|
1004
1121
|
}, {
|
|
@@ -1007,44 +1124,30 @@ const __default__ = {
|
|
|
1007
1124
|
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
1125
|
onClick: _cache[0] || (_cache[0] = $event => changeMode('point')),
|
|
1009
1126
|
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, {
|
|
1127
|
+
}, null, 8 /* PROPS */, ["icon", "class", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1013
1128
|
icon: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconLine),
|
|
1014
1129
|
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
1130
|
onClick: _cache[1] || (_cache[1] = $event => changeMode('line')),
|
|
1016
1131
|
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, {
|
|
1132
|
+
}, null, 8 /* PROPS */, ["icon", "class", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1020
1133
|
icon: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconPolygon),
|
|
1021
1134
|
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
1135
|
onClick: _cache[2] || (_cache[2] = $event => changeMode('polygon')),
|
|
1023
1136
|
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, {
|
|
1137
|
+
}, null, 8 /* PROPS */, ["icon", "class", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1027
1138
|
icon: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconPlottingDelete),
|
|
1028
1139
|
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
1140
|
onClick: _cache[3] || (_cache[3] = $event => changeMode('delete')),
|
|
1030
1141
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
1031
|
-
}, null, 8
|
|
1032
|
-
/*
|
|
1033
|
-
, ["icon", "class", "title"])]),
|
|
1034
|
-
_: 1
|
|
1035
|
-
/* STABLE */
|
|
1036
|
-
|
|
1142
|
+
}, null, 8 /* PROPS */, ["icon", "class", "title"])]),
|
|
1143
|
+
_: 1 /* STABLE */
|
|
1037
1144
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1038
1145
|
class: "kq3d-windy-slicing-tip"
|
|
1039
1146
|
}, {
|
|
1040
1147
|
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
1148
|
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
|
-
/*
|
|
1044
|
-
)]),
|
|
1045
|
-
_: 1
|
|
1046
|
-
/* STABLE */
|
|
1047
|
-
|
|
1149
|
+
}, (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 /* TEXT, STYLE */)]),
|
|
1150
|
+
_: 1 /* STABLE */
|
|
1048
1151
|
}), (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
1152
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue,
|
|
1050
1153
|
class: "kq3d-windy-slicing-collapse"
|
|
@@ -1076,41 +1179,21 @@ const __default__ = {
|
|
|
1076
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_radio_button, {
|
|
1077
1180
|
label: 1
|
|
1078
1181
|
}, {
|
|
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
|
-
/*
|
|
1081
|
-
)]),
|
|
1082
|
-
_: 1
|
|
1083
|
-
/* STABLE */
|
|
1084
|
-
|
|
1182
|
+
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 /* TEXT */)]),
|
|
1183
|
+
_: 1 /* STABLE */
|
|
1085
1184
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio_button, {
|
|
1086
1185
|
label: 3
|
|
1087
1186
|
}, {
|
|
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
|
-
/*
|
|
1090
|
-
)]),
|
|
1091
|
-
_: 1
|
|
1092
|
-
/* STABLE */
|
|
1093
|
-
|
|
1187
|
+
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 /* TEXT */)]),
|
|
1188
|
+
_: 1 /* STABLE */
|
|
1094
1189
|
})]),
|
|
1095
|
-
_: 1
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
}, 8
|
|
1099
|
-
/* PROPS */
|
|
1100
|
-
, ["modelValue"])]),
|
|
1101
|
-
_: 1
|
|
1102
|
-
/* STABLE */
|
|
1103
|
-
|
|
1190
|
+
_: 1 /* STABLE */
|
|
1191
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
1192
|
+
_: 1 /* STABLE */
|
|
1104
1193
|
})]),
|
|
1105
|
-
_: 1
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
}, 8
|
|
1109
|
-
/* PROPS */
|
|
1110
|
-
, ["label"])]),
|
|
1111
|
-
_: 1
|
|
1112
|
-
/* STABLE */
|
|
1113
|
-
|
|
1194
|
+
_: 1 /* STABLE */
|
|
1195
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1196
|
+
_: 1 /* STABLE */
|
|
1114
1197
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1115
1198
|
class: "rowclass"
|
|
1116
1199
|
}, {
|
|
@@ -1125,52 +1208,24 @@ const __default__ = {
|
|
|
1125
1208
|
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
1209
|
label: "1"
|
|
1127
1210
|
}, {
|
|
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
|
-
/*
|
|
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, {
|
|
1211
|
+
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 /* TEXT */)]),
|
|
1212
|
+
_: 1 /* STABLE */
|
|
1213
|
+
}, 512 /* NEED_PATCH */), [[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
1214
|
label: "2"
|
|
1138
1215
|
}, {
|
|
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
|
-
/*
|
|
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, {
|
|
1216
|
+
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 /* TEXT */)]),
|
|
1217
|
+
_: 1 /* STABLE */
|
|
1218
|
+
}, 512 /* NEED_PATCH */), [[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
1219
|
label: "3"
|
|
1149
1220
|
}, {
|
|
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
|
-
/*
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
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
|
-
|
|
1221
|
+
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 /* TEXT */)]),
|
|
1222
|
+
_: 1 /* STABLE */
|
|
1223
|
+
}, 512 /* NEED_PATCH */), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slicingType == 3]])]),
|
|
1224
|
+
_: 1 /* STABLE */
|
|
1225
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
1226
|
+
_: 1 /* STABLE */
|
|
1227
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1228
|
+
_: 1 /* STABLE */
|
|
1174
1229
|
}), (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
1230
|
key: 0
|
|
1176
1231
|
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
@@ -1183,18 +1238,10 @@ const __default__ = {
|
|
|
1183
1238
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).showAxis,
|
|
1184
1239
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).showAxis = $event),
|
|
1185
1240
|
onChange: _cache[9] || (_cache[9] = $event => paramsChanged('showAxis'))
|
|
1186
|
-
}, null, 8
|
|
1187
|
-
/*
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
/* STABLE */
|
|
1191
|
-
|
|
1192
|
-
}, 8
|
|
1193
|
-
/* PROPS */
|
|
1194
|
-
, ["label"])]),
|
|
1195
|
-
_: 1
|
|
1196
|
-
/* STABLE */
|
|
1197
|
-
|
|
1241
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
1242
|
+
_: 1 /* STABLE */
|
|
1243
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1244
|
+
_: 1 /* STABLE */
|
|
1198
1245
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1199
1246
|
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
1247
|
}, {
|
|
@@ -1205,21 +1252,11 @@ const __default__ = {
|
|
|
1205
1252
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableLayering,
|
|
1206
1253
|
"onUpdate:modelValue": _cache[10] || (_cache[10] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableLayering = $event),
|
|
1207
1254
|
onChange: _cache[11] || (_cache[11] = $event => paramsChanged('enableLayering'))
|
|
1208
|
-
}, null, 8
|
|
1209
|
-
/*
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
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, {
|
|
1255
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
1256
|
+
_: 1 /* STABLE */
|
|
1257
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1258
|
+
_: 1 /* STABLE */
|
|
1259
|
+
}, 8 /* PROPS */, ["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
1260
|
class: "rowclass"
|
|
1224
1261
|
}, {
|
|
1225
1262
|
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, {
|
|
@@ -1241,12 +1278,8 @@ const __default__ = {
|
|
|
1241
1278
|
min: 0,
|
|
1242
1279
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxLayerScale,
|
|
1243
1280
|
onChange: _cache[13] || (_cache[13] = $event => paramsChanged('layerScale'))
|
|
1244
|
-
}, null, 8
|
|
1245
|
-
/*
|
|
1246
|
-
, ["modelValue", "max"])]),
|
|
1247
|
-
_: 1
|
|
1248
|
-
/* STABLE */
|
|
1249
|
-
|
|
1281
|
+
}, null, 8 /* PROPS */, ["modelValue", "max"])]),
|
|
1282
|
+
_: 1 /* STABLE */
|
|
1250
1283
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1251
1284
|
span: 7
|
|
1252
1285
|
}, {
|
|
@@ -1258,29 +1291,15 @@ const __default__ = {
|
|
|
1258
1291
|
step: 1,
|
|
1259
1292
|
"controls-position": "right",
|
|
1260
1293
|
onChange: _cache[15] || (_cache[15] = $event => paramsChanged('layerScale'))
|
|
1261
|
-
}, null, 8
|
|
1262
|
-
/*
|
|
1263
|
-
, ["modelValue", "max"])]),
|
|
1264
|
-
_: 1
|
|
1265
|
-
/* STABLE */
|
|
1266
|
-
|
|
1294
|
+
}, null, 8 /* PROPS */, ["modelValue", "max"])]),
|
|
1295
|
+
_: 1 /* STABLE */
|
|
1267
1296
|
})]),
|
|
1268
|
-
_: 1
|
|
1269
|
-
/* STABLE */
|
|
1270
|
-
|
|
1297
|
+
_: 1 /* STABLE */
|
|
1271
1298
|
})]),
|
|
1272
|
-
_: 1
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
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, {
|
|
1299
|
+
_: 1 /* STABLE */
|
|
1300
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1301
|
+
_: 1 /* STABLE */
|
|
1302
|
+
}, 512 /* NEED_PATCH */), [[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
1303
|
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
1304
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).stratifiedSelection
|
|
1286
1305
|
}, {
|
|
@@ -1298,36 +1317,16 @@ const __default__ = {
|
|
|
1298
1317
|
key: item,
|
|
1299
1318
|
label: item + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(unit),
|
|
1300
1319
|
value: item
|
|
1301
|
-
}, null, 8
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
))]),
|
|
1307
|
-
_: 1
|
|
1308
|
-
/* STABLE */
|
|
1309
|
-
|
|
1310
|
-
}, 8
|
|
1311
|
-
/* PROPS */
|
|
1312
|
-
, ["modelValue", "placeholder"])]),
|
|
1313
|
-
_: 1
|
|
1314
|
-
/* STABLE */
|
|
1315
|
-
|
|
1320
|
+
}, null, 8 /* PROPS */, ["label", "value"]);
|
|
1321
|
+
}), 128 /* KEYED_FRAGMENT */))]),
|
|
1322
|
+
_: 1 /* STABLE */
|
|
1323
|
+
}, 8 /* PROPS */, ["modelValue", "placeholder"])]),
|
|
1324
|
+
_: 1 /* STABLE */
|
|
1316
1325
|
})]),
|
|
1317
|
-
_: 1
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
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, {
|
|
1326
|
+
_: 1 /* STABLE */
|
|
1327
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1328
|
+
_: 1 /* STABLE */
|
|
1329
|
+
}, 512 /* NEED_PATCH */), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableLayering]])], 64 /* STABLE_FRAGMENT */)) : (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
1330
|
key: 1
|
|
1332
1331
|
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1333
1332
|
class: "rowclass"
|
|
@@ -1346,48 +1345,32 @@ const __default__ = {
|
|
|
1346
1345
|
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
1346
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).altitudeControl,
|
|
1348
1347
|
"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
1348
|
step: 1,
|
|
1351
|
-
min:
|
|
1352
|
-
|
|
1349
|
+
min: 1,
|
|
1350
|
+
"format-tooltip": formatTooltip,
|
|
1351
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxAltitudeControl,
|
|
1353
1352
|
onChange: _cache[19] || (_cache[19] = $event => paramsChanged('altitudeControl'))
|
|
1354
|
-
}, null, 8
|
|
1355
|
-
/*
|
|
1356
|
-
, ["modelValue"])]),
|
|
1357
|
-
_: 1
|
|
1358
|
-
/* STABLE */
|
|
1359
|
-
|
|
1353
|
+
}, null, 8 /* PROPS */, ["modelValue", "max"])]),
|
|
1354
|
+
_: 1 /* STABLE */
|
|
1360
1355
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1361
1356
|
span: 7
|
|
1362
1357
|
}, {
|
|
1363
1358
|
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
1359
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).altitudeControl,
|
|
1365
1360
|
"onUpdate:modelValue": _cache[20] || (_cache[20] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).altitudeControl = $event),
|
|
1366
|
-
min:
|
|
1367
|
-
max:
|
|
1361
|
+
min: 1,
|
|
1362
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxAltitudeControl,
|
|
1368
1363
|
step: 1,
|
|
1369
1364
|
"controls-position": "right",
|
|
1370
1365
|
onChange: _cache[21] || (_cache[21] = $event => paramsChanged('altitudeControl'))
|
|
1371
|
-
}, null, 8
|
|
1372
|
-
/*
|
|
1373
|
-
, ["modelValue"])]),
|
|
1374
|
-
_: 1
|
|
1375
|
-
/* STABLE */
|
|
1376
|
-
|
|
1366
|
+
}, null, 8 /* PROPS */, ["modelValue", "max"])]),
|
|
1367
|
+
_: 1 /* STABLE */
|
|
1377
1368
|
})]),
|
|
1378
|
-
_: 1
|
|
1379
|
-
/* STABLE */
|
|
1380
|
-
|
|
1369
|
+
_: 1 /* STABLE */
|
|
1381
1370
|
})]),
|
|
1382
|
-
_: 1
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
}, 8
|
|
1386
|
-
/* PROPS */
|
|
1387
|
-
, ["label"])]),
|
|
1388
|
-
_: 1
|
|
1389
|
-
/* STABLE */
|
|
1390
|
-
|
|
1371
|
+
_: 1 /* STABLE */
|
|
1372
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1373
|
+
_: 1 /* STABLE */
|
|
1391
1374
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1392
1375
|
class: "rowclass"
|
|
1393
1376
|
}, {
|
|
@@ -1397,18 +1380,10 @@ const __default__ = {
|
|
|
1397
1380
|
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
1381
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableLongSection,
|
|
1399
1382
|
"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
|
-
/*
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
/* STABLE */
|
|
1405
|
-
|
|
1406
|
-
}, 8
|
|
1407
|
-
/* PROPS */
|
|
1408
|
-
, ["label"])]),
|
|
1409
|
-
_: 1
|
|
1410
|
-
/* STABLE */
|
|
1411
|
-
|
|
1383
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
1384
|
+
_: 1 /* STABLE */
|
|
1385
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1386
|
+
_: 1 /* STABLE */
|
|
1412
1387
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1413
1388
|
class: "rowclass"
|
|
1414
1389
|
}, {
|
|
@@ -1427,47 +1402,31 @@ const __default__ = {
|
|
|
1427
1402
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValue,
|
|
1428
1403
|
"onUpdate:modelValue": _cache[23] || (_cache[23] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValue = $event),
|
|
1429
1404
|
"show-tooltip": false,
|
|
1430
|
-
step:
|
|
1431
|
-
min: 0,
|
|
1432
|
-
max:
|
|
1405
|
+
step: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValueStep,
|
|
1406
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValueMin,
|
|
1407
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValueMax,
|
|
1433
1408
|
onChange: _cache[24] || (_cache[24] = $event => paramsChanged('longSectionValue'))
|
|
1434
|
-
}, null, 8
|
|
1435
|
-
/*
|
|
1436
|
-
, ["modelValue"])]),
|
|
1437
|
-
_: 1
|
|
1438
|
-
/* STABLE */
|
|
1439
|
-
|
|
1409
|
+
}, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
|
|
1410
|
+
_: 1 /* STABLE */
|
|
1440
1411
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1441
1412
|
span: 7
|
|
1442
1413
|
}, {
|
|
1443
1414
|
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
1415
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValue,
|
|
1445
1416
|
"onUpdate:modelValue": _cache[25] || (_cache[25] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValue = $event),
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1417
|
+
step: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValueStep,
|
|
1418
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValueMin,
|
|
1419
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValueMax,
|
|
1449
1420
|
"controls-position": "right",
|
|
1450
1421
|
onChange: _cache[26] || (_cache[26] = $event => paramsChanged('longSectionValue'))
|
|
1451
|
-
}, null, 8
|
|
1452
|
-
/*
|
|
1453
|
-
, ["modelValue"])]),
|
|
1454
|
-
_: 1
|
|
1455
|
-
/* STABLE */
|
|
1456
|
-
|
|
1422
|
+
}, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
|
|
1423
|
+
_: 1 /* STABLE */
|
|
1457
1424
|
})]),
|
|
1458
|
-
_: 1
|
|
1459
|
-
/* STABLE */
|
|
1460
|
-
|
|
1425
|
+
_: 1 /* STABLE */
|
|
1461
1426
|
})]),
|
|
1462
|
-
_: 1
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
}, 8
|
|
1466
|
-
/* PROPS */
|
|
1467
|
-
, ["label"])]),
|
|
1468
|
-
_: 1
|
|
1469
|
-
/* STABLE */
|
|
1470
|
-
|
|
1427
|
+
_: 1 /* STABLE */
|
|
1428
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1429
|
+
_: 1 /* STABLE */
|
|
1471
1430
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1472
1431
|
class: "rowclass"
|
|
1473
1432
|
}, {
|
|
@@ -1477,18 +1436,10 @@ const __default__ = {
|
|
|
1477
1436
|
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
1437
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableLatSection,
|
|
1479
1438
|
"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
|
-
/*
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
/* STABLE */
|
|
1485
|
-
|
|
1486
|
-
}, 8
|
|
1487
|
-
/* PROPS */
|
|
1488
|
-
, ["label"])]),
|
|
1489
|
-
_: 1
|
|
1490
|
-
/* STABLE */
|
|
1491
|
-
|
|
1439
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
1440
|
+
_: 1 /* STABLE */
|
|
1441
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1442
|
+
_: 1 /* STABLE */
|
|
1492
1443
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1493
1444
|
class: "rowclass"
|
|
1494
1445
|
}, {
|
|
@@ -1507,47 +1458,31 @@ const __default__ = {
|
|
|
1507
1458
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValue,
|
|
1508
1459
|
"onUpdate:modelValue": _cache[28] || (_cache[28] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValue = $event),
|
|
1509
1460
|
"show-tooltip": false,
|
|
1510
|
-
step:
|
|
1511
|
-
min: 0,
|
|
1512
|
-
max:
|
|
1461
|
+
step: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValueStep,
|
|
1462
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValueMin,
|
|
1463
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValueMax,
|
|
1513
1464
|
onChange: _cache[29] || (_cache[29] = $event => paramsChanged('latSectionValue'))
|
|
1514
|
-
}, null, 8
|
|
1515
|
-
/*
|
|
1516
|
-
, ["modelValue"])]),
|
|
1517
|
-
_: 1
|
|
1518
|
-
/* STABLE */
|
|
1519
|
-
|
|
1465
|
+
}, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
|
|
1466
|
+
_: 1 /* STABLE */
|
|
1520
1467
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1521
1468
|
span: 7
|
|
1522
1469
|
}, {
|
|
1523
1470
|
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
1471
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValue,
|
|
1525
1472
|
"onUpdate:modelValue": _cache[30] || (_cache[30] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValue = $event),
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1473
|
+
step: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValueStep,
|
|
1474
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValueMin,
|
|
1475
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValueMax,
|
|
1529
1476
|
"controls-position": "right",
|
|
1530
1477
|
onChange: _cache[31] || (_cache[31] = $event => paramsChanged('latSectionValue'))
|
|
1531
|
-
}, null, 8
|
|
1532
|
-
/*
|
|
1533
|
-
, ["modelValue"])]),
|
|
1534
|
-
_: 1
|
|
1535
|
-
/* STABLE */
|
|
1536
|
-
|
|
1478
|
+
}, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
|
|
1479
|
+
_: 1 /* STABLE */
|
|
1537
1480
|
})]),
|
|
1538
|
-
_: 1
|
|
1539
|
-
/* STABLE */
|
|
1540
|
-
|
|
1481
|
+
_: 1 /* STABLE */
|
|
1541
1482
|
})]),
|
|
1542
|
-
_: 1
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
}, 8
|
|
1546
|
-
/* PROPS */
|
|
1547
|
-
, ["label"])]),
|
|
1548
|
-
_: 1
|
|
1549
|
-
/* STABLE */
|
|
1550
|
-
|
|
1483
|
+
_: 1 /* STABLE */
|
|
1484
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1485
|
+
_: 1 /* STABLE */
|
|
1551
1486
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1552
1487
|
class: "rowclass"
|
|
1553
1488
|
}, {
|
|
@@ -1557,18 +1492,10 @@ const __default__ = {
|
|
|
1557
1492
|
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
1493
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableHeightSection,
|
|
1559
1494
|
"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
|
-
/*
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
/* STABLE */
|
|
1565
|
-
|
|
1566
|
-
}, 8
|
|
1567
|
-
/* PROPS */
|
|
1568
|
-
, ["label"])]),
|
|
1569
|
-
_: 1
|
|
1570
|
-
/* STABLE */
|
|
1571
|
-
|
|
1495
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
1496
|
+
_: 1 /* STABLE */
|
|
1497
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1498
|
+
_: 1 /* STABLE */
|
|
1572
1499
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1573
1500
|
class: "rowclass"
|
|
1574
1501
|
}, {
|
|
@@ -1589,48 +1516,30 @@ const __default__ = {
|
|
|
1589
1516
|
"show-tooltip": false,
|
|
1590
1517
|
step: 1,
|
|
1591
1518
|
min: 0,
|
|
1592
|
-
max:
|
|
1519
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heightSectionValueMax,
|
|
1593
1520
|
onChange: _cache[34] || (_cache[34] = $event => paramsChanged('heightSectionValue'))
|
|
1594
|
-
}, null, 8
|
|
1595
|
-
/*
|
|
1596
|
-
, ["modelValue"])]),
|
|
1597
|
-
_: 1
|
|
1598
|
-
/* STABLE */
|
|
1599
|
-
|
|
1521
|
+
}, null, 8 /* PROPS */, ["modelValue", "max"])]),
|
|
1522
|
+
_: 1 /* STABLE */
|
|
1600
1523
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1601
1524
|
span: 7
|
|
1602
1525
|
}, {
|
|
1603
1526
|
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
1527
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heightSectionValue,
|
|
1605
1528
|
"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
1529
|
step: 1,
|
|
1530
|
+
min: 0,
|
|
1531
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heightSectionValueMax,
|
|
1609
1532
|
"controls-position": "right",
|
|
1610
1533
|
onChange: _cache[36] || (_cache[36] = $event => paramsChanged('heightSectionValue'))
|
|
1611
|
-
}, null, 8
|
|
1612
|
-
/*
|
|
1613
|
-
, ["modelValue"])]),
|
|
1614
|
-
_: 1
|
|
1615
|
-
/* STABLE */
|
|
1616
|
-
|
|
1534
|
+
}, null, 8 /* PROPS */, ["modelValue", "max"])]),
|
|
1535
|
+
_: 1 /* STABLE */
|
|
1617
1536
|
})]),
|
|
1618
|
-
_: 1
|
|
1619
|
-
/* STABLE */
|
|
1620
|
-
|
|
1537
|
+
_: 1 /* STABLE */
|
|
1621
1538
|
})]),
|
|
1622
|
-
_: 1
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
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, {
|
|
1539
|
+
_: 1 /* STABLE */
|
|
1540
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1541
|
+
_: 1 /* STABLE */
|
|
1542
|
+
})], 64 /* STABLE_FRAGMENT */)) : (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
1543
|
key: 2
|
|
1635
1544
|
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1636
1545
|
class: "rowclass"
|
|
@@ -1642,18 +1551,10 @@ const __default__ = {
|
|
|
1642
1551
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAxis,
|
|
1643
1552
|
"onUpdate:modelValue": _cache[37] || (_cache[37] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAxis = $event),
|
|
1644
1553
|
onChange: _cache[38] || (_cache[38] = $event => paramsChanged('bodyDissectionAxis'))
|
|
1645
|
-
}, null, 8
|
|
1646
|
-
/*
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
/* STABLE */
|
|
1650
|
-
|
|
1651
|
-
}, 8
|
|
1652
|
-
/* PROPS */
|
|
1653
|
-
, ["label"])]),
|
|
1654
|
-
_: 1
|
|
1655
|
-
/* STABLE */
|
|
1656
|
-
|
|
1554
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
1555
|
+
_: 1 /* STABLE */
|
|
1556
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1557
|
+
_: 1 /* STABLE */
|
|
1657
1558
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1658
1559
|
class: "rowclass"
|
|
1659
1560
|
}, {
|
|
@@ -1675,12 +1576,8 @@ const __default__ = {
|
|
|
1675
1576
|
min: 0,
|
|
1676
1577
|
max: 1,
|
|
1677
1578
|
onChange: _cache[40] || (_cache[40] = $event => paramsChanged('bodyDissectionAlpha'))
|
|
1678
|
-
}, null, 8
|
|
1679
|
-
/*
|
|
1680
|
-
, ["modelValue", "step"])]),
|
|
1681
|
-
_: 1
|
|
1682
|
-
/* STABLE */
|
|
1683
|
-
|
|
1579
|
+
}, null, 8 /* PROPS */, ["modelValue", "step"])]),
|
|
1580
|
+
_: 1 /* STABLE */
|
|
1684
1581
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1685
1582
|
span: 8
|
|
1686
1583
|
}, {
|
|
@@ -1692,26 +1589,14 @@ const __default__ = {
|
|
|
1692
1589
|
step: 0.01,
|
|
1693
1590
|
"controls-position": "right",
|
|
1694
1591
|
onChange: _cache[42] || (_cache[42] = $event => paramsChanged('bodyDissectionAlpha'))
|
|
1695
|
-
}, null, 8
|
|
1696
|
-
/*
|
|
1697
|
-
, ["modelValue", "step"])]),
|
|
1698
|
-
_: 1
|
|
1699
|
-
/* STABLE */
|
|
1700
|
-
|
|
1592
|
+
}, null, 8 /* PROPS */, ["modelValue", "step"])]),
|
|
1593
|
+
_: 1 /* STABLE */
|
|
1701
1594
|
})]),
|
|
1702
|
-
_: 1
|
|
1703
|
-
/* STABLE */
|
|
1704
|
-
|
|
1595
|
+
_: 1 /* STABLE */
|
|
1705
1596
|
})]),
|
|
1706
|
-
_: 1
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
}, 8
|
|
1710
|
-
/* PROPS */
|
|
1711
|
-
, ["label"])]),
|
|
1712
|
-
_: 1
|
|
1713
|
-
/* STABLE */
|
|
1714
|
-
|
|
1597
|
+
_: 1 /* STABLE */
|
|
1598
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1599
|
+
_: 1 /* STABLE */
|
|
1715
1600
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1716
1601
|
class: "rowclass"
|
|
1717
1602
|
}, {
|
|
@@ -1733,12 +1618,8 @@ const __default__ = {
|
|
|
1733
1618
|
min: 0,
|
|
1734
1619
|
max: 1000,
|
|
1735
1620
|
onChange: _cache[44] || (_cache[44] = $event => paramsChanged('bodyDissectionAlpha'))
|
|
1736
|
-
}, null, 8
|
|
1737
|
-
/*
|
|
1738
|
-
, ["modelValue"])]),
|
|
1739
|
-
_: 1
|
|
1740
|
-
/* STABLE */
|
|
1741
|
-
|
|
1621
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
1622
|
+
_: 1 /* STABLE */
|
|
1742
1623
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1743
1624
|
span: 8
|
|
1744
1625
|
}, {
|
|
@@ -1750,26 +1631,14 @@ const __default__ = {
|
|
|
1750
1631
|
step: 1,
|
|
1751
1632
|
"controls-position": "right",
|
|
1752
1633
|
onChange: _cache[46] || (_cache[46] = $event => paramsChanged('bodyDissectionAlpha'))
|
|
1753
|
-
}, null, 8
|
|
1754
|
-
/*
|
|
1755
|
-
, ["modelValue"])]),
|
|
1756
|
-
_: 1
|
|
1757
|
-
/* STABLE */
|
|
1758
|
-
|
|
1634
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
1635
|
+
_: 1 /* STABLE */
|
|
1759
1636
|
})]),
|
|
1760
|
-
_: 1
|
|
1761
|
-
/* STABLE */
|
|
1762
|
-
|
|
1637
|
+
_: 1 /* STABLE */
|
|
1763
1638
|
})]),
|
|
1764
|
-
_: 1
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
}, 8
|
|
1768
|
-
/* PROPS */
|
|
1769
|
-
, ["label"])]),
|
|
1770
|
-
_: 1
|
|
1771
|
-
/* STABLE */
|
|
1772
|
-
|
|
1639
|
+
_: 1 /* STABLE */
|
|
1640
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1641
|
+
_: 1 /* STABLE */
|
|
1773
1642
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1774
1643
|
class: "rowclass"
|
|
1775
1644
|
}, {
|
|
@@ -1791,12 +1660,8 @@ const __default__ = {
|
|
|
1791
1660
|
min: 0,
|
|
1792
1661
|
max: 1000,
|
|
1793
1662
|
onChange: _cache[48] || (_cache[48] = $event => paramsChanged('bodyDissectionAlpha'))
|
|
1794
|
-
}, null, 8
|
|
1795
|
-
/*
|
|
1796
|
-
, ["modelValue"])]),
|
|
1797
|
-
_: 1
|
|
1798
|
-
/* STABLE */
|
|
1799
|
-
|
|
1663
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
1664
|
+
_: 1 /* STABLE */
|
|
1800
1665
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1801
1666
|
span: 8
|
|
1802
1667
|
}, {
|
|
@@ -1808,26 +1673,14 @@ const __default__ = {
|
|
|
1808
1673
|
step: 1,
|
|
1809
1674
|
"controls-position": "right",
|
|
1810
1675
|
onChange: _cache[50] || (_cache[50] = $event => paramsChanged('bodyDissectionAlpha'))
|
|
1811
|
-
}, null, 8
|
|
1812
|
-
/*
|
|
1813
|
-
, ["modelValue"])]),
|
|
1814
|
-
_: 1
|
|
1815
|
-
/* STABLE */
|
|
1816
|
-
|
|
1676
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
1677
|
+
_: 1 /* STABLE */
|
|
1817
1678
|
})]),
|
|
1818
|
-
_: 1
|
|
1819
|
-
/* STABLE */
|
|
1820
|
-
|
|
1679
|
+
_: 1 /* STABLE */
|
|
1821
1680
|
})]),
|
|
1822
|
-
_: 1
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
}, 8
|
|
1826
|
-
/* PROPS */
|
|
1827
|
-
, ["label"])]),
|
|
1828
|
-
_: 1
|
|
1829
|
-
/* STABLE */
|
|
1830
|
-
|
|
1681
|
+
_: 1 /* STABLE */
|
|
1682
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1683
|
+
_: 1 /* STABLE */
|
|
1831
1684
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1832
1685
|
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
1686
|
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
|
|
@@ -1847,12 +1700,8 @@ const __default__ = {
|
|
|
1847
1700
|
min: 0,
|
|
1848
1701
|
max: 1000,
|
|
1849
1702
|
onChange: _cache[52] || (_cache[52] = $event => paramsChanged('bodyDissectionAlpha'))
|
|
1850
|
-
}, null, 8
|
|
1851
|
-
/*
|
|
1852
|
-
, ["modelValue"])]),
|
|
1853
|
-
_: 1
|
|
1854
|
-
/* STABLE */
|
|
1855
|
-
|
|
1703
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
1704
|
+
_: 1 /* STABLE */
|
|
1856
1705
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1857
1706
|
span: 8
|
|
1858
1707
|
}, {
|
|
@@ -1864,52 +1713,23 @@ const __default__ = {
|
|
|
1864
1713
|
step: 1,
|
|
1865
1714
|
"controls-position": "right",
|
|
1866
1715
|
onChange: _cache[54] || (_cache[54] = $event => paramsChanged('bodyDissectionAlpha'))
|
|
1867
|
-
}, null, 8
|
|
1868
|
-
/*
|
|
1869
|
-
, ["modelValue"])]),
|
|
1870
|
-
_: 1
|
|
1871
|
-
/* STABLE */
|
|
1872
|
-
|
|
1716
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
1717
|
+
_: 1 /* STABLE */
|
|
1873
1718
|
})]),
|
|
1874
|
-
_: 1
|
|
1875
|
-
/* STABLE */
|
|
1876
|
-
|
|
1719
|
+
_: 1 /* STABLE */
|
|
1877
1720
|
})]),
|
|
1878
|
-
_: 1
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
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)]]);
|
|
1721
|
+
_: 1 /* STABLE */
|
|
1722
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1723
|
+
_: 1 /* STABLE */
|
|
1724
|
+
})], 64 /* STABLE_FRAGMENT */)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
|
|
1725
|
+
_: 1 /* STABLE */
|
|
1726
|
+
}, 8 /* PROPS */, ["label-width"])]),
|
|
1727
|
+
_: 1 /* STABLE */
|
|
1728
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
1729
|
+
_: 1 /* STABLE */
|
|
1730
|
+
}, 8 /* PROPS */, ["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 /* CLASS */)), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(showWindySlicing)]]);
|
|
1910
1731
|
};
|
|
1911
1732
|
}
|
|
1912
|
-
|
|
1913
1733
|
}));
|
|
1914
1734
|
;// CONCATENATED MODULE: ./src/webgl/windyslicing/WindySlicing.vue?vue&type=script&setup=true&lang=js
|
|
1915
1735
|
|
|
@@ -1933,13 +1753,11 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
|
1933
1753
|
|
|
1934
1754
|
|
|
1935
1755
|
|
|
1936
|
-
|
|
1937
1756
|
WindySlicing.install = (Vue, opts) => {
|
|
1938
1757
|
init_js_default()(Vue, opts);
|
|
1939
1758
|
Vue.component(WindySlicing.name, WindySlicing);
|
|
1940
1759
|
};
|
|
1941
1760
|
|
|
1942
|
-
|
|
1943
1761
|
}();
|
|
1944
1762
|
/******/ return __webpack_exports__;
|
|
1945
1763
|
/******/ })()
|