@kq_npm/client3d_webgl_vue 4.5.31 → 4.5.33-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 +226 -495
- package/aspectanalysis/index.js +71 -182
- package/baseterraingallery/index.js +40 -102
- package/boxclip/index.js +197 -423
- package/clientPrint/index.js +6953 -17145
- package/comparemap/index.js +165 -216
- package/compass/index.js +20 -47
- package/excavatefillanalysis/index.js +101 -206
- package/fixedzoomin/index.js +20 -43
- package/fixedzoomout/index.js +18 -42
- package/flight/index.js +206 -353
- package/floodanalysis/index.js +145 -328
- package/geologicalbodyanalysis/index.js +114 -241
- package/gpuspatialquery/index.js +146 -340
- package/hawkeye/index.js +78 -80
- package/headertemp/index.js +8 -19
- package/heatmap3d/index.js +304 -645
- package/index.js +6525 -16962
- package/isolineanalysis/index.js +451 -1183
- package/light/index.js +308 -486
- package/limitheightanalysis/index.js +107 -204
- package/measure/index.js +145 -331
- package/modelFlat/index.js +114 -183
- package/modelexcavate/index.js +78 -172
- package/modelfilter/index.js +127 -252
- package/modelprofileanalysis/index.js +154 -297
- package/modelselect/index.js +90 -128
- package/package.json +1 -1
- package/particleeffect/index.js +170 -381
- package/planeclip/index.js +146 -281
- package/resetview/index.js +12 -31
- package/roller/index.js +252 -353
- package/scaneffect/index.js +178 -518
- package/sceneadvancedtoimage/index.js +152 -337
- package/sceneapp/index.js +6953 -17145
- package/sceneset/index.js +299 -838
- package/scenetohdimage/index.js +105 -276
- package/sceneview/index.js +6953 -17145
- package/screenshot/index.js +204 -281
- package/shadowanalysis/index.js +175 -386
- package/sightlineanalysis/index.js +135 -245
- package/skylineanalysis/index.js +108 -289
- package/slopeanalysis/index.js +174 -378
- package/slopeaspectanalysis/index.js +206 -466
- package/statusbar/index.js +37 -39
- package/terrainoperation/index.js +124 -218
- package/terrainprofileanalysis/index.js +66 -118
- package/typhoontrac/index.js +165 -321
- package/underground/index.js +16 -40
- package/videofusion/index.js +214 -470
- package/videoproject/index.js +220 -472
- package/viewshedanalysis/index.js +93 -230
- package/weathereffect/index.js +111 -295
- package/windyslicing/index.js +262 -695
- package/wireframesketch/index.js +49 -106
package/resetview/index.js
CHANGED
|
@@ -20,7 +20,6 @@ return /******/ (function() { // webpackBootstrap
|
|
|
20
20
|
/* harmony export */ });
|
|
21
21
|
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
22
22
|
|
|
23
|
-
|
|
24
23
|
/*
|
|
25
24
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
26
25
|
* All rights reserved.
|
|
@@ -30,15 +29,12 @@ class ResetViewViewModel {
|
|
|
30
29
|
//三维viewer对象
|
|
31
30
|
constructor(viewer) {
|
|
32
31
|
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
33
|
-
|
|
34
32
|
this._viewer = viewer;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
}
|
|
34
|
+
//重置视角
|
|
38
35
|
resetView() {
|
|
39
36
|
this._viewer.camera.flyHome(1);
|
|
40
37
|
}
|
|
41
|
-
|
|
42
38
|
}
|
|
43
39
|
|
|
44
40
|
/***/ }),
|
|
@@ -95,7 +91,6 @@ function _defineProperty(obj, key, value) {
|
|
|
95
91
|
} else {
|
|
96
92
|
obj[key] = value;
|
|
97
93
|
}
|
|
98
|
-
|
|
99
94
|
return obj;
|
|
100
95
|
}
|
|
101
96
|
|
|
@@ -197,7 +192,8 @@ var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
|
197
192
|
|
|
198
193
|
|
|
199
194
|
|
|
200
|
-
|
|
195
|
+
|
|
196
|
+
// 获取组件传参
|
|
201
197
|
|
|
202
198
|
const __default__ = {
|
|
203
199
|
name: "Kq3dResetView"
|
|
@@ -216,7 +212,6 @@ const __default__ = {
|
|
|
216
212
|
default: false
|
|
217
213
|
}
|
|
218
214
|
},
|
|
219
|
-
|
|
220
215
|
setup(__props) {
|
|
221
216
|
const props = __props;
|
|
222
217
|
const {
|
|
@@ -224,8 +219,8 @@ const __default__ = {
|
|
|
224
219
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
225
220
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
|
|
226
221
|
let viewModel = null;
|
|
227
|
-
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
228
|
-
|
|
222
|
+
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
223
|
+
// 国际化
|
|
229
224
|
let {
|
|
230
225
|
locale,
|
|
231
226
|
messages
|
|
@@ -239,18 +234,15 @@ const __default__ = {
|
|
|
239
234
|
viewModel = new ResetViewViewModel/* default */.Z(scenceView._viewer);
|
|
240
235
|
}
|
|
241
236
|
});
|
|
242
|
-
});
|
|
243
|
-
|
|
237
|
+
});
|
|
238
|
+
// 按钮点击事件
|
|
244
239
|
function btnClick(e) {
|
|
245
240
|
btn.value.$el.blur();
|
|
246
241
|
viewModel && viewModel.resetView();
|
|
247
242
|
}
|
|
248
|
-
|
|
249
243
|
return (_ctx, _cache) => {
|
|
250
244
|
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
251
|
-
|
|
252
245
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
253
|
-
|
|
254
246
|
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, {
|
|
255
247
|
ref_key: "btn",
|
|
256
248
|
ref: btn,
|
|
@@ -265,21 +257,12 @@ const __default__ = {
|
|
|
265
257
|
size: __props.size / 2
|
|
266
258
|
}, {
|
|
267
259
|
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))]),
|
|
268
|
-
_: 1
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
/* PROPS */
|
|
273
|
-
, ["size"])]),
|
|
274
|
-
_: 1
|
|
275
|
-
/* STABLE */
|
|
276
|
-
|
|
277
|
-
}, 8
|
|
278
|
-
/* PROPS */
|
|
279
|
-
, ["class", "title", "style"]);
|
|
260
|
+
_: 1 /* STABLE */
|
|
261
|
+
}, 8 /* PROPS */, ["size"])]),
|
|
262
|
+
_: 1 /* STABLE */
|
|
263
|
+
}, 8 /* PROPS */, ["class", "title", "style"]);
|
|
280
264
|
};
|
|
281
265
|
}
|
|
282
|
-
|
|
283
266
|
}));
|
|
284
267
|
;// CONCATENATED MODULE: ./src/webgl/resetview/ResetView.vue?vue&type=script&setup=true&lang=js
|
|
285
268
|
|
|
@@ -301,13 +284,11 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
|
301
284
|
|
|
302
285
|
|
|
303
286
|
|
|
304
|
-
|
|
305
287
|
ResetView.install = (Vue, opts) => {
|
|
306
288
|
init_js_default()(Vue, opts);
|
|
307
289
|
Vue.component(ResetView.name, ResetView);
|
|
308
290
|
};
|
|
309
291
|
|
|
310
|
-
|
|
311
292
|
}();
|
|
312
293
|
/******/ return __webpack_exports__;
|
|
313
294
|
/******/ })()
|