@kq_npm/client3d_webgl_vue 4.5.3-beta → 4.5.5-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 +163 -229
  4. package/baseterraingallery/index.js +122 -145
  5. package/boxclip/index.js +291 -472
  6. package/clientPrint/index.js +368 -906
  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 +185 -255
  11. package/fixedzoomin/index.js +91 -76
  12. package/fixedzoomout/index.js +91 -76
  13. package/flight/index.js +298 -402
  14. package/flight/style/flight.css +1 -1
  15. package/floodanalysis/index.js +248 -385
  16. package/geologicalbodyanalysis/index.js +206 -288
  17. package/gpuspatialquery/index.js +243 -392
  18. package/hawkeye/index.js +139 -103
  19. package/headertemp/index.js +23 -33
  20. package/heatmap3d/index.js +427 -734
  21. package/heatmap3d/style/heatmap3d.css +1 -1
  22. package/index.js +8170 -17000
  23. package/isolineanalysis/index.js +557 -1233
  24. package/light/index.js +351 -488
  25. package/limitheightanalysis/index.js +249 -312
  26. package/measure/index.js +341 -495
  27. package/modelFlat/index.js +261 -259
  28. package/modelexcavate/index.js +214 -266
  29. package/modelfilter/index.js +216 -299
  30. package/modelprofileanalysis/index.js +354 -465
  31. package/modelselect/index.js +183 -175
  32. package/package.json +1 -1
  33. package/particleeffect/index.js +257 -430
  34. package/planeclip/index.js +240 -330
  35. package/resetview/index.js +89 -69
  36. package/roller/index.js +305 -363
  37. package/scaneffect/index.js +274 -572
  38. package/sceneadvancedtoimage/index.js +1057 -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 +9208 -17907
  46. package/sceneview/style/sceneview.css +1 -1
  47. package/screenshot/index.js +273 -312
  48. package/shadowanalysis/index.js +259 -437
  49. package/sightlineanalysis/index.js +229 -312
  50. package/sightlineanalysis/style/divpoint.css +1 -1
  51. package/skylineanalysis/index.js +204 -341
  52. package/slopeanalysis/index.js +274 -435
  53. package/slopeaspectanalysis/index.js +307 -524
  54. package/statusbar/index.js +113 -84
  55. package/style.css +1 -1
  56. package/terrainoperation/index.js +222 -271
  57. package/terrainprofileanalysis/index.js +166 -173
  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,47 @@ 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
- //绘制完成监听事件
204
265
  constructor(scenceView, options) {
205
- (0,defineProperty/* default */.Z)(this, "_viewer", null);
206
-
207
- (0,defineProperty/* default */.Z)(this, "_options", {});
208
-
209
- (0,defineProperty/* default */.Z)(this, "_defaultOptions", {
266
+ (0,defineProperty/* default */.A)(this, "_viewer", null);
267
+ //三维viewer对象
268
+ (0,defineProperty/* default */.A)(this, "_options", {});
269
+ //Box裁剪存储参数对象
270
+ (0,defineProperty/* default */.A)(this, "_defaultOptions", {
210
271
  //默认参数对象
211
272
  clipTyp: 1,
212
273
  boxColor: Cesium.Color.fromCssColorString("#316882").withAlpha(0.4),
@@ -226,35 +287,34 @@ class BoxClipViewModel {
226
287
  paddingStrokeDirection: 35.0,
227
288
  paddingStrokeSpace: 5.0
228
289
  });
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
-
290
+ (0,defineProperty/* default */.A)(this, "_boxclipAnalysis", null);
291
+ //Box裁剪三维对象
292
+ (0,defineProperty/* default */.A)(this, "_drawManager", null);
293
+ //绘制管理对象
294
+ (0,defineProperty/* default */.A)(this, "_removeEventListener", null);
295
+ //绘制完成监听事件
296
+ (0,defineProperty/* default */.A)(this, "_language", {});
297
+ this._language = scenceView._language;
236
298
  this._options = Object.assign({}, options, this._defaultOptions);
237
- this._viewer = scenceView._viewer; // this._viewer.enabledFXAA = true;
238
-
299
+ this._viewer = scenceView._viewer;
300
+ // this._viewer.enabledFXAA = true;
239
301
  this._options.viewer = this._viewer;
240
302
  this._drawManager = scenceView._drawManager;
241
303
  let that = this;
242
304
  this._removeEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
243
305
  if (shape) {
244
- that._options.position = shape.position; // 实例化分析对象
245
-
306
+ that._options.position = shape.position;
307
+ // 实例化分析对象
246
308
  that._boxclipAnalysis = new Cesium.Kq3dBoxClip(that._options);
247
-
248
309
  that._drawManager.clear();
249
310
  }
250
311
  });
251
- } // 查找所有3dtiles模型对象
252
-
312
+ }
253
313
 
314
+ // 查找所有3dtiles模型对象
254
315
  findLayers() {
255
316
  let tilesets = [];
256
317
  const primitives = this._options.viewer.scene.primitives._primitives;
257
-
258
318
  for (let m = 0; m < primitives.length; m++) {
259
319
  if (primitives[m] instanceof Cesium.Cesium3DTileset) {
260
320
  tilesets.push({
@@ -263,138 +323,125 @@ class BoxClipViewModel {
263
323
  });
264
324
  }
265
325
  }
266
-
267
326
  return tilesets;
268
- } //根据id获取tileset对象
269
-
327
+ }
270
328
 
329
+ //根据id获取tileset对象
271
330
  findLayerById(id) {
272
331
  const primitives = this._options.viewer.scene.primitives._primitives;
273
332
  const tileset = primitives.find(function (item) {
274
333
  return item.guid === id;
275
334
  });
276
335
  return tileset;
277
- } // 开始分析
278
-
336
+ }
279
337
 
338
+ // 开始分析
280
339
  start() {
281
340
  // 判断是否添加了模型
282
341
  var flag = false;
283
342
  var models = this._options.viewer.scene.primitives._primitives;
284
-
285
343
  for (let i = 0; i < models.length; i++) {
286
344
  if (models[i]._url) {
287
345
  flag = true;
288
346
  }
289
347
  }
290
-
291
348
  if (flag) {
292
349
  this.clear();
293
350
  if (this._drawManager) this._drawManager.startDraw("marker", {
294
351
  image: null
295
352
  });
296
353
  } else {
297
- (0,message/* default */.Z)({
298
- message: "请添加模型后裁剪!",
354
+ (0,message/* default */.A)({
355
+ message: this._language["addModelClipTips"],
299
356
  type: "warning"
300
357
  });
301
358
  }
302
- } //清除全部
303
-
359
+ }
304
360
 
361
+ //清除全部
305
362
  clear() {
306
363
  if (this._boxclipAnalysis) this._boxclipAnalysis.boxEnable = false;
307
- this._boxclipAnalysis && this._boxclipAnalysis.remove(); // this._boxclipAnalysis = null;
308
- } //销毁
309
-
364
+ this._boxclipAnalysis && this._boxclipAnalysis.remove();
365
+ // this._boxclipAnalysis = null;
366
+ }
310
367
 
368
+ //销毁
311
369
  destroy() {
312
- this.clear(); //销毁分析对象
313
-
370
+ this.clear();
371
+ //销毁分析对象
314
372
  this._boxclipAnalysis && this._boxclipAnalysis.destroy();
315
- this._boxclipAnalysis = null; //移除监听事件
316
-
373
+ this._boxclipAnalysis = null;
374
+ //移除监听事件
317
375
  this._removeEventListener && this._removeEventListener();
318
376
  this._removeEventListener = null;
319
- } // 设置裁剪对象
320
-
377
+ }
321
378
 
379
+ // 设置裁剪对象
322
380
  setLayer(layerId) {
323
381
  this.clear();
324
382
  this._options.tileset = this.findLayerById(layerId);
325
- } // 设置裁剪方式,为true时,则为外部裁剪,否则为内部裁剪
326
-
383
+ }
327
384
 
385
+ // 设置裁剪方式,为true时,则为外部裁剪,否则为内部裁剪
328
386
  setClipType(val) {
329
387
  this._options.unionClippingRegions = val;
330
388
  if (this._boxclipAnalysis) this._boxclipAnalysis.unionClippingRegions = val;
331
- } //是否裁剪
332
-
333
-
389
+ }
390
+ //是否裁剪
334
391
  setClip(val) {
335
392
  this._options.enable = val;
336
-
337
393
  if (this._boxclipAnalysis) {
338
394
  this._boxclipAnalysis.enable = val;
339
395
  this._boxclipAnalysis.boxEnable = this._options.boxEnable;
340
396
  }
341
- } //显/隐辅助对象
342
-
343
-
397
+ }
398
+ //显/隐辅助对象
344
399
  setShowBox(val) {
345
400
  this._options.boxEnable = val;
346
401
  if (this._boxclipAnalysis) this._boxclipAnalysis.boxEnable = val;
347
- } // X方向上移动
348
-
349
-
402
+ }
403
+ // X方向上移动
350
404
  setXDistance(val) {
351
405
  this._options.x = Number(val);
352
406
  if (this._boxclipAnalysis) this._boxclipAnalysis.translationClip("x", Number(val));
353
- } // Y方向上移动
354
-
355
-
407
+ }
408
+ // Y方向上移动
356
409
  setYDistance(val) {
357
410
  this._options.y = Number(val);
358
411
  if (this._boxclipAnalysis) this._boxclipAnalysis.translationClip("y", Number(val));
359
- } // Z方向上移动
360
-
361
-
412
+ }
413
+ // Z方向上移动
362
414
  setZDistance(val) {
363
415
  this._options.z = Number(val);
364
416
  if (this._boxclipAnalysis) this._boxclipAnalysis.translationClip("z", Number(val));
365
- } //设置裁剪体长度
366
-
367
-
417
+ }
418
+ //设置裁剪体长度
368
419
  setAxisX(val) {
369
420
  this._options.axisX = Number(val);
370
421
  if (this._boxclipAnalysis) this._boxclipAnalysis.axisX = Number(val);
371
- } //设置裁剪体宽度
372
-
373
-
422
+ }
423
+ //设置裁剪体宽度
374
424
  setAxisY(val) {
375
425
  this._options.axisY = Number(val);
376
426
  if (this._boxclipAnalysis) this._boxclipAnalysis.axisY = Number(val);
377
- } //设置裁剪体高度
378
-
379
-
427
+ }
428
+ //设置裁剪体高度
380
429
  setAxisZ(val) {
381
430
  this._options.axisZ = Number(val);
382
431
  if (this._boxclipAnalysis) this._boxclipAnalysis.axisZ = Number(val);
383
- } //设置裁剪体旋转角
384
-
385
-
432
+ }
433
+ //设置裁剪体旋转角
386
434
  setAngle(val) {
387
435
  this._options.angle = Number(val);
388
436
  if (this._boxclipAnalysis) this._boxclipAnalysis.angle = Number(val);
389
437
  }
390
-
391
438
  }
392
439
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
393
- var client_icons_vue_ = __webpack_require__(348);
440
+ var client_icons_vue_ = __webpack_require__(5698);
394
441
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
395
- var util_ = __webpack_require__(3458);
442
+ var util_ = __webpack_require__(2975);
396
443
  // EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
397
- var vue_i18n_cjs_js_ = __webpack_require__(7080);
444
+ var vue_i18n_cjs_js_ = __webpack_require__(3579);
398
445
  ;// 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
446
 
400
447
  const _hoisted_1 = {
@@ -418,7 +465,7 @@ const _hoisted_4 = {
418
465
  const __default__ = {
419
466
  name: "Kq3dBoxClip"
420
467
  };
421
- /* harmony default export */ var BoxClipvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
468
+ /* harmony default export */ var BoxClipvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
422
469
  props: {
423
470
  // 设置参数
424
471
  settingParams: {
@@ -429,7 +476,6 @@ const __default__ = {
429
476
  type: Boolean,
430
477
  default: true
431
478
  },
432
-
433
479
  /**
434
480
  * 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
435
481
  */
@@ -459,19 +505,19 @@ const __default__ = {
459
505
  default: true
460
506
  }
461
507
  },
462
-
463
508
  setup(__props, {
464
509
  expose: __expose
465
510
  }) {
466
- const props = __props;
467
511
  const {
468
512
  proxy
469
513
  } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
470
514
  let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
471
515
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
472
516
  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)([]); // 获取组件传参
517
+ let tiles = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
474
518
 
519
+ // 获取组件传参
520
+ const props = __props;
475
521
  let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
476
522
  tileset: props.settingParams && props.settingParams.tileset || null,
477
523
  unionClippingRegions: props.settingParams && props.settingParams.unionClippingRegions !== undefined || false,
@@ -485,13 +531,16 @@ const __default__ = {
485
531
  clipHeight: props.settingParams && props.settingParams.clipHeight || 4.7,
486
532
  clipRotation: props.settingParams && props.settingParams.clipRotation || 90
487
533
  });
488
- let viewModel = null; // 组件容器Ref
534
+ let viewModel = null;
489
535
 
490
- let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
536
+ // 组件容器Ref
537
+ let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
491
538
 
539
+ // 生成组件默认header
492
540
  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)(); // 国际化
541
+ let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
494
542
 
543
+ // 国际化
495
544
  let {
496
545
  locale,
497
546
  messages
@@ -512,7 +561,6 @@ const __default__ = {
512
561
  });
513
562
  currentLang.value = proxy.$i18n.locale; // 获取当前语言
514
563
  //父组 件ScenceView初始化完成后执行
515
-
516
564
  gis_utils_.utils.getWebMap(null, scenceView => {
517
565
  if (scenceView) {
518
566
  let options = {
@@ -534,7 +582,6 @@ const __default__ = {
534
582
  setTimeout(() => {
535
583
  if (viewModel) {
536
584
  tiles.value = viewModel.findLayers(); // 获取所有tileset对象
537
-
538
585
  if (tiles.value.length > 0) {
539
586
  formItem.tileset = tiles.value[0].guid;
540
587
  paramsChanged("tileset");
@@ -542,117 +589,91 @@ const __default__ = {
542
589
  }
543
590
  }, 1000);
544
591
  });
592
+
545
593
  /**
546
594
  * @description 监听header生成
547
595
  */
548
-
549
596
  const watchCreateHeaderTemp = () => {
550
597
  if (props.showHeaderTemp) {
551
598
  // 生成headerTemp
552
599
  headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
553
600
  }
554
- }; // 参数改变
555
-
601
+ };
556
602
 
603
+ // 参数改变
557
604
  function paramsChanged(key) {
558
605
  switch (key) {
559
606
  case "tileset":
560
607
  viewModel.setLayer(formItem.tileset);
561
608
  break;
562
-
563
609
  case "unionClip":
564
610
  viewModel.setClipType(formItem.unionClippingRegions);
565
611
  break;
566
-
567
612
  case "enableClip":
568
613
  viewModel.setClip(formItem.enableClip);
569
614
  break;
570
-
571
615
  case "boxEnable":
572
616
  viewModel.setShowBox(formItem.boxEnable);
573
617
  break;
574
-
575
618
  case "xDistance":
576
619
  viewModel.setXDistance(formItem.xDistance);
577
620
  break;
578
-
579
621
  case "yDistance":
580
622
  viewModel.setYDistance(formItem.yDistance);
581
623
  break;
582
-
583
624
  case "zDistance":
584
625
  viewModel.setZDistance(formItem.zDistance);
585
626
  break;
586
-
587
627
  case "clipLength":
588
628
  viewModel.setAxisX(formItem.clipLength);
589
629
  break;
590
-
591
630
  case "clipWidth":
592
631
  viewModel.setAxisY(formItem.clipWidth);
593
632
  break;
594
-
595
633
  case "clipHeight":
596
634
  viewModel.setAxisZ(formItem.clipHeight);
597
635
  break;
598
-
599
636
  case "angle":
600
637
  viewModel.setAngle(formItem.clipRotation);
601
638
  break;
602
-
603
639
  default:
604
640
  break;
605
641
  }
606
- } // 开始裁剪
607
-
642
+ }
608
643
 
644
+ // 开始裁剪
609
645
  function clip() {
610
646
  viewModel && viewModel.start();
611
- } // 清除
612
-
647
+ }
613
648
 
649
+ // 清除
614
650
  function clearResult() {
615
651
  viewModel && viewModel.clear();
616
- } // 销毁
617
-
652
+ }
618
653
 
654
+ // 销毁
619
655
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
620
656
  viewModel && viewModel.destroy();
621
657
  });
622
-
623
658
  __expose({
624
659
  paramsChanged,
625
660
  clip,
626
661
  clearResult
627
662
  });
628
-
629
663
  return (_ctx, _cache) => {
630
664
  const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
631
-
632
665
  const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
633
-
634
666
  const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
635
-
636
667
  const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
637
-
638
668
  const _component_kq_radio = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio");
639
-
640
669
  const _component_kq_checkbox = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-checkbox");
641
-
642
670
  const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
643
-
644
671
  const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
645
-
646
672
  const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
647
-
648
673
  const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
649
-
650
674
  const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
651
-
652
675
  const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
653
-
654
676
  const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
655
-
656
677
  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
678
  class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-box-clip", {
658
679
  'kq-box-shadow': __props.showShadow
@@ -663,9 +684,7 @@ const __default__ = {
663
684
  key: 0,
664
685
  ref_key: "headerTempRef",
665
686
  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, {
687
+ }, 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
688
  gutter: 20,
670
689
  class: "rowClass"
671
690
  }, {
@@ -673,12 +692,8 @@ const __default__ = {
673
692
  span: 6,
674
693
  class: "colClass"
675
694
  }, {
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
-
695
+ 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 */)]),
696
+ _: 1 /* STABLE */
682
697
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
683
698
  span: 18
684
699
  }, {
@@ -693,31 +708,15 @@ const __default__ = {
693
708
  value: item.guid,
694
709
  label: item.name
695
710
  }, {
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
-
711
+ 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 */)]),
712
+ _: 2 /* DYNAMIC */
713
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["value", "label"]);
714
+ }), 128 /* KEYED_FRAGMENT */))]),
715
+ _: 1 /* STABLE */
716
+ }, 8 /* PROPS */, ["modelValue"])]),
717
+ _: 1 /* STABLE */
717
718
  })]),
718
- _: 1
719
- /* STABLE */
720
-
719
+ _: 1 /* STABLE */
721
720
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
722
721
  gutter: 20,
723
722
  class: "rowClass"
@@ -726,12 +725,8 @@ const __default__ = {
726
725
  span: 6,
727
726
  class: "colClass"
728
727
  }, {
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
-
728
+ 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 */)]),
729
+ _: 1 /* STABLE */
735
730
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
736
731
  span: 18
737
732
  }, {
@@ -741,45 +736,25 @@ const __default__ = {
741
736
  label: false,
742
737
  onChange: _cache[3] || (_cache[3] = $event => paramsChanged('unionClip'))
743
738
  }, {
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, {
739
+ 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 */)]),
740
+ _: 1 /* STABLE */
741
+ }, 8 /* PROPS */, ["modelValue"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
753
742
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).unionClippingRegions,
754
743
  "onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).unionClippingRegions = $event),
755
744
  label: true,
756
745
  onChange: _cache[5] || (_cache[5] = $event => paramsChanged('unionClip'))
757
746
  }, {
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
-
747
+ 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 */)]),
748
+ _: 1 /* STABLE */
749
+ }, 8 /* PROPS */, ["modelValue"])]),
750
+ _: 1 /* STABLE */
770
751
  })]),
771
- _: 1
772
- /* STABLE */
773
-
752
+ _: 1 /* STABLE */
774
753
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
775
754
  class: "kq3d-box-clip-tip"
776
755
  }, {
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
-
756
+ 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 */)]),
757
+ _: 1 /* STABLE */
783
758
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
784
759
  "model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(collapseValue),
785
760
  class: "kq3d-box-clip-collapse"
@@ -805,18 +780,10 @@ const __default__ = {
805
780
  "onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableClip = $event),
806
781
  onChange: _cache[7] || (_cache[7] = $event => paramsChanged('enableClip'))
807
782
  }, {
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
-
783
+ 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 */)]),
784
+ _: 1 /* STABLE */
785
+ }, 8 /* PROPS */, ["modelValue"])]),
786
+ _: 1 /* STABLE */
820
787
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
821
788
  span: 12
822
789
  }, {
@@ -825,22 +792,12 @@ const __default__ = {
825
792
  "onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).boxEnable = $event),
826
793
  onChange: _cache[9] || (_cache[9] = $event => paramsChanged('boxEnable'))
827
794
  }, {
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
-
795
+ 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 */)]),
796
+ _: 1 /* STABLE */
797
+ }, 8 /* PROPS */, ["modelValue"])]),
798
+ _: 1 /* STABLE */
840
799
  })]),
841
- _: 1
842
- /* STABLE */
843
-
800
+ _: 1 /* STABLE */
844
801
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
845
802
  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
803
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).xDistance
@@ -860,12 +817,8 @@ const __default__ = {
860
817
  min: -40.0,
861
818
  max: 40,
862
819
  onInput: _cache[11] || (_cache[11] = $event => paramsChanged('xDistance'))
863
- }, null, 8
864
- /* PROPS */
865
- , ["modelValue", "min"])]),
866
- _: 1
867
- /* STABLE */
868
-
820
+ }, null, 8 /* PROPS */, ["modelValue"])]),
821
+ _: 1 /* STABLE */
869
822
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
870
823
  span: 8
871
824
  }, {
@@ -877,26 +830,14 @@ const __default__ = {
877
830
  step: 1,
878
831
  "controls-position": "right",
879
832
  onInput: _cache[13] || (_cache[13] = $event => paramsChanged('xDistance'))
880
- }, null, 8
881
- /* PROPS */
882
- , ["modelValue"])]),
883
- _: 1
884
- /* STABLE */
885
-
833
+ }, null, 8 /* PROPS */, ["modelValue"])]),
834
+ _: 1 /* STABLE */
886
835
  })]),
887
- _: 1
888
- /* STABLE */
889
-
836
+ _: 1 /* STABLE */
890
837
  })]),
891
- _: 1
892
- /* STABLE */
893
-
894
- }, 8
895
- /* PROPS */
896
- , ["label"])]),
897
- _: 1
898
- /* STABLE */
899
-
838
+ _: 1 /* STABLE */
839
+ }, 8 /* PROPS */, ["label"])]),
840
+ _: 1 /* STABLE */
900
841
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
901
842
  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
843
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).yDistance
@@ -916,12 +857,8 @@ const __default__ = {
916
857
  min: -40.0,
917
858
  max: 40,
918
859
  onInput: _cache[15] || (_cache[15] = $event => paramsChanged('yDistance'))
919
- }, null, 8
920
- /* PROPS */
921
- , ["modelValue", "min"])]),
922
- _: 1
923
- /* STABLE */
924
-
860
+ }, null, 8 /* PROPS */, ["modelValue"])]),
861
+ _: 1 /* STABLE */
925
862
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
926
863
  span: 8
927
864
  }, {
@@ -933,26 +870,14 @@ const __default__ = {
933
870
  step: 1,
934
871
  "controls-position": "right",
935
872
  onInput: _cache[17] || (_cache[17] = $event => paramsChanged('yDistance'))
936
- }, null, 8
937
- /* PROPS */
938
- , ["modelValue", "min"])]),
939
- _: 1
940
- /* STABLE */
941
-
873
+ }, null, 8 /* PROPS */, ["modelValue"])]),
874
+ _: 1 /* STABLE */
942
875
  })]),
943
- _: 1
944
- /* STABLE */
945
-
876
+ _: 1 /* STABLE */
946
877
  })]),
947
- _: 1
948
- /* STABLE */
949
-
950
- }, 8
951
- /* PROPS */
952
- , ["label"])]),
953
- _: 1
954
- /* STABLE */
955
-
878
+ _: 1 /* STABLE */
879
+ }, 8 /* PROPS */, ["label"])]),
880
+ _: 1 /* STABLE */
956
881
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
957
882
  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
883
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).zDistance
@@ -972,12 +897,8 @@ const __default__ = {
972
897
  min: -40.0,
973
898
  max: 40,
974
899
  onInput: _cache[19] || (_cache[19] = $event => paramsChanged('zDistance'))
975
- }, null, 8
976
- /* PROPS */
977
- , ["modelValue", "min"])]),
978
- _: 1
979
- /* STABLE */
980
-
900
+ }, null, 8 /* PROPS */, ["modelValue"])]),
901
+ _: 1 /* STABLE */
981
902
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
982
903
  span: 8
983
904
  }, {
@@ -989,26 +910,14 @@ const __default__ = {
989
910
  step: 1,
990
911
  "controls-position": "right",
991
912
  onInput: _cache[21] || (_cache[21] = $event => paramsChanged('zDistance'))
992
- }, null, 8
993
- /* PROPS */
994
- , ["modelValue", "min"])]),
995
- _: 1
996
- /* STABLE */
997
-
913
+ }, null, 8 /* PROPS */, ["modelValue"])]),
914
+ _: 1 /* STABLE */
998
915
  })]),
999
- _: 1
1000
- /* STABLE */
1001
-
916
+ _: 1 /* STABLE */
1002
917
  })]),
1003
- _: 1
1004
- /* STABLE */
1005
-
1006
- }, 8
1007
- /* PROPS */
1008
- , ["label"])]),
1009
- _: 1
1010
- /* STABLE */
1011
-
918
+ _: 1 /* STABLE */
919
+ }, 8 /* PROPS */, ["label"])]),
920
+ _: 1 /* STABLE */
1012
921
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
1013
922
  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
923
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipLength
@@ -1028,12 +937,8 @@ const __default__ = {
1028
937
  min: 0,
1029
938
  max: 50,
1030
939
  onInput: _cache[23] || (_cache[23] = $event => paramsChanged('clipLength'))
1031
- }, null, 8
1032
- /* PROPS */
1033
- , ["modelValue", "step"])]),
1034
- _: 1
1035
- /* STABLE */
1036
-
940
+ }, null, 8 /* PROPS */, ["modelValue"])]),
941
+ _: 1 /* STABLE */
1037
942
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1038
943
  span: 8
1039
944
  }, {
@@ -1045,26 +950,14 @@ const __default__ = {
1045
950
  step: 0.1,
1046
951
  "controls-position": "right",
1047
952
  onInput: _cache[25] || (_cache[25] = $event => paramsChanged('clipLength'))
1048
- }, null, 8
1049
- /* PROPS */
1050
- , ["modelValue", "step"])]),
1051
- _: 1
1052
- /* STABLE */
1053
-
953
+ }, null, 8 /* PROPS */, ["modelValue"])]),
954
+ _: 1 /* STABLE */
1054
955
  })]),
1055
- _: 1
1056
- /* STABLE */
1057
-
956
+ _: 1 /* STABLE */
1058
957
  })]),
1059
- _: 1
1060
- /* STABLE */
1061
-
1062
- }, 8
1063
- /* PROPS */
1064
- , ["label"])]),
1065
- _: 1
1066
- /* STABLE */
1067
-
958
+ _: 1 /* STABLE */
959
+ }, 8 /* PROPS */, ["label"])]),
960
+ _: 1 /* STABLE */
1068
961
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
1069
962
  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
963
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipWidth
@@ -1084,12 +977,8 @@ const __default__ = {
1084
977
  min: 0,
1085
978
  max: 50,
1086
979
  onInput: _cache[27] || (_cache[27] = $event => paramsChanged('clipWidth'))
1087
- }, null, 8
1088
- /* PROPS */
1089
- , ["modelValue", "step"])]),
1090
- _: 1
1091
- /* STABLE */
1092
-
980
+ }, null, 8 /* PROPS */, ["modelValue"])]),
981
+ _: 1 /* STABLE */
1093
982
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1094
983
  span: 8
1095
984
  }, {
@@ -1101,26 +990,14 @@ const __default__ = {
1101
990
  max: 50,
1102
991
  "controls-position": "right",
1103
992
  onInput: _cache[29] || (_cache[29] = $event => paramsChanged('clipWidth'))
1104
- }, null, 8
1105
- /* PROPS */
1106
- , ["modelValue", "step"])]),
1107
- _: 1
1108
- /* STABLE */
1109
-
993
+ }, null, 8 /* PROPS */, ["modelValue"])]),
994
+ _: 1 /* STABLE */
1110
995
  })]),
1111
- _: 1
1112
- /* STABLE */
1113
-
996
+ _: 1 /* STABLE */
1114
997
  })]),
1115
- _: 1
1116
- /* STABLE */
1117
-
1118
- }, 8
1119
- /* PROPS */
1120
- , ["label"])]),
1121
- _: 1
1122
- /* STABLE */
1123
-
998
+ _: 1 /* STABLE */
999
+ }, 8 /* PROPS */, ["label"])]),
1000
+ _: 1 /* STABLE */
1124
1001
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
1125
1002
  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
1003
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipHeight
@@ -1140,12 +1017,8 @@ const __default__ = {
1140
1017
  min: 0,
1141
1018
  max: 10,
1142
1019
  onInput: _cache[31] || (_cache[31] = $event => paramsChanged('clipHeight'))
1143
- }, null, 8
1144
- /* PROPS */
1145
- , ["modelValue", "step"])]),
1146
- _: 1
1147
- /* STABLE */
1148
-
1020
+ }, null, 8 /* PROPS */, ["modelValue"])]),
1021
+ _: 1 /* STABLE */
1149
1022
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1150
1023
  span: 8
1151
1024
  }, {
@@ -1157,26 +1030,14 @@ const __default__ = {
1157
1030
  max: 10,
1158
1031
  "controls-position": "right",
1159
1032
  onInput: _cache[33] || (_cache[33] = $event => paramsChanged('clipHeight'))
1160
- }, null, 8
1161
- /* PROPS */
1162
- , ["modelValue", "step"])]),
1163
- _: 1
1164
- /* STABLE */
1165
-
1033
+ }, null, 8 /* PROPS */, ["modelValue"])]),
1034
+ _: 1 /* STABLE */
1166
1035
  })]),
1167
- _: 1
1168
- /* STABLE */
1169
-
1036
+ _: 1 /* STABLE */
1170
1037
  })]),
1171
- _: 1
1172
- /* STABLE */
1173
-
1174
- }, 8
1175
- /* PROPS */
1176
- , ["label"])]),
1177
- _: 1
1178
- /* STABLE */
1179
-
1038
+ _: 1 /* STABLE */
1039
+ }, 8 /* PROPS */, ["label"])]),
1040
+ _: 1 /* STABLE */
1180
1041
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
1181
1042
  style: {
1182
1043
  "margin-bottom": "8px"
@@ -1200,12 +1061,8 @@ const __default__ = {
1200
1061
  min: 0,
1201
1062
  max: 360,
1202
1063
  onInput: _cache[35] || (_cache[35] = $event => paramsChanged('angle'))
1203
- }, null, 8
1204
- /* PROPS */
1205
- , ["modelValue"])]),
1206
- _: 1
1207
- /* STABLE */
1208
-
1064
+ }, null, 8 /* PROPS */, ["modelValue"])]),
1065
+ _: 1 /* STABLE */
1209
1066
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1210
1067
  span: 8
1211
1068
  }, {
@@ -1217,75 +1074,36 @@ const __default__ = {
1217
1074
  step: 1,
1218
1075
  "controls-position": "right",
1219
1076
  onInput: _cache[37] || (_cache[37] = $event => paramsChanged('angle'))
1220
- }, null, 8
1221
- /* PROPS */
1222
- , ["modelValue"])]),
1223
- _: 1
1224
- /* STABLE */
1225
-
1077
+ }, null, 8 /* PROPS */, ["modelValue"])]),
1078
+ _: 1 /* STABLE */
1226
1079
  })]),
1227
- _: 1
1228
- /* STABLE */
1229
-
1080
+ _: 1 /* STABLE */
1230
1081
  })]),
1231
- _: 1
1232
- /* STABLE */
1233
-
1234
- }, 8
1235
- /* PROPS */
1236
- , ["label"])]),
1237
- _: 1
1238
- /* STABLE */
1239
-
1082
+ _: 1 /* STABLE */
1083
+ }, 8 /* PROPS */, ["label"])]),
1084
+ _: 1 /* STABLE */
1240
1085
  })]),
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, {
1086
+ _: 1 /* STABLE */
1087
+ }, 8 /* PROPS */, ["label-width"])]),
1088
+ _: 1 /* STABLE */
1089
+ }, 8 /* PROPS */, ["title"])]),
1090
+ _: 1 /* STABLE */
1091
+ }, 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
1092
  onClick: _cache[38] || (_cache[38] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clip(), ["stop"])),
1260
1093
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clip,
1261
1094
  type: "primary"
1262
1095
  }, {
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, {
1096
+ 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 */)]),
1097
+ _: 1 /* STABLE */
1098
+ }, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1272
1099
  onClick: _cache[39] || (_cache[39] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
1273
1100
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
1274
1101
  }, {
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
- );
1102
+ 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 */)]),
1103
+ _: 1 /* STABLE */
1104
+ }, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
1286
1105
  };
1287
1106
  }
1288
-
1289
1107
  }));
1290
1108
  ;// CONCATENATED MODULE: ./src/webgl/boxclip/BoxClip.vue?vue&type=script&setup=true&lang=js
1291
1109
 
@@ -1297,10 +1115,13 @@ const __exports__ = BoxClipvue_type_script_setup_true_lang_js;
1297
1115
 
1298
1116
  /* harmony default export */ var BoxClip = (__exports__);
1299
1117
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
1300
- var init_js_ = __webpack_require__(7997);
1118
+ var init_js_ = __webpack_require__(455);
1301
1119
  var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
1302
1120
  ;// CONCATENATED MODULE: ./src/webgl/boxclip/index.js
1303
-
1121
+ /*
1122
+ * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
1123
+ * All rights reserved.
1124
+ */
1304
1125
 
1305
1126
 
1306
1127
 
@@ -1309,8 +1130,6 @@ BoxClip.install = (Vue, opts) => {
1309
1130
  Vue.component(BoxClip.name, BoxClip);
1310
1131
  };
1311
1132
 
1312
-
1313
- }();
1314
1133
  /******/ return __webpack_exports__;
1315
1134
  /******/ })()
1316
1135
  ;