@kq_npm/client3d_webgl_vue 3.2.5-beta → 3.2.7-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 +2316 -0
- package/clientPrint/style/clientPrint.css +1 -0
- package/clientPrint/style/index.js +3 -0
- package/excavatefillanalysis/index.js +149 -118
- package/floodanalysis/index.js +48 -5
- package/gpuspatialquery/index.js +188 -164
- package/index.js +2326 -93
- 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 +2599 -377
- 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/gpuspatialquery/index.js
CHANGED
|
@@ -2,15 +2,188 @@
|
|
|
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
|
+
/***/ 8422:
|
|
33
|
+
/***/ (function(module) {
|
|
34
|
+
|
|
35
|
+
module.exports = require("@element-plus/icons-vue");
|
|
36
|
+
|
|
37
|
+
/***/ }),
|
|
38
|
+
|
|
39
|
+
/***/ 826:
|
|
40
|
+
/***/ (function(module) {
|
|
41
|
+
|
|
42
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
43
|
+
|
|
44
|
+
/***/ }),
|
|
45
|
+
|
|
46
|
+
/***/ 9519:
|
|
47
|
+
/***/ (function(module) {
|
|
48
|
+
|
|
49
|
+
module.exports = require("@kq_npm/client_common_vue/_utils/util");
|
|
50
|
+
|
|
51
|
+
/***/ }),
|
|
52
|
+
|
|
53
|
+
/***/ 5406:
|
|
54
|
+
/***/ (function(module) {
|
|
55
|
+
|
|
56
|
+
module.exports = require("@kq_npm/client_common_vue/init.js");
|
|
57
|
+
|
|
58
|
+
/***/ }),
|
|
59
|
+
|
|
60
|
+
/***/ 637:
|
|
61
|
+
/***/ (function(module) {
|
|
62
|
+
|
|
63
|
+
module.exports = require("vue");
|
|
64
|
+
|
|
65
|
+
/***/ }),
|
|
66
|
+
|
|
67
|
+
/***/ 8270:
|
|
68
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
69
|
+
|
|
8
70
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9
|
-
/* harmony export */ "Z": function() { return /* binding */
|
|
71
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
10
72
|
/* harmony export */ });
|
|
11
|
-
|
|
73
|
+
function _defineProperty(obj, key, value) {
|
|
74
|
+
if (key in obj) {
|
|
75
|
+
Object.defineProperty(obj, key, {
|
|
76
|
+
value: value,
|
|
77
|
+
enumerable: true,
|
|
78
|
+
configurable: true,
|
|
79
|
+
writable: true
|
|
80
|
+
});
|
|
81
|
+
} else {
|
|
82
|
+
obj[key] = value;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return obj;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/***/ })
|
|
89
|
+
|
|
90
|
+
/******/ });
|
|
91
|
+
/************************************************************************/
|
|
92
|
+
/******/ // The module cache
|
|
93
|
+
/******/ var __webpack_module_cache__ = {};
|
|
94
|
+
/******/
|
|
95
|
+
/******/ // The require function
|
|
96
|
+
/******/ function __webpack_require__(moduleId) {
|
|
97
|
+
/******/ // Check if module is in cache
|
|
98
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
99
|
+
/******/ if (cachedModule !== undefined) {
|
|
100
|
+
/******/ return cachedModule.exports;
|
|
101
|
+
/******/ }
|
|
102
|
+
/******/ // Create a new module (and put it into the cache)
|
|
103
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
104
|
+
/******/ // no module.id needed
|
|
105
|
+
/******/ // no module.loaded needed
|
|
106
|
+
/******/ exports: {}
|
|
107
|
+
/******/ };
|
|
108
|
+
/******/
|
|
109
|
+
/******/ // Execute the module function
|
|
110
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
111
|
+
/******/
|
|
112
|
+
/******/ // Return the exports of the module
|
|
113
|
+
/******/ return module.exports;
|
|
114
|
+
/******/ }
|
|
115
|
+
/******/
|
|
116
|
+
/************************************************************************/
|
|
117
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
118
|
+
/******/ !function() {
|
|
119
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
120
|
+
/******/ __webpack_require__.n = function(module) {
|
|
121
|
+
/******/ var getter = module && module.__esModule ?
|
|
122
|
+
/******/ function() { return module['default']; } :
|
|
123
|
+
/******/ function() { return module; };
|
|
124
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
125
|
+
/******/ return getter;
|
|
126
|
+
/******/ };
|
|
127
|
+
/******/ }();
|
|
128
|
+
/******/
|
|
129
|
+
/******/ /* webpack/runtime/define property getters */
|
|
130
|
+
/******/ !function() {
|
|
131
|
+
/******/ // define getter functions for harmony exports
|
|
132
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
133
|
+
/******/ for(var key in definition) {
|
|
134
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
135
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
136
|
+
/******/ }
|
|
137
|
+
/******/ }
|
|
138
|
+
/******/ };
|
|
139
|
+
/******/ }();
|
|
140
|
+
/******/
|
|
141
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
142
|
+
/******/ !function() {
|
|
143
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
144
|
+
/******/ }();
|
|
145
|
+
/******/
|
|
146
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
147
|
+
/******/ !function() {
|
|
148
|
+
/******/ // define __esModule on exports
|
|
149
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
150
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
151
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
152
|
+
/******/ }
|
|
153
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
154
|
+
/******/ };
|
|
155
|
+
/******/ }();
|
|
156
|
+
/******/
|
|
157
|
+
/************************************************************************/
|
|
158
|
+
var __webpack_exports__ = {};
|
|
159
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
160
|
+
!function() {
|
|
161
|
+
// ESM COMPAT FLAG
|
|
162
|
+
__webpack_require__.r(__webpack_exports__);
|
|
163
|
+
|
|
164
|
+
// EXPORTS
|
|
165
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
166
|
+
"GPUSpatialQueryViewModel": function() { return /* reexport */ GPUSpatialQueryViewModel; },
|
|
167
|
+
"default": function() { return /* reexport */ GPUSpatialQuery; }
|
|
168
|
+
});
|
|
169
|
+
|
|
170
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
171
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
172
|
+
// EXTERNAL MODULE: external "@element-plus/icons-vue"
|
|
173
|
+
var icons_vue_ = __webpack_require__(8422);
|
|
174
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
175
|
+
var gis_utils_ = __webpack_require__(826);
|
|
176
|
+
;// CONCATENATED MODULE: external "xe-utils"
|
|
177
|
+
var external_xe_utils_namespaceObject = require("xe-utils");
|
|
178
|
+
var external_xe_utils_default = /*#__PURE__*/__webpack_require__.n(external_xe_utils_namespaceObject);
|
|
179
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
180
|
+
var defineProperty = __webpack_require__(8270);
|
|
181
|
+
// EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
|
|
182
|
+
var message = __webpack_require__(909);
|
|
183
|
+
;// CONCATENATED MODULE: ./src/webgl/gpuspatialquery/GPUSpatialQueryViewModel.js
|
|
12
184
|
|
|
13
185
|
//GPU空间查询逻辑类
|
|
186
|
+
|
|
14
187
|
class GPUSpatialQueryViewModel {
|
|
15
188
|
//GPU查询三维对象
|
|
16
189
|
//绘制管理对象
|
|
@@ -20,19 +193,19 @@ class GPUSpatialQueryViewModel {
|
|
|
20
193
|
//绘制后的查询事件
|
|
21
194
|
//绘制完成监听事件
|
|
22
195
|
constructor(scenceView, options) {
|
|
23
|
-
(0,
|
|
196
|
+
(0,defineProperty/* default */.Z)(this, "_gpuSpatialQuery", null);
|
|
24
197
|
|
|
25
|
-
(0,
|
|
198
|
+
(0,defineProperty/* default */.Z)(this, "_drawManager", null);
|
|
26
199
|
|
|
27
|
-
(0,
|
|
200
|
+
(0,defineProperty/* default */.Z)(this, "_geometry", null);
|
|
28
201
|
|
|
29
|
-
(0,
|
|
202
|
+
(0,defineProperty/* default */.Z)(this, "_center", null);
|
|
30
203
|
|
|
31
|
-
(0,
|
|
204
|
+
(0,defineProperty/* default */.Z)(this, "_options", null);
|
|
32
205
|
|
|
33
|
-
(0,
|
|
206
|
+
(0,defineProperty/* default */.Z)(this, "finishedQuery", null);
|
|
34
207
|
|
|
35
|
-
(0,
|
|
208
|
+
(0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
|
|
36
209
|
|
|
37
210
|
options.viewer = scenceView._viewer;
|
|
38
211
|
options.viewer.scene.globe.depthTestAgainstTerrain = true;
|
|
@@ -120,7 +293,10 @@ class GPUSpatialQueryViewModel {
|
|
|
120
293
|
image: null
|
|
121
294
|
});
|
|
122
295
|
} else {
|
|
123
|
-
|
|
296
|
+
(0,message/* default */.Z)({
|
|
297
|
+
message: "请添加模型后分析!",
|
|
298
|
+
type: "warning"
|
|
299
|
+
});
|
|
124
300
|
}
|
|
125
301
|
} // 开始查询
|
|
126
302
|
|
|
@@ -300,158 +476,6 @@ class GPUSpatialQueryViewModel {
|
|
|
300
476
|
}
|
|
301
477
|
|
|
302
478
|
}
|
|
303
|
-
|
|
304
|
-
/***/ }),
|
|
305
|
-
|
|
306
|
-
/***/ 8422:
|
|
307
|
-
/***/ (function(module) {
|
|
308
|
-
|
|
309
|
-
module.exports = require("@element-plus/icons-vue");
|
|
310
|
-
|
|
311
|
-
/***/ }),
|
|
312
|
-
|
|
313
|
-
/***/ 826:
|
|
314
|
-
/***/ (function(module) {
|
|
315
|
-
|
|
316
|
-
module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
317
|
-
|
|
318
|
-
/***/ }),
|
|
319
|
-
|
|
320
|
-
/***/ 9519:
|
|
321
|
-
/***/ (function(module) {
|
|
322
|
-
|
|
323
|
-
module.exports = require("@kq_npm/client_common_vue/_utils/util");
|
|
324
|
-
|
|
325
|
-
/***/ }),
|
|
326
|
-
|
|
327
|
-
/***/ 5406:
|
|
328
|
-
/***/ (function(module) {
|
|
329
|
-
|
|
330
|
-
module.exports = require("@kq_npm/client_common_vue/init.js");
|
|
331
|
-
|
|
332
|
-
/***/ }),
|
|
333
|
-
|
|
334
|
-
/***/ 637:
|
|
335
|
-
/***/ (function(module) {
|
|
336
|
-
|
|
337
|
-
module.exports = require("vue");
|
|
338
|
-
|
|
339
|
-
/***/ }),
|
|
340
|
-
|
|
341
|
-
/***/ 8270:
|
|
342
|
-
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
343
|
-
|
|
344
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
345
|
-
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
346
|
-
/* harmony export */ });
|
|
347
|
-
function _defineProperty(obj, key, value) {
|
|
348
|
-
if (key in obj) {
|
|
349
|
-
Object.defineProperty(obj, key, {
|
|
350
|
-
value: value,
|
|
351
|
-
enumerable: true,
|
|
352
|
-
configurable: true,
|
|
353
|
-
writable: true
|
|
354
|
-
});
|
|
355
|
-
} else {
|
|
356
|
-
obj[key] = value;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
return obj;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
/***/ })
|
|
363
|
-
|
|
364
|
-
/******/ });
|
|
365
|
-
/************************************************************************/
|
|
366
|
-
/******/ // The module cache
|
|
367
|
-
/******/ var __webpack_module_cache__ = {};
|
|
368
|
-
/******/
|
|
369
|
-
/******/ // The require function
|
|
370
|
-
/******/ function __webpack_require__(moduleId) {
|
|
371
|
-
/******/ // Check if module is in cache
|
|
372
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
373
|
-
/******/ if (cachedModule !== undefined) {
|
|
374
|
-
/******/ return cachedModule.exports;
|
|
375
|
-
/******/ }
|
|
376
|
-
/******/ // Create a new module (and put it into the cache)
|
|
377
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
378
|
-
/******/ // no module.id needed
|
|
379
|
-
/******/ // no module.loaded needed
|
|
380
|
-
/******/ exports: {}
|
|
381
|
-
/******/ };
|
|
382
|
-
/******/
|
|
383
|
-
/******/ // Execute the module function
|
|
384
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
385
|
-
/******/
|
|
386
|
-
/******/ // Return the exports of the module
|
|
387
|
-
/******/ return module.exports;
|
|
388
|
-
/******/ }
|
|
389
|
-
/******/
|
|
390
|
-
/************************************************************************/
|
|
391
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
392
|
-
/******/ !function() {
|
|
393
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
394
|
-
/******/ __webpack_require__.n = function(module) {
|
|
395
|
-
/******/ var getter = module && module.__esModule ?
|
|
396
|
-
/******/ function() { return module['default']; } :
|
|
397
|
-
/******/ function() { return module; };
|
|
398
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
|
399
|
-
/******/ return getter;
|
|
400
|
-
/******/ };
|
|
401
|
-
/******/ }();
|
|
402
|
-
/******/
|
|
403
|
-
/******/ /* webpack/runtime/define property getters */
|
|
404
|
-
/******/ !function() {
|
|
405
|
-
/******/ // define getter functions for harmony exports
|
|
406
|
-
/******/ __webpack_require__.d = function(exports, definition) {
|
|
407
|
-
/******/ for(var key in definition) {
|
|
408
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
409
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
410
|
-
/******/ }
|
|
411
|
-
/******/ }
|
|
412
|
-
/******/ };
|
|
413
|
-
/******/ }();
|
|
414
|
-
/******/
|
|
415
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
416
|
-
/******/ !function() {
|
|
417
|
-
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
418
|
-
/******/ }();
|
|
419
|
-
/******/
|
|
420
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
421
|
-
/******/ !function() {
|
|
422
|
-
/******/ // define __esModule on exports
|
|
423
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
424
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
425
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
426
|
-
/******/ }
|
|
427
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
428
|
-
/******/ };
|
|
429
|
-
/******/ }();
|
|
430
|
-
/******/
|
|
431
|
-
/************************************************************************/
|
|
432
|
-
var __webpack_exports__ = {};
|
|
433
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
434
|
-
!function() {
|
|
435
|
-
// ESM COMPAT FLAG
|
|
436
|
-
__webpack_require__.r(__webpack_exports__);
|
|
437
|
-
|
|
438
|
-
// EXPORTS
|
|
439
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
440
|
-
"GPUSpatialQueryViewModel": function() { return /* reexport */ GPUSpatialQueryViewModel/* default */.Z; },
|
|
441
|
-
"default": function() { return /* reexport */ GPUSpatialQuery; }
|
|
442
|
-
});
|
|
443
|
-
|
|
444
|
-
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
445
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
446
|
-
// EXTERNAL MODULE: external "@element-plus/icons-vue"
|
|
447
|
-
var icons_vue_ = __webpack_require__(8422);
|
|
448
|
-
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
449
|
-
var gis_utils_ = __webpack_require__(826);
|
|
450
|
-
;// CONCATENATED MODULE: external "xe-utils"
|
|
451
|
-
var external_xe_utils_namespaceObject = require("xe-utils");
|
|
452
|
-
var external_xe_utils_default = /*#__PURE__*/__webpack_require__.n(external_xe_utils_namespaceObject);
|
|
453
|
-
// EXTERNAL MODULE: ./src/webgl/gpuspatialquery/GPUSpatialQueryViewModel.js
|
|
454
|
-
var GPUSpatialQueryViewModel = __webpack_require__(7775);
|
|
455
479
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
456
480
|
var util_ = __webpack_require__(9519);
|
|
457
481
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/gpuspatialquery/GPUSpatialQuery.vue?vue&type=script&setup=true&lang=js
|
|
@@ -590,7 +614,7 @@ const __default__ = {
|
|
|
590
614
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
591
615
|
if (scenceView) {
|
|
592
616
|
language.value = scenceView._language;
|
|
593
|
-
viewModel = new GPUSpatialQueryViewModel
|
|
617
|
+
viewModel = new GPUSpatialQueryViewModel(scenceView, {
|
|
594
618
|
volumeType: formItem.volumeType,
|
|
595
619
|
positionMode: formItem.positionMode,
|
|
596
620
|
scale: formItem.scale,
|