@kq_npm/client3d_webgl_vue 4.3.4 → 4.3.6
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/index.js +1846 -429
- package/measure/index.js +122 -11
- package/package.json +1 -1
- package/sceneview/index.js +1567 -116
- package/slopeanalysis/index.js +16 -11
- package/slopeaspectanalysis/index.js +1512 -0
- package/slopeaspectanalysis/style/index.js +3 -0
- package/slopeaspectanalysis/style/slopeaspectanalysis.css +1 -0
- package/style.css +1 -1
|
@@ -0,0 +1,1512 @@
|
|
|
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/const-image"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util"));
|
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
|
5
|
+
define(["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/_utils/const-image", "@kq_npm/client_common_vue/init.js", "@kq_npm/client_common_vue/_utils/util"], factory);
|
|
6
|
+
else {
|
|
7
|
+
var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/_utils/const-image"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/_utils/const-image"], root["@kq_npm/client_common_vue/init.js"], root["@kq_npm/client_common_vue/_utils/util"]);
|
|
8
|
+
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
|
+
}
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__6277__, __WEBPACK_EXTERNAL_MODULE__7997__, __WEBPACK_EXTERNAL_MODULE__3458__) {
|
|
11
|
+
return /******/ (function() { // webpackBootstrap
|
|
12
|
+
/******/ "use strict";
|
|
13
|
+
/******/ var __webpack_modules__ = ({
|
|
14
|
+
|
|
15
|
+
/***/ 3694:
|
|
16
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
// EXPORTS
|
|
20
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
21
|
+
"Z": function() { return /* binding */ message; }
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
;// CONCATENATED MODULE: external "element-plus/dist/index.full.js"
|
|
25
|
+
var index_full_js_namespaceObject = require("element-plus/dist/index.full.js");
|
|
26
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
27
|
+
var init_js_ = __webpack_require__(7997);
|
|
28
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
29
|
+
;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
index_full_js_namespaceObject.ElMessage.install = (Vue, opts) => {
|
|
34
|
+
init_js_default()(Vue, opts);
|
|
35
|
+
Vue.component("KqMessage", index_full_js_namespaceObject.ElMessage);
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
/* harmony default export */ var message = (index_full_js_namespaceObject.ElMessage);
|
|
39
|
+
|
|
40
|
+
/***/ }),
|
|
41
|
+
|
|
42
|
+
/***/ 348:
|
|
43
|
+
/***/ (function(module) {
|
|
44
|
+
|
|
45
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
46
|
+
|
|
47
|
+
/***/ }),
|
|
48
|
+
|
|
49
|
+
/***/ 7080:
|
|
50
|
+
/***/ (function(module) {
|
|
51
|
+
|
|
52
|
+
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
53
|
+
|
|
54
|
+
/***/ }),
|
|
55
|
+
|
|
56
|
+
/***/ 6277:
|
|
57
|
+
/***/ (function(module) {
|
|
58
|
+
|
|
59
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__6277__;
|
|
60
|
+
|
|
61
|
+
/***/ }),
|
|
62
|
+
|
|
63
|
+
/***/ 7135:
|
|
64
|
+
/***/ (function(module) {
|
|
65
|
+
|
|
66
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
|
|
67
|
+
|
|
68
|
+
/***/ }),
|
|
69
|
+
|
|
70
|
+
/***/ 3458:
|
|
71
|
+
/***/ (function(module) {
|
|
72
|
+
|
|
73
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__3458__;
|
|
74
|
+
|
|
75
|
+
/***/ }),
|
|
76
|
+
|
|
77
|
+
/***/ 7997:
|
|
78
|
+
/***/ (function(module) {
|
|
79
|
+
|
|
80
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
|
|
81
|
+
|
|
82
|
+
/***/ }),
|
|
83
|
+
|
|
84
|
+
/***/ 1895:
|
|
85
|
+
/***/ (function(module) {
|
|
86
|
+
|
|
87
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
88
|
+
|
|
89
|
+
/***/ }),
|
|
90
|
+
|
|
91
|
+
/***/ 8270:
|
|
92
|
+
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
93
|
+
|
|
94
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
95
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
96
|
+
/* harmony export */ });
|
|
97
|
+
function _defineProperty(obj, key, value) {
|
|
98
|
+
if (key in obj) {
|
|
99
|
+
Object.defineProperty(obj, key, {
|
|
100
|
+
value: value,
|
|
101
|
+
enumerable: true,
|
|
102
|
+
configurable: true,
|
|
103
|
+
writable: true
|
|
104
|
+
});
|
|
105
|
+
} else {
|
|
106
|
+
obj[key] = value;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
return obj;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/***/ })
|
|
113
|
+
|
|
114
|
+
/******/ });
|
|
115
|
+
/************************************************************************/
|
|
116
|
+
/******/ // The module cache
|
|
117
|
+
/******/ var __webpack_module_cache__ = {};
|
|
118
|
+
/******/
|
|
119
|
+
/******/ // The require function
|
|
120
|
+
/******/ function __webpack_require__(moduleId) {
|
|
121
|
+
/******/ // Check if module is in cache
|
|
122
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
123
|
+
/******/ if (cachedModule !== undefined) {
|
|
124
|
+
/******/ return cachedModule.exports;
|
|
125
|
+
/******/ }
|
|
126
|
+
/******/ // Create a new module (and put it into the cache)
|
|
127
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
128
|
+
/******/ // no module.id needed
|
|
129
|
+
/******/ // no module.loaded needed
|
|
130
|
+
/******/ exports: {}
|
|
131
|
+
/******/ };
|
|
132
|
+
/******/
|
|
133
|
+
/******/ // Execute the module function
|
|
134
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
135
|
+
/******/
|
|
136
|
+
/******/ // Return the exports of the module
|
|
137
|
+
/******/ return module.exports;
|
|
138
|
+
/******/ }
|
|
139
|
+
/******/
|
|
140
|
+
/************************************************************************/
|
|
141
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
142
|
+
/******/ !function() {
|
|
143
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
144
|
+
/******/ __webpack_require__.n = function(module) {
|
|
145
|
+
/******/ var getter = module && module.__esModule ?
|
|
146
|
+
/******/ function() { return module['default']; } :
|
|
147
|
+
/******/ function() { return module; };
|
|
148
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
149
|
+
/******/ return getter;
|
|
150
|
+
/******/ };
|
|
151
|
+
/******/ }();
|
|
152
|
+
/******/
|
|
153
|
+
/******/ /* webpack/runtime/define property getters */
|
|
154
|
+
/******/ !function() {
|
|
155
|
+
/******/ // define getter functions for harmony exports
|
|
156
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
157
|
+
/******/ for(var key in definition) {
|
|
158
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
159
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
160
|
+
/******/ }
|
|
161
|
+
/******/ }
|
|
162
|
+
/******/ };
|
|
163
|
+
/******/ }();
|
|
164
|
+
/******/
|
|
165
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
166
|
+
/******/ !function() {
|
|
167
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
168
|
+
/******/ }();
|
|
169
|
+
/******/
|
|
170
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
171
|
+
/******/ !function() {
|
|
172
|
+
/******/ // define __esModule on exports
|
|
173
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
174
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
175
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
176
|
+
/******/ }
|
|
177
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
178
|
+
/******/ };
|
|
179
|
+
/******/ }();
|
|
180
|
+
/******/
|
|
181
|
+
/************************************************************************/
|
|
182
|
+
var __webpack_exports__ = {};
|
|
183
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
184
|
+
!function() {
|
|
185
|
+
// ESM COMPAT FLAG
|
|
186
|
+
__webpack_require__.r(__webpack_exports__);
|
|
187
|
+
|
|
188
|
+
// EXPORTS
|
|
189
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
190
|
+
"SlopeAspectAnalysisViewModel": function() { return /* reexport */ SlopeAspectAnalysisViewModel; },
|
|
191
|
+
"default": function() { return /* reexport */ SlopeAspectAnalysis; }
|
|
192
|
+
});
|
|
193
|
+
|
|
194
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
195
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
|
|
196
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
197
|
+
var gis_utils_ = __webpack_require__(7135);
|
|
198
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
199
|
+
var defineProperty = __webpack_require__(8270);
|
|
200
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
201
|
+
var const_image_ = __webpack_require__(6277);
|
|
202
|
+
// EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
|
|
203
|
+
var message = __webpack_require__(3694);
|
|
204
|
+
;// CONCATENATED MODULE: ./src/webgl/slopeaspectanalysis/SlopeAspectAnalysisViewModel.js
|
|
205
|
+
|
|
206
|
+
// 分析逻辑类
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
class SlopeAspectAnalysisViewModel {
|
|
210
|
+
// 坡度坡向三维对象
|
|
211
|
+
// 坡向三维对象
|
|
212
|
+
//全局参数
|
|
213
|
+
constructor(scenceView, viewModel) {
|
|
214
|
+
(0,defineProperty/* default */.Z)(this, "_slopeAnalysis", null);
|
|
215
|
+
|
|
216
|
+
(0,defineProperty/* default */.Z)(this, "_aspectAnalysis", null);
|
|
217
|
+
|
|
218
|
+
(0,defineProperty/* default */.Z)(this, "_globaOptions", {
|
|
219
|
+
viewer: null,
|
|
220
|
+
_drawManager: null
|
|
221
|
+
});
|
|
222
|
+
|
|
223
|
+
(0,defineProperty/* default */.Z)(this, "_colorImages", [//渐变图片集合
|
|
224
|
+
{
|
|
225
|
+
value: "0",
|
|
226
|
+
src: const_image_.RED_TO_PURPLE_URL
|
|
227
|
+
}, {
|
|
228
|
+
value: "1",
|
|
229
|
+
src: const_image_.PURPLE_TO_YELLOW_URL
|
|
230
|
+
}, {
|
|
231
|
+
value: "2",
|
|
232
|
+
src: const_image_.GREEN_TO_BLUE_URL
|
|
233
|
+
}]);
|
|
234
|
+
|
|
235
|
+
this._globaOptions.viewer = scenceView._viewer;
|
|
236
|
+
this._globaOptions.viewModel = {
|
|
237
|
+
fillStyle: viewModel.fillStyle,
|
|
238
|
+
viewer: this._globaOptions.viewer,
|
|
239
|
+
isFilter: false,
|
|
240
|
+
// 自定义颜色
|
|
241
|
+
colorTableDegree: viewModel.colorTableDegree,
|
|
242
|
+
colorTable: viewModel.colorTable,
|
|
243
|
+
// 渐变纹理
|
|
244
|
+
imageSrc: this.getColorLine(viewModel.colorImage),
|
|
245
|
+
// 坡度过滤
|
|
246
|
+
minSlope: viewModel.minSlope,
|
|
247
|
+
maxSlope: viewModel.maxSlope,
|
|
248
|
+
slopeColorText: viewModel.slopeColorText,
|
|
249
|
+
slopeColorAlpha: viewModel.slopeColorAlpha,
|
|
250
|
+
colorImage: this.getImagePath(viewModel.colorImage)
|
|
251
|
+
};
|
|
252
|
+
this._globaOptions.viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
253
|
+
// this._globaOptions.viewer.scene.globe.enableLighting = true;
|
|
254
|
+
|
|
255
|
+
this._globaOptions._drawManager = scenceView._drawManager;
|
|
256
|
+
var that = this; // 坡度对象
|
|
257
|
+
|
|
258
|
+
this._aspectAnalysis = new window.Cesium.Kq3dAspect({
|
|
259
|
+
interval: viewModel.interval || 500,
|
|
260
|
+
// 采样间隔
|
|
261
|
+
width: viewModel.arrowWidth || 20,
|
|
262
|
+
// 箭头宽度
|
|
263
|
+
color: window.Cesium.Color.fromCssColorString(viewModel.color || "#FFFF00"),
|
|
264
|
+
// 箭头颜色
|
|
265
|
+
viewer: scenceView._viewer
|
|
266
|
+
});
|
|
267
|
+
this._globaOptions._drawFinishedEventListener = this._globaOptions._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
268
|
+
if (shape) {
|
|
269
|
+
that._globaOptions.viewModel.positions = shape._controlPoints;
|
|
270
|
+
if (that._aspectAnalysis) that._aspectAnalysis.positions = shape._controlPoints; // 实例化分析对象
|
|
271
|
+
|
|
272
|
+
if (!that._slopeAnalysis) {
|
|
273
|
+
switch (that._globaOptions.viewModel.fillStyle) {
|
|
274
|
+
case "tableColor":
|
|
275
|
+
that._slopeAnalysis = new Cesium.Kq3dSlope({
|
|
276
|
+
viewer: that._globaOptions.viewer,
|
|
277
|
+
positions: that._globaOptions.viewModel.positions,
|
|
278
|
+
isFilter: false,
|
|
279
|
+
colorTableDegree: that._globaOptions.viewModel.colorTableDegree,
|
|
280
|
+
colorTable: that._globaOptions.viewModel.colorTable
|
|
281
|
+
});
|
|
282
|
+
break;
|
|
283
|
+
|
|
284
|
+
case "colorImage":
|
|
285
|
+
that._slopeAnalysis = new Cesium.Kq3dSlope({
|
|
286
|
+
viewer: that._globaOptions.viewer,
|
|
287
|
+
positions: that._globaOptions.viewModel.positions,
|
|
288
|
+
isFilter: false,
|
|
289
|
+
colorImage: that._globaOptions.viewModel.imageSrc
|
|
290
|
+
});
|
|
291
|
+
break;
|
|
292
|
+
|
|
293
|
+
case "slopeFilter":
|
|
294
|
+
that._slopeAnalysis = new Cesium.Kq3dSlope({
|
|
295
|
+
viewer: that._globaOptions.viewer,
|
|
296
|
+
positions: that._globaOptions.viewModel.positions,
|
|
297
|
+
isFilter: true,
|
|
298
|
+
minSlope: that._globaOptions.viewModel.minSlope,
|
|
299
|
+
maxSlope: that._globaOptions.viewModel.maxSlope,
|
|
300
|
+
color: Cesium.Color.fromCssColorString(that._globaOptions.viewModel.slopeColorText).withAlpha(Number(that._globaOptions.viewModel.slopeColorAlpha))
|
|
301
|
+
});
|
|
302
|
+
break;
|
|
303
|
+
}
|
|
304
|
+
} else {
|
|
305
|
+
that._slopeAnalysis.positions = that._globaOptions.viewModel.positions;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
that._globaOptions._drawManager.clear();
|
|
309
|
+
}
|
|
310
|
+
});
|
|
311
|
+
} //获取图片路径
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
getImagePath(value) {
|
|
315
|
+
var imagePath = "";
|
|
316
|
+
|
|
317
|
+
var image = this._colorImages.find(item => item.value === value);
|
|
318
|
+
|
|
319
|
+
if (image) {
|
|
320
|
+
imagePath = image.src;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
return imagePath;
|
|
324
|
+
} // 开始分析
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
start() {
|
|
328
|
+
// 判断是否添加了地形
|
|
329
|
+
if (this._globaOptions.viewModel.viewer.terrainProvider.availability) {
|
|
330
|
+
if (this._globaOptions.viewModel.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
331
|
+
if (this._globaOptions.viewModel.fillStyle === "slopeFilter") {
|
|
332
|
+
// 坡度过滤不需要进行绘制
|
|
333
|
+
this._slopeAnalysis = new Cesium.Kq3dSlope({
|
|
334
|
+
viewer: this._globaOptions.viewer,
|
|
335
|
+
positions: [],
|
|
336
|
+
isFilter: true,
|
|
337
|
+
minSlope: this._globaOptions.viewModel.minSlope,
|
|
338
|
+
maxSlope: this._globaOptions.viewModel.maxSlope,
|
|
339
|
+
color: Cesium.Color.fromCssColorString(this._globaOptions.viewModel.slopeColorText).withAlpha(Number(this._globaOptions.viewModel.slopeColorAlpha))
|
|
340
|
+
});
|
|
341
|
+
} else {
|
|
342
|
+
// this.clear();
|
|
343
|
+
if (this._globaOptions._drawManager) {
|
|
344
|
+
this._globaOptions._drawManager.startDraw("polygon", {
|
|
345
|
+
clampToGround: true
|
|
346
|
+
});
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
} else {
|
|
350
|
+
(0,message/* default */.Z)({
|
|
351
|
+
message: "只支持STK类型的地形分析!",
|
|
352
|
+
type: "warning"
|
|
353
|
+
});
|
|
354
|
+
}
|
|
355
|
+
} else {
|
|
356
|
+
(0,message/* default */.Z)({
|
|
357
|
+
message: "请加载地形后分析!",
|
|
358
|
+
type: "warning"
|
|
359
|
+
});
|
|
360
|
+
}
|
|
361
|
+
} //修改填充样式
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
changeFilltyle(key) {
|
|
365
|
+
this._globaOptions.viewModel.fillStyle = key;
|
|
366
|
+
if (!this._slopeAnalysis) return;
|
|
367
|
+
|
|
368
|
+
switch (key) {
|
|
369
|
+
case "tableColor":
|
|
370
|
+
if (this._slopeAnalysis.isFilter) this._slopeAnalysis.isFilter = false;
|
|
371
|
+
this._slopeAnalysis.colorImage = null;
|
|
372
|
+
this._slopeAnalysis.color = null;
|
|
373
|
+
this._slopeAnalysis.colorTableDegree = this._globaOptions.viewModel.colorTableDegree;
|
|
374
|
+
this._slopeAnalysis.colorTable = this._globaOptions.viewModel.colorTable;
|
|
375
|
+
break;
|
|
376
|
+
|
|
377
|
+
case "colorImage":
|
|
378
|
+
if (this._slopeAnalysis.isFilter) this._slopeAnalysis.isFilter = false;
|
|
379
|
+
this._slopeAnalysis.colorTableDegree = [];
|
|
380
|
+
this._slopeAnalysis.colorTable = [];
|
|
381
|
+
this._slopeAnalysis.color = null;
|
|
382
|
+
this._slopeAnalysis.colorImage = this._globaOptions.viewModel.imageSrc;
|
|
383
|
+
break;
|
|
384
|
+
|
|
385
|
+
case "slopeFilter":
|
|
386
|
+
this._slopeAnalysis.colorImage = null;
|
|
387
|
+
this._slopeAnalysis.isFilter = true;
|
|
388
|
+
this._slopeAnalysis.minSlope = this._globaOptions.viewModel.minSlope, this._slopeAnalysis.maxSlope = this._globaOptions.viewModel.maxSlope, this._slopeAnalysis.color = Cesium.Color.fromCssColorString(this._globaOptions.viewModel.slopeColorText).withAlpha(Number(this._globaOptions.viewModel.slopeColorAlpha));
|
|
389
|
+
break;
|
|
390
|
+
}
|
|
391
|
+
} // 设置填充纹理值
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
setColorTableDegree(newValue) {
|
|
395
|
+
this._globaOptions.viewModel.colorTableDegree = newValue;
|
|
396
|
+
if (this._slopeAnalysis) this._slopeAnalysis.colorTableDegree = this._globaOptions.viewModel.colorTableDegree;
|
|
397
|
+
} // 设置填充纹理颜色
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
setColorTable(newValue) {
|
|
401
|
+
this._globaOptions.viewModel.colorTable = newValue;
|
|
402
|
+
if (this._slopeAnalysis) this._slopeAnalysis.colorTable = this._globaOptions.viewModel.colorTable;
|
|
403
|
+
} // 设置填充纹理
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
setColorImage(newValue) {
|
|
407
|
+
this._globaOptions.viewModel.imageSrc = newValue;
|
|
408
|
+
if (this._slopeAnalysis) this._slopeAnalysis.colorImage = this._globaOptions.viewModel.imageSrc;
|
|
409
|
+
} // 设置渐变纹理
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
getColorLine(key) {
|
|
413
|
+
var path = "";
|
|
414
|
+
|
|
415
|
+
switch (key) {
|
|
416
|
+
case 0:
|
|
417
|
+
path = const_image_.RED_TO_PURPLE_URL;
|
|
418
|
+
break;
|
|
419
|
+
|
|
420
|
+
case 1:
|
|
421
|
+
path = const_image_.PURPLE_TO_YELLOW_URL;
|
|
422
|
+
break;
|
|
423
|
+
|
|
424
|
+
case 2:
|
|
425
|
+
path = const_image_.GREEN_TO_BLUE_URL;
|
|
426
|
+
break;
|
|
427
|
+
|
|
428
|
+
default:
|
|
429
|
+
path = const_image_.RED_TO_PURPLE_URL;
|
|
430
|
+
break;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
return path;
|
|
434
|
+
} // 设置坡度过滤样式
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
setSlopeFilterColor(slopeColorText, slopeColorAlpha) {
|
|
438
|
+
this._globaOptions.viewModel.slopeColorText = slopeColorText;
|
|
439
|
+
this._globaOptions.viewModel.slopeColorAlpha = Number(slopeColorAlpha);
|
|
440
|
+
if (this._slopeAnalysis) this._slopeAnalysis.color = Cesium.Color.fromCssColorString(slopeColorText).withAlpha(Number(slopeColorAlpha));
|
|
441
|
+
} // 设置最小坡度值
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
setSlopeFilterMin(newValue) {
|
|
445
|
+
this._globaOptions.viewModel.minSlope = Number(newValue);
|
|
446
|
+
if (this._slopeAnalysis) this._slopeAnalysis.minSlope = this._globaOptions.viewModel.minSlope;
|
|
447
|
+
} // 设置最大坡度值
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
setSlopeFilterMax(newValue) {
|
|
451
|
+
this._globaOptions.viewModel.maxSlope = Number(newValue);
|
|
452
|
+
if (this._slopeAnalysis) this._slopeAnalysis.maxSlope = this._globaOptions.viewModel.maxSlope;
|
|
453
|
+
} // 设置采样间隔
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
setInterval(newValue) {
|
|
457
|
+
if (this._aspectAnalysis) this._aspectAnalysis._interval = newValue;
|
|
458
|
+
} // 设置箭头宽度
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
setArrowWidth(newValue) {
|
|
462
|
+
if (this._aspectAnalysis) this._aspectAnalysis._width = newValue;
|
|
463
|
+
} // 设置箭头颜色
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
setArrowColor(newValue) {
|
|
467
|
+
if (this._aspectAnalysis) this._aspectAnalysis._color = Cesium.Color.fromCssColorString(newValue);
|
|
468
|
+
} // 清除全部结果
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
clear() {
|
|
472
|
+
this._globaOptions._drawManager && this._globaOptions._drawManager.stopDraw();
|
|
473
|
+
this._slopeAnalysis && this._slopeAnalysis.destroy();
|
|
474
|
+
this._slopeAnalysis = null;
|
|
475
|
+
this._aspectAnalysis && this._aspectAnalysis.clear();
|
|
476
|
+
} // 销毁
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
destroy() {
|
|
480
|
+
// 移除监听事件
|
|
481
|
+
this._globaOptions._drawFinishedEventListener && this._globaOptions._drawFinishedEventListener();
|
|
482
|
+
this._globaOptions._drawFinishedEventListener = null;
|
|
483
|
+
this._slopeAnalysis && this._slopeAnalysis.destroy();
|
|
484
|
+
this._slopeAnalysis = null;
|
|
485
|
+
this._aspectAnalysis && this._aspectAnalysis.clear();
|
|
486
|
+
this._aspectAnalysis = null;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
}
|
|
490
|
+
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
491
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
492
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
493
|
+
var util_ = __webpack_require__(3458);
|
|
494
|
+
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
495
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
496
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/slopeaspectanalysis/SlopeAspectAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
497
|
+
|
|
498
|
+
const _hoisted_1 = {
|
|
499
|
+
class: "kq3d-slope-aspect-analysis-box"
|
|
500
|
+
};
|
|
501
|
+
const _hoisted_2 = {
|
|
502
|
+
key: 0
|
|
503
|
+
};
|
|
504
|
+
const _hoisted_3 = {
|
|
505
|
+
class: "kq3d-slope-aspect-analysis-span"
|
|
506
|
+
};
|
|
507
|
+
const _hoisted_4 = {
|
|
508
|
+
key: 1
|
|
509
|
+
};
|
|
510
|
+
|
|
511
|
+
const _hoisted_5 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", null, "0°", -1
|
|
512
|
+
/* HOISTED */
|
|
513
|
+
);
|
|
514
|
+
|
|
515
|
+
const _hoisted_6 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
516
|
+
class: "kq3d-slope-aspect-analysis-line"
|
|
517
|
+
}, null, -1
|
|
518
|
+
/* HOISTED */
|
|
519
|
+
);
|
|
520
|
+
|
|
521
|
+
const _hoisted_7 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", null, "90°", -1
|
|
522
|
+
/* HOISTED */
|
|
523
|
+
);
|
|
524
|
+
|
|
525
|
+
const _hoisted_8 = ["src"];
|
|
526
|
+
const _hoisted_9 = {
|
|
527
|
+
key: 2
|
|
528
|
+
};
|
|
529
|
+
const _hoisted_10 = {
|
|
530
|
+
class: "kq3d-slope-aspect-analysis-footer"
|
|
531
|
+
};
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
const __default__ = {
|
|
540
|
+
name: "Kq3dSlopeAspectAnalysis"
|
|
541
|
+
};
|
|
542
|
+
/* harmony default export */ var SlopeAspectAnalysisvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
543
|
+
props: {
|
|
544
|
+
// 设置参数
|
|
545
|
+
settingParams: {
|
|
546
|
+
type: Object
|
|
547
|
+
},
|
|
548
|
+
// 是否显示阴影效果
|
|
549
|
+
showShadow: {
|
|
550
|
+
type: Boolean,
|
|
551
|
+
default: true
|
|
552
|
+
},
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
556
|
+
*/
|
|
557
|
+
position: [String, Object],
|
|
558
|
+
// 是否生成HeaderTemp
|
|
559
|
+
showHeaderTemp: {
|
|
560
|
+
type: Boolean,
|
|
561
|
+
default: false
|
|
562
|
+
},
|
|
563
|
+
// 是否折叠HeaderTemp,showHeaderTemp为true时生效
|
|
564
|
+
isCollapseHeaderTemp: {
|
|
565
|
+
type: Boolean,
|
|
566
|
+
default: false
|
|
567
|
+
},
|
|
568
|
+
// HeaderTemp标题
|
|
569
|
+
headerTempTitle: {
|
|
570
|
+
type: String
|
|
571
|
+
},
|
|
572
|
+
// HeaderTemp图标
|
|
573
|
+
headerTempIcon: {
|
|
574
|
+
type: [Object, String],
|
|
575
|
+
default: client_icons_vue_.IconSlopeAnalysis
|
|
576
|
+
},
|
|
577
|
+
// HeaderTemp Title&Icon的位置
|
|
578
|
+
isRight: {
|
|
579
|
+
type: Boolean,
|
|
580
|
+
default: true
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
|
|
584
|
+
setup(__props, {
|
|
585
|
+
expose
|
|
586
|
+
}) {
|
|
587
|
+
const props = __props;
|
|
588
|
+
const {
|
|
589
|
+
proxy
|
|
590
|
+
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
591
|
+
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
592
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
593
|
+
let dataList = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)([{
|
|
594
|
+
colorTableDegree: 0,
|
|
595
|
+
colorTable: null
|
|
596
|
+
}, {
|
|
597
|
+
colorTableDegree: 10,
|
|
598
|
+
colorTable: "#00FF00"
|
|
599
|
+
}, {
|
|
600
|
+
colorTableDegree: 20,
|
|
601
|
+
colorTable: "#0000FF"
|
|
602
|
+
}, {
|
|
603
|
+
colorTableDegree: 30,
|
|
604
|
+
colorTable: "#FFFF00"
|
|
605
|
+
}, {
|
|
606
|
+
colorTableDegree: 40,
|
|
607
|
+
colorTable: "#FF7F00"
|
|
608
|
+
}, {
|
|
609
|
+
colorTableDegree: 90,
|
|
610
|
+
colorTable: "#FF0000"
|
|
611
|
+
}]);
|
|
612
|
+
const colorImages = [{
|
|
613
|
+
value: 0,
|
|
614
|
+
src: const_image_.RED_TO_PURPLE_URL
|
|
615
|
+
}, {
|
|
616
|
+
value: 1,
|
|
617
|
+
src: const_image_.PURPLE_TO_YELLOW_URL
|
|
618
|
+
}, {
|
|
619
|
+
value: 2,
|
|
620
|
+
src: const_image_.GREEN_TO_BLUE_URL
|
|
621
|
+
}]; //计算属性
|
|
622
|
+
// 获取组件传参
|
|
623
|
+
// 分析类
|
|
624
|
+
|
|
625
|
+
let viewModel = null; // 默认参数
|
|
626
|
+
|
|
627
|
+
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
628
|
+
collapseValue: props.settingParams && props.settingParams.collapseValue || "",
|
|
629
|
+
// 折叠组件是否折叠,slope:展开坡度设置,aspect:展开破坡向设置
|
|
630
|
+
fillStyle: props.settingParams && props.settingParams.fillStyle || "tableColor",
|
|
631
|
+
colorTableDegree: props.settingParams && props.settingParams.colorTableDegree || [10, 20, 30, 40, 90],
|
|
632
|
+
colorTable: props.settingParams && props.settingParams.colorTable || ["#00FF00", "#0000FF", "#FFFF00", "#FF7F00", "#FF0000"],
|
|
633
|
+
colorImage: props.settingParams && props.settingParams.colorImage || 0,
|
|
634
|
+
minSlope: props.settingParams && props.settingParams.minSlope || 10,
|
|
635
|
+
maxSlope: props.settingParams && props.settingParams.maxSlope || 60,
|
|
636
|
+
slopeColorAlpha: props.settingParams && props.settingParams.slopeColorAlpha || 0.3,
|
|
637
|
+
slopeColorText: props.settingParams && props.settingParams.slopeColorText || "#FF0000",
|
|
638
|
+
// 坡向参数
|
|
639
|
+
interval: props.settingParams && props.settingParams.interval || 500,
|
|
640
|
+
// 采样间隔
|
|
641
|
+
minInterval: props.settingParams && props.settingParams.minInterval || 100,
|
|
642
|
+
// 采样间隔最小值
|
|
643
|
+
maxInterval: props.settingParams && props.settingParams.maxInterval || 1000,
|
|
644
|
+
// 采样间隔最大值
|
|
645
|
+
arrowWidth: props.settingParams && props.settingParams.arrowWidth || 20,
|
|
646
|
+
// 箭头宽度
|
|
647
|
+
minArrowWidth: props.settingParams && props.settingParams.minArrowWidth || 1,
|
|
648
|
+
// 箭头宽度最小值
|
|
649
|
+
maxArrowWidth: props.settingParams && props.settingParams.maxArrowWidth || 30,
|
|
650
|
+
// 箭头宽度最大值
|
|
651
|
+
arrowColor: props.settingParams && props.settingParams.arrowColor || "#FFFF00" // 箭头颜色
|
|
652
|
+
|
|
653
|
+
}); // 组件容器Ref
|
|
654
|
+
|
|
655
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
656
|
+
|
|
657
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
658
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
659
|
+
|
|
660
|
+
let {
|
|
661
|
+
locale,
|
|
662
|
+
messages
|
|
663
|
+
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
664
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
665
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
666
|
+
language.value = messages.value[newVal]["webgl"];
|
|
667
|
+
headerTempTitle.value = language.value.slopeAspectAnalysisTitle;
|
|
668
|
+
});
|
|
669
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
670
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
671
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
672
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
673
|
+
});
|
|
674
|
+
watchCreateHeaderTemp();
|
|
675
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
676
|
+
watchCreateHeaderTemp();
|
|
677
|
+
});
|
|
678
|
+
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
679
|
+
|
|
680
|
+
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
681
|
+
if (scenceView) {
|
|
682
|
+
refactorArr();
|
|
683
|
+
viewModel = new SlopeAspectAnalysisViewModel(scenceView, formItem); // var imageUrl = getImagePath(formItem.colorImage);
|
|
684
|
+
// viewModel.setColorImage(imageUrl);
|
|
685
|
+
}
|
|
686
|
+
});
|
|
687
|
+
});
|
|
688
|
+
/**
|
|
689
|
+
* @description 监听header生成
|
|
690
|
+
*/
|
|
691
|
+
|
|
692
|
+
const watchCreateHeaderTemp = () => {
|
|
693
|
+
if (props.showHeaderTemp) {
|
|
694
|
+
// 生成headerTemp
|
|
695
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
696
|
+
}
|
|
697
|
+
}; // 刷新自定义样式数组
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
function refactorArr(type) {
|
|
701
|
+
if (!dataList || !dataList.length) return;
|
|
702
|
+
|
|
703
|
+
if (type == "degree") {
|
|
704
|
+
formItem.colorTableDegree = dataList.map(item => {
|
|
705
|
+
return item.colorTableDegree;
|
|
706
|
+
});
|
|
707
|
+
formItem.colorTableDegree.shift();
|
|
708
|
+
} else if (type == "color") {
|
|
709
|
+
formItem.colorTable = dataList.map(item => {
|
|
710
|
+
return item.colorTable;
|
|
711
|
+
});
|
|
712
|
+
formItem.colorTable.shift();
|
|
713
|
+
}
|
|
714
|
+
} //获取图片路径
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
function getImagePath(value) {
|
|
718
|
+
var imagePath = "";
|
|
719
|
+
var image = colorImages.find(item => item.value === value);
|
|
720
|
+
|
|
721
|
+
if (image) {
|
|
722
|
+
imagePath = image.src;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
return imagePath;
|
|
726
|
+
} // 参数改变
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
function paramsChanged(key) {
|
|
730
|
+
switch (key) {
|
|
731
|
+
case "fillStyle":
|
|
732
|
+
// 填充样式
|
|
733
|
+
viewModel.changeFilltyle(formItem.fillStyle);
|
|
734
|
+
break;
|
|
735
|
+
|
|
736
|
+
case "colorTableDegree":
|
|
737
|
+
// 自定义填充样式区间
|
|
738
|
+
refactorArr("degree");
|
|
739
|
+
viewModel.setColorTableDegree(formItem.colorTableDegree);
|
|
740
|
+
break;
|
|
741
|
+
|
|
742
|
+
case "colorTable":
|
|
743
|
+
// 自定义填充样式颜色
|
|
744
|
+
refactorArr("color");
|
|
745
|
+
viewModel.setColorTable(formItem.colorTable);
|
|
746
|
+
break;
|
|
747
|
+
|
|
748
|
+
case "colorImage":
|
|
749
|
+
// 填充样式
|
|
750
|
+
var imageUrl = getImagePath(formItem.colorImage);
|
|
751
|
+
viewModel.setColorImage(imageUrl);
|
|
752
|
+
break;
|
|
753
|
+
|
|
754
|
+
case "minSlope":
|
|
755
|
+
// 填充样式
|
|
756
|
+
viewModel.setSlopeFilterMin(formItem.minSlope);
|
|
757
|
+
break;
|
|
758
|
+
|
|
759
|
+
case "maxSlope":
|
|
760
|
+
// 填充样式
|
|
761
|
+
viewModel.setSlopeFilterMax(formItem.maxSlope);
|
|
762
|
+
break;
|
|
763
|
+
|
|
764
|
+
case "slopeColorAlpha":
|
|
765
|
+
// 填充样式
|
|
766
|
+
viewModel.setSlopeFilterColor(formItem.slopeColorText, formItem.slopeColorAlpha);
|
|
767
|
+
break;
|
|
768
|
+
|
|
769
|
+
case "slopeColorText":
|
|
770
|
+
// 填充样式
|
|
771
|
+
viewModel.setSlopeFilterColor(formItem.slopeColorText, formItem.slopeColorAlpha);
|
|
772
|
+
break;
|
|
773
|
+
|
|
774
|
+
case "interval":
|
|
775
|
+
// 采样间隔
|
|
776
|
+
viewModel.setInterval(formItem.interval);
|
|
777
|
+
break;
|
|
778
|
+
|
|
779
|
+
case "arrowWidth":
|
|
780
|
+
// 箭头间隔
|
|
781
|
+
viewModel.setArrowWidth(formItem.arrowWidth);
|
|
782
|
+
break;
|
|
783
|
+
|
|
784
|
+
case "arrowColor":
|
|
785
|
+
// 箭头颜色
|
|
786
|
+
viewModel.setArrowColor(formItem.arrowColor);
|
|
787
|
+
break;
|
|
788
|
+
|
|
789
|
+
default:
|
|
790
|
+
break;
|
|
791
|
+
}
|
|
792
|
+
} // 开始分析
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
function startAnalysis() {
|
|
796
|
+
clearResult();
|
|
797
|
+
viewModel && viewModel.start();
|
|
798
|
+
} //清除结果
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
function clearResult() {
|
|
802
|
+
viewModel && viewModel.clear();
|
|
803
|
+
} // 销毁
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
807
|
+
viewModel && viewModel.destroy();
|
|
808
|
+
});
|
|
809
|
+
expose({
|
|
810
|
+
refactorArr,
|
|
811
|
+
getImagePath,
|
|
812
|
+
paramsChanged,
|
|
813
|
+
startAnalysis,
|
|
814
|
+
clearResult
|
|
815
|
+
});
|
|
816
|
+
return (_ctx, _cache) => {
|
|
817
|
+
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
818
|
+
|
|
819
|
+
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
820
|
+
|
|
821
|
+
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
822
|
+
|
|
823
|
+
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
824
|
+
|
|
825
|
+
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
826
|
+
|
|
827
|
+
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
828
|
+
|
|
829
|
+
const _component_kq_color_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-color-picker");
|
|
830
|
+
|
|
831
|
+
const _component_kq_radio = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio");
|
|
832
|
+
|
|
833
|
+
const _component_kq_radio_group = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio-group");
|
|
834
|
+
|
|
835
|
+
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
836
|
+
|
|
837
|
+
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
838
|
+
|
|
839
|
+
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
840
|
+
|
|
841
|
+
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
842
|
+
|
|
843
|
+
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
844
|
+
|
|
845
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
846
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-slope-aspect-analysis", {
|
|
847
|
+
'kq-box-shadow': __props.showShadow
|
|
848
|
+
}]),
|
|
849
|
+
ref_key: "boxRef",
|
|
850
|
+
ref: boxRef
|
|
851
|
+
}, [__props.showHeaderTemp ? ((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)), {
|
|
852
|
+
key: 0,
|
|
853
|
+
ref_key: "headerTempRef",
|
|
854
|
+
ref: headerTempRef
|
|
855
|
+
}, null, 512
|
|
856
|
+
/* NEED_PATCH */
|
|
857
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle !== 'slopeFilter' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
|
|
858
|
+
key: 0,
|
|
859
|
+
class: "kq3d-slope-aspect-analysis-tip"
|
|
860
|
+
}, {
|
|
861
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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).skylineTips), 1
|
|
862
|
+
/* TEXT */
|
|
863
|
+
)]),
|
|
864
|
+
_: 1
|
|
865
|
+
/* STABLE */
|
|
866
|
+
|
|
867
|
+
})) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
868
|
+
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue
|
|
869
|
+
}, {
|
|
870
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse_item, {
|
|
871
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).slopeAnalysisSettings,
|
|
872
|
+
name: "slope"
|
|
873
|
+
}, {
|
|
874
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, {
|
|
875
|
+
"label-width": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? '90px' : '120px',
|
|
876
|
+
"label-position": "left"
|
|
877
|
+
}, {
|
|
878
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
879
|
+
style: {
|
|
880
|
+
"display": "block"
|
|
881
|
+
}
|
|
882
|
+
}, {
|
|
883
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
884
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).fillStyle
|
|
885
|
+
}, {
|
|
886
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
|
|
887
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle,
|
|
888
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle = $event),
|
|
889
|
+
onChange: _cache[1] || (_cache[1] = $event => paramsChanged('fillStyle'))
|
|
890
|
+
}, {
|
|
891
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
892
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).customColorScheme,
|
|
893
|
+
value: "tableColor"
|
|
894
|
+
}, null, 8
|
|
895
|
+
/* PROPS */
|
|
896
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
897
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).gradientTexture,
|
|
898
|
+
value: "colorImage"
|
|
899
|
+
}, null, 8
|
|
900
|
+
/* PROPS */
|
|
901
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
902
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).slopeFilter,
|
|
903
|
+
value: "slopeFilter"
|
|
904
|
+
}, null, 8
|
|
905
|
+
/* PROPS */
|
|
906
|
+
, ["label"])]),
|
|
907
|
+
_: 1
|
|
908
|
+
/* STABLE */
|
|
909
|
+
|
|
910
|
+
}, 8
|
|
911
|
+
/* PROPS */
|
|
912
|
+
, ["modelValue"])]),
|
|
913
|
+
_: 1
|
|
914
|
+
/* STABLE */
|
|
915
|
+
|
|
916
|
+
}, 8
|
|
917
|
+
/* PROPS */
|
|
918
|
+
, ["label"])]),
|
|
919
|
+
_: 1
|
|
920
|
+
/* STABLE */
|
|
921
|
+
|
|
922
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle === 'tableColor' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
923
|
+
style: {
|
|
924
|
+
"display": "flex"
|
|
925
|
+
}
|
|
926
|
+
}, {
|
|
927
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
928
|
+
span: 18
|
|
929
|
+
}, {
|
|
930
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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).setSlopeRange), 1
|
|
931
|
+
/* TEXT */
|
|
932
|
+
)]),
|
|
933
|
+
_: 1
|
|
934
|
+
/* STABLE */
|
|
935
|
+
|
|
936
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
937
|
+
span: 6
|
|
938
|
+
}, {
|
|
939
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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).setColor), 1
|
|
940
|
+
/* TEXT */
|
|
941
|
+
)]),
|
|
942
|
+
_: 1
|
|
943
|
+
/* STABLE */
|
|
944
|
+
|
|
945
|
+
})]),
|
|
946
|
+
_: 1
|
|
947
|
+
/* STABLE */
|
|
948
|
+
|
|
949
|
+
}), ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList), (item, index) => {
|
|
950
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
|
|
951
|
+
key: index,
|
|
952
|
+
style: {
|
|
953
|
+
"display": "flex",
|
|
954
|
+
"padding-bottom": "8px"
|
|
955
|
+
}
|
|
956
|
+
}, {
|
|
957
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [index > 0 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, {
|
|
958
|
+
key: 0
|
|
959
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
960
|
+
span: 18
|
|
961
|
+
}, {
|
|
962
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [index === 1 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_input_number, {
|
|
963
|
+
key: 0,
|
|
964
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList)[index - 1].colorTableDegree,
|
|
965
|
+
"onUpdate:modelValue": $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList)[index - 1].colorTableDegree = $event,
|
|
966
|
+
disabled: true,
|
|
967
|
+
onInput: _cache[2] || (_cache[2] = $event => paramsChanged('colorTableDegree')),
|
|
968
|
+
"controls-position": "right"
|
|
969
|
+
}, null, 8
|
|
970
|
+
/* PROPS */
|
|
971
|
+
, ["modelValue", "onUpdate:modelValue"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), index > 1 && index < (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList).length ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_input_number, {
|
|
972
|
+
key: 1,
|
|
973
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList)[index - 1].colorTableDegree,
|
|
974
|
+
"onUpdate:modelValue": $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList)[index - 1].colorTableDegree = $event,
|
|
975
|
+
disabled: true,
|
|
976
|
+
step: 1,
|
|
977
|
+
onInput: _cache[3] || (_cache[3] = $event => paramsChanged('colorTableDegree')),
|
|
978
|
+
"controls-position": "right"
|
|
979
|
+
}, null, 8
|
|
980
|
+
/* PROPS */
|
|
981
|
+
, ["modelValue", "onUpdate:modelValue"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).to), 1
|
|
982
|
+
/* TEXT */
|
|
983
|
+
), index > 0 && index < (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList).length - 1 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_input_number, {
|
|
984
|
+
key: 2,
|
|
985
|
+
modelValue: item.colorTableDegree,
|
|
986
|
+
"onUpdate:modelValue": $event => item.colorTableDegree = $event,
|
|
987
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList)[index - 1].colorTableDegree,
|
|
988
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList)[index + 1].colorTableDegree,
|
|
989
|
+
step: 1,
|
|
990
|
+
onInput: _cache[4] || (_cache[4] = $event => paramsChanged('colorTableDegree')),
|
|
991
|
+
"controls-position": "right"
|
|
992
|
+
}, null, 8
|
|
993
|
+
/* PROPS */
|
|
994
|
+
, ["modelValue", "onUpdate:modelValue", "min", "max"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), index === (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList).length - 1 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_input_number, {
|
|
995
|
+
key: 3,
|
|
996
|
+
modelValue: item.colorTableDegree,
|
|
997
|
+
"onUpdate:modelValue": $event => item.colorTableDegree = $event,
|
|
998
|
+
step: 1,
|
|
999
|
+
disabled: true,
|
|
1000
|
+
onInput: _cache[5] || (_cache[5] = $event => paramsChanged('colorTableDegree')),
|
|
1001
|
+
"controls-position": "right"
|
|
1002
|
+
}, null, 8
|
|
1003
|
+
/* PROPS */
|
|
1004
|
+
, ["modelValue", "onUpdate:modelValue"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
|
|
1005
|
+
_: 2
|
|
1006
|
+
/* DYNAMIC */
|
|
1007
|
+
|
|
1008
|
+
}, 1024
|
|
1009
|
+
/* DYNAMIC_SLOTS */
|
|
1010
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1011
|
+
span: 6
|
|
1012
|
+
}, {
|
|
1013
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_color_picker, {
|
|
1014
|
+
modelValue: item.colorTable,
|
|
1015
|
+
"onUpdate:modelValue": $event => item.colorTable = $event,
|
|
1016
|
+
onChange: _cache[6] || (_cache[6] = $event => paramsChanged('colorTable'))
|
|
1017
|
+
}, null, 8
|
|
1018
|
+
/* PROPS */
|
|
1019
|
+
, ["modelValue", "onUpdate:modelValue"])]),
|
|
1020
|
+
_: 2
|
|
1021
|
+
/* DYNAMIC */
|
|
1022
|
+
|
|
1023
|
+
}, 1024
|
|
1024
|
+
/* DYNAMIC_SLOTS */
|
|
1025
|
+
)], 64
|
|
1026
|
+
/* STABLE_FRAGMENT */
|
|
1027
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
|
|
1028
|
+
_: 2
|
|
1029
|
+
/* DYNAMIC */
|
|
1030
|
+
|
|
1031
|
+
}, 1024
|
|
1032
|
+
/* DYNAMIC_SLOTS */
|
|
1033
|
+
);
|
|
1034
|
+
}), 128
|
|
1035
|
+
/* KEYED_FRAGMENT */
|
|
1036
|
+
))])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle === 'colorImage' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_4, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1037
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
1038
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).gradientColor
|
|
1039
|
+
}, {
|
|
1040
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1041
|
+
style: {
|
|
1042
|
+
"display": "flex"
|
|
1043
|
+
}
|
|
1044
|
+
}, {
|
|
1045
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_5, _hoisted_6, _hoisted_7]),
|
|
1046
|
+
_: 1
|
|
1047
|
+
/* STABLE */
|
|
1048
|
+
|
|
1049
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio_group, {
|
|
1050
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).colorImage,
|
|
1051
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).colorImage = $event),
|
|
1052
|
+
onChange: _cache[8] || (_cache[8] = $event => paramsChanged('colorImage'))
|
|
1053
|
+
}, {
|
|
1054
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)(colorImages, (item, index) => {
|
|
1055
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
|
|
1056
|
+
key: index,
|
|
1057
|
+
label: index
|
|
1058
|
+
}, {
|
|
1059
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("img", {
|
|
1060
|
+
class: "kq3d-slope-aspect-analysis-legend",
|
|
1061
|
+
src: item.src,
|
|
1062
|
+
alt: ""
|
|
1063
|
+
}, null, 8
|
|
1064
|
+
/* PROPS */
|
|
1065
|
+
, _hoisted_8)]),
|
|
1066
|
+
_: 2
|
|
1067
|
+
/* DYNAMIC */
|
|
1068
|
+
|
|
1069
|
+
}, 1032
|
|
1070
|
+
/* PROPS, DYNAMIC_SLOTS */
|
|
1071
|
+
, ["label"]);
|
|
1072
|
+
}), 64
|
|
1073
|
+
/* STABLE_FRAGMENT */
|
|
1074
|
+
))]),
|
|
1075
|
+
_: 1
|
|
1076
|
+
/* STABLE */
|
|
1077
|
+
|
|
1078
|
+
}, 8
|
|
1079
|
+
/* PROPS */
|
|
1080
|
+
, ["modelValue"])]),
|
|
1081
|
+
_: 1
|
|
1082
|
+
/* STABLE */
|
|
1083
|
+
|
|
1084
|
+
}, 8
|
|
1085
|
+
/* PROPS */
|
|
1086
|
+
, ["label"])]),
|
|
1087
|
+
_: 1
|
|
1088
|
+
/* STABLE */
|
|
1089
|
+
|
|
1090
|
+
})])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle === 'slopeFilter' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_9, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1091
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
1092
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).minSlope
|
|
1093
|
+
}, {
|
|
1094
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1095
|
+
style: {
|
|
1096
|
+
"display": "flex"
|
|
1097
|
+
}
|
|
1098
|
+
}, {
|
|
1099
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1100
|
+
span: 16
|
|
1101
|
+
}, {
|
|
1102
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
1103
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minSlope,
|
|
1104
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minSlope = $event),
|
|
1105
|
+
step: 1,
|
|
1106
|
+
min: 0,
|
|
1107
|
+
max: 90,
|
|
1108
|
+
onInput: _cache[10] || (_cache[10] = $event => paramsChanged('minSlope'))
|
|
1109
|
+
}, null, 8
|
|
1110
|
+
/* PROPS */
|
|
1111
|
+
, ["modelValue"])]),
|
|
1112
|
+
_: 1
|
|
1113
|
+
/* STABLE */
|
|
1114
|
+
|
|
1115
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1116
|
+
span: 8
|
|
1117
|
+
}, {
|
|
1118
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input_number, {
|
|
1119
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minSlope,
|
|
1120
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minSlope = $event),
|
|
1121
|
+
step: 1,
|
|
1122
|
+
min: 0,
|
|
1123
|
+
max: 90,
|
|
1124
|
+
"controls-position": "right",
|
|
1125
|
+
onInput: _cache[12] || (_cache[12] = $event => paramsChanged('minSlope'))
|
|
1126
|
+
}, null, 8
|
|
1127
|
+
/* PROPS */
|
|
1128
|
+
, ["modelValue"])]),
|
|
1129
|
+
_: 1
|
|
1130
|
+
/* STABLE */
|
|
1131
|
+
|
|
1132
|
+
})]),
|
|
1133
|
+
_: 1
|
|
1134
|
+
/* STABLE */
|
|
1135
|
+
|
|
1136
|
+
})]),
|
|
1137
|
+
_: 1
|
|
1138
|
+
/* STABLE */
|
|
1139
|
+
|
|
1140
|
+
}, 8
|
|
1141
|
+
/* PROPS */
|
|
1142
|
+
, ["label"])]),
|
|
1143
|
+
_: 1
|
|
1144
|
+
/* STABLE */
|
|
1145
|
+
|
|
1146
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1147
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
1148
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).maxSlope
|
|
1149
|
+
}, {
|
|
1150
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1151
|
+
style: {
|
|
1152
|
+
"display": "flex"
|
|
1153
|
+
}
|
|
1154
|
+
}, {
|
|
1155
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1156
|
+
span: 16
|
|
1157
|
+
}, {
|
|
1158
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
1159
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxSlope,
|
|
1160
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxSlope = $event),
|
|
1161
|
+
step: 1,
|
|
1162
|
+
min: 0,
|
|
1163
|
+
max: 90,
|
|
1164
|
+
onInput: _cache[14] || (_cache[14] = $event => paramsChanged('maxSlope'))
|
|
1165
|
+
}, null, 8
|
|
1166
|
+
/* PROPS */
|
|
1167
|
+
, ["modelValue"])]),
|
|
1168
|
+
_: 1
|
|
1169
|
+
/* STABLE */
|
|
1170
|
+
|
|
1171
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1172
|
+
span: 8
|
|
1173
|
+
}, {
|
|
1174
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input_number, {
|
|
1175
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxSlope,
|
|
1176
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxSlope = $event),
|
|
1177
|
+
step: 1,
|
|
1178
|
+
min: 0,
|
|
1179
|
+
max: 90,
|
|
1180
|
+
"controls-position": "right",
|
|
1181
|
+
onInput: _cache[16] || (_cache[16] = $event => paramsChanged('maxSlope'))
|
|
1182
|
+
}, null, 8
|
|
1183
|
+
/* PROPS */
|
|
1184
|
+
, ["modelValue"])]),
|
|
1185
|
+
_: 1
|
|
1186
|
+
/* STABLE */
|
|
1187
|
+
|
|
1188
|
+
})]),
|
|
1189
|
+
_: 1
|
|
1190
|
+
/* STABLE */
|
|
1191
|
+
|
|
1192
|
+
})]),
|
|
1193
|
+
_: 1
|
|
1194
|
+
/* STABLE */
|
|
1195
|
+
|
|
1196
|
+
}, 8
|
|
1197
|
+
/* PROPS */
|
|
1198
|
+
, ["label"])]),
|
|
1199
|
+
_: 1
|
|
1200
|
+
/* STABLE */
|
|
1201
|
+
|
|
1202
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1203
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
1204
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).transparents
|
|
1205
|
+
}, {
|
|
1206
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1207
|
+
style: {
|
|
1208
|
+
"display": "flex"
|
|
1209
|
+
}
|
|
1210
|
+
}, {
|
|
1211
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1212
|
+
span: 16
|
|
1213
|
+
}, {
|
|
1214
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
1215
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slopeColorAlpha,
|
|
1216
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slopeColorAlpha = $event),
|
|
1217
|
+
min: 0,
|
|
1218
|
+
max: 1,
|
|
1219
|
+
step: 0.01,
|
|
1220
|
+
onInput: _cache[18] || (_cache[18] = $event => paramsChanged('slopeColorAlpha'))
|
|
1221
|
+
}, null, 8
|
|
1222
|
+
/* PROPS */
|
|
1223
|
+
, ["modelValue", "step"])]),
|
|
1224
|
+
_: 1
|
|
1225
|
+
/* STABLE */
|
|
1226
|
+
|
|
1227
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1228
|
+
span: 8
|
|
1229
|
+
}, {
|
|
1230
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input_number, {
|
|
1231
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slopeColorAlpha,
|
|
1232
|
+
"onUpdate:modelValue": _cache[19] || (_cache[19] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slopeColorAlpha = $event),
|
|
1233
|
+
min: 0,
|
|
1234
|
+
max: 1,
|
|
1235
|
+
step: 0.01,
|
|
1236
|
+
"controls-position": "right",
|
|
1237
|
+
onInput: _cache[20] || (_cache[20] = $event => paramsChanged('slopeColorAlpha'))
|
|
1238
|
+
}, null, 8
|
|
1239
|
+
/* PROPS */
|
|
1240
|
+
, ["modelValue", "step"])]),
|
|
1241
|
+
_: 1
|
|
1242
|
+
/* STABLE */
|
|
1243
|
+
|
|
1244
|
+
})]),
|
|
1245
|
+
_: 1
|
|
1246
|
+
/* STABLE */
|
|
1247
|
+
|
|
1248
|
+
})]),
|
|
1249
|
+
_: 1
|
|
1250
|
+
/* STABLE */
|
|
1251
|
+
|
|
1252
|
+
}, 8
|
|
1253
|
+
/* PROPS */
|
|
1254
|
+
, ["label"])]),
|
|
1255
|
+
_: 1
|
|
1256
|
+
/* STABLE */
|
|
1257
|
+
|
|
1258
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1259
|
+
style: {
|
|
1260
|
+
"padding-bottom": "8px"
|
|
1261
|
+
}
|
|
1262
|
+
}, {
|
|
1263
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
1264
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).color
|
|
1265
|
+
}, {
|
|
1266
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_color_picker, {
|
|
1267
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slopeColorText,
|
|
1268
|
+
"onUpdate:modelValue": _cache[21] || (_cache[21] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slopeColorText = $event),
|
|
1269
|
+
onChange: _cache[22] || (_cache[22] = $event => paramsChanged('slopeColorText'))
|
|
1270
|
+
}, null, 8
|
|
1271
|
+
/* PROPS */
|
|
1272
|
+
, ["modelValue"])]),
|
|
1273
|
+
_: 1
|
|
1274
|
+
/* STABLE */
|
|
1275
|
+
|
|
1276
|
+
}, 8
|
|
1277
|
+
/* PROPS */
|
|
1278
|
+
, ["label"])]),
|
|
1279
|
+
_: 1
|
|
1280
|
+
/* STABLE */
|
|
1281
|
+
|
|
1282
|
+
})])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
|
|
1283
|
+
_: 1
|
|
1284
|
+
/* STABLE */
|
|
1285
|
+
|
|
1286
|
+
}, 8
|
|
1287
|
+
/* PROPS */
|
|
1288
|
+
, ["label-width"])]),
|
|
1289
|
+
_: 1
|
|
1290
|
+
/* STABLE */
|
|
1291
|
+
|
|
1292
|
+
}, 8
|
|
1293
|
+
/* PROPS */
|
|
1294
|
+
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse_item, {
|
|
1295
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).aspectAnalysisSettings,
|
|
1296
|
+
name: "aspect",
|
|
1297
|
+
class: "kq3d-slope-aspect-analysis-collapse-item"
|
|
1298
|
+
}, {
|
|
1299
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, {
|
|
1300
|
+
"label-width": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? '90px' : '120px',
|
|
1301
|
+
"label-position": "left"
|
|
1302
|
+
}, {
|
|
1303
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", null, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1304
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
1305
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).samplingInterval
|
|
1306
|
+
}, {
|
|
1307
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1308
|
+
style: {
|
|
1309
|
+
"display": "flex"
|
|
1310
|
+
}
|
|
1311
|
+
}, {
|
|
1312
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1313
|
+
span: 16
|
|
1314
|
+
}, {
|
|
1315
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
1316
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).interval,
|
|
1317
|
+
"onUpdate:modelValue": _cache[23] || (_cache[23] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).interval = $event),
|
|
1318
|
+
step: 1,
|
|
1319
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minInterval,
|
|
1320
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxInterval,
|
|
1321
|
+
onInput: _cache[24] || (_cache[24] = $event => paramsChanged('interval'))
|
|
1322
|
+
}, null, 8
|
|
1323
|
+
/* PROPS */
|
|
1324
|
+
, ["modelValue", "min", "max"])]),
|
|
1325
|
+
_: 1
|
|
1326
|
+
/* STABLE */
|
|
1327
|
+
|
|
1328
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1329
|
+
span: 8
|
|
1330
|
+
}, {
|
|
1331
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input_number, {
|
|
1332
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).interval,
|
|
1333
|
+
"onUpdate:modelValue": _cache[25] || (_cache[25] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).interval = $event),
|
|
1334
|
+
step: 1,
|
|
1335
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minInterval,
|
|
1336
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxInterval,
|
|
1337
|
+
"controls-position": "right",
|
|
1338
|
+
onInput: _cache[26] || (_cache[26] = $event => paramsChanged('interval'))
|
|
1339
|
+
}, null, 8
|
|
1340
|
+
/* PROPS */
|
|
1341
|
+
, ["modelValue", "min", "max"])]),
|
|
1342
|
+
_: 1
|
|
1343
|
+
/* STABLE */
|
|
1344
|
+
|
|
1345
|
+
})]),
|
|
1346
|
+
_: 1
|
|
1347
|
+
/* STABLE */
|
|
1348
|
+
|
|
1349
|
+
})]),
|
|
1350
|
+
_: 1
|
|
1351
|
+
/* STABLE */
|
|
1352
|
+
|
|
1353
|
+
}, 8
|
|
1354
|
+
/* PROPS */
|
|
1355
|
+
, ["label"])]),
|
|
1356
|
+
_: 1
|
|
1357
|
+
/* STABLE */
|
|
1358
|
+
|
|
1359
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1360
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
1361
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).arrowWidth
|
|
1362
|
+
}, {
|
|
1363
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1364
|
+
style: {
|
|
1365
|
+
"display": "flex"
|
|
1366
|
+
}
|
|
1367
|
+
}, {
|
|
1368
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1369
|
+
span: 16
|
|
1370
|
+
}, {
|
|
1371
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
1372
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).arrowWidth,
|
|
1373
|
+
"onUpdate:modelValue": _cache[27] || (_cache[27] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).arrowWidth = $event),
|
|
1374
|
+
step: 1,
|
|
1375
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minArrowWidth,
|
|
1376
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxArrowWidth,
|
|
1377
|
+
onInput: _cache[28] || (_cache[28] = $event => paramsChanged('arrowWidth'))
|
|
1378
|
+
}, null, 8
|
|
1379
|
+
/* PROPS */
|
|
1380
|
+
, ["modelValue", "min", "max"])]),
|
|
1381
|
+
_: 1
|
|
1382
|
+
/* STABLE */
|
|
1383
|
+
|
|
1384
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1385
|
+
span: 8
|
|
1386
|
+
}, {
|
|
1387
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input_number, {
|
|
1388
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).arrowWidth,
|
|
1389
|
+
"onUpdate:modelValue": _cache[29] || (_cache[29] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).arrowWidth = $event),
|
|
1390
|
+
step: 1,
|
|
1391
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minArrowWidth,
|
|
1392
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxArrowWidth,
|
|
1393
|
+
"controls-position": "right",
|
|
1394
|
+
onInput: _cache[30] || (_cache[30] = $event => paramsChanged('arrowWidth'))
|
|
1395
|
+
}, null, 8
|
|
1396
|
+
/* PROPS */
|
|
1397
|
+
, ["modelValue", "min", "max"])]),
|
|
1398
|
+
_: 1
|
|
1399
|
+
/* STABLE */
|
|
1400
|
+
|
|
1401
|
+
})]),
|
|
1402
|
+
_: 1
|
|
1403
|
+
/* STABLE */
|
|
1404
|
+
|
|
1405
|
+
})]),
|
|
1406
|
+
_: 1
|
|
1407
|
+
/* STABLE */
|
|
1408
|
+
|
|
1409
|
+
}, 8
|
|
1410
|
+
/* PROPS */
|
|
1411
|
+
, ["label"])]),
|
|
1412
|
+
_: 1
|
|
1413
|
+
/* STABLE */
|
|
1414
|
+
|
|
1415
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1416
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
|
|
1417
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).arrowColor
|
|
1418
|
+
}, {
|
|
1419
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_color_picker, {
|
|
1420
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).arrowColor,
|
|
1421
|
+
"onUpdate:modelValue": _cache[31] || (_cache[31] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).arrowColor = $event),
|
|
1422
|
+
onChange: _cache[32] || (_cache[32] = $event => paramsChanged('arrowColor'))
|
|
1423
|
+
}, null, 8
|
|
1424
|
+
/* PROPS */
|
|
1425
|
+
, ["modelValue"])]),
|
|
1426
|
+
_: 1
|
|
1427
|
+
/* STABLE */
|
|
1428
|
+
|
|
1429
|
+
}, 8
|
|
1430
|
+
/* PROPS */
|
|
1431
|
+
, ["label"])]),
|
|
1432
|
+
_: 1
|
|
1433
|
+
/* STABLE */
|
|
1434
|
+
|
|
1435
|
+
})])]),
|
|
1436
|
+
_: 1
|
|
1437
|
+
/* STABLE */
|
|
1438
|
+
|
|
1439
|
+
}, 8
|
|
1440
|
+
/* PROPS */
|
|
1441
|
+
, ["label-width"])]),
|
|
1442
|
+
_: 1
|
|
1443
|
+
/* STABLE */
|
|
1444
|
+
|
|
1445
|
+
}, 8
|
|
1446
|
+
/* PROPS */
|
|
1447
|
+
, ["title"])]),
|
|
1448
|
+
_: 1
|
|
1449
|
+
/* STABLE */
|
|
1450
|
+
|
|
1451
|
+
}, 8
|
|
1452
|
+
/* PROPS */
|
|
1453
|
+
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_10, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1454
|
+
onClick: _cache[33] || (_cache[33] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
1455
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
|
|
1456
|
+
type: "primary"
|
|
1457
|
+
}, {
|
|
1458
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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).startAnalysis), 1
|
|
1459
|
+
/* TEXT */
|
|
1460
|
+
)]),
|
|
1461
|
+
_: 1
|
|
1462
|
+
/* STABLE */
|
|
1463
|
+
|
|
1464
|
+
}, 8
|
|
1465
|
+
/* PROPS */
|
|
1466
|
+
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1467
|
+
onClick: _cache[34] || (_cache[34] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
|
|
1468
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
|
|
1469
|
+
}, {
|
|
1470
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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).clearResult), 1
|
|
1471
|
+
/* TEXT */
|
|
1472
|
+
)]),
|
|
1473
|
+
_: 1
|
|
1474
|
+
/* STABLE */
|
|
1475
|
+
|
|
1476
|
+
}, 8
|
|
1477
|
+
/* PROPS */
|
|
1478
|
+
, ["title"])])])], 2
|
|
1479
|
+
/* CLASS */
|
|
1480
|
+
);
|
|
1481
|
+
};
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
}));
|
|
1485
|
+
;// CONCATENATED MODULE: ./src/webgl/slopeaspectanalysis/SlopeAspectAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
1486
|
+
|
|
1487
|
+
;// CONCATENATED MODULE: ./src/webgl/slopeaspectanalysis/SlopeAspectAnalysis.vue
|
|
1488
|
+
|
|
1489
|
+
|
|
1490
|
+
|
|
1491
|
+
const __exports__ = SlopeAspectAnalysisvue_type_script_setup_true_lang_js;
|
|
1492
|
+
|
|
1493
|
+
/* harmony default export */ var SlopeAspectAnalysis = (__exports__);
|
|
1494
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
1495
|
+
var init_js_ = __webpack_require__(7997);
|
|
1496
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
1497
|
+
;// CONCATENATED MODULE: ./src/webgl/slopeaspectanalysis/index.js
|
|
1498
|
+
|
|
1499
|
+
|
|
1500
|
+
|
|
1501
|
+
|
|
1502
|
+
SlopeAspectAnalysis.install = (Vue, opts) => {
|
|
1503
|
+
init_js_default()(Vue, opts);
|
|
1504
|
+
Vue.component(SlopeAspectAnalysis.name, SlopeAspectAnalysis);
|
|
1505
|
+
};
|
|
1506
|
+
|
|
1507
|
+
|
|
1508
|
+
}();
|
|
1509
|
+
/******/ return __webpack_exports__;
|
|
1510
|
+
/******/ })()
|
|
1511
|
+
;
|
|
1512
|
+
});
|