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