@kq_npm/client3d_webgl_vue 4.5.38 → 4.5.40
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 +285 -193
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +45 -14
- package/boxclip/index.js +52 -19
- package/clientPrint/index.js +3539 -1291
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +699 -14
- package/excavatefillanalysis/index.js +48 -18
- package/flight/index.js +45 -4
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +39 -5
- package/geologicalbodyanalysis/index.js +37 -3
- package/gpuspatialquery/index.js +50 -24
- package/heatmap3d/index.js +37 -3
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +3357 -1160
- package/isolineanalysis/index.js +56 -28
- package/light/index.js +19 -22
- package/limitheightanalysis/index.js +46 -16
- package/measure/index.js +56 -14
- package/modelFlat/index.js +37 -3
- package/modelexcavate/index.js +37 -3
- package/modelfilter/index.js +37 -3
- package/modelprofileanalysis/index.js +37 -3
- package/modelselect/index.js +37 -3
- package/package.json +1 -1
- package/particleeffect/index.js +26 -33
- package/planeclip/index.js +47 -18
- package/radarscananalysis/index.js +863 -0
- package/radarscananalysis/style/index.js +3 -0
- package/radarscananalysis/style/radarscananalysis.css +1 -0
- package/scaneffect/index.js +48 -20
- package/scaneffect/style/scaneffect.css +1 -1
- package/sceneadvancedtoimage/index.js +46 -16
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -1
- package/sceneapp/index.js +3538 -1290
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +3533 -1285
- package/sceneview/style/sceneview.css +1 -1
- package/shadowanalysis/index.js +49 -19
- package/sightlineanalysis/index.js +41 -31
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +37 -3
- package/slopeanalysis/index.js +85 -54
- package/slopeaspectanalysis/index.js +520 -135
- package/style.css +1 -1
- package/terrainoperation/index.js +61 -31
- package/terrainprofileanalysis/index.js +45 -14
- package/typhoontrac/index.js +71 -11
- package/typhoontrac/style/typhoontrac.css +1 -1
- package/videofusion/index.js +37 -3
- package/videoproject/index.js +37 -3
- package/weathereffect/index.js +30 -34
- package/windyslicing/index.js +670 -306
- package/windyslicing/style/windyslicing.css +1 -1
- package/wireframesketch/index.js +37 -3
|
@@ -0,0 +1,863 @@
|
|
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
+
module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/init.js"));
|
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
|
5
|
+
define("@kq_npm/client3d_webgl_vue", ["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/_utils/util", "@kq_npm/client_common_vue/init.js"], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["@kq_npm/client3d_webgl_vue"] = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/init.js"));
|
|
8
|
+
else
|
|
9
|
+
root["@kq_npm/client3d_webgl_vue"] = factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/_utils/util"], root["@kq_npm/client_common_vue/init.js"]);
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__3458__, __WEBPACK_EXTERNAL_MODULE__7997__) {
|
|
11
|
+
return /******/ (function() { // webpackBootstrap
|
|
12
|
+
/******/ "use strict";
|
|
13
|
+
/******/ var __webpack_modules__ = ({
|
|
14
|
+
|
|
15
|
+
/***/ 9440:
|
|
16
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17
|
+
|
|
18
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19
|
+
/* harmony export */ "Z": function() { return /* binding */ RadarScanAnalysisViewModel; }
|
|
20
|
+
/* harmony export */ });
|
|
21
|
+
class RadarScanAnalysisViewModel {
|
|
22
|
+
_viewer = null;
|
|
23
|
+
//参数
|
|
24
|
+
_options = {
|
|
25
|
+
heading: 0,
|
|
26
|
+
pitch: 0,
|
|
27
|
+
roll: 0,
|
|
28
|
+
longitude: 113,
|
|
29
|
+
latitude: 30,
|
|
30
|
+
radius: 100000,
|
|
31
|
+
ellipsoidColor: '#4193EF', // 半球颜色
|
|
32
|
+
ellipsoidColorAlpha: 0.99, // 半球透明度
|
|
33
|
+
ellipsoidOutlineColor: '#8DDBF0', // 半球边框颜色
|
|
34
|
+
ellipsoidOutlineColorAlpha: 1, // 半球边框透明度
|
|
35
|
+
sectorColor: '#D0BC23', // 扇形颜色
|
|
36
|
+
sectorColorAlpha: 0.9, // 扇形透明度
|
|
37
|
+
sectorOutlineColor: '#D0BC23', // 扇形边线颜色
|
|
38
|
+
sectorOutlineColorAlpha: 0.9, // 扇形边线不透明度
|
|
39
|
+
};
|
|
40
|
+
_drawManager = null; // 绘制对象
|
|
41
|
+
_radarScan = null; // 扫描对象
|
|
42
|
+
constructor(scenceView, option) {
|
|
43
|
+
this._viewer = scenceView._viewer;
|
|
44
|
+
Object.assign(this._options, option);
|
|
45
|
+
this._drawManager = scenceView._drawManager;
|
|
46
|
+
}
|
|
47
|
+
//获取颜色rgba值
|
|
48
|
+
getRgba(color) {
|
|
49
|
+
var red = color.red * 255;
|
|
50
|
+
var green = color.green * 255;
|
|
51
|
+
var blue = color.blue * 255;
|
|
52
|
+
var alpha = color.alpha;
|
|
53
|
+
return 'rgba(' + red + ',' + green + ',' + blue + ',' + alpha + ')';
|
|
54
|
+
}
|
|
55
|
+
//渐变纹理
|
|
56
|
+
getColorRamp(values, isVertical) {
|
|
57
|
+
var sectorColor0 = Cesium.Color.fromCssColorString(this._options.sectorColor).withAlpha(.6);
|
|
58
|
+
var sectorColor1 = Cesium.Color.fromCssColorString(this._options.sectorColor).withAlpha(.3);
|
|
59
|
+
var color0 = this.getRgba(sectorColor0);
|
|
60
|
+
var color1 = this.getRgba(sectorColor1);
|
|
61
|
+
var ramp = document.createElement('canvas');
|
|
62
|
+
ramp.width = isVertical ? 1 : 100;
|
|
63
|
+
ramp.height = isVertical ? 100 : 1;
|
|
64
|
+
|
|
65
|
+
var ctx = ramp.getContext('2d');
|
|
66
|
+
|
|
67
|
+
var grd = isVertical ? ctx.createLinearGradient(0, 0, 0, 100) : ctx.createLinearGradient(0, 0, 100, 0);
|
|
68
|
+
grd.addColorStop(values[0], color0);
|
|
69
|
+
grd.addColorStop(values[1], color1);
|
|
70
|
+
ctx.fillStyle = grd;
|
|
71
|
+
|
|
72
|
+
if (isVertical)
|
|
73
|
+
ctx.fillRect(0, 0, 1, 100);
|
|
74
|
+
else
|
|
75
|
+
ctx.fillRect(0, 0, 100, 1);
|
|
76
|
+
return ramp;
|
|
77
|
+
}
|
|
78
|
+
// 参数切换
|
|
79
|
+
paramsChanged(key) {
|
|
80
|
+
if (!this._radarScan) return;
|
|
81
|
+
switch (key) {
|
|
82
|
+
case "ellipsoidColor":
|
|
83
|
+
this._radarScan.ellipsoidColor = Cesium.Color.fromCssColorString(this._options[key]).withAlpha(Number(this._options.ellipsoidColorAlpha));
|
|
84
|
+
break;
|
|
85
|
+
case "ellipsoidColorAlpha":
|
|
86
|
+
this._radarScan.ellipsoidColor = Cesium.Color.fromCssColorString(this._options.ellipsoidColor).withAlpha(Number(this._options[key]));
|
|
87
|
+
break;
|
|
88
|
+
case "ellipsoidOutlineColor":
|
|
89
|
+
this._radarScan.ellipsoidOutlineColor = Cesium.Color.fromCssColorString(this._options[key]).withAlpha(Number(this._options.ellipsoidOutlineColorAlpha));
|
|
90
|
+
break;
|
|
91
|
+
case "ellipsoidOutlineColorAlpha":
|
|
92
|
+
this._radarScan.ellipsoidOutlineColor = Cesium.Color.fromCssColorString(this._options.ellipsoidOutlineColor).withAlpha(Number(this._options[key]));
|
|
93
|
+
break;
|
|
94
|
+
case "sectorColor":
|
|
95
|
+
this._radarScan.sectorColor = Cesium.Color.fromCssColorString(this._options[key]).withAlpha(Number(this._options.sectorColorAlpha));
|
|
96
|
+
break;
|
|
97
|
+
case "sectorColorAlpha":
|
|
98
|
+
this._radarScan.sectorColor = Cesium.Color.fromCssColorString(this._options.sectorColor).withAlpha(Number(this._options[key]));
|
|
99
|
+
break;
|
|
100
|
+
case "sectorOutlineColor":
|
|
101
|
+
this._radarScan.sectorOutlineColor = Cesium.Color.fromCssColorString(this._options[key]).withAlpha(Number(this._options.sectorOutlineColorAlpha));
|
|
102
|
+
break;
|
|
103
|
+
case "sectorOutlineColorAlpha":
|
|
104
|
+
this._radarScan.sectorOutlineColor = Cesium.Color.fromCssColorString(this._options.sectorOutlineColor).withAlpha(Number(this._options[key]));
|
|
105
|
+
break;
|
|
106
|
+
default:
|
|
107
|
+
this._radarScan[key] = Number(this._options[key]);
|
|
108
|
+
break;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
//开始分析
|
|
113
|
+
start() {
|
|
114
|
+
let that = this;
|
|
115
|
+
if (this._drawManager) {
|
|
116
|
+
this._drawManager.startDraw("point", { clampToGround: true, image: null }, (feature, { shape }) => {
|
|
117
|
+
if (!shape.groupName || shape.groupName !== "RadarScanAnalysis") return;
|
|
118
|
+
if (shape) {
|
|
119
|
+
let cartographic = Cesium.Cartographic.fromCartesian(shape.position);
|
|
120
|
+
Object.assign(that._options, {
|
|
121
|
+
longitude: Cesium.Math.toDegrees(cartographic.longitude),
|
|
122
|
+
latitude: Cesium.Math.toDegrees(cartographic.latitude),
|
|
123
|
+
});
|
|
124
|
+
//实例化
|
|
125
|
+
if (!that._radarScan) {
|
|
126
|
+
that._radarScan = new RadarScan({
|
|
127
|
+
viewer: that._viewer,
|
|
128
|
+
longitude: that._options.longitude,
|
|
129
|
+
latitude: that._options.latitude,
|
|
130
|
+
radius: that._options.radius,
|
|
131
|
+
ellipsoidColor: Cesium.Color.fromCssColorString(that._options.ellipsoidColor).withAlpha(that._options.ellipsoidColorAlpha),
|
|
132
|
+
ellipsoidOutlineColor: Cesium.Color.fromCssColorString(that._options.ellipsoidOutlineColor).withAlpha(that._options.ellipsoidOutlineColorAlpha),
|
|
133
|
+
sectorColor: Cesium.Color.fromCssColorString(that._options.sectorColor).withAlpha(that._options.sectorColorAlpha),
|
|
134
|
+
// sectorColor: new Cesium.ImageMaterialProperty({
|
|
135
|
+
// image: that.getColorRamp([0.0, 1.0], true),
|
|
136
|
+
// transparent: true
|
|
137
|
+
// }),
|
|
138
|
+
sectorOutlineColor: Cesium.Color.fromCssColorString(that._options.sectorOutlineColor).withAlpha(that._options.sectorOutlineColorAlpha)
|
|
139
|
+
})
|
|
140
|
+
} else {
|
|
141
|
+
Object.assign(that._radarScan, {
|
|
142
|
+
longitude: that._options.longitude,
|
|
143
|
+
latitude: that._options.latitude,
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
that._drawManager && that._drawManager.clearDrawGroup("RadarScanAnalysis");
|
|
148
|
+
}, "RadarScanAnalysis");
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
//清除全部结果
|
|
152
|
+
clear() {
|
|
153
|
+
this._radarScan && this._radarScan.destroy?.();
|
|
154
|
+
this._radarScan = null;
|
|
155
|
+
this._drawManager && this._drawManager.stopDraw();
|
|
156
|
+
}
|
|
157
|
+
// 销毁
|
|
158
|
+
destroy() {
|
|
159
|
+
this.clear();
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
/***/ }),
|
|
165
|
+
|
|
166
|
+
/***/ 348:
|
|
167
|
+
/***/ (function(module) {
|
|
168
|
+
|
|
169
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
170
|
+
|
|
171
|
+
/***/ }),
|
|
172
|
+
|
|
173
|
+
/***/ 7080:
|
|
174
|
+
/***/ (function(module) {
|
|
175
|
+
|
|
176
|
+
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
177
|
+
|
|
178
|
+
/***/ }),
|
|
179
|
+
|
|
180
|
+
/***/ 7135:
|
|
181
|
+
/***/ (function(module) {
|
|
182
|
+
|
|
183
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
|
|
184
|
+
|
|
185
|
+
/***/ }),
|
|
186
|
+
|
|
187
|
+
/***/ 3458:
|
|
188
|
+
/***/ (function(module) {
|
|
189
|
+
|
|
190
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__3458__;
|
|
191
|
+
|
|
192
|
+
/***/ }),
|
|
193
|
+
|
|
194
|
+
/***/ 7997:
|
|
195
|
+
/***/ (function(module) {
|
|
196
|
+
|
|
197
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
|
|
198
|
+
|
|
199
|
+
/***/ }),
|
|
200
|
+
|
|
201
|
+
/***/ 1895:
|
|
202
|
+
/***/ (function(module) {
|
|
203
|
+
|
|
204
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
205
|
+
|
|
206
|
+
/***/ })
|
|
207
|
+
|
|
208
|
+
/******/ });
|
|
209
|
+
/************************************************************************/
|
|
210
|
+
/******/ // The module cache
|
|
211
|
+
/******/ var __webpack_module_cache__ = {};
|
|
212
|
+
/******/
|
|
213
|
+
/******/ // The require function
|
|
214
|
+
/******/ function __webpack_require__(moduleId) {
|
|
215
|
+
/******/ // Check if module is in cache
|
|
216
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
217
|
+
/******/ if (cachedModule !== undefined) {
|
|
218
|
+
/******/ return cachedModule.exports;
|
|
219
|
+
/******/ }
|
|
220
|
+
/******/ // Create a new module (and put it into the cache)
|
|
221
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
222
|
+
/******/ // no module.id needed
|
|
223
|
+
/******/ // no module.loaded needed
|
|
224
|
+
/******/ exports: {}
|
|
225
|
+
/******/ };
|
|
226
|
+
/******/
|
|
227
|
+
/******/ // Execute the module function
|
|
228
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
229
|
+
/******/
|
|
230
|
+
/******/ // Return the exports of the module
|
|
231
|
+
/******/ return module.exports;
|
|
232
|
+
/******/ }
|
|
233
|
+
/******/
|
|
234
|
+
/************************************************************************/
|
|
235
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
236
|
+
/******/ !function() {
|
|
237
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
238
|
+
/******/ __webpack_require__.n = function(module) {
|
|
239
|
+
/******/ var getter = module && module.__esModule ?
|
|
240
|
+
/******/ function() { return module['default']; } :
|
|
241
|
+
/******/ function() { return module; };
|
|
242
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
243
|
+
/******/ return getter;
|
|
244
|
+
/******/ };
|
|
245
|
+
/******/ }();
|
|
246
|
+
/******/
|
|
247
|
+
/******/ /* webpack/runtime/define property getters */
|
|
248
|
+
/******/ !function() {
|
|
249
|
+
/******/ // define getter functions for harmony exports
|
|
250
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
251
|
+
/******/ for(var key in definition) {
|
|
252
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
253
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
254
|
+
/******/ }
|
|
255
|
+
/******/ }
|
|
256
|
+
/******/ };
|
|
257
|
+
/******/ }();
|
|
258
|
+
/******/
|
|
259
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
260
|
+
/******/ !function() {
|
|
261
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
262
|
+
/******/ }();
|
|
263
|
+
/******/
|
|
264
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
265
|
+
/******/ !function() {
|
|
266
|
+
/******/ // define __esModule on exports
|
|
267
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
268
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
269
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
270
|
+
/******/ }
|
|
271
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
272
|
+
/******/ };
|
|
273
|
+
/******/ }();
|
|
274
|
+
/******/
|
|
275
|
+
/************************************************************************/
|
|
276
|
+
var __webpack_exports__ = {};
|
|
277
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
278
|
+
!function() {
|
|
279
|
+
// ESM COMPAT FLAG
|
|
280
|
+
__webpack_require__.r(__webpack_exports__);
|
|
281
|
+
|
|
282
|
+
// EXPORTS
|
|
283
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
284
|
+
"RadarScanAnalysisViewModel": function() { return /* reexport */ RadarScanAnalysisViewModel/* default */.Z; },
|
|
285
|
+
"default": function() { return /* reexport */ RadarScanAnalysis; }
|
|
286
|
+
});
|
|
287
|
+
|
|
288
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
289
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
|
|
290
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
291
|
+
var gis_utils_ = __webpack_require__(7135);
|
|
292
|
+
// EXTERNAL MODULE: ./src/webgl/radarscananalysis/RadarScanAnalysisViewModel.js
|
|
293
|
+
var RadarScanAnalysisViewModel = __webpack_require__(9440);
|
|
294
|
+
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
295
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
296
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
297
|
+
var util_ = __webpack_require__(3458);
|
|
298
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
299
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
300
|
+
;// CONCATENATED MODULE: ./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/radarscananalysis/RadarScanAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
const _hoisted_1 = { class: "kq3d-radar-scan-analysis-box" }
|
|
304
|
+
const _hoisted_2 = { class: "kq3d-radar-scan-analysis-footer" }
|
|
305
|
+
|
|
306
|
+
;
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
const __default__ = {
|
|
314
|
+
name: "Kq3dRadarScanAnalysis"
|
|
315
|
+
};
|
|
316
|
+
|
|
317
|
+
/* harmony default export */ var RadarScanAnalysisvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
318
|
+
props: {
|
|
319
|
+
// 设置参数
|
|
320
|
+
settingParams: { type: Object },
|
|
321
|
+
// 是否显示阴影效果
|
|
322
|
+
showShadow: {
|
|
323
|
+
type: Boolean,
|
|
324
|
+
default: true
|
|
325
|
+
},
|
|
326
|
+
/**
|
|
327
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
328
|
+
*/
|
|
329
|
+
position: [String, Object],
|
|
330
|
+
// 是否生成HeaderTemp
|
|
331
|
+
showHeaderTemp: {
|
|
332
|
+
type: Boolean,
|
|
333
|
+
default: false
|
|
334
|
+
},
|
|
335
|
+
// 是否折叠HeaderTemp,showHeaderTemp为true时生效
|
|
336
|
+
isCollapseHeaderTemp: {
|
|
337
|
+
type: Boolean,
|
|
338
|
+
default: false
|
|
339
|
+
},
|
|
340
|
+
// HeaderTemp标题
|
|
341
|
+
headerTempTitle: {
|
|
342
|
+
type: String
|
|
343
|
+
},
|
|
344
|
+
// HeaderTemp图标
|
|
345
|
+
headerTempIcon: {
|
|
346
|
+
type: [Object, String],
|
|
347
|
+
default: client_icons_vue_.IconRadarScanAnalysis
|
|
348
|
+
},
|
|
349
|
+
// HeaderTemp Title&Icon的位置
|
|
350
|
+
isRight: {
|
|
351
|
+
type: Boolean,
|
|
352
|
+
default: true
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
setup(__props, { expose: __expose }) {
|
|
356
|
+
|
|
357
|
+
const props = __props;
|
|
358
|
+
|
|
359
|
+
const { proxy } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
360
|
+
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
361
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
|
|
362
|
+
// 获取组件传参
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
366
|
+
collapseValue: props?.settingParams?.collapseValue ?? "setting",// 默认展开属性设置
|
|
367
|
+
radius: props?.settingParams?.radius ?? 10000, // 半径
|
|
368
|
+
maxRadius: props?.settingParams?.maxRadius ?? 20000, // 半径
|
|
369
|
+
minRadius: props?.settingParams?.minRadius ?? 0, // 半径
|
|
370
|
+
ellipsoidColor: props?.settingParams?.ellipsoidColor ?? '#4193EF', // 半球颜色
|
|
371
|
+
ellipsoidColorAlpha:props?.settingParams?.ellipsoidColorAlpha ?? 0.4, // 半球透明度
|
|
372
|
+
ellipsoidOutlineColor: props?.settingParams?.ellipsoidOutlineColor ?? '#8DDBF0', // 半球边框颜色
|
|
373
|
+
ellipsoidOutlineColorAlpha: props?.settingParams?.ellipsoidOutlineColorAlpha ?? 1, // 半球边框颜色透明度
|
|
374
|
+
sectorColor: props?.settingParams?.sectorColor ?? '#D0BC23', // 扇形颜色
|
|
375
|
+
sectorColorAlpha: props?.settingParams?.sectorColorAlpha ?? 0.9, // 扇形颜色透明度
|
|
376
|
+
sectorOutlineColor: props?.settingParams?.sectorOutlineColor ?? '#D0BC23', // 扇形颜色边框颜色
|
|
377
|
+
sectorOutlineColorAlpha: props?.settingParams?.sectorOutlineColorAlpha ?? 0.9, // 扇形颜色边框透明度
|
|
378
|
+
});
|
|
379
|
+
|
|
380
|
+
let viewModel = null;
|
|
381
|
+
|
|
382
|
+
// 组件容器Ref
|
|
383
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
384
|
+
|
|
385
|
+
// 生成组件默认header
|
|
386
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
387
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
388
|
+
|
|
389
|
+
// 国际化
|
|
390
|
+
let { locale, messages } = (0,vue_i18n_cjs_js_.useI18n)();
|
|
391
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
392
|
+
headerTempTitle.value = language.value.radarScanAnalysisTitle;
|
|
393
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(
|
|
394
|
+
() => locale.value,
|
|
395
|
+
(newVal, oldVal) => {
|
|
396
|
+
language.value = messages.value[newVal]["webgl"];
|
|
397
|
+
headerTempTitle.value = language.value.radarScanAnalysisTitle;
|
|
398
|
+
}
|
|
399
|
+
);
|
|
400
|
+
|
|
401
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
402
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
403
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(
|
|
404
|
+
() => props.position,
|
|
405
|
+
(newVal, oldVal) => {
|
|
406
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
407
|
+
}
|
|
408
|
+
);
|
|
409
|
+
|
|
410
|
+
watchCreateHeaderTemp();
|
|
411
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(
|
|
412
|
+
() => props.showHeaderTemp,
|
|
413
|
+
(newVal, oldVal) => {
|
|
414
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.nextTick)(() => {
|
|
415
|
+
watchCreateHeaderTemp();
|
|
416
|
+
});
|
|
417
|
+
}
|
|
418
|
+
);
|
|
419
|
+
|
|
420
|
+
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
421
|
+
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
422
|
+
if (scenceView) {
|
|
423
|
+
viewModel = new RadarScanAnalysisViewModel/* default */.Z(scenceView, formItem);
|
|
424
|
+
}
|
|
425
|
+
});
|
|
426
|
+
});
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* @description 监听header生成
|
|
430
|
+
*/
|
|
431
|
+
const watchCreateHeaderTemp = () => {
|
|
432
|
+
if (props.showHeaderTemp) {
|
|
433
|
+
// 生成headerTemp
|
|
434
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
435
|
+
}
|
|
436
|
+
};
|
|
437
|
+
// 切换参数
|
|
438
|
+
function paramsChanged(key) {
|
|
439
|
+
if(!viewModel) return;
|
|
440
|
+
viewModel._options[key] = formItem[key];
|
|
441
|
+
viewModel.paramsChanged(key);
|
|
442
|
+
}
|
|
443
|
+
// 添加
|
|
444
|
+
function addAnalysis() {
|
|
445
|
+
viewModel && viewModel.start();
|
|
446
|
+
}
|
|
447
|
+
// 清除
|
|
448
|
+
function clear() {
|
|
449
|
+
viewModel && viewModel.clear();
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
// 销毁
|
|
453
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
454
|
+
viewModel && viewModel.destroy();
|
|
455
|
+
});
|
|
456
|
+
|
|
457
|
+
__expose({
|
|
458
|
+
clear
|
|
459
|
+
});
|
|
460
|
+
|
|
461
|
+
return (_ctx, _cache) => {
|
|
462
|
+
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row")
|
|
463
|
+
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider")
|
|
464
|
+
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col")
|
|
465
|
+
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number")
|
|
466
|
+
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item")
|
|
467
|
+
const _component_kq_color_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-color-picker")
|
|
468
|
+
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form")
|
|
469
|
+
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item")
|
|
470
|
+
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse")
|
|
471
|
+
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button")
|
|
472
|
+
|
|
473
|
+
return ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
474
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-radar-scan-analysis", { 'kq-box-shadow': __props.showShadow }]),
|
|
475
|
+
ref_key: "boxRef",
|
|
476
|
+
ref: boxRef
|
|
477
|
+
}, [
|
|
478
|
+
(__props.showHeaderTemp)
|
|
479
|
+
? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
480
|
+
key: 0,
|
|
481
|
+
ref_key: "headerTempRef",
|
|
482
|
+
ref: headerTempRef
|
|
483
|
+
}, null, 512 /* NEED_PATCH */))
|
|
484
|
+
: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true),
|
|
485
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [
|
|
486
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { class: "kq3d-radar-scan-analysis-tip" }, {
|
|
487
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
488
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).scanTips), 1 /* TEXT */)
|
|
489
|
+
]),
|
|
490
|
+
_: 1 /* STABLE */
|
|
491
|
+
}),
|
|
492
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
493
|
+
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue
|
|
494
|
+
}, {
|
|
495
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
496
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse_item, {
|
|
497
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).analysisSettings,
|
|
498
|
+
name: "setting"
|
|
499
|
+
}, {
|
|
500
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
501
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, {
|
|
502
|
+
"label-width": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? '100px' : '130px',
|
|
503
|
+
"label-position": "left"
|
|
504
|
+
}, {
|
|
505
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
506
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
507
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
508
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
509
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).radius +'(m)'
|
|
510
|
+
}, {
|
|
511
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
512
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { style: {"display":"flex"} }, {
|
|
513
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
514
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, { span: 16 }, {
|
|
515
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
516
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
517
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).radius,
|
|
518
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).radius) = $event)),
|
|
519
|
+
step: 1,
|
|
520
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minRadius,
|
|
521
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxRadius,
|
|
522
|
+
onChange: _cache[1] || (_cache[1] = $event => (paramsChanged('radius')))
|
|
523
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])
|
|
524
|
+
]),
|
|
525
|
+
_: 1 /* STABLE */
|
|
526
|
+
}),
|
|
527
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, { span: 8 }, {
|
|
528
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
529
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input_number, {
|
|
530
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).radius,
|
|
531
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).radius) = $event)),
|
|
532
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minRadius,
|
|
533
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxRadius,
|
|
534
|
+
step: 1,
|
|
535
|
+
"controls-position": "right",
|
|
536
|
+
onChange: _cache[3] || (_cache[3] = $event => (paramsChanged('radius')))
|
|
537
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])
|
|
538
|
+
]),
|
|
539
|
+
_: 1 /* STABLE */
|
|
540
|
+
})
|
|
541
|
+
]),
|
|
542
|
+
_: 1 /* STABLE */
|
|
543
|
+
})
|
|
544
|
+
]),
|
|
545
|
+
_: 1 /* STABLE */
|
|
546
|
+
}, 8 /* PROPS */, ["label"])
|
|
547
|
+
]),
|
|
548
|
+
_: 1 /* STABLE */
|
|
549
|
+
}),
|
|
550
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
551
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
552
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
553
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).ellipsoidColor
|
|
554
|
+
}, {
|
|
555
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
556
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { style: {"display":"flex"} }, {
|
|
557
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
558
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_color_picker, {
|
|
559
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).ellipsoidColor,
|
|
560
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).ellipsoidColor) = $event)),
|
|
561
|
+
onChange: _cache[5] || (_cache[5] = $event => (paramsChanged('ellipsoidColor')))
|
|
562
|
+
}, null, 8 /* PROPS */, ["modelValue"])
|
|
563
|
+
]),
|
|
564
|
+
_: 1 /* STABLE */
|
|
565
|
+
})
|
|
566
|
+
]),
|
|
567
|
+
_: 1 /* STABLE */
|
|
568
|
+
}, 8 /* PROPS */, ["label"])
|
|
569
|
+
]),
|
|
570
|
+
_: 1 /* STABLE */
|
|
571
|
+
}),
|
|
572
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
573
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
574
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
575
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).colorAlpha
|
|
576
|
+
}, {
|
|
577
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
578
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { style: {"display":"flex"} }, {
|
|
579
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
580
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, { span: 16 }, {
|
|
581
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
582
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
583
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).ellipsoidColorAlpha,
|
|
584
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).ellipsoidColorAlpha) = $event)),
|
|
585
|
+
step: 0.1,
|
|
586
|
+
min: 0,
|
|
587
|
+
max: 0.99,
|
|
588
|
+
onChange: _cache[7] || (_cache[7] = $event => (paramsChanged('ellipsoidColorAlpha')))
|
|
589
|
+
}, null, 8 /* PROPS */, ["modelValue", "step", "max"])
|
|
590
|
+
]),
|
|
591
|
+
_: 1 /* STABLE */
|
|
592
|
+
}),
|
|
593
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, { span: 8 }, {
|
|
594
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
595
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input_number, {
|
|
596
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).ellipsoidColorAlpha,
|
|
597
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).ellipsoidColorAlpha) = $event)),
|
|
598
|
+
min: 0,
|
|
599
|
+
max: 0.99,
|
|
600
|
+
step: 0.1,
|
|
601
|
+
"controls-position": "right",
|
|
602
|
+
onChange: _cache[9] || (_cache[9] = $event => (paramsChanged('ellipsoidColorAlpha')))
|
|
603
|
+
}, null, 8 /* PROPS */, ["modelValue", "max", "step"])
|
|
604
|
+
]),
|
|
605
|
+
_: 1 /* STABLE */
|
|
606
|
+
})
|
|
607
|
+
]),
|
|
608
|
+
_: 1 /* STABLE */
|
|
609
|
+
})
|
|
610
|
+
]),
|
|
611
|
+
_: 1 /* STABLE */
|
|
612
|
+
}, 8 /* PROPS */, ["label"])
|
|
613
|
+
]),
|
|
614
|
+
_: 1 /* STABLE */
|
|
615
|
+
}),
|
|
616
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
617
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
618
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
619
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).outlineColor
|
|
620
|
+
}, {
|
|
621
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
622
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_color_picker, {
|
|
623
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).ellipsoidOutlineColor,
|
|
624
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).ellipsoidOutlineColor) = $event)),
|
|
625
|
+
onChange: _cache[11] || (_cache[11] = $event => (paramsChanged('ellipsoidOutlineColor')))
|
|
626
|
+
}, null, 8 /* PROPS */, ["modelValue"])
|
|
627
|
+
]),
|
|
628
|
+
_: 1 /* STABLE */
|
|
629
|
+
}, 8 /* PROPS */, ["label"])
|
|
630
|
+
]),
|
|
631
|
+
_: 1 /* STABLE */
|
|
632
|
+
}),
|
|
633
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
634
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
635
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
636
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).outlineAlpha
|
|
637
|
+
}, {
|
|
638
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
639
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { style: {"display":"flex"} }, {
|
|
640
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
641
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, { span: 16 }, {
|
|
642
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
643
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
644
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).ellipsoidOutlineColorAlpha,
|
|
645
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).ellipsoidOutlineColorAlpha) = $event)),
|
|
646
|
+
step: 0.1,
|
|
647
|
+
min: 0,
|
|
648
|
+
max: 1,
|
|
649
|
+
onChange: _cache[13] || (_cache[13] = $event => (paramsChanged('ellipsoidOutlineColorAlpha')))
|
|
650
|
+
}, null, 8 /* PROPS */, ["modelValue", "step"])
|
|
651
|
+
]),
|
|
652
|
+
_: 1 /* STABLE */
|
|
653
|
+
}),
|
|
654
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, { span: 8 }, {
|
|
655
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
656
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input_number, {
|
|
657
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).ellipsoidOutlineColorAlpha,
|
|
658
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).ellipsoidOutlineColorAlpha) = $event)),
|
|
659
|
+
min: 0,
|
|
660
|
+
max: 1,
|
|
661
|
+
step: 0.1,
|
|
662
|
+
"controls-position": "right",
|
|
663
|
+
onChange: _cache[15] || (_cache[15] = $event => (paramsChanged('ellipsoidOutlineColorAlpha')))
|
|
664
|
+
}, null, 8 /* PROPS */, ["modelValue", "step"])
|
|
665
|
+
]),
|
|
666
|
+
_: 1 /* STABLE */
|
|
667
|
+
})
|
|
668
|
+
]),
|
|
669
|
+
_: 1 /* STABLE */
|
|
670
|
+
})
|
|
671
|
+
]),
|
|
672
|
+
_: 1 /* STABLE */
|
|
673
|
+
}, 8 /* PROPS */, ["label"])
|
|
674
|
+
]),
|
|
675
|
+
_: 1 /* STABLE */
|
|
676
|
+
}),
|
|
677
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
678
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
679
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
680
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).sectorColor
|
|
681
|
+
}, {
|
|
682
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
683
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_color_picker, {
|
|
684
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).sectorColor,
|
|
685
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).sectorColor) = $event)),
|
|
686
|
+
onChange: _cache[17] || (_cache[17] = $event => (paramsChanged('sectorColor')))
|
|
687
|
+
}, null, 8 /* PROPS */, ["modelValue"])
|
|
688
|
+
]),
|
|
689
|
+
_: 1 /* STABLE */
|
|
690
|
+
}, 8 /* PROPS */, ["label"])
|
|
691
|
+
]),
|
|
692
|
+
_: 1 /* STABLE */
|
|
693
|
+
}),
|
|
694
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
695
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
696
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
697
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).sectorColorAlpha
|
|
698
|
+
}, {
|
|
699
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
700
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { style: {"display":"flex"} }, {
|
|
701
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
702
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, { span: 16 }, {
|
|
703
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
704
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
705
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).sectorColorAlpha,
|
|
706
|
+
"onUpdate:modelValue": _cache[18] || (_cache[18] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).sectorColorAlpha) = $event)),
|
|
707
|
+
step: 0.1,
|
|
708
|
+
min: 0,
|
|
709
|
+
max: 1,
|
|
710
|
+
onChange: _cache[19] || (_cache[19] = $event => (paramsChanged('sectorColorAlpha')))
|
|
711
|
+
}, null, 8 /* PROPS */, ["modelValue", "step"])
|
|
712
|
+
]),
|
|
713
|
+
_: 1 /* STABLE */
|
|
714
|
+
}),
|
|
715
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, { span: 8 }, {
|
|
716
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
717
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input_number, {
|
|
718
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).sectorColorAlpha,
|
|
719
|
+
"onUpdate:modelValue": _cache[20] || (_cache[20] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).sectorColorAlpha) = $event)),
|
|
720
|
+
min: 0,
|
|
721
|
+
max: 1,
|
|
722
|
+
step: 0.1,
|
|
723
|
+
"controls-position": "right",
|
|
724
|
+
onChange: _cache[21] || (_cache[21] = $event => (paramsChanged('sectorColorAlpha')))
|
|
725
|
+
}, null, 8 /* PROPS */, ["modelValue", "step"])
|
|
726
|
+
]),
|
|
727
|
+
_: 1 /* STABLE */
|
|
728
|
+
})
|
|
729
|
+
]),
|
|
730
|
+
_: 1 /* STABLE */
|
|
731
|
+
})
|
|
732
|
+
]),
|
|
733
|
+
_: 1 /* STABLE */
|
|
734
|
+
}, 8 /* PROPS */, ["label"])
|
|
735
|
+
]),
|
|
736
|
+
_: 1 /* STABLE */
|
|
737
|
+
}),
|
|
738
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
739
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
740
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
741
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).outlineColor
|
|
742
|
+
}, {
|
|
743
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
744
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_color_picker, {
|
|
745
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).sectorOutlineColor,
|
|
746
|
+
"onUpdate:modelValue": _cache[22] || (_cache[22] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).sectorOutlineColor) = $event)),
|
|
747
|
+
onChange: _cache[23] || (_cache[23] = $event => (paramsChanged('sectorOutlineColor')))
|
|
748
|
+
}, null, 8 /* PROPS */, ["modelValue"])
|
|
749
|
+
]),
|
|
750
|
+
_: 1 /* STABLE */
|
|
751
|
+
}, 8 /* PROPS */, ["label"])
|
|
752
|
+
]),
|
|
753
|
+
_: 1 /* STABLE */
|
|
754
|
+
}),
|
|
755
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
756
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
757
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
758
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).outlineAlpha
|
|
759
|
+
}, {
|
|
760
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
761
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { style: {"display":"flex"} }, {
|
|
762
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
763
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, { span: 16 }, {
|
|
764
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
765
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
766
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).sectorOutlineColorAlpha,
|
|
767
|
+
"onUpdate:modelValue": _cache[24] || (_cache[24] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).sectorOutlineColorAlpha) = $event)),
|
|
768
|
+
step: 0.1,
|
|
769
|
+
min: 0,
|
|
770
|
+
max: 1,
|
|
771
|
+
onChange: _cache[25] || (_cache[25] = $event => (paramsChanged('sectorOutlineColorAlpha')))
|
|
772
|
+
}, null, 8 /* PROPS */, ["modelValue", "step"])
|
|
773
|
+
]),
|
|
774
|
+
_: 1 /* STABLE */
|
|
775
|
+
}),
|
|
776
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, { span: 8 }, {
|
|
777
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
778
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input_number, {
|
|
779
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).sectorOutlineColorAlpha,
|
|
780
|
+
"onUpdate:modelValue": _cache[26] || (_cache[26] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).sectorOutlineColorAlpha) = $event)),
|
|
781
|
+
min: 0,
|
|
782
|
+
max: 1,
|
|
783
|
+
step: 0.1,
|
|
784
|
+
"controls-position": "right",
|
|
785
|
+
onChange: _cache[27] || (_cache[27] = $event => (paramsChanged('sectorOutlineColorAlpha')))
|
|
786
|
+
}, null, 8 /* PROPS */, ["modelValue", "step"])
|
|
787
|
+
]),
|
|
788
|
+
_: 1 /* STABLE */
|
|
789
|
+
})
|
|
790
|
+
]),
|
|
791
|
+
_: 1 /* STABLE */
|
|
792
|
+
})
|
|
793
|
+
]),
|
|
794
|
+
_: 1 /* STABLE */
|
|
795
|
+
}, 8 /* PROPS */, ["label"])
|
|
796
|
+
]),
|
|
797
|
+
_: 1 /* STABLE */
|
|
798
|
+
})
|
|
799
|
+
]),
|
|
800
|
+
_: 1 /* STABLE */
|
|
801
|
+
}, 8 /* PROPS */, ["label-width"])
|
|
802
|
+
]),
|
|
803
|
+
_: 1 /* STABLE */
|
|
804
|
+
}, 8 /* PROPS */, ["title"])
|
|
805
|
+
]),
|
|
806
|
+
_: 1 /* STABLE */
|
|
807
|
+
}, 8 /* PROPS */, ["model-value"]),
|
|
808
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [
|
|
809
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
810
|
+
onClick: _cache[28] || (_cache[28] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => (addAnalysis()), ["stop"])),
|
|
811
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).addBtn,
|
|
812
|
+
type: "primary"
|
|
813
|
+
}, {
|
|
814
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
815
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).addBtn), 1 /* TEXT */)
|
|
816
|
+
]),
|
|
817
|
+
_: 1 /* STABLE */
|
|
818
|
+
}, 8 /* PROPS */, ["title"]),
|
|
819
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
820
|
+
onClick: _cache[29] || (_cache[29] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => (clear()), ["stop"])),
|
|
821
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
822
|
+
}, {
|
|
823
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
824
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear), 1 /* TEXT */)
|
|
825
|
+
]),
|
|
826
|
+
_: 1 /* STABLE */
|
|
827
|
+
}, 8 /* PROPS */, ["title"])
|
|
828
|
+
])
|
|
829
|
+
])
|
|
830
|
+
], 2 /* CLASS */))
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
}));
|
|
835
|
+
;// CONCATENATED MODULE: ./src/webgl/radarscananalysis/RadarScanAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
836
|
+
|
|
837
|
+
;// CONCATENATED MODULE: ./src/webgl/radarscananalysis/RadarScanAnalysis.vue
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
const __exports__ = RadarScanAnalysisvue_type_script_setup_true_lang_js;
|
|
842
|
+
|
|
843
|
+
/* harmony default export */ var RadarScanAnalysis = (__exports__);
|
|
844
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
845
|
+
var init_js_ = __webpack_require__(7997);
|
|
846
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
847
|
+
;// CONCATENATED MODULE: ./src/webgl/radarscananalysis/index.js
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
RadarScanAnalysis.install = (Vue, opts) => {
|
|
853
|
+
init_js_default()(Vue, opts);
|
|
854
|
+
Vue.component(RadarScanAnalysis.name, RadarScanAnalysis);
|
|
855
|
+
};
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
}();
|
|
860
|
+
/******/ return __webpack_exports__;
|
|
861
|
+
/******/ })()
|
|
862
|
+
;
|
|
863
|
+
});
|