@kq_npm/client3d_webgl_vue 4.5.29-beta → 4.5.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/adddata/index.js +518 -262
  2. package/adddata/style/adddata.css +1 -1
  3. package/aspectanalysis/index.js +201 -123
  4. package/baseterraingallery/index.js +123 -94
  5. package/baseterraingallery/style/baseterraingallery.css +1 -1
  6. package/boxclip/index.js +442 -249
  7. package/clientPrint/index.js +27088 -14116
  8. package/clientPrint/style/clientPrint.css +1 -1
  9. package/comparemap/index.js +243 -213
  10. package/compass/index.js +68 -74
  11. package/excavatefillanalysis/index.js +225 -143
  12. package/fixedzoomin/index.js +82 -72
  13. package/fixedzoomout/index.js +80 -71
  14. package/flight/index.js +371 -257
  15. package/flight/style/flight.css +1 -1
  16. package/floodanalysis/index.js +347 -199
  17. package/geologicalbodyanalysis/index.js +260 -166
  18. package/gpuspatialquery/index.js +359 -198
  19. package/hawkeye/index.js +100 -131
  20. package/headertemp/index.js +25 -14
  21. package/heatmap3d/index.js +678 -366
  22. package/heatmap3d/style/heatmap3d.css +1 -1
  23. package/index.js +20310 -7159
  24. package/isolineanalysis/index.js +1202 -504
  25. package/light/index.js +494 -349
  26. package/limitheightanalysis/index.js +223 -159
  27. package/measure/index.js +353 -198
  28. package/modelFlat/index.js +204 -167
  29. package/modelexcavate/index.js +191 -130
  30. package/modelfilter/index.js +271 -179
  31. package/modelprofileanalysis/index.js +316 -206
  32. package/modelselect/index.js +147 -142
  33. package/package.json +1 -1
  34. package/particleeffect/index.js +403 -225
  35. package/planeclip/index.js +300 -198
  36. package/resetview/index.js +52 -66
  37. package/roller/index.js +372 -304
  38. package/scaneffect/index.js +537 -230
  39. package/sceneadvancedtoimage/index.js +358 -205
  40. package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -1
  41. package/sceneapp/index.js +27088 -14116
  42. package/sceneset/index.js +864 -350
  43. package/scenetohdimage/index.js +297 -159
  44. package/scenetohdimage/style/scenetohdimage.css +1 -1
  45. package/sceneview/index.js +27088 -14116
  46. package/sceneview/style/sceneview.css +1 -1
  47. package/screenshot/index.js +301 -257
  48. package/shadowanalysis/index.js +405 -217
  49. package/sightlineanalysis/index.js +271 -183
  50. package/sightlineanalysis/style/divpoint.css +1 -1
  51. package/skylineanalysis/index.js +308 -160
  52. package/slopeanalysis/index.js +397 -227
  53. package/slopeaspectanalysis/index.js +485 -259
  54. package/statusbar/index.js +65 -88
  55. package/style.css +1 -1
  56. package/terrainoperation/index.js +237 -176
  57. package/terrainprofileanalysis/index.js +138 -120
  58. package/typhoontrac/index.js +970 -234
  59. package/typhoontrac/style/typhoontrac.css +1 -1
  60. package/underground/index.js +61 -70
  61. package/videofusion/index.js +488 -265
  62. package/videoproject/index.js +490 -271
  63. package/viewshedanalysis/index.js +255 -151
  64. package/weathereffect/index.js +317 -166
  65. package/windyslicing/index.js +1947 -0
  66. package/windyslicing/style/index.js +3 -0
  67. package/windyslicing/style/windyslicing.css +1 -0
  68. package/wireframesketch/index.js +142 -110
package/boxclip/index.js CHANGED
@@ -2,11 +2,11 @@
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
3
  module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util"));
4
4
  else if(typeof define === 'function' && define.amd)
5
- define(["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js", "@kq_npm/client_common_vue/_utils/util"], factory);
6
- else {
7
- var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/init.js"], root["@kq_npm/client_common_vue/_utils/util"]);
8
- for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
- }
5
+ define("@kq_npm/client3d_webgl_vue", ["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js", "@kq_npm/client_common_vue/_utils/util"], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["@kq_npm/client3d_webgl_vue"] = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util"));
8
+ else
9
+ root["@kq_npm/client3d_webgl_vue"] = factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/init.js"], root["@kq_npm/client_common_vue/_utils/util"]);
10
10
  })(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__7997__, __WEBPACK_EXTERNAL_MODULE__3458__) {
11
11
  return /******/ (function() { // webpackBootstrap
12
12
  /******/ "use strict";
@@ -25,10 +25,12 @@ return /******/ (function() { // webpackBootstrap
25
25
  */
26
26
 
27
27
 
28
+
28
29
  element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
29
30
  _init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
30
31
  Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
31
32
  };
33
+
32
34
  /* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
33
35
 
34
36
  /***/ }),
@@ -40,27 +42,6 @@ module.exports = require("@kq_npm/client_icons_vue");
40
42
 
41
43
  /***/ }),
42
44
 
43
- /***/ 2118:
44
- /***/ (function(module) {
45
-
46
- module.exports = require("core-js/modules/es.array.push.js");
47
-
48
- /***/ }),
49
-
50
- /***/ 8470:
51
- /***/ (function(module) {
52
-
53
- module.exports = require("core-js/modules/esnext.iterator.constructor.js");
54
-
55
- /***/ }),
56
-
57
- /***/ 8697:
58
- /***/ (function(module) {
59
-
60
- module.exports = require("core-js/modules/esnext.iterator.find.js");
61
-
62
- /***/ }),
63
-
64
45
  /***/ 9389:
65
46
  /***/ (function(module) {
66
47
 
@@ -103,59 +84,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
103
84
 
104
85
  /***/ }),
105
86
 
106
- /***/ 5301:
87
+ /***/ 8270:
107
88
  /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
108
89
 
109
-
110
- // EXPORTS
111
- __webpack_require__.d(__webpack_exports__, {
112
- "Z": function() { return /* binding */ _defineProperty; }
113
- });
114
-
115
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
116
- function _typeof(o) {
117
- "@babel/helpers - typeof";
118
-
119
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
120
- return typeof o;
121
- } : function (o) {
122
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
123
- }, _typeof(o);
124
- }
125
-
126
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
127
-
128
- function toPrimitive(t, r) {
129
- if ("object" != _typeof(t) || !t) return t;
130
- var e = t[Symbol.toPrimitive];
131
- if (void 0 !== e) {
132
- var i = e.call(t, r || "default");
133
- if ("object" != _typeof(i)) return i;
134
- throw new TypeError("@@toPrimitive must return a primitive value.");
90
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
91
+ /* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
92
+ /* harmony export */ });
93
+ function _defineProperty(obj, key, value) {
94
+ if (key in obj) {
95
+ Object.defineProperty(obj, key, {
96
+ value: value,
97
+ enumerable: true,
98
+ configurable: true,
99
+ writable: true
100
+ });
101
+ } else {
102
+ obj[key] = value;
135
103
  }
136
- return ("string" === r ? String : Number)(t);
137
- }
138
-
139
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
140
-
141
104
 
142
- function toPropertyKey(t) {
143
- var i = toPrimitive(t, "string");
144
- return "symbol" == _typeof(i) ? i : i + "";
105
+ return obj;
145
106
  }
146
107
 
147
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
148
-
149
- function _defineProperty(e, r, t) {
150
- return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
151
- value: t,
152
- enumerable: !0,
153
- configurable: !0,
154
- writable: !0
155
- }) : e[r] = t, e;
156
- }
157
-
158
-
159
108
  /***/ })
160
109
 
161
110
  /******/ });
@@ -242,21 +191,13 @@ __webpack_require__.d(__webpack_exports__, {
242
191
  var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
243
192
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
244
193
  var gis_utils_ = __webpack_require__(7135);
245
- // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
246
- var defineProperty = __webpack_require__(5301);
247
- // EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
248
- var es_array_push_js_ = __webpack_require__(2118);
249
- // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
250
- var esnext_iterator_constructor_js_ = __webpack_require__(8470);
251
- // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.find.js"
252
- var esnext_iterator_find_js_ = __webpack_require__(8697);
194
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
195
+ var defineProperty = __webpack_require__(8270);
253
196
  // EXTERNAL MODULE: ./src/common/_ui/message/index.js
254
197
  var message = __webpack_require__(1349);
255
198
  ;// CONCATENATED MODULE: ./src/webgl/boxclip/BoxClipViewModel.js
256
199
 
257
200
 
258
-
259
-
260
201
  /*
261
202
  * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
262
203
  * All rights reserved.
@@ -264,11 +205,16 @@ var message = __webpack_require__(1349);
264
205
  //Box裁剪逻辑类
265
206
 
266
207
  class BoxClipViewModel {
208
+ //三维viewer对象
209
+ //Box裁剪存储参数对象
210
+ //Box裁剪三维对象
211
+ //绘制管理对象
212
+ //绘制完成监听事件
267
213
  constructor(scenceView, options) {
268
214
  (0,defineProperty/* default */.Z)(this, "_viewer", null);
269
- //三维viewer对象
215
+
270
216
  (0,defineProperty/* default */.Z)(this, "_options", {});
271
- //Box裁剪存储参数对象
217
+
272
218
  (0,defineProperty/* default */.Z)(this, "_defaultOptions", {
273
219
  //默认参数对象
274
220
  clipTyp: 1,
@@ -289,34 +235,38 @@ class BoxClipViewModel {
289
235
  paddingStrokeDirection: 35.0,
290
236
  paddingStrokeSpace: 5.0
291
237
  });
238
+
292
239
  (0,defineProperty/* default */.Z)(this, "_boxclipAnalysis", null);
293
- //Box裁剪三维对象
240
+
294
241
  (0,defineProperty/* default */.Z)(this, "_drawManager", null);
295
- //绘制管理对象
242
+
296
243
  (0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
297
- //绘制完成监听事件
244
+
298
245
  (0,defineProperty/* default */.Z)(this, "_language", {});
246
+
299
247
  this._language = scenceView._language;
300
248
  this._options = Object.assign({}, options, this._defaultOptions);
301
- this._viewer = scenceView._viewer;
302
- // this._viewer.enabledFXAA = true;
249
+ this._viewer = scenceView._viewer; // this._viewer.enabledFXAA = true;
250
+
303
251
  this._options.viewer = this._viewer;
304
252
  this._drawManager = scenceView._drawManager;
305
253
  let that = this;
306
254
  this._removeEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
307
255
  if (shape) {
308
- that._options.position = shape.position;
309
- // 实例化分析对象
256
+ that._options.position = shape.position; // 实例化分析对象
257
+
310
258
  that._boxclipAnalysis = new Cesium.Kq3dBoxClip(that._options);
259
+
311
260
  that._drawManager.clear();
312
261
  }
313
262
  });
314
- }
263
+ } // 查找所有3dtiles模型对象
264
+
315
265
 
316
- // 查找所有3dtiles模型对象
317
266
  findLayers() {
318
267
  let tilesets = [];
319
268
  const primitives = this._options.viewer.scene.primitives._primitives;
269
+
320
270
  for (let m = 0; m < primitives.length; m++) {
321
271
  if (primitives[m] instanceof Cesium.Cesium3DTileset) {
322
272
  tilesets.push({
@@ -325,28 +275,31 @@ class BoxClipViewModel {
325
275
  });
326
276
  }
327
277
  }
278
+
328
279
  return tilesets;
329
- }
280
+ } //根据id获取tileset对象
281
+
330
282
 
331
- //根据id获取tileset对象
332
283
  findLayerById(id) {
333
284
  const primitives = this._options.viewer.scene.primitives._primitives;
334
285
  const tileset = primitives.find(function (item) {
335
286
  return item.guid === id;
336
287
  });
337
288
  return tileset;
338
- }
289
+ } // 开始分析
290
+
339
291
 
340
- // 开始分析
341
292
  start() {
342
293
  // 判断是否添加了模型
343
294
  var flag = false;
344
295
  var models = this._options.viewer.scene.primitives._primitives;
296
+
345
297
  for (let i = 0; i < models.length; i++) {
346
298
  if (models[i]._url) {
347
299
  flag = true;
348
300
  }
349
301
  }
302
+
350
303
  if (flag) {
351
304
  this.clear();
352
305
  if (this._drawManager) this._drawManager.startDraw("marker", {
@@ -358,85 +311,95 @@ class BoxClipViewModel {
358
311
  type: "warning"
359
312
  });
360
313
  }
361
- }
314
+ } //清除全部
315
+
362
316
 
363
- //清除全部
364
317
  clear() {
365
318
  if (this._boxclipAnalysis) this._boxclipAnalysis.boxEnable = false;
366
- this._boxclipAnalysis && this._boxclipAnalysis.remove();
367
- // this._boxclipAnalysis = null;
368
- }
319
+ this._boxclipAnalysis && this._boxclipAnalysis.remove(); // this._boxclipAnalysis = null;
320
+ } //销毁
321
+
369
322
 
370
- //销毁
371
323
  destroy() {
372
- this.clear();
373
- //销毁分析对象
324
+ this.clear(); //销毁分析对象
325
+
374
326
  this._boxclipAnalysis && this._boxclipAnalysis.destroy();
375
- this._boxclipAnalysis = null;
376
- //移除监听事件
327
+ this._boxclipAnalysis = null; //移除监听事件
328
+
377
329
  this._removeEventListener && this._removeEventListener();
378
330
  this._removeEventListener = null;
379
- }
331
+ } // 设置裁剪对象
332
+
380
333
 
381
- // 设置裁剪对象
382
334
  setLayer(layerId) {
383
335
  this.clear();
384
336
  this._options.tileset = this.findLayerById(layerId);
385
- }
337
+ } // 设置裁剪方式,为true时,则为外部裁剪,否则为内部裁剪
338
+
386
339
 
387
- // 设置裁剪方式,为true时,则为外部裁剪,否则为内部裁剪
388
340
  setClipType(val) {
389
341
  this._options.unionClippingRegions = val;
390
342
  if (this._boxclipAnalysis) this._boxclipAnalysis.unionClippingRegions = val;
391
- }
392
- //是否裁剪
343
+ } //是否裁剪
344
+
345
+
393
346
  setClip(val) {
394
347
  this._options.enable = val;
348
+
395
349
  if (this._boxclipAnalysis) {
396
350
  this._boxclipAnalysis.enable = val;
397
351
  this._boxclipAnalysis.boxEnable = this._options.boxEnable;
398
352
  }
399
- }
400
- //显/隐辅助对象
353
+ } //显/隐辅助对象
354
+
355
+
401
356
  setShowBox(val) {
402
357
  this._options.boxEnable = val;
403
358
  if (this._boxclipAnalysis) this._boxclipAnalysis.boxEnable = val;
404
- }
405
- // X方向上移动
359
+ } // X方向上移动
360
+
361
+
406
362
  setXDistance(val) {
407
363
  this._options.x = Number(val);
408
364
  if (this._boxclipAnalysis) this._boxclipAnalysis.translationClip("x", Number(val));
409
- }
410
- // Y方向上移动
365
+ } // Y方向上移动
366
+
367
+
411
368
  setYDistance(val) {
412
369
  this._options.y = Number(val);
413
370
  if (this._boxclipAnalysis) this._boxclipAnalysis.translationClip("y", Number(val));
414
- }
415
- // Z方向上移动
371
+ } // Z方向上移动
372
+
373
+
416
374
  setZDistance(val) {
417
375
  this._options.z = Number(val);
418
376
  if (this._boxclipAnalysis) this._boxclipAnalysis.translationClip("z", Number(val));
419
- }
420
- //设置裁剪体长度
377
+ } //设置裁剪体长度
378
+
379
+
421
380
  setAxisX(val) {
422
381
  this._options.axisX = Number(val);
423
382
  if (this._boxclipAnalysis) this._boxclipAnalysis.axisX = Number(val);
424
- }
425
- //设置裁剪体宽度
383
+ } //设置裁剪体宽度
384
+
385
+
426
386
  setAxisY(val) {
427
387
  this._options.axisY = Number(val);
428
388
  if (this._boxclipAnalysis) this._boxclipAnalysis.axisY = Number(val);
429
- }
430
- //设置裁剪体高度
389
+ } //设置裁剪体高度
390
+
391
+
431
392
  setAxisZ(val) {
432
393
  this._options.axisZ = Number(val);
433
394
  if (this._boxclipAnalysis) this._boxclipAnalysis.axisZ = Number(val);
434
- }
435
- //设置裁剪体旋转角
395
+ } //设置裁剪体旋转角
396
+
397
+
436
398
  setAngle(val) {
437
399
  this._options.angle = Number(val);
438
400
  if (this._boxclipAnalysis) this._boxclipAnalysis.angle = Number(val);
439
401
  }
402
+
440
403
  }
441
404
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
442
405
  var client_icons_vue_ = __webpack_require__(348);
@@ -444,7 +407,7 @@ var client_icons_vue_ = __webpack_require__(348);
444
407
  var util_ = __webpack_require__(3458);
445
408
  // EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
446
409
  var vue_i18n_cjs_js_ = __webpack_require__(7080);
447
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/boxclip/BoxClip.vue?vue&type=script&setup=true&lang=js
410
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/boxclip/BoxClip.vue?vue&type=script&setup=true&lang=js
448
411
 
449
412
  const _hoisted_1 = {
450
413
  class: "kq3d-box-clip-box"
@@ -478,6 +441,7 @@ const __default__ = {
478
441
  type: Boolean,
479
442
  default: true
480
443
  },
444
+
481
445
  /**
482
446
  * 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
483
447
  */
@@ -507,6 +471,7 @@ const __default__ = {
507
471
  default: true
508
472
  }
509
473
  },
474
+
510
475
  setup(__props, {
511
476
  expose: __expose
512
477
  }) {
@@ -516,9 +481,7 @@ const __default__ = {
516
481
  } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
517
482
  let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
518
483
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
519
- let tiles = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
520
-
521
- // 获取组件传参
484
+ let tiles = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]); // 获取组件传参
522
485
 
523
486
  let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
524
487
  collapseValue: props.settingParams && props.settingParams.collapseValue || ((props.settingParams && props.settingParams.collapseValue) == '' ? "" : "setting"),
@@ -535,16 +498,13 @@ const __default__ = {
535
498
  clipHeight: props.settingParams && props.settingParams.clipHeight || 4.7,
536
499
  clipRotation: props.settingParams && props.settingParams.clipRotation || 90
537
500
  });
538
- let viewModel = null;
501
+ let viewModel = null; // 组件容器Ref
539
502
 
540
- // 组件容器Ref
541
- let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
503
+ let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
542
504
 
543
- // 生成组件默认header
544
505
  let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
545
- let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
506
+ let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
546
507
 
547
- // 国际化
548
508
  let {
549
509
  locale,
550
510
  messages
@@ -568,6 +528,7 @@ const __default__ = {
568
528
  });
569
529
  currentLang.value = proxy.$i18n.locale; // 获取当前语言
570
530
  //父组 件ScenceView初始化完成后执行
531
+
571
532
  gis_utils_.utils.getWebMap(null, scenceView => {
572
533
  if (scenceView) {
573
534
  let options = {
@@ -589,6 +550,7 @@ const __default__ = {
589
550
  setTimeout(() => {
590
551
  if (viewModel) {
591
552
  tiles.value = viewModel.findLayers(); // 获取所有tileset对象
553
+
592
554
  if (tiles.value.length > 0) {
593
555
  formItem.tileset = tiles.value[0].guid;
594
556
  paramsChanged("tileset");
@@ -596,91 +558,117 @@ const __default__ = {
596
558
  }
597
559
  }, 1000);
598
560
  });
599
-
600
561
  /**
601
562
  * @description 监听header生成
602
563
  */
564
+
603
565
  const watchCreateHeaderTemp = () => {
604
566
  if (props.showHeaderTemp) {
605
567
  // 生成headerTemp
606
568
  headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
607
569
  }
608
- };
570
+ }; // 参数改变
571
+
609
572
 
610
- // 参数改变
611
573
  function paramsChanged(key) {
612
574
  switch (key) {
613
575
  case "tileset":
614
576
  viewModel.setLayer(formItem.tileset);
615
577
  break;
578
+
616
579
  case "unionClip":
617
580
  viewModel.setClipType(formItem.unionClippingRegions);
618
581
  break;
582
+
619
583
  case "enableClip":
620
584
  viewModel.setClip(formItem.enableClip);
621
585
  break;
586
+
622
587
  case "boxEnable":
623
588
  viewModel.setShowBox(formItem.boxEnable);
624
589
  break;
590
+
625
591
  case "xDistance":
626
592
  viewModel.setXDistance(formItem.xDistance);
627
593
  break;
594
+
628
595
  case "yDistance":
629
596
  viewModel.setYDistance(formItem.yDistance);
630
597
  break;
598
+
631
599
  case "zDistance":
632
600
  viewModel.setZDistance(formItem.zDistance);
633
601
  break;
602
+
634
603
  case "clipLength":
635
604
  viewModel.setAxisX(formItem.clipLength);
636
605
  break;
606
+
637
607
  case "clipWidth":
638
608
  viewModel.setAxisY(formItem.clipWidth);
639
609
  break;
610
+
640
611
  case "clipHeight":
641
612
  viewModel.setAxisZ(formItem.clipHeight);
642
613
  break;
614
+
643
615
  case "angle":
644
616
  viewModel.setAngle(formItem.clipRotation);
645
617
  break;
618
+
646
619
  default:
647
620
  break;
648
621
  }
649
- }
622
+ } // 开始裁剪
623
+
650
624
 
651
- // 开始裁剪
652
625
  function clip() {
653
626
  viewModel && viewModel.start();
654
- }
627
+ } // 清除
628
+
655
629
 
656
- // 清除
657
630
  function clearResult() {
658
631
  viewModel && viewModel.clear();
659
- }
632
+ } // 销毁
633
+
660
634
 
661
- // 销毁
662
635
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
663
636
  viewModel && viewModel.destroy();
664
637
  });
638
+
665
639
  __expose({
666
640
  paramsChanged,
667
641
  clip,
668
642
  clearResult
669
643
  });
644
+
670
645
  return (_ctx, _cache) => {
671
646
  const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
647
+
672
648
  const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
649
+
673
650
  const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
651
+
674
652
  const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
653
+
675
654
  const _component_kq_radio = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio");
655
+
676
656
  const _component_kq_checkbox = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-checkbox");
657
+
677
658
  const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
659
+
678
660
  const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
661
+
679
662
  const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
663
+
680
664
  const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
665
+
681
666
  const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
667
+
682
668
  const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
669
+
683
670
  const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
671
+
684
672
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
685
673
  class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-box-clip", {
686
674
  'kq-box-shadow': __props.showShadow
@@ -691,7 +679,9 @@ const __default__ = {
691
679
  key: 0,
692
680
  ref_key: "headerTempRef",
693
681
  ref: headerTempRef
694
- }, 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, {
682
+ }, null, 512
683
+ /* NEED_PATCH */
684
+ )) : (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, {
695
685
  gutter: 20,
696
686
  class: "rowClass"
697
687
  }, {
@@ -699,8 +689,12 @@ const __default__ = {
699
689
  span: 6,
700
690
  class: "colClass"
701
691
  }, {
702
- default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipObj), 1 /* TEXT */)]),
703
- _: 1 /* STABLE */
692
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipObj), 1
693
+ /* TEXT */
694
+ )]),
695
+ _: 1
696
+ /* STABLE */
697
+
704
698
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
705
699
  span: 18
706
700
  }, {
@@ -715,15 +709,31 @@ const __default__ = {
715
709
  value: item.guid,
716
710
  label: item.name
717
711
  }, {
718
- default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)(item.name), 1 /* TEXT */)]),
719
- _: 2 /* DYNAMIC */
720
- }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["value", "label"]);
721
- }), 128 /* KEYED_FRAGMENT */))]),
722
- _: 1 /* STABLE */
723
- }, 8 /* PROPS */, ["modelValue"])]),
724
- _: 1 /* STABLE */
712
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)(item.name), 1
713
+ /* TEXT */
714
+ )]),
715
+ _: 2
716
+ /* DYNAMIC */
717
+
718
+ }, 1032
719
+ /* PROPS, DYNAMIC_SLOTS */
720
+ , ["value", "label"]);
721
+ }), 128
722
+ /* KEYED_FRAGMENT */
723
+ ))]),
724
+ _: 1
725
+ /* STABLE */
726
+
727
+ }, 8
728
+ /* PROPS */
729
+ , ["modelValue"])]),
730
+ _: 1
731
+ /* STABLE */
732
+
725
733
  })]),
726
- _: 1 /* STABLE */
734
+ _: 1
735
+ /* STABLE */
736
+
727
737
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
728
738
  gutter: 20,
729
739
  class: "rowClass"
@@ -732,8 +742,12 @@ const __default__ = {
732
742
  span: 6,
733
743
  class: "colClass"
734
744
  }, {
735
- default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipPattern), 1 /* TEXT */)]),
736
- _: 1 /* STABLE */
745
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipPattern), 1
746
+ /* TEXT */
747
+ )]),
748
+ _: 1
749
+ /* STABLE */
750
+
737
751
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
738
752
  span: 18
739
753
  }, {
@@ -743,25 +757,45 @@ const __default__ = {
743
757
  label: false,
744
758
  onChange: _cache[3] || (_cache[3] = $event => paramsChanged('unionClip'))
745
759
  }, {
746
- 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).insideClip), 1 /* TEXT */)]),
747
- _: 1 /* STABLE */
748
- }, 8 /* PROPS */, ["modelValue"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
760
+ 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).insideClip), 1
761
+ /* TEXT */
762
+ )]),
763
+ _: 1
764
+ /* STABLE */
765
+
766
+ }, 8
767
+ /* PROPS */
768
+ , ["modelValue"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
749
769
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).unionClippingRegions,
750
770
  "onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).unionClippingRegions = $event),
751
771
  label: true,
752
772
  onChange: _cache[5] || (_cache[5] = $event => paramsChanged('unionClip'))
753
773
  }, {
754
- 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).outsideClip), 1 /* TEXT */)]),
755
- _: 1 /* STABLE */
756
- }, 8 /* PROPS */, ["modelValue"])]),
757
- _: 1 /* STABLE */
774
+ 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).outsideClip), 1
775
+ /* TEXT */
776
+ )]),
777
+ _: 1
778
+ /* STABLE */
779
+
780
+ }, 8
781
+ /* PROPS */
782
+ , ["modelValue"])]),
783
+ _: 1
784
+ /* STABLE */
785
+
758
786
  })]),
759
- _: 1 /* STABLE */
787
+ _: 1
788
+ /* STABLE */
789
+
760
790
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
761
791
  class: "kq3d-box-clip-tip"
762
792
  }, {
763
- default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipTips), 1 /* TEXT */)]),
764
- _: 1 /* STABLE */
793
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipTips), 1
794
+ /* TEXT */
795
+ )]),
796
+ _: 1
797
+ /* STABLE */
798
+
765
799
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
766
800
  "model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue,
767
801
  class: "kq3d-box-clip-collapse"
@@ -787,10 +821,18 @@ const __default__ = {
787
821
  "onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableClip = $event),
788
822
  onChange: _cache[7] || (_cache[7] = $event => paramsChanged('enableClip'))
789
823
  }, {
790
- 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).enableClip), 1 /* TEXT */)]),
791
- _: 1 /* STABLE */
792
- }, 8 /* PROPS */, ["modelValue"])]),
793
- _: 1 /* STABLE */
824
+ 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).enableClip), 1
825
+ /* TEXT */
826
+ )]),
827
+ _: 1
828
+ /* STABLE */
829
+
830
+ }, 8
831
+ /* PROPS */
832
+ , ["modelValue"])]),
833
+ _: 1
834
+ /* STABLE */
835
+
794
836
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
795
837
  span: 12
796
838
  }, {
@@ -799,12 +841,22 @@ const __default__ = {
799
841
  "onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).boxEnable = $event),
800
842
  onChange: _cache[9] || (_cache[9] = $event => paramsChanged('boxEnable'))
801
843
  }, {
802
- 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).boxEnable), 1 /* TEXT */)]),
803
- _: 1 /* STABLE */
804
- }, 8 /* PROPS */, ["modelValue"])]),
805
- _: 1 /* STABLE */
844
+ 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).boxEnable), 1
845
+ /* TEXT */
846
+ )]),
847
+ _: 1
848
+ /* STABLE */
849
+
850
+ }, 8
851
+ /* PROPS */
852
+ , ["modelValue"])]),
853
+ _: 1
854
+ /* STABLE */
855
+
806
856
  })]),
807
- _: 1 /* STABLE */
857
+ _: 1
858
+ /* STABLE */
859
+
808
860
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
809
861
  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, {
810
862
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).xDistance
@@ -824,8 +876,12 @@ const __default__ = {
824
876
  min: -40.0,
825
877
  max: 40,
826
878
  onChange: _cache[11] || (_cache[11] = $event => paramsChanged('xDistance'))
827
- }, null, 8 /* PROPS */, ["modelValue", "min"])]),
828
- _: 1 /* STABLE */
879
+ }, null, 8
880
+ /* PROPS */
881
+ , ["modelValue", "min"])]),
882
+ _: 1
883
+ /* STABLE */
884
+
829
885
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
830
886
  span: 8
831
887
  }, {
@@ -837,14 +893,26 @@ const __default__ = {
837
893
  step: 1,
838
894
  "controls-position": "right",
839
895
  onChange: _cache[13] || (_cache[13] = $event => paramsChanged('xDistance'))
840
- }, null, 8 /* PROPS */, ["modelValue"])]),
841
- _: 1 /* STABLE */
896
+ }, null, 8
897
+ /* PROPS */
898
+ , ["modelValue"])]),
899
+ _: 1
900
+ /* STABLE */
901
+
842
902
  })]),
843
- _: 1 /* STABLE */
903
+ _: 1
904
+ /* STABLE */
905
+
844
906
  })]),
845
- _: 1 /* STABLE */
846
- }, 8 /* PROPS */, ["label"])]),
847
- _: 1 /* STABLE */
907
+ _: 1
908
+ /* STABLE */
909
+
910
+ }, 8
911
+ /* PROPS */
912
+ , ["label"])]),
913
+ _: 1
914
+ /* STABLE */
915
+
848
916
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
849
917
  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, {
850
918
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).yDistance
@@ -864,8 +932,12 @@ const __default__ = {
864
932
  min: -40.0,
865
933
  max: 40,
866
934
  onChange: _cache[15] || (_cache[15] = $event => paramsChanged('yDistance'))
867
- }, null, 8 /* PROPS */, ["modelValue", "min"])]),
868
- _: 1 /* STABLE */
935
+ }, null, 8
936
+ /* PROPS */
937
+ , ["modelValue", "min"])]),
938
+ _: 1
939
+ /* STABLE */
940
+
869
941
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
870
942
  span: 8
871
943
  }, {
@@ -877,14 +949,26 @@ const __default__ = {
877
949
  step: 1,
878
950
  "controls-position": "right",
879
951
  onChange: _cache[17] || (_cache[17] = $event => paramsChanged('yDistance'))
880
- }, null, 8 /* PROPS */, ["modelValue", "min"])]),
881
- _: 1 /* STABLE */
952
+ }, null, 8
953
+ /* PROPS */
954
+ , ["modelValue", "min"])]),
955
+ _: 1
956
+ /* STABLE */
957
+
882
958
  })]),
883
- _: 1 /* STABLE */
959
+ _: 1
960
+ /* STABLE */
961
+
884
962
  })]),
885
- _: 1 /* STABLE */
886
- }, 8 /* PROPS */, ["label"])]),
887
- _: 1 /* STABLE */
963
+ _: 1
964
+ /* STABLE */
965
+
966
+ }, 8
967
+ /* PROPS */
968
+ , ["label"])]),
969
+ _: 1
970
+ /* STABLE */
971
+
888
972
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
889
973
  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, {
890
974
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).zDistance
@@ -904,8 +988,12 @@ const __default__ = {
904
988
  min: -40.0,
905
989
  max: 40,
906
990
  onChange: _cache[19] || (_cache[19] = $event => paramsChanged('zDistance'))
907
- }, null, 8 /* PROPS */, ["modelValue", "min"])]),
908
- _: 1 /* STABLE */
991
+ }, null, 8
992
+ /* PROPS */
993
+ , ["modelValue", "min"])]),
994
+ _: 1
995
+ /* STABLE */
996
+
909
997
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
910
998
  span: 8
911
999
  }, {
@@ -917,14 +1005,26 @@ const __default__ = {
917
1005
  step: 1,
918
1006
  "controls-position": "right",
919
1007
  onChange: _cache[21] || (_cache[21] = $event => paramsChanged('zDistance'))
920
- }, null, 8 /* PROPS */, ["modelValue", "min"])]),
921
- _: 1 /* STABLE */
1008
+ }, null, 8
1009
+ /* PROPS */
1010
+ , ["modelValue", "min"])]),
1011
+ _: 1
1012
+ /* STABLE */
1013
+
922
1014
  })]),
923
- _: 1 /* STABLE */
1015
+ _: 1
1016
+ /* STABLE */
1017
+
924
1018
  })]),
925
- _: 1 /* STABLE */
926
- }, 8 /* PROPS */, ["label"])]),
927
- _: 1 /* STABLE */
1019
+ _: 1
1020
+ /* STABLE */
1021
+
1022
+ }, 8
1023
+ /* PROPS */
1024
+ , ["label"])]),
1025
+ _: 1
1026
+ /* STABLE */
1027
+
928
1028
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
929
1029
  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, {
930
1030
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipLength
@@ -944,8 +1044,12 @@ const __default__ = {
944
1044
  min: 0,
945
1045
  max: 50,
946
1046
  onChange: _cache[23] || (_cache[23] = $event => paramsChanged('clipLength'))
947
- }, null, 8 /* PROPS */, ["modelValue", "step"])]),
948
- _: 1 /* STABLE */
1047
+ }, null, 8
1048
+ /* PROPS */
1049
+ , ["modelValue", "step"])]),
1050
+ _: 1
1051
+ /* STABLE */
1052
+
949
1053
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
950
1054
  span: 8
951
1055
  }, {
@@ -957,14 +1061,26 @@ const __default__ = {
957
1061
  step: 0.1,
958
1062
  "controls-position": "right",
959
1063
  onChange: _cache[25] || (_cache[25] = $event => paramsChanged('clipLength'))
960
- }, null, 8 /* PROPS */, ["modelValue", "step"])]),
961
- _: 1 /* STABLE */
1064
+ }, null, 8
1065
+ /* PROPS */
1066
+ , ["modelValue", "step"])]),
1067
+ _: 1
1068
+ /* STABLE */
1069
+
962
1070
  })]),
963
- _: 1 /* STABLE */
1071
+ _: 1
1072
+ /* STABLE */
1073
+
964
1074
  })]),
965
- _: 1 /* STABLE */
966
- }, 8 /* PROPS */, ["label"])]),
967
- _: 1 /* STABLE */
1075
+ _: 1
1076
+ /* STABLE */
1077
+
1078
+ }, 8
1079
+ /* PROPS */
1080
+ , ["label"])]),
1081
+ _: 1
1082
+ /* STABLE */
1083
+
968
1084
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
969
1085
  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, {
970
1086
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipWidth
@@ -984,8 +1100,12 @@ const __default__ = {
984
1100
  min: 0,
985
1101
  max: 50,
986
1102
  onChange: _cache[27] || (_cache[27] = $event => paramsChanged('clipWidth'))
987
- }, null, 8 /* PROPS */, ["modelValue", "step"])]),
988
- _: 1 /* STABLE */
1103
+ }, null, 8
1104
+ /* PROPS */
1105
+ , ["modelValue", "step"])]),
1106
+ _: 1
1107
+ /* STABLE */
1108
+
989
1109
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
990
1110
  span: 8
991
1111
  }, {
@@ -997,14 +1117,26 @@ const __default__ = {
997
1117
  max: 50,
998
1118
  "controls-position": "right",
999
1119
  onChange: _cache[29] || (_cache[29] = $event => paramsChanged('clipWidth'))
1000
- }, null, 8 /* PROPS */, ["modelValue", "step"])]),
1001
- _: 1 /* STABLE */
1120
+ }, null, 8
1121
+ /* PROPS */
1122
+ , ["modelValue", "step"])]),
1123
+ _: 1
1124
+ /* STABLE */
1125
+
1002
1126
  })]),
1003
- _: 1 /* STABLE */
1127
+ _: 1
1128
+ /* STABLE */
1129
+
1004
1130
  })]),
1005
- _: 1 /* STABLE */
1006
- }, 8 /* PROPS */, ["label"])]),
1007
- _: 1 /* STABLE */
1131
+ _: 1
1132
+ /* STABLE */
1133
+
1134
+ }, 8
1135
+ /* PROPS */
1136
+ , ["label"])]),
1137
+ _: 1
1138
+ /* STABLE */
1139
+
1008
1140
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
1009
1141
  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, {
1010
1142
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipHeight
@@ -1024,8 +1156,12 @@ const __default__ = {
1024
1156
  min: 0,
1025
1157
  max: 10,
1026
1158
  onChange: _cache[31] || (_cache[31] = $event => paramsChanged('clipHeight'))
1027
- }, null, 8 /* PROPS */, ["modelValue", "step"])]),
1028
- _: 1 /* STABLE */
1159
+ }, null, 8
1160
+ /* PROPS */
1161
+ , ["modelValue", "step"])]),
1162
+ _: 1
1163
+ /* STABLE */
1164
+
1029
1165
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1030
1166
  span: 8
1031
1167
  }, {
@@ -1037,14 +1173,26 @@ const __default__ = {
1037
1173
  max: 10,
1038
1174
  "controls-position": "right",
1039
1175
  onChange: _cache[33] || (_cache[33] = $event => paramsChanged('clipHeight'))
1040
- }, null, 8 /* PROPS */, ["modelValue", "step"])]),
1041
- _: 1 /* STABLE */
1176
+ }, null, 8
1177
+ /* PROPS */
1178
+ , ["modelValue", "step"])]),
1179
+ _: 1
1180
+ /* STABLE */
1181
+
1042
1182
  })]),
1043
- _: 1 /* STABLE */
1183
+ _: 1
1184
+ /* STABLE */
1185
+
1044
1186
  })]),
1045
- _: 1 /* STABLE */
1046
- }, 8 /* PROPS */, ["label"])]),
1047
- _: 1 /* STABLE */
1187
+ _: 1
1188
+ /* STABLE */
1189
+
1190
+ }, 8
1191
+ /* PROPS */
1192
+ , ["label"])]),
1193
+ _: 1
1194
+ /* STABLE */
1195
+
1048
1196
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
1049
1197
  style: {
1050
1198
  "margin-bottom": "8px"
@@ -1068,8 +1216,12 @@ const __default__ = {
1068
1216
  min: 0,
1069
1217
  max: 360,
1070
1218
  onChange: _cache[35] || (_cache[35] = $event => paramsChanged('angle'))
1071
- }, null, 8 /* PROPS */, ["modelValue"])]),
1072
- _: 1 /* STABLE */
1219
+ }, null, 8
1220
+ /* PROPS */
1221
+ , ["modelValue"])]),
1222
+ _: 1
1223
+ /* STABLE */
1224
+
1073
1225
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1074
1226
  span: 8
1075
1227
  }, {
@@ -1081,36 +1233,75 @@ const __default__ = {
1081
1233
  step: 1,
1082
1234
  "controls-position": "right",
1083
1235
  onChange: _cache[37] || (_cache[37] = $event => paramsChanged('angle'))
1084
- }, null, 8 /* PROPS */, ["modelValue"])]),
1085
- _: 1 /* STABLE */
1236
+ }, null, 8
1237
+ /* PROPS */
1238
+ , ["modelValue"])]),
1239
+ _: 1
1240
+ /* STABLE */
1241
+
1086
1242
  })]),
1087
- _: 1 /* STABLE */
1243
+ _: 1
1244
+ /* STABLE */
1245
+
1088
1246
  })]),
1089
- _: 1 /* STABLE */
1090
- }, 8 /* PROPS */, ["label"])]),
1091
- _: 1 /* STABLE */
1247
+ _: 1
1248
+ /* STABLE */
1249
+
1250
+ }, 8
1251
+ /* PROPS */
1252
+ , ["label"])]),
1253
+ _: 1
1254
+ /* STABLE */
1255
+
1092
1256
  })]),
1093
- _: 1 /* STABLE */
1094
- }, 8 /* PROPS */, ["label-width"])]),
1095
- _: 1 /* STABLE */
1096
- }, 8 /* PROPS */, ["title"])]),
1097
- _: 1 /* STABLE */
1098
- }, 8 /* PROPS */, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_4, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1257
+ _: 1
1258
+ /* STABLE */
1259
+
1260
+ }, 8
1261
+ /* PROPS */
1262
+ , ["label-width"])]),
1263
+ _: 1
1264
+ /* STABLE */
1265
+
1266
+ }, 8
1267
+ /* PROPS */
1268
+ , ["title"])]),
1269
+ _: 1
1270
+ /* STABLE */
1271
+
1272
+ }, 8
1273
+ /* PROPS */
1274
+ , ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_4, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1099
1275
  onClick: _cache[38] || (_cache[38] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clip(), ["stop"])),
1100
1276
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clip,
1101
1277
  type: "primary"
1102
1278
  }, {
1103
- 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).clip), 1 /* TEXT */)]),
1104
- _: 1 /* STABLE */
1105
- }, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1279
+ 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).clip), 1
1280
+ /* TEXT */
1281
+ )]),
1282
+ _: 1
1283
+ /* STABLE */
1284
+
1285
+ }, 8
1286
+ /* PROPS */
1287
+ , ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1106
1288
  onClick: _cache[39] || (_cache[39] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
1107
1289
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
1108
1290
  }, {
1109
- default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear), 1 /* TEXT */)]),
1110
- _: 1 /* STABLE */
1111
- }, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
1291
+ default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear), 1
1292
+ /* TEXT */
1293
+ )]),
1294
+ _: 1
1295
+ /* STABLE */
1296
+
1297
+ }, 8
1298
+ /* PROPS */
1299
+ , ["title"])])])], 2
1300
+ /* CLASS */
1301
+ );
1112
1302
  };
1113
1303
  }
1304
+
1114
1305
  }));
1115
1306
  ;// CONCATENATED MODULE: ./src/webgl/boxclip/BoxClip.vue?vue&type=script&setup=true&lang=js
1116
1307
 
@@ -1132,11 +1323,13 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
1132
1323
 
1133
1324
 
1134
1325
 
1326
+
1135
1327
  BoxClip.install = (Vue, opts) => {
1136
1328
  init_js_default()(Vue, opts);
1137
1329
  Vue.component(BoxClip.name, BoxClip);
1138
1330
  };
1139
1331
 
1332
+
1140
1333
  }();
1141
1334
  /******/ return __webpack_exports__;
1142
1335
  /******/ })()