@kq_npm/client3d_webgl_vue 2.6.9-beta → 2.7.1-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/resetview/index.js
CHANGED
|
@@ -1,7 +1,109 @@
|
|
|
1
1
|
/******/ (function() { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
|
-
/******/
|
|
4
|
-
|
|
3
|
+
/******/ var __webpack_modules__ = ({
|
|
4
|
+
|
|
5
|
+
/***/ 2242:
|
|
6
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
|
+
|
|
8
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9
|
+
/* harmony export */ "Z": function() { return /* binding */ ResetViewViewModel; }
|
|
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);
|
|
12
|
+
|
|
13
|
+
// 重置视图
|
|
14
|
+
class ResetViewViewModel {
|
|
15
|
+
//三维viewer对象
|
|
16
|
+
constructor(viewer) {
|
|
17
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
18
|
+
|
|
19
|
+
this._viewer = viewer;
|
|
20
|
+
} //重置视角
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
resetView() {
|
|
24
|
+
this._viewer.camera.flyHome(1);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/***/ }),
|
|
30
|
+
|
|
31
|
+
/***/ 8422:
|
|
32
|
+
/***/ (function(module) {
|
|
33
|
+
|
|
34
|
+
module.exports = require("@element-plus/icons-vue");
|
|
35
|
+
|
|
36
|
+
/***/ }),
|
|
37
|
+
|
|
38
|
+
/***/ 826:
|
|
39
|
+
/***/ (function(module) {
|
|
40
|
+
|
|
41
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
42
|
+
|
|
43
|
+
/***/ }),
|
|
44
|
+
|
|
45
|
+
/***/ 5406:
|
|
46
|
+
/***/ (function(module) {
|
|
47
|
+
|
|
48
|
+
module.exports = require("@kq_npm/client_common_vue/init.js");
|
|
49
|
+
|
|
50
|
+
/***/ }),
|
|
51
|
+
|
|
52
|
+
/***/ 637:
|
|
53
|
+
/***/ (function(module) {
|
|
54
|
+
|
|
55
|
+
module.exports = require("vue");
|
|
56
|
+
|
|
57
|
+
/***/ }),
|
|
58
|
+
|
|
59
|
+
/***/ 8270:
|
|
60
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
61
|
+
|
|
62
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
63
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
64
|
+
/* harmony export */ });
|
|
65
|
+
function _defineProperty(obj, key, value) {
|
|
66
|
+
if (key in obj) {
|
|
67
|
+
Object.defineProperty(obj, key, {
|
|
68
|
+
value: value,
|
|
69
|
+
enumerable: true,
|
|
70
|
+
configurable: true,
|
|
71
|
+
writable: true
|
|
72
|
+
});
|
|
73
|
+
} else {
|
|
74
|
+
obj[key] = value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return obj;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/***/ })
|
|
81
|
+
|
|
82
|
+
/******/ });
|
|
83
|
+
/************************************************************************/
|
|
84
|
+
/******/ // The module cache
|
|
85
|
+
/******/ var __webpack_module_cache__ = {};
|
|
86
|
+
/******/
|
|
87
|
+
/******/ // The require function
|
|
88
|
+
/******/ function __webpack_require__(moduleId) {
|
|
89
|
+
/******/ // Check if module is in cache
|
|
90
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
91
|
+
/******/ if (cachedModule !== undefined) {
|
|
92
|
+
/******/ return cachedModule.exports;
|
|
93
|
+
/******/ }
|
|
94
|
+
/******/ // Create a new module (and put it into the cache)
|
|
95
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
96
|
+
/******/ // no module.id needed
|
|
97
|
+
/******/ // no module.loaded needed
|
|
98
|
+
/******/ exports: {}
|
|
99
|
+
/******/ };
|
|
100
|
+
/******/
|
|
101
|
+
/******/ // Execute the module function
|
|
102
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
103
|
+
/******/
|
|
104
|
+
/******/ // Return the exports of the module
|
|
105
|
+
/******/ return module.exports;
|
|
106
|
+
/******/ }
|
|
5
107
|
/******/
|
|
6
108
|
/************************************************************************/
|
|
7
109
|
/******/ /* webpack/runtime/compat get default export */
|
|
@@ -46,53 +148,25 @@
|
|
|
46
148
|
/******/
|
|
47
149
|
/************************************************************************/
|
|
48
150
|
var __webpack_exports__ = {};
|
|
151
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
152
|
+
!function() {
|
|
49
153
|
// ESM COMPAT FLAG
|
|
50
154
|
__webpack_require__.r(__webpack_exports__);
|
|
51
155
|
|
|
52
156
|
// EXPORTS
|
|
53
157
|
__webpack_require__.d(__webpack_exports__, {
|
|
54
|
-
"ResetViewViewModel": function() { return /* reexport */ ResetViewViewModel; },
|
|
158
|
+
"ResetViewViewModel": function() { return /* reexport */ ResetViewViewModel/* default */.Z; },
|
|
55
159
|
"default": function() { return /* reexport */ ResetView; }
|
|
56
160
|
});
|
|
57
161
|
|
|
58
|
-
|
|
59
|
-
var
|
|
60
|
-
|
|
61
|
-
var
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
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/resetview/ResetViewViewModel.js
|
|
78
|
-
|
|
79
|
-
// 重置视图
|
|
80
|
-
class ResetViewViewModel {
|
|
81
|
-
//三维viewer对象
|
|
82
|
-
constructor(viewer) {
|
|
83
|
-
_defineProperty(this, "_viewer", null);
|
|
84
|
-
|
|
85
|
-
this._viewer = viewer;
|
|
86
|
-
} //重置视角
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
resetView() {
|
|
90
|
-
this._viewer.camera.flyHome(1);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
}
|
|
94
|
-
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
95
|
-
var gis_utils_namespaceObject = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
162
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
163
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
164
|
+
// EXTERNAL MODULE: external "@element-plus/icons-vue"
|
|
165
|
+
var icons_vue_ = __webpack_require__(8422);
|
|
166
|
+
// EXTERNAL MODULE: ./src/webgl/resetview/ResetViewViewModel.js
|
|
167
|
+
var ResetViewViewModel = __webpack_require__(2242);
|
|
168
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
169
|
+
var gis_utils_ = __webpack_require__(826);
|
|
96
170
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/resetview/ResetView.vue?vue&type=script&setup=true&lang=js
|
|
97
171
|
|
|
98
172
|
|
|
@@ -125,14 +199,14 @@ const __default__ = {
|
|
|
125
199
|
|
|
126
200
|
setup(__props) {
|
|
127
201
|
const props = __props;
|
|
128
|
-
let language = (0,
|
|
202
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
129
203
|
let viewModel = null;
|
|
130
|
-
let btn = (0,
|
|
131
|
-
(0,
|
|
132
|
-
|
|
204
|
+
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
205
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
206
|
+
gis_utils_.utils.getWebMap(props.mapTarget, scenceView => {
|
|
133
207
|
if (scenceView) {
|
|
134
208
|
language.value = scenceView._language;
|
|
135
|
-
viewModel = new ResetViewViewModel(scenceView._viewer);
|
|
209
|
+
viewModel = new ResetViewViewModel/* default */.Z(scenceView._viewer);
|
|
136
210
|
}
|
|
137
211
|
});
|
|
138
212
|
}); // 按钮点击事件
|
|
@@ -143,24 +217,24 @@ const __default__ = {
|
|
|
143
217
|
}
|
|
144
218
|
|
|
145
219
|
return (_ctx, _cache) => {
|
|
146
|
-
const _component_kq_icon = (0,
|
|
220
|
+
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
147
221
|
|
|
148
|
-
const _component_kq_button = (0,
|
|
222
|
+
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
149
223
|
|
|
150
|
-
return (0,
|
|
224
|
+
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, {
|
|
151
225
|
ref_key: "btn",
|
|
152
226
|
ref: btn,
|
|
153
|
-
class: (0,
|
|
227
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)([{
|
|
154
228
|
'kq-light-shadow': __props.showShadow
|
|
155
229
|
}]),
|
|
156
230
|
onClick: btnClick,
|
|
157
|
-
title: (0,
|
|
158
|
-
style: (0,
|
|
231
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).resetView,
|
|
232
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)('width:' + __props.buttonSize)
|
|
159
233
|
}, {
|
|
160
|
-
default: (0,
|
|
234
|
+
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, {
|
|
161
235
|
size: __props.iconSize
|
|
162
236
|
}, {
|
|
163
|
-
default: (0,
|
|
237
|
+
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)(icons_vue_.RefreshLeft))]),
|
|
164
238
|
_: 1
|
|
165
239
|
/* STABLE */
|
|
166
240
|
|
|
@@ -186,9 +260,9 @@ const __default__ = {
|
|
|
186
260
|
const __exports__ = ResetViewvue_type_script_setup_true_lang_js;
|
|
187
261
|
|
|
188
262
|
/* harmony default export */ var ResetView = (__exports__);
|
|
189
|
-
|
|
190
|
-
var
|
|
191
|
-
var init_js_default = /*#__PURE__*/__webpack_require__.n(
|
|
263
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
264
|
+
var init_js_ = __webpack_require__(5406);
|
|
265
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
192
266
|
;// CONCATENATED MODULE: ./src/webgl/resetview/index.js
|
|
193
267
|
|
|
194
268
|
|
|
@@ -200,6 +274,7 @@ ResetView.install = (Vue, opts) => {
|
|
|
200
274
|
};
|
|
201
275
|
|
|
202
276
|
|
|
277
|
+
}();
|
|
203
278
|
module.exports = __webpack_exports__;
|
|
204
279
|
/******/ })()
|
|
205
280
|
;
|