@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.
- package/adddata/index.js +355 -538
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +172 -239
- package/baseterraingallery/index.js +124 -145
- package/boxclip/index.js +300 -481
- package/clientPrint/index.js +335 -898
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +226 -246
- package/compass/index.js +96 -84
- package/excavatefillanalysis/index.js +193 -263
- package/fixedzoomin/index.js +91 -76
- package/fixedzoomout/index.js +91 -76
- package/flight/index.js +311 -415
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +255 -393
- package/geologicalbodyanalysis/index.js +215 -298
- package/gpuspatialquery/index.js +260 -402
- package/hawkeye/index.js +141 -103
- package/headertemp/index.js +25 -34
- package/heatmap3d/index.js +451 -763
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +20826 -17774
- package/isolineanalysis/index.js +566 -1243
- package/light/index.js +353 -488
- package/limitheightanalysis/index.js +251 -312
- package/measure/index.js +350 -504
- package/modelFlat/index.js +214 -234
- package/modelexcavate/index.js +206 -262
- package/modelfilter/index.js +229 -308
- package/modelprofileanalysis/index.js +356 -465
- package/modelselect/index.js +192 -184
- package/package.json +1 -1
- package/particleeffect/index.js +259 -430
- package/planeclip/index.js +249 -339
- package/resetview/index.js +89 -69
- package/roller/index.js +307 -363
- package/scaneffect/index.js +285 -582
- package/sceneadvancedtoimage/index.js +1055 -0
- package/sceneadvancedtoimage/style/index.js +3 -0
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
- package/sceneapp/index.js +11149 -0
- package/sceneset/index.js +393 -885
- package/scenetohdimage/index.js +214 -346
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +22780 -19540
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +275 -312
- package/shadowanalysis/index.js +269 -448
- package/sightlineanalysis/index.js +231 -312
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +213 -351
- package/slopeanalysis/index.js +282 -444
- package/slopeaspectanalysis/index.js +315 -534
- package/statusbar/index.js +194 -164
- package/style.css +1 -1
- package/terrainoperation/index.js +230 -280
- package/terrainprofileanalysis/index.js +174 -182
- package/underground/index.js +98 -82
- package/videofusion/index.js +319 -532
- package/videoproject/index.js +325 -534
- package/viewshedanalysis/index.js +178 -275
- package/weathereffect/index.js +199 -343
- package/wireframesketch/index.js +146 -150
package/underground/index.js
CHANGED
|
@@ -7,31 +7,32 @@
|
|
|
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__154__, __WEBPACK_EXTERNAL_MODULE__64__, __WEBPACK_EXTERNAL_MODULE__2975__, __WEBPACK_EXTERNAL_MODULE__455__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 5884:
|
|
16
16
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17
17
|
|
|
18
18
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19
|
-
/* harmony export */
|
|
19
|
+
/* harmony export */ A: function() { return /* binding */ UndergroundViewModel; }
|
|
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__(
|
|
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
|
class UndergroundViewModel {
|
|
24
|
-
// 三维viewer对象
|
|
25
28
|
// 地下模式三维管理对象
|
|
26
29
|
constructor(viewer) {
|
|
27
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .
|
|
28
|
-
|
|
29
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .
|
|
30
|
-
|
|
30
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(this, "_viewer", null);
|
|
31
|
+
// 三维viewer对象
|
|
32
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(this, "_undergroundManager", null);
|
|
31
33
|
this._viewer = viewer;
|
|
32
34
|
this._undergroundManager = new Cesium.Kq3dUndergroundManager(this._viewer.scene);
|
|
33
35
|
}
|
|
34
|
-
|
|
35
36
|
open() {
|
|
36
37
|
// this._viewer.scene.skyAtmosphere.show = false;
|
|
37
38
|
// 关闭碰撞检测
|
|
@@ -42,13 +43,10 @@ class UndergroundViewModel {
|
|
|
42
43
|
// 开启地下模式
|
|
43
44
|
this._undergroundManager.undergroundEnabled = true; // true;
|
|
44
45
|
// 开启地形透明
|
|
45
|
-
|
|
46
46
|
this._undergroundManager.transparentEnabled = true; // true;
|
|
47
47
|
// 设置地形透明度,透明度在0-1之间
|
|
48
|
-
|
|
49
48
|
this._undergroundManager.transparent = 0.5;
|
|
50
49
|
}
|
|
51
|
-
|
|
52
50
|
close() {
|
|
53
51
|
// this._viewer.scene.skyAtmosphere.show = true;
|
|
54
52
|
// 开启碰撞检测
|
|
@@ -58,77 +56,105 @@ class UndergroundViewModel {
|
|
|
58
56
|
// 关闭地下模式
|
|
59
57
|
this._undergroundManager.undergroundEnabled = false; // false;
|
|
60
58
|
// 关闭地形透明
|
|
61
|
-
|
|
62
59
|
this._undergroundManager.transparentEnabled = false; // false;
|
|
63
60
|
// 设置地形透明度,透明度在0-1之间
|
|
64
|
-
|
|
65
61
|
this._undergroundManager.transparent = 0;
|
|
66
62
|
}
|
|
67
|
-
|
|
68
63
|
destroy() {
|
|
69
64
|
this.close();
|
|
70
65
|
}
|
|
71
|
-
|
|
72
66
|
}
|
|
73
67
|
|
|
74
68
|
/***/ }),
|
|
75
69
|
|
|
76
|
-
/***/
|
|
70
|
+
/***/ 3579:
|
|
77
71
|
/***/ (function(module) {
|
|
78
72
|
|
|
79
73
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
80
74
|
|
|
81
75
|
/***/ }),
|
|
82
76
|
|
|
83
|
-
/***/
|
|
77
|
+
/***/ 64:
|
|
84
78
|
/***/ (function(module) {
|
|
85
79
|
|
|
86
|
-
module.exports =
|
|
80
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
|
|
87
81
|
|
|
88
82
|
/***/ }),
|
|
89
83
|
|
|
90
|
-
/***/
|
|
84
|
+
/***/ 2975:
|
|
91
85
|
/***/ (function(module) {
|
|
92
86
|
|
|
93
|
-
module.exports =
|
|
87
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
|
|
94
88
|
|
|
95
89
|
/***/ }),
|
|
96
90
|
|
|
97
|
-
/***/
|
|
91
|
+
/***/ 455:
|
|
98
92
|
/***/ (function(module) {
|
|
99
93
|
|
|
100
|
-
module.exports =
|
|
94
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
|
|
101
95
|
|
|
102
96
|
/***/ }),
|
|
103
97
|
|
|
104
|
-
/***/
|
|
98
|
+
/***/ 154:
|
|
105
99
|
/***/ (function(module) {
|
|
106
100
|
|
|
107
|
-
module.exports =
|
|
101
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
|
|
108
102
|
|
|
109
103
|
/***/ }),
|
|
110
104
|
|
|
111
|
-
/***/
|
|
105
|
+
/***/ 6913:
|
|
112
106
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
113
107
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
function
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
108
|
+
|
|
109
|
+
// EXPORTS
|
|
110
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
111
|
+
A: function() { return /* binding */ _defineProperty; }
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
115
|
+
function _typeof(o) {
|
|
116
|
+
"@babel/helpers - typeof";
|
|
117
|
+
|
|
118
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
119
|
+
return typeof o;
|
|
120
|
+
} : function (o) {
|
|
121
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
122
|
+
}, _typeof(o);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
126
|
+
|
|
127
|
+
function toPrimitive(t, r) {
|
|
128
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
129
|
+
var e = t[Symbol.toPrimitive];
|
|
130
|
+
if (void 0 !== e) {
|
|
131
|
+
var i = e.call(t, r || "default");
|
|
132
|
+
if ("object" != _typeof(i)) return i;
|
|
133
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
127
134
|
}
|
|
135
|
+
return ("string" === r ? String : Number)(t);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
function toPropertyKey(t) {
|
|
142
|
+
var i = toPrimitive(t, "string");
|
|
143
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
128
147
|
|
|
129
|
-
|
|
148
|
+
function _defineProperty(e, r, t) {
|
|
149
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
150
|
+
value: t,
|
|
151
|
+
enumerable: !0,
|
|
152
|
+
configurable: !0,
|
|
153
|
+
writable: !0
|
|
154
|
+
}) : e[r] = t, e;
|
|
130
155
|
}
|
|
131
156
|
|
|
157
|
+
|
|
132
158
|
/***/ })
|
|
133
159
|
|
|
134
160
|
/******/ });
|
|
@@ -200,27 +226,25 @@ function _defineProperty(obj, key, value) {
|
|
|
200
226
|
/******/
|
|
201
227
|
/************************************************************************/
|
|
202
228
|
var __webpack_exports__ = {};
|
|
203
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
204
|
-
!function() {
|
|
205
229
|
// ESM COMPAT FLAG
|
|
206
230
|
__webpack_require__.r(__webpack_exports__);
|
|
207
231
|
|
|
208
232
|
// EXPORTS
|
|
209
233
|
__webpack_require__.d(__webpack_exports__, {
|
|
210
|
-
|
|
234
|
+
UndergroundViewModel: function() { return /* reexport */ UndergroundViewModel/* default */.A; },
|
|
211
235
|
"default": function() { return /* reexport */ Underground; }
|
|
212
236
|
});
|
|
213
237
|
|
|
214
238
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
215
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
239
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
216
240
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
217
|
-
var gis_utils_ = __webpack_require__(
|
|
241
|
+
var gis_utils_ = __webpack_require__(64);
|
|
218
242
|
// EXTERNAL MODULE: ./src/webgl/underground/UndergroundViewModel.js
|
|
219
|
-
var UndergroundViewModel = __webpack_require__(
|
|
243
|
+
var UndergroundViewModel = __webpack_require__(5884);
|
|
220
244
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
221
|
-
var util_ = __webpack_require__(
|
|
245
|
+
var util_ = __webpack_require__(2975);
|
|
222
246
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
223
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
247
|
+
var vue_i18n_cjs_js_ = __webpack_require__(3579);
|
|
224
248
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/underground/Underground.vue?vue&type=script&setup=true&lang=js
|
|
225
249
|
|
|
226
250
|
const _hoisted_1 = {
|
|
@@ -234,7 +258,7 @@ const _hoisted_1 = {
|
|
|
234
258
|
const __default__ = {
|
|
235
259
|
name: "kq3dUnderground"
|
|
236
260
|
};
|
|
237
|
-
/* harmony default export */ var Undergroundvue_type_script_setup_true_lang_js = (
|
|
261
|
+
/* harmony default export */ var Undergroundvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
238
262
|
props: {
|
|
239
263
|
/**
|
|
240
264
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
@@ -242,22 +266,24 @@ const __default__ = {
|
|
|
242
266
|
position: [String, Object]
|
|
243
267
|
},
|
|
244
268
|
emits: ["undergroundChange"],
|
|
245
|
-
|
|
246
269
|
setup(__props, {
|
|
247
|
-
expose,
|
|
248
|
-
emit
|
|
270
|
+
expose: __expose,
|
|
271
|
+
emit: __emit
|
|
249
272
|
}) {
|
|
250
|
-
const props = __props;
|
|
251
273
|
const {
|
|
252
274
|
proxy
|
|
253
|
-
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
254
|
-
|
|
275
|
+
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
276
|
+
const emit = __emit;
|
|
277
|
+
//获取组件传参
|
|
278
|
+
const props = __props;
|
|
255
279
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
256
280
|
let isUndergroundMode = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
257
|
-
let viewModel = null;
|
|
281
|
+
let viewModel = null;
|
|
258
282
|
|
|
259
|
-
|
|
283
|
+
// 组件容器Ref
|
|
284
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
260
285
|
|
|
286
|
+
// 国际化
|
|
261
287
|
let {
|
|
262
288
|
locale,
|
|
263
289
|
messages
|
|
@@ -272,33 +298,29 @@ const __default__ = {
|
|
|
272
298
|
});
|
|
273
299
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
274
300
|
if (scenceView) {
|
|
275
|
-
viewModel = new UndergroundViewModel/* default */.
|
|
301
|
+
viewModel = new UndergroundViewModel/* default */.A(scenceView._viewer);
|
|
276
302
|
}
|
|
277
303
|
});
|
|
278
|
-
});
|
|
279
|
-
|
|
304
|
+
});
|
|
305
|
+
// 地下模式点击事件
|
|
280
306
|
function undergroundChange() {
|
|
281
307
|
if (isUndergroundMode.value) {
|
|
282
308
|
viewModel.open();
|
|
283
309
|
} else {
|
|
284
310
|
viewModel.close();
|
|
285
311
|
}
|
|
286
|
-
|
|
287
312
|
emit("undergroundChange", isUndergroundMode.value);
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
|
|
313
|
+
}
|
|
314
|
+
// 销毁
|
|
291
315
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
292
316
|
viewModel && viewModel.destroy();
|
|
293
317
|
});
|
|
294
|
-
|
|
318
|
+
__expose({
|
|
295
319
|
undergroundChange
|
|
296
320
|
});
|
|
297
321
|
return (_ctx, _cache) => {
|
|
298
322
|
const _component_kq_switch = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-switch");
|
|
299
|
-
|
|
300
323
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
301
|
-
|
|
302
324
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
303
325
|
class: "kq3d-underground",
|
|
304
326
|
ref_key: "boxRef",
|
|
@@ -316,18 +338,11 @@ const __default__ = {
|
|
|
316
338
|
style: {
|
|
317
339
|
"margin-right": "'5px'"
|
|
318
340
|
}
|
|
319
|
-
}, null, 8
|
|
320
|
-
/*
|
|
321
|
-
|
|
322
|
-
_: 1
|
|
323
|
-
/* STABLE */
|
|
324
|
-
|
|
325
|
-
})], 512
|
|
326
|
-
/* NEED_PATCH */
|
|
327
|
-
);
|
|
341
|
+
}, null, 8 /* PROPS */, ["modelValue", "active-text"])])]),
|
|
342
|
+
_: 1 /* STABLE */
|
|
343
|
+
})], 512 /* NEED_PATCH */);
|
|
328
344
|
};
|
|
329
345
|
}
|
|
330
|
-
|
|
331
346
|
}));
|
|
332
347
|
;// CONCATENATED MODULE: ./src/webgl/underground/Underground.vue?vue&type=script&setup=true&lang=js
|
|
333
348
|
|
|
@@ -339,10 +354,13 @@ const __exports__ = Undergroundvue_type_script_setup_true_lang_js;
|
|
|
339
354
|
|
|
340
355
|
/* harmony default export */ var Underground = (__exports__);
|
|
341
356
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
342
|
-
var init_js_ = __webpack_require__(
|
|
357
|
+
var init_js_ = __webpack_require__(455);
|
|
343
358
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
344
359
|
;// CONCATENATED MODULE: ./src/webgl/underground/index.js
|
|
345
|
-
|
|
360
|
+
/*
|
|
361
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
362
|
+
* All rights reserved.
|
|
363
|
+
*/
|
|
346
364
|
|
|
347
365
|
|
|
348
366
|
|
|
@@ -351,8 +369,6 @@ Underground.install = (Vue, opts) => {
|
|
|
351
369
|
Vue.component(Underground.name, Underground);
|
|
352
370
|
};
|
|
353
371
|
|
|
354
|
-
|
|
355
|
-
}();
|
|
356
372
|
/******/ return __webpack_exports__;
|
|
357
373
|
/******/ })()
|
|
358
374
|
;
|