@kq_npm/client3d_webgl_vue 2.6.8-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/measure/index.js
CHANGED
|
@@ -1,84 +1,14 @@
|
|
|
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
|
-
"MeasureViewModel": function() { return /* reexport */ MeasureViewModel; },
|
|
55
|
-
"default": function() { return /* reexport */ Measure; }
|
|
56
|
-
});
|
|
5
|
+
/***/ 193:
|
|
6
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
57
7
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
var
|
|
62
|
-
;// CONCATENATED MODULE: external "@kq_npm/client_icons_vue"
|
|
63
|
-
var client_icons_vue_namespaceObject = require("@kq_npm/client_icons_vue");
|
|
64
|
-
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
65
|
-
var gis_utils_namespaceObject = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
66
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
67
|
-
function _defineProperty(obj, key, value) {
|
|
68
|
-
if (key in obj) {
|
|
69
|
-
Object.defineProperty(obj, key, {
|
|
70
|
-
value: value,
|
|
71
|
-
enumerable: true,
|
|
72
|
-
configurable: true,
|
|
73
|
-
writable: true
|
|
74
|
-
});
|
|
75
|
-
} else {
|
|
76
|
-
obj[key] = value;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
return obj;
|
|
80
|
-
}
|
|
81
|
-
;// CONCATENATED MODULE: ./src/webgl/measure/MeasureViewModel.js
|
|
8
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9
|
+
/* harmony export */ "Z": function() { return /* binding */ MeasureViewModel; }
|
|
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);
|
|
82
12
|
|
|
83
13
|
//测量操作类
|
|
84
14
|
class MeasureViewModel {
|
|
@@ -86,11 +16,11 @@ class MeasureViewModel {
|
|
|
86
16
|
//测量事件
|
|
87
17
|
//活动事件
|
|
88
18
|
constructor(viewer) {
|
|
89
|
-
|
|
19
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_measureHandler", null);
|
|
90
20
|
|
|
91
|
-
|
|
21
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "measureEvent", null);
|
|
92
22
|
|
|
93
|
-
|
|
23
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "activeEvent", null);
|
|
94
24
|
|
|
95
25
|
//开启深度检测
|
|
96
26
|
viewer.scene.globe.depthTestAgainstTerrain = true;
|
|
@@ -190,6 +120,157 @@ class MeasureViewModel {
|
|
|
190
120
|
}
|
|
191
121
|
|
|
192
122
|
}
|
|
123
|
+
|
|
124
|
+
/***/ }),
|
|
125
|
+
|
|
126
|
+
/***/ 8422:
|
|
127
|
+
/***/ (function(module) {
|
|
128
|
+
|
|
129
|
+
module.exports = require("@element-plus/icons-vue");
|
|
130
|
+
|
|
131
|
+
/***/ }),
|
|
132
|
+
|
|
133
|
+
/***/ 348:
|
|
134
|
+
/***/ (function(module) {
|
|
135
|
+
|
|
136
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
137
|
+
|
|
138
|
+
/***/ }),
|
|
139
|
+
|
|
140
|
+
/***/ 826:
|
|
141
|
+
/***/ (function(module) {
|
|
142
|
+
|
|
143
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
144
|
+
|
|
145
|
+
/***/ }),
|
|
146
|
+
|
|
147
|
+
/***/ 5406:
|
|
148
|
+
/***/ (function(module) {
|
|
149
|
+
|
|
150
|
+
module.exports = require("@kq_npm/client_common_vue/init.js");
|
|
151
|
+
|
|
152
|
+
/***/ }),
|
|
153
|
+
|
|
154
|
+
/***/ 637:
|
|
155
|
+
/***/ (function(module) {
|
|
156
|
+
|
|
157
|
+
module.exports = require("vue");
|
|
158
|
+
|
|
159
|
+
/***/ }),
|
|
160
|
+
|
|
161
|
+
/***/ 8270:
|
|
162
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
163
|
+
|
|
164
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
165
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
166
|
+
/* harmony export */ });
|
|
167
|
+
function _defineProperty(obj, key, value) {
|
|
168
|
+
if (key in obj) {
|
|
169
|
+
Object.defineProperty(obj, key, {
|
|
170
|
+
value: value,
|
|
171
|
+
enumerable: true,
|
|
172
|
+
configurable: true,
|
|
173
|
+
writable: true
|
|
174
|
+
});
|
|
175
|
+
} else {
|
|
176
|
+
obj[key] = value;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
return obj;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/***/ })
|
|
183
|
+
|
|
184
|
+
/******/ });
|
|
185
|
+
/************************************************************************/
|
|
186
|
+
/******/ // The module cache
|
|
187
|
+
/******/ var __webpack_module_cache__ = {};
|
|
188
|
+
/******/
|
|
189
|
+
/******/ // The require function
|
|
190
|
+
/******/ function __webpack_require__(moduleId) {
|
|
191
|
+
/******/ // Check if module is in cache
|
|
192
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
193
|
+
/******/ if (cachedModule !== undefined) {
|
|
194
|
+
/******/ return cachedModule.exports;
|
|
195
|
+
/******/ }
|
|
196
|
+
/******/ // Create a new module (and put it into the cache)
|
|
197
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
198
|
+
/******/ // no module.id needed
|
|
199
|
+
/******/ // no module.loaded needed
|
|
200
|
+
/******/ exports: {}
|
|
201
|
+
/******/ };
|
|
202
|
+
/******/
|
|
203
|
+
/******/ // Execute the module function
|
|
204
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
205
|
+
/******/
|
|
206
|
+
/******/ // Return the exports of the module
|
|
207
|
+
/******/ return module.exports;
|
|
208
|
+
/******/ }
|
|
209
|
+
/******/
|
|
210
|
+
/************************************************************************/
|
|
211
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
212
|
+
/******/ !function() {
|
|
213
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
214
|
+
/******/ __webpack_require__.n = function(module) {
|
|
215
|
+
/******/ var getter = module && module.__esModule ?
|
|
216
|
+
/******/ function() { return module['default']; } :
|
|
217
|
+
/******/ function() { return module; };
|
|
218
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
219
|
+
/******/ return getter;
|
|
220
|
+
/******/ };
|
|
221
|
+
/******/ }();
|
|
222
|
+
/******/
|
|
223
|
+
/******/ /* webpack/runtime/define property getters */
|
|
224
|
+
/******/ !function() {
|
|
225
|
+
/******/ // define getter functions for harmony exports
|
|
226
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
227
|
+
/******/ for(var key in definition) {
|
|
228
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
229
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
230
|
+
/******/ }
|
|
231
|
+
/******/ }
|
|
232
|
+
/******/ };
|
|
233
|
+
/******/ }();
|
|
234
|
+
/******/
|
|
235
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
236
|
+
/******/ !function() {
|
|
237
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
238
|
+
/******/ }();
|
|
239
|
+
/******/
|
|
240
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
241
|
+
/******/ !function() {
|
|
242
|
+
/******/ // define __esModule on exports
|
|
243
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
244
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
245
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
246
|
+
/******/ }
|
|
247
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
248
|
+
/******/ };
|
|
249
|
+
/******/ }();
|
|
250
|
+
/******/
|
|
251
|
+
/************************************************************************/
|
|
252
|
+
var __webpack_exports__ = {};
|
|
253
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
254
|
+
!function() {
|
|
255
|
+
// ESM COMPAT FLAG
|
|
256
|
+
__webpack_require__.r(__webpack_exports__);
|
|
257
|
+
|
|
258
|
+
// EXPORTS
|
|
259
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
260
|
+
"MeasureViewModel": function() { return /* reexport */ MeasureViewModel/* default */.Z; },
|
|
261
|
+
"default": function() { return /* reexport */ Measure; }
|
|
262
|
+
});
|
|
263
|
+
|
|
264
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
265
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
266
|
+
// EXTERNAL MODULE: external "@element-plus/icons-vue"
|
|
267
|
+
var icons_vue_ = __webpack_require__(8422);
|
|
268
|
+
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
269
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
270
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
271
|
+
var gis_utils_ = __webpack_require__(826);
|
|
272
|
+
// EXTERNAL MODULE: ./src/webgl/measure/MeasureViewModel.js
|
|
273
|
+
var MeasureViewModel = __webpack_require__(193);
|
|
193
274
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/measure/Measure.vue?vue&type=script&setup=true&lang=js
|
|
194
275
|
|
|
195
276
|
const _hoisted_1 = {
|
|
@@ -291,19 +372,19 @@ const __default__ = {
|
|
|
291
372
|
expose
|
|
292
373
|
}) {
|
|
293
374
|
const props = __props;
|
|
294
|
-
let measureType = (0,
|
|
375
|
+
let measureType = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 测量类型
|
|
295
376
|
|
|
296
|
-
let isActive = (0,
|
|
297
|
-
let isResult = (0,
|
|
377
|
+
let isActive = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
378
|
+
let isResult = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
298
379
|
let distanceValue = null;
|
|
299
|
-
let distanceUnit = (0,
|
|
300
|
-
let result = (0,
|
|
301
|
-
let language = (0,
|
|
302
|
-
let mode = (0,
|
|
303
|
-
let modeList = (0,
|
|
380
|
+
let distanceUnit = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
381
|
+
let result = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("0");
|
|
382
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
383
|
+
let mode = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("space");
|
|
384
|
+
let modeList = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)([]);
|
|
304
385
|
let viewModel = null; // 距离测量单位
|
|
305
386
|
|
|
306
|
-
let distanceUnits = (0,
|
|
387
|
+
let distanceUnits = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)([{
|
|
307
388
|
label: "m",
|
|
308
389
|
value: "m"
|
|
309
390
|
}, {
|
|
@@ -314,19 +395,19 @@ const __default__ = {
|
|
|
314
395
|
value: "n mile"
|
|
315
396
|
}]); // 面积测量单位
|
|
316
397
|
|
|
317
|
-
let areaUnits = (0,
|
|
398
|
+
let areaUnits = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)([{
|
|
318
399
|
label: "m²",
|
|
319
400
|
value: "m²"
|
|
320
401
|
}, {
|
|
321
402
|
label: "km²",
|
|
322
403
|
value: "km²"
|
|
323
404
|
}]);
|
|
324
|
-
(0,
|
|
325
|
-
|
|
405
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
406
|
+
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
326
407
|
if (scenceView) {
|
|
327
408
|
language.value = scenceView._language;
|
|
328
409
|
loadModeData();
|
|
329
|
-
viewModel = new MeasureViewModel(scenceView._viewer); //注册测量事件,以获取测量结果
|
|
410
|
+
viewModel = new MeasureViewModel/* default */.Z(scenceView._viewer); //注册测量事件,以获取测量结果
|
|
330
411
|
|
|
331
412
|
viewModel.measureEvent.addEventListener(function (res) {
|
|
332
413
|
if (measureType.value === 'distance') {
|
|
@@ -441,7 +522,7 @@ const __default__ = {
|
|
|
441
522
|
} // 销毁
|
|
442
523
|
|
|
443
524
|
|
|
444
|
-
(0,
|
|
525
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
445
526
|
clearMeasure();
|
|
446
527
|
}); //开始测量
|
|
447
528
|
|
|
@@ -496,29 +577,29 @@ const __default__ = {
|
|
|
496
577
|
clearMeasure
|
|
497
578
|
});
|
|
498
579
|
return (_ctx, _cache) => {
|
|
499
|
-
const _component_kq_option = (0,
|
|
580
|
+
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
500
581
|
|
|
501
|
-
const _component_kq_select = (0,
|
|
582
|
+
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
502
583
|
|
|
503
|
-
const _component_kq_icon = (0,
|
|
584
|
+
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
504
585
|
|
|
505
|
-
const _component_kq_button = (0,
|
|
586
|
+
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
506
587
|
|
|
507
|
-
const _component_kq_divider = (0,
|
|
588
|
+
const _component_kq_divider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-divider");
|
|
508
589
|
|
|
509
|
-
return (0,
|
|
510
|
-
class: (0,
|
|
590
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
591
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq-measure3d", {
|
|
511
592
|
'kq-box-shadow': __props.showShadow
|
|
512
593
|
}])
|
|
513
|
-
}, [(0,
|
|
594
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).mode), 1
|
|
514
595
|
/* TEXT */
|
|
515
|
-
), (0,
|
|
516
|
-
modelValue: (0,
|
|
517
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,
|
|
518
|
-
disabled: !!(0,
|
|
596
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
|
|
597
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(mode),
|
|
598
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(mode) ? mode.value = $event : mode = $event),
|
|
599
|
+
disabled: !!(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isActive)
|
|
519
600
|
}, {
|
|
520
|
-
default: (0,
|
|
521
|
-
return (0,
|
|
601
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(modeList), item => {
|
|
602
|
+
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_option, {
|
|
522
603
|
key: item.value,
|
|
523
604
|
label: item.label,
|
|
524
605
|
value: item.value
|
|
@@ -533,15 +614,15 @@ const __default__ = {
|
|
|
533
614
|
|
|
534
615
|
}, 8
|
|
535
616
|
/* PROPS */
|
|
536
|
-
, ["modelValue", "disabled"])])]), (0,
|
|
537
|
-
onClick: _cache[1] || (_cache[1] = (0,
|
|
538
|
-
class: (0,
|
|
539
|
-
title: (0,
|
|
617
|
+
, ["modelValue", "disabled"])])]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_4, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
618
|
+
onClick: _cache[1] || (_cache[1] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startMeasure('distance'), ["stop"])),
|
|
619
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isActive) == 'distance' ? 'is-active' : null),
|
|
620
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).distance
|
|
540
621
|
}, {
|
|
541
|
-
default: (0,
|
|
622
|
+
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, {
|
|
542
623
|
size: 24
|
|
543
624
|
}, {
|
|
544
|
-
default: (0,
|
|
625
|
+
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_.IconMeasureDistance))]),
|
|
545
626
|
_: 1
|
|
546
627
|
/* STABLE */
|
|
547
628
|
|
|
@@ -551,15 +632,15 @@ const __default__ = {
|
|
|
551
632
|
|
|
552
633
|
}, 8
|
|
553
634
|
/* PROPS */
|
|
554
|
-
, ["class", "title"]), (0,
|
|
555
|
-
onClick: _cache[2] || (_cache[2] = (0,
|
|
556
|
-
class: (0,
|
|
557
|
-
title: (0,
|
|
635
|
+
, ["class", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
636
|
+
onClick: _cache[2] || (_cache[2] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startMeasure('height'), ["stop"])),
|
|
637
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isActive) == 'height' ? 'is-active' : null),
|
|
638
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).height
|
|
558
639
|
}, {
|
|
559
|
-
default: (0,
|
|
640
|
+
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, {
|
|
560
641
|
size: 24
|
|
561
642
|
}, {
|
|
562
|
-
default: (0,
|
|
643
|
+
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_.IconMeasureCoordinate))]),
|
|
563
644
|
_: 1
|
|
564
645
|
/* STABLE */
|
|
565
646
|
|
|
@@ -569,15 +650,15 @@ const __default__ = {
|
|
|
569
650
|
|
|
570
651
|
}, 8
|
|
571
652
|
/* PROPS */
|
|
572
|
-
, ["class", "title"]), (0,
|
|
573
|
-
onClick: _cache[3] || (_cache[3] = (0,
|
|
574
|
-
class: (0,
|
|
575
|
-
title: (0,
|
|
653
|
+
, ["class", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
654
|
+
onClick: _cache[3] || (_cache[3] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startMeasure('area'), ["stop"])),
|
|
655
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isActive) == 'area' ? 'is-active' : null),
|
|
656
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).area
|
|
576
657
|
}, {
|
|
577
|
-
default: (0,
|
|
658
|
+
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, {
|
|
578
659
|
size: 24
|
|
579
660
|
}, {
|
|
580
|
-
default: (0,
|
|
661
|
+
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_.IconMeasureArea))]),
|
|
581
662
|
_: 1
|
|
582
663
|
/* STABLE */
|
|
583
664
|
|
|
@@ -587,17 +668,17 @@ const __default__ = {
|
|
|
587
668
|
|
|
588
669
|
}, 8
|
|
589
670
|
/* PROPS */
|
|
590
|
-
, ["class", "title"]), (0,
|
|
671
|
+
, ["class", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-button @click.stop=\"startMeasure('azimuth')\" :class=\"isActive == 'azimuth' ? 'is-active' : null\" :title=\"language.azimuthMeasure\">\n <kq-icon :size=\"24\">\n <IconMeasureAzimuth />\n </kq-icon>\n </kq-button> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
591
672
|
type: "danger",
|
|
592
673
|
plain: "",
|
|
593
|
-
onClick: (0,
|
|
594
|
-
title: (0,
|
|
674
|
+
onClick: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)(clearMeasure, ["stop"]),
|
|
675
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
595
676
|
}, {
|
|
596
|
-
default: (0,
|
|
677
|
+
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, {
|
|
597
678
|
class: "icon-delete",
|
|
598
679
|
size: 24
|
|
599
680
|
}, {
|
|
600
|
-
default: (0,
|
|
681
|
+
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_.Delete))]),
|
|
601
682
|
_: 1
|
|
602
683
|
/* STABLE */
|
|
603
684
|
|
|
@@ -607,20 +688,20 @@ const __default__ = {
|
|
|
607
688
|
|
|
608
689
|
}, 8
|
|
609
690
|
/* PROPS */
|
|
610
|
-
, ["onClick", "title"])]), !!(0,
|
|
691
|
+
, ["onClick", "title"])]), !!(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isActive) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_5, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_divider), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(measureType) === 'height' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("p", _hoisted_6, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).measureTips1), 1
|
|
611
692
|
/* TEXT */
|
|
612
|
-
)) : ((0,
|
|
693
|
+
)) : ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("p", _hoisted_7, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).measureTips), 1
|
|
613
694
|
/* TEXT */
|
|
614
|
-
))])) : (0,
|
|
695
|
+
))])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isResult) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_8, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_divider), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_9, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_10, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_11, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).unit), 1
|
|
615
696
|
/* TEXT */
|
|
616
|
-
), (0,
|
|
697
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(measureType) === 'distance' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_select, {
|
|
617
698
|
key: 0,
|
|
618
|
-
modelValue: (0,
|
|
619
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,
|
|
699
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(distanceUnit),
|
|
700
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(distanceUnit) ? distanceUnit.value = $event : distanceUnit = $event),
|
|
620
701
|
onChange: onChangeUnit
|
|
621
702
|
}, {
|
|
622
|
-
default: (0,
|
|
623
|
-
return (0,
|
|
703
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(distanceUnits), item => {
|
|
704
|
+
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_option, {
|
|
624
705
|
key: item.value,
|
|
625
706
|
label: item.label,
|
|
626
707
|
value: item.value
|
|
@@ -635,29 +716,29 @@ const __default__ = {
|
|
|
635
716
|
|
|
636
717
|
}, 8
|
|
637
718
|
/* PROPS */
|
|
638
|
-
, ["modelValue"])) : (0,
|
|
719
|
+
, ["modelValue"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_12, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_13, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).measureResult), 1
|
|
639
720
|
/* TEXT */
|
|
640
|
-
), (0,
|
|
721
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(measureType) === 'height' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_14, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_15, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).spaceDistance), 1
|
|
641
722
|
/* TEXT */
|
|
642
|
-
), (0,
|
|
723
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_16, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(result).spaceDistance) + " m", 1
|
|
643
724
|
/* TEXT */
|
|
644
|
-
), (0,
|
|
725
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_17, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).horizontalDistance), 1
|
|
645
726
|
/* TEXT */
|
|
646
|
-
), (0,
|
|
727
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_18, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(result).horizontalDistance) + " m", 1
|
|
647
728
|
/* TEXT */
|
|
648
|
-
), (0,
|
|
729
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_19, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).verticalDistance), 1
|
|
649
730
|
/* TEXT */
|
|
650
|
-
), (0,
|
|
731
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_20, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(result).verticalDistance) + " m", 1
|
|
651
732
|
/* TEXT */
|
|
652
|
-
), (0,
|
|
733
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_21, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).angle), 1
|
|
653
734
|
/* TEXT */
|
|
654
|
-
), (0,
|
|
735
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_22, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(result).angle) + " °", 1
|
|
655
736
|
/* TEXT */
|
|
656
|
-
)])) : ((0,
|
|
737
|
+
)])) : ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_23, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_24, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language)[(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(measureType)]), 1
|
|
657
738
|
/* TEXT */
|
|
658
|
-
), (0,
|
|
739
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_25, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(result)), 1
|
|
659
740
|
/* TEXT */
|
|
660
|
-
)]))])])])) : (0,
|
|
741
|
+
)]))])])])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)], 2
|
|
661
742
|
/* CLASS */
|
|
662
743
|
);
|
|
663
744
|
};
|
|
@@ -673,9 +754,9 @@ const __default__ = {
|
|
|
673
754
|
const __exports__ = Measurevue_type_script_setup_true_lang_js;
|
|
674
755
|
|
|
675
756
|
/* harmony default export */ var Measure = (__exports__);
|
|
676
|
-
|
|
677
|
-
var
|
|
678
|
-
var init_js_default = /*#__PURE__*/__webpack_require__.n(
|
|
757
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
758
|
+
var init_js_ = __webpack_require__(5406);
|
|
759
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
679
760
|
;// CONCATENATED MODULE: ./src/webgl/measure/index.js
|
|
680
761
|
|
|
681
762
|
|
|
@@ -687,6 +768,7 @@ Measure.install = (Vue, opts) => {
|
|
|
687
768
|
};
|
|
688
769
|
|
|
689
770
|
|
|
771
|
+
}();
|
|
690
772
|
module.exports = __webpack_exports__;
|
|
691
773
|
/******/ })()
|
|
692
774
|
;
|