@kq_npm/client3d_webgl_vue 4.5.28-beta → 4.5.30
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 +518 -262
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +201 -123
- package/baseterraingallery/index.js +123 -94
- package/baseterraingallery/style/baseterraingallery.css +1 -1
- package/boxclip/index.js +442 -249
- package/clientPrint/index.js +27093 -14116
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +243 -213
- package/compass/index.js +68 -74
- package/excavatefillanalysis/index.js +225 -143
- package/fixedzoomin/index.js +82 -72
- package/fixedzoomout/index.js +80 -71
- package/flight/index.js +371 -257
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +347 -199
- package/geologicalbodyanalysis/index.js +260 -166
- package/gpuspatialquery/index.js +359 -198
- package/hawkeye/index.js +100 -131
- package/headertemp/index.js +25 -14
- package/heatmap3d/index.js +678 -366
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +20321 -7165
- package/isolineanalysis/index.js +1202 -504
- package/light/index.js +494 -349
- package/limitheightanalysis/index.js +223 -159
- package/measure/index.js +353 -198
- package/modelFlat/index.js +204 -167
- package/modelexcavate/index.js +191 -130
- package/modelfilter/index.js +271 -179
- package/modelprofileanalysis/index.js +316 -206
- package/modelselect/index.js +147 -142
- package/package.json +1 -1
- package/particleeffect/index.js +403 -225
- package/planeclip/index.js +300 -198
- package/resetview/index.js +52 -66
- package/roller/index.js +372 -304
- package/scaneffect/index.js +537 -230
- package/sceneadvancedtoimage/index.js +358 -205
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -1
- package/sceneapp/index.js +27093 -14116
- package/sceneset/index.js +864 -350
- package/scenetohdimage/index.js +297 -159
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +27093 -14116
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +301 -257
- package/shadowanalysis/index.js +405 -217
- package/sightlineanalysis/index.js +271 -183
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +308 -160
- package/slopeanalysis/index.js +397 -227
- package/slopeaspectanalysis/index.js +485 -259
- package/statusbar/index.js +65 -88
- package/style.css +1 -1
- package/terrainoperation/index.js +237 -176
- package/terrainprofileanalysis/index.js +138 -120
- package/typhoontrac/index.js +970 -234
- package/typhoontrac/style/typhoontrac.css +1 -1
- package/underground/index.js +61 -70
- package/videofusion/index.js +488 -265
- package/videoproject/index.js +490 -271
- package/viewshedanalysis/index.js +255 -151
- package/weathereffect/index.js +317 -166
- package/windyslicing/index.js +1947 -0
- package/windyslicing/style/index.js +3 -0
- package/windyslicing/style/windyslicing.css +1 -0
- package/wireframesketch/index.js +142 -110
package/resetview/index.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
3
|
module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"));
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
5
|
-
define(["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js"], factory);
|
|
6
|
-
else
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
define("@kq_npm/client3d_webgl_vue", ["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js"], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["@kq_npm/client3d_webgl_vue"] = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"));
|
|
8
|
+
else
|
|
9
|
+
root["@kq_npm/client3d_webgl_vue"] = factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/init.js"]);
|
|
10
10
|
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__7997__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
@@ -18,7 +18,8 @@ return /******/ (function() { // webpackBootstrap
|
|
|
18
18
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19
19
|
/* harmony export */ "Z": 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__(8270);
|
|
22
|
+
|
|
22
23
|
|
|
23
24
|
/*
|
|
24
25
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
@@ -29,12 +30,15 @@ class ResetViewViewModel {
|
|
|
29
30
|
//三维viewer对象
|
|
30
31
|
constructor(viewer) {
|
|
31
32
|
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
33
|
+
|
|
32
34
|
this._viewer = viewer;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
+
} //重置视角
|
|
36
|
+
|
|
37
|
+
|
|
35
38
|
resetView() {
|
|
36
39
|
this._viewer.camera.flyHome(1);
|
|
37
40
|
}
|
|
41
|
+
|
|
38
42
|
}
|
|
39
43
|
|
|
40
44
|
/***/ }),
|
|
@@ -74,59 +78,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
|
74
78
|
|
|
75
79
|
/***/ }),
|
|
76
80
|
|
|
77
|
-
/***/
|
|
81
|
+
/***/ 8270:
|
|
78
82
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
79
83
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
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.");
|
|
84
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
85
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
86
|
+
/* harmony export */ });
|
|
87
|
+
function _defineProperty(obj, key, value) {
|
|
88
|
+
if (key in obj) {
|
|
89
|
+
Object.defineProperty(obj, key, {
|
|
90
|
+
value: value,
|
|
91
|
+
enumerable: true,
|
|
92
|
+
configurable: true,
|
|
93
|
+
writable: true
|
|
94
|
+
});
|
|
95
|
+
} else {
|
|
96
|
+
obj[key] = value;
|
|
106
97
|
}
|
|
107
|
-
return ("string" === r ? String : Number)(t);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
111
|
-
|
|
112
98
|
|
|
113
|
-
|
|
114
|
-
var i = toPrimitive(t, "string");
|
|
115
|
-
return "symbol" == _typeof(i) ? i : i + "";
|
|
99
|
+
return obj;
|
|
116
100
|
}
|
|
117
101
|
|
|
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;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
|
|
130
102
|
/***/ })
|
|
131
103
|
|
|
132
104
|
/******/ });
|
|
@@ -219,14 +191,13 @@ var ResetViewViewModel = __webpack_require__(2242);
|
|
|
219
191
|
var gis_utils_ = __webpack_require__(7135);
|
|
220
192
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
221
193
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
222
|
-
;// 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
|
|
194
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/resetview/ResetView.vue?vue&type=script&setup=true&lang=js
|
|
223
195
|
|
|
224
196
|
|
|
225
197
|
|
|
226
198
|
|
|
227
199
|
|
|
228
|
-
|
|
229
|
-
// 获取组件传参
|
|
200
|
+
// 获取组件传参
|
|
230
201
|
|
|
231
202
|
const __default__ = {
|
|
232
203
|
name: "Kq3dResetView"
|
|
@@ -245,6 +216,7 @@ const __default__ = {
|
|
|
245
216
|
default: false
|
|
246
217
|
}
|
|
247
218
|
},
|
|
219
|
+
|
|
248
220
|
setup(__props) {
|
|
249
221
|
const props = __props;
|
|
250
222
|
const {
|
|
@@ -252,8 +224,8 @@ const __default__ = {
|
|
|
252
224
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
253
225
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
|
|
254
226
|
let viewModel = null;
|
|
255
|
-
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
256
|
-
|
|
227
|
+
let btn = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 国际化
|
|
228
|
+
|
|
257
229
|
let {
|
|
258
230
|
locale,
|
|
259
231
|
messages
|
|
@@ -267,15 +239,18 @@ const __default__ = {
|
|
|
267
239
|
viewModel = new ResetViewViewModel/* default */.Z(scenceView._viewer);
|
|
268
240
|
}
|
|
269
241
|
});
|
|
270
|
-
});
|
|
271
|
-
|
|
242
|
+
}); // 按钮点击事件
|
|
243
|
+
|
|
272
244
|
function btnClick(e) {
|
|
273
245
|
btn.value.$el.blur();
|
|
274
246
|
viewModel && viewModel.resetView();
|
|
275
247
|
}
|
|
248
|
+
|
|
276
249
|
return (_ctx, _cache) => {
|
|
277
250
|
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
251
|
+
|
|
278
252
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
253
|
+
|
|
279
254
|
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, {
|
|
280
255
|
ref_key: "btn",
|
|
281
256
|
ref: btn,
|
|
@@ -290,12 +265,21 @@ const __default__ = {
|
|
|
290
265
|
size: __props.size / 2
|
|
291
266
|
}, {
|
|
292
267
|
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))]),
|
|
293
|
-
_: 1
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
268
|
+
_: 1
|
|
269
|
+
/* STABLE */
|
|
270
|
+
|
|
271
|
+
}, 8
|
|
272
|
+
/* PROPS */
|
|
273
|
+
, ["size"])]),
|
|
274
|
+
_: 1
|
|
275
|
+
/* STABLE */
|
|
276
|
+
|
|
277
|
+
}, 8
|
|
278
|
+
/* PROPS */
|
|
279
|
+
, ["class", "title", "style"]);
|
|
297
280
|
};
|
|
298
281
|
}
|
|
282
|
+
|
|
299
283
|
}));
|
|
300
284
|
;// CONCATENATED MODULE: ./src/webgl/resetview/ResetView.vue?vue&type=script&setup=true&lang=js
|
|
301
285
|
|
|
@@ -317,11 +301,13 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
|
317
301
|
|
|
318
302
|
|
|
319
303
|
|
|
304
|
+
|
|
320
305
|
ResetView.install = (Vue, opts) => {
|
|
321
306
|
init_js_default()(Vue, opts);
|
|
322
307
|
Vue.component(ResetView.name, ResetView);
|
|
323
308
|
};
|
|
324
309
|
|
|
310
|
+
|
|
325
311
|
}();
|
|
326
312
|
/******/ return __webpack_exports__;
|
|
327
313
|
/******/ })()
|