@kq_npm/client3d_webgl_vue 2.6.9-beta → 2.7.0-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 +256 -152
- package/aspectanalysis/index.js +209 -141
- package/baseterraingallery/index.js +182 -107
- package/boxclip/index.js +306 -238
- package/comparemap/index.js +219 -137
- package/compass/index.js +169 -94
- package/excavatefillanalysis/index.js +225 -157
- package/fixedzoomin/index.js +167 -92
- package/fixedzoomout/index.js +167 -92
- package/flight/index.js +298 -199
- package/floodanalysis/index.js +236 -170
- package/gpuspatialquery/index.js +280 -212
- package/hawkeye/index.js +143 -75
- package/index.js +4 -6
- package/isolineanalysis/index.js +552 -486
- package/measure/index.js +236 -154
- package/modelselect/index.js +184 -116
- package/package.json +1 -1
- package/particleeffect/index.js +258 -185
- package/planeclip/index.js +245 -177
- package/profileanalysis/index.js +252 -184
- package/resetview/index.js +132 -57
- package/roller/index.js +202 -134
- package/scenceview/index.js +21480 -94
- package/screenshot/index.js +203 -135
- package/shadowanalysis/index.js +317 -242
- package/sightlineanalysis/index.js +134 -96
- package/skylineanalysis/index.js +239 -171
- package/slopeanalysis/index.js +238 -172
- package/statusbar/index.js +84 -53
- package/terrainoperation/index.js +204 -136
- package/underground/index.js +164 -96
- package/viewshedanalysis/index.js +243 -175
- package/weathereffect/index.js +222 -149
package/underground/index.js
CHANGED
|
@@ -1,88 +1,22 @@
|
|
|
1
1
|
/******/ (function() { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
|
-
/******/
|
|
4
|
-
/******/ var __webpack_require__ = {};
|
|
5
|
-
/******/
|
|
6
|
-
/************************************************************************/
|
|
7
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
8
|
-
/******/ !function() {
|
|
9
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
10
|
-
/******/ __webpack_require__.n = function(module) {
|
|
11
|
-
/******/ var getter = module && module.__esModule ?
|
|
12
|
-
/******/ function() { return module['default']; } :
|
|
13
|
-
/******/ function() { return module; };
|
|
14
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
|
15
|
-
/******/ return getter;
|
|
16
|
-
/******/ };
|
|
17
|
-
/******/ }();
|
|
18
|
-
/******/
|
|
19
|
-
/******/ /* webpack/runtime/define property getters */
|
|
20
|
-
/******/ !function() {
|
|
21
|
-
/******/ // define getter functions for harmony exports
|
|
22
|
-
/******/ __webpack_require__.d = function(exports, definition) {
|
|
23
|
-
/******/ for(var key in definition) {
|
|
24
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
25
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
26
|
-
/******/ }
|
|
27
|
-
/******/ }
|
|
28
|
-
/******/ };
|
|
29
|
-
/******/ }();
|
|
30
|
-
/******/
|
|
31
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
32
|
-
/******/ !function() {
|
|
33
|
-
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
34
|
-
/******/ }();
|
|
35
|
-
/******/
|
|
36
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
37
|
-
/******/ !function() {
|
|
38
|
-
/******/ // define __esModule on exports
|
|
39
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
40
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
41
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
42
|
-
/******/ }
|
|
43
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
44
|
-
/******/ };
|
|
45
|
-
/******/ }();
|
|
46
|
-
/******/
|
|
47
|
-
/************************************************************************/
|
|
48
|
-
var __webpack_exports__ = {};
|
|
49
|
-
// ESM COMPAT FLAG
|
|
50
|
-
__webpack_require__.r(__webpack_exports__);
|
|
3
|
+
/******/ var __webpack_modules__ = ({
|
|
51
4
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"UndergroundViewModel": function() { return /* reexport */ UndergroundViewModel; },
|
|
55
|
-
"default": function() { return /* reexport */ Underground; }
|
|
56
|
-
});
|
|
5
|
+
/***/ 7656:
|
|
6
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
57
7
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
var
|
|
62
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
63
|
-
function _defineProperty(obj, key, value) {
|
|
64
|
-
if (key in obj) {
|
|
65
|
-
Object.defineProperty(obj, key, {
|
|
66
|
-
value: value,
|
|
67
|
-
enumerable: true,
|
|
68
|
-
configurable: true,
|
|
69
|
-
writable: true
|
|
70
|
-
});
|
|
71
|
-
} else {
|
|
72
|
-
obj[key] = value;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
return obj;
|
|
76
|
-
}
|
|
77
|
-
;// CONCATENATED MODULE: ./src/webgl/underground/UndergroundViewModel.js
|
|
8
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9
|
+
/* harmony export */ "Z": function() { return /* binding */ UndergroundViewModel; }
|
|
10
|
+
/* harmony export */ });
|
|
11
|
+
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
78
12
|
|
|
79
13
|
class UndergroundViewModel {
|
|
80
14
|
// 三维viewer对象
|
|
81
15
|
// 地下模式三维管理对象
|
|
82
16
|
constructor(viewer) {
|
|
83
|
-
|
|
17
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
84
18
|
|
|
85
|
-
|
|
19
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_undergroundManager", null);
|
|
86
20
|
|
|
87
21
|
this._viewer = viewer;
|
|
88
22
|
this._undergroundManager = new Cesium.Kq3dUndergroundManager(this._viewer.scene);
|
|
@@ -130,6 +64,139 @@ class UndergroundViewModel {
|
|
|
130
64
|
}
|
|
131
65
|
|
|
132
66
|
}
|
|
67
|
+
|
|
68
|
+
/***/ }),
|
|
69
|
+
|
|
70
|
+
/***/ 826:
|
|
71
|
+
/***/ (function(module) {
|
|
72
|
+
|
|
73
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
74
|
+
|
|
75
|
+
/***/ }),
|
|
76
|
+
|
|
77
|
+
/***/ 5406:
|
|
78
|
+
/***/ (function(module) {
|
|
79
|
+
|
|
80
|
+
module.exports = require("@kq_npm/client_common_vue/init.js");
|
|
81
|
+
|
|
82
|
+
/***/ }),
|
|
83
|
+
|
|
84
|
+
/***/ 637:
|
|
85
|
+
/***/ (function(module) {
|
|
86
|
+
|
|
87
|
+
module.exports = require("vue");
|
|
88
|
+
|
|
89
|
+
/***/ }),
|
|
90
|
+
|
|
91
|
+
/***/ 8270:
|
|
92
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
93
|
+
|
|
94
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
95
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
96
|
+
/* harmony export */ });
|
|
97
|
+
function _defineProperty(obj, key, value) {
|
|
98
|
+
if (key in obj) {
|
|
99
|
+
Object.defineProperty(obj, key, {
|
|
100
|
+
value: value,
|
|
101
|
+
enumerable: true,
|
|
102
|
+
configurable: true,
|
|
103
|
+
writable: true
|
|
104
|
+
});
|
|
105
|
+
} else {
|
|
106
|
+
obj[key] = value;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
return obj;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/***/ })
|
|
113
|
+
|
|
114
|
+
/******/ });
|
|
115
|
+
/************************************************************************/
|
|
116
|
+
/******/ // The module cache
|
|
117
|
+
/******/ var __webpack_module_cache__ = {};
|
|
118
|
+
/******/
|
|
119
|
+
/******/ // The require function
|
|
120
|
+
/******/ function __webpack_require__(moduleId) {
|
|
121
|
+
/******/ // Check if module is in cache
|
|
122
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
123
|
+
/******/ if (cachedModule !== undefined) {
|
|
124
|
+
/******/ return cachedModule.exports;
|
|
125
|
+
/******/ }
|
|
126
|
+
/******/ // Create a new module (and put it into the cache)
|
|
127
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
128
|
+
/******/ // no module.id needed
|
|
129
|
+
/******/ // no module.loaded needed
|
|
130
|
+
/******/ exports: {}
|
|
131
|
+
/******/ };
|
|
132
|
+
/******/
|
|
133
|
+
/******/ // Execute the module function
|
|
134
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
135
|
+
/******/
|
|
136
|
+
/******/ // Return the exports of the module
|
|
137
|
+
/******/ return module.exports;
|
|
138
|
+
/******/ }
|
|
139
|
+
/******/
|
|
140
|
+
/************************************************************************/
|
|
141
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
142
|
+
/******/ !function() {
|
|
143
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
144
|
+
/******/ __webpack_require__.n = function(module) {
|
|
145
|
+
/******/ var getter = module && module.__esModule ?
|
|
146
|
+
/******/ function() { return module['default']; } :
|
|
147
|
+
/******/ function() { return module; };
|
|
148
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
149
|
+
/******/ return getter;
|
|
150
|
+
/******/ };
|
|
151
|
+
/******/ }();
|
|
152
|
+
/******/
|
|
153
|
+
/******/ /* webpack/runtime/define property getters */
|
|
154
|
+
/******/ !function() {
|
|
155
|
+
/******/ // define getter functions for harmony exports
|
|
156
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
157
|
+
/******/ for(var key in definition) {
|
|
158
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
159
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
160
|
+
/******/ }
|
|
161
|
+
/******/ }
|
|
162
|
+
/******/ };
|
|
163
|
+
/******/ }();
|
|
164
|
+
/******/
|
|
165
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
166
|
+
/******/ !function() {
|
|
167
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
168
|
+
/******/ }();
|
|
169
|
+
/******/
|
|
170
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
171
|
+
/******/ !function() {
|
|
172
|
+
/******/ // define __esModule on exports
|
|
173
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
174
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
175
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
176
|
+
/******/ }
|
|
177
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
178
|
+
/******/ };
|
|
179
|
+
/******/ }();
|
|
180
|
+
/******/
|
|
181
|
+
/************************************************************************/
|
|
182
|
+
var __webpack_exports__ = {};
|
|
183
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
184
|
+
!function() {
|
|
185
|
+
// ESM COMPAT FLAG
|
|
186
|
+
__webpack_require__.r(__webpack_exports__);
|
|
187
|
+
|
|
188
|
+
// EXPORTS
|
|
189
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
190
|
+
"UndergroundViewModel": function() { return /* reexport */ UndergroundViewModel/* default */.Z; },
|
|
191
|
+
"default": function() { return /* reexport */ Underground; }
|
|
192
|
+
});
|
|
193
|
+
|
|
194
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
195
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
196
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
197
|
+
var gis_utils_ = __webpack_require__(826);
|
|
198
|
+
// EXTERNAL MODULE: ./src/webgl/underground/UndergroundViewModel.js
|
|
199
|
+
var UndergroundViewModel = __webpack_require__(7656);
|
|
133
200
|
;// 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
|
|
134
201
|
|
|
135
202
|
const _hoisted_1 = {
|
|
@@ -160,22 +227,22 @@ const __default__ = {
|
|
|
160
227
|
const props = __props;
|
|
161
228
|
const {
|
|
162
229
|
proxy
|
|
163
|
-
} = (0,
|
|
230
|
+
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)(); //获取组件传参
|
|
164
231
|
|
|
165
|
-
let value = (0,
|
|
166
|
-
const value1 = (0,
|
|
167
|
-
let currentLang = (0,
|
|
168
|
-
let language = (0,
|
|
169
|
-
let isUndergroundMode = (0,
|
|
232
|
+
let value = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(true);
|
|
233
|
+
const value1 = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(true);
|
|
234
|
+
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
235
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
236
|
+
let isUndergroundMode = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
170
237
|
let viewer = null;
|
|
171
238
|
let viewModel = null;
|
|
172
|
-
(0,
|
|
239
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
173
240
|
// currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
174
|
-
|
|
241
|
+
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
175
242
|
if (scenceView) {
|
|
176
243
|
viewer = scenceView._viewer;
|
|
177
244
|
language.value = scenceView._language;
|
|
178
|
-
viewModel = new UndergroundViewModel(viewer);
|
|
245
|
+
viewModel = new UndergroundViewModel/* default */.Z(viewer);
|
|
179
246
|
}
|
|
180
247
|
});
|
|
181
248
|
});
|
|
@@ -189,27 +256,27 @@ const __default__ = {
|
|
|
189
256
|
} // 销毁
|
|
190
257
|
|
|
191
258
|
|
|
192
|
-
(0,
|
|
259
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
193
260
|
viewModel && viewModel.destroy();
|
|
194
261
|
});
|
|
195
262
|
expose({
|
|
196
263
|
undergroundChange
|
|
197
264
|
});
|
|
198
265
|
return (_ctx, _cache) => {
|
|
199
|
-
const _component_kq_switch = (0,
|
|
266
|
+
const _component_kq_switch = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-switch");
|
|
200
267
|
|
|
201
|
-
const _component_kq_form = (0,
|
|
268
|
+
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
202
269
|
|
|
203
|
-
return (0,
|
|
270
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, {
|
|
204
271
|
"label-width": "120px",
|
|
205
272
|
"label-position": "left"
|
|
206
273
|
}, {
|
|
207
|
-
default: (0,
|
|
274
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
208
275
|
class: "kq3d-underground-switch",
|
|
209
|
-
style: (0,
|
|
210
|
-
}, [(0,
|
|
211
|
-
modelValue: (0,
|
|
212
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,
|
|
276
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)('top: ' + props.top + 'px; right: ' + props.right + 'px;')
|
|
277
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_switch, {
|
|
278
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isUndergroundMode),
|
|
279
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(isUndergroundMode) ? isUndergroundMode.value = $event : isUndergroundMode = $event),
|
|
213
280
|
onChange: undergroundChange,
|
|
214
281
|
"active-color": "#409EFF",
|
|
215
282
|
"inactive-color": "#C0CCDA",
|
|
@@ -240,9 +307,9 @@ const __default__ = {
|
|
|
240
307
|
const __exports__ = Undergroundvue_type_script_setup_true_lang_js;
|
|
241
308
|
|
|
242
309
|
/* harmony default export */ var Underground = (__exports__);
|
|
243
|
-
|
|
244
|
-
var
|
|
245
|
-
var init_js_default = /*#__PURE__*/__webpack_require__.n(
|
|
310
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
311
|
+
var init_js_ = __webpack_require__(5406);
|
|
312
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
246
313
|
;// CONCATENATED MODULE: ./src/webgl/underground/index.js
|
|
247
314
|
|
|
248
315
|
|
|
@@ -254,6 +321,7 @@ Underground.install = (Vue, opts) => {
|
|
|
254
321
|
};
|
|
255
322
|
|
|
256
323
|
|
|
324
|
+
}();
|
|
257
325
|
module.exports = __webpack_exports__;
|
|
258
326
|
/******/ })()
|
|
259
327
|
;
|