@kq_npm/client3d_webgl_vue 4.5.30 → 4.5.32

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 (55) hide show
  1. package/adddata/index.js +227 -496
  2. package/aspectanalysis/index.js +71 -182
  3. package/baseterraingallery/index.js +40 -102
  4. package/boxclip/index.js +197 -423
  5. package/clientPrint/index.js +7324 -17727
  6. package/comparemap/index.js +165 -216
  7. package/compass/index.js +20 -47
  8. package/excavatefillanalysis/index.js +101 -206
  9. package/fixedzoomin/index.js +20 -43
  10. package/fixedzoomout/index.js +18 -42
  11. package/flight/index.js +206 -353
  12. package/floodanalysis/index.js +145 -328
  13. package/geologicalbodyanalysis/index.js +114 -241
  14. package/gpuspatialquery/index.js +146 -340
  15. package/hawkeye/index.js +78 -80
  16. package/headertemp/index.js +8 -19
  17. package/heatmap3d/index.js +304 -645
  18. package/index.js +6896 -17544
  19. package/isolineanalysis/index.js +451 -1183
  20. package/light/index.js +308 -486
  21. package/limitheightanalysis/index.js +107 -204
  22. package/measure/index.js +145 -331
  23. package/modelFlat/index.js +114 -183
  24. package/modelexcavate/index.js +78 -172
  25. package/modelfilter/index.js +127 -252
  26. package/modelprofileanalysis/index.js +154 -297
  27. package/modelselect/index.js +90 -128
  28. package/package.json +1 -1
  29. package/particleeffect/index.js +170 -381
  30. package/planeclip/index.js +146 -281
  31. package/resetview/index.js +12 -31
  32. package/roller/index.js +252 -353
  33. package/scaneffect/index.js +178 -518
  34. package/sceneadvancedtoimage/index.js +152 -337
  35. package/sceneapp/index.js +7324 -17727
  36. package/sceneset/index.js +299 -838
  37. package/scenetohdimage/index.js +105 -276
  38. package/sceneview/index.js +7324 -17727
  39. package/screenshot/index.js +204 -281
  40. package/shadowanalysis/index.js +175 -386
  41. package/sightlineanalysis/index.js +135 -245
  42. package/skylineanalysis/index.js +108 -289
  43. package/slopeanalysis/index.js +174 -378
  44. package/slopeaspectanalysis/index.js +206 -466
  45. package/statusbar/index.js +37 -39
  46. package/terrainoperation/index.js +124 -218
  47. package/terrainprofileanalysis/index.js +66 -118
  48. package/typhoontrac/index.js +208 -330
  49. package/underground/index.js +16 -40
  50. package/videofusion/index.js +214 -470
  51. package/videoproject/index.js +220 -472
  52. package/viewshedanalysis/index.js +93 -230
  53. package/weathereffect/index.js +111 -295
  54. package/windyslicing/index.js +545 -727
  55. package/wireframesketch/index.js +49 -106
package/hawkeye/index.js CHANGED
@@ -12,73 +12,17 @@ return /******/ (function() { // webpackBootstrap
12
12
  /******/ "use strict";
13
13
  /******/ var __webpack_modules__ = ({
14
14
 
15
- /***/ 1162:
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 */ HawkeyeViewModel; }
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
- /*
25
- * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
26
- * All rights reserved.
27
- */
28
- //鹰眼逻辑类
29
- class HawkeyeViewModel {
30
- //鹰眼三维对象
31
- constructor(scenceView, options) {
32
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_overviewMap", null);
33
-
34
- options.viewer = scenceView._viewer;
35
- options.centerRectColor = Cesium.Color.fromCssColorString(options.centerColor || "#0000ff").withAlpha(options.centerColorAlpha || 0.5);
36
- this.init(options);
37
- }
38
-
39
- init(options) {
40
- // if(!options.layers) {
41
- // let layers = [];
42
- // options.viewer.imageryLayers._layers.forEach(function (layer) {
43
- // layers.push(layer);
44
- // });
45
- // options.layers = layers;
46
- // options.layers = new Cesium.Kq3dArcGISMapServerImageryProvider({
47
- // url: 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer'
48
- // });
49
- // }
50
- this._overviewMap = new Cesium.Kq3dOverviewMap(options);
51
- } //显示
52
-
53
-
54
- show() {
55
- this._overviewMap.show = true;
56
- } //隐藏
57
-
58
-
59
- hide() {
60
- this._overviewMap.show = false;
61
- } // 设置图层
62
-
63
-
64
- setLayers(layers) {
65
- if (Array.isArray(layers)) {
66
- this._overviewMap._viewer.imageryLayers.removeAll();
67
-
68
- layers.forEach(layer => {
69
- this._overviewMap._viewer.imageryLayers.add(layer);
70
- });
71
- }
72
- } //销毁
15
+ /***/ 8470:
16
+ /***/ (function(module) {
73
17
 
18
+ module.exports = require("core-js/modules/esnext.iterator.constructor.js");
74
19
 
75
- destroy() {
76
- this._overviewMap.destroy();
20
+ /***/ }),
77
21
 
78
- this._overviewMap = null;
79
- }
22
+ /***/ 1058:
23
+ /***/ (function(module) {
80
24
 
81
- }
25
+ module.exports = require("core-js/modules/esnext.iterator.for-each.js");
82
26
 
83
27
  /***/ }),
84
28
 
@@ -120,7 +64,6 @@ function _defineProperty(obj, key, value) {
120
64
  } else {
121
65
  obj[key] = value;
122
66
  }
123
-
124
67
  return obj;
125
68
  }
126
69
 
@@ -202,7 +145,7 @@ __webpack_require__.r(__webpack_exports__);
202
145
 
203
146
  // EXPORTS
204
147
  __webpack_require__.d(__webpack_exports__, {
205
- "HawkeyeViewModel": function() { return /* reexport */ HawkeyeViewModel/* default */.Z; },
148
+ "HawkeyeViewModel": function() { return /* reexport */ HawkeyeViewModel; },
206
149
  "default": function() { return /* reexport */ Hawkeye; }
207
150
  });
208
151
 
@@ -210,8 +153,70 @@ __webpack_require__.d(__webpack_exports__, {
210
153
  var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
211
154
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
212
155
  var gis_utils_ = __webpack_require__(7135);
213
- // EXTERNAL MODULE: ./src/webgl/hawkeye/HawkeyeViewModel.js
214
- var HawkeyeViewModel = __webpack_require__(1162);
156
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
157
+ var defineProperty = __webpack_require__(8270);
158
+ // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
159
+ var esnext_iterator_constructor_js_ = __webpack_require__(8470);
160
+ // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
161
+ var esnext_iterator_for_each_js_ = __webpack_require__(1058);
162
+ ;// CONCATENATED MODULE: ./src/webgl/hawkeye/HawkeyeViewModel.js
163
+
164
+
165
+
166
+ /*
167
+ * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
168
+ * All rights reserved.
169
+ */
170
+ //鹰眼逻辑类
171
+ class HawkeyeViewModel {
172
+ //鹰眼三维对象
173
+
174
+ constructor(scenceView, options) {
175
+ (0,defineProperty/* default */.Z)(this, "_overviewMap", null);
176
+ options.viewer = scenceView._viewer;
177
+ options.centerRectColor = Cesium.Color.fromCssColorString(options.centerColor || "#0000ff").withAlpha(options.centerColorAlpha || 0.5);
178
+ this.init(options);
179
+ }
180
+ init(options) {
181
+ // if(!options.layers) {
182
+ // let layers = [];
183
+ // options.viewer.imageryLayers._layers.forEach(function (layer) {
184
+ // layers.push(layer);
185
+ // });
186
+ // options.layers = layers;
187
+ // options.layers = new Cesium.Kq3dArcGISMapServerImageryProvider({
188
+ // url: 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer'
189
+ // });
190
+ // }
191
+ this._overviewMap = new Cesium.Kq3dOverviewMap(options);
192
+ }
193
+
194
+ //显示
195
+ show() {
196
+ this._overviewMap.show = true;
197
+ }
198
+
199
+ //隐藏
200
+ hide() {
201
+ this._overviewMap.show = false;
202
+ }
203
+
204
+ // 设置图层
205
+ setLayers(layers) {
206
+ if (Array.isArray(layers)) {
207
+ this._overviewMap._viewer.imageryLayers.removeAll();
208
+ layers.forEach(layer => {
209
+ this._overviewMap._viewer.imageryLayers.add(layer);
210
+ });
211
+ }
212
+ }
213
+
214
+ //销毁
215
+ destroy() {
216
+ this._overviewMap.destroy();
217
+ this._overviewMap = null;
218
+ }
219
+ }
215
220
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/hawkeye/Hawkeye.vue?vue&type=script&setup=true&lang=js
216
221
 
217
222
 
@@ -255,12 +260,13 @@ const __default__ = {
255
260
  },
256
261
  layers: Array
257
262
  },
258
-
259
263
  setup(__props, {
260
264
  expose: __expose
261
265
  }) {
262
266
  const props = __props;
263
- let viewModel = null; // 获取组件传参
267
+ let viewModel = null;
268
+
269
+ // 获取组件传参
264
270
 
265
271
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
266
272
  //父组件ScenceView初始化完成后执行
@@ -277,39 +283,33 @@ const __default__ = {
277
283
  centerColorAlpha: props.centerColorAlpha,
278
284
  layers: props.layers
279
285
  };
280
- viewModel = new HawkeyeViewModel/* default */.Z(scenceView, options);
286
+ viewModel = new HawkeyeViewModel(scenceView, options);
281
287
  }
282
288
  });
283
289
  });
284
-
285
290
  function show() {
286
291
  viewModel && viewModel.show();
287
292
  }
288
-
289
293
  function hide() {
290
294
  viewModel && viewModel.hide();
291
295
  }
292
-
293
296
  function setLayers(layers) {
294
297
  viewModel && viewModel.setLayers(layers);
295
- } // 销毁
296
-
298
+ }
297
299
 
300
+ // 销毁
298
301
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
299
302
  viewModel && viewModel.destroy();
300
303
  });
301
-
302
304
  __expose({
303
305
  show,
304
306
  hide,
305
307
  setLayers
306
308
  });
307
-
308
309
  return (_ctx, _cache) => {
309
310
  return null;
310
311
  };
311
312
  }
312
-
313
313
  }));
314
314
  ;// CONCATENATED MODULE: ./src/webgl/hawkeye/Hawkeye.vue?vue&type=script&setup=true&lang=js
315
315
 
@@ -331,13 +331,11 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
331
331
 
332
332
 
333
333
 
334
-
335
334
  Hawkeye.install = (Vue, opts) => {
336
335
  init_js_default()(Vue, opts);
337
336
  Vue.component(Hawkeye.name, Hawkeye);
338
337
  };
339
338
 
340
-
341
339
  }();
342
340
  /******/ return __webpack_exports__;
343
341
  /******/ })()
@@ -156,24 +156,23 @@ const __default__ = {
156
156
  default: true
157
157
  }
158
158
  },
159
-
160
159
  setup(__props, {
161
160
  expose: __expose
162
161
  }) {
163
162
  const props = __props;
164
- const proxy = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)(); // 获取组件传参
165
- // 图标组件
163
+ const proxy = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
166
164
 
165
+ // 获取组件传参
166
+
167
+ // 图标组件
167
168
  let iconBtn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
168
169
  let isCollapse = props.isCollapse;
169
170
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
170
171
  iconBtn.value = props.headerTempIcon;
171
172
  let dom = proxy.parent.vnode.el;
172
-
173
173
  if (!props.isRight) {
174
174
  (0,util_.addClass)(dom, ["kq-is-show", "kq-is-left"]);
175
175
  }
176
-
177
176
  if (isCollapse) {
178
177
  if (props.showShadow) {
179
178
  (0,util_.addClass)(dom, ["kq-is-hide", "kq-light-shadow"]);
@@ -191,12 +190,12 @@ const __default__ = {
191
190
  (0,util_.addClass)(dom, "kq-is-show");
192
191
  }
193
192
  }
194
- }); // 图标按钮点击事件
193
+ });
195
194
 
195
+ // 图标按钮点击事件
196
196
  function btnClick() {
197
197
  isCollapse = !isCollapse;
198
198
  let dom = proxy.parent.vnode.el;
199
-
200
199
  if (isCollapse) {
201
200
  // 折叠
202
201
  if (props.showShadow) {
@@ -217,30 +216,22 @@ const __default__ = {
217
216
  }
218
217
  }
219
218
  }
220
-
221
219
  __expose({
222
220
  btnClick
223
221
  });
224
-
225
222
  return (_ctx, _cache) => {
226
223
  const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
227
-
228
- return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("h4", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)(__props.headerTempTitle), 1
229
- /* TEXT */
230
- ), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
224
+ return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("h4", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)(__props.headerTempTitle), 1 /* TEXT */), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
231
225
  class: "_btn kq-control-header-temp_btn",
232
226
  onClick: btnClick
233
227
  }, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
234
228
  size: 16
235
229
  }, {
236
230
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(iconBtn))))]),
237
- _: 1
238
- /* STABLE */
239
-
231
+ _: 1 /* STABLE */
240
232
  })])]);
241
233
  };
242
234
  }
243
-
244
235
  }));
245
236
  ;// CONCATENATED MODULE: ./src/webgl/headertemp/HeaderTemp.vue?vue&type=script&setup=true&lang=js
246
237
 
@@ -261,13 +252,11 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
261
252
  */
262
253
 
263
254
 
264
-
265
255
  HeaderTemp.install = (Vue, opts) => {
266
256
  init_js_default()(Vue, opts);
267
257
  Vue.component(HeaderTemp.name, HeaderTemp);
268
258
  };
269
259
 
270
-
271
260
  }();
272
261
  /******/ return __webpack_exports__;
273
262
  /******/ })()