@kq_npm/client3d_webgl_vue 4.5.3-beta → 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 +337 -524
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +159 -227
- package/baseterraingallery/index.js +122 -145
- package/boxclip/index.js +288 -470
- package/clientPrint/index.js +333 -897
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +224 -246
- package/compass/index.js +96 -84
- package/excavatefillanalysis/index.js +181 -252
- package/fixedzoomin/index.js +91 -76
- package/fixedzoomout/index.js +91 -76
- package/flight/index.js +297 -401
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +243 -382
- package/geologicalbodyanalysis/index.js +203 -287
- package/gpuspatialquery/index.js +240 -390
- package/hawkeye/index.js +139 -103
- package/headertemp/index.js +23 -33
- package/heatmap3d/index.js +426 -733
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +7913 -16839
- package/isolineanalysis/index.js +554 -1231
- package/light/index.js +351 -488
- package/limitheightanalysis/index.js +249 -312
- package/measure/index.js +339 -493
- package/modelFlat/index.js +202 -223
- package/modelexcavate/index.js +194 -251
- package/modelfilter/index.js +216 -299
- package/modelprofileanalysis/index.js +354 -465
- package/modelselect/index.js +180 -173
- package/package.json +1 -1
- package/particleeffect/index.js +257 -430
- package/planeclip/index.js +237 -328
- package/resetview/index.js +89 -69
- package/roller/index.js +305 -363
- package/scaneffect/index.js +273 -571
- package/sceneadvancedtoimage/index.js +1055 -0
- package/sceneadvancedtoimage/style/index.js +3 -0
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
- package/sceneapp/index.js +818 -2179
- package/sceneset/index.js +391 -885
- package/scenetohdimage/index.js +212 -346
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +9018 -17813
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +273 -312
- package/shadowanalysis/index.js +256 -436
- package/sightlineanalysis/index.js +229 -312
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +200 -339
- package/slopeanalysis/index.js +270 -433
- package/slopeaspectanalysis/index.js +303 -523
- package/statusbar/index.js +113 -84
- package/style.css +1 -1
- package/terrainoperation/index.js +218 -269
- package/terrainprofileanalysis/index.js +162 -171
- package/underground/index.js +96 -82
- package/videofusion/index.js +305 -519
- package/videoproject/index.js +311 -521
- package/viewshedanalysis/index.js +176 -275
- package/weathereffect/index.js +197 -343
- package/wireframesketch/index.js +133 -141
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
|
+
}
|
|
128
137
|
|
|
129
|
-
|
|
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
|
|
147
|
+
|
|
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
270
|
expose: __expose,
|
|
248
|
-
emit
|
|
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,35 +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
|
-
|
|
295
318
|
__expose({
|
|
296
319
|
undergroundChange
|
|
297
320
|
});
|
|
298
|
-
|
|
299
321
|
return (_ctx, _cache) => {
|
|
300
322
|
const _component_kq_switch = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-switch");
|
|
301
|
-
|
|
302
323
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
303
|
-
|
|
304
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", {
|
|
305
325
|
class: "kq3d-underground",
|
|
306
326
|
ref_key: "boxRef",
|
|
@@ -318,18 +338,11 @@ const __default__ = {
|
|
|
318
338
|
style: {
|
|
319
339
|
"margin-right": "'5px'"
|
|
320
340
|
}
|
|
321
|
-
}, null, 8
|
|
322
|
-
/*
|
|
323
|
-
|
|
324
|
-
_: 1
|
|
325
|
-
/* STABLE */
|
|
326
|
-
|
|
327
|
-
})], 512
|
|
328
|
-
/* NEED_PATCH */
|
|
329
|
-
);
|
|
341
|
+
}, null, 8 /* PROPS */, ["modelValue", "active-text"])])]),
|
|
342
|
+
_: 1 /* STABLE */
|
|
343
|
+
})], 512 /* NEED_PATCH */);
|
|
330
344
|
};
|
|
331
345
|
}
|
|
332
|
-
|
|
333
346
|
}));
|
|
334
347
|
;// CONCATENATED MODULE: ./src/webgl/underground/Underground.vue?vue&type=script&setup=true&lang=js
|
|
335
348
|
|
|
@@ -341,10 +354,13 @@ const __exports__ = Undergroundvue_type_script_setup_true_lang_js;
|
|
|
341
354
|
|
|
342
355
|
/* harmony default export */ var Underground = (__exports__);
|
|
343
356
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
344
|
-
var init_js_ = __webpack_require__(
|
|
357
|
+
var init_js_ = __webpack_require__(455);
|
|
345
358
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
346
359
|
;// CONCATENATED MODULE: ./src/webgl/underground/index.js
|
|
347
|
-
|
|
360
|
+
/*
|
|
361
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
362
|
+
* All rights reserved.
|
|
363
|
+
*/
|
|
348
364
|
|
|
349
365
|
|
|
350
366
|
|
|
@@ -353,8 +369,6 @@ Underground.install = (Vue, opts) => {
|
|
|
353
369
|
Vue.component(Underground.name, Underground);
|
|
354
370
|
};
|
|
355
371
|
|
|
356
|
-
|
|
357
|
-
}();
|
|
358
372
|
/******/ return __webpack_exports__;
|
|
359
373
|
/******/ })()
|
|
360
374
|
;
|