@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/comparemap/index.js
CHANGED
|
@@ -1,91 +1,23 @@
|
|
|
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
|
-
"CompareMapViewModel": function() { return /* reexport */ CompareMapViewModel; },
|
|
55
|
-
"default": function() { return /* reexport */ CompareMap; }
|
|
56
|
-
});
|
|
5
|
+
/***/ 6938:
|
|
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: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
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
|
-
;// CONCATENATED MODULE: ./src/webgl/comparemap/CompareMapViewModel.js
|
|
8
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9
|
+
/* harmony export */ "Z": function() { return /* binding */ CompareMapViewModel; }
|
|
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);
|
|
80
12
|
|
|
81
13
|
//多窗口逻辑类
|
|
82
14
|
class CompareMapViewModel {
|
|
83
15
|
// 三维视图对象
|
|
84
16
|
//三维viewer对象
|
|
85
17
|
constructor(scenceView) {
|
|
86
|
-
|
|
18
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_scenceView", null);
|
|
87
19
|
|
|
88
|
-
|
|
20
|
+
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
89
21
|
|
|
90
22
|
this._scenceView = scenceView;
|
|
91
23
|
this._viewer = scenceView._viewer;
|
|
@@ -160,8 +92,157 @@ class CompareMapViewModel {
|
|
|
160
92
|
}
|
|
161
93
|
|
|
162
94
|
}
|
|
163
|
-
|
|
164
|
-
|
|
95
|
+
|
|
96
|
+
/***/ }),
|
|
97
|
+
|
|
98
|
+
/***/ 348:
|
|
99
|
+
/***/ (function(module) {
|
|
100
|
+
|
|
101
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
102
|
+
|
|
103
|
+
/***/ }),
|
|
104
|
+
|
|
105
|
+
/***/ 3600:
|
|
106
|
+
/***/ (function(module) {
|
|
107
|
+
|
|
108
|
+
module.exports = require("core-js/modules/es.array.includes.js");
|
|
109
|
+
|
|
110
|
+
/***/ }),
|
|
111
|
+
|
|
112
|
+
/***/ 826:
|
|
113
|
+
/***/ (function(module) {
|
|
114
|
+
|
|
115
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
116
|
+
|
|
117
|
+
/***/ }),
|
|
118
|
+
|
|
119
|
+
/***/ 5406:
|
|
120
|
+
/***/ (function(module) {
|
|
121
|
+
|
|
122
|
+
module.exports = require("@kq_npm/client_common_vue/init.js");
|
|
123
|
+
|
|
124
|
+
/***/ }),
|
|
125
|
+
|
|
126
|
+
/***/ 637:
|
|
127
|
+
/***/ (function(module) {
|
|
128
|
+
|
|
129
|
+
module.exports = require("vue");
|
|
130
|
+
|
|
131
|
+
/***/ }),
|
|
132
|
+
|
|
133
|
+
/***/ 8270:
|
|
134
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
135
|
+
|
|
136
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
137
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
138
|
+
/* harmony export */ });
|
|
139
|
+
function _defineProperty(obj, key, value) {
|
|
140
|
+
if (key in obj) {
|
|
141
|
+
Object.defineProperty(obj, key, {
|
|
142
|
+
value: value,
|
|
143
|
+
enumerable: true,
|
|
144
|
+
configurable: true,
|
|
145
|
+
writable: true
|
|
146
|
+
});
|
|
147
|
+
} else {
|
|
148
|
+
obj[key] = value;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
return obj;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/***/ })
|
|
155
|
+
|
|
156
|
+
/******/ });
|
|
157
|
+
/************************************************************************/
|
|
158
|
+
/******/ // The module cache
|
|
159
|
+
/******/ var __webpack_module_cache__ = {};
|
|
160
|
+
/******/
|
|
161
|
+
/******/ // The require function
|
|
162
|
+
/******/ function __webpack_require__(moduleId) {
|
|
163
|
+
/******/ // Check if module is in cache
|
|
164
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
165
|
+
/******/ if (cachedModule !== undefined) {
|
|
166
|
+
/******/ return cachedModule.exports;
|
|
167
|
+
/******/ }
|
|
168
|
+
/******/ // Create a new module (and put it into the cache)
|
|
169
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
170
|
+
/******/ // no module.id needed
|
|
171
|
+
/******/ // no module.loaded needed
|
|
172
|
+
/******/ exports: {}
|
|
173
|
+
/******/ };
|
|
174
|
+
/******/
|
|
175
|
+
/******/ // Execute the module function
|
|
176
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
177
|
+
/******/
|
|
178
|
+
/******/ // Return the exports of the module
|
|
179
|
+
/******/ return module.exports;
|
|
180
|
+
/******/ }
|
|
181
|
+
/******/
|
|
182
|
+
/************************************************************************/
|
|
183
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
184
|
+
/******/ !function() {
|
|
185
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
186
|
+
/******/ __webpack_require__.n = function(module) {
|
|
187
|
+
/******/ var getter = module && module.__esModule ?
|
|
188
|
+
/******/ function() { return module['default']; } :
|
|
189
|
+
/******/ function() { return module; };
|
|
190
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
191
|
+
/******/ return getter;
|
|
192
|
+
/******/ };
|
|
193
|
+
/******/ }();
|
|
194
|
+
/******/
|
|
195
|
+
/******/ /* webpack/runtime/define property getters */
|
|
196
|
+
/******/ !function() {
|
|
197
|
+
/******/ // define getter functions for harmony exports
|
|
198
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
199
|
+
/******/ for(var key in definition) {
|
|
200
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
201
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
202
|
+
/******/ }
|
|
203
|
+
/******/ }
|
|
204
|
+
/******/ };
|
|
205
|
+
/******/ }();
|
|
206
|
+
/******/
|
|
207
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
208
|
+
/******/ !function() {
|
|
209
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
210
|
+
/******/ }();
|
|
211
|
+
/******/
|
|
212
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
213
|
+
/******/ !function() {
|
|
214
|
+
/******/ // define __esModule on exports
|
|
215
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
216
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
217
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
218
|
+
/******/ }
|
|
219
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
220
|
+
/******/ };
|
|
221
|
+
/******/ }();
|
|
222
|
+
/******/
|
|
223
|
+
/************************************************************************/
|
|
224
|
+
var __webpack_exports__ = {};
|
|
225
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
226
|
+
!function() {
|
|
227
|
+
// ESM COMPAT FLAG
|
|
228
|
+
__webpack_require__.r(__webpack_exports__);
|
|
229
|
+
|
|
230
|
+
// EXPORTS
|
|
231
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
232
|
+
"CompareMapViewModel": function() { return /* reexport */ CompareMapViewModel/* default */.Z; },
|
|
233
|
+
"default": function() { return /* reexport */ CompareMap; }
|
|
234
|
+
});
|
|
235
|
+
|
|
236
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
237
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
238
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
239
|
+
var gis_utils_ = __webpack_require__(826);
|
|
240
|
+
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
241
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
242
|
+
// EXTERNAL MODULE: ./src/webgl/comparemap/CompareMapViewModel.js
|
|
243
|
+
var CompareMapViewModel = __webpack_require__(6938);
|
|
244
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
245
|
+
var es_array_includes_js_ = __webpack_require__(3600);
|
|
165
246
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/comparemap/CompareMapTree.vue?vue&type=script&setup=true&lang=js
|
|
166
247
|
|
|
167
248
|
|
|
@@ -183,15 +264,15 @@ const __default__ = {
|
|
|
183
264
|
|
|
184
265
|
setup(__props) {
|
|
185
266
|
const props = __props;
|
|
186
|
-
let layerTreeStyle = (0,
|
|
267
|
+
let layerTreeStyle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 图层树选择框样式
|
|
187
268
|
|
|
188
|
-
let selectedLayers = (0,
|
|
269
|
+
let selectedLayers = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]); // 图层树选中值
|
|
189
270
|
|
|
190
|
-
let layerTreeData = (0,
|
|
271
|
+
let layerTreeData = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]); // 图层树选项数据
|
|
191
272
|
|
|
192
|
-
let preCheckedKeys = (0,
|
|
273
|
+
let preCheckedKeys = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]); // 记录上次图层树选中值
|
|
193
274
|
|
|
194
|
-
let language = (0,
|
|
275
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
195
276
|
let viewModel = null;
|
|
196
277
|
/**
|
|
197
278
|
* 勾选图层逻辑
|
|
@@ -217,39 +298,39 @@ const __default__ = {
|
|
|
217
298
|
preCheckedKeys.value = values;
|
|
218
299
|
}
|
|
219
300
|
|
|
220
|
-
(0,
|
|
221
|
-
(0,
|
|
222
|
-
|
|
301
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
302
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.nextTick)(() => {
|
|
303
|
+
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
223
304
|
if (scenceView) {
|
|
224
305
|
language.value = scenceView._language;
|
|
225
|
-
layerTreeData.value =
|
|
226
|
-
selectedLayers.value =
|
|
306
|
+
layerTreeData.value = gis_utils_.mapLayerUtils.getLayerCheckedList();
|
|
307
|
+
selectedLayers.value = gis_utils_.mapLayerUtils.getLayerCheckedListKey();
|
|
227
308
|
preCheckedKeys.value = selectedLayers.value;
|
|
228
309
|
}
|
|
229
310
|
});
|
|
230
311
|
});
|
|
231
312
|
});
|
|
232
|
-
(0,
|
|
313
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {});
|
|
233
314
|
return (_ctx, _cache) => {
|
|
234
|
-
const _component_kq_option = (0,
|
|
315
|
+
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
235
316
|
|
|
236
|
-
const _component_kq_select = (0,
|
|
317
|
+
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
237
318
|
|
|
238
|
-
return (0,
|
|
319
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
|
|
239
320
|
teleported: true,
|
|
240
321
|
multiple: "",
|
|
241
322
|
"collapse-tags": "",
|
|
242
323
|
onChange: changeLayer,
|
|
243
|
-
modelValue: (0,
|
|
244
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,
|
|
324
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(selectedLayers),
|
|
325
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(selectedLayers) ? selectedLayers.value = $event : selectedLayers = $event),
|
|
245
326
|
"value-key": "id",
|
|
246
|
-
placeholder: (0,
|
|
327
|
+
placeholder: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).selectLayer,
|
|
247
328
|
style: {
|
|
248
329
|
"width": "220px"
|
|
249
330
|
}
|
|
250
331
|
}, {
|
|
251
|
-
default: (0,
|
|
252
|
-
return (0,
|
|
332
|
+
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)(layerTreeData), item => {
|
|
333
|
+
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, {
|
|
253
334
|
key: item.guid,
|
|
254
335
|
label: item.name,
|
|
255
336
|
value: item.guid
|
|
@@ -309,29 +390,29 @@ const CompareMapvue_type_script_setup_true_lang_js_default_ = {
|
|
|
309
390
|
emit
|
|
310
391
|
}) {
|
|
311
392
|
const props = __props;
|
|
312
|
-
let offsetTop = (0,
|
|
313
|
-
let language = (0,
|
|
314
|
-
let btnShow = (0,
|
|
393
|
+
let offsetTop = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("auto");
|
|
394
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
395
|
+
let btnShow = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); // 分屏返回按钮
|
|
315
396
|
|
|
316
397
|
let viewModel = null;
|
|
317
|
-
let showTree1 = (0,
|
|
398
|
+
let showTree1 = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); // 图层树1
|
|
318
399
|
|
|
319
|
-
let showTree2 = (0,
|
|
400
|
+
let showTree2 = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); // 图层树2
|
|
320
401
|
|
|
321
|
-
let showTree3 = (0,
|
|
402
|
+
let showTree3 = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); // 图层树3
|
|
322
403
|
|
|
323
|
-
let showTree4 = (0,
|
|
404
|
+
let showTree4 = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); // 图层树4
|
|
324
405
|
|
|
325
|
-
let tree1Index = (0,
|
|
326
|
-
let tree2Index = (0,
|
|
327
|
-
let tree3Index = (0,
|
|
328
|
-
let tree4Index = (0,
|
|
329
|
-
(0,
|
|
406
|
+
let tree1Index = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(0);
|
|
407
|
+
let tree2Index = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(1);
|
|
408
|
+
let tree3Index = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(2);
|
|
409
|
+
let tree4Index = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(3);
|
|
410
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
330
411
|
offsetTop.value = props.offsetTop;
|
|
331
|
-
|
|
412
|
+
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
332
413
|
if (scenceView) {
|
|
333
414
|
language.value = scenceView._language;
|
|
334
|
-
viewModel = new CompareMapViewModel(scenceView);
|
|
415
|
+
viewModel = new CompareMapViewModel/* default */.Z(scenceView);
|
|
335
416
|
}
|
|
336
417
|
});
|
|
337
418
|
}); //切换窗口模式
|
|
@@ -382,7 +463,7 @@ const CompareMapvue_type_script_setup_true_lang_js_default_ = {
|
|
|
382
463
|
} // 销毁
|
|
383
464
|
|
|
384
465
|
|
|
385
|
-
(0,
|
|
466
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
386
467
|
resetMode();
|
|
387
468
|
});
|
|
388
469
|
expose({
|
|
@@ -392,57 +473,57 @@ const CompareMapvue_type_script_setup_true_lang_js_default_ = {
|
|
|
392
473
|
setLayerState
|
|
393
474
|
});
|
|
394
475
|
return (_ctx, _cache) => {
|
|
395
|
-
const _component_kq_icon = (0,
|
|
476
|
+
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
396
477
|
|
|
397
|
-
const _component_kq_button = (0,
|
|
478
|
+
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
398
479
|
|
|
399
|
-
return (0,
|
|
480
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", CompareMapvue_type_script_setup_true_lang_js_hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(showTree1) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(CompareMapTree), {
|
|
400
481
|
key: 0,
|
|
401
482
|
class: "layer-tree-1",
|
|
402
|
-
style: (0,
|
|
403
|
-
top: (0,
|
|
483
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)({
|
|
484
|
+
top: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(offsetTop)
|
|
404
485
|
}),
|
|
405
|
-
index: (0,
|
|
486
|
+
index: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(tree1Index),
|
|
406
487
|
setLayerState: setLayerState
|
|
407
488
|
}, null, 8
|
|
408
489
|
/* PROPS */
|
|
409
|
-
, ["style", "index"])) : (0,
|
|
490
|
+
, ["style", "index"])) : (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)(showTree2) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(CompareMapTree), {
|
|
410
491
|
key: 1,
|
|
411
492
|
class: "layer-tree-2",
|
|
412
|
-
style: (0,
|
|
413
|
-
top: (0,
|
|
493
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)({
|
|
494
|
+
top: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(offsetTop)
|
|
414
495
|
}),
|
|
415
|
-
index: (0,
|
|
496
|
+
index: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(tree2Index),
|
|
416
497
|
setLayerState: setLayerState
|
|
417
498
|
}, null, 8
|
|
418
499
|
/* PROPS */
|
|
419
|
-
, ["style", "index"])) : (0,
|
|
500
|
+
, ["style", "index"])) : (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)(showTree3) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(CompareMapTree), {
|
|
420
501
|
key: 2,
|
|
421
502
|
class: "layer-tree-3",
|
|
422
|
-
index: (0,
|
|
503
|
+
index: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(tree3Index),
|
|
423
504
|
setLayerState: setLayerState
|
|
424
505
|
}, null, 8
|
|
425
506
|
/* PROPS */
|
|
426
|
-
, ["index"])) : (0,
|
|
507
|
+
, ["index"])) : (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)(showTree4) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(CompareMapTree), {
|
|
427
508
|
key: 3,
|
|
428
509
|
class: "layer-tree-4",
|
|
429
|
-
index: (0,
|
|
510
|
+
index: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(tree4Index),
|
|
430
511
|
setLayerState: setLayerState
|
|
431
512
|
}, null, 8
|
|
432
513
|
/* PROPS */
|
|
433
|
-
, ["index"])) : (0,
|
|
514
|
+
, ["index"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" 返回 "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
434
515
|
circle: "",
|
|
435
|
-
title: (0,
|
|
516
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).return,
|
|
436
517
|
class: "close-button",
|
|
437
|
-
style: (0,
|
|
438
|
-
top: (0,
|
|
518
|
+
style: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeStyle)({
|
|
519
|
+
top: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(offsetTop)
|
|
439
520
|
}),
|
|
440
521
|
onClick: _cache[0] || (_cache[0] = $event => goBack())
|
|
441
522
|
}, {
|
|
442
|
-
default: (0,
|
|
523
|
+
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, {
|
|
443
524
|
size: 26
|
|
444
525
|
}, {
|
|
445
|
-
default: (0,
|
|
526
|
+
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_.IconBack))]),
|
|
446
527
|
_: 1
|
|
447
528
|
/* STABLE */
|
|
448
529
|
|
|
@@ -452,7 +533,7 @@ const CompareMapvue_type_script_setup_true_lang_js_default_ = {
|
|
|
452
533
|
|
|
453
534
|
}, 8
|
|
454
535
|
/* PROPS */
|
|
455
|
-
, ["title", "style"]), [[
|
|
536
|
+
, ["title", "style"]), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(btnShow)]])]);
|
|
456
537
|
};
|
|
457
538
|
}
|
|
458
539
|
|
|
@@ -466,9 +547,9 @@ const CompareMapvue_type_script_setup_true_lang_js_default_ = {
|
|
|
466
547
|
const CompareMap_exports_ = CompareMapvue_type_script_setup_true_lang_js;
|
|
467
548
|
|
|
468
549
|
/* harmony default export */ var CompareMap = (CompareMap_exports_);
|
|
469
|
-
|
|
470
|
-
var
|
|
471
|
-
var init_js_default = /*#__PURE__*/__webpack_require__.n(
|
|
550
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
551
|
+
var init_js_ = __webpack_require__(5406);
|
|
552
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
472
553
|
;// CONCATENATED MODULE: ./src/webgl/comparemap/index.js
|
|
473
554
|
|
|
474
555
|
|
|
@@ -480,6 +561,7 @@ CompareMap.install = (Vue, opts) => {
|
|
|
480
561
|
};
|
|
481
562
|
|
|
482
563
|
|
|
564
|
+
}();
|
|
483
565
|
module.exports = __webpack_exports__;
|
|
484
566
|
/******/ })()
|
|
485
567
|
;
|