@kq_npm/client3d_webgl_vue 4.5.3-beta → 4.5.5-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/adddata/index.js +337 -524
  2. package/adddata/style/adddata.css +1 -1
  3. package/aspectanalysis/index.js +163 -229
  4. package/baseterraingallery/index.js +122 -145
  5. package/boxclip/index.js +291 -472
  6. package/clientPrint/index.js +368 -906
  7. package/clientPrint/style/clientPrint.css +1 -1
  8. package/comparemap/index.js +224 -246
  9. package/compass/index.js +96 -84
  10. package/excavatefillanalysis/index.js +185 -255
  11. package/fixedzoomin/index.js +91 -76
  12. package/fixedzoomout/index.js +91 -76
  13. package/flight/index.js +298 -402
  14. package/flight/style/flight.css +1 -1
  15. package/floodanalysis/index.js +248 -385
  16. package/geologicalbodyanalysis/index.js +206 -288
  17. package/gpuspatialquery/index.js +243 -392
  18. package/hawkeye/index.js +139 -103
  19. package/headertemp/index.js +23 -33
  20. package/heatmap3d/index.js +427 -734
  21. package/heatmap3d/style/heatmap3d.css +1 -1
  22. package/index.js +8170 -17000
  23. package/isolineanalysis/index.js +557 -1233
  24. package/light/index.js +351 -488
  25. package/limitheightanalysis/index.js +249 -312
  26. package/measure/index.js +341 -495
  27. package/modelFlat/index.js +261 -259
  28. package/modelexcavate/index.js +214 -266
  29. package/modelfilter/index.js +216 -299
  30. package/modelprofileanalysis/index.js +354 -465
  31. package/modelselect/index.js +183 -175
  32. package/package.json +1 -1
  33. package/particleeffect/index.js +257 -430
  34. package/planeclip/index.js +240 -330
  35. package/resetview/index.js +89 -69
  36. package/roller/index.js +305 -363
  37. package/scaneffect/index.js +274 -572
  38. package/sceneadvancedtoimage/index.js +1057 -0
  39. package/sceneadvancedtoimage/style/index.js +3 -0
  40. package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
  41. package/sceneapp/index.js +818 -2179
  42. package/sceneset/index.js +391 -885
  43. package/scenetohdimage/index.js +212 -346
  44. package/scenetohdimage/style/scenetohdimage.css +1 -1
  45. package/sceneview/index.js +9208 -17907
  46. package/sceneview/style/sceneview.css +1 -1
  47. package/screenshot/index.js +273 -312
  48. package/shadowanalysis/index.js +259 -437
  49. package/sightlineanalysis/index.js +229 -312
  50. package/sightlineanalysis/style/divpoint.css +1 -1
  51. package/skylineanalysis/index.js +204 -341
  52. package/slopeanalysis/index.js +274 -435
  53. package/slopeaspectanalysis/index.js +307 -524
  54. package/statusbar/index.js +113 -84
  55. package/style.css +1 -1
  56. package/terrainoperation/index.js +222 -271
  57. package/terrainprofileanalysis/index.js +166 -173
  58. package/underground/index.js +96 -82
  59. package/videofusion/index.js +305 -519
  60. package/videoproject/index.js +311 -521
  61. package/viewshedanalysis/index.js +176 -275
  62. package/weathereffect/index.js +197 -343
  63. package/wireframesketch/index.js +133 -141
@@ -7,197 +7,127 @@
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/util"), require("@kq_npm/client_common_vue/init.js")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/_utils/util"], root["@kq_npm/client_common_vue/init.js"]);
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__3458__, __WEBPACK_EXTERNAL_MODULE__7997__) {
10
+ })(this, function(__WEBPACK_EXTERNAL_MODULE__154__, __WEBPACK_EXTERNAL_MODULE__64__, __WEBPACK_EXTERNAL_MODULE__2975__, __WEBPACK_EXTERNAL_MODULE__455__) {
11
11
  return /******/ (function() { // webpackBootstrap
12
12
  /******/ "use strict";
13
13
  /******/ var __webpack_modules__ = ({
14
14
 
15
- /***/ 1769:
16
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17
-
18
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19
- /* harmony export */ "Z": function() { return /* binding */ LimitHeightAnalysisViewModel; }
20
- /* harmony export */ });
21
- /* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
22
-
23
- //限高分析逻辑类
24
- class LimitHeightAnalysisViewModel {
25
- //三维viewer对象
26
- //限高分析存储参数对象
27
- constructor(scenceView, options) {
28
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
29
-
30
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_options", {});
31
-
32
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_drawManager", null);
33
-
34
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_drawFinishedEventListener", null);
35
-
36
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_limitHeightAnalysis", null);
37
-
38
- this._viewer = scenceView._viewer;
39
- this._options = options;
40
- this._drawManager = scenceView._drawManager;
41
- this._viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
42
-
43
- this._viewer.scene.postProcessStages._fxaa.enabled = true;
44
- var that = this;
45
- this._drawFinishedEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
46
- if (shape) {
47
- that._options.positions = shape._controlPoints;
48
- that.drawPolygon();
49
-
50
- that._drawManager.clear();
51
- }
52
- });
53
- } // 绘制限高分析,显示分析体
54
-
55
-
56
- drawPolygon() {
57
- if (!this._options.positions) return;
58
- var newPositions = [];
59
-
60
- this._options.positions.forEach(item => {
61
- var newPos = window.Cesium.Cartographic.fromCartesian(item);
62
- newPositions.push(newPos.longitude);
63
- newPositions.push(newPos.latitude);
64
- newPositions.push(newPos.height);
65
- });
66
-
67
- var options = {
68
- viewer: this._viewer,
69
- baseHeight: Number(this._options.baseHeight),
70
- limitHeight: Number(this._options.limitHeight),
71
- limitColor: window.Cesium.Color.fromCssColorString(this._options.limitHeightColor).withAlpha(this._options.limitColorAlpha),
72
- overColor: window.Cesium.Color.fromCssColorString(this._options.overHeightColor).withAlpha(this._options.overHeightColorAlpha),
73
- positions: newPositions,
74
- perPositionHeight: false,
75
- classificationType: window.Cesium.ClassificationType.CESIUM_3D_TILE
76
- };
77
- this._limitHeightAnalysis = new window.Cesium.Kq3dLimitHeightAnalysis(options);
78
-
79
- this._limitHeightAnalysis.add();
80
- } // 开始分析
81
-
82
-
83
- start() {
84
- this.clear();
85
-
86
- if (this._drawManager) {
87
- this._drawManager.startDraw("polygon", {
88
- clampToGround: true
89
- });
90
- }
91
- } // 修改基底高度
92
-
93
-
94
- changeBaseHeight(val) {
95
- this._options.baseHeight = val;
96
- this.clear();
97
- this.drawPolygon();
98
- } // 修改限制高度
99
-
100
-
101
- changeLimitHeight(val) {
102
- this._options.limitHeight = val;
103
- this.clear();
104
- this.drawPolygon();
105
- } // 修改限制高度颜色
106
-
107
-
108
- changeLimitHeightColor(val) {
109
- this._options.limitHeightColor = val;
110
- this.clear();
111
- this.drawPolygon();
112
- } // 修改超出高度颜色
15
+ /***/ 5698:
16
+ /***/ (function(module) {
113
17
 
18
+ module.exports = require("@kq_npm/client_icons_vue");
114
19
 
115
- changeOverHeightColor(val) {
116
- this._options.overHeightColor = val;
117
- this.clear();
118
- this.drawPolygon();
119
- } // 清除全部
20
+ /***/ }),
120
21
 
22
+ /***/ 2652:
23
+ /***/ (function(module) {
121
24
 
122
- clear() {
123
- this._limitHeightAnalysis && this._limitHeightAnalysis.remove();
124
- this._drawManager && this._drawManager.stopDraw();
125
- } // 销毁
25
+ module.exports = require("core-js/modules/es.array.push.js");
126
26
 
27
+ /***/ }),
127
28
 
128
- destroy() {
129
- this.clear();
130
- this._drawFinishedEventListener && this._drawFinishedEventListener();
131
- this._drawFinishedEventListener = null;
132
- }
29
+ /***/ 3658:
30
+ /***/ (function(module) {
133
31
 
134
- }
32
+ module.exports = require("core-js/modules/esnext.iterator.constructor.js");
135
33
 
136
34
  /***/ }),
137
35
 
138
- /***/ 348:
36
+ /***/ 4669:
139
37
  /***/ (function(module) {
140
38
 
141
- module.exports = require("@kq_npm/client_icons_vue");
39
+ module.exports = require("core-js/modules/esnext.iterator.for-each.js");
142
40
 
143
41
  /***/ }),
144
42
 
145
- /***/ 7080:
43
+ /***/ 3579:
146
44
  /***/ (function(module) {
147
45
 
148
46
  module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
149
47
 
150
48
  /***/ }),
151
49
 
152
- /***/ 7135:
50
+ /***/ 64:
153
51
  /***/ (function(module) {
154
52
 
155
- module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
53
+ module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
156
54
 
157
55
  /***/ }),
158
56
 
159
- /***/ 3458:
57
+ /***/ 2975:
160
58
  /***/ (function(module) {
161
59
 
162
- module.exports = __WEBPACK_EXTERNAL_MODULE__3458__;
60
+ module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
163
61
 
164
62
  /***/ }),
165
63
 
166
- /***/ 7997:
64
+ /***/ 455:
167
65
  /***/ (function(module) {
168
66
 
169
- module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
67
+ module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
170
68
 
171
69
  /***/ }),
172
70
 
173
- /***/ 1895:
71
+ /***/ 154:
174
72
  /***/ (function(module) {
175
73
 
176
- module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
74
+ module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
177
75
 
178
76
  /***/ }),
179
77
 
180
- /***/ 8270:
78
+ /***/ 6913:
181
79
  /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
182
80
 
183
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
184
- /* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
185
- /* harmony export */ });
186
- function _defineProperty(obj, key, value) {
187
- if (key in obj) {
188
- Object.defineProperty(obj, key, {
189
- value: value,
190
- enumerable: true,
191
- configurable: true,
192
- writable: true
193
- });
194
- } else {
195
- obj[key] = value;
81
+
82
+ // EXPORTS
83
+ __webpack_require__.d(__webpack_exports__, {
84
+ A: function() { return /* binding */ _defineProperty; }
85
+ });
86
+
87
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
88
+ function _typeof(o) {
89
+ "@babel/helpers - typeof";
90
+
91
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
92
+ return typeof o;
93
+ } : function (o) {
94
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
95
+ }, _typeof(o);
96
+ }
97
+
98
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
99
+
100
+ function toPrimitive(t, r) {
101
+ if ("object" != _typeof(t) || !t) return t;
102
+ var e = t[Symbol.toPrimitive];
103
+ if (void 0 !== e) {
104
+ var i = e.call(t, r || "default");
105
+ if ("object" != _typeof(i)) return i;
106
+ throw new TypeError("@@toPrimitive must return a primitive value.");
196
107
  }
108
+ return ("string" === r ? String : Number)(t);
109
+ }
110
+
111
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
112
+
113
+
114
+ function toPropertyKey(t) {
115
+ var i = toPrimitive(t, "string");
116
+ return "symbol" == _typeof(i) ? i : i + "";
117
+ }
118
+
119
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
197
120
 
198
- return obj;
121
+ function _defineProperty(e, r, t) {
122
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
123
+ value: t,
124
+ enumerable: !0,
125
+ configurable: !0,
126
+ writable: !0
127
+ }) : e[r] = t, e;
199
128
  }
200
129
 
130
+
201
131
  /***/ })
202
132
 
203
133
  /******/ });
@@ -269,29 +199,134 @@ function _defineProperty(obj, key, value) {
269
199
  /******/
270
200
  /************************************************************************/
271
201
  var __webpack_exports__ = {};
272
- // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
273
- !function() {
274
202
  // ESM COMPAT FLAG
275
203
  __webpack_require__.r(__webpack_exports__);
276
204
 
277
205
  // EXPORTS
278
206
  __webpack_require__.d(__webpack_exports__, {
279
- "LimitHeightAnalysisViewModel": function() { return /* reexport */ LimitHeightAnalysisViewModel/* default */.Z; },
207
+ LimitHeightAnalysisViewModel: function() { return /* reexport */ LimitHeightAnalysisViewModel; },
280
208
  "default": function() { return /* reexport */ LimitHeightAnalysis; }
281
209
  });
282
210
 
283
211
  // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
284
- var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
212
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
285
213
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
286
- var gis_utils_ = __webpack_require__(7135);
214
+ var gis_utils_ = __webpack_require__(64);
287
215
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
288
- var client_icons_vue_ = __webpack_require__(348);
289
- // EXTERNAL MODULE: ./src/webgl/limitheightanalysis/LimitHeightAnalysisViewModel.js
290
- var LimitHeightAnalysisViewModel = __webpack_require__(1769);
216
+ var client_icons_vue_ = __webpack_require__(5698);
217
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
218
+ var defineProperty = __webpack_require__(6913);
219
+ // EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
220
+ var es_array_push_js_ = __webpack_require__(2652);
221
+ // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
222
+ var esnext_iterator_constructor_js_ = __webpack_require__(3658);
223
+ // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
224
+ var esnext_iterator_for_each_js_ = __webpack_require__(4669);
225
+ ;// CONCATENATED MODULE: ./src/webgl/limitheightanalysis/LimitHeightAnalysisViewModel.js
226
+
227
+
228
+
229
+
230
+ /*
231
+ * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
232
+ * All rights reserved.
233
+ */
234
+ //限高分析逻辑类
235
+ class LimitHeightAnalysisViewModel {
236
+ constructor(scenceView, options) {
237
+ (0,defineProperty/* default */.A)(this, "_viewer", null);
238
+ //三维viewer对象
239
+ (0,defineProperty/* default */.A)(this, "_options", {});
240
+ //限高分析存储参数对象
241
+ (0,defineProperty/* default */.A)(this, "_drawManager", null);
242
+ (0,defineProperty/* default */.A)(this, "_drawFinishedEventListener", null);
243
+ (0,defineProperty/* default */.A)(this, "_limitHeightAnalysis", null);
244
+ this._viewer = scenceView._viewer;
245
+ this._options = options;
246
+ this._drawManager = scenceView._drawManager;
247
+ this._viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
248
+ this._viewer.scene.postProcessStages._fxaa.enabled = true;
249
+ var that = this;
250
+ this._drawFinishedEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
251
+ if (shape) {
252
+ that._options.positions = shape._controlPoints;
253
+ that.drawPolygon();
254
+ that._drawManager.clear();
255
+ }
256
+ });
257
+ }
258
+ // 绘制限高分析,显示分析体
259
+ drawPolygon() {
260
+ if (!this._options.positions) return;
261
+ var newPositions = [];
262
+ this._options.positions.forEach(item => {
263
+ var newPos = window.Cesium.Cartographic.fromCartesian(item);
264
+ newPositions.push(newPos.longitude);
265
+ newPositions.push(newPos.latitude);
266
+ newPositions.push(newPos.height);
267
+ });
268
+ var options = {
269
+ viewer: this._viewer,
270
+ baseHeight: Number(this._options.baseHeight),
271
+ limitHeight: Number(this._options.limitHeight),
272
+ limitColor: window.Cesium.Color.fromCssColorString(this._options.limitHeightColor).withAlpha(this._options.limitColorAlpha),
273
+ overColor: window.Cesium.Color.fromCssColorString(this._options.overHeightColor).withAlpha(this._options.overHeightColorAlpha),
274
+ positions: newPositions,
275
+ perPositionHeight: false,
276
+ classificationType: window.Cesium.ClassificationType.CESIUM_3D_TILE
277
+ };
278
+ this._limitHeightAnalysis = new window.Cesium.Kq3dLimitHeightAnalysis(options);
279
+ this._limitHeightAnalysis.add();
280
+ }
281
+ // 开始分析
282
+ start() {
283
+ this.clear();
284
+ if (this._drawManager) {
285
+ this._drawManager.startDraw("polygon", {
286
+ clampToGround: true
287
+ });
288
+ }
289
+ }
290
+ // 修改基底高度
291
+ changeBaseHeight(val) {
292
+ this._options.baseHeight = val;
293
+ this.clear();
294
+ this.drawPolygon();
295
+ }
296
+ // 修改限制高度
297
+ changeLimitHeight(val) {
298
+ this._options.limitHeight = val;
299
+ this.clear();
300
+ this.drawPolygon();
301
+ }
302
+ // 修改限制高度颜色
303
+ changeLimitHeightColor(val) {
304
+ this._options.limitHeightColor = val;
305
+ this.clear();
306
+ this.drawPolygon();
307
+ }
308
+ // 修改超出高度颜色
309
+ changeOverHeightColor(val) {
310
+ this._options.overHeightColor = val;
311
+ this.clear();
312
+ this.drawPolygon();
313
+ }
314
+ // 清除全部
315
+ clear() {
316
+ this._limitHeightAnalysis && this._limitHeightAnalysis.remove();
317
+ this._drawManager && this._drawManager.stopDraw();
318
+ }
319
+ // 销毁
320
+ destroy() {
321
+ this.clear();
322
+ this._drawFinishedEventListener && this._drawFinishedEventListener();
323
+ this._drawFinishedEventListener = null;
324
+ }
325
+ }
291
326
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
292
- var util_ = __webpack_require__(3458);
327
+ var util_ = __webpack_require__(2975);
293
328
  // EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
294
- var vue_i18n_cjs_js_ = __webpack_require__(7080);
329
+ var vue_i18n_cjs_js_ = __webpack_require__(3579);
295
330
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/limitheightanalysis/LimitHeightAnalysis.vue?vue&type=script&setup=true&lang=js
296
331
 
297
332
  const _hoisted_1 = {
@@ -309,7 +344,7 @@ const _hoisted_2 = {
309
344
  const __default__ = {
310
345
  name: "Kq3dLimitHeightAnalysis"
311
346
  };
312
- /* harmony default export */ var LimitHeightAnalysisvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
347
+ /* harmony default export */ var LimitHeightAnalysisvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
313
348
  props: {
314
349
  // 设置参数
315
350
  settingParams: {
@@ -320,7 +355,6 @@ const __default__ = {
320
355
  type: Boolean,
321
356
  default: true
322
357
  },
323
-
324
358
  /**
325
359
  * 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
326
360
  */
@@ -350,18 +384,18 @@ const __default__ = {
350
384
  default: true
351
385
  }
352
386
  },
353
-
354
387
  setup(__props, {
355
388
  expose: __expose
356
389
  }) {
357
- const props = __props;
358
390
  const {
359
391
  proxy
360
392
  } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
361
393
  let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
362
394
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
363
- let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(""); // 获取组件传参
395
+ let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
364
396
 
397
+ // 获取组件传参
398
+ const props = __props;
365
399
  let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
366
400
  baseHeight: props.settingParams && props.settingParams.baseHeight || 100,
367
401
  // 基底高度
@@ -382,15 +416,17 @@ const __default__ = {
382
416
  overHeightColor: props.settingParams && props.settingParams.overHeightColor || "#FF0000",
383
417
  // 超出高度颜色
384
418
  overHeightColorAlpha: props.settingParams && props.settingParams.overHeightColorAlpha || 0.6 // 超出高度颜色透明度
385
-
386
419
  });
387
- let viewModel = null; // 组件容器Ref
420
+ let viewModel = null;
388
421
 
389
- let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
422
+ // 组件容器Ref
423
+ let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
390
424
 
425
+ // 生成组件默认header
391
426
  let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
392
- let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
427
+ let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
393
428
 
429
+ // 国际化
394
430
  let {
395
431
  locale,
396
432
  messages
@@ -410,10 +446,9 @@ const __default__ = {
410
446
  watchCreateHeaderTemp();
411
447
  });
412
448
  currentLang.value = proxy.$i18n.locale; // 获取当前语言类型
413
-
414
449
  gis_utils_.utils.getWebMap(null, scenceView => {
415
450
  if (scenceView) {
416
- viewModel = new LimitHeightAnalysisViewModel/* default */.Z(scenceView, {
451
+ viewModel = new LimitHeightAnalysisViewModel(scenceView, {
417
452
  baseHeight: formItem.baseHeight,
418
453
  limitHeight: formItem.limitHeight,
419
454
  limitHeightColor: formItem.limitHeightColor,
@@ -424,84 +459,66 @@ const __default__ = {
424
459
  }
425
460
  });
426
461
  });
462
+
427
463
  /**
428
464
  * @description 监听header生成
429
465
  */
430
-
431
466
  const watchCreateHeaderTemp = () => {
432
467
  if (props.showHeaderTemp) {
433
468
  // 生成headerTemp
434
469
  headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
435
470
  }
436
- }; // 参数切换
437
-
438
-
471
+ };
472
+ // 参数切换
439
473
  function paramsChanged(key) {
440
474
  switch (key) {
441
475
  case "baseHeight":
442
476
  viewModel && viewModel.changeBaseHeight(formItem.baseHeight);
443
477
  break;
444
-
445
478
  case "limitHeight":
446
479
  viewModel && viewModel.changeLimitHeight(formItem.limitHeight);
447
480
  break;
448
-
449
481
  case "limitHeightColor":
450
482
  viewModel && viewModel.changeLimitHeightColor(formItem.limitHeightColor);
451
483
  break;
452
-
453
484
  case "overHeightColor":
454
485
  viewModel && viewModel.changeOverHeightColor(formItem.overHeightColor);
455
486
  break;
456
-
457
487
  default:
458
488
  break;
459
489
  }
460
- } //开始分析
461
-
462
-
490
+ }
491
+ //开始分析
463
492
  function startAnalysis() {
464
493
  viewModel && viewModel.start();
465
- } //清除结果
466
-
494
+ }
467
495
 
496
+ //清除结果
468
497
  function clearResult() {
469
498
  if (viewModel) viewModel._options.positions = null;
470
499
  viewModel && viewModel.clear();
471
- } // 销毁
472
-
500
+ }
473
501
 
502
+ // 销毁
474
503
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
475
504
  viewModel && viewModel.destroy();
476
505
  });
477
-
478
506
  __expose({
479
507
  paramsChanged,
480
508
  startAnalysis,
481
509
  clearResult
482
510
  });
483
-
484
511
  return (_ctx, _cache) => {
485
512
  const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
486
-
487
513
  const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
488
-
489
514
  const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
490
-
491
515
  const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
492
-
493
516
  const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
494
-
495
517
  const _component_kq_color_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-color-picker");
496
-
497
518
  const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
498
-
499
519
  const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
500
-
501
520
  const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
502
-
503
521
  const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
504
-
505
522
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
506
523
  class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-limitheight-analysis", {
507
524
  'kq-box-shadow': __props.showShadow
@@ -512,17 +529,11 @@ const __default__ = {
512
529
  key: 0,
513
530
  ref_key: "headerTempRef",
514
531
  ref: headerTempRef
515
- }, null, 512
516
- /* NEED_PATCH */
517
- )) : (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, {
532
+ }, 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, {
518
533
  class: "kq3d-limitheight-analysis-tip"
519
534
  }, {
520
- 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).skylineTips), 1
521
- /* TEXT */
522
- )]),
523
- _: 1
524
- /* STABLE */
525
-
535
+ 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).skylineTips), 1 /* TEXT */)]),
536
+ _: 1 /* STABLE */
526
537
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
527
538
  "model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(collapseValue)
528
539
  }, {
@@ -553,12 +564,8 @@ const __default__ = {
553
564
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minBaseHeight,
554
565
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxBaseHeight,
555
566
  onInput: _cache[1] || (_cache[1] = $event => paramsChanged('baseHeight'))
556
- }, null, 8
557
- /* PROPS */
558
- , ["modelValue", "min", "max"])]),
559
- _: 1
560
- /* STABLE */
561
-
567
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
568
+ _: 1 /* STABLE */
562
569
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
563
570
  span: 8
564
571
  }, {
@@ -570,26 +577,14 @@ const __default__ = {
570
577
  step: 1,
571
578
  "controls-position": "right",
572
579
  onInput: _cache[3] || (_cache[3] = $event => paramsChanged('baseHeight'))
573
- }, null, 8
574
- /* PROPS */
575
- , ["modelValue", "min", "max"])]),
576
- _: 1
577
- /* STABLE */
578
-
580
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
581
+ _: 1 /* STABLE */
579
582
  })]),
580
- _: 1
581
- /* STABLE */
582
-
583
+ _: 1 /* STABLE */
583
584
  })]),
584
- _: 1
585
- /* STABLE */
586
-
587
- }, 8
588
- /* PROPS */
589
- , ["label"])]),
590
- _: 1
591
- /* STABLE */
592
-
585
+ _: 1 /* STABLE */
586
+ }, 8 /* PROPS */, ["label"])]),
587
+ _: 1 /* STABLE */
593
588
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
594
589
  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, {
595
590
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).limitHeight
@@ -609,12 +604,8 @@ const __default__ = {
609
604
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minLimitHeight,
610
605
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxLimitHeight,
611
606
  onInput: _cache[5] || (_cache[5] = $event => paramsChanged('limitHeight'))
612
- }, null, 8
613
- /* PROPS */
614
- , ["modelValue", "min", "max"])]),
615
- _: 1
616
- /* STABLE */
617
-
607
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
608
+ _: 1 /* STABLE */
618
609
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
619
610
  span: 8
620
611
  }, {
@@ -626,26 +617,14 @@ const __default__ = {
626
617
  step: 1,
627
618
  "controls-position": "right",
628
619
  onInput: _cache[7] || (_cache[7] = $event => paramsChanged('limitHeight'))
629
- }, null, 8
630
- /* PROPS */
631
- , ["modelValue", "min", "max"])]),
632
- _: 1
633
- /* STABLE */
634
-
620
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
621
+ _: 1 /* STABLE */
635
622
  })]),
636
- _: 1
637
- /* STABLE */
638
-
623
+ _: 1 /* STABLE */
639
624
  })]),
640
- _: 1
641
- /* STABLE */
642
-
643
- }, 8
644
- /* PROPS */
645
- , ["label"])]),
646
- _: 1
647
- /* STABLE */
648
-
625
+ _: 1 /* STABLE */
626
+ }, 8 /* PROPS */, ["label"])]),
627
+ _: 1 /* STABLE */
649
628
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
650
629
  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, {
651
630
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).limitHeightColor
@@ -654,18 +633,10 @@ const __default__ = {
654
633
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).limitHeightColor,
655
634
  "onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).limitHeightColor = $event),
656
635
  onChange: _cache[9] || (_cache[9] = $event => paramsChanged('limitHeightColor'))
657
- }, null, 8
658
- /* PROPS */
659
- , ["modelValue"])]),
660
- _: 1
661
- /* STABLE */
662
-
663
- }, 8
664
- /* PROPS */
665
- , ["label"])]),
666
- _: 1
667
- /* STABLE */
668
-
636
+ }, null, 8 /* PROPS */, ["modelValue"])]),
637
+ _: 1 /* STABLE */
638
+ }, 8 /* PROPS */, ["label"])]),
639
+ _: 1 /* STABLE */
669
640
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
670
641
  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, {
671
642
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).overHeightColor
@@ -674,67 +645,32 @@ const __default__ = {
674
645
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).overHeightColor,
675
646
  "onUpdate:modelValue": _cache[10] || (_cache[10] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).overHeightColor = $event),
676
647
  onChange: _cache[11] || (_cache[11] = $event => paramsChanged('overHeightColor'))
677
- }, null, 8
678
- /* PROPS */
679
- , ["modelValue"])]),
680
- _: 1
681
- /* STABLE */
682
-
683
- }, 8
684
- /* PROPS */
685
- , ["label"])]),
686
- _: 1
687
- /* STABLE */
688
-
648
+ }, null, 8 /* PROPS */, ["modelValue"])]),
649
+ _: 1 /* STABLE */
650
+ }, 8 /* PROPS */, ["label"])]),
651
+ _: 1 /* STABLE */
689
652
  })]),
690
- _: 1
691
- /* STABLE */
692
-
693
- }, 8
694
- /* PROPS */
695
- , ["label-width"])]),
696
- _: 1
697
- /* STABLE */
698
-
699
- }, 8
700
- /* PROPS */
701
- , ["title"])]),
702
- _: 1
703
- /* STABLE */
704
-
705
- }, 8
706
- /* PROPS */
707
- , ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
653
+ _: 1 /* STABLE */
654
+ }, 8 /* PROPS */, ["label-width"])]),
655
+ _: 1 /* STABLE */
656
+ }, 8 /* PROPS */, ["title"])]),
657
+ _: 1 /* STABLE */
658
+ }, 8 /* PROPS */, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
708
659
  onClick: _cache[12] || (_cache[12] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
709
660
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
710
661
  type: "primary"
711
662
  }, {
712
- 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
713
- /* TEXT */
714
- )]),
715
- _: 1
716
- /* STABLE */
717
-
718
- }, 8
719
- /* PROPS */
720
- , ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
663
+ 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 */)]),
664
+ _: 1 /* STABLE */
665
+ }, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
721
666
  onClick: _cache[13] || (_cache[13] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
722
667
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
723
668
  }, {
724
- 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
725
- /* TEXT */
726
- )]),
727
- _: 1
728
- /* STABLE */
729
-
730
- }, 8
731
- /* PROPS */
732
- , ["title"])])])], 2
733
- /* CLASS */
734
- );
669
+ 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 */)]),
670
+ _: 1 /* STABLE */
671
+ }, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
735
672
  };
736
673
  }
737
-
738
674
  }));
739
675
  ;// CONCATENATED MODULE: ./src/webgl/limitheightanalysis/LimitHeightAnalysis.vue?vue&type=script&setup=true&lang=js
740
676
 
@@ -746,10 +682,13 @@ const __exports__ = LimitHeightAnalysisvue_type_script_setup_true_lang_js;
746
682
 
747
683
  /* harmony default export */ var LimitHeightAnalysis = (__exports__);
748
684
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
749
- var init_js_ = __webpack_require__(7997);
685
+ var init_js_ = __webpack_require__(455);
750
686
  var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
751
687
  ;// CONCATENATED MODULE: ./src/webgl/limitheightanalysis/index.js
752
-
688
+ /*
689
+ * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
690
+ * All rights reserved.
691
+ */
753
692
 
754
693
 
755
694
 
@@ -758,8 +697,6 @@ LimitHeightAnalysis.install = (Vue, opts) => {
758
697
  Vue.component(LimitHeightAnalysis.name, LimitHeightAnalysis);
759
698
  };
760
699
 
761
-
762
- }();
763
700
  /******/ return __webpack_exports__;
764
701
  /******/ })()
765
702
  ;