@kq_npm/client3d_webgl_vue 3.2.6-beta → 3.2.8-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/aspectanalysis/index.js +122 -91
- package/boxclip/index.js +182 -158
- package/clientPrint/index.js +27 -77
- package/excavatefillanalysis/index.js +149 -118
- package/floodanalysis/index.js +48 -5
- package/gpuspatialquery/index.js +188 -164
- package/index.js +158 -101
- package/isolineanalysis/index.js +34 -1
- package/modelselect/index.js +143 -119
- package/modelselect/style/modelselect.css +1 -1
- package/package.json +1 -1
- package/planeclip/index.js +182 -158
- package/scenceview/index.js +403 -416
- package/shadowanalysis/index.js +185 -161
- package/skylineanalysis/index.js +185 -158
- package/slopeanalysis/index.js +56 -16
- package/style.css +1 -1
- package/terrainoperation/index.js +195 -164
package/shadowanalysis/index.js
CHANGED
|
@@ -2,21 +2,196 @@
|
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
|
-
/***/
|
|
5
|
+
/***/ 909:
|
|
6
6
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
7
|
|
|
8
|
+
|
|
9
|
+
// EXPORTS
|
|
10
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
11
|
+
"Z": function() { return /* binding */ message; }
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
;// CONCATENATED MODULE: external "element-plus/es"
|
|
15
|
+
var es_namespaceObject = require("element-plus/es");
|
|
16
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
17
|
+
var init_js_ = __webpack_require__(5406);
|
|
18
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
19
|
+
;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
es_namespaceObject.ElMessage.install = (Vue, opts) => {
|
|
24
|
+
init_js_default()(Vue, opts);
|
|
25
|
+
Vue.component("KqMessage", es_namespaceObject.ElMessage);
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/* harmony default export */ var message = (es_namespaceObject.ElMessage);
|
|
29
|
+
|
|
30
|
+
/***/ }),
|
|
31
|
+
|
|
32
|
+
/***/ 348:
|
|
33
|
+
/***/ (function(module) {
|
|
34
|
+
|
|
35
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
36
|
+
|
|
37
|
+
/***/ }),
|
|
38
|
+
|
|
39
|
+
/***/ 9702:
|
|
40
|
+
/***/ (function(module) {
|
|
41
|
+
|
|
42
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/const-image");
|
|
43
|
+
|
|
44
|
+
/***/ }),
|
|
45
|
+
|
|
46
|
+
/***/ 826:
|
|
47
|
+
/***/ (function(module) {
|
|
48
|
+
|
|
49
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
50
|
+
|
|
51
|
+
/***/ }),
|
|
52
|
+
|
|
53
|
+
/***/ 9519:
|
|
54
|
+
/***/ (function(module) {
|
|
55
|
+
|
|
56
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/util");
|
|
57
|
+
|
|
58
|
+
/***/ }),
|
|
59
|
+
|
|
60
|
+
/***/ 5406:
|
|
61
|
+
/***/ (function(module) {
|
|
62
|
+
|
|
63
|
+
module.exports = require("@kq_npm/client_common_vue/init.js");
|
|
64
|
+
|
|
65
|
+
/***/ }),
|
|
66
|
+
|
|
67
|
+
/***/ 637:
|
|
68
|
+
/***/ (function(module) {
|
|
69
|
+
|
|
70
|
+
module.exports = require("vue");
|
|
71
|
+
|
|
72
|
+
/***/ }),
|
|
73
|
+
|
|
74
|
+
/***/ 8270:
|
|
75
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
76
|
+
|
|
8
77
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9
|
-
/* harmony export */ "Z": function() { return /* binding */
|
|
78
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
10
79
|
/* harmony export */ });
|
|
11
|
-
|
|
80
|
+
function _defineProperty(obj, key, value) {
|
|
81
|
+
if (key in obj) {
|
|
82
|
+
Object.defineProperty(obj, key, {
|
|
83
|
+
value: value,
|
|
84
|
+
enumerable: true,
|
|
85
|
+
configurable: true,
|
|
86
|
+
writable: true
|
|
87
|
+
});
|
|
88
|
+
} else {
|
|
89
|
+
obj[key] = value;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
return obj;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/***/ })
|
|
96
|
+
|
|
97
|
+
/******/ });
|
|
98
|
+
/************************************************************************/
|
|
99
|
+
/******/ // The module cache
|
|
100
|
+
/******/ var __webpack_module_cache__ = {};
|
|
101
|
+
/******/
|
|
102
|
+
/******/ // The require function
|
|
103
|
+
/******/ function __webpack_require__(moduleId) {
|
|
104
|
+
/******/ // Check if module is in cache
|
|
105
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
106
|
+
/******/ if (cachedModule !== undefined) {
|
|
107
|
+
/******/ return cachedModule.exports;
|
|
108
|
+
/******/ }
|
|
109
|
+
/******/ // Create a new module (and put it into the cache)
|
|
110
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
111
|
+
/******/ // no module.id needed
|
|
112
|
+
/******/ // no module.loaded needed
|
|
113
|
+
/******/ exports: {}
|
|
114
|
+
/******/ };
|
|
115
|
+
/******/
|
|
116
|
+
/******/ // Execute the module function
|
|
117
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
118
|
+
/******/
|
|
119
|
+
/******/ // Return the exports of the module
|
|
120
|
+
/******/ return module.exports;
|
|
121
|
+
/******/ }
|
|
122
|
+
/******/
|
|
123
|
+
/************************************************************************/
|
|
124
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
125
|
+
/******/ !function() {
|
|
126
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
127
|
+
/******/ __webpack_require__.n = function(module) {
|
|
128
|
+
/******/ var getter = module && module.__esModule ?
|
|
129
|
+
/******/ function() { return module['default']; } :
|
|
130
|
+
/******/ function() { return module; };
|
|
131
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
132
|
+
/******/ return getter;
|
|
133
|
+
/******/ };
|
|
134
|
+
/******/ }();
|
|
135
|
+
/******/
|
|
136
|
+
/******/ /* webpack/runtime/define property getters */
|
|
137
|
+
/******/ !function() {
|
|
138
|
+
/******/ // define getter functions for harmony exports
|
|
139
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
140
|
+
/******/ for(var key in definition) {
|
|
141
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
142
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
143
|
+
/******/ }
|
|
144
|
+
/******/ }
|
|
145
|
+
/******/ };
|
|
146
|
+
/******/ }();
|
|
147
|
+
/******/
|
|
148
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
149
|
+
/******/ !function() {
|
|
150
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
151
|
+
/******/ }();
|
|
152
|
+
/******/
|
|
153
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
154
|
+
/******/ !function() {
|
|
155
|
+
/******/ // define __esModule on exports
|
|
156
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
157
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
158
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
159
|
+
/******/ }
|
|
160
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
161
|
+
/******/ };
|
|
162
|
+
/******/ }();
|
|
163
|
+
/******/
|
|
164
|
+
/************************************************************************/
|
|
165
|
+
var __webpack_exports__ = {};
|
|
166
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
167
|
+
!function() {
|
|
168
|
+
// ESM COMPAT FLAG
|
|
169
|
+
__webpack_require__.r(__webpack_exports__);
|
|
170
|
+
|
|
171
|
+
// EXPORTS
|
|
172
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
173
|
+
"ShadowAnalysisViewModel": function() { return /* reexport */ ShadowAnalysisViewModel; },
|
|
174
|
+
"default": function() { return /* reexport */ ShadowAnalysis; }
|
|
175
|
+
});
|
|
176
|
+
|
|
177
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
178
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
179
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
180
|
+
var gis_utils_ = __webpack_require__(826);
|
|
181
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
182
|
+
var defineProperty = __webpack_require__(8270);
|
|
183
|
+
// EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
|
|
184
|
+
var message = __webpack_require__(909);
|
|
185
|
+
;// CONCATENATED MODULE: ./src/webgl/shadowanalysis/ShadowAnalysisViewModel.js
|
|
12
186
|
|
|
13
187
|
// 分析逻辑类
|
|
188
|
+
|
|
14
189
|
class ShadowAnalysisViewModel {
|
|
15
190
|
//阴影分析三维对象
|
|
16
191
|
constructor(scenceView, viewModel) {
|
|
17
|
-
(0,
|
|
192
|
+
(0,defineProperty/* default */.Z)(this, "_shadowAnalysis", null);
|
|
18
193
|
|
|
19
|
-
(0,
|
|
194
|
+
(0,defineProperty/* default */.Z)(this, "_globaOptions", {
|
|
20
195
|
//全局参数
|
|
21
196
|
viewer: null,
|
|
22
197
|
_drawManager: null
|
|
@@ -93,7 +268,10 @@ class ShadowAnalysisViewModel {
|
|
|
93
268
|
clampToGround: true
|
|
94
269
|
});
|
|
95
270
|
} else {
|
|
96
|
-
|
|
271
|
+
(0,message/* default */.Z)({
|
|
272
|
+
message: "请添加模型后分析!",
|
|
273
|
+
type: "warning"
|
|
274
|
+
});
|
|
97
275
|
}
|
|
98
276
|
} // 阴影分析
|
|
99
277
|
|
|
@@ -237,160 +415,6 @@ class ShadowAnalysisViewModel {
|
|
|
237
415
|
}
|
|
238
416
|
|
|
239
417
|
}
|
|
240
|
-
|
|
241
|
-
/***/ }),
|
|
242
|
-
|
|
243
|
-
/***/ 348:
|
|
244
|
-
/***/ (function(module) {
|
|
245
|
-
|
|
246
|
-
module.exports = require("@kq_npm/client_icons_vue");
|
|
247
|
-
|
|
248
|
-
/***/ }),
|
|
249
|
-
|
|
250
|
-
/***/ 9702:
|
|
251
|
-
/***/ (function(module) {
|
|
252
|
-
|
|
253
|
-
module.exports = require("@kq_npm/client_common_vue/_utils/const-image");
|
|
254
|
-
|
|
255
|
-
/***/ }),
|
|
256
|
-
|
|
257
|
-
/***/ 826:
|
|
258
|
-
/***/ (function(module) {
|
|
259
|
-
|
|
260
|
-
module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
261
|
-
|
|
262
|
-
/***/ }),
|
|
263
|
-
|
|
264
|
-
/***/ 9519:
|
|
265
|
-
/***/ (function(module) {
|
|
266
|
-
|
|
267
|
-
module.exports = require("@kq_npm/client_common_vue/_utils/util");
|
|
268
|
-
|
|
269
|
-
/***/ }),
|
|
270
|
-
|
|
271
|
-
/***/ 5406:
|
|
272
|
-
/***/ (function(module) {
|
|
273
|
-
|
|
274
|
-
module.exports = require("@kq_npm/client_common_vue/init.js");
|
|
275
|
-
|
|
276
|
-
/***/ }),
|
|
277
|
-
|
|
278
|
-
/***/ 637:
|
|
279
|
-
/***/ (function(module) {
|
|
280
|
-
|
|
281
|
-
module.exports = require("vue");
|
|
282
|
-
|
|
283
|
-
/***/ }),
|
|
284
|
-
|
|
285
|
-
/***/ 8270:
|
|
286
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
287
|
-
|
|
288
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
289
|
-
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
290
|
-
/* harmony export */ });
|
|
291
|
-
function _defineProperty(obj, key, value) {
|
|
292
|
-
if (key in obj) {
|
|
293
|
-
Object.defineProperty(obj, key, {
|
|
294
|
-
value: value,
|
|
295
|
-
enumerable: true,
|
|
296
|
-
configurable: true,
|
|
297
|
-
writable: true
|
|
298
|
-
});
|
|
299
|
-
} else {
|
|
300
|
-
obj[key] = value;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
return obj;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
/***/ })
|
|
307
|
-
|
|
308
|
-
/******/ });
|
|
309
|
-
/************************************************************************/
|
|
310
|
-
/******/ // The module cache
|
|
311
|
-
/******/ var __webpack_module_cache__ = {};
|
|
312
|
-
/******/
|
|
313
|
-
/******/ // The require function
|
|
314
|
-
/******/ function __webpack_require__(moduleId) {
|
|
315
|
-
/******/ // Check if module is in cache
|
|
316
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
317
|
-
/******/ if (cachedModule !== undefined) {
|
|
318
|
-
/******/ return cachedModule.exports;
|
|
319
|
-
/******/ }
|
|
320
|
-
/******/ // Create a new module (and put it into the cache)
|
|
321
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
322
|
-
/******/ // no module.id needed
|
|
323
|
-
/******/ // no module.loaded needed
|
|
324
|
-
/******/ exports: {}
|
|
325
|
-
/******/ };
|
|
326
|
-
/******/
|
|
327
|
-
/******/ // Execute the module function
|
|
328
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
329
|
-
/******/
|
|
330
|
-
/******/ // Return the exports of the module
|
|
331
|
-
/******/ return module.exports;
|
|
332
|
-
/******/ }
|
|
333
|
-
/******/
|
|
334
|
-
/************************************************************************/
|
|
335
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
336
|
-
/******/ !function() {
|
|
337
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
338
|
-
/******/ __webpack_require__.n = function(module) {
|
|
339
|
-
/******/ var getter = module && module.__esModule ?
|
|
340
|
-
/******/ function() { return module['default']; } :
|
|
341
|
-
/******/ function() { return module; };
|
|
342
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
|
343
|
-
/******/ return getter;
|
|
344
|
-
/******/ };
|
|
345
|
-
/******/ }();
|
|
346
|
-
/******/
|
|
347
|
-
/******/ /* webpack/runtime/define property getters */
|
|
348
|
-
/******/ !function() {
|
|
349
|
-
/******/ // define getter functions for harmony exports
|
|
350
|
-
/******/ __webpack_require__.d = function(exports, definition) {
|
|
351
|
-
/******/ for(var key in definition) {
|
|
352
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
353
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
354
|
-
/******/ }
|
|
355
|
-
/******/ }
|
|
356
|
-
/******/ };
|
|
357
|
-
/******/ }();
|
|
358
|
-
/******/
|
|
359
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
360
|
-
/******/ !function() {
|
|
361
|
-
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
362
|
-
/******/ }();
|
|
363
|
-
/******/
|
|
364
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
365
|
-
/******/ !function() {
|
|
366
|
-
/******/ // define __esModule on exports
|
|
367
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
368
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
369
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
370
|
-
/******/ }
|
|
371
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
372
|
-
/******/ };
|
|
373
|
-
/******/ }();
|
|
374
|
-
/******/
|
|
375
|
-
/************************************************************************/
|
|
376
|
-
var __webpack_exports__ = {};
|
|
377
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
378
|
-
!function() {
|
|
379
|
-
// ESM COMPAT FLAG
|
|
380
|
-
__webpack_require__.r(__webpack_exports__);
|
|
381
|
-
|
|
382
|
-
// EXPORTS
|
|
383
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
384
|
-
"ShadowAnalysisViewModel": function() { return /* reexport */ ShadowAnalysisViewModel/* default */.Z; },
|
|
385
|
-
"default": function() { return /* reexport */ ShadowAnalysis; }
|
|
386
|
-
});
|
|
387
|
-
|
|
388
|
-
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
389
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
390
|
-
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
391
|
-
var gis_utils_ = __webpack_require__(826);
|
|
392
|
-
// EXTERNAL MODULE: ./src/webgl/shadowanalysis/ShadowAnalysisViewModel.js
|
|
393
|
-
var ShadowAnalysisViewModel = __webpack_require__(4167);
|
|
394
418
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
395
419
|
var const_image_ = __webpack_require__(9702);
|
|
396
420
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
@@ -581,7 +605,7 @@ const __default__ = {
|
|
|
581
605
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
582
606
|
if (scenceView) {
|
|
583
607
|
language.value = scenceView._language;
|
|
584
|
-
viewModel = new ShadowAnalysisViewModel
|
|
608
|
+
viewModel = new ShadowAnalysisViewModel(scenceView, {
|
|
585
609
|
showVoxel: formItem.showBuilding,
|
|
586
610
|
// 显示体素
|
|
587
611
|
baseHeight: formItem.baseHeight,
|