@kq_npm/client3d_webgl_vue 4.5.2 → 4.5.4-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/adddata/index.js +355 -538
  2. package/adddata/style/adddata.css +1 -1
  3. package/aspectanalysis/index.js +172 -239
  4. package/baseterraingallery/index.js +124 -145
  5. package/boxclip/index.js +300 -481
  6. package/clientPrint/index.js +335 -898
  7. package/clientPrint/style/clientPrint.css +1 -1
  8. package/comparemap/index.js +226 -246
  9. package/compass/index.js +96 -84
  10. package/excavatefillanalysis/index.js +193 -263
  11. package/fixedzoomin/index.js +91 -76
  12. package/fixedzoomout/index.js +91 -76
  13. package/flight/index.js +311 -415
  14. package/flight/style/flight.css +1 -1
  15. package/floodanalysis/index.js +255 -393
  16. package/geologicalbodyanalysis/index.js +215 -298
  17. package/gpuspatialquery/index.js +260 -402
  18. package/hawkeye/index.js +141 -103
  19. package/headertemp/index.js +25 -34
  20. package/heatmap3d/index.js +451 -763
  21. package/heatmap3d/style/heatmap3d.css +1 -1
  22. package/index.js +20826 -17774
  23. package/isolineanalysis/index.js +566 -1243
  24. package/light/index.js +353 -488
  25. package/limitheightanalysis/index.js +251 -312
  26. package/measure/index.js +350 -504
  27. package/modelFlat/index.js +214 -234
  28. package/modelexcavate/index.js +206 -262
  29. package/modelfilter/index.js +229 -308
  30. package/modelprofileanalysis/index.js +356 -465
  31. package/modelselect/index.js +192 -184
  32. package/package.json +1 -1
  33. package/particleeffect/index.js +259 -430
  34. package/planeclip/index.js +249 -339
  35. package/resetview/index.js +89 -69
  36. package/roller/index.js +307 -363
  37. package/scaneffect/index.js +285 -582
  38. package/sceneadvancedtoimage/index.js +1055 -0
  39. package/sceneadvancedtoimage/style/index.js +3 -0
  40. package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
  41. package/sceneapp/index.js +11149 -0
  42. package/sceneset/index.js +393 -885
  43. package/scenetohdimage/index.js +214 -346
  44. package/scenetohdimage/style/scenetohdimage.css +1 -1
  45. package/sceneview/index.js +22780 -19540
  46. package/sceneview/style/sceneview.css +1 -1
  47. package/screenshot/index.js +275 -312
  48. package/shadowanalysis/index.js +269 -448
  49. package/sightlineanalysis/index.js +231 -312
  50. package/sightlineanalysis/style/divpoint.css +1 -1
  51. package/skylineanalysis/index.js +213 -351
  52. package/slopeanalysis/index.js +282 -444
  53. package/slopeaspectanalysis/index.js +315 -534
  54. package/statusbar/index.js +194 -164
  55. package/style.css +1 -1
  56. package/terrainoperation/index.js +230 -280
  57. package/terrainprofileanalysis/index.js +174 -182
  58. package/underground/index.js +98 -82
  59. package/videofusion/index.js +319 -532
  60. package/videoproject/index.js +325 -534
  61. package/viewshedanalysis/index.js +178 -275
  62. package/weathereffect/index.js +199 -343
  63. package/wireframesketch/index.js +146 -150
package/compass/index.js CHANGED
@@ -7,47 +7,45 @@
7
7
  var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], 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__7997__) {
10
+ })(this, function(__WEBPACK_EXTERNAL_MODULE__154__, __WEBPACK_EXTERNAL_MODULE__64__, __WEBPACK_EXTERNAL_MODULE__455__) {
11
11
  return /******/ (function() { // webpackBootstrap
12
12
  /******/ "use strict";
13
13
  /******/ var __webpack_modules__ = ({
14
14
 
15
- /***/ 9520:
15
+ /***/ 2124:
16
16
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17
17
 
18
18
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19
- /* harmony export */ "Z": function() { return /* binding */ CompassViewModel; }
19
+ /* harmony export */ A: function() { return /* binding */ CompassViewModel; }
20
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);
21
+ /* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6913);
22
22
 
23
+ /*
24
+ * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
25
+ * All rights reserved.
26
+ */
23
27
  // 重置视图
24
28
  class CompassViewModel {
25
29
  //三维viewer对象
26
30
  constructor(viewer) {
27
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
28
-
31
+ (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(this, "_viewer", null);
29
32
  this._viewer = viewer;
30
- } //重置方向
31
-
32
-
33
+ }
34
+ //重置方向
33
35
  resetOrientation() {
34
36
  var camera = this._viewer.camera;
35
37
  var scene = this._viewer.scene;
36
38
  var depthTestAgainstTerrain = scene.globe.depthTestAgainstTerrain;
37
-
38
39
  if (!depthTestAgainstTerrain) {
39
40
  scene.globe.depthTestAgainstTerrain = true;
40
41
  }
41
-
42
42
  var canvas = scene.canvas;
43
43
  var windowCenter = new Cesium.Cartesian2(canvas.clientWidth / 2, canvas.clientHeight / 2);
44
44
  setTimeout(() => {
45
45
  var center = scene.pickPosition(windowCenter);
46
-
47
46
  if (!center) {
48
47
  center = scene.camera.pickEllipsoid(windowCenter, scene.globe.ellipsoid);
49
48
  }
50
-
51
49
  scene.globe.depthTestAgainstTerrain = depthTestAgainstTerrain;
52
50
  var distance = Cesium.Cartesian3.distance(center, camera.positionWC);
53
51
  var heading = 6.28319;
@@ -56,87 +54,114 @@ class CompassViewModel {
56
54
  camera.lookAt(center, hpr);
57
55
  camera.lookAtTransform(Cesium.Matrix4.IDENTITY);
58
56
  }, 300);
59
- } //绑定指南针
60
-
61
-
57
+ }
58
+ //绑定指南针
62
59
  bindCompassEvent(heading) {
63
60
  var camera = this._viewer.camera;
64
61
  this._removeEventListener = camera.changed.addEventListener(function () {
65
62
  heading.value = camera.heading;
66
63
  });
67
- } // 注销事件
68
-
69
-
64
+ }
65
+ // 注销事件
70
66
  destroy() {
71
67
  if (this._removeEventListener) {
72
68
  this._removeEventListener();
73
-
74
69
  this._removeEventListener = null;
75
70
  }
76
-
77
71
  this._viewer = null;
78
72
  }
79
-
80
73
  }
81
74
 
82
75
  /***/ }),
83
76
 
84
- /***/ 348:
77
+ /***/ 5698:
85
78
  /***/ (function(module) {
86
79
 
87
80
  module.exports = require("@kq_npm/client_icons_vue");
88
81
 
89
82
  /***/ }),
90
83
 
91
- /***/ 7080:
84
+ /***/ 3579:
92
85
  /***/ (function(module) {
93
86
 
94
87
  module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
95
88
 
96
89
  /***/ }),
97
90
 
98
- /***/ 7135:
91
+ /***/ 64:
99
92
  /***/ (function(module) {
100
93
 
101
- module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
94
+ module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
102
95
 
103
96
  /***/ }),
104
97
 
105
- /***/ 7997:
98
+ /***/ 455:
106
99
  /***/ (function(module) {
107
100
 
108
- module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
101
+ module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
109
102
 
110
103
  /***/ }),
111
104
 
112
- /***/ 1895:
105
+ /***/ 154:
113
106
  /***/ (function(module) {
114
107
 
115
- module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
108
+ module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
116
109
 
117
110
  /***/ }),
118
111
 
119
- /***/ 8270:
112
+ /***/ 6913:
120
113
  /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
121
114
 
122
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
123
- /* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
124
- /* harmony export */ });
125
- function _defineProperty(obj, key, value) {
126
- if (key in obj) {
127
- Object.defineProperty(obj, key, {
128
- value: value,
129
- enumerable: true,
130
- configurable: true,
131
- writable: true
132
- });
133
- } else {
134
- obj[key] = value;
115
+
116
+ // EXPORTS
117
+ __webpack_require__.d(__webpack_exports__, {
118
+ A: function() { return /* binding */ _defineProperty; }
119
+ });
120
+
121
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
122
+ function _typeof(o) {
123
+ "@babel/helpers - typeof";
124
+
125
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
126
+ return typeof o;
127
+ } : function (o) {
128
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
129
+ }, _typeof(o);
130
+ }
131
+
132
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
133
+
134
+ function toPrimitive(t, r) {
135
+ if ("object" != _typeof(t) || !t) return t;
136
+ var e = t[Symbol.toPrimitive];
137
+ if (void 0 !== e) {
138
+ var i = e.call(t, r || "default");
139
+ if ("object" != _typeof(i)) return i;
140
+ throw new TypeError("@@toPrimitive must return a primitive value.");
135
141
  }
142
+ return ("string" === r ? String : Number)(t);
143
+ }
144
+
145
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
146
+
136
147
 
137
- return obj;
148
+ function toPropertyKey(t) {
149
+ var i = toPrimitive(t, "string");
150
+ return "symbol" == _typeof(i) ? i : i + "";
138
151
  }
139
152
 
153
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
154
+
155
+ function _defineProperty(e, r, t) {
156
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
157
+ value: t,
158
+ enumerable: !0,
159
+ configurable: !0,
160
+ writable: !0
161
+ }) : e[r] = t, e;
162
+ }
163
+
164
+
140
165
  /***/ })
141
166
 
142
167
  /******/ });
@@ -208,39 +233,38 @@ function _defineProperty(obj, key, value) {
208
233
  /******/
209
234
  /************************************************************************/
210
235
  var __webpack_exports__ = {};
211
- // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
212
- !function() {
213
236
  // ESM COMPAT FLAG
214
237
  __webpack_require__.r(__webpack_exports__);
215
238
 
216
239
  // EXPORTS
217
240
  __webpack_require__.d(__webpack_exports__, {
218
- "CompassViewModel": function() { return /* reexport */ CompassViewModel/* default */.Z; },
241
+ CompassViewModel: function() { return /* reexport */ CompassViewModel/* default */.A; },
219
242
  "default": function() { return /* reexport */ Compass; }
220
243
  });
221
244
 
222
245
  // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
223
- var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
246
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
224
247
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
225
- var client_icons_vue_ = __webpack_require__(348);
248
+ var client_icons_vue_ = __webpack_require__(5698);
226
249
  // EXTERNAL MODULE: ./src/webgl/compass/CompassViewModel.js
227
- var CompassViewModel = __webpack_require__(9520);
250
+ var CompassViewModel = __webpack_require__(2124);
228
251
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
229
- var gis_utils_ = __webpack_require__(7135);
252
+ var gis_utils_ = __webpack_require__(64);
230
253
  // EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
231
- var vue_i18n_cjs_js_ = __webpack_require__(7080);
254
+ var vue_i18n_cjs_js_ = __webpack_require__(3579);
232
255
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/compass/Compass.vue?vue&type=script&setup=true&lang=js
233
256
 
234
257
 
235
258
 
236
259
 
237
260
 
238
- // 获取组件传参
261
+
262
+ // 获取组件传参
239
263
 
240
264
  const __default__ = {
241
265
  name: "Kq3dCompass"
242
266
  };
243
- /* harmony default export */ var Compassvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
267
+ /* harmony default export */ var Compassvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
244
268
  props: {
245
269
  // 指定组件绑定的scence对象的div的id
246
270
  mapTarget: String,
@@ -259,13 +283,12 @@ const __default__ = {
259
283
  default: false
260
284
  }
261
285
  },
262
-
263
286
  setup(__props) {
264
287
  const props = __props;
265
288
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
266
289
  let viewModel = null;
267
- let heading = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(0); // 国际化
268
-
290
+ let heading = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(0);
291
+ // 国际化
269
292
  let {
270
293
  locale,
271
294
  messages
@@ -276,26 +299,23 @@ const __default__ = {
276
299
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
277
300
  gis_utils_.utils.getWebMap(props.mapTarget, scenceView => {
278
301
  if (scenceView) {
279
- viewModel = new CompassViewModel/* default */.Z(scenceView._viewer); //绑定指南针事件
280
-
302
+ viewModel = new CompassViewModel/* default */.A(scenceView._viewer);
303
+ //绑定指南针事件
281
304
  viewModel.bindCompassEvent(heading);
282
305
  }
283
306
  });
284
- }); // 按钮点击事件
285
-
307
+ });
308
+ // 按钮点击事件
286
309
  function btnClick(e) {
287
310
  viewModel && viewModel.resetOrientation();
288
- } // 销毁
289
-
290
-
311
+ }
312
+ // 销毁
291
313
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
292
314
  viewModel && viewModel.destroy();
293
315
  });
294
316
  return (_ctx, _cache) => {
295
317
  const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
296
-
297
318
  const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
298
-
299
319
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_button, {
300
320
  onClick: btnClick,
301
321
  class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)([{
@@ -309,21 +329,12 @@ const __default__ = {
309
329
  style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)('transform: rotate(-' + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(heading) + 'rad);-webkit-transform: rotate(-' + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(heading) + 'rad)')
310
330
  }, {
311
331
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconCompass3D))]),
312
- _: 1
313
- /* STABLE */
314
-
315
- }, 8
316
- /* PROPS */
317
- , ["size", "style"])]),
318
- _: 1
319
- /* STABLE */
320
-
321
- }, 8
322
- /* PROPS */
323
- , ["class", "title", "style"]);
332
+ _: 1 /* STABLE */
333
+ }, 8 /* PROPS */, ["size", "style"])]),
334
+ _: 1 /* STABLE */
335
+ }, 8 /* PROPS */, ["class", "title", "style"]);
324
336
  };
325
337
  }
326
-
327
338
  }));
328
339
  ;// CONCATENATED MODULE: ./src/webgl/compass/Compass.vue?vue&type=script&setup=true&lang=js
329
340
 
@@ -335,10 +346,13 @@ const __exports__ = Compassvue_type_script_setup_true_lang_js;
335
346
 
336
347
  /* harmony default export */ var Compass = (__exports__);
337
348
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
338
- var init_js_ = __webpack_require__(7997);
349
+ var init_js_ = __webpack_require__(455);
339
350
  var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
340
351
  ;// CONCATENATED MODULE: ./src/webgl/compass/index.js
341
-
352
+ /*
353
+ * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
354
+ * All rights reserved.
355
+ */
342
356
 
343
357
 
344
358
 
@@ -347,8 +361,6 @@ Compass.install = (Vue, opts) => {
347
361
  Vue.component(Compass.name, Compass);
348
362
  };
349
363
 
350
-
351
- }();
352
364
  /******/ return __webpack_exports__;
353
365
  /******/ })()
354
366
  ;