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