@kq_npm/client3d_webgl_vue 4.5.3-beta → 4.5.4-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/adddata/index.js +337 -524
  2. package/adddata/style/adddata.css +1 -1
  3. package/aspectanalysis/index.js +159 -227
  4. package/baseterraingallery/index.js +122 -145
  5. package/boxclip/index.js +288 -470
  6. package/clientPrint/index.js +333 -897
  7. package/clientPrint/style/clientPrint.css +1 -1
  8. package/comparemap/index.js +224 -246
  9. package/compass/index.js +96 -84
  10. package/excavatefillanalysis/index.js +181 -252
  11. package/fixedzoomin/index.js +91 -76
  12. package/fixedzoomout/index.js +91 -76
  13. package/flight/index.js +297 -401
  14. package/flight/style/flight.css +1 -1
  15. package/floodanalysis/index.js +243 -382
  16. package/geologicalbodyanalysis/index.js +203 -287
  17. package/gpuspatialquery/index.js +240 -390
  18. package/hawkeye/index.js +139 -103
  19. package/headertemp/index.js +23 -33
  20. package/heatmap3d/index.js +426 -733
  21. package/heatmap3d/style/heatmap3d.css +1 -1
  22. package/index.js +7913 -16839
  23. package/isolineanalysis/index.js +554 -1231
  24. package/light/index.js +351 -488
  25. package/limitheightanalysis/index.js +249 -312
  26. package/measure/index.js +339 -493
  27. package/modelFlat/index.js +202 -223
  28. package/modelexcavate/index.js +194 -251
  29. package/modelfilter/index.js +216 -299
  30. package/modelprofileanalysis/index.js +354 -465
  31. package/modelselect/index.js +180 -173
  32. package/package.json +1 -1
  33. package/particleeffect/index.js +257 -430
  34. package/planeclip/index.js +237 -328
  35. package/resetview/index.js +89 -69
  36. package/roller/index.js +305 -363
  37. package/scaneffect/index.js +273 -571
  38. package/sceneadvancedtoimage/index.js +1055 -0
  39. package/sceneadvancedtoimage/style/index.js +3 -0
  40. package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
  41. package/sceneapp/index.js +818 -2179
  42. package/sceneset/index.js +391 -885
  43. package/scenetohdimage/index.js +212 -346
  44. package/scenetohdimage/style/scenetohdimage.css +1 -1
  45. package/sceneview/index.js +9018 -17813
  46. package/sceneview/style/sceneview.css +1 -1
  47. package/screenshot/index.js +273 -312
  48. package/shadowanalysis/index.js +256 -436
  49. package/sightlineanalysis/index.js +229 -312
  50. package/sightlineanalysis/style/divpoint.css +1 -1
  51. package/skylineanalysis/index.js +200 -339
  52. package/slopeanalysis/index.js +270 -433
  53. package/slopeaspectanalysis/index.js +303 -523
  54. package/statusbar/index.js +113 -84
  55. package/style.css +1 -1
  56. package/terrainoperation/index.js +218 -269
  57. package/terrainprofileanalysis/index.js +162 -171
  58. package/underground/index.js +96 -82
  59. package/videofusion/index.js +305 -519
  60. package/videoproject/index.js +311 -521
  61. package/viewshedanalysis/index.js +176 -275
  62. package/weathereffect/index.js +197 -343
  63. package/wireframesketch/index.js +133 -141
@@ -7,107 +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/_utils/const-image"), 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/_utils/const-image"], 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__6277__, __WEBPACK_EXTERNAL_MODULE__7997__, __WEBPACK_EXTERNAL_MODULE__3458__) {
10
+ })(this, function(__WEBPACK_EXTERNAL_MODULE__154__, __WEBPACK_EXTERNAL_MODULE__64__, __WEBPACK_EXTERNAL_MODULE__4822__, __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
+ /***/ 3658:
44
+ /***/ (function(module) {
45
+
46
+ module.exports = require("core-js/modules/esnext.iterator.constructor.js");
47
+
48
+ /***/ }),
49
+
50
+ /***/ 7993:
51
+ /***/ (function(module) {
52
+
53
+ module.exports = require("core-js/modules/esnext.iterator.find.js");
54
+
55
+ /***/ }),
56
+
57
+ /***/ 6363:
42
58
  /***/ (function(module) {
43
59
 
44
60
  module.exports = require("element-plus/dist/index.full.js");
45
61
 
46
62
  /***/ }),
47
63
 
48
- /***/ 7080:
64
+ /***/ 3579:
49
65
  /***/ (function(module) {
50
66
 
51
67
  module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
52
68
 
53
69
  /***/ }),
54
70
 
55
- /***/ 6277:
71
+ /***/ 4822:
56
72
  /***/ (function(module) {
57
73
 
58
- module.exports = __WEBPACK_EXTERNAL_MODULE__6277__;
74
+ module.exports = __WEBPACK_EXTERNAL_MODULE__4822__;
59
75
 
60
76
  /***/ }),
61
77
 
62
- /***/ 7135:
78
+ /***/ 64:
63
79
  /***/ (function(module) {
64
80
 
65
- module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
81
+ module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
66
82
 
67
83
  /***/ }),
68
84
 
69
- /***/ 3458:
85
+ /***/ 2975:
70
86
  /***/ (function(module) {
71
87
 
72
- module.exports = __WEBPACK_EXTERNAL_MODULE__3458__;
88
+ module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
73
89
 
74
90
  /***/ }),
75
91
 
76
- /***/ 7997:
92
+ /***/ 455:
77
93
  /***/ (function(module) {
78
94
 
79
- module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
95
+ module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
80
96
 
81
97
  /***/ }),
82
98
 
83
- /***/ 1895:
99
+ /***/ 154:
84
100
  /***/ (function(module) {
85
101
 
86
- module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
102
+ module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
87
103
 
88
104
  /***/ }),
89
105
 
90
- /***/ 8270:
106
+ /***/ 6913:
91
107
  /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
92
108
 
93
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
94
- /* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
95
- /* harmony export */ });
96
- function _defineProperty(obj, key, value) {
97
- if (key in obj) {
98
- Object.defineProperty(obj, key, {
99
- value: value,
100
- enumerable: true,
101
- configurable: true,
102
- writable: true
103
- });
104
- } else {
105
- 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.");
106
135
  }
136
+ return ("string" === r ? String : Number)(t);
137
+ }
138
+
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
107
148
 
108
- return obj;
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;
109
156
  }
110
157
 
158
+
111
159
  /***/ })
112
160
 
113
161
  /******/ });
@@ -179,52 +227,55 @@ function _defineProperty(obj, key, value) {
179
227
  /******/
180
228
  /************************************************************************/
181
229
  var __webpack_exports__ = {};
182
- // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
183
- !function() {
184
230
  // ESM COMPAT FLAG
185
231
  __webpack_require__.r(__webpack_exports__);
186
232
 
187
233
  // EXPORTS
188
234
  __webpack_require__.d(__webpack_exports__, {
189
- "FloodAnalysisViewModel": function() { return /* reexport */ FloodAnalysisViewModel; },
235
+ FloodAnalysisViewModel: function() { return /* reexport */ FloodAnalysisViewModel; },
190
236
  "default": function() { return /* reexport */ FloodAnalysis; }
191
237
  });
192
238
 
239
+ // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
240
+ var esnext_iterator_constructor_js_ = __webpack_require__(3658);
241
+ // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.find.js"
242
+ var esnext_iterator_find_js_ = __webpack_require__(7993);
193
243
  // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
194
- var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
244
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
195
245
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
196
- var gis_utils_ = __webpack_require__(7135);
197
- // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
198
- var defineProperty = __webpack_require__(8270);
246
+ var gis_utils_ = __webpack_require__(64);
247
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
248
+ var defineProperty = __webpack_require__(6913);
199
249
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
200
- var const_image_ = __webpack_require__(6277);
250
+ var const_image_ = __webpack_require__(4822);
201
251
  // EXTERNAL MODULE: ./src/common/_ui/message/index.js
202
- var message = __webpack_require__(1349);
252
+ var message = __webpack_require__(3275);
203
253
  ;// CONCATENATED MODULE: ./src/webgl/floodanalysis/FloodAnalysisViewModel.js
204
254
 
205
- //地形淹没分析逻辑类
206
-
207
-
208
- class FloodAnalysisViewModel {
209
- //地形淹没三维对象
210
- //模型淹没三维对象
211
- //测量三维对象
212
- //测量结果
213
- //淹没模式
214
- constructor(scenceView, options) {
215
- (0,defineProperty/* default */.Z)(this, "_options", {});
216
-
217
- (0,defineProperty/* default */.Z)(this, "_floodTerrainAnalysis", null);
218
255
 
219
- (0,defineProperty/* default */.Z)(this, "_floodModelAnalysis", null);
220
256
 
221
- (0,defineProperty/* default */.Z)(this, "_measureHandler", null);
257
+ /*
258
+ * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
259
+ * All rights reserved.
260
+ */
222
261
 
223
- (0,defineProperty/* default */.Z)(this, "_measureResult", null);
262
+ //地形淹没分析逻辑类
224
263
 
225
- (0,defineProperty/* default */.Z)(this, "_mode", 0);
226
-
227
- (0,defineProperty/* default */.Z)(this, "_colorImages", [//淹没纹理图片集合
264
+ class FloodAnalysisViewModel {
265
+ constructor(scenceView, options) {
266
+ (0,defineProperty/* default */.A)(this, "_options", {});
267
+ (0,defineProperty/* default */.A)(this, "_floodTerrainAnalysis", null);
268
+ //地形淹没三维对象
269
+ (0,defineProperty/* default */.A)(this, "_floodModelAnalysis", null);
270
+ //模型淹没三维对象
271
+ (0,defineProperty/* default */.A)(this, "_measureHandler", null);
272
+ //测量三维对象
273
+ (0,defineProperty/* default */.A)(this, "_measureResult", null);
274
+ //测量结果
275
+ (0,defineProperty/* default */.A)(this, "_mode", 0);
276
+ //淹没模式
277
+ (0,defineProperty/* default */.A)(this, "_colorImages", [
278
+ //淹没纹理图片集合
228
279
  {
229
280
  value: "0",
230
281
  src: const_image_.RED_TO_PURPLE_URL
@@ -235,13 +286,12 @@ class FloodAnalysisViewModel {
235
286
  value: "2",
236
287
  src: const_image_.GREEN_TO_BLUE_URL
237
288
  }]);
238
-
239
289
  this._mode = options.mode;
240
290
  options.viewer = scenceView._viewer;
241
291
  options.viewer.scene.globe.depthTestAgainstTerrain = true;
242
292
  options.colorImage = this.getImagePath(options.colorImage);
243
- this._options = options; //this._floodModelAnalysis = new Cesium.Kq3dFloodModelAnalysis(options);
244
-
293
+ this._options = options;
294
+ //this._floodModelAnalysis = new Cesium.Kq3dFloodModelAnalysis(options);
245
295
  this._floodModelAnalysis = scenceView._floodModelAnalysis;
246
296
  this._floodModelAnalysis.moveMode = options.moveMode;
247
297
  this._floodModelAnalysis.speed = options.speed;
@@ -251,75 +301,63 @@ class FloodAnalysisViewModel {
251
301
  this._floodModelAnalysis.colorImage = options.colorImage;
252
302
  var that = this;
253
303
  this._measureHandler = new Cesium.Kq3dMeasureHandler(scenceView._viewer);
254
-
255
304
  this._measureHandler.measureEvent.addEventListener(function (result) {
256
305
  that._measureResult = result;
257
306
  result.measureResult.label.show = false;
258
307
  });
259
-
260
308
  this._measureHandler.activeEvent.addEventListener(function (ret) {
261
309
  if (ret == false) {
262
310
  if (that._measureResult) {
263
311
  if (that._mode === 0) {
264
312
  that._options.positions = that._measureResult.positions;
265
-
266
313
  if (!that._floodTerrainAnalysis) {
267
314
  that._floodTerrainAnalysis = new Cesium.Kq3dFloodTerrainAnalysis(that._options);
268
315
  } else {
269
316
  that._floodTerrainAnalysis.positions = that._measureResult.positions;
270
317
  }
271
-
272
318
  that._floodTerrainAnalysis.start();
273
319
  } else if (that._mode === 1) {
274
320
  if (that._measureResult.positions && that._measureResult.positions.length > 0) {
275
321
  that._floodModelAnalysis.center = that._measureResult.positions[0];
276
322
  }
277
-
278
323
  let polygon = Cesium.PolygonGeometry.fromPositions({
279
324
  positions: that._measureResult.positions
280
325
  });
281
-
282
326
  that._floodModelAnalysis.addPolygon(polygon);
283
-
284
327
  that._floodModelAnalysis.start();
285
328
  }
286
-
287
329
  that._measureResult.measureResult.destroy();
288
330
  }
289
331
  }
290
332
  });
291
- } //获取图片路径
292
-
333
+ }
293
334
 
335
+ //获取图片路径
294
336
  getImagePath(value) {
295
337
  var imagePath = '';
296
-
297
338
  var image = this._colorImages.find(item => item.value === value);
298
-
299
339
  if (image) {
300
340
  imagePath = image.src;
301
341
  }
302
-
303
342
  return imagePath;
304
- } //开始分析
305
-
343
+ }
306
344
 
345
+ //开始分析
307
346
  start() {
308
347
  // 判断是否添加了地形
309
348
  if (this._mode === 0) {
310
349
  if (this._floodModelAnalysis.viewer.terrainProvider.availability) {
311
350
  if (this._floodModelAnalysis.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
312
351
  this.clear();
313
-
314
352
  this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
315
353
  } else {
316
- (0,message/* default */.Z)({
354
+ (0,message/* default */.A)({
317
355
  message: "只支持STK类型的地形分析!",
318
356
  type: "warning"
319
357
  });
320
358
  }
321
359
  } else {
322
- (0,message/* default */.Z)({
360
+ (0,message/* default */.A)({
323
361
  message: "请加载地形后分析!",
324
362
  type: "warning"
325
363
  });
@@ -327,31 +365,27 @@ class FloodAnalysisViewModel {
327
365
  } else if (this._mode === 1) {
328
366
  var modelFlag = false;
329
367
  var models = this._floodModelAnalysis.viewer.scene.primitives._primitives;
330
-
331
368
  for (let i = 0; i < models.length; i++) {
332
369
  if (models[i] instanceof Cesium.Cesium3DTileset) {
333
370
  modelFlag = true;
334
371
  break;
335
372
  }
336
373
  }
337
-
338
374
  if (modelFlag) {
339
375
  this.clear();
340
-
341
376
  this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
342
377
  } else {
343
- (0,message/* default */.Z)({
378
+ (0,message/* default */.A)({
344
379
  message: "请添加模型后分析!",
345
380
  type: "warning"
346
381
  });
347
382
  }
348
383
  }
349
- } //清除全部结果
350
-
384
+ }
351
385
 
386
+ //清除全部结果
352
387
  clear() {
353
388
  this._measureHandler.stopMeasure();
354
-
355
389
  if (this._floodTerrainAnalysis) {
356
390
  var options = {
357
391
  viewer: this._floodTerrainAnalysis.viewer,
@@ -363,18 +397,15 @@ class FloodAnalysisViewModel {
363
397
  maxHeight: this._floodTerrainAnalysis.maxHeight,
364
398
  colorImage: this._floodTerrainAnalysis.colorImage
365
399
  };
366
-
367
400
  this._floodTerrainAnalysis.destroy();
368
-
369
401
  this._floodTerrainAnalysis = new Cesium.Kq3dFloodTerrainAnalysis(options);
370
402
  }
371
-
372
403
  if (this._floodModelAnalysis) {
373
404
  this._floodModelAnalysis.reset();
374
405
  }
375
- } //销毁
376
-
406
+ }
377
407
 
408
+ //销毁
378
409
  destroy() {
379
410
  this._floodTerrainAnalysis && this._floodTerrainAnalysis.destroy();
380
411
  this._floodTerrainAnalysis = null;
@@ -382,69 +413,64 @@ class FloodAnalysisViewModel {
382
413
  this._floodModelAnalysis = null;
383
414
  this._measureHandler && this._measureHandler.destroy();
384
415
  this._measureHandler = null;
385
- } //设置淹没模式
386
-
416
+ }
387
417
 
418
+ //设置淹没模式
388
419
  setMoveMode(mode) {
389
420
  this._mode = Number(mode);
390
- } //设置淹没方向
391
-
392
-
421
+ }
422
+ //设置淹没方向
393
423
  setMoveDirection(direction) {
394
424
  direction = Number(direction);
395
425
  this._options.moveMode = direction;
396
426
  if (this._floodTerrainAnalysis) this._floodTerrainAnalysis.moveMode = direction;
397
427
  if (this._floodModelAnalysis) this._floodModelAnalysis.moveMode = direction;
398
- } //设置淹没速度
399
-
400
-
428
+ }
429
+ //设置淹没速度
401
430
  setMoveSpeed(speed) {
402
431
  speed = Number(speed);
403
432
  this._options.speed = speed;
404
433
  if (this._floodTerrainAnalysis) this._floodTerrainAnalysis.speed = speed;
405
434
  if (this._floodModelAnalysis) this._floodModelAnalysis.speed = speed;
406
- } //设置淹没纹理透明度
407
-
408
-
435
+ }
436
+ //设置淹没纹理透明度
409
437
  setMoveAlpha(alpha) {
410
438
  alpha = Number(alpha);
411
439
  this._options.alpha = alpha;
412
440
  if (this._floodTerrainAnalysis) this._floodTerrainAnalysis.alpha = alpha;
413
441
  if (this._floodModelAnalysis) this._floodModelAnalysis.alpha = alpha;
414
- } //设置最小淹没高度
415
-
416
-
442
+ }
443
+ //设置最小淹没高度
417
444
  setMoveMinHeight(minHeight) {
418
445
  minHeight = Number(minHeight);
419
446
  this._options.minHeight = minHeight;
420
447
  if (this._floodTerrainAnalysis) this._floodTerrainAnalysis.minHeight = minHeight;
421
448
  if (this._floodModelAnalysis) this._floodModelAnalysis.minHeight = minHeight;
422
- } //设置最大淹没高度
423
-
424
-
449
+ }
450
+ //设置最大淹没高度
425
451
  setMoveMaxHeight(maxHeight) {
426
452
  maxHeight = Number(maxHeight);
427
453
  this._options.maxHeight = maxHeight;
428
454
  if (this._floodTerrainAnalysis) this._floodTerrainAnalysis.maxHeight = maxHeight;
429
455
  if (this._floodModelAnalysis) this._floodModelAnalysis.maxHeight = maxHeight;
430
- } //设置淹没填充纹理
431
-
432
-
456
+ }
457
+ //设置淹没填充纹理
433
458
  setMoveImage(image) {
434
459
  this._options.colorImage = image;
435
460
  if (this._floodTerrainAnalysis) this._floodTerrainAnalysis.colorImage = image;
436
461
  if (this._floodModelAnalysis) this._floodModelAnalysis.colorImage = image;
437
462
  }
438
-
439
463
  }
440
464
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
441
- var client_icons_vue_ = __webpack_require__(348);
465
+ var client_icons_vue_ = __webpack_require__(5698);
442
466
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
443
- var util_ = __webpack_require__(3458);
467
+ var util_ = __webpack_require__(2975);
444
468
  // EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
445
- var vue_i18n_cjs_js_ = __webpack_require__(7080);
469
+ var vue_i18n_cjs_js_ = __webpack_require__(3579);
446
470
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/floodanalysis/FloodAnalysis.vue?vue&type=script&setup=true&lang=js
447
471
 
472
+
473
+
448
474
  const _hoisted_1 = {
449
475
  class: "kq3d-flood-analysis-box"
450
476
  };
@@ -462,7 +488,7 @@ const _hoisted_3 = {
462
488
  const __default__ = {
463
489
  name: "Kq3dFloodAnalysis"
464
490
  };
465
- /* harmony default export */ var FloodAnalysisvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
491
+ /* harmony default export */ var FloodAnalysisvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
466
492
  props: {
467
493
  //指定组件绑定的viewer对象的div的id
468
494
  target: String,
@@ -480,7 +506,6 @@ const __default__ = {
480
506
  type: Boolean,
481
507
  default: true
482
508
  },
483
-
484
509
  /**
485
510
  * 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
486
511
  */
@@ -510,14 +535,12 @@ const __default__ = {
510
535
  default: true
511
536
  }
512
537
  },
513
-
514
538
  setup(__props, {
515
539
  expose: __expose
516
540
  }) {
517
- const props = __props;
518
541
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
519
- let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(""); // 淹没色调图片
520
-
542
+ let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
543
+ // 淹没色调图片
521
544
  const colorImages = [{
522
545
  value: "0",
523
546
  src: const_image_.RED_TO_PURPLE_URL
@@ -527,8 +550,10 @@ const __default__ = {
527
550
  }, {
528
551
  value: "2",
529
552
  src: const_image_.GREEN_TO_BLUE_URL
530
- }]; // 获取组件传参
553
+ }];
531
554
 
555
+ // 获取组件传参
556
+ const props = __props;
532
557
  let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
533
558
  floodMode: props.settingParams && props.settingParams.floodMode || 0,
534
559
  // 淹没模式:0:地形淹没 1:模型淹没
@@ -561,15 +586,17 @@ const __default__ = {
561
586
  maxFloodMaxHeight: props.settingParams && props.settingParams.maxFloodMaxHeight || 10000,
562
587
  // 淹没最大高度范围的最大值
563
588
  floodColorImage: props.settingParams && props.settingParams.floodColorImage || "0" // 淹没纹理色带值
564
-
565
589
  });
566
- let viewModel = null; // 组件容器Ref
590
+ let viewModel = null;
567
591
 
568
- let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
592
+ // 组件容器Ref
593
+ let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
569
594
 
595
+ // 生成组件默认header
570
596
  let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
571
- let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
597
+ let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
572
598
 
599
+ // 国际化
573
600
  let {
574
601
  locale,
575
602
  messages
@@ -602,117 +629,91 @@ const __default__ = {
602
629
  }
603
630
  });
604
631
  });
632
+
605
633
  /**
606
634
  * @description 监听header生成
607
635
  */
608
-
609
636
  const watchCreateHeaderTemp = () => {
610
637
  if (props.showHeaderTemp) {
611
638
  // 生成headerTemp
612
639
  headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
613
640
  }
614
- }; //获取图片路径
615
-
641
+ };
616
642
 
643
+ //获取图片路径
617
644
  function getImagePath(value) {
618
645
  var imagePath = "";
619
646
  var image = colorImages.find(item => item.value === value);
620
-
621
647
  if (image) {
622
648
  imagePath = image.src;
623
649
  }
624
-
625
650
  return imagePath;
626
- } // 开始分析
627
-
651
+ }
628
652
 
653
+ // 开始分析
629
654
  function startAnalysis() {
630
655
  viewModel && viewModel.start();
631
- } // 清除结果
632
-
656
+ }
633
657
 
658
+ // 清除结果
634
659
  function clearResult() {
635
660
  viewModel && viewModel.clear();
636
- } // 参数切换
637
-
638
-
661
+ }
662
+ // 参数切换
639
663
  function paramsChanged(key) {
640
664
  if (!viewModel) return;
641
-
642
665
  switch (key) {
643
666
  case "mode":
644
667
  viewModel.setMoveMode(formItem.floodMode);
645
668
  break;
646
-
647
669
  case "moveMode":
648
670
  viewModel.setMoveDirection(formItem.floodDirection);
649
671
  break;
650
-
651
672
  case "speed":
652
673
  viewModel.setMoveSpeed(formItem.floodSpeed);
653
674
  break;
654
-
655
675
  case "alpha":
656
676
  viewModel.setMoveAlpha(formItem.floodAlpha);
657
677
  break;
658
-
659
678
  case "minHeight":
660
679
  viewModel.setMoveMinHeight(formItem.floodMinHeight);
661
680
  break;
662
-
663
681
  case "maxHeight":
664
682
  viewModel.setMoveMaxHeight(formItem.floodMaxHeight);
665
683
  break;
666
-
667
684
  case "colorImage":
668
685
  var imageUrl = getImagePath(formItem.floodColorImage);
669
686
  viewModel.setMoveImage(imageUrl);
670
687
  break;
671
-
672
688
  default:
673
689
  break;
674
690
  }
675
- } // 销毁
676
-
691
+ }
677
692
 
693
+ // 销毁
678
694
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
679
695
  viewModel && viewModel.destroy();
680
696
  });
681
-
682
697
  __expose({
683
698
  startAnalysis,
684
699
  clearResult,
685
700
  getImagePath,
686
701
  paramsChanged
687
702
  });
688
-
689
703
  return (_ctx, _cache) => {
690
704
  const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
691
-
692
705
  const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
693
-
694
706
  const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
695
-
696
707
  const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
697
-
698
708
  const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
699
-
700
709
  const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
701
-
702
710
  const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
703
-
704
711
  const _component_kq_radio = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio");
705
-
706
712
  const _component_kq_radio_group = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio-group");
707
-
708
713
  const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
709
-
710
714
  const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
711
-
712
715
  const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
713
-
714
716
  const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
715
-
716
717
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
717
718
  class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-flood-analysis", {
718
719
  'kq-box-shadow': __props.showShadow
@@ -723,17 +724,11 @@ const __default__ = {
723
724
  key: 0,
724
725
  ref_key: "headerTempRef",
725
726
  ref: headerTempRef
726
- }, null, 512
727
- /* NEED_PATCH */
728
- )) : (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, {
727
+ }, 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, {
729
728
  class: "kq3d-flood-analysis-tip"
730
729
  }, {
731
- 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).floodTips), 1
732
- /* TEXT */
733
- )]),
734
- _: 1
735
- /* STABLE */
736
-
730
+ 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).floodTips), 1 /* TEXT */)]),
731
+ _: 1 /* STABLE */
737
732
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
738
733
  "model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(collapseValue)
739
734
  }, {
@@ -758,29 +753,15 @@ const __default__ = {
758
753
  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_option, {
759
754
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).floodTerrain,
760
755
  value: 0
761
- }, null, 8
762
- /* PROPS */
763
- , ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
756
+ }, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
764
757
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).floodModel,
765
758
  value: 1
766
- }, null, 8
767
- /* PROPS */
768
- , ["label"])]),
769
- _: 1
770
- /* STABLE */
771
-
772
- }, 8
773
- /* PROPS */
774
- , ["modelValue"])]),
775
- _: 1
776
- /* STABLE */
777
-
778
- }, 8
779
- /* PROPS */
780
- , ["label"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
781
- _: 1
782
- /* STABLE */
783
-
759
+ }, null, 8 /* PROPS */, ["label"])]),
760
+ _: 1 /* STABLE */
761
+ }, 8 /* PROPS */, ["modelValue"])]),
762
+ _: 1 /* STABLE */
763
+ }, 8 /* PROPS */, ["label"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
764
+ _: 1 /* STABLE */
784
765
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
785
766
  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, {
786
767
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).floodDirection
@@ -793,29 +774,15 @@ const __default__ = {
793
774
  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_option, {
794
775
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).floodDirection0,
795
776
  value: 0
796
- }, null, 8
797
- /* PROPS */
798
- , ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
777
+ }, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
799
778
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).floodDirection1,
800
779
  value: 1
801
- }, null, 8
802
- /* PROPS */
803
- , ["label"])]),
804
- _: 1
805
- /* STABLE */
806
-
807
- }, 8
808
- /* PROPS */
809
- , ["modelValue"])]),
810
- _: 1
811
- /* STABLE */
812
-
813
- }, 8
814
- /* PROPS */
815
- , ["label"])]),
816
- _: 1
817
- /* STABLE */
818
-
780
+ }, null, 8 /* PROPS */, ["label"])]),
781
+ _: 1 /* STABLE */
782
+ }, 8 /* PROPS */, ["modelValue"])]),
783
+ _: 1 /* STABLE */
784
+ }, 8 /* PROPS */, ["label"])]),
785
+ _: 1 /* STABLE */
819
786
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
820
787
  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, {
821
788
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).floodSpeed
@@ -835,12 +802,8 @@ const __default__ = {
835
802
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minFloodSpeed,
836
803
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFloodSpeed,
837
804
  onInput: _cache[5] || (_cache[5] = $event => paramsChanged('speed'))
838
- }, null, 8
839
- /* PROPS */
840
- , ["modelValue", "min", "max"])]),
841
- _: 1
842
- /* STABLE */
843
-
805
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
806
+ _: 1 /* STABLE */
844
807
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
845
808
  span: 8
846
809
  }, {
@@ -852,26 +815,14 @@ const __default__ = {
852
815
  step: 1,
853
816
  "controls-position": "right",
854
817
  onInput: _cache[7] || (_cache[7] = $event => paramsChanged('speed'))
855
- }, null, 8
856
- /* PROPS */
857
- , ["modelValue", "min", "max"])]),
858
- _: 1
859
- /* STABLE */
860
-
818
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
819
+ _: 1 /* STABLE */
861
820
  })]),
862
- _: 1
863
- /* STABLE */
864
-
821
+ _: 1 /* STABLE */
865
822
  })]),
866
- _: 1
867
- /* STABLE */
868
-
869
- }, 8
870
- /* PROPS */
871
- , ["label"])]),
872
- _: 1
873
- /* STABLE */
874
-
823
+ _: 1 /* STABLE */
824
+ }, 8 /* PROPS */, ["label"])]),
825
+ _: 1 /* STABLE */
875
826
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
876
827
  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, {
877
828
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).floodAlpha
@@ -891,12 +842,8 @@ const __default__ = {
891
842
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minFloodAlpha,
892
843
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFloodAlpha,
893
844
  onInput: _cache[9] || (_cache[9] = $event => paramsChanged('alpha'))
894
- }, null, 8
895
- /* PROPS */
896
- , ["modelValue", "step", "min", "max"])]),
897
- _: 1
898
- /* STABLE */
899
-
845
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
846
+ _: 1 /* STABLE */
900
847
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
901
848
  span: 8
902
849
  }, {
@@ -908,26 +855,14 @@ const __default__ = {
908
855
  step: 0.01,
909
856
  "controls-position": "right",
910
857
  onInput: _cache[11] || (_cache[11] = $event => paramsChanged('alpha'))
911
- }, null, 8
912
- /* PROPS */
913
- , ["modelValue", "min", "max", "step"])]),
914
- _: 1
915
- /* STABLE */
916
-
858
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
859
+ _: 1 /* STABLE */
917
860
  })]),
918
- _: 1
919
- /* STABLE */
920
-
861
+ _: 1 /* STABLE */
921
862
  })]),
922
- _: 1
923
- /* STABLE */
924
-
925
- }, 8
926
- /* PROPS */
927
- , ["label"])]),
928
- _: 1
929
- /* STABLE */
930
-
863
+ _: 1 /* STABLE */
864
+ }, 8 /* PROPS */, ["label"])]),
865
+ _: 1 /* STABLE */
931
866
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
932
867
  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, {
933
868
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).floodMinHeight
@@ -947,12 +882,8 @@ const __default__ = {
947
882
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minFloodMinHeight,
948
883
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFloodMinHeight,
949
884
  onInput: _cache[13] || (_cache[13] = $event => paramsChanged('minHeight'))
950
- }, null, 8
951
- /* PROPS */
952
- , ["modelValue", "step", "min", "max"])]),
953
- _: 1
954
- /* STABLE */
955
-
885
+ }, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
886
+ _: 1 /* STABLE */
956
887
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
957
888
  span: 8
958
889
  }, {
@@ -964,26 +895,14 @@ const __default__ = {
964
895
  step: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).floodHeightStep,
965
896
  "controls-position": "right",
966
897
  onInput: _cache[15] || (_cache[15] = $event => paramsChanged('minHeight'))
967
- }, null, 8
968
- /* PROPS */
969
- , ["modelValue", "min", "max", "step"])]),
970
- _: 1
971
- /* STABLE */
972
-
898
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max", "step"])]),
899
+ _: 1 /* STABLE */
973
900
  })]),
974
- _: 1
975
- /* STABLE */
976
-
901
+ _: 1 /* STABLE */
977
902
  })]),
978
- _: 1
979
- /* STABLE */
980
-
981
- }, 8
982
- /* PROPS */
983
- , ["label"])]),
984
- _: 1
985
- /* STABLE */
986
-
903
+ _: 1 /* STABLE */
904
+ }, 8 /* PROPS */, ["label"])]),
905
+ _: 1 /* STABLE */
987
906
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
988
907
  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, {
989
908
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).floodMaxHeight
@@ -1003,12 +922,8 @@ const __default__ = {
1003
922
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minFloodMaxHeight,
1004
923
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFloodMaxHeight,
1005
924
  onInput: _cache[17] || (_cache[17] = $event => paramsChanged('maxHeight'))
1006
- }, null, 8
1007
- /* PROPS */
1008
- , ["modelValue", "step", "min", "max"])]),
1009
- _: 1
1010
- /* STABLE */
1011
-
925
+ }, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
926
+ _: 1 /* STABLE */
1012
927
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
1013
928
  span: 8
1014
929
  }, {
@@ -1020,26 +935,14 @@ const __default__ = {
1020
935
  step: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).floodHeightStep,
1021
936
  "controls-position": "right",
1022
937
  onInput: _cache[19] || (_cache[19] = $event => paramsChanged('maxHeight'))
1023
- }, null, 8
1024
- /* PROPS */
1025
- , ["modelValue", "min", "max", "step"])]),
1026
- _: 1
1027
- /* STABLE */
1028
-
938
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max", "step"])]),
939
+ _: 1 /* STABLE */
1029
940
  })]),
1030
- _: 1
1031
- /* STABLE */
1032
-
941
+ _: 1 /* STABLE */
1033
942
  })]),
1034
- _: 1
1035
- /* STABLE */
1036
-
1037
- }, 8
1038
- /* PROPS */
1039
- , ["label"])]),
1040
- _: 1
1041
- /* STABLE */
1042
-
943
+ _: 1 /* STABLE */
944
+ }, 8 /* PROPS */, ["label"])]),
945
+ _: 1 /* STABLE */
1043
946
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
1044
947
  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, {
1045
948
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).floodColorImage
@@ -1058,80 +961,37 @@ const __default__ = {
1058
961
  class: "kq3d-flood-analysis-legend",
1059
962
  src: item.src,
1060
963
  alt: ""
1061
- }, null, 8
1062
- /* PROPS */
1063
- , _hoisted_2)]),
1064
- _: 2
1065
- /* DYNAMIC */
1066
-
1067
- }, 1032
1068
- /* PROPS, DYNAMIC_SLOTS */
1069
- , ["label"]);
1070
- }), 64
1071
- /* STABLE_FRAGMENT */
1072
- ))]),
1073
- _: 1
1074
- /* STABLE */
1075
-
1076
- }, 8
1077
- /* PROPS */
1078
- , ["modelValue"])]),
1079
- _: 1
1080
- /* STABLE */
1081
-
1082
- }, 8
1083
- /* PROPS */
1084
- , ["label"])]),
1085
- _: 1
1086
- /* STABLE */
1087
-
964
+ }, null, 8 /* PROPS */, _hoisted_2)]),
965
+ _: 2 /* DYNAMIC */
966
+ }, 1032 /* PROPS, DYNAMIC_SLOTS */, ["label"]);
967
+ }), 64 /* STABLE_FRAGMENT */))]),
968
+ _: 1 /* STABLE */
969
+ }, 8 /* PROPS */, ["modelValue"])]),
970
+ _: 1 /* STABLE */
971
+ }, 8 /* PROPS */, ["label"])]),
972
+ _: 1 /* STABLE */
1088
973
  })]),
1089
- _: 1
1090
- /* STABLE */
1091
-
974
+ _: 1 /* STABLE */
1092
975
  })]),
1093
- _: 1
1094
- /* STABLE */
1095
-
1096
- }, 8
1097
- /* PROPS */
1098
- , ["title"])]),
1099
- _: 1
1100
- /* STABLE */
1101
-
1102
- }, 8
1103
- /* PROPS */
1104
- , ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
976
+ _: 1 /* STABLE */
977
+ }, 8 /* PROPS */, ["title"])]),
978
+ _: 1 /* STABLE */
979
+ }, 8 /* PROPS */, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1105
980
  onClick: _cache[22] || (_cache[22] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
1106
981
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
1107
982
  type: "primary"
1108
983
  }, {
1109
- default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis), 1
1110
- /* TEXT */
1111
- )]),
1112
- _: 1
1113
- /* STABLE */
1114
-
1115
- }, 8
1116
- /* PROPS */
1117
- , ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
984
+ 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).startAnalysis), 1 /* TEXT */)]),
985
+ _: 1 /* STABLE */
986
+ }, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1118
987
  onClick: _cache[23] || (_cache[23] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
1119
988
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
1120
989
  }, {
1121
- 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).clearResult), 1
1122
- /* TEXT */
1123
- )]),
1124
- _: 1
1125
- /* STABLE */
1126
-
1127
- }, 8
1128
- /* PROPS */
1129
- , ["title"])])])], 2
1130
- /* CLASS */
1131
- );
990
+ 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).clearResult), 1 /* TEXT */)]),
991
+ _: 1 /* STABLE */
992
+ }, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
1132
993
  };
1133
994
  }
1134
-
1135
995
  }));
1136
996
  ;// CONCATENATED MODULE: ./src/webgl/floodanalysis/FloodAnalysis.vue?vue&type=script&setup=true&lang=js
1137
997
 
@@ -1143,10 +1003,13 @@ const __exports__ = FloodAnalysisvue_type_script_setup_true_lang_js;
1143
1003
 
1144
1004
  /* harmony default export */ var FloodAnalysis = (__exports__);
1145
1005
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
1146
- var init_js_ = __webpack_require__(7997);
1006
+ var init_js_ = __webpack_require__(455);
1147
1007
  var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
1148
1008
  ;// CONCATENATED MODULE: ./src/webgl/floodanalysis/index.js
1149
-
1009
+ /*
1010
+ * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
1011
+ * All rights reserved.
1012
+ */
1150
1013
 
1151
1014
 
1152
1015
 
@@ -1155,8 +1018,6 @@ FloodAnalysis.install = (Vue, opts) => {
1155
1018
  Vue.component(FloodAnalysis.name, FloodAnalysis);
1156
1019
  };
1157
1020
 
1158
-
1159
- }();
1160
1021
  /******/ return __webpack_exports__;
1161
1022
  /******/ })()
1162
1023
  ;