@kq_npm/client3d_webgl_vue 4.0.5-beta → 4.0.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/adddata/index.js +114 -198
- package/aspectanalysis/index.js +23 -25
- package/baseterraingallery/index.js +7 -8
- package/boxclip/index.js +23 -25
- package/clientPrint/index.js +4 -6
- package/comparemap/index.js +51 -22
- package/compass/index.js +4 -4
- package/excavatefillanalysis/index.js +23 -25
- package/fixedzoomin/index.js +4 -4
- package/fixedzoomout/index.js +4 -4
- package/flight/index.js +25 -27
- package/floodanalysis/index.js +23 -27
- package/geologicalbodyanalysis/index.js +900 -0
- package/geologicalbodyanalysis/style/geologicalbodyanalysis.css +1 -0
- package/geologicalbodyanalysis/style/index.js +3 -0
- package/gpuspatialquery/index.js +25 -25
- package/hawkeye/index.js +7 -8
- package/headertemp/index.js +4 -5
- package/index.js +21021 -14725
- package/isolineanalysis/index.js +22 -24
- package/light/index.js +1067 -0
- package/light/style/index.js +3 -0
- package/light/style/light.css +1 -0
- package/limitheightanalysis/index.js +751 -0
- package/limitheightanalysis/style/index.js +3 -0
- package/limitheightanalysis/style/limitheightanalysis.css +1 -0
- package/measure/index.js +46 -38
- package/modelFlat/index.js +483 -0
- package/modelFlat/style/index.js +3 -0
- package/modelFlat/style/modelFlat.css +1 -0
- package/modelfilter/index.js +296 -336
- package/modelfilter/style/modelfilter.css +1 -1
- package/modelprofileanalysis/index.js +7 -8
- package/modelselect/index.js +20 -157
- package/package.json +1 -1
- package/particleeffect/index.js +6 -142
- package/planeclip/index.js +23 -25
- package/resetview/index.js +4 -4
- package/roller/index.js +7 -8
- package/scaneffect/index.js +1730 -0
- package/scaneffect/style/index.js +3 -0
- package/scaneffect/style/scaneffect.css +1 -0
- package/scenceview/index.js +13823 -7365
- package/sceneset/index.js +2097 -0
- package/sceneset/style/index.js +3 -0
- package/sceneset/style/sceneset.css +1 -0
- package/screenshot/index.js +7 -8
- package/shadowanalysis/index.js +20 -158
- package/sightlineanalysis/index.js +26 -19
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +23 -25
- package/slopeanalysis/index.js +22 -24
- package/statusbar/index.js +4 -4
- package/style.css +1 -1
- package/terrainoperation/index.js +20 -157
- package/terrainprofileanalysis/index.js +620 -0
- package/terrainprofileanalysis/style/index.js +3 -0
- package/terrainprofileanalysis/style/terrainprofileanalysis.css +1 -0
- package/underground/index.js +7 -8
- package/videofusion/index.js +23 -35
- package/videoproject/index.js +23 -35
- package/viewshedanalysis/index.js +4 -5
- package/weathereffect/index.js +6 -142
- package/wireframesketch/index.js +521 -0
- package/wireframesketch/style/index.js +3 -0
- package/wireframesketch/style/wireframesketch.css +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.kq3d-scene-set{z-index:999;border-radius:var(--kq-border-radius-base);padding:16px;padding-bottom:8px;pointer-events:auto;cursor:default;background-color:var(--kq-bg-color)}.kq3d-scene-set .kq3d-scene-set-box{width:390px}.kq3d-scene-set .kq-collapse{border:unset}.kq3d-scene-set .kq-collapse .scene-content .kq-switch{margin-right:5px}.kq3d-scene-set .kq-collapse .kq-collapse-item{margin-bottom:8px}.kq3d-scene-set .kq-collapse .kq-collapse-item__header{border:unset;height:38px;background-color:var(--kq-fill-color-light);font-weight:700;padding:0 16px;font-size:16px}.kq3d-scene-set .kq-collapse .kq-collapse-item__arrow{margin:0 0 0 auto}.kq3d-scene-set .kq-collapse .kq-collapse-item__wrap{border:unset}.kq3d-scene-set .kq-collapse .kq-collapse-item__wrap .kq-collapse-item__content{padding-bottom:unset;border:unset;padding-top:10px}.kq3d-scene-set .kq-form-item{margin-bottom:8px}.kq3d-scene-set .kq-form-item__content{text-align:end;display:block}.kq3d-scene-set .form-item-left .kq-form-item__content{text-align:left;display:block}.kq3d-scene-set .kq-row{display:-webkit-box;display:-ms-flexbox;display:flex}.kq3d-scene-set .rowClass{margin-bottom:8px;line-height:32px}.kq3d-scene-set .kq-divider--horizontal{margin:8px 0}.kq3d-scene-set .kq-slider{width:95%;padding-left:7px}.kq3d-scene-set .kq-slider .kq-slider__button{width:14px;height:14px}.kq3d-scene-set .kq-input-number.is-controls-right{width:65px}.kq3d-scene-set .kq-input-number.is-controls-right .kq-input-number__decrease,.kq3d-scene-set .kq-input-number.is-controls-right .kq-input-number__increase{width:20px}.kq3d-scene-set .kq-col-8 .kq-input-number .kq-input__wrapper,.kq3d-scene-set .kq-input-number.is-controls-right .kq-input__wrapper{padding-left:0;padding-right:20px}
|
package/screenshot/index.js
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
|
-
/***/
|
|
5
|
+
/***/ 1248:
|
|
6
6
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
7
|
|
|
8
8
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9
9
|
/* harmony export */ "Z": function() { return /* binding */ ScreenshotViewModel; }
|
|
10
10
|
/* harmony export */ });
|
|
11
11
|
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
12
|
-
//截图逻辑类
|
|
13
12
|
|
|
13
|
+
//截图逻辑类
|
|
14
14
|
class ScreenshotViewModel {
|
|
15
15
|
//三维viewer对象
|
|
16
16
|
//截图存储参数对象
|
|
@@ -310,12 +310,12 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
310
310
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
311
311
|
var gis_utils_ = __webpack_require__(826);
|
|
312
312
|
// EXTERNAL MODULE: ./src/webgl/screenshot/ScreenshotViewModel.js
|
|
313
|
-
var ScreenshotViewModel = __webpack_require__(
|
|
313
|
+
var ScreenshotViewModel = __webpack_require__(1248);
|
|
314
314
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
315
315
|
var util_ = __webpack_require__(9519);
|
|
316
316
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
317
317
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
318
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js
|
|
318
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/screenshot/Screenshot.vue?vue&type=script&setup=true&lang=js
|
|
319
319
|
|
|
320
320
|
const _hoisted_1 = {
|
|
321
321
|
class: "kq3d-screenshot-box"
|
|
@@ -374,10 +374,9 @@ const __default__ = {
|
|
|
374
374
|
}
|
|
375
375
|
},
|
|
376
376
|
|
|
377
|
-
setup(__props,
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
} = _ref;
|
|
377
|
+
setup(__props, {
|
|
378
|
+
expose
|
|
379
|
+
}) {
|
|
381
380
|
const props = __props;
|
|
382
381
|
let imgWidthMax = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(800); // 场景高度
|
|
383
382
|
|
package/shadowanalysis/index.js
CHANGED
|
@@ -1,160 +1,43 @@
|
|
|
1
1
|
/******/ (function() { // webpackBootstrap
|
|
2
|
+
/******/ "use strict";
|
|
2
3
|
/******/ var __webpack_modules__ = ({
|
|
3
4
|
|
|
4
|
-
/***/
|
|
5
|
-
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
6
|
-
|
|
7
|
-
__webpack_require__(4271);
|
|
8
|
-
|
|
9
|
-
/*global window, global*/
|
|
10
|
-
var util = __webpack_require__(6464);
|
|
11
|
-
|
|
12
|
-
var assert = __webpack_require__(9084);
|
|
13
|
-
|
|
14
|
-
function now() {
|
|
15
|
-
return new Date().getTime();
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
var slice = Array.prototype.slice;
|
|
19
|
-
var console;
|
|
20
|
-
var times = {};
|
|
21
|
-
|
|
22
|
-
if (typeof __webpack_require__.g !== "undefined" && __webpack_require__.g.console) {
|
|
23
|
-
console = __webpack_require__.g.console;
|
|
24
|
-
} else if (typeof window !== "undefined" && window.console) {
|
|
25
|
-
console = window.console;
|
|
26
|
-
} else {
|
|
27
|
-
console = {};
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
var functions = [[log, "log"], [info, "info"], [warn, "warn"], [error, "error"], [time, "time"], [timeEnd, "timeEnd"], [trace, "trace"], [dir, "dir"], [consoleAssert, "assert"]];
|
|
31
|
-
|
|
32
|
-
for (var i = 0; i < functions.length; i++) {
|
|
33
|
-
var tuple = functions[i];
|
|
34
|
-
var f = tuple[0];
|
|
35
|
-
var name = tuple[1];
|
|
36
|
-
|
|
37
|
-
if (!console[name]) {
|
|
38
|
-
console[name] = f;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
module.exports = console;
|
|
43
|
-
|
|
44
|
-
function log() {}
|
|
45
|
-
|
|
46
|
-
function info() {
|
|
47
|
-
console.log.apply(console, arguments);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
function warn() {
|
|
51
|
-
console.log.apply(console, arguments);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
function error() {
|
|
55
|
-
console.warn.apply(console, arguments);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
function time(label) {
|
|
59
|
-
times[label] = now();
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
function timeEnd(label) {
|
|
63
|
-
var time = times[label];
|
|
64
|
-
|
|
65
|
-
if (!time) {
|
|
66
|
-
throw new Error("No such label: " + label);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
delete times[label];
|
|
70
|
-
var duration = now() - time;
|
|
71
|
-
console.log(label + ": " + duration + "ms");
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
function trace() {
|
|
75
|
-
var err = new Error();
|
|
76
|
-
err.name = "Trace";
|
|
77
|
-
err.message = util.format.apply(null, arguments);
|
|
78
|
-
console.error(err.stack);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
function dir(object) {
|
|
82
|
-
console.log(util.inspect(object) + "\n");
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
function consoleAssert(expression) {
|
|
86
|
-
if (!expression) {
|
|
87
|
-
var arr = slice.call(arguments, 1);
|
|
88
|
-
assert.ok(false, util.format.apply(null, arr));
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
/***/ }),
|
|
93
|
-
|
|
94
|
-
/***/ 8143:
|
|
5
|
+
/***/ 1349:
|
|
95
6
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
96
7
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
__webpack_require__.
|
|
101
|
-
"Z": function() { return /* binding */ message; }
|
|
102
|
-
});
|
|
103
|
-
|
|
104
|
-
;// CONCATENATED MODULE: external "element-plus/es"
|
|
105
|
-
var es_namespaceObject = require("element-plus/es");
|
|
106
|
-
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
107
|
-
var init_js_ = __webpack_require__(5406);
|
|
108
|
-
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
109
|
-
;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
|
|
8
|
+
/* harmony import */ var element_plus_es__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2442);
|
|
9
|
+
/* harmony import */ var element_plus_es__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_es__WEBPACK_IMPORTED_MODULE_0__);
|
|
10
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5406);
|
|
11
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
|
|
110
12
|
|
|
111
13
|
|
|
112
14
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
Vue.component("KqMessage",
|
|
15
|
+
element_plus_es__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
16
|
+
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
17
|
+
Vue.component("KqMessage", element_plus_es__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
116
18
|
};
|
|
117
19
|
|
|
118
|
-
/* harmony default export */
|
|
20
|
+
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_es__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
119
21
|
|
|
120
22
|
/***/ }),
|
|
121
23
|
|
|
122
24
|
/***/ 348:
|
|
123
25
|
/***/ (function(module) {
|
|
124
26
|
|
|
125
|
-
"use strict";
|
|
126
27
|
module.exports = require("@kq_npm/client_icons_vue");
|
|
127
28
|
|
|
128
29
|
/***/ }),
|
|
129
30
|
|
|
130
|
-
/***/
|
|
31
|
+
/***/ 2442:
|
|
131
32
|
/***/ (function(module) {
|
|
132
33
|
|
|
133
|
-
|
|
134
|
-
module.exports = require("assert");
|
|
135
|
-
|
|
136
|
-
/***/ }),
|
|
137
|
-
|
|
138
|
-
/***/ 4271:
|
|
139
|
-
/***/ (function(module) {
|
|
140
|
-
|
|
141
|
-
"use strict";
|
|
142
|
-
module.exports = require("core-js/modules/es.error.cause.js");
|
|
143
|
-
|
|
144
|
-
/***/ }),
|
|
145
|
-
|
|
146
|
-
/***/ 6464:
|
|
147
|
-
/***/ (function(module) {
|
|
148
|
-
|
|
149
|
-
"use strict";
|
|
150
|
-
module.exports = require("util");
|
|
34
|
+
module.exports = require("element-plus/es");
|
|
151
35
|
|
|
152
36
|
/***/ }),
|
|
153
37
|
|
|
154
38
|
/***/ 7080:
|
|
155
39
|
/***/ (function(module) {
|
|
156
40
|
|
|
157
|
-
"use strict";
|
|
158
41
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
159
42
|
|
|
160
43
|
/***/ }),
|
|
@@ -162,7 +45,6 @@ module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
|
162
45
|
/***/ 9702:
|
|
163
46
|
/***/ (function(module) {
|
|
164
47
|
|
|
165
|
-
"use strict";
|
|
166
48
|
module.exports = require("@kq_npm/client_common_vue/_utils/const-image");
|
|
167
49
|
|
|
168
50
|
/***/ }),
|
|
@@ -170,7 +52,6 @@ module.exports = require("@kq_npm/client_common_vue/_utils/const-image");
|
|
|
170
52
|
/***/ 826:
|
|
171
53
|
/***/ (function(module) {
|
|
172
54
|
|
|
173
|
-
"use strict";
|
|
174
55
|
module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
175
56
|
|
|
176
57
|
/***/ }),
|
|
@@ -178,7 +59,6 @@ module.exports = require("@kq_npm/client_common_vue/_utils/gis-utils");
|
|
|
178
59
|
/***/ 9519:
|
|
179
60
|
/***/ (function(module) {
|
|
180
61
|
|
|
181
|
-
"use strict";
|
|
182
62
|
module.exports = require("@kq_npm/client_common_vue/_utils/util");
|
|
183
63
|
|
|
184
64
|
/***/ }),
|
|
@@ -186,7 +66,6 @@ module.exports = require("@kq_npm/client_common_vue/_utils/util");
|
|
|
186
66
|
/***/ 5406:
|
|
187
67
|
/***/ (function(module) {
|
|
188
68
|
|
|
189
|
-
"use strict";
|
|
190
69
|
module.exports = require("@kq_npm/client_common_vue/init.js");
|
|
191
70
|
|
|
192
71
|
/***/ }),
|
|
@@ -194,7 +73,6 @@ module.exports = require("@kq_npm/client_common_vue/init.js");
|
|
|
194
73
|
/***/ 637:
|
|
195
74
|
/***/ (function(module) {
|
|
196
75
|
|
|
197
|
-
"use strict";
|
|
198
76
|
module.exports = require("vue");
|
|
199
77
|
|
|
200
78
|
/***/ }),
|
|
@@ -202,7 +80,6 @@ module.exports = require("vue");
|
|
|
202
80
|
/***/ 8270:
|
|
203
81
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
204
82
|
|
|
205
|
-
"use strict";
|
|
206
83
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
207
84
|
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
208
85
|
/* harmony export */ });
|
|
@@ -274,18 +151,6 @@ function _defineProperty(obj, key, value) {
|
|
|
274
151
|
/******/ };
|
|
275
152
|
/******/ }();
|
|
276
153
|
/******/
|
|
277
|
-
/******/ /* webpack/runtime/global */
|
|
278
|
-
/******/ !function() {
|
|
279
|
-
/******/ __webpack_require__.g = (function() {
|
|
280
|
-
/******/ if (typeof globalThis === 'object') return globalThis;
|
|
281
|
-
/******/ try {
|
|
282
|
-
/******/ return this || new Function('return this')();
|
|
283
|
-
/******/ } catch (e) {
|
|
284
|
-
/******/ if (typeof window === 'object') return window;
|
|
285
|
-
/******/ }
|
|
286
|
-
/******/ })();
|
|
287
|
-
/******/ }();
|
|
288
|
-
/******/
|
|
289
154
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
290
155
|
/******/ !function() {
|
|
291
156
|
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
@@ -304,9 +169,8 @@ function _defineProperty(obj, key, value) {
|
|
|
304
169
|
/******/
|
|
305
170
|
/************************************************************************/
|
|
306
171
|
var __webpack_exports__ = {};
|
|
307
|
-
// This entry need to be wrapped in an IIFE because it need to be in
|
|
172
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
308
173
|
!function() {
|
|
309
|
-
"use strict";
|
|
310
174
|
// ESM COMPAT FLAG
|
|
311
175
|
__webpack_require__.r(__webpack_exports__);
|
|
312
176
|
|
|
@@ -322,11 +186,11 @@ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
|
322
186
|
var gis_utils_ = __webpack_require__(826);
|
|
323
187
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
324
188
|
var defineProperty = __webpack_require__(8270);
|
|
325
|
-
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
326
|
-
var message = __webpack_require__(
|
|
189
|
+
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
190
|
+
var message = __webpack_require__(1349);
|
|
327
191
|
;// CONCATENATED MODULE: ./src/webgl/shadowanalysis/ShadowAnalysisViewModel.js
|
|
328
|
-
// 分析逻辑类
|
|
329
192
|
|
|
193
|
+
// 分析逻辑类
|
|
330
194
|
|
|
331
195
|
class ShadowAnalysisViewModel {
|
|
332
196
|
//阴影分析三维对象
|
|
@@ -565,8 +429,7 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
565
429
|
var util_ = __webpack_require__(9519);
|
|
566
430
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
567
431
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
568
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js
|
|
569
|
-
/* provided dependency */ var console = __webpack_require__(1283);
|
|
432
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/shadowanalysis/ShadowAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
570
433
|
|
|
571
434
|
const _hoisted_1 = {
|
|
572
435
|
class: "kq3d-shadow-analysis-box"
|
|
@@ -643,10 +506,9 @@ const __default__ = {
|
|
|
643
506
|
}
|
|
644
507
|
},
|
|
645
508
|
|
|
646
|
-
setup(__props,
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
} = _ref;
|
|
509
|
+
setup(__props, {
|
|
510
|
+
expose
|
|
511
|
+
}) {
|
|
650
512
|
const props = __props;
|
|
651
513
|
const {
|
|
652
514
|
proxy
|
|
@@ -83,7 +83,7 @@ module.exports = function (cssWithMappingToString) {
|
|
|
83
83
|
|
|
84
84
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
|
|
85
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:
|
|
86
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".coord-sightline{background:rgba(42,42,42,.8);border-radius:4px;padding:5px;color:#edffff;font-size:15px}.coord-sightline .triangle{display:block;height:16px;width:16px;background-color:inherit;border:inherit;position:absolute;bottom:-8px;left:calc(50% - 8px);clip-path:polygon(0% 0%, 100% 100%, 0% 100%);transform:rotate(-45deg)}", ""]);
|
|
87
87
|
// Exports
|
|
88
88
|
/* harmony default export */ __webpack_exports__["Z"] = (___CSS_LOADER_EXPORT___);
|
|
89
89
|
|
|
@@ -533,10 +533,10 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
533
533
|
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
|
|
534
534
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
535
535
|
var gis_utils_ = __webpack_require__(826);
|
|
536
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
537
|
-
var es_array_includes_js_ = __webpack_require__(3600);
|
|
538
536
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
539
537
|
var defineProperty = __webpack_require__(8270);
|
|
538
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
539
|
+
var es_array_includes_js_ = __webpack_require__(3600);
|
|
540
540
|
// EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
|
|
541
541
|
var injectStylesIntoStyleTag = __webpack_require__(3379);
|
|
542
542
|
var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
|
|
@@ -562,7 +562,6 @@ var const_image_ = __webpack_require__(9702);
|
|
|
562
562
|
|
|
563
563
|
|
|
564
564
|
|
|
565
|
-
|
|
566
565
|
//通视分析逻辑类
|
|
567
566
|
|
|
568
567
|
class SightlineAnalysisViewModel {
|
|
@@ -577,7 +576,7 @@ class SightlineAnalysisViewModel {
|
|
|
577
576
|
//拾取的点位集合
|
|
578
577
|
//高亮的障碍物的id集合
|
|
579
578
|
// 点位图标billboards集合
|
|
580
|
-
constructor(scenceView, options) {
|
|
579
|
+
constructor(scenceView, options, language) {
|
|
581
580
|
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
582
581
|
|
|
583
582
|
(0,defineProperty/* default */.Z)(this, "_sightlineAnalysis", null);
|
|
@@ -600,10 +599,13 @@ class SightlineAnalysisViewModel {
|
|
|
600
599
|
|
|
601
600
|
(0,defineProperty/* default */.Z)(this, "_billboards", []);
|
|
602
601
|
|
|
602
|
+
(0,defineProperty/* default */.Z)(this, "_language", null);
|
|
603
|
+
|
|
603
604
|
this._viewer = scenceView._viewer;
|
|
604
605
|
this._viewer.scene.postProcessStages._fxaa.enabled = true;
|
|
605
606
|
this._viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
606
607
|
|
|
608
|
+
this._language = language;
|
|
607
609
|
options.viewer = this._viewer;
|
|
608
610
|
|
|
609
611
|
if (options.visibleColor) {
|
|
@@ -670,28 +672,34 @@ class SightlineAnalysisViewModel {
|
|
|
670
672
|
var latitude = Cesium.Math.toDegrees(position.latitude).toFixed(5);
|
|
671
673
|
var height = position.height.toFixed(3);
|
|
672
674
|
position = Cesium.Cartesian3.fromRadians(position.longitude, position.latitude, position.height);
|
|
673
|
-
var html = `<div class="coord">
|
|
675
|
+
var html = `<div class="coord-sightline">
|
|
674
676
|
<table>
|
|
675
677
|
<tr>
|
|
676
|
-
<td>X
|
|
677
|
-
<td>{X}
|
|
678
|
+
<td>X: </td>
|
|
679
|
+
<td>{X}°</td>
|
|
678
680
|
</tr>
|
|
679
681
|
<tr>
|
|
680
|
-
<td>Y
|
|
681
|
-
<td>{Y}
|
|
682
|
+
<td>Y: </td>
|
|
683
|
+
<td>{Y}°</td>
|
|
682
684
|
</tr>
|
|
683
685
|
<tr>
|
|
684
|
-
<td>Z
|
|
685
|
-
<td>{Z}</td>
|
|
686
|
+
<td>Z: </td>
|
|
687
|
+
<td>{Z} m</td>
|
|
686
688
|
</tr>
|
|
687
689
|
</table>
|
|
688
690
|
<span class="triangle"></span>
|
|
689
691
|
</div>`;
|
|
690
692
|
html = html.replace('{X}', longitude).replace('{Y}', latitude).replace('{Z}', height);
|
|
693
|
+
|
|
694
|
+
if (this._language) {
|
|
695
|
+
html = html.replace('X', this._language.value.longitude).replace('Y', this._language.value.latitude).replace('Z', this._language.value.elevation);
|
|
696
|
+
}
|
|
697
|
+
|
|
691
698
|
var divpoint = new Cesium.Kq3dHtmlTag(this._viewer, {
|
|
692
699
|
html: html,
|
|
693
700
|
position: position,
|
|
694
|
-
anchor: [
|
|
701
|
+
anchor: [0, -8],
|
|
702
|
+
alignmentMode: 7,
|
|
695
703
|
noEvent: true
|
|
696
704
|
});
|
|
697
705
|
|
|
@@ -856,7 +864,7 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
856
864
|
var util_ = __webpack_require__(9519);
|
|
857
865
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
858
866
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
859
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js
|
|
867
|
+
;// 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
|
|
860
868
|
|
|
861
869
|
const _hoisted_1 = {
|
|
862
870
|
class: "kq3d-sightline-analysis-box"
|
|
@@ -915,10 +923,9 @@ const __default__ = {
|
|
|
915
923
|
}
|
|
916
924
|
},
|
|
917
925
|
|
|
918
|
-
setup(__props,
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
} = _ref;
|
|
926
|
+
setup(__props, {
|
|
927
|
+
expose
|
|
928
|
+
}) {
|
|
922
929
|
const props = __props;
|
|
923
930
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
924
931
|
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(""); // 获取组件传参
|
|
@@ -967,7 +974,7 @@ const __default__ = {
|
|
|
967
974
|
obstacleColor: formItem.obstacleColor,
|
|
968
975
|
isLabel: formItem.isLabel
|
|
969
976
|
};
|
|
970
|
-
viewModel = new SightlineAnalysisViewModel(scenceView, options);
|
|
977
|
+
viewModel = new SightlineAnalysisViewModel(scenceView, options, language);
|
|
971
978
|
}
|
|
972
979
|
});
|
|
973
980
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.coord{background:rgba(42,42,42,.8);border-radius:4px;padding:5px;color:#edffff;font-size:15px}.coord .triangle{display:block;height:
|
|
1
|
+
.coord-sightline{background:rgba(42,42,42,.8);border-radius:4px;padding:5px;color:#edffff;font-size:15px}.coord-sightline .triangle{display:block;height:16px;width:16px;background-color:inherit;border:inherit;position:absolute;bottom:-8px;left:calc(50% - 8px);-webkit-clip-path:polygon(0 0,100% 100%,0 100%);clip-path:polygon(0 0,100% 100%,0 100%);-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg)}
|
package/skylineanalysis/index.js
CHANGED
|
@@ -2,30 +2,22 @@
|
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
|
-
/***/
|
|
5
|
+
/***/ 1349:
|
|
6
6
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
__webpack_require__
|
|
11
|
-
|
|
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
|
|
8
|
+
/* harmony import */ var element_plus_es__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2442);
|
|
9
|
+
/* harmony import */ var element_plus_es__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_es__WEBPACK_IMPORTED_MODULE_0__);
|
|
10
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5406);
|
|
11
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
|
|
20
12
|
|
|
21
13
|
|
|
22
14
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
Vue.component("KqMessage",
|
|
15
|
+
element_plus_es__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
16
|
+
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
17
|
+
Vue.component("KqMessage", element_plus_es__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
26
18
|
};
|
|
27
19
|
|
|
28
|
-
/* harmony default export */
|
|
20
|
+
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_es__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
29
21
|
|
|
30
22
|
/***/ }),
|
|
31
23
|
|
|
@@ -36,6 +28,13 @@ module.exports = require("@kq_npm/client_icons_vue");
|
|
|
36
28
|
|
|
37
29
|
/***/ }),
|
|
38
30
|
|
|
31
|
+
/***/ 2442:
|
|
32
|
+
/***/ (function(module) {
|
|
33
|
+
|
|
34
|
+
module.exports = require("element-plus/es");
|
|
35
|
+
|
|
36
|
+
/***/ }),
|
|
37
|
+
|
|
39
38
|
/***/ 7080:
|
|
40
39
|
/***/ (function(module) {
|
|
41
40
|
|
|
@@ -180,11 +179,11 @@ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
|
180
179
|
var gis_utils_ = __webpack_require__(826);
|
|
181
180
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
182
181
|
var defineProperty = __webpack_require__(8270);
|
|
183
|
-
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
184
|
-
var message = __webpack_require__(
|
|
182
|
+
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
183
|
+
var message = __webpack_require__(1349);
|
|
185
184
|
;// CONCATENATED MODULE: ./src/webgl/skylineanalysis/SkylineAnalysisViewModel.js
|
|
186
|
-
//天际线分析逻辑类
|
|
187
185
|
|
|
186
|
+
//天际线分析逻辑类
|
|
188
187
|
|
|
189
188
|
class SkylineAnalysisViewModel {
|
|
190
189
|
/**
|
|
@@ -511,7 +510,7 @@ var util_ = __webpack_require__(9519);
|
|
|
511
510
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
512
511
|
;// CONCATENATED MODULE: external "echarts"
|
|
513
512
|
var external_echarts_namespaceObject = require("echarts");
|
|
514
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js
|
|
513
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/skylineanalysis/SkylineAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
515
514
|
|
|
516
515
|
const _hoisted_1 = {
|
|
517
516
|
class: "kq3d-skyline-analysis-box"
|
|
@@ -580,10 +579,9 @@ const __default__ = {
|
|
|
580
579
|
}
|
|
581
580
|
},
|
|
582
581
|
|
|
583
|
-
setup(__props,
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
} = _ref;
|
|
582
|
+
setup(__props, {
|
|
583
|
+
expose
|
|
584
|
+
}) {
|
|
587
585
|
const props = __props;
|
|
588
586
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({}); // 设置
|
|
589
587
|
|
package/slopeanalysis/index.js
CHANGED
|
@@ -2,30 +2,22 @@
|
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
|
-
/***/
|
|
5
|
+
/***/ 1349:
|
|
6
6
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
__webpack_require__
|
|
11
|
-
|
|
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
|
|
8
|
+
/* harmony import */ var element_plus_es__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2442);
|
|
9
|
+
/* harmony import */ var element_plus_es__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_es__WEBPACK_IMPORTED_MODULE_0__);
|
|
10
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5406);
|
|
11
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
|
|
20
12
|
|
|
21
13
|
|
|
22
14
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
Vue.component("KqMessage",
|
|
15
|
+
element_plus_es__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
16
|
+
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
17
|
+
Vue.component("KqMessage", element_plus_es__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
26
18
|
};
|
|
27
19
|
|
|
28
|
-
/* harmony default export */
|
|
20
|
+
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_es__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
29
21
|
|
|
30
22
|
/***/ }),
|
|
31
23
|
|
|
@@ -36,6 +28,13 @@ module.exports = require("@kq_npm/client_icons_vue");
|
|
|
36
28
|
|
|
37
29
|
/***/ }),
|
|
38
30
|
|
|
31
|
+
/***/ 2442:
|
|
32
|
+
/***/ (function(module) {
|
|
33
|
+
|
|
34
|
+
module.exports = require("element-plus/es");
|
|
35
|
+
|
|
36
|
+
/***/ }),
|
|
37
|
+
|
|
39
38
|
/***/ 7080:
|
|
40
39
|
/***/ (function(module) {
|
|
41
40
|
|
|
@@ -189,8 +188,8 @@ var gis_utils_ = __webpack_require__(826);
|
|
|
189
188
|
var defineProperty = __webpack_require__(8270);
|
|
190
189
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
191
190
|
var const_image_ = __webpack_require__(9702);
|
|
192
|
-
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
193
|
-
var message = __webpack_require__(
|
|
191
|
+
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
192
|
+
var message = __webpack_require__(1349);
|
|
194
193
|
;// CONCATENATED MODULE: ./src/webgl/slopeanalysis/SlopeAnalysisViewModel.js
|
|
195
194
|
|
|
196
195
|
// 分析逻辑类
|
|
@@ -462,7 +461,7 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
462
461
|
var util_ = __webpack_require__(9519);
|
|
463
462
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
464
463
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
465
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js
|
|
464
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/slopeanalysis/SlopeAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
466
465
|
|
|
467
466
|
const _hoisted_1 = {
|
|
468
467
|
class: "kq3d-slope-analysis-box"
|
|
@@ -550,10 +549,9 @@ const __default__ = {
|
|
|
550
549
|
}
|
|
551
550
|
},
|
|
552
551
|
|
|
553
|
-
setup(__props,
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
} = _ref;
|
|
552
|
+
setup(__props, {
|
|
553
|
+
expose
|
|
554
|
+
}) {
|
|
557
555
|
const props = __props;
|
|
558
556
|
const {
|
|
559
557
|
proxy
|