@kq_npm/client3d_webgl_vue 4.5.3-beta → 4.5.4-beta

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