@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/compass/index.js
CHANGED
|
@@ -1,86 +1,20 @@
|
|
|
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
|
-
"CompassViewModel": function() { return /* reexport */ CompassViewModel; },
|
|
55
|
-
"default": function() { return /* reexport */ Compass; }
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
;// CONCATENATED MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
59
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject = require("vue");
|
|
60
|
-
;// CONCATENATED MODULE: external "@kq_npm/client_icons_vue"
|
|
61
|
-
var client_icons_vue_namespaceObject = require("@kq_npm/client_icons_vue");
|
|
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
|
-
}
|
|
5
|
+
/***/ 9520:
|
|
6
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
74
7
|
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
|
|
8
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9
|
+
/* harmony export */ "Z": function() { return /* binding */ CompassViewModel; }
|
|
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
|
// 重置视图
|
|
80
14
|
class CompassViewModel {
|
|
81
15
|
//三维viewer对象
|
|
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
|
this._viewer = viewer;
|
|
86
20
|
} //重置方向
|
|
@@ -134,8 +68,148 @@ class CompassViewModel {
|
|
|
134
68
|
}
|
|
135
69
|
|
|
136
70
|
}
|
|
137
|
-
|
|
138
|
-
|
|
71
|
+
|
|
72
|
+
/***/ }),
|
|
73
|
+
|
|
74
|
+
/***/ 348:
|
|
75
|
+
/***/ (function(module) {
|
|
76
|
+
|
|
77
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
78
|
+
|
|
79
|
+
/***/ }),
|
|
80
|
+
|
|
81
|
+
/***/ 826:
|
|
82
|
+
/***/ (function(module) {
|
|
83
|
+
|
|
84
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
85
|
+
|
|
86
|
+
/***/ }),
|
|
87
|
+
|
|
88
|
+
/***/ 5406:
|
|
89
|
+
/***/ (function(module) {
|
|
90
|
+
|
|
91
|
+
module.exports = require("@kq_npm/client_common_vue/init.js");
|
|
92
|
+
|
|
93
|
+
/***/ }),
|
|
94
|
+
|
|
95
|
+
/***/ 637:
|
|
96
|
+
/***/ (function(module) {
|
|
97
|
+
|
|
98
|
+
module.exports = require("vue");
|
|
99
|
+
|
|
100
|
+
/***/ }),
|
|
101
|
+
|
|
102
|
+
/***/ 8270:
|
|
103
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
104
|
+
|
|
105
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
106
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
107
|
+
/* harmony export */ });
|
|
108
|
+
function _defineProperty(obj, key, value) {
|
|
109
|
+
if (key in obj) {
|
|
110
|
+
Object.defineProperty(obj, key, {
|
|
111
|
+
value: value,
|
|
112
|
+
enumerable: true,
|
|
113
|
+
configurable: true,
|
|
114
|
+
writable: true
|
|
115
|
+
});
|
|
116
|
+
} else {
|
|
117
|
+
obj[key] = value;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
return obj;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/***/ })
|
|
124
|
+
|
|
125
|
+
/******/ });
|
|
126
|
+
/************************************************************************/
|
|
127
|
+
/******/ // The module cache
|
|
128
|
+
/******/ var __webpack_module_cache__ = {};
|
|
129
|
+
/******/
|
|
130
|
+
/******/ // The require function
|
|
131
|
+
/******/ function __webpack_require__(moduleId) {
|
|
132
|
+
/******/ // Check if module is in cache
|
|
133
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
134
|
+
/******/ if (cachedModule !== undefined) {
|
|
135
|
+
/******/ return cachedModule.exports;
|
|
136
|
+
/******/ }
|
|
137
|
+
/******/ // Create a new module (and put it into the cache)
|
|
138
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
139
|
+
/******/ // no module.id needed
|
|
140
|
+
/******/ // no module.loaded needed
|
|
141
|
+
/******/ exports: {}
|
|
142
|
+
/******/ };
|
|
143
|
+
/******/
|
|
144
|
+
/******/ // Execute the module function
|
|
145
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
146
|
+
/******/
|
|
147
|
+
/******/ // Return the exports of the module
|
|
148
|
+
/******/ return module.exports;
|
|
149
|
+
/******/ }
|
|
150
|
+
/******/
|
|
151
|
+
/************************************************************************/
|
|
152
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
153
|
+
/******/ !function() {
|
|
154
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
155
|
+
/******/ __webpack_require__.n = function(module) {
|
|
156
|
+
/******/ var getter = module && module.__esModule ?
|
|
157
|
+
/******/ function() { return module['default']; } :
|
|
158
|
+
/******/ function() { return module; };
|
|
159
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
160
|
+
/******/ return getter;
|
|
161
|
+
/******/ };
|
|
162
|
+
/******/ }();
|
|
163
|
+
/******/
|
|
164
|
+
/******/ /* webpack/runtime/define property getters */
|
|
165
|
+
/******/ !function() {
|
|
166
|
+
/******/ // define getter functions for harmony exports
|
|
167
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
168
|
+
/******/ for(var key in definition) {
|
|
169
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
170
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
171
|
+
/******/ }
|
|
172
|
+
/******/ }
|
|
173
|
+
/******/ };
|
|
174
|
+
/******/ }();
|
|
175
|
+
/******/
|
|
176
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
177
|
+
/******/ !function() {
|
|
178
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
179
|
+
/******/ }();
|
|
180
|
+
/******/
|
|
181
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
182
|
+
/******/ !function() {
|
|
183
|
+
/******/ // define __esModule on exports
|
|
184
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
185
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
186
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
187
|
+
/******/ }
|
|
188
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
189
|
+
/******/ };
|
|
190
|
+
/******/ }();
|
|
191
|
+
/******/
|
|
192
|
+
/************************************************************************/
|
|
193
|
+
var __webpack_exports__ = {};
|
|
194
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
195
|
+
!function() {
|
|
196
|
+
// ESM COMPAT FLAG
|
|
197
|
+
__webpack_require__.r(__webpack_exports__);
|
|
198
|
+
|
|
199
|
+
// EXPORTS
|
|
200
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
201
|
+
"CompassViewModel": function() { return /* reexport */ CompassViewModel/* default */.Z; },
|
|
202
|
+
"default": function() { return /* reexport */ Compass; }
|
|
203
|
+
});
|
|
204
|
+
|
|
205
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
206
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
207
|
+
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
208
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
209
|
+
// EXTERNAL MODULE: ./src/webgl/compass/CompassViewModel.js
|
|
210
|
+
var CompassViewModel = __webpack_require__(9520);
|
|
211
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
212
|
+
var gis_utils_ = __webpack_require__(826);
|
|
139
213
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/compass/Compass.vue?vue&type=script&setup=true&lang=js
|
|
140
214
|
|
|
141
215
|
|
|
@@ -168,14 +242,14 @@ const __default__ = {
|
|
|
168
242
|
|
|
169
243
|
setup(__props) {
|
|
170
244
|
const props = __props;
|
|
171
|
-
let language = (0,
|
|
245
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
172
246
|
let viewModel = null;
|
|
173
|
-
let heading = (0,
|
|
174
|
-
(0,
|
|
175
|
-
|
|
247
|
+
let heading = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(0);
|
|
248
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
249
|
+
gis_utils_.utils.getWebMap(props.mapTarget, scenceView => {
|
|
176
250
|
if (scenceView) {
|
|
177
251
|
language.value = scenceView._language;
|
|
178
|
-
viewModel = new CompassViewModel(scenceView._viewer); //绑定指南针事件
|
|
252
|
+
viewModel = new CompassViewModel/* default */.Z(scenceView._viewer); //绑定指南针事件
|
|
179
253
|
|
|
180
254
|
viewModel.bindCompassEvent(heading);
|
|
181
255
|
}
|
|
@@ -187,27 +261,27 @@ const __default__ = {
|
|
|
187
261
|
} // 销毁
|
|
188
262
|
|
|
189
263
|
|
|
190
|
-
(0,
|
|
264
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
191
265
|
viewModel && viewModel.destroy();
|
|
192
266
|
});
|
|
193
267
|
return (_ctx, _cache) => {
|
|
194
|
-
const _component_kq_icon = (0,
|
|
268
|
+
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
195
269
|
|
|
196
|
-
const _component_kq_button = (0,
|
|
270
|
+
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
197
271
|
|
|
198
|
-
return (0,
|
|
272
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_button, {
|
|
199
273
|
onClick: btnClick,
|
|
200
|
-
class: (0,
|
|
274
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)([{
|
|
201
275
|
'kq-light-shadow': __props.showShadow
|
|
202
276
|
}]),
|
|
203
|
-
title: (0,
|
|
204
|
-
style: (0,
|
|
277
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).resetOrientation,
|
|
278
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)('clip-path: circle(50%);width:' + __props.buttonSize)
|
|
205
279
|
}, {
|
|
206
|
-
default: (0,
|
|
280
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_icon, {
|
|
207
281
|
size: __props.iconSize,
|
|
208
|
-
style: (0,
|
|
282
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)('transform: rotate(-' + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(heading) + 'rad);-webkit-transform: rotate(-' + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(heading) + 'rad)')
|
|
209
283
|
}, {
|
|
210
|
-
default: (0,
|
|
284
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconCompass3D))]),
|
|
211
285
|
_: 1
|
|
212
286
|
/* STABLE */
|
|
213
287
|
|
|
@@ -233,9 +307,9 @@ const __default__ = {
|
|
|
233
307
|
const __exports__ = Compassvue_type_script_setup_true_lang_js;
|
|
234
308
|
|
|
235
309
|
/* harmony default export */ var Compass = (__exports__);
|
|
236
|
-
|
|
237
|
-
var
|
|
238
|
-
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_);
|
|
239
313
|
;// CONCATENATED MODULE: ./src/webgl/compass/index.js
|
|
240
314
|
|
|
241
315
|
|
|
@@ -247,6 +321,7 @@ Compass.install = (Vue, opts) => {
|
|
|
247
321
|
};
|
|
248
322
|
|
|
249
323
|
|
|
324
|
+
}();
|
|
250
325
|
module.exports = __webpack_exports__;
|
|
251
326
|
/******/ })()
|
|
252
327
|
;
|