@kq_npm/client3d_webgl_vue 4.5.3-beta → 4.5.5-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 +163 -229
- package/baseterraingallery/index.js +122 -145
- package/boxclip/index.js +291 -472
- package/clientPrint/index.js +368 -906
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +224 -246
- package/compass/index.js +96 -84
- package/excavatefillanalysis/index.js +185 -255
- package/fixedzoomin/index.js +91 -76
- package/fixedzoomout/index.js +91 -76
- package/flight/index.js +298 -402
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +248 -385
- package/geologicalbodyanalysis/index.js +206 -288
- package/gpuspatialquery/index.js +243 -392
- package/hawkeye/index.js +139 -103
- package/headertemp/index.js +23 -33
- package/heatmap3d/index.js +427 -734
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +8170 -17000
- package/isolineanalysis/index.js +557 -1233
- package/light/index.js +351 -488
- package/limitheightanalysis/index.js +249 -312
- package/measure/index.js +341 -495
- package/modelFlat/index.js +261 -259
- package/modelexcavate/index.js +214 -266
- package/modelfilter/index.js +216 -299
- package/modelprofileanalysis/index.js +354 -465
- package/modelselect/index.js +183 -175
- package/package.json +1 -1
- package/particleeffect/index.js +257 -430
- package/planeclip/index.js +240 -330
- package/resetview/index.js +89 -69
- package/roller/index.js +305 -363
- package/scaneffect/index.js +274 -572
- package/sceneadvancedtoimage/index.js +1057 -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 +9208 -17907
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +273 -312
- package/shadowanalysis/index.js +259 -437
- package/sightlineanalysis/index.js +229 -312
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +204 -341
- package/slopeanalysis/index.js +274 -435
- package/slopeaspectanalysis/index.js +307 -524
- package/statusbar/index.js +113 -84
- package/style.css +1 -1
- package/terrainoperation/index.js +222 -271
- package/terrainprofileanalysis/index.js +166 -173
- 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/resetview/index.js
CHANGED
|
@@ -7,93 +7,126 @@
|
|
|
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/init.js")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], 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__455__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 3812:
|
|
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 */ ResetViewViewModel; }
|
|
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
|
// 重置视图
|
|
24
28
|
class ResetViewViewModel {
|
|
25
29
|
//三维viewer对象
|
|
26
30
|
constructor(viewer) {
|
|
27
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .
|
|
28
|
-
|
|
31
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(this, "_viewer", null);
|
|
29
32
|
this._viewer = viewer;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
+
}
|
|
34
|
+
//重置视角
|
|
33
35
|
resetView() {
|
|
34
36
|
this._viewer.camera.flyHome(1);
|
|
35
37
|
}
|
|
36
|
-
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
/***/ }),
|
|
40
41
|
|
|
41
|
-
/***/
|
|
42
|
+
/***/ 9371:
|
|
42
43
|
/***/ (function(module) {
|
|
43
44
|
|
|
44
45
|
module.exports = require("@element-plus/icons-vue");
|
|
45
46
|
|
|
46
47
|
/***/ }),
|
|
47
48
|
|
|
48
|
-
/***/
|
|
49
|
+
/***/ 3579:
|
|
49
50
|
/***/ (function(module) {
|
|
50
51
|
|
|
51
52
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
52
53
|
|
|
53
54
|
/***/ }),
|
|
54
55
|
|
|
55
|
-
/***/
|
|
56
|
+
/***/ 64:
|
|
56
57
|
/***/ (function(module) {
|
|
57
58
|
|
|
58
|
-
module.exports =
|
|
59
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
|
|
59
60
|
|
|
60
61
|
/***/ }),
|
|
61
62
|
|
|
62
|
-
/***/
|
|
63
|
+
/***/ 455:
|
|
63
64
|
/***/ (function(module) {
|
|
64
65
|
|
|
65
|
-
module.exports =
|
|
66
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
|
|
66
67
|
|
|
67
68
|
/***/ }),
|
|
68
69
|
|
|
69
|
-
/***/
|
|
70
|
+
/***/ 154:
|
|
70
71
|
/***/ (function(module) {
|
|
71
72
|
|
|
72
|
-
module.exports =
|
|
73
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
|
|
73
74
|
|
|
74
75
|
/***/ }),
|
|
75
76
|
|
|
76
|
-
/***/
|
|
77
|
+
/***/ 6913:
|
|
77
78
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
78
79
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
function
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
80
|
+
|
|
81
|
+
// EXPORTS
|
|
82
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
83
|
+
A: function() { return /* binding */ _defineProperty; }
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
87
|
+
function _typeof(o) {
|
|
88
|
+
"@babel/helpers - typeof";
|
|
89
|
+
|
|
90
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
91
|
+
return typeof o;
|
|
92
|
+
} : function (o) {
|
|
93
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
94
|
+
}, _typeof(o);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
98
|
+
|
|
99
|
+
function toPrimitive(t, r) {
|
|
100
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
101
|
+
var e = t[Symbol.toPrimitive];
|
|
102
|
+
if (void 0 !== e) {
|
|
103
|
+
var i = e.call(t, r || "default");
|
|
104
|
+
if ("object" != _typeof(i)) return i;
|
|
105
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
92
106
|
}
|
|
107
|
+
return ("string" === r ? String : Number)(t);
|
|
108
|
+
}
|
|
93
109
|
|
|
94
|
-
|
|
110
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
function toPropertyKey(t) {
|
|
114
|
+
var i = toPrimitive(t, "string");
|
|
115
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
119
|
+
|
|
120
|
+
function _defineProperty(e, r, t) {
|
|
121
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
122
|
+
value: t,
|
|
123
|
+
enumerable: !0,
|
|
124
|
+
configurable: !0,
|
|
125
|
+
writable: !0
|
|
126
|
+
}) : e[r] = t, e;
|
|
95
127
|
}
|
|
96
128
|
|
|
129
|
+
|
|
97
130
|
/***/ })
|
|
98
131
|
|
|
99
132
|
/******/ });
|
|
@@ -165,39 +198,38 @@ function _defineProperty(obj, key, value) {
|
|
|
165
198
|
/******/
|
|
166
199
|
/************************************************************************/
|
|
167
200
|
var __webpack_exports__ = {};
|
|
168
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
169
|
-
!function() {
|
|
170
201
|
// ESM COMPAT FLAG
|
|
171
202
|
__webpack_require__.r(__webpack_exports__);
|
|
172
203
|
|
|
173
204
|
// EXPORTS
|
|
174
205
|
__webpack_require__.d(__webpack_exports__, {
|
|
175
|
-
|
|
206
|
+
ResetViewViewModel: function() { return /* reexport */ ResetViewViewModel/* default */.A; },
|
|
176
207
|
"default": function() { return /* reexport */ ResetView; }
|
|
177
208
|
});
|
|
178
209
|
|
|
179
210
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
180
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
211
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
181
212
|
// EXTERNAL MODULE: external "@element-plus/icons-vue"
|
|
182
|
-
var icons_vue_ = __webpack_require__(
|
|
213
|
+
var icons_vue_ = __webpack_require__(9371);
|
|
183
214
|
// EXTERNAL MODULE: ./src/webgl/resetview/ResetViewViewModel.js
|
|
184
|
-
var ResetViewViewModel = __webpack_require__(
|
|
215
|
+
var ResetViewViewModel = __webpack_require__(3812);
|
|
185
216
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
186
|
-
var gis_utils_ = __webpack_require__(
|
|
217
|
+
var gis_utils_ = __webpack_require__(64);
|
|
187
218
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
188
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
219
|
+
var vue_i18n_cjs_js_ = __webpack_require__(3579);
|
|
189
220
|
;// 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
|
|
190
221
|
|
|
191
222
|
|
|
192
223
|
|
|
193
224
|
|
|
194
225
|
|
|
195
|
-
|
|
226
|
+
|
|
227
|
+
// 获取组件传参
|
|
196
228
|
|
|
197
229
|
const __default__ = {
|
|
198
230
|
name: "Kq3dResetView"
|
|
199
231
|
};
|
|
200
|
-
/* harmony default export */ var ResetViewvue_type_script_setup_true_lang_js = (
|
|
232
|
+
/* harmony default export */ var ResetViewvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
201
233
|
props: {
|
|
202
234
|
// 指定组件绑定的scence对象的div的id
|
|
203
235
|
mapTarget: String,
|
|
@@ -211,13 +243,12 @@ const __default__ = {
|
|
|
211
243
|
default: false
|
|
212
244
|
}
|
|
213
245
|
},
|
|
214
|
-
|
|
215
246
|
setup(__props) {
|
|
216
247
|
const props = __props;
|
|
217
248
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
218
249
|
let viewModel = null;
|
|
219
|
-
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
220
|
-
|
|
250
|
+
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
251
|
+
// 国际化
|
|
221
252
|
let {
|
|
222
253
|
locale,
|
|
223
254
|
messages
|
|
@@ -228,21 +259,18 @@ const __default__ = {
|
|
|
228
259
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
229
260
|
gis_utils_.utils.getWebMap(props.mapTarget, scenceView => {
|
|
230
261
|
if (scenceView) {
|
|
231
|
-
viewModel = new ResetViewViewModel/* default */.
|
|
262
|
+
viewModel = new ResetViewViewModel/* default */.A(scenceView._viewer);
|
|
232
263
|
}
|
|
233
264
|
});
|
|
234
|
-
});
|
|
235
|
-
|
|
265
|
+
});
|
|
266
|
+
// 按钮点击事件
|
|
236
267
|
function btnClick(e) {
|
|
237
268
|
btn.value.$el.blur();
|
|
238
269
|
viewModel && viewModel.resetView();
|
|
239
270
|
}
|
|
240
|
-
|
|
241
271
|
return (_ctx, _cache) => {
|
|
242
272
|
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
243
|
-
|
|
244
273
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
245
|
-
|
|
246
274
|
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, {
|
|
247
275
|
ref_key: "btn",
|
|
248
276
|
ref: btn,
|
|
@@ -257,21 +285,12 @@ const __default__ = {
|
|
|
257
285
|
size: __props.size / 2
|
|
258
286
|
}, {
|
|
259
287
|
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))]),
|
|
260
|
-
_: 1
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
/* PROPS */
|
|
265
|
-
, ["size"])]),
|
|
266
|
-
_: 1
|
|
267
|
-
/* STABLE */
|
|
268
|
-
|
|
269
|
-
}, 8
|
|
270
|
-
/* PROPS */
|
|
271
|
-
, ["class", "title", "style"]);
|
|
288
|
+
_: 1 /* STABLE */
|
|
289
|
+
}, 8 /* PROPS */, ["size"])]),
|
|
290
|
+
_: 1 /* STABLE */
|
|
291
|
+
}, 8 /* PROPS */, ["class", "title", "style"]);
|
|
272
292
|
};
|
|
273
293
|
}
|
|
274
|
-
|
|
275
294
|
}));
|
|
276
295
|
;// CONCATENATED MODULE: ./src/webgl/resetview/ResetView.vue?vue&type=script&setup=true&lang=js
|
|
277
296
|
|
|
@@ -283,10 +302,13 @@ const __exports__ = ResetViewvue_type_script_setup_true_lang_js;
|
|
|
283
302
|
|
|
284
303
|
/* harmony default export */ var ResetView = (__exports__);
|
|
285
304
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
286
|
-
var init_js_ = __webpack_require__(
|
|
305
|
+
var init_js_ = __webpack_require__(455);
|
|
287
306
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
288
307
|
;// CONCATENATED MODULE: ./src/webgl/resetview/index.js
|
|
289
|
-
|
|
308
|
+
/*
|
|
309
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
310
|
+
* All rights reserved.
|
|
311
|
+
*/
|
|
290
312
|
|
|
291
313
|
|
|
292
314
|
|
|
@@ -295,8 +317,6 @@ ResetView.install = (Vue, opts) => {
|
|
|
295
317
|
Vue.component(ResetView.name, ResetView);
|
|
296
318
|
};
|
|
297
319
|
|
|
298
|
-
|
|
299
|
-
}();
|
|
300
320
|
/******/ return __webpack_exports__;
|
|
301
321
|
/******/ })()
|
|
302
322
|
;
|