@kq_npm/client3d_webgl_vue 4.5.29-beta → 4.5.31

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 (68) hide show
  1. package/adddata/index.js +519 -263
  2. package/adddata/style/adddata.css +1 -1
  3. package/aspectanalysis/index.js +201 -123
  4. package/baseterraingallery/index.js +123 -94
  5. package/baseterraingallery/style/baseterraingallery.css +1 -1
  6. package/boxclip/index.js +442 -249
  7. package/clientPrint/index.js +20228 -7467
  8. package/clientPrint/style/clientPrint.css +1 -1
  9. package/comparemap/index.js +243 -213
  10. package/compass/index.js +68 -74
  11. package/excavatefillanalysis/index.js +225 -143
  12. package/fixedzoomin/index.js +82 -72
  13. package/fixedzoomout/index.js +80 -71
  14. package/flight/index.js +371 -257
  15. package/flight/style/flight.css +1 -1
  16. package/floodanalysis/index.js +347 -199
  17. package/geologicalbodyanalysis/index.js +260 -166
  18. package/gpuspatialquery/index.js +359 -198
  19. package/hawkeye/index.js +100 -131
  20. package/headertemp/index.js +25 -14
  21. package/heatmap3d/index.js +678 -366
  22. package/heatmap3d/style/heatmap3d.css +1 -1
  23. package/index.js +19746 -6806
  24. package/isolineanalysis/index.js +1202 -504
  25. package/light/index.js +494 -349
  26. package/limitheightanalysis/index.js +223 -159
  27. package/measure/index.js +353 -198
  28. package/modelFlat/index.js +204 -167
  29. package/modelexcavate/index.js +191 -130
  30. package/modelfilter/index.js +271 -179
  31. package/modelprofileanalysis/index.js +316 -206
  32. package/modelselect/index.js +147 -142
  33. package/package.json +1 -1
  34. package/particleeffect/index.js +403 -225
  35. package/planeclip/index.js +300 -198
  36. package/resetview/index.js +52 -66
  37. package/roller/index.js +372 -304
  38. package/scaneffect/index.js +537 -230
  39. package/sceneadvancedtoimage/index.js +358 -205
  40. package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -1
  41. package/sceneapp/index.js +20228 -7467
  42. package/sceneset/index.js +864 -350
  43. package/scenetohdimage/index.js +297 -159
  44. package/scenetohdimage/style/scenetohdimage.css +1 -1
  45. package/sceneview/index.js +20228 -7467
  46. package/sceneview/style/sceneview.css +1 -1
  47. package/screenshot/index.js +301 -257
  48. package/shadowanalysis/index.js +405 -217
  49. package/sightlineanalysis/index.js +271 -183
  50. package/sightlineanalysis/style/divpoint.css +1 -1
  51. package/skylineanalysis/index.js +308 -160
  52. package/slopeanalysis/index.js +397 -227
  53. package/slopeaspectanalysis/index.js +485 -259
  54. package/statusbar/index.js +65 -88
  55. package/style.css +1 -1
  56. package/terrainoperation/index.js +237 -176
  57. package/terrainprofileanalysis/index.js +138 -120
  58. package/typhoontrac/index.js +1004 -234
  59. package/typhoontrac/style/typhoontrac.css +1 -1
  60. package/underground/index.js +61 -70
  61. package/videofusion/index.js +488 -265
  62. package/videoproject/index.js +490 -271
  63. package/viewshedanalysis/index.js +255 -151
  64. package/weathereffect/index.js +317 -166
  65. package/windyslicing/index.js +2198 -0
  66. package/windyslicing/style/index.js +3 -0
  67. package/windyslicing/style/windyslicing.css +1 -0
  68. package/wireframesketch/index.js +142 -110
@@ -2,11 +2,11 @@
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
3
  module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"));
4
4
  else if(typeof define === 'function' && define.amd)
5
- define(["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js"], factory);
6
- else {
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
- for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
- }
5
+ define("@kq_npm/client3d_webgl_vue", ["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js"], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["@kq_npm/client3d_webgl_vue"] = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"));
8
+ else
9
+ root["@kq_npm/client3d_webgl_vue"] = factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/init.js"]);
10
10
  })(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__7997__) {
11
11
  return /******/ (function() { // webpackBootstrap
12
12
  /******/ "use strict";
@@ -18,20 +18,23 @@ return /******/ (function() { // webpackBootstrap
18
18
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19
19
  /* harmony export */ "Z": function() { return /* binding */ FixedZoomin3dViewModel; }
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__(5301);
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
22
 
23
- /*
24
- * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
25
- * All rights reserved.
23
+
24
+ /*
25
+ * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
26
+ * All rights reserved.
26
27
  */
27
28
  // 三维固定缩放逻辑
28
29
  class FixedZoomin3dViewModel {
29
30
  //三维viewer对象
30
31
  constructor(viewer) {
31
32
  (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
33
+
32
34
  this._viewer = viewer;
33
- }
34
- //获取相机焦点
35
+ } //获取相机焦点
36
+
37
+
35
38
  getCameraFocus() {
36
39
  if (!this._viewer) return;
37
40
  var scene = this._viewer.scene;
@@ -41,18 +44,32 @@ class FixedZoomin3dViewModel {
41
44
  rayScratch.direction = camera.directionWC;
42
45
  var result = new Cesium.Cartesian3();
43
46
  result = scene.globe.pick(rayScratch, scene, result);
47
+
44
48
  if (result) {
45
49
  result = camera.worldToCameraCoordinatesPoint(result, result);
46
50
  }
51
+
47
52
  return result;
48
- }
49
- //地图缩放
53
+ } //地图缩小
54
+
55
+
50
56
  zoom(scale) {
57
+ if (this._viewer.scene.mode == Cesium.SceneMode.SCENE3D) {
58
+ this.zoom3D(scale);
59
+ } else if (this._viewer.scene.mode == Cesium.SceneMode.SCENE2D) {
60
+ this.zoom2D(scale);
61
+ }
62
+ } // 二维模式缩小
63
+
64
+
65
+ zoom3D(scale) {
51
66
  if (!this._viewer) return;
52
67
  var scene = this._viewer.scene;
53
- var camera = scene.camera;
68
+ var camera = scene.camera; // camera.zoomIn(scale*100000);
69
+
54
70
  var focus = this.getCameraFocus();
55
71
  var orientation;
72
+
56
73
  if (!focus) {
57
74
  // Camera direction is not pointing at the globe, so use the ellipsoid horizon point as
58
75
  // the focal point.
@@ -69,6 +86,7 @@ class FixedZoomin3dViewModel {
69
86
  up: camera.up
70
87
  };
71
88
  }
89
+
72
90
  var cartesian3Scratch = new Cesium.Cartesian3();
73
91
  var direction = Cesium.Cartesian3.subtract(camera.position, focus, cartesian3Scratch);
74
92
  var movementVector = Cesium.Cartesian3.multiplyByScalar(direction, scale, direction);
@@ -79,7 +97,17 @@ class FixedZoomin3dViewModel {
79
97
  duration: 0.5,
80
98
  convert: false
81
99
  });
100
+ } // 二维模式缩小
101
+
102
+
103
+ zoom2D(scale) {
104
+ if (!this._viewer) return;
105
+ var scene = this._viewer.scene;
106
+ var camera = scene.camera;
107
+ let height = camera.positionCartographic.height;
108
+ camera.zoomOut(scale * height / 2);
82
109
  }
110
+
83
111
  }
84
112
 
85
113
  /***/ }),
@@ -119,59 +147,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
119
147
 
120
148
  /***/ }),
121
149
 
122
- /***/ 5301:
150
+ /***/ 8270:
123
151
  /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
124
152
 
125
-
126
- // EXPORTS
127
- __webpack_require__.d(__webpack_exports__, {
128
- "Z": function() { return /* binding */ _defineProperty; }
129
- });
130
-
131
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
132
- function _typeof(o) {
133
- "@babel/helpers - typeof";
134
-
135
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
136
- return typeof o;
137
- } : function (o) {
138
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
139
- }, _typeof(o);
140
- }
141
-
142
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
143
-
144
- function toPrimitive(t, r) {
145
- if ("object" != _typeof(t) || !t) return t;
146
- var e = t[Symbol.toPrimitive];
147
- if (void 0 !== e) {
148
- var i = e.call(t, r || "default");
149
- if ("object" != _typeof(i)) return i;
150
- throw new TypeError("@@toPrimitive must return a primitive value.");
153
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
154
+ /* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
155
+ /* harmony export */ });
156
+ function _defineProperty(obj, key, value) {
157
+ if (key in obj) {
158
+ Object.defineProperty(obj, key, {
159
+ value: value,
160
+ enumerable: true,
161
+ configurable: true,
162
+ writable: true
163
+ });
164
+ } else {
165
+ obj[key] = value;
151
166
  }
152
- return ("string" === r ? String : Number)(t);
153
- }
154
-
155
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
156
-
157
-
158
- function toPropertyKey(t) {
159
- var i = toPrimitive(t, "string");
160
- return "symbol" == _typeof(i) ? i : i + "";
161
- }
162
-
163
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
164
167
 
165
- function _defineProperty(e, r, t) {
166
- return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
167
- value: t,
168
- enumerable: !0,
169
- configurable: !0,
170
- writable: !0
171
- }) : e[r] = t, e;
168
+ return obj;
172
169
  }
173
170
 
174
-
175
171
  /***/ })
176
172
 
177
173
  /******/ });
@@ -264,14 +260,13 @@ var FixedZoominViewModel = __webpack_require__(7216);
264
260
  var gis_utils_ = __webpack_require__(7135);
265
261
  // EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
266
262
  var vue_i18n_cjs_js_ = __webpack_require__(7080);
267
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/fixedzoomin/FixedZoomin.vue?vue&type=script&setup=true&lang=js
268
-
263
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/fixedzoomin/FixedZoomin.vue?vue&type=script&setup=true&lang=js
269
264
 
270
265
 
271
266
 
272
267
 
273
268
 
274
- // 获取组件传参
269
+ // 获取组件传参
275
270
 
276
271
  const __default__ = {
277
272
  name: "Kq3dFixedZoomin"
@@ -290,6 +285,7 @@ const __default__ = {
290
285
  default: false
291
286
  }
292
287
  },
288
+
293
289
  setup(__props) {
294
290
  const props = __props;
295
291
  const {
@@ -297,8 +293,8 @@ const __default__ = {
297
293
  } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
298
294
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
299
295
  let viewModel = null;
300
- let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
301
- // 国际化
296
+ let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 国际化
297
+
302
298
  let {
303
299
  locale,
304
300
  messages
@@ -312,15 +308,18 @@ const __default__ = {
312
308
  viewModel = new FixedZoominViewModel/* default */.Z(scenceView._viewer);
313
309
  }
314
310
  });
315
- });
316
- // 按钮点击事件
311
+ }); // 按钮点击事件
312
+
317
313
  function btnClick() {
318
314
  btn.value.$el.blur();
319
315
  viewModel && viewModel.zoom(2);
320
316
  }
317
+
321
318
  return (_ctx, _cache) => {
322
319
  const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
320
+
323
321
  const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
322
+
324
323
  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, {
325
324
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).zoomOut,
326
325
  class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)([{
@@ -335,12 +334,21 @@ const __default__ = {
335
334
  size: __props.size / 2
336
335
  }, {
337
336
  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)(icons_vue_.Minus))]),
338
- _: 1 /* STABLE */
339
- }, 8 /* PROPS */, ["size"])]),
340
- _: 1 /* STABLE */
341
- }, 8 /* PROPS */, ["title", "class", "style"]);
337
+ _: 1
338
+ /* STABLE */
339
+
340
+ }, 8
341
+ /* PROPS */
342
+ , ["size"])]),
343
+ _: 1
344
+ /* STABLE */
345
+
346
+ }, 8
347
+ /* PROPS */
348
+ , ["title", "class", "style"]);
342
349
  };
343
350
  }
351
+
344
352
  }));
345
353
  ;// CONCATENATED MODULE: ./src/webgl/fixedzoomin/FixedZoomin.vue?vue&type=script&setup=true&lang=js
346
354
 
@@ -362,11 +370,13 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
362
370
 
363
371
 
364
372
 
373
+
365
374
  FixedZoomin.install = (Vue, opts) => {
366
375
  init_js_default()(Vue, opts);
367
376
  Vue.component(FixedZoomin.name, FixedZoomin);
368
377
  };
369
378
 
379
+
370
380
  }();
371
381
  /******/ return __webpack_exports__;
372
382
  /******/ })()
@@ -2,11 +2,11 @@
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
3
  module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"));
4
4
  else if(typeof define === 'function' && define.amd)
5
- define(["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js"], factory);
6
- else {
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
- for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
- }
5
+ define("@kq_npm/client3d_webgl_vue", ["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js"], factory);
6
+ else if(typeof exports === 'object')
7
+ exports["@kq_npm/client3d_webgl_vue"] = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"));
8
+ else
9
+ root["@kq_npm/client3d_webgl_vue"] = factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/init.js"]);
10
10
  })(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__7997__) {
11
11
  return /******/ (function() { // webpackBootstrap
12
12
  /******/ "use strict";
@@ -18,20 +18,23 @@ return /******/ (function() { // webpackBootstrap
18
18
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19
19
  /* harmony export */ "Z": function() { return /* binding */ FixedZoomout3dViewModel; }
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__(5301);
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
22
 
23
- /*
24
- * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
25
- * All rights reserved.
23
+
24
+ /*
25
+ * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
26
+ * All rights reserved.
26
27
  */
27
28
  // 三维固定缩放逻辑
28
29
  class FixedZoomout3dViewModel {
29
30
  //三维viewer对象
30
31
  constructor(viewer) {
31
32
  (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
33
+
32
34
  this._viewer = viewer;
33
- }
34
- //获取相机焦点
35
+ } //获取相机焦点
36
+
37
+
35
38
  getCameraFocus() {
36
39
  if (!this._viewer) return;
37
40
  var scene = this._viewer.scene;
@@ -41,18 +44,31 @@ class FixedZoomout3dViewModel {
41
44
  rayScratch.direction = camera.directionWC;
42
45
  var result = new Cesium.Cartesian3();
43
46
  result = scene.globe.pick(rayScratch, scene, result);
47
+
44
48
  if (result) {
45
49
  result = camera.worldToCameraCoordinatesPoint(result, result);
46
50
  }
51
+
47
52
  return result;
48
- }
49
- //地图缩放
53
+ } //地图放大
54
+
55
+
50
56
  zoom(scale) {
57
+ if (this._viewer.scene.mode == Cesium.SceneMode.SCENE3D) {
58
+ this.zoom3D(scale);
59
+ } else if (this._viewer.scene.mode == Cesium.SceneMode.SCENE2D) {
60
+ this.zoom2D(scale);
61
+ }
62
+ } // 三维模式放大
63
+
64
+
65
+ zoom3D(scale) {
51
66
  if (!this._viewer) return;
52
67
  var scene = this._viewer.scene;
53
68
  var camera = scene.camera;
54
69
  var focus = this.getCameraFocus();
55
70
  var orientation;
71
+
56
72
  if (!focus) {
57
73
  // Camera direction is not pointing at the globe, so use the ellipsoid horizon point as
58
74
  // the focal point.
@@ -69,6 +85,7 @@ class FixedZoomout3dViewModel {
69
85
  up: camera.up
70
86
  };
71
87
  }
88
+
72
89
  var cartesian3Scratch = new Cesium.Cartesian3();
73
90
  var direction = Cesium.Cartesian3.subtract(camera.position, focus, cartesian3Scratch);
74
91
  var movementVector = Cesium.Cartesian3.multiplyByScalar(direction, scale, direction);
@@ -79,7 +96,17 @@ class FixedZoomout3dViewModel {
79
96
  duration: 0.5,
80
97
  convert: false
81
98
  });
99
+ } // 二维模式放大
100
+
101
+
102
+ zoom2D(scale) {
103
+ if (!this._viewer) return;
104
+ var scene = this._viewer.scene;
105
+ var camera = scene.camera;
106
+ let height = camera.positionCartographic.height;
107
+ camera.zoomIn(height * scale);
82
108
  }
109
+
83
110
  }
84
111
 
85
112
  /***/ }),
@@ -119,59 +146,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
119
146
 
120
147
  /***/ }),
121
148
 
122
- /***/ 5301:
149
+ /***/ 8270:
123
150
  /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
124
151
 
125
-
126
- // EXPORTS
127
- __webpack_require__.d(__webpack_exports__, {
128
- "Z": function() { return /* binding */ _defineProperty; }
129
- });
130
-
131
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
132
- function _typeof(o) {
133
- "@babel/helpers - typeof";
134
-
135
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
136
- return typeof o;
137
- } : function (o) {
138
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
139
- }, _typeof(o);
140
- }
141
-
142
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
143
-
144
- function toPrimitive(t, r) {
145
- if ("object" != _typeof(t) || !t) return t;
146
- var e = t[Symbol.toPrimitive];
147
- if (void 0 !== e) {
148
- var i = e.call(t, r || "default");
149
- if ("object" != _typeof(i)) return i;
150
- throw new TypeError("@@toPrimitive must return a primitive value.");
152
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
153
+ /* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
154
+ /* harmony export */ });
155
+ function _defineProperty(obj, key, value) {
156
+ if (key in obj) {
157
+ Object.defineProperty(obj, key, {
158
+ value: value,
159
+ enumerable: true,
160
+ configurable: true,
161
+ writable: true
162
+ });
163
+ } else {
164
+ obj[key] = value;
151
165
  }
152
- return ("string" === r ? String : Number)(t);
153
- }
154
-
155
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
156
166
 
157
-
158
- function toPropertyKey(t) {
159
- var i = toPrimitive(t, "string");
160
- return "symbol" == _typeof(i) ? i : i + "";
167
+ return obj;
161
168
  }
162
169
 
163
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
164
-
165
- function _defineProperty(e, r, t) {
166
- return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
167
- value: t,
168
- enumerable: !0,
169
- configurable: !0,
170
- writable: !0
171
- }) : e[r] = t, e;
172
- }
173
-
174
-
175
170
  /***/ })
176
171
 
177
172
  /******/ });
@@ -264,14 +259,13 @@ var FixedZoomoutViewModel = __webpack_require__(8800);
264
259
  var gis_utils_ = __webpack_require__(7135);
265
260
  // EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
266
261
  var vue_i18n_cjs_js_ = __webpack_require__(7080);
267
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/fixedzoomout/FixedZoomout.vue?vue&type=script&setup=true&lang=js
262
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/fixedzoomout/FixedZoomout.vue?vue&type=script&setup=true&lang=js
268
263
 
269
264
 
270
265
 
271
266
 
272
267
 
273
-
274
- // 获取组件传参
268
+ // 获取组件传参
275
269
 
276
270
  const __default__ = {
277
271
  name: "Kq3dFixedZoomout"
@@ -290,6 +284,7 @@ const __default__ = {
290
284
  default: false
291
285
  }
292
286
  },
287
+
293
288
  setup(__props) {
294
289
  const props = __props;
295
290
  const {
@@ -297,8 +292,8 @@ const __default__ = {
297
292
  } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
298
293
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
299
294
  let viewModel = null;
300
- let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
301
- // 国际化
295
+ let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 国际化
296
+
302
297
  let {
303
298
  locale,
304
299
  messages
@@ -312,15 +307,18 @@ const __default__ = {
312
307
  viewModel = new FixedZoomoutViewModel/* default */.Z(scenceView._viewer);
313
308
  }
314
309
  });
315
- });
316
- // 按钮点击事件
310
+ }); // 按钮点击事件
311
+
317
312
  function btnClick() {
318
313
  btn.value.$el.blur();
319
314
  viewModel && viewModel.zoom(0.5);
320
315
  }
316
+
321
317
  return (_ctx, _cache) => {
322
318
  const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
319
+
323
320
  const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
321
+
324
322
  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, {
325
323
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).zoomIn,
326
324
  class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)([{
@@ -335,12 +333,21 @@ const __default__ = {
335
333
  size: __props.size / 2
336
334
  }, {
337
335
  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)(icons_vue_.Plus))]),
338
- _: 1 /* STABLE */
339
- }, 8 /* PROPS */, ["size"])]),
340
- _: 1 /* STABLE */
341
- }, 8 /* PROPS */, ["title", "class", "style"]);
336
+ _: 1
337
+ /* STABLE */
338
+
339
+ }, 8
340
+ /* PROPS */
341
+ , ["size"])]),
342
+ _: 1
343
+ /* STABLE */
344
+
345
+ }, 8
346
+ /* PROPS */
347
+ , ["title", "class", "style"]);
342
348
  };
343
349
  }
350
+
344
351
  }));
345
352
  ;// CONCATENATED MODULE: ./src/webgl/fixedzoomout/FixedZoomout.vue?vue&type=script&setup=true&lang=js
346
353
 
@@ -362,11 +369,13 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
362
369
 
363
370
 
364
371
 
372
+
365
373
  FixedZoomout.install = (Vue, opts) => {
366
374
  init_js_default()(Vue, opts);
367
375
  Vue.component(FixedZoomout.name, FixedZoomout);
368
376
  };
369
377
 
378
+
370
379
  }();
371
380
  /******/ return __webpack_exports__;
372
381
  /******/ })()