@kq_npm/client3d_webgl_vue 4.5.11 → 4.5.13

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 (57) hide show
  1. package/adddata/index.js +63 -57
  2. package/aspectanalysis/index.js +36 -33
  3. package/baseterraingallery/index.js +36 -30
  4. package/boxclip/index.js +45 -42
  5. package/clientPrint/index.js +2058 -9342
  6. package/clientPrint/style/clientPrint.css +1 -1
  7. package/comparemap/index.js +37 -28
  8. package/compass/index.js +30 -24
  9. package/excavatefillanalysis/index.js +43 -40
  10. package/excavatefillanalysis/style/excavatefillanalysis.css +1 -1
  11. package/fixedzoomin/index.js +30 -24
  12. package/fixedzoomout/index.js +30 -24
  13. package/flight/index.js +49 -43
  14. package/floodanalysis/index.js +52 -46
  15. package/geologicalbodyanalysis/index.js +43 -40
  16. package/gpuspatialquery/index.js +47 -41
  17. package/hawkeye/index.js +22 -19
  18. package/headertemp/index.js +13 -10
  19. package/heatmap3d/index.js +84 -81
  20. package/index.js +681 -8019
  21. package/isolineanalysis/index.js +54 -51
  22. package/light/index.js +39 -36
  23. package/limitheightanalysis/index.js +94 -43
  24. package/measure/index.js +47 -41
  25. package/modelFlat/index.js +52 -46
  26. package/modelexcavate/index.js +58 -52
  27. package/modelfilter/index.js +45 -42
  28. package/modelprofileanalysis/index.js +121 -69
  29. package/modelselect/index.js +50 -44
  30. package/package.json +1 -1
  31. package/particleeffect/index.js +41 -38
  32. package/planeclip/index.js +45 -42
  33. package/resetview/index.js +30 -24
  34. package/roller/index.js +54 -46
  35. package/scaneffect/index.js +43 -41
  36. package/sceneadvancedtoimage/index.js +46 -43
  37. package/sceneapp/index.js +114 -7619
  38. package/sceneset/index.js +55 -52
  39. package/scenetohdimage/index.js +33 -30
  40. package/sceneview/index.js +2059 -9343
  41. package/screenshot/index.js +37 -31
  42. package/shadowanalysis/index.js +40 -37
  43. package/shadowanalysis/style/shadowanalysis.css +1 -1
  44. package/sightlineanalysis/index.js +63 -57
  45. package/skylineanalysis/index.js +53 -46
  46. package/slopeanalysis/index.js +46 -43
  47. package/slopeaspectanalysis/index.js +47 -44
  48. package/statusbar/index.js +36 -33
  49. package/style.css +1 -1
  50. package/terrainoperation/index.js +49 -46
  51. package/terrainprofileanalysis/index.js +52 -49
  52. package/underground/index.js +30 -26
  53. package/videofusion/index.js +49 -43
  54. package/videoproject/index.js +49 -43
  55. package/viewshedanalysis/index.js +36 -33
  56. package/weathereffect/index.js +35 -32
  57. package/wireframesketch/index.js +40 -37
@@ -7,17 +7,17 @@
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"), require("@kq_npm/client_common_vue/_utils/util")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/init.js"], root["@kq_npm/client_common_vue/_utils/util"]);
8
8
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
9
  }
10
- })(this, function(__WEBPACK_EXTERNAL_MODULE__154__, __WEBPACK_EXTERNAL_MODULE__64__, __WEBPACK_EXTERNAL_MODULE__455__, __WEBPACK_EXTERNAL_MODULE__2975__) {
10
+ })(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__7997__, __WEBPACK_EXTERNAL_MODULE__3458__) {
11
11
  return /******/ (function() { // webpackBootstrap
12
12
  /******/ "use strict";
13
13
  /******/ var __webpack_modules__ = ({
14
14
 
15
- /***/ 3275:
15
+ /***/ 1349:
16
16
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17
17
 
18
- /* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6363);
18
+ /* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9389);
19
19
  /* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__);
20
- /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(455);
20
+ /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7997);
21
21
  /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
22
22
  /*
23
23
  * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
@@ -29,87 +29,87 @@ element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install =
29
29
  _init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
30
30
  Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
31
31
  };
32
- /* harmony default export */ __webpack_exports__.A = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
32
+ /* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
33
33
 
34
34
  /***/ }),
35
35
 
36
- /***/ 5698:
36
+ /***/ 348:
37
37
  /***/ (function(module) {
38
38
 
39
39
  module.exports = require("@kq_npm/client_icons_vue");
40
40
 
41
41
  /***/ }),
42
42
 
43
- /***/ 2652:
43
+ /***/ 2118:
44
44
  /***/ (function(module) {
45
45
 
46
46
  module.exports = require("core-js/modules/es.array.push.js");
47
47
 
48
48
  /***/ }),
49
49
 
50
- /***/ 3658:
50
+ /***/ 8470:
51
51
  /***/ (function(module) {
52
52
 
53
53
  module.exports = require("core-js/modules/esnext.iterator.constructor.js");
54
54
 
55
55
  /***/ }),
56
56
 
57
- /***/ 7993:
57
+ /***/ 8697:
58
58
  /***/ (function(module) {
59
59
 
60
60
  module.exports = require("core-js/modules/esnext.iterator.find.js");
61
61
 
62
62
  /***/ }),
63
63
 
64
- /***/ 6363:
64
+ /***/ 9389:
65
65
  /***/ (function(module) {
66
66
 
67
67
  module.exports = require("element-plus/dist/index.full.js");
68
68
 
69
69
  /***/ }),
70
70
 
71
- /***/ 3579:
71
+ /***/ 7080:
72
72
  /***/ (function(module) {
73
73
 
74
74
  module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
75
75
 
76
76
  /***/ }),
77
77
 
78
- /***/ 64:
78
+ /***/ 7135:
79
79
  /***/ (function(module) {
80
80
 
81
- module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
81
+ module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
82
82
 
83
83
  /***/ }),
84
84
 
85
- /***/ 2975:
85
+ /***/ 3458:
86
86
  /***/ (function(module) {
87
87
 
88
- module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
88
+ module.exports = __WEBPACK_EXTERNAL_MODULE__3458__;
89
89
 
90
90
  /***/ }),
91
91
 
92
- /***/ 455:
92
+ /***/ 7997:
93
93
  /***/ (function(module) {
94
94
 
95
- module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
95
+ module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
96
96
 
97
97
  /***/ }),
98
98
 
99
- /***/ 154:
99
+ /***/ 1895:
100
100
  /***/ (function(module) {
101
101
 
102
- module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
102
+ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
103
103
 
104
104
  /***/ }),
105
105
 
106
- /***/ 6913:
106
+ /***/ 5301:
107
107
  /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
108
108
 
109
109
 
110
110
  // EXPORTS
111
111
  __webpack_require__.d(__webpack_exports__, {
112
- A: function() { return /* binding */ _defineProperty; }
112
+ "Z": function() { return /* binding */ _defineProperty; }
113
113
  });
114
114
 
115
115
  ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
@@ -227,29 +227,31 @@ function _defineProperty(e, r, t) {
227
227
  /******/
228
228
  /************************************************************************/
229
229
  var __webpack_exports__ = {};
230
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
231
+ !function() {
230
232
  // ESM COMPAT FLAG
231
233
  __webpack_require__.r(__webpack_exports__);
232
234
 
233
235
  // EXPORTS
234
236
  __webpack_require__.d(__webpack_exports__, {
235
- PlaneClipViewModel: function() { return /* reexport */ PlaneClipViewModel; },
237
+ "PlaneClipViewModel": function() { return /* reexport */ PlaneClipViewModel; },
236
238
  "default": function() { return /* reexport */ PlaneClip; }
237
239
  });
238
240
 
239
241
  // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
240
- var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
242
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
241
243
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
242
- var gis_utils_ = __webpack_require__(64);
244
+ var gis_utils_ = __webpack_require__(7135);
243
245
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
244
- var defineProperty = __webpack_require__(6913);
246
+ var defineProperty = __webpack_require__(5301);
245
247
  // EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
246
- var es_array_push_js_ = __webpack_require__(2652);
248
+ var es_array_push_js_ = __webpack_require__(2118);
247
249
  // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
248
- var esnext_iterator_constructor_js_ = __webpack_require__(3658);
250
+ var esnext_iterator_constructor_js_ = __webpack_require__(8470);
249
251
  // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.find.js"
250
- var esnext_iterator_find_js_ = __webpack_require__(7993);
252
+ var esnext_iterator_find_js_ = __webpack_require__(8697);
251
253
  // EXTERNAL MODULE: ./src/common/_ui/message/index.js
252
- var message = __webpack_require__(3275);
254
+ var message = __webpack_require__(1349);
253
255
  ;// CONCATENATED MODULE: ./src/webgl/planeclip/PlaneClipViewModel.js
254
256
 
255
257
 
@@ -263,11 +265,11 @@ var message = __webpack_require__(3275);
263
265
 
264
266
  class PlaneClipViewModel {
265
267
  constructor(scenceView, options) {
266
- (0,defineProperty/* default */.A)(this, "_viewer", null);
268
+ (0,defineProperty/* default */.Z)(this, "_viewer", null);
267
269
  //三维viewer对象
268
- (0,defineProperty/* default */.A)(this, "_options", {});
270
+ (0,defineProperty/* default */.Z)(this, "_options", {});
269
271
  //平面裁剪存储参数对象
270
- (0,defineProperty/* default */.A)(this, "_defaultOptions", {
272
+ (0,defineProperty/* default */.Z)(this, "_defaultOptions", {
271
273
  //默认参数对象
272
274
  x: 0,
273
275
  y: 0,
@@ -291,13 +293,13 @@ class PlaneClipViewModel {
291
293
  paddingStrokeDirection: 30.0,
292
294
  paddingStrokeSpace: 7.0
293
295
  });
294
- (0,defineProperty/* default */.A)(this, "_planeclipAnalysis", null);
296
+ (0,defineProperty/* default */.Z)(this, "_planeclipAnalysis", null);
295
297
  //平面裁剪三维逻辑类
296
- (0,defineProperty/* default */.A)(this, "_drawManager", null);
298
+ (0,defineProperty/* default */.Z)(this, "_drawManager", null);
297
299
  //绘制管理对象
298
- (0,defineProperty/* default */.A)(this, "_removeEventListener", null);
300
+ (0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
299
301
  //绘制完成事件监听
300
- (0,defineProperty/* default */.A)(this, "_language", {});
302
+ (0,defineProperty/* default */.Z)(this, "_language", {});
301
303
  this._options = Object.assign({}, options, this._defaultOptions);
302
304
  this._viewer = scenceView._viewer;
303
305
  // this._viewer.enabledFXAA = true;
@@ -354,7 +356,7 @@ class PlaneClipViewModel {
354
356
  image: null
355
357
  });
356
358
  } else {
357
- (0,message/* default */.A)({
359
+ (0,message/* default */.Z)({
358
360
  message: this._language["addModelAnalysisTips"],
359
361
  type: "warning"
360
362
  });
@@ -422,11 +424,11 @@ class PlaneClipViewModel {
422
424
  }
423
425
  }
424
426
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
425
- var client_icons_vue_ = __webpack_require__(5698);
427
+ var client_icons_vue_ = __webpack_require__(348);
426
428
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
427
- var util_ = __webpack_require__(2975);
429
+ var util_ = __webpack_require__(3458);
428
430
  // EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
429
- var vue_i18n_cjs_js_ = __webpack_require__(3579);
431
+ var vue_i18n_cjs_js_ = __webpack_require__(7080);
430
432
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/planeclip/PlaneClip.vue?vue&type=script&setup=true&lang=js
431
433
 
432
434
  const _hoisted_1 = {
@@ -500,7 +502,7 @@ const __default__ = {
500
502
  proxy
501
503
  } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
502
504
  let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
503
- let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
505
+ let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
504
506
  let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
505
507
  let tiles = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
506
508
 
@@ -866,7 +868,7 @@ const __exports__ = PlaneClipvue_type_script_setup_true_lang_js;
866
868
 
867
869
  /* harmony default export */ var PlaneClip = (__exports__);
868
870
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
869
- var init_js_ = __webpack_require__(455);
871
+ var init_js_ = __webpack_require__(7997);
870
872
  var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
871
873
  ;// CONCATENATED MODULE: ./src/webgl/planeclip/index.js
872
874
  /*
@@ -881,6 +883,7 @@ PlaneClip.install = (Vue, opts) => {
881
883
  Vue.component(PlaneClip.name, PlaneClip);
882
884
  };
883
885
 
886
+ }();
884
887
  /******/ return __webpack_exports__;
885
888
  /******/ })()
886
889
  ;
@@ -7,18 +7,18 @@
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__154__, __WEBPACK_EXTERNAL_MODULE__64__, __WEBPACK_EXTERNAL_MODULE__455__) {
10
+ })(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__7997__) {
11
11
  return /******/ (function() { // webpackBootstrap
12
12
  /******/ "use strict";
13
13
  /******/ var __webpack_modules__ = ({
14
14
 
15
- /***/ 3812:
15
+ /***/ 2242:
16
16
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
17
17
 
18
18
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19
- /* harmony export */ A: function() { return /* binding */ ResetViewViewModel; }
19
+ /* harmony export */ "Z": function() { return /* binding */ ResetViewViewModel; }
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__(6913);
21
+ /* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5301);
22
22
 
23
23
  /*
24
24
  * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
@@ -28,7 +28,7 @@ return /******/ (function() { // webpackBootstrap
28
28
  class ResetViewViewModel {
29
29
  //三维viewer对象
30
30
  constructor(viewer) {
31
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(this, "_viewer", null);
31
+ (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
32
32
  this._viewer = viewer;
33
33
  }
34
34
  //重置视角
@@ -39,48 +39,48 @@ class ResetViewViewModel {
39
39
 
40
40
  /***/ }),
41
41
 
42
- /***/ 9371:
42
+ /***/ 8422:
43
43
  /***/ (function(module) {
44
44
 
45
45
  module.exports = require("@element-plus/icons-vue");
46
46
 
47
47
  /***/ }),
48
48
 
49
- /***/ 3579:
49
+ /***/ 7080:
50
50
  /***/ (function(module) {
51
51
 
52
52
  module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
53
53
 
54
54
  /***/ }),
55
55
 
56
- /***/ 64:
56
+ /***/ 7135:
57
57
  /***/ (function(module) {
58
58
 
59
- module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
59
+ module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
60
60
 
61
61
  /***/ }),
62
62
 
63
- /***/ 455:
63
+ /***/ 7997:
64
64
  /***/ (function(module) {
65
65
 
66
- module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
66
+ module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
67
67
 
68
68
  /***/ }),
69
69
 
70
- /***/ 154:
70
+ /***/ 1895:
71
71
  /***/ (function(module) {
72
72
 
73
- module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
73
+ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
74
74
 
75
75
  /***/ }),
76
76
 
77
- /***/ 6913:
77
+ /***/ 5301:
78
78
  /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
79
79
 
80
80
 
81
81
  // EXPORTS
82
82
  __webpack_require__.d(__webpack_exports__, {
83
- A: function() { return /* binding */ _defineProperty; }
83
+ "Z": function() { return /* binding */ _defineProperty; }
84
84
  });
85
85
 
86
86
  ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
@@ -198,25 +198,27 @@ function _defineProperty(e, r, t) {
198
198
  /******/
199
199
  /************************************************************************/
200
200
  var __webpack_exports__ = {};
201
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
202
+ !function() {
201
203
  // ESM COMPAT FLAG
202
204
  __webpack_require__.r(__webpack_exports__);
203
205
 
204
206
  // EXPORTS
205
207
  __webpack_require__.d(__webpack_exports__, {
206
- ResetViewViewModel: function() { return /* reexport */ ResetViewViewModel/* default */.A; },
208
+ "ResetViewViewModel": function() { return /* reexport */ ResetViewViewModel/* default */.Z; },
207
209
  "default": function() { return /* reexport */ ResetView; }
208
210
  });
209
211
 
210
212
  // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
211
- var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
213
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
212
214
  // EXTERNAL MODULE: external "@element-plus/icons-vue"
213
- var icons_vue_ = __webpack_require__(9371);
215
+ var icons_vue_ = __webpack_require__(8422);
214
216
  // EXTERNAL MODULE: ./src/webgl/resetview/ResetViewViewModel.js
215
- var ResetViewViewModel = __webpack_require__(3812);
217
+ var ResetViewViewModel = __webpack_require__(2242);
216
218
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
217
- var gis_utils_ = __webpack_require__(64);
219
+ var gis_utils_ = __webpack_require__(7135);
218
220
  // EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
219
- var vue_i18n_cjs_js_ = __webpack_require__(3579);
221
+ var vue_i18n_cjs_js_ = __webpack_require__(7080);
220
222
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/resetview/ResetView.vue?vue&type=script&setup=true&lang=js
221
223
 
222
224
 
@@ -245,7 +247,10 @@ const __default__ = {
245
247
  },
246
248
  setup(__props) {
247
249
  const props = __props;
248
- let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
250
+ const {
251
+ proxy
252
+ } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
253
+ let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
249
254
  let viewModel = null;
250
255
  let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
251
256
  // 国际化
@@ -259,7 +264,7 @@ const __default__ = {
259
264
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
260
265
  gis_utils_.utils.getWebMap(props.mapTarget, scenceView => {
261
266
  if (scenceView) {
262
- viewModel = new ResetViewViewModel/* default */.A(scenceView._viewer);
267
+ viewModel = new ResetViewViewModel/* default */.Z(scenceView._viewer);
263
268
  }
264
269
  });
265
270
  });
@@ -302,7 +307,7 @@ const __exports__ = ResetViewvue_type_script_setup_true_lang_js;
302
307
 
303
308
  /* harmony default export */ var ResetView = (__exports__);
304
309
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
305
- var init_js_ = __webpack_require__(455);
310
+ var init_js_ = __webpack_require__(7997);
306
311
  var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
307
312
  ;// CONCATENATED MODULE: ./src/webgl/resetview/index.js
308
313
  /*
@@ -317,6 +322,7 @@ ResetView.install = (Vue, opts) => {
317
322
  Vue.component(ResetView.name, ResetView);
318
323
  };
319
324
 
325
+ }();
320
326
  /******/ return __webpack_exports__;
321
327
  /******/ })()
322
328
  ;
package/roller/index.js CHANGED
@@ -7,81 +7,81 @@
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__154__, __WEBPACK_EXTERNAL_MODULE__64__, __WEBPACK_EXTERNAL_MODULE__2975__, __WEBPACK_EXTERNAL_MODULE__455__) {
10
+ })(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__3458__, __WEBPACK_EXTERNAL_MODULE__7997__) {
11
11
  return /******/ (function() { // webpackBootstrap
12
12
  /******/ "use strict";
13
13
  /******/ var __webpack_modules__ = ({
14
14
 
15
- /***/ 5698:
15
+ /***/ 348:
16
16
  /***/ (function(module) {
17
17
 
18
18
  module.exports = require("@kq_npm/client_icons_vue");
19
19
 
20
20
  /***/ }),
21
21
 
22
- /***/ 2652:
22
+ /***/ 2118:
23
23
  /***/ (function(module) {
24
24
 
25
25
  module.exports = require("core-js/modules/es.array.push.js");
26
26
 
27
27
  /***/ }),
28
28
 
29
- /***/ 3658:
29
+ /***/ 8470:
30
30
  /***/ (function(module) {
31
31
 
32
32
  module.exports = require("core-js/modules/esnext.iterator.constructor.js");
33
33
 
34
34
  /***/ }),
35
35
 
36
- /***/ 4669:
36
+ /***/ 1058:
37
37
  /***/ (function(module) {
38
38
 
39
39
  module.exports = require("core-js/modules/esnext.iterator.for-each.js");
40
40
 
41
41
  /***/ }),
42
42
 
43
- /***/ 3579:
43
+ /***/ 7080:
44
44
  /***/ (function(module) {
45
45
 
46
46
  module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
47
47
 
48
48
  /***/ }),
49
49
 
50
- /***/ 64:
50
+ /***/ 7135:
51
51
  /***/ (function(module) {
52
52
 
53
- module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
53
+ module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
54
54
 
55
55
  /***/ }),
56
56
 
57
- /***/ 2975:
57
+ /***/ 3458:
58
58
  /***/ (function(module) {
59
59
 
60
- module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
60
+ module.exports = __WEBPACK_EXTERNAL_MODULE__3458__;
61
61
 
62
62
  /***/ }),
63
63
 
64
- /***/ 455:
64
+ /***/ 7997:
65
65
  /***/ (function(module) {
66
66
 
67
- module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
67
+ module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
68
68
 
69
69
  /***/ }),
70
70
 
71
- /***/ 154:
71
+ /***/ 1895:
72
72
  /***/ (function(module) {
73
73
 
74
- module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
74
+ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
75
75
 
76
76
  /***/ }),
77
77
 
78
- /***/ 6913:
78
+ /***/ 5301:
79
79
  /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
80
80
 
81
81
 
82
82
  // EXPORTS
83
83
  __webpack_require__.d(__webpack_exports__, {
84
- A: function() { return /* binding */ _defineProperty; }
84
+ "Z": function() { return /* binding */ _defineProperty; }
85
85
  });
86
86
 
87
87
  ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
@@ -199,59 +199,61 @@ function _defineProperty(e, r, t) {
199
199
  /******/
200
200
  /************************************************************************/
201
201
  var __webpack_exports__ = {};
202
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
203
+ !function() {
202
204
  // ESM COMPAT FLAG
203
205
  __webpack_require__.r(__webpack_exports__);
204
206
 
205
207
  // EXPORTS
206
208
  __webpack_require__.d(__webpack_exports__, {
207
- RollerViewModel: function() { return /* reexport */ RollerViewModel; },
209
+ "RollerViewModel": function() { return /* reexport */ RollerViewModel; },
208
210
  "default": function() { return /* reexport */ Roller; }
209
211
  });
210
212
 
211
213
  // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
212
- var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
214
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
213
215
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
214
- var client_icons_vue_ = __webpack_require__(5698);
216
+ var client_icons_vue_ = __webpack_require__(348);
215
217
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
216
- var gis_utils_ = __webpack_require__(64);
218
+ var gis_utils_ = __webpack_require__(7135);
217
219
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
218
- var defineProperty = __webpack_require__(6913);
220
+ var defineProperty = __webpack_require__(5301);
219
221
  // EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
220
- var es_array_push_js_ = __webpack_require__(2652);
222
+ var es_array_push_js_ = __webpack_require__(2118);
221
223
  // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
222
- var esnext_iterator_constructor_js_ = __webpack_require__(3658);
224
+ var esnext_iterator_constructor_js_ = __webpack_require__(8470);
223
225
  // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
224
- var esnext_iterator_for_each_js_ = __webpack_require__(4669);
226
+ var esnext_iterator_for_each_js_ = __webpack_require__(1058);
225
227
  ;// CONCATENATED MODULE: ./src/webgl/roller/RollerViewModel.js
226
228
 
227
229
 
228
230
 
229
231
 
230
- /*
231
- * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
232
- * All rights reserved.
232
+ /*
233
+ * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
234
+ * All rights reserved.
233
235
  */
234
236
  //卷帘逻辑类
235
237
  class RollerViewModel {
236
238
  //上下卷帘活动状态
237
239
  constructor(scenceView, options) {
238
- (0,defineProperty/* default */.A)(this, "_viewer", null);
240
+ (0,defineProperty/* default */.Z)(this, "_viewer", null);
239
241
  //三维viewer对象
240
- (0,defineProperty/* default */.A)(this, "_layerManager", null);
242
+ (0,defineProperty/* default */.Z)(this, "_layerManager", null);
241
243
  //图层管理对象
242
- (0,defineProperty/* default */.A)(this, "_layers", []);
244
+ (0,defineProperty/* default */.Z)(this, "_layers", []);
243
245
  //卷帘的图层数组
244
- (0,defineProperty/* default */.A)(this, "_lrSlider", null);
246
+ (0,defineProperty/* default */.Z)(this, "_lrSlider", null);
245
247
  //左右卷帘的线的DOM元素
246
- (0,defineProperty/* default */.A)(this, "_tbSlider", null);
248
+ (0,defineProperty/* default */.Z)(this, "_tbSlider", null);
247
249
  //上下卷帘的线的DOM元素
248
- (0,defineProperty/* default */.A)(this, "_lrSliderHandler", null);
250
+ (0,defineProperty/* default */.Z)(this, "_lrSliderHandler", null);
249
251
  //左右卷帘三维对象
250
- (0,defineProperty/* default */.A)(this, "_tbSliderHandler", null);
252
+ (0,defineProperty/* default */.Z)(this, "_tbSliderHandler", null);
251
253
  //上下卷帘三维对象
252
- (0,defineProperty/* default */.A)(this, "_lrSliderActive", false);
254
+ (0,defineProperty/* default */.Z)(this, "_lrSliderActive", false);
253
255
  //左右卷帘活动状态
254
- (0,defineProperty/* default */.A)(this, "_tbSliderActive", false);
256
+ (0,defineProperty/* default */.Z)(this, "_tbSliderActive", false);
255
257
  this._viewer = scenceView._viewer;
256
258
  this._layerManager = scenceView._layerManager;
257
259
  this._layers = options.layers;
@@ -309,11 +311,14 @@ class RollerViewModel {
309
311
  initLayers() {
310
312
  let layers = this._layerManager.getLayerCheckedList();
311
313
  for (let i = 0; i < layers.length; i++) {
312
- this._layers.push({
313
- guid: layers[i].guid,
314
- name: layers[i].name,
315
- direction: 0
316
- });
314
+ let layer = this._layerManager.getLayerByGuid(layers[i].guid);
315
+ if (layer instanceof Cesium.ImageryLayer || layer instanceof Cesium.Cesium3DTileset) {
316
+ this._layers.push({
317
+ guid: layers[i].guid,
318
+ name: layers[i].name,
319
+ direction: 0
320
+ });
321
+ }
317
322
  }
318
323
  }
319
324
 
@@ -393,9 +398,9 @@ class RollerViewModel {
393
398
  }
394
399
  }
395
400
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
396
- var util_ = __webpack_require__(2975);
401
+ var util_ = __webpack_require__(3458);
397
402
  // EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
398
- var vue_i18n_cjs_js_ = __webpack_require__(3579);
403
+ var vue_i18n_cjs_js_ = __webpack_require__(7080);
399
404
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/roller/Roller.vue?vue&type=script&setup=true&lang=js
400
405
 
401
406
  const _hoisted_1 = {
@@ -451,8 +456,10 @@ const __default__ = {
451
456
  setup(__props, {
452
457
  expose: __expose
453
458
  }) {
454
- let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
455
-
459
+ const {
460
+ proxy
461
+ } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
462
+ let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
456
463
  //获取组件传参
457
464
  const props = __props;
458
465
 
@@ -687,7 +694,7 @@ const __exports__ = Rollervue_type_script_setup_true_lang_js;
687
694
 
688
695
  /* harmony default export */ var Roller = (__exports__);
689
696
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
690
- var init_js_ = __webpack_require__(455);
697
+ var init_js_ = __webpack_require__(7997);
691
698
  var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
692
699
  ;// CONCATENATED MODULE: ./src/webgl/roller/index.js
693
700
  /*
@@ -702,6 +709,7 @@ Roller.install = (Vue, opts) => {
702
709
  Vue.component(Roller.name, Roller);
703
710
  };
704
711
 
712
+ }();
705
713
  /******/ return __webpack_exports__;
706
714
  /******/ })()
707
715
  ;