@kq_npm/client3d_webgl_vue 4.5.10 → 4.5.12-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.
- package/adddata/index.js +61 -56
- package/aspectanalysis/index.js +35 -32
- package/baseterraingallery/index.js +32 -29
- package/boxclip/index.js +44 -41
- package/clientPrint/index.js +2305 -8834
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +29 -26
- package/compass/index.js +26 -23
- package/excavatefillanalysis/index.js +42 -39
- package/excavatefillanalysis/style/excavatefillanalysis.css +1 -1
- package/fixedzoomin/index.js +26 -23
- package/fixedzoomout/index.js +26 -23
- package/flight/index.js +45 -42
- package/floodanalysis/index.js +48 -45
- package/geologicalbodyanalysis/index.js +42 -39
- package/gpuspatialquery/index.js +43 -40
- package/hawkeye/index.js +22 -19
- package/headertemp/index.js +13 -10
- package/heatmap3d/index.js +83 -80
- package/index.js +1386 -7992
- package/isolineanalysis/index.js +53 -50
- package/light/index.js +38 -35
- package/limitheightanalysis/index.js +93 -42
- package/measure/index.js +43 -40
- package/modelFlat/index.js +48 -45
- package/modelexcavate/index.js +53 -50
- package/modelfilter/index.js +41 -38
- package/modelprofileanalysis/index.js +117 -68
- package/modelselect/index.js +45 -42
- package/package.json +1 -1
- package/particleeffect/index.js +40 -37
- package/planeclip/index.js +44 -41
- package/resetview/index.js +26 -23
- package/roller/index.js +39 -36
- package/scaneffect/index.js +42 -39
- package/sceneadvancedtoimage/index.js +45 -42
- package/sceneapp/index.js +98 -7611
- package/sceneset/index.js +51 -48
- package/scenetohdimage/index.js +32 -29
- package/sceneview/index.js +2306 -8835
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +33 -30
- package/shadowanalysis/index.js +39 -36
- package/shadowanalysis/style/shadowanalysis.css +1 -1
- package/sightlineanalysis/index.js +59 -56
- package/skylineanalysis/index.js +49 -45
- package/slopeanalysis/index.js +45 -42
- package/slopeaspectanalysis/index.js +46 -43
- package/statusbar/index.js +36 -33
- package/style.css +1 -1
- package/terrainoperation/index.js +48 -45
- package/terrainprofileanalysis/index.js +46 -43
- package/underground/index.js +28 -25
- package/videofusion/index.js +45 -42
- package/videoproject/index.js +45 -42
- package/viewshedanalysis/index.js +35 -32
- package/weathereffect/index.js +34 -31
- package/wireframesketch/index.js +34 -31
|
@@ -1,87 +1,115 @@
|
|
|
1
1
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
-
module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/
|
|
3
|
+
module.exports = 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"));
|
|
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/
|
|
5
|
+
define(["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js", "@kq_npm/client_common_vue/_utils/util"], factory);
|
|
6
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/
|
|
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(
|
|
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
|
-
/***/
|
|
15
|
+
/***/ 1349:
|
|
16
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17
|
+
|
|
18
|
+
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9389);
|
|
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__(7997);
|
|
21
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
|
|
22
|
+
/*
|
|
23
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
24
|
+
* All rights reserved.
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
29
|
+
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
30
|
+
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
31
|
+
};
|
|
32
|
+
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
33
|
+
|
|
34
|
+
/***/ }),
|
|
35
|
+
|
|
36
|
+
/***/ 348:
|
|
16
37
|
/***/ (function(module) {
|
|
17
38
|
|
|
18
39
|
module.exports = require("@kq_npm/client_icons_vue");
|
|
19
40
|
|
|
20
41
|
/***/ }),
|
|
21
42
|
|
|
22
|
-
/***/
|
|
43
|
+
/***/ 2118:
|
|
23
44
|
/***/ (function(module) {
|
|
24
45
|
|
|
25
46
|
module.exports = require("core-js/modules/es.array.push.js");
|
|
26
47
|
|
|
27
48
|
/***/ }),
|
|
28
49
|
|
|
29
|
-
/***/
|
|
50
|
+
/***/ 8470:
|
|
30
51
|
/***/ (function(module) {
|
|
31
52
|
|
|
32
53
|
module.exports = require("core-js/modules/esnext.iterator.constructor.js");
|
|
33
54
|
|
|
34
55
|
/***/ }),
|
|
35
56
|
|
|
36
|
-
/***/
|
|
57
|
+
/***/ 1058:
|
|
37
58
|
/***/ (function(module) {
|
|
38
59
|
|
|
39
60
|
module.exports = require("core-js/modules/esnext.iterator.for-each.js");
|
|
40
61
|
|
|
41
62
|
/***/ }),
|
|
42
63
|
|
|
43
|
-
/***/
|
|
64
|
+
/***/ 9389:
|
|
65
|
+
/***/ (function(module) {
|
|
66
|
+
|
|
67
|
+
module.exports = require("element-plus/dist/index.full.js");
|
|
68
|
+
|
|
69
|
+
/***/ }),
|
|
70
|
+
|
|
71
|
+
/***/ 7080:
|
|
44
72
|
/***/ (function(module) {
|
|
45
73
|
|
|
46
74
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
47
75
|
|
|
48
76
|
/***/ }),
|
|
49
77
|
|
|
50
|
-
/***/
|
|
78
|
+
/***/ 7135:
|
|
51
79
|
/***/ (function(module) {
|
|
52
80
|
|
|
53
|
-
module.exports =
|
|
81
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
|
|
54
82
|
|
|
55
83
|
/***/ }),
|
|
56
84
|
|
|
57
|
-
/***/
|
|
85
|
+
/***/ 3458:
|
|
58
86
|
/***/ (function(module) {
|
|
59
87
|
|
|
60
|
-
module.exports =
|
|
88
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__3458__;
|
|
61
89
|
|
|
62
90
|
/***/ }),
|
|
63
91
|
|
|
64
|
-
/***/
|
|
92
|
+
/***/ 7997:
|
|
65
93
|
/***/ (function(module) {
|
|
66
94
|
|
|
67
|
-
module.exports =
|
|
95
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
|
|
68
96
|
|
|
69
97
|
/***/ }),
|
|
70
98
|
|
|
71
|
-
/***/
|
|
99
|
+
/***/ 1895:
|
|
72
100
|
/***/ (function(module) {
|
|
73
101
|
|
|
74
|
-
module.exports =
|
|
102
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
75
103
|
|
|
76
104
|
/***/ }),
|
|
77
105
|
|
|
78
|
-
/***/
|
|
106
|
+
/***/ 5301:
|
|
79
107
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
80
108
|
|
|
81
109
|
|
|
82
110
|
// EXPORTS
|
|
83
111
|
__webpack_require__.d(__webpack_exports__, {
|
|
84
|
-
|
|
112
|
+
"Z": function() { return /* binding */ _defineProperty; }
|
|
85
113
|
});
|
|
86
114
|
|
|
87
115
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
@@ -199,51 +227,58 @@ function _defineProperty(e, r, t) {
|
|
|
199
227
|
/******/
|
|
200
228
|
/************************************************************************/
|
|
201
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() {
|
|
202
232
|
// ESM COMPAT FLAG
|
|
203
233
|
__webpack_require__.r(__webpack_exports__);
|
|
204
234
|
|
|
205
235
|
// EXPORTS
|
|
206
236
|
__webpack_require__.d(__webpack_exports__, {
|
|
207
|
-
LimitHeightAnalysisViewModel: function() { return /* reexport */ LimitHeightAnalysisViewModel; },
|
|
237
|
+
"LimitHeightAnalysisViewModel": function() { return /* reexport */ LimitHeightAnalysisViewModel; },
|
|
208
238
|
"default": function() { return /* reexport */ LimitHeightAnalysis; }
|
|
209
239
|
});
|
|
210
240
|
|
|
211
241
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
212
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
242
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
|
|
213
243
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
214
|
-
var gis_utils_ = __webpack_require__(
|
|
244
|
+
var gis_utils_ = __webpack_require__(7135);
|
|
215
245
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
216
|
-
var client_icons_vue_ = __webpack_require__(
|
|
246
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
217
247
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
218
|
-
var defineProperty = __webpack_require__(
|
|
248
|
+
var defineProperty = __webpack_require__(5301);
|
|
219
249
|
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
220
|
-
var es_array_push_js_ = __webpack_require__(
|
|
250
|
+
var es_array_push_js_ = __webpack_require__(2118);
|
|
221
251
|
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
222
|
-
var esnext_iterator_constructor_js_ = __webpack_require__(
|
|
252
|
+
var esnext_iterator_constructor_js_ = __webpack_require__(8470);
|
|
223
253
|
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
|
|
224
|
-
var esnext_iterator_for_each_js_ = __webpack_require__(
|
|
254
|
+
var esnext_iterator_for_each_js_ = __webpack_require__(1058);
|
|
255
|
+
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
256
|
+
var message = __webpack_require__(1349);
|
|
225
257
|
;// CONCATENATED MODULE: ./src/webgl/limitheightanalysis/LimitHeightAnalysisViewModel.js
|
|
226
258
|
|
|
227
259
|
|
|
228
260
|
|
|
229
261
|
|
|
230
|
-
/*
|
|
231
|
-
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
232
|
-
* All rights reserved.
|
|
262
|
+
/*
|
|
263
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
264
|
+
* All rights reserved.
|
|
233
265
|
*/
|
|
234
266
|
//限高分析逻辑类
|
|
267
|
+
|
|
235
268
|
class LimitHeightAnalysisViewModel {
|
|
236
269
|
constructor(scenceView, options) {
|
|
237
|
-
(0,defineProperty/* default */.
|
|
270
|
+
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
238
271
|
//三维viewer对象
|
|
239
|
-
(0,defineProperty/* default */.
|
|
272
|
+
(0,defineProperty/* default */.Z)(this, "_options", {});
|
|
240
273
|
//限高分析存储参数对象
|
|
241
|
-
(0,defineProperty/* default */.
|
|
242
|
-
(0,defineProperty/* default */.
|
|
243
|
-
(0,defineProperty/* default */.
|
|
274
|
+
(0,defineProperty/* default */.Z)(this, "_drawManager", null);
|
|
275
|
+
(0,defineProperty/* default */.Z)(this, "_drawFinishedEventListener", null);
|
|
276
|
+
(0,defineProperty/* default */.Z)(this, "_limitHeightAnalysis", null);
|
|
277
|
+
(0,defineProperty/* default */.Z)(this, "_language", {});
|
|
244
278
|
this._viewer = scenceView._viewer;
|
|
245
279
|
this._options = options;
|
|
246
280
|
this._drawManager = scenceView._drawManager;
|
|
281
|
+
this._language = scenceView._language;
|
|
247
282
|
this._viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
248
283
|
this._viewer.scene.postProcessStages._fxaa.enabled = true;
|
|
249
284
|
var that = this;
|
|
@@ -280,10 +315,25 @@ class LimitHeightAnalysisViewModel {
|
|
|
280
315
|
}
|
|
281
316
|
// 开始分析
|
|
282
317
|
start() {
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
318
|
+
// 判断是否添加了模型
|
|
319
|
+
var flag = false;
|
|
320
|
+
var models = this._viewer.scene.primitives._primitives;
|
|
321
|
+
for (let i = 0; i < models.length; i++) {
|
|
322
|
+
if (models[i] instanceof Cesium.Cesium3DTileset && models[i]._url) {
|
|
323
|
+
flag = true;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
if (flag) {
|
|
327
|
+
this.clear();
|
|
328
|
+
if (this._drawManager) {
|
|
329
|
+
this._drawManager.startDraw("polygon", {
|
|
330
|
+
clampToGround: true
|
|
331
|
+
});
|
|
332
|
+
}
|
|
333
|
+
} else {
|
|
334
|
+
(0,message/* default */.Z)({
|
|
335
|
+
message: this._language["addModelTips"],
|
|
336
|
+
type: "warning"
|
|
287
337
|
});
|
|
288
338
|
}
|
|
289
339
|
}
|
|
@@ -324,9 +374,9 @@ class LimitHeightAnalysisViewModel {
|
|
|
324
374
|
}
|
|
325
375
|
}
|
|
326
376
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
327
|
-
var util_ = __webpack_require__(
|
|
377
|
+
var util_ = __webpack_require__(3458);
|
|
328
378
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
329
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
379
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
330
380
|
;// 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
|
|
331
381
|
|
|
332
382
|
const _hoisted_1 = {
|
|
@@ -682,7 +732,7 @@ const __exports__ = LimitHeightAnalysisvue_type_script_setup_true_lang_js;
|
|
|
682
732
|
|
|
683
733
|
/* harmony default export */ var LimitHeightAnalysis = (__exports__);
|
|
684
734
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
685
|
-
var init_js_ = __webpack_require__(
|
|
735
|
+
var init_js_ = __webpack_require__(7997);
|
|
686
736
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
687
737
|
;// CONCATENATED MODULE: ./src/webgl/limitheightanalysis/index.js
|
|
688
738
|
/*
|
|
@@ -697,6 +747,7 @@ LimitHeightAnalysis.install = (Vue, opts) => {
|
|
|
697
747
|
Vue.component(LimitHeightAnalysis.name, LimitHeightAnalysis);
|
|
698
748
|
};
|
|
699
749
|
|
|
750
|
+
}();
|
|
700
751
|
/******/ return __webpack_exports__;
|
|
701
752
|
/******/ })()
|
|
702
753
|
;
|
package/measure/index.js
CHANGED
|
@@ -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/_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(
|
|
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
|
-
/***/
|
|
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__(
|
|
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__(
|
|
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__
|
|
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
|
-
/***/
|
|
36
|
+
/***/ 8422:
|
|
37
37
|
/***/ (function(module) {
|
|
38
38
|
|
|
39
39
|
module.exports = require("@element-plus/icons-vue");
|
|
40
40
|
|
|
41
41
|
/***/ }),
|
|
42
42
|
|
|
43
|
-
/***/
|
|
43
|
+
/***/ 348:
|
|
44
44
|
/***/ (function(module) {
|
|
45
45
|
|
|
46
46
|
module.exports = require("@kq_npm/client_icons_vue");
|
|
47
47
|
|
|
48
48
|
/***/ }),
|
|
49
49
|
|
|
50
|
-
/***/
|
|
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
|
-
/***/
|
|
57
|
+
/***/ 1058:
|
|
58
58
|
/***/ (function(module) {
|
|
59
59
|
|
|
60
60
|
module.exports = require("core-js/modules/esnext.iterator.for-each.js");
|
|
61
61
|
|
|
62
62
|
/***/ }),
|
|
63
63
|
|
|
64
|
-
/***/
|
|
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
|
-
/***/
|
|
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
|
-
/***/
|
|
78
|
+
/***/ 7135:
|
|
79
79
|
/***/ (function(module) {
|
|
80
80
|
|
|
81
|
-
module.exports =
|
|
81
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
|
|
82
82
|
|
|
83
83
|
/***/ }),
|
|
84
84
|
|
|
85
|
-
/***/
|
|
85
|
+
/***/ 3458:
|
|
86
86
|
/***/ (function(module) {
|
|
87
87
|
|
|
88
|
-
module.exports =
|
|
88
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__3458__;
|
|
89
89
|
|
|
90
90
|
/***/ }),
|
|
91
91
|
|
|
92
|
-
/***/
|
|
92
|
+
/***/ 7997:
|
|
93
93
|
/***/ (function(module) {
|
|
94
94
|
|
|
95
|
-
module.exports =
|
|
95
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
|
|
96
96
|
|
|
97
97
|
/***/ }),
|
|
98
98
|
|
|
99
|
-
/***/
|
|
99
|
+
/***/ 1895:
|
|
100
100
|
/***/ (function(module) {
|
|
101
101
|
|
|
102
|
-
module.exports =
|
|
102
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
103
103
|
|
|
104
104
|
/***/ }),
|
|
105
105
|
|
|
106
|
-
/***/
|
|
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
|
-
|
|
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
|
-
MeasureViewModel: function() { return /* reexport */ MeasureViewModel; },
|
|
237
|
+
"MeasureViewModel": function() { return /* reexport */ MeasureViewModel; },
|
|
236
238
|
"default": function() { return /* reexport */ Measure; }
|
|
237
239
|
});
|
|
238
240
|
|
|
239
241
|
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
240
|
-
var esnext_iterator_constructor_js_ = __webpack_require__(
|
|
242
|
+
var esnext_iterator_constructor_js_ = __webpack_require__(8470);
|
|
241
243
|
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
|
|
242
|
-
var esnext_iterator_for_each_js_ = __webpack_require__(
|
|
244
|
+
var esnext_iterator_for_each_js_ = __webpack_require__(1058);
|
|
243
245
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
244
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
246
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
|
|
245
247
|
// EXTERNAL MODULE: external "@element-plus/icons-vue"
|
|
246
|
-
var icons_vue_ = __webpack_require__(
|
|
248
|
+
var icons_vue_ = __webpack_require__(8422);
|
|
247
249
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
248
|
-
var client_icons_vue_ = __webpack_require__(
|
|
250
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
249
251
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
250
|
-
var gis_utils_ = __webpack_require__(
|
|
252
|
+
var gis_utils_ = __webpack_require__(7135);
|
|
251
253
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
252
|
-
var defineProperty = __webpack_require__(
|
|
254
|
+
var defineProperty = __webpack_require__(5301);
|
|
253
255
|
;// CONCATENATED MODULE: ./src/webgl/measure/MeasureViewModel.js
|
|
254
256
|
|
|
255
257
|
|
|
@@ -261,14 +263,14 @@ var defineProperty = __webpack_require__(6913);
|
|
|
261
263
|
//测量操作类
|
|
262
264
|
class MeasureViewModel {
|
|
263
265
|
constructor(viewer) {
|
|
264
|
-
(0,defineProperty/* default */.
|
|
265
|
-
(0,defineProperty/* default */.
|
|
266
|
+
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
267
|
+
(0,defineProperty/* default */.Z)(this, "_measureHandler", null);
|
|
266
268
|
//测量三维对象
|
|
267
|
-
(0,defineProperty/* default */.
|
|
269
|
+
(0,defineProperty/* default */.Z)(this, "measureEvent", null);
|
|
268
270
|
//测量事件
|
|
269
|
-
(0,defineProperty/* default */.
|
|
271
|
+
(0,defineProperty/* default */.Z)(this, "activeEvent", null);
|
|
270
272
|
//活动事件
|
|
271
|
-
(0,defineProperty/* default */.
|
|
273
|
+
(0,defineProperty/* default */.Z)(this, "nauticalMileUnit", "nmi");
|
|
272
274
|
this._measureHandler = new Cesium.Kq3dMeasureHandler(viewer);
|
|
273
275
|
this._viewer = viewer;
|
|
274
276
|
this.measureEvent = this._measureHandler.measureEvent;
|
|
@@ -417,11 +419,11 @@ class MeasureViewModel {
|
|
|
417
419
|
}
|
|
418
420
|
}
|
|
419
421
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
420
|
-
var util_ = __webpack_require__(
|
|
422
|
+
var util_ = __webpack_require__(3458);
|
|
421
423
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
422
|
-
var message = __webpack_require__(
|
|
424
|
+
var message = __webpack_require__(1349);
|
|
423
425
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
424
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
426
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
425
427
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/measure/Measure.vue?vue&type=script&setup=true&lang=js
|
|
426
428
|
|
|
427
429
|
|
|
@@ -919,7 +921,7 @@ const __default__ = {
|
|
|
919
921
|
function startMeasure(type) {
|
|
920
922
|
if (mode.value === "ground") {
|
|
921
923
|
if (!viewModel.checkTerrainAdded()) {
|
|
922
|
-
(0,message/* default */.
|
|
924
|
+
(0,message/* default */.Z)({
|
|
923
925
|
message: language.value["measuretAddTerrainTips"],
|
|
924
926
|
type: "warning"
|
|
925
927
|
});
|
|
@@ -928,7 +930,7 @@ const __default__ = {
|
|
|
928
930
|
}
|
|
929
931
|
if (mode.value === "model") {
|
|
930
932
|
if (!viewModel.checkModelAdded()) {
|
|
931
|
-
(0,message/* default */.
|
|
933
|
+
(0,message/* default */.Z)({
|
|
932
934
|
message: language.value["measuretAddModelTips"],
|
|
933
935
|
type: "warning"
|
|
934
936
|
});
|
|
@@ -1172,7 +1174,7 @@ const __exports__ = Measurevue_type_script_setup_true_lang_js;
|
|
|
1172
1174
|
|
|
1173
1175
|
/* harmony default export */ var Measure = (__exports__);
|
|
1174
1176
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
1175
|
-
var init_js_ = __webpack_require__(
|
|
1177
|
+
var init_js_ = __webpack_require__(7997);
|
|
1176
1178
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
1177
1179
|
;// CONCATENATED MODULE: ./src/webgl/measure/index.js
|
|
1178
1180
|
/*
|
|
@@ -1187,6 +1189,7 @@ Measure.install = (Vue, opts) => {
|
|
|
1187
1189
|
Vue.component(Measure.name, Measure);
|
|
1188
1190
|
};
|
|
1189
1191
|
|
|
1192
|
+
}();
|
|
1190
1193
|
/******/ return __webpack_exports__;
|
|
1191
1194
|
/******/ })()
|
|
1192
1195
|
;
|