@kq_npm/client3d_webgl_vue 0.0.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 +1503 -0
- package/adddata/style/adddata.css +1 -0
- package/adddata/style/css.js +3 -0
- package/adddata/style/index.js +3 -0
- package/baseterraingallery/index.js +394 -0
- package/baseterraingallery/style/baseterraingallery.css +1 -0
- package/baseterraingallery/style/css.js +3 -0
- package/baseterraingallery/style/index.js +3 -0
- package/boxclip/index.js +1076 -0
- package/boxclip/style/boxclip.css +1 -0
- package/boxclip/style/css.js +3 -0
- package/boxclip/style/index.js +3 -0
- package/comparemap/index.js +466 -0
- package/comparemap/style/comparemap.css +1 -0
- package/comparemap/style/css.js +3 -0
- package/comparemap/style/index.js +3 -0
- package/css.js +3 -0
- package/excavatefillanalysis/index.js +599 -0
- package/excavatefillanalysis/style/css.js +3 -0
- package/excavatefillanalysis/style/excavatefillanalysis.css +1 -0
- package/excavatefillanalysis/style/index.js +3 -0
- package/flight/index.js +963 -0
- package/flight/style/css.js +3 -0
- package/flight/style/flight.css +1 -0
- package/flight/style/index.js +3 -0
- package/floodanalysis/index.js +824 -0
- package/floodanalysis/style/css.js +3 -0
- package/floodanalysis/style/floodanalysis.css +1 -0
- package/floodanalysis/style/index.js +3 -0
- package/gpuspatialquery/index.js +906 -0
- package/gpuspatialquery/style/css.js +3 -0
- package/gpuspatialquery/style/gpuspatialquery.css +1 -0
- package/gpuspatialquery/style/index.js +3 -0
- package/hawkeye/index.js +239 -0
- package/index.js +19807 -0
- package/isolineanalysis/index.js +2476 -0
- package/isolineanalysis/style/css.js +3 -0
- package/isolineanalysis/style/index.js +3 -0
- package/isolineanalysis/style/isolineanalysis.css +1 -0
- package/measure/index.js +560 -0
- package/measure/style/css.js +3 -0
- package/measure/style/index.js +3 -0
- package/measure/style/measure.css +1 -0
- package/modelselect/index.js +375 -0
- package/modelselect/style/css.js +3 -0
- package/modelselect/style/index.js +3 -0
- package/modelselect/style/modelselect.css +1 -0
- package/package.json +1 -0
- package/particleeffect/index.js +1079 -0
- package/particleeffect/style/css.js +3 -0
- package/particleeffect/style/index.js +3 -0
- package/particleeffect/style/particleeffect.css +1 -0
- package/planeclip/index.js +738 -0
- package/planeclip/style/css.js +3 -0
- package/planeclip/style/index.js +3 -0
- package/planeclip/style/planeclip.css +1 -0
- package/profileanalysis/index.js +781 -0
- package/profileanalysis/style/css.js +3 -0
- package/profileanalysis/style/index.js +3 -0
- package/profileanalysis/style/profileanalysis.css +1 -0
- package/roller/index.js +537 -0
- package/roller/style/css.js +3 -0
- package/roller/style/index.js +3 -0
- package/roller/style/roller.css +1 -0
- package/scenceview/index.js +1775 -0
- package/scenceview/style/css.js +3 -0
- package/scenceview/style/index.js +3 -0
- package/scenceview/style/scenceview.css +1 -0
- package/screenshot/index.js +551 -0
- package/screenshot/style/css.js +3 -0
- package/screenshot/style/index.js +3 -0
- package/screenshot/style/screenshot.css +1 -0
- package/shadowanalysis/index.js +1042 -0
- package/shadowanalysis/style/css.js +3 -0
- package/shadowanalysis/style/index.js +3 -0
- package/shadowanalysis/style/shadowanalysis.css +1 -0
- package/sightlineanalysis/index.js +1100 -0
- package/sightlineanalysis/style/css.js +3 -0
- package/sightlineanalysis/style/divpoint.css +1 -0
- package/sightlineanalysis/style/index.js +3 -0
- package/sightlineanalysis/style/sightlineanalysis.css +1 -0
- package/skylineanalysis/index.js +771 -0
- package/skylineanalysis/style/css.js +3 -0
- package/skylineanalysis/style/index.js +3 -0
- package/skylineanalysis/style/skylineanalysis.css +1 -0
- package/slopeanalysis/index.js +1028 -0
- package/slopeanalysis/style/css.js +3 -0
- package/slopeanalysis/style/index.js +3 -0
- package/slopeanalysis/style/slopeanalysis.css +1 -0
- package/style.css +1 -0
- package/style.js +3 -0
- package/terrainoperation/index.js +508 -0
- package/terrainoperation/style/css.js +3 -0
- package/terrainoperation/style/index.js +3 -0
- package/terrainoperation/style/terrainoperation.css +1 -0
- package/viewshedanalysis/index.js +582 -0
- package/viewshedanalysis/style/css.js +3 -0
- package/viewshedanalysis/style/index.js +3 -0
- package/viewshedanalysis/style/viewshedanalysis.css +1 -0
- package/weathereffect/index.js +835 -0
- package/weathereffect/style/css.js +3 -0
- package/weathereffect/style/index.js +3 -0
- package/weathereffect/style/weathereffect.css +1 -0
|
@@ -0,0 +1,1100 @@
|
|
|
1
|
+
/******/ (function() { // webpackBootstrap
|
|
2
|
+
/******/ "use strict";
|
|
3
|
+
/******/ var __webpack_modules__ = ({
|
|
4
|
+
|
|
5
|
+
/***/ 705:
|
|
6
|
+
/***/ (function(module) {
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
/*
|
|
10
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
11
|
+
Author Tobias Koppers @sokra
|
|
12
|
+
*/
|
|
13
|
+
// css base code, injected by the css-loader
|
|
14
|
+
// eslint-disable-next-line func-names
|
|
15
|
+
|
|
16
|
+
module.exports = function (cssWithMappingToString) {
|
|
17
|
+
var list = []; // return the list of modules as css string
|
|
18
|
+
|
|
19
|
+
list.toString = function toString() {
|
|
20
|
+
return this.map(function (item) {
|
|
21
|
+
var content = cssWithMappingToString(item);
|
|
22
|
+
|
|
23
|
+
if (item[2]) {
|
|
24
|
+
return "@media ".concat(item[2], " {").concat(content, "}");
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
return content;
|
|
28
|
+
}).join("");
|
|
29
|
+
}; // import a list of modules into the list
|
|
30
|
+
// eslint-disable-next-line func-names
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
list.i = function (modules, mediaQuery, dedupe) {
|
|
34
|
+
if (typeof modules === "string") {
|
|
35
|
+
// eslint-disable-next-line no-param-reassign
|
|
36
|
+
modules = [[null, modules, ""]];
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
var alreadyImportedModules = {};
|
|
40
|
+
|
|
41
|
+
if (dedupe) {
|
|
42
|
+
for (var i = 0; i < this.length; i++) {
|
|
43
|
+
// eslint-disable-next-line prefer-destructuring
|
|
44
|
+
var id = this[i][0];
|
|
45
|
+
|
|
46
|
+
if (id != null) {
|
|
47
|
+
alreadyImportedModules[id] = true;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
for (var _i = 0; _i < modules.length; _i++) {
|
|
53
|
+
var item = [].concat(modules[_i]);
|
|
54
|
+
|
|
55
|
+
if (dedupe && alreadyImportedModules[item[0]]) {
|
|
56
|
+
// eslint-disable-next-line no-continue
|
|
57
|
+
continue;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
if (mediaQuery) {
|
|
61
|
+
if (!item[2]) {
|
|
62
|
+
item[2] = mediaQuery;
|
|
63
|
+
} else {
|
|
64
|
+
item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
list.push(item);
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
return list;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
/***/ }),
|
|
76
|
+
|
|
77
|
+
/***/ 868:
|
|
78
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
79
|
+
|
|
80
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(705);
|
|
81
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
82
|
+
// Imports
|
|
83
|
+
|
|
84
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
|
|
85
|
+
// Module
|
|
86
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".coord{background:rgba(42,42,42,.8);border-radius:4px;padding:5px;color:#edffff;font-size:15px}.coord .triangle{display:block;height:15px;width:15px;background-color:inherit;border:inherit;position:absolute;bottom:-7px;left:calc(50% - 10px);clip-path:polygon(0% 0%, 100% 100%, 0% 100%);transform:rotate(-45deg)}", ""]);
|
|
87
|
+
// Exports
|
|
88
|
+
/* harmony default export */ __webpack_exports__["Z"] = (___CSS_LOADER_EXPORT___);
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
/***/ }),
|
|
92
|
+
|
|
93
|
+
/***/ 379:
|
|
94
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
var isOldIE = function isOldIE() {
|
|
99
|
+
var memo;
|
|
100
|
+
return function memorize() {
|
|
101
|
+
if (typeof memo === 'undefined') {
|
|
102
|
+
// Test for IE <= 9 as proposed by Browserhacks
|
|
103
|
+
// @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805
|
|
104
|
+
// Tests for existence of standard globals is to allow style-loader
|
|
105
|
+
// to operate correctly into non-standard environments
|
|
106
|
+
// @see https://github.com/webpack-contrib/style-loader/issues/177
|
|
107
|
+
memo = Boolean(window && document && document.all && !window.atob);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
return memo;
|
|
111
|
+
};
|
|
112
|
+
}();
|
|
113
|
+
|
|
114
|
+
var getTarget = function getTarget() {
|
|
115
|
+
var memo = {};
|
|
116
|
+
return function memorize(target) {
|
|
117
|
+
if (typeof memo[target] === 'undefined') {
|
|
118
|
+
var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself
|
|
119
|
+
|
|
120
|
+
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
|
|
121
|
+
try {
|
|
122
|
+
// This will throw an exception if access to iframe is blocked
|
|
123
|
+
// due to cross-origin restrictions
|
|
124
|
+
styleTarget = styleTarget.contentDocument.head;
|
|
125
|
+
} catch (e) {
|
|
126
|
+
// istanbul ignore next
|
|
127
|
+
styleTarget = null;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
memo[target] = styleTarget;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
return memo[target];
|
|
135
|
+
};
|
|
136
|
+
}();
|
|
137
|
+
|
|
138
|
+
var stylesInDom = [];
|
|
139
|
+
|
|
140
|
+
function getIndexByIdentifier(identifier) {
|
|
141
|
+
var result = -1;
|
|
142
|
+
|
|
143
|
+
for (var i = 0; i < stylesInDom.length; i++) {
|
|
144
|
+
if (stylesInDom[i].identifier === identifier) {
|
|
145
|
+
result = i;
|
|
146
|
+
break;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
return result;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
function modulesToDom(list, options) {
|
|
154
|
+
var idCountMap = {};
|
|
155
|
+
var identifiers = [];
|
|
156
|
+
|
|
157
|
+
for (var i = 0; i < list.length; i++) {
|
|
158
|
+
var item = list[i];
|
|
159
|
+
var id = options.base ? item[0] + options.base : item[0];
|
|
160
|
+
var count = idCountMap[id] || 0;
|
|
161
|
+
var identifier = "".concat(id, " ").concat(count);
|
|
162
|
+
idCountMap[id] = count + 1;
|
|
163
|
+
var index = getIndexByIdentifier(identifier);
|
|
164
|
+
var obj = {
|
|
165
|
+
css: item[1],
|
|
166
|
+
media: item[2],
|
|
167
|
+
sourceMap: item[3]
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
if (index !== -1) {
|
|
171
|
+
stylesInDom[index].references++;
|
|
172
|
+
stylesInDom[index].updater(obj);
|
|
173
|
+
} else {
|
|
174
|
+
stylesInDom.push({
|
|
175
|
+
identifier: identifier,
|
|
176
|
+
updater: addStyle(obj, options),
|
|
177
|
+
references: 1
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
identifiers.push(identifier);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
return identifiers;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
function insertStyleElement(options) {
|
|
188
|
+
var style = document.createElement('style');
|
|
189
|
+
var attributes = options.attributes || {};
|
|
190
|
+
|
|
191
|
+
if (typeof attributes.nonce === 'undefined') {
|
|
192
|
+
var nonce = true ? __webpack_require__.nc : 0;
|
|
193
|
+
|
|
194
|
+
if (nonce) {
|
|
195
|
+
attributes.nonce = nonce;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
Object.keys(attributes).forEach(function (key) {
|
|
200
|
+
style.setAttribute(key, attributes[key]);
|
|
201
|
+
});
|
|
202
|
+
|
|
203
|
+
if (typeof options.insert === 'function') {
|
|
204
|
+
options.insert(style);
|
|
205
|
+
} else {
|
|
206
|
+
var target = getTarget(options.insert || 'head');
|
|
207
|
+
|
|
208
|
+
if (!target) {
|
|
209
|
+
throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
target.appendChild(style);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
return style;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
function removeStyleElement(style) {
|
|
219
|
+
// istanbul ignore if
|
|
220
|
+
if (style.parentNode === null) {
|
|
221
|
+
return false;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
style.parentNode.removeChild(style);
|
|
225
|
+
}
|
|
226
|
+
/* istanbul ignore next */
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
var replaceText = function replaceText() {
|
|
230
|
+
var textStore = [];
|
|
231
|
+
return function replace(index, replacement) {
|
|
232
|
+
textStore[index] = replacement;
|
|
233
|
+
return textStore.filter(Boolean).join('\n');
|
|
234
|
+
};
|
|
235
|
+
}();
|
|
236
|
+
|
|
237
|
+
function applyToSingletonTag(style, index, remove, obj) {
|
|
238
|
+
var css = remove ? '' : obj.media ? "@media ".concat(obj.media, " {").concat(obj.css, "}") : obj.css; // For old IE
|
|
239
|
+
|
|
240
|
+
/* istanbul ignore if */
|
|
241
|
+
|
|
242
|
+
if (style.styleSheet) {
|
|
243
|
+
style.styleSheet.cssText = replaceText(index, css);
|
|
244
|
+
} else {
|
|
245
|
+
var cssNode = document.createTextNode(css);
|
|
246
|
+
var childNodes = style.childNodes;
|
|
247
|
+
|
|
248
|
+
if (childNodes[index]) {
|
|
249
|
+
style.removeChild(childNodes[index]);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
if (childNodes.length) {
|
|
253
|
+
style.insertBefore(cssNode, childNodes[index]);
|
|
254
|
+
} else {
|
|
255
|
+
style.appendChild(cssNode);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
function applyToTag(style, options, obj) {
|
|
261
|
+
var css = obj.css;
|
|
262
|
+
var media = obj.media;
|
|
263
|
+
var sourceMap = obj.sourceMap;
|
|
264
|
+
|
|
265
|
+
if (media) {
|
|
266
|
+
style.setAttribute('media', media);
|
|
267
|
+
} else {
|
|
268
|
+
style.removeAttribute('media');
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
if (sourceMap && typeof btoa !== 'undefined') {
|
|
272
|
+
css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
|
|
273
|
+
} // For old IE
|
|
274
|
+
|
|
275
|
+
/* istanbul ignore if */
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
if (style.styleSheet) {
|
|
279
|
+
style.styleSheet.cssText = css;
|
|
280
|
+
} else {
|
|
281
|
+
while (style.firstChild) {
|
|
282
|
+
style.removeChild(style.firstChild);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
style.appendChild(document.createTextNode(css));
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
var singleton = null;
|
|
290
|
+
var singletonCounter = 0;
|
|
291
|
+
|
|
292
|
+
function addStyle(obj, options) {
|
|
293
|
+
var style;
|
|
294
|
+
var update;
|
|
295
|
+
var remove;
|
|
296
|
+
|
|
297
|
+
if (options.singleton) {
|
|
298
|
+
var styleIndex = singletonCounter++;
|
|
299
|
+
style = singleton || (singleton = insertStyleElement(options));
|
|
300
|
+
update = applyToSingletonTag.bind(null, style, styleIndex, false);
|
|
301
|
+
remove = applyToSingletonTag.bind(null, style, styleIndex, true);
|
|
302
|
+
} else {
|
|
303
|
+
style = insertStyleElement(options);
|
|
304
|
+
update = applyToTag.bind(null, style, options);
|
|
305
|
+
|
|
306
|
+
remove = function remove() {
|
|
307
|
+
removeStyleElement(style);
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
update(obj);
|
|
312
|
+
return function updateStyle(newObj) {
|
|
313
|
+
if (newObj) {
|
|
314
|
+
if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {
|
|
315
|
+
return;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
update(obj = newObj);
|
|
319
|
+
} else {
|
|
320
|
+
remove();
|
|
321
|
+
}
|
|
322
|
+
};
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
module.exports = function (list, options) {
|
|
326
|
+
options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
|
|
327
|
+
// tags it will allow on a page
|
|
328
|
+
|
|
329
|
+
if (!options.singleton && typeof options.singleton !== 'boolean') {
|
|
330
|
+
options.singleton = isOldIE();
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
list = list || [];
|
|
334
|
+
var lastIdentifiers = modulesToDom(list, options);
|
|
335
|
+
return function update(newList) {
|
|
336
|
+
newList = newList || [];
|
|
337
|
+
|
|
338
|
+
if (Object.prototype.toString.call(newList) !== '[object Array]') {
|
|
339
|
+
return;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
for (var i = 0; i < lastIdentifiers.length; i++) {
|
|
343
|
+
var identifier = lastIdentifiers[i];
|
|
344
|
+
var index = getIndexByIdentifier(identifier);
|
|
345
|
+
stylesInDom[index].references--;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
var newLastIdentifiers = modulesToDom(newList, options);
|
|
349
|
+
|
|
350
|
+
for (var _i = 0; _i < lastIdentifiers.length; _i++) {
|
|
351
|
+
var _identifier = lastIdentifiers[_i];
|
|
352
|
+
|
|
353
|
+
var _index = getIndexByIdentifier(_identifier);
|
|
354
|
+
|
|
355
|
+
if (stylesInDom[_index].references === 0) {
|
|
356
|
+
stylesInDom[_index].updater();
|
|
357
|
+
|
|
358
|
+
stylesInDom.splice(_index, 1);
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
lastIdentifiers = newLastIdentifiers;
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
/***/ })
|
|
367
|
+
|
|
368
|
+
/******/ });
|
|
369
|
+
/************************************************************************/
|
|
370
|
+
/******/ // The module cache
|
|
371
|
+
/******/ var __webpack_module_cache__ = {};
|
|
372
|
+
/******/
|
|
373
|
+
/******/ // The require function
|
|
374
|
+
/******/ function __webpack_require__(moduleId) {
|
|
375
|
+
/******/ // Check if module is in cache
|
|
376
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
377
|
+
/******/ if (cachedModule !== undefined) {
|
|
378
|
+
/******/ return cachedModule.exports;
|
|
379
|
+
/******/ }
|
|
380
|
+
/******/ // Create a new module (and put it into the cache)
|
|
381
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
382
|
+
/******/ id: moduleId,
|
|
383
|
+
/******/ // no module.loaded needed
|
|
384
|
+
/******/ exports: {}
|
|
385
|
+
/******/ };
|
|
386
|
+
/******/
|
|
387
|
+
/******/ // Execute the module function
|
|
388
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
389
|
+
/******/
|
|
390
|
+
/******/ // Return the exports of the module
|
|
391
|
+
/******/ return module.exports;
|
|
392
|
+
/******/ }
|
|
393
|
+
/******/
|
|
394
|
+
/************************************************************************/
|
|
395
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
396
|
+
/******/ !function() {
|
|
397
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
398
|
+
/******/ __webpack_require__.n = function(module) {
|
|
399
|
+
/******/ var getter = module && module.__esModule ?
|
|
400
|
+
/******/ function() { return module['default']; } :
|
|
401
|
+
/******/ function() { return module; };
|
|
402
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
403
|
+
/******/ return getter;
|
|
404
|
+
/******/ };
|
|
405
|
+
/******/ }();
|
|
406
|
+
/******/
|
|
407
|
+
/******/ /* webpack/runtime/define property getters */
|
|
408
|
+
/******/ !function() {
|
|
409
|
+
/******/ // define getter functions for harmony exports
|
|
410
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
411
|
+
/******/ for(var key in definition) {
|
|
412
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
413
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
414
|
+
/******/ }
|
|
415
|
+
/******/ }
|
|
416
|
+
/******/ };
|
|
417
|
+
/******/ }();
|
|
418
|
+
/******/
|
|
419
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
420
|
+
/******/ !function() {
|
|
421
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
422
|
+
/******/ }();
|
|
423
|
+
/******/
|
|
424
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
425
|
+
/******/ !function() {
|
|
426
|
+
/******/ // define __esModule on exports
|
|
427
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
428
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
429
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
430
|
+
/******/ }
|
|
431
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
432
|
+
/******/ };
|
|
433
|
+
/******/ }();
|
|
434
|
+
/******/
|
|
435
|
+
/******/ /* webpack/runtime/nonce */
|
|
436
|
+
/******/ !function() {
|
|
437
|
+
/******/ __webpack_require__.nc = undefined;
|
|
438
|
+
/******/ }();
|
|
439
|
+
/******/
|
|
440
|
+
/************************************************************************/
|
|
441
|
+
var __webpack_exports__ = {};
|
|
442
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
443
|
+
!function() {
|
|
444
|
+
// ESM COMPAT FLAG
|
|
445
|
+
__webpack_require__.r(__webpack_exports__);
|
|
446
|
+
|
|
447
|
+
// EXPORTS
|
|
448
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
449
|
+
"SightlineAnalysisViewModel": function() { return /* reexport */ SightlineAnalysisViewModel; },
|
|
450
|
+
"default": function() { return /* reexport */ SightlineAnalysis; }
|
|
451
|
+
});
|
|
452
|
+
|
|
453
|
+
;// CONCATENATED MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
454
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject = require("vue");
|
|
455
|
+
;// CONCATENATED MODULE: external "@zpc_npm/vue-iclient-common/_utils/gis-utils"
|
|
456
|
+
var gis_utils_namespaceObject = require("@zpc_npm/vue-iclient-common/_utils/gis-utils");
|
|
457
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
458
|
+
function _defineProperty(obj, key, value) {
|
|
459
|
+
if (key in obj) {
|
|
460
|
+
Object.defineProperty(obj, key, {
|
|
461
|
+
value: value,
|
|
462
|
+
enumerable: true,
|
|
463
|
+
configurable: true,
|
|
464
|
+
writable: true
|
|
465
|
+
});
|
|
466
|
+
} else {
|
|
467
|
+
obj[key] = value;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
return obj;
|
|
471
|
+
}
|
|
472
|
+
;// CONCATENATED MODULE: external "core-js/modules/es.array.includes.js"
|
|
473
|
+
var es_array_includes_js_namespaceObject = require("core-js/modules/es.array.includes.js");
|
|
474
|
+
// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
|
|
475
|
+
var injectStylesIntoStyleTag = __webpack_require__(379);
|
|
476
|
+
var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
|
|
477
|
+
// EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/webgl/sightlineanalysis/style/divpoint.scss
|
|
478
|
+
var divpoint = __webpack_require__(868);
|
|
479
|
+
;// CONCATENATED MODULE: ./src/webgl/sightlineanalysis/style/divpoint.scss
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
var options = {};
|
|
484
|
+
|
|
485
|
+
options.insert = "head";
|
|
486
|
+
options.singleton = false;
|
|
487
|
+
|
|
488
|
+
var update = injectStylesIntoStyleTag_default()(divpoint/* default */.Z, options);
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
/* harmony default export */ var style_divpoint = (divpoint/* default.locals */.Z.locals || {});
|
|
493
|
+
;// CONCATENATED MODULE: ./src/webgl/sightlineanalysis/SightlineAnalysisViewModel.js
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
//通视分析逻辑类
|
|
497
|
+
|
|
498
|
+
class SightlineAnalysisViewModel {
|
|
499
|
+
constructor(scenceView, options) {
|
|
500
|
+
_defineProperty(this, "_viewer", null);
|
|
501
|
+
|
|
502
|
+
_defineProperty(this, "_sightlineAnalysis", null);
|
|
503
|
+
|
|
504
|
+
_defineProperty(this, "_drawManager", null);
|
|
505
|
+
|
|
506
|
+
_defineProperty(this, "_removeEventListener", null);
|
|
507
|
+
|
|
508
|
+
_defineProperty(this, "_obstacleColor", Cesium.Color.RED);
|
|
509
|
+
|
|
510
|
+
_defineProperty(this, "_isLabel", false);
|
|
511
|
+
|
|
512
|
+
_defineProperty(this, "_addType", 0);
|
|
513
|
+
|
|
514
|
+
_defineProperty(this, "_pointCollection", []);
|
|
515
|
+
|
|
516
|
+
_defineProperty(this, "_cartographicList", []);
|
|
517
|
+
|
|
518
|
+
_defineProperty(this, "_highlightIds", []);
|
|
519
|
+
|
|
520
|
+
this._viewer = scenceView._viewer;
|
|
521
|
+
this._viewer.scene.postProcessStages._fxaa.enabled = true;
|
|
522
|
+
this._viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
523
|
+
|
|
524
|
+
options.viewer = this._viewer;
|
|
525
|
+
|
|
526
|
+
if (options.visibleColor) {
|
|
527
|
+
options.visibleColor = Cesium.Color.fromCssColorString(options.visibleColor);
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
if (options.visibleColor) {
|
|
531
|
+
options.invisibleColor = Cesium.Color.fromCssColorString(options.invisibleColor);
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
if (options.obstacleColor) {
|
|
535
|
+
this._obstacleColor = Cesium.Color.fromCssColorString(options.obstacleColor);
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
this._isLabel = options.isLabel;
|
|
539
|
+
options.isLabel = false;
|
|
540
|
+
this._sightlineAnalysis = new Cesium.Kq3dSightAnalysis(options);
|
|
541
|
+
this._drawManager = scenceView._drawManager;
|
|
542
|
+
let that = this;
|
|
543
|
+
this._removeEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
544
|
+
if (shape && shape.type === "marker") {
|
|
545
|
+
if (that._addType === 1) {
|
|
546
|
+
that._sightlineAnalysis.setSeePoint(shape.position);
|
|
547
|
+
|
|
548
|
+
that.clearDisplay();
|
|
549
|
+
that.createLabels(that._sightlineAnalysis._pickedPos);
|
|
550
|
+
that.highlightObstacles(that._sightlineAnalysis._pickedFeatures);
|
|
551
|
+
} else if (that._addType === 2) {
|
|
552
|
+
let result = that._sightlineAnalysis.addTargetPoint(shape.position);
|
|
553
|
+
|
|
554
|
+
that.createLabels(result.cartographic);
|
|
555
|
+
that.highlightObstacles(result.id);
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
that._drawManager.clear();
|
|
559
|
+
}
|
|
560
|
+
});
|
|
561
|
+
} //创建点位置
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
createDivPoint(position) {
|
|
565
|
+
if (position) {
|
|
566
|
+
var longitude = Cesium.Math.toDegrees(position.longitude).toFixed(5);
|
|
567
|
+
var latitude = Cesium.Math.toDegrees(position.latitude).toFixed(5);
|
|
568
|
+
var height = position.height.toFixed(3);
|
|
569
|
+
position = Cesium.Cartesian3.fromRadians(position.longitude, position.latitude, position.height);
|
|
570
|
+
var html = `<div class="coord">
|
|
571
|
+
<table>
|
|
572
|
+
<tr>
|
|
573
|
+
<td>X:</td>
|
|
574
|
+
<td>{X}</td>
|
|
575
|
+
</tr>
|
|
576
|
+
<tr>
|
|
577
|
+
<td>Y:</td>
|
|
578
|
+
<td>{Y}</td>
|
|
579
|
+
</tr>
|
|
580
|
+
<tr>
|
|
581
|
+
<td>Z:</td>
|
|
582
|
+
<td>{Z}</td>
|
|
583
|
+
</tr>
|
|
584
|
+
</table>
|
|
585
|
+
<span class="triangle"></span>
|
|
586
|
+
</div>`;
|
|
587
|
+
html = html.replace('{X}', longitude).replace('{Y}', latitude).replace('{Z}', height);
|
|
588
|
+
var divpoint = new Cesium.Kq3dHtmlTag(this._viewer, {
|
|
589
|
+
html: html,
|
|
590
|
+
position: position,
|
|
591
|
+
anchor: [-50, -95],
|
|
592
|
+
noEvent: true
|
|
593
|
+
});
|
|
594
|
+
|
|
595
|
+
if (!this._isLabel) {
|
|
596
|
+
divpoint.setVisible(false);
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
this._pointCollection.push(divpoint);
|
|
600
|
+
}
|
|
601
|
+
} //创建label标签
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
createLabels(positions) {
|
|
605
|
+
for (let i = 0; i < positions.length; i++) {
|
|
606
|
+
let include = this._cartographicList.some(item => {
|
|
607
|
+
if (item.longitude === positions[i].longitude && item.latitude === positions[i].latitude && item.height === positions[i].height) {
|
|
608
|
+
return true;
|
|
609
|
+
}
|
|
610
|
+
});
|
|
611
|
+
|
|
612
|
+
if (!include) {
|
|
613
|
+
this.createDivPoint(positions[i]);
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
this._cartographicList = [].concat(positions);
|
|
618
|
+
} //设置3DTileset颜色
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
set3DTilesetColor(color, ids) {
|
|
622
|
+
if (!ids) ids = [];
|
|
623
|
+
let primitives = this._viewer.scene.primitives._primitives;
|
|
624
|
+
|
|
625
|
+
for (let i = 0; i < primitives.length; i++) {
|
|
626
|
+
if (primitives[i] instanceof Cesium.Cesium3DTileset) {
|
|
627
|
+
primitives[i].style = new Cesium.Cesium3DTileStyle({
|
|
628
|
+
color: {
|
|
629
|
+
evaluateColor: function (feature, result) {
|
|
630
|
+
if (feature && feature.pickId && ids.includes(feature.pickId.key)) Cesium.Color.clone(color, result);else Cesium.Color.clone(Cesium.Color.WHITE, result);
|
|
631
|
+
return result;
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
});
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
} //高亮障碍物
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
highlightObstacles(ids) {
|
|
641
|
+
if (!ids || ids.length === 0) return;
|
|
642
|
+
this._highlightIds = ids;
|
|
643
|
+
this.set3DTilesetColor(this._obstacleColor, ids);
|
|
644
|
+
} //清除所有高亮效果
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
clearHighlights() {
|
|
648
|
+
this._highlightIds = [];
|
|
649
|
+
this.set3DTilesetColor(Cesium.Color.WHITE);
|
|
650
|
+
} //添加观察点
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
addSeePoint() {
|
|
654
|
+
this._addType = 1;
|
|
655
|
+
|
|
656
|
+
this._drawManager.startDraw("point", {
|
|
657
|
+
image: null
|
|
658
|
+
});
|
|
659
|
+
} //添加目标点
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
addTargetPoint() {
|
|
663
|
+
if (!this._sightlineAnalysis._seePoint) return;
|
|
664
|
+
this._addType = 2;
|
|
665
|
+
|
|
666
|
+
this._drawManager.startDraw("point", {
|
|
667
|
+
image: null
|
|
668
|
+
});
|
|
669
|
+
} //清除显示结果
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
clearDisplay() {
|
|
673
|
+
//清除标注
|
|
674
|
+
for (var i = 0; i < this._pointCollection.length; i++) {
|
|
675
|
+
this._pointCollection[i].destroy();
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
this._pointCollection = [];
|
|
679
|
+
} //清除全部
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
clearAll() {
|
|
683
|
+
this._drawManager.stopDraw();
|
|
684
|
+
|
|
685
|
+
this.clearDisplay();
|
|
686
|
+
this.clearHighlights();
|
|
687
|
+
this._sightlineAnalysis && this._sightlineAnalysis.remove();
|
|
688
|
+
} //销毁
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
destroy() {
|
|
692
|
+
this.clearAll(); //销毁分析对象
|
|
693
|
+
|
|
694
|
+
this._sightlineAnalysis && this._sightlineAnalysis.destroy();
|
|
695
|
+
this._sightlineAnalysis = null; //移除监听事件
|
|
696
|
+
|
|
697
|
+
this._removeEventListener && this._removeEventListener();
|
|
698
|
+
this._removeEventListener = null;
|
|
699
|
+
} //设置线宽
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
setLineWidth(lineWith) {
|
|
703
|
+
this._sightlineAnalysis.lineWith = Number(lineWith);
|
|
704
|
+
} //设置可视颜色
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
setVisibleColor(visibleColor) {
|
|
708
|
+
this._sightlineAnalysis.visibleColor = Cesium.Color.fromCssColorString(visibleColor);
|
|
709
|
+
} //设置不可视颜色
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
setInvisibleColor(invisibleColor) {
|
|
713
|
+
this._sightlineAnalysis.invisibleColor = Cesium.Color.fromCssColorString(invisibleColor);
|
|
714
|
+
} //设置障碍物颜色
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
setObstacleColor(obstacleColor) {
|
|
718
|
+
this._obstacleColor = Cesium.Color.fromCssColorString(obstacleColor);
|
|
719
|
+
|
|
720
|
+
if (this._highlightIds.length > 0) {
|
|
721
|
+
this.set3DTilesetColor(this._obstacleColor, this._highlightIds);
|
|
722
|
+
}
|
|
723
|
+
} //显示/隐藏标注
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
setShowLabel(isLabel) {
|
|
727
|
+
this._isLabel = isLabel;
|
|
728
|
+
|
|
729
|
+
for (var i = 0; i < this._pointCollection.length; i++) {
|
|
730
|
+
this._pointCollection[i].setVisible(isLabel);
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
}
|
|
735
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/sightlineanalysis/SightlineAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
736
|
+
|
|
737
|
+
const _hoisted_1 = {
|
|
738
|
+
class: "kq3d-sightline-analysis"
|
|
739
|
+
};
|
|
740
|
+
const _hoisted_2 = {
|
|
741
|
+
class: "kq3d-sightline-analysis-footer"
|
|
742
|
+
};
|
|
743
|
+
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
const __default__ = {
|
|
747
|
+
name: "Kq3dSightlineAnalysis"
|
|
748
|
+
};
|
|
749
|
+
/* harmony default export */ var SightlineAnalysisvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
750
|
+
props: {
|
|
751
|
+
// 设置参数
|
|
752
|
+
settingParams: {
|
|
753
|
+
type: Object
|
|
754
|
+
}
|
|
755
|
+
},
|
|
756
|
+
|
|
757
|
+
setup(__props, {
|
|
758
|
+
expose
|
|
759
|
+
}) {
|
|
760
|
+
const props = __props;
|
|
761
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
|
|
762
|
+
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(""); // 获取组件传参
|
|
763
|
+
|
|
764
|
+
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.reactive)({
|
|
765
|
+
lineWidth: props.settingParams && props.settingParams.lineWidth || 2,
|
|
766
|
+
visibleColor: props.settingParams && props.settingParams.visibleColor || "#67c23a",
|
|
767
|
+
invisibleColor: props.settingParams && props.settingParams.invisibleColor || "#e6a23c",
|
|
768
|
+
obstacleColor: props.settingParams && props.settingParams.obstacleColor || "#F56C6C",
|
|
769
|
+
obstaclePoint: props.settingParams && props.settingParams.obstaclePoint !== undefined || false,
|
|
770
|
+
highlightObstacle: props.settingParams && props.settingParams.highlightObstacle !== undefined || false,
|
|
771
|
+
isLabel: props.settingParams && props.settingParams.isLabel !== undefined || true
|
|
772
|
+
});
|
|
773
|
+
let viewModel = null;
|
|
774
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
775
|
+
//父组件ScenceView初始化完成后执行
|
|
776
|
+
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
777
|
+
if (scenceView) {
|
|
778
|
+
language.value = scenceView._language;
|
|
779
|
+
let options = {
|
|
780
|
+
lineWidth: formItem.lineWidth,
|
|
781
|
+
visibleColor: formItem.visibleColor,
|
|
782
|
+
invisibleColor: formItem.invisibleColor,
|
|
783
|
+
obstacleColor: formItem.obstacleColor,
|
|
784
|
+
isLabel: formItem.isLabel
|
|
785
|
+
};
|
|
786
|
+
viewModel = new SightlineAnalysisViewModel(scenceView, options);
|
|
787
|
+
}
|
|
788
|
+
});
|
|
789
|
+
});
|
|
790
|
+
|
|
791
|
+
function paramsChanged(key) {
|
|
792
|
+
switch (key) {
|
|
793
|
+
case "lineWidth":
|
|
794
|
+
viewModel.setLineWidth(formItem.lineWidth);
|
|
795
|
+
break;
|
|
796
|
+
|
|
797
|
+
case "visibleColor":
|
|
798
|
+
viewModel.setVisibleColor(formItem.visibleColor);
|
|
799
|
+
break;
|
|
800
|
+
|
|
801
|
+
case "invisibleColor":
|
|
802
|
+
viewModel.setInvisibleColor(formItem.invisibleColor);
|
|
803
|
+
break;
|
|
804
|
+
|
|
805
|
+
case "obstacleColor":
|
|
806
|
+
viewModel.setObstacleColor(formItem.obstacleColor);
|
|
807
|
+
break;
|
|
808
|
+
|
|
809
|
+
case "isLabel":
|
|
810
|
+
viewModel.setShowLabel(formItem.isLabel);
|
|
811
|
+
break;
|
|
812
|
+
|
|
813
|
+
default:
|
|
814
|
+
break;
|
|
815
|
+
}
|
|
816
|
+
} //添加观察点
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
function addSeePoint() {
|
|
820
|
+
viewModel && viewModel.addSeePoint();
|
|
821
|
+
} //添加目标点
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
function addTargetPoint() {
|
|
825
|
+
viewModel && viewModel.addTargetPoint();
|
|
826
|
+
} //清除结果
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
function clearResult() {
|
|
830
|
+
viewModel && viewModel.clearAll();
|
|
831
|
+
} // 销毁
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onBeforeUnmount)(() => {
|
|
835
|
+
viewModel && viewModel.destroy();
|
|
836
|
+
});
|
|
837
|
+
expose({
|
|
838
|
+
clearResult
|
|
839
|
+
});
|
|
840
|
+
return (_ctx, _cache) => {
|
|
841
|
+
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-row");
|
|
842
|
+
|
|
843
|
+
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-slider");
|
|
844
|
+
|
|
845
|
+
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-col");
|
|
846
|
+
|
|
847
|
+
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-input-number");
|
|
848
|
+
|
|
849
|
+
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-form-item");
|
|
850
|
+
|
|
851
|
+
const _component_kq_color_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-color-picker");
|
|
852
|
+
|
|
853
|
+
const _component_kq_checkbox = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-checkbox");
|
|
854
|
+
|
|
855
|
+
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-form");
|
|
856
|
+
|
|
857
|
+
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-collapse-item");
|
|
858
|
+
|
|
859
|
+
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-collapse");
|
|
860
|
+
|
|
861
|
+
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-button");
|
|
862
|
+
|
|
863
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementBlock)("section", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, {
|
|
864
|
+
class: "kq3d-sightline-analysis-tip"
|
|
865
|
+
}, {
|
|
866
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).sightTips), 1
|
|
867
|
+
/* TEXT */
|
|
868
|
+
)]),
|
|
869
|
+
_: 1
|
|
870
|
+
/* STABLE */
|
|
871
|
+
|
|
872
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_collapse, {
|
|
873
|
+
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(collapseValue)
|
|
874
|
+
}, {
|
|
875
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_collapse_item, {
|
|
876
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).analysisSettings,
|
|
877
|
+
name: "setting"
|
|
878
|
+
}, {
|
|
879
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form, {
|
|
880
|
+
"label-width": "120px",
|
|
881
|
+
"label-position": "left"
|
|
882
|
+
}, {
|
|
883
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, null, {
|
|
884
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form_item, {
|
|
885
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).lineWidth
|
|
886
|
+
}, {
|
|
887
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, {
|
|
888
|
+
style: {
|
|
889
|
+
"display": "flex"
|
|
890
|
+
}
|
|
891
|
+
}, {
|
|
892
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, {
|
|
893
|
+
span: 16
|
|
894
|
+
}, {
|
|
895
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_slider, {
|
|
896
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).lineWidth,
|
|
897
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).lineWidth = $event),
|
|
898
|
+
min: 1,
|
|
899
|
+
max: 10,
|
|
900
|
+
onInput: _cache[1] || (_cache[1] = $event => paramsChanged('lineWidth'))
|
|
901
|
+
}, null, 8
|
|
902
|
+
/* PROPS */
|
|
903
|
+
, ["modelValue"])]),
|
|
904
|
+
_: 1
|
|
905
|
+
/* STABLE */
|
|
906
|
+
|
|
907
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, {
|
|
908
|
+
span: 8
|
|
909
|
+
}, {
|
|
910
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_input_number, {
|
|
911
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).lineWidth,
|
|
912
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).lineWidth = $event),
|
|
913
|
+
min: 1,
|
|
914
|
+
max: 10,
|
|
915
|
+
"controls-position": "right",
|
|
916
|
+
onInput: _cache[3] || (_cache[3] = $event => paramsChanged('lineWidth'))
|
|
917
|
+
}, null, 8
|
|
918
|
+
/* PROPS */
|
|
919
|
+
, ["modelValue"])]),
|
|
920
|
+
_: 1
|
|
921
|
+
/* STABLE */
|
|
922
|
+
|
|
923
|
+
})]),
|
|
924
|
+
_: 1
|
|
925
|
+
/* STABLE */
|
|
926
|
+
|
|
927
|
+
})]),
|
|
928
|
+
_: 1
|
|
929
|
+
/* STABLE */
|
|
930
|
+
|
|
931
|
+
}, 8
|
|
932
|
+
/* PROPS */
|
|
933
|
+
, ["label"])]),
|
|
934
|
+
_: 1
|
|
935
|
+
/* STABLE */
|
|
936
|
+
|
|
937
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, null, {
|
|
938
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form_item, {
|
|
939
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).visibleColor
|
|
940
|
+
}, {
|
|
941
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_color_picker, {
|
|
942
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).visibleColor,
|
|
943
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).visibleColor = $event),
|
|
944
|
+
onChange: _cache[5] || (_cache[5] = $event => paramsChanged('visibleColor'))
|
|
945
|
+
}, null, 8
|
|
946
|
+
/* PROPS */
|
|
947
|
+
, ["modelValue"])]),
|
|
948
|
+
_: 1
|
|
949
|
+
/* STABLE */
|
|
950
|
+
|
|
951
|
+
}, 8
|
|
952
|
+
/* PROPS */
|
|
953
|
+
, ["label"])]),
|
|
954
|
+
_: 1
|
|
955
|
+
/* STABLE */
|
|
956
|
+
|
|
957
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, null, {
|
|
958
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form_item, {
|
|
959
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).invisibleColor
|
|
960
|
+
}, {
|
|
961
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_color_picker, {
|
|
962
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).invisibleColor,
|
|
963
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).invisibleColor = $event),
|
|
964
|
+
onChange: _cache[7] || (_cache[7] = $event => paramsChanged('invisibleColor'))
|
|
965
|
+
}, null, 8
|
|
966
|
+
/* PROPS */
|
|
967
|
+
, ["modelValue"])]),
|
|
968
|
+
_: 1
|
|
969
|
+
/* STABLE */
|
|
970
|
+
|
|
971
|
+
}, 8
|
|
972
|
+
/* PROPS */
|
|
973
|
+
, ["label"])]),
|
|
974
|
+
_: 1
|
|
975
|
+
/* STABLE */
|
|
976
|
+
|
|
977
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, null, {
|
|
978
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form_item, {
|
|
979
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).obstacleColor
|
|
980
|
+
}, {
|
|
981
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_color_picker, {
|
|
982
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).obstacleColor,
|
|
983
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).obstacleColor = $event),
|
|
984
|
+
onChange: _cache[9] || (_cache[9] = $event => paramsChanged('obstacleColor'))
|
|
985
|
+
}, null, 8
|
|
986
|
+
/* PROPS */
|
|
987
|
+
, ["modelValue"])]),
|
|
988
|
+
_: 1
|
|
989
|
+
/* STABLE */
|
|
990
|
+
|
|
991
|
+
}, 8
|
|
992
|
+
/* PROPS */
|
|
993
|
+
, ["label"])]),
|
|
994
|
+
_: 1
|
|
995
|
+
/* STABLE */
|
|
996
|
+
|
|
997
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createCommentVNode)(" <kq-row style=\"display: flex\">\r\n <kq-col :span=\"12\">\r\n <kq-checkbox v-model=\"formItem.obstaclePoint\">{{ language.obstaclePoint }}</kq-checkbox>\r\n </kq-col>\r\n <kq-col :span=\"12\">\r\n <kq-checkbox v-model=\"formItem.highlightObstacle\">{{ language.highlightObstacle }}</kq-checkbox>\r\n </kq-col>\r\n </kq-row> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, null, {
|
|
998
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_checkbox, {
|
|
999
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).isLabel,
|
|
1000
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).isLabel = $event),
|
|
1001
|
+
onChange: _cache[11] || (_cache[11] = $event => paramsChanged('isLabel'))
|
|
1002
|
+
}, {
|
|
1003
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).showLabel), 1
|
|
1004
|
+
/* TEXT */
|
|
1005
|
+
)]),
|
|
1006
|
+
_: 1
|
|
1007
|
+
/* STABLE */
|
|
1008
|
+
|
|
1009
|
+
}, 8
|
|
1010
|
+
/* PROPS */
|
|
1011
|
+
, ["modelValue"])]),
|
|
1012
|
+
_: 1
|
|
1013
|
+
/* STABLE */
|
|
1014
|
+
|
|
1015
|
+
})]),
|
|
1016
|
+
_: 1
|
|
1017
|
+
/* STABLE */
|
|
1018
|
+
|
|
1019
|
+
})]),
|
|
1020
|
+
_: 1
|
|
1021
|
+
/* STABLE */
|
|
1022
|
+
|
|
1023
|
+
}, 8
|
|
1024
|
+
/* PROPS */
|
|
1025
|
+
, ["title"])]),
|
|
1026
|
+
_: 1
|
|
1027
|
+
/* STABLE */
|
|
1028
|
+
|
|
1029
|
+
}, 8
|
|
1030
|
+
/* PROPS */
|
|
1031
|
+
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_button, {
|
|
1032
|
+
onClick: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withModifiers)(addSeePoint, ["stop"]),
|
|
1033
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).seePoint,
|
|
1034
|
+
type: "primary"
|
|
1035
|
+
}, {
|
|
1036
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).seePoint), 1
|
|
1037
|
+
/* TEXT */
|
|
1038
|
+
)]),
|
|
1039
|
+
_: 1
|
|
1040
|
+
/* STABLE */
|
|
1041
|
+
|
|
1042
|
+
}, 8
|
|
1043
|
+
/* PROPS */
|
|
1044
|
+
, ["onClick", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_button, {
|
|
1045
|
+
onClick: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withModifiers)(addTargetPoint, ["stop"]),
|
|
1046
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).targetPoint,
|
|
1047
|
+
type: "primary"
|
|
1048
|
+
}, {
|
|
1049
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).targetPoint), 1
|
|
1050
|
+
/* TEXT */
|
|
1051
|
+
)]),
|
|
1052
|
+
_: 1
|
|
1053
|
+
/* STABLE */
|
|
1054
|
+
|
|
1055
|
+
}, 8
|
|
1056
|
+
/* PROPS */
|
|
1057
|
+
, ["onClick", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_button, {
|
|
1058
|
+
onClick: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withModifiers)(clearResult, ["stop"]),
|
|
1059
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).clearResult
|
|
1060
|
+
}, {
|
|
1061
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).clearResult), 1
|
|
1062
|
+
/* TEXT */
|
|
1063
|
+
)]),
|
|
1064
|
+
_: 1
|
|
1065
|
+
/* STABLE */
|
|
1066
|
+
|
|
1067
|
+
}, 8
|
|
1068
|
+
/* PROPS */
|
|
1069
|
+
, ["onClick", "title"])])]);
|
|
1070
|
+
};
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
}));
|
|
1074
|
+
;// CONCATENATED MODULE: ./src/webgl/sightlineanalysis/SightlineAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
1075
|
+
|
|
1076
|
+
;// CONCATENATED MODULE: ./src/webgl/sightlineanalysis/SightlineAnalysis.vue
|
|
1077
|
+
|
|
1078
|
+
|
|
1079
|
+
|
|
1080
|
+
const __exports__ = SightlineAnalysisvue_type_script_setup_true_lang_js;
|
|
1081
|
+
|
|
1082
|
+
/* harmony default export */ var SightlineAnalysis = (__exports__);
|
|
1083
|
+
;// CONCATENATED MODULE: external "@zpc_npm/vue-iclient-common/init.js"
|
|
1084
|
+
var init_js_namespaceObject = require("@zpc_npm/vue-iclient-common/init.js");
|
|
1085
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
|
|
1086
|
+
;// CONCATENATED MODULE: ./src/webgl/sightlineanalysis/index.js
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
SightlineAnalysis.install = (Vue, opts) => {
|
|
1092
|
+
init_js_default()(Vue, opts);
|
|
1093
|
+
Vue.component(SightlineAnalysis.name, SightlineAnalysis);
|
|
1094
|
+
};
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
}();
|
|
1098
|
+
module.exports = __webpack_exports__;
|
|
1099
|
+
/******/ })()
|
|
1100
|
+
;
|