@kq_npm/client3d_webgl_vue 4.5.3-beta → 4.5.5-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adddata/index.js +337 -524
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +163 -229
- package/baseterraingallery/index.js +122 -145
- package/boxclip/index.js +291 -472
- package/clientPrint/index.js +368 -906
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +224 -246
- package/compass/index.js +96 -84
- package/excavatefillanalysis/index.js +185 -255
- package/fixedzoomin/index.js +91 -76
- package/fixedzoomout/index.js +91 -76
- package/flight/index.js +298 -402
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +248 -385
- package/geologicalbodyanalysis/index.js +206 -288
- package/gpuspatialquery/index.js +243 -392
- package/hawkeye/index.js +139 -103
- package/headertemp/index.js +23 -33
- package/heatmap3d/index.js +427 -734
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +8170 -17000
- package/isolineanalysis/index.js +557 -1233
- package/light/index.js +351 -488
- package/limitheightanalysis/index.js +249 -312
- package/measure/index.js +341 -495
- package/modelFlat/index.js +261 -259
- package/modelexcavate/index.js +214 -266
- package/modelfilter/index.js +216 -299
- package/modelprofileanalysis/index.js +354 -465
- package/modelselect/index.js +183 -175
- package/package.json +1 -1
- package/particleeffect/index.js +257 -430
- package/planeclip/index.js +240 -330
- package/resetview/index.js +89 -69
- package/roller/index.js +305 -363
- package/scaneffect/index.js +274 -572
- package/sceneadvancedtoimage/index.js +1057 -0
- package/sceneadvancedtoimage/style/index.js +3 -0
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
- package/sceneapp/index.js +818 -2179
- package/sceneset/index.js +391 -885
- package/scenetohdimage/index.js +212 -346
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +9208 -17907
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +273 -312
- package/shadowanalysis/index.js +259 -437
- package/sightlineanalysis/index.js +229 -312
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +204 -341
- package/slopeanalysis/index.js +274 -435
- package/slopeaspectanalysis/index.js +307 -524
- package/statusbar/index.js +113 -84
- package/style.css +1 -1
- package/terrainoperation/index.js +222 -271
- package/terrainprofileanalysis/index.js +166 -173
- package/underground/index.js +96 -82
- package/videofusion/index.js +305 -519
- package/videoproject/index.js +311 -521
- package/viewshedanalysis/index.js +176 -275
- package/weathereffect/index.js +197 -343
- package/wireframesketch/index.js +133 -141
package/planeclip/index.js
CHANGED
|
@@ -7,100 +7,155 @@
|
|
|
7
7
|
var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), 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/init.js"], root["@kq_npm/client_common_vue/_utils/util"]);
|
|
8
8
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
9
|
}
|
|
10
|
-
})(this, function(
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__154__, __WEBPACK_EXTERNAL_MODULE__64__, __WEBPACK_EXTERNAL_MODULE__455__, __WEBPACK_EXTERNAL_MODULE__2975__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 3275:
|
|
16
16
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17
17
|
|
|
18
|
-
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
18
|
+
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6363);
|
|
19
19
|
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
20
|
-
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
20
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(455);
|
|
21
21
|
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
|
|
22
|
-
|
|
22
|
+
/*
|
|
23
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
24
|
+
* All rights reserved.
|
|
25
|
+
*/
|
|
23
26
|
|
|
24
27
|
|
|
25
28
|
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
26
29
|
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
27
30
|
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
28
31
|
};
|
|
29
|
-
|
|
30
|
-
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
32
|
+
/* harmony default export */ __webpack_exports__.A = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
31
33
|
|
|
32
34
|
/***/ }),
|
|
33
35
|
|
|
34
|
-
/***/
|
|
36
|
+
/***/ 5698:
|
|
35
37
|
/***/ (function(module) {
|
|
36
38
|
|
|
37
39
|
module.exports = require("@kq_npm/client_icons_vue");
|
|
38
40
|
|
|
39
41
|
/***/ }),
|
|
40
42
|
|
|
41
|
-
/***/
|
|
43
|
+
/***/ 2652:
|
|
44
|
+
/***/ (function(module) {
|
|
45
|
+
|
|
46
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
47
|
+
|
|
48
|
+
/***/ }),
|
|
49
|
+
|
|
50
|
+
/***/ 3658:
|
|
51
|
+
/***/ (function(module) {
|
|
52
|
+
|
|
53
|
+
module.exports = require("core-js/modules/esnext.iterator.constructor.js");
|
|
54
|
+
|
|
55
|
+
/***/ }),
|
|
56
|
+
|
|
57
|
+
/***/ 7993:
|
|
58
|
+
/***/ (function(module) {
|
|
59
|
+
|
|
60
|
+
module.exports = require("core-js/modules/esnext.iterator.find.js");
|
|
61
|
+
|
|
62
|
+
/***/ }),
|
|
63
|
+
|
|
64
|
+
/***/ 6363:
|
|
42
65
|
/***/ (function(module) {
|
|
43
66
|
|
|
44
67
|
module.exports = require("element-plus/dist/index.full.js");
|
|
45
68
|
|
|
46
69
|
/***/ }),
|
|
47
70
|
|
|
48
|
-
/***/
|
|
71
|
+
/***/ 3579:
|
|
49
72
|
/***/ (function(module) {
|
|
50
73
|
|
|
51
74
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
52
75
|
|
|
53
76
|
/***/ }),
|
|
54
77
|
|
|
55
|
-
/***/
|
|
78
|
+
/***/ 64:
|
|
56
79
|
/***/ (function(module) {
|
|
57
80
|
|
|
58
|
-
module.exports =
|
|
81
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
|
|
59
82
|
|
|
60
83
|
/***/ }),
|
|
61
84
|
|
|
62
|
-
/***/
|
|
85
|
+
/***/ 2975:
|
|
63
86
|
/***/ (function(module) {
|
|
64
87
|
|
|
65
|
-
module.exports =
|
|
88
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
|
|
66
89
|
|
|
67
90
|
/***/ }),
|
|
68
91
|
|
|
69
|
-
/***/
|
|
92
|
+
/***/ 455:
|
|
70
93
|
/***/ (function(module) {
|
|
71
94
|
|
|
72
|
-
module.exports =
|
|
95
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
|
|
73
96
|
|
|
74
97
|
/***/ }),
|
|
75
98
|
|
|
76
|
-
/***/
|
|
99
|
+
/***/ 154:
|
|
77
100
|
/***/ (function(module) {
|
|
78
101
|
|
|
79
|
-
module.exports =
|
|
102
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
|
|
80
103
|
|
|
81
104
|
/***/ }),
|
|
82
105
|
|
|
83
|
-
/***/
|
|
106
|
+
/***/ 6913:
|
|
84
107
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
85
108
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
function
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
109
|
+
|
|
110
|
+
// EXPORTS
|
|
111
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
112
|
+
A: function() { return /* binding */ _defineProperty; }
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
116
|
+
function _typeof(o) {
|
|
117
|
+
"@babel/helpers - typeof";
|
|
118
|
+
|
|
119
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
120
|
+
return typeof o;
|
|
121
|
+
} : function (o) {
|
|
122
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
123
|
+
}, _typeof(o);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
127
|
+
|
|
128
|
+
function toPrimitive(t, r) {
|
|
129
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
130
|
+
var e = t[Symbol.toPrimitive];
|
|
131
|
+
if (void 0 !== e) {
|
|
132
|
+
var i = e.call(t, r || "default");
|
|
133
|
+
if ("object" != _typeof(i)) return i;
|
|
134
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
99
135
|
}
|
|
136
|
+
return ("string" === r ? String : Number)(t);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
function toPropertyKey(t) {
|
|
143
|
+
var i = toPrimitive(t, "string");
|
|
144
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
100
148
|
|
|
101
|
-
|
|
149
|
+
function _defineProperty(e, r, t) {
|
|
150
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
151
|
+
value: t,
|
|
152
|
+
enumerable: !0,
|
|
153
|
+
configurable: !0,
|
|
154
|
+
writable: !0
|
|
155
|
+
}) : e[r] = t, e;
|
|
102
156
|
}
|
|
103
157
|
|
|
158
|
+
|
|
104
159
|
/***/ })
|
|
105
160
|
|
|
106
161
|
/******/ });
|
|
@@ -172,41 +227,47 @@ function _defineProperty(obj, key, value) {
|
|
|
172
227
|
/******/
|
|
173
228
|
/************************************************************************/
|
|
174
229
|
var __webpack_exports__ = {};
|
|
175
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
176
|
-
!function() {
|
|
177
230
|
// ESM COMPAT FLAG
|
|
178
231
|
__webpack_require__.r(__webpack_exports__);
|
|
179
232
|
|
|
180
233
|
// EXPORTS
|
|
181
234
|
__webpack_require__.d(__webpack_exports__, {
|
|
182
|
-
|
|
235
|
+
PlaneClipViewModel: function() { return /* reexport */ PlaneClipViewModel; },
|
|
183
236
|
"default": function() { return /* reexport */ PlaneClip; }
|
|
184
237
|
});
|
|
185
238
|
|
|
186
239
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
187
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
240
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
188
241
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
189
|
-
var gis_utils_ = __webpack_require__(
|
|
190
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
191
|
-
var defineProperty = __webpack_require__(
|
|
242
|
+
var gis_utils_ = __webpack_require__(64);
|
|
243
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
244
|
+
var defineProperty = __webpack_require__(6913);
|
|
245
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
246
|
+
var es_array_push_js_ = __webpack_require__(2652);
|
|
247
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
248
|
+
var esnext_iterator_constructor_js_ = __webpack_require__(3658);
|
|
249
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.find.js"
|
|
250
|
+
var esnext_iterator_find_js_ = __webpack_require__(7993);
|
|
192
251
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
193
|
-
var message = __webpack_require__(
|
|
252
|
+
var message = __webpack_require__(3275);
|
|
194
253
|
;// CONCATENATED MODULE: ./src/webgl/planeclip/PlaneClipViewModel.js
|
|
195
254
|
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
/*
|
|
259
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
260
|
+
* All rights reserved.
|
|
261
|
+
*/
|
|
196
262
|
//平面裁剪逻辑类
|
|
197
263
|
|
|
198
264
|
class PlaneClipViewModel {
|
|
199
|
-
//三维viewer对象
|
|
200
|
-
//平面裁剪存储参数对象
|
|
201
|
-
//平面裁剪三维逻辑类
|
|
202
|
-
//绘制管理对象
|
|
203
|
-
//绘制完成事件监听
|
|
204
265
|
constructor(scenceView, options) {
|
|
205
|
-
(0,defineProperty/* default */.
|
|
206
|
-
|
|
207
|
-
(0,defineProperty/* default */.
|
|
208
|
-
|
|
209
|
-
(0,defineProperty/* default */.
|
|
266
|
+
(0,defineProperty/* default */.A)(this, "_viewer", null);
|
|
267
|
+
//三维viewer对象
|
|
268
|
+
(0,defineProperty/* default */.A)(this, "_options", {});
|
|
269
|
+
//平面裁剪存储参数对象
|
|
270
|
+
(0,defineProperty/* default */.A)(this, "_defaultOptions", {
|
|
210
271
|
//默认参数对象
|
|
211
272
|
x: 0,
|
|
212
273
|
y: 0,
|
|
@@ -230,35 +291,34 @@ class PlaneClipViewModel {
|
|
|
230
291
|
paddingStrokeDirection: 30.0,
|
|
231
292
|
paddingStrokeSpace: 7.0
|
|
232
293
|
});
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
294
|
+
(0,defineProperty/* default */.A)(this, "_planeclipAnalysis", null);
|
|
295
|
+
//平面裁剪三维逻辑类
|
|
296
|
+
(0,defineProperty/* default */.A)(this, "_drawManager", null);
|
|
297
|
+
//绘制管理对象
|
|
298
|
+
(0,defineProperty/* default */.A)(this, "_removeEventListener", null);
|
|
299
|
+
//绘制完成事件监听
|
|
300
|
+
(0,defineProperty/* default */.A)(this, "_language", {});
|
|
240
301
|
this._options = Object.assign({}, options, this._defaultOptions);
|
|
241
|
-
this._viewer = scenceView._viewer;
|
|
242
|
-
|
|
302
|
+
this._viewer = scenceView._viewer;
|
|
303
|
+
// this._viewer.enabledFXAA = true;
|
|
243
304
|
this._options.viewer = this._viewer;
|
|
305
|
+
this._language = scenceView._language;
|
|
244
306
|
this._drawManager = scenceView._drawManager;
|
|
245
307
|
let that = this;
|
|
246
308
|
this._removeEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
247
309
|
if (shape) {
|
|
248
|
-
that._options.position = shape.position;
|
|
249
|
-
|
|
310
|
+
that._options.position = shape.position;
|
|
311
|
+
// 实例化分析对象
|
|
250
312
|
that._planeclipAnalysis = new Cesium.Kq3dBoxClip(that._options);
|
|
251
|
-
|
|
252
313
|
that._drawManager.clear();
|
|
253
314
|
}
|
|
254
315
|
});
|
|
255
|
-
}
|
|
256
|
-
|
|
316
|
+
}
|
|
257
317
|
|
|
318
|
+
// 查找所有3dtiles模型对象
|
|
258
319
|
findLayers() {
|
|
259
320
|
let tilesets = [];
|
|
260
321
|
const primitives = this._options.viewer.scene.primitives._primitives;
|
|
261
|
-
|
|
262
322
|
for (let m = 0; m < primitives.length; m++) {
|
|
263
323
|
if (primitives[m] instanceof Cesium.Cesium3DTileset) {
|
|
264
324
|
tilesets.push({
|
|
@@ -267,116 +327,106 @@ class PlaneClipViewModel {
|
|
|
267
327
|
});
|
|
268
328
|
}
|
|
269
329
|
}
|
|
270
|
-
|
|
271
330
|
return tilesets;
|
|
272
|
-
}
|
|
273
|
-
|
|
331
|
+
}
|
|
274
332
|
|
|
333
|
+
//根据id获取tileset对象
|
|
275
334
|
findLayerById(id) {
|
|
276
335
|
const primitives = this._options.viewer.scene.primitives._primitives;
|
|
277
336
|
const tileset = primitives.find(function (item) {
|
|
278
337
|
return item.guid === id;
|
|
279
338
|
});
|
|
280
339
|
return tileset;
|
|
281
|
-
}
|
|
282
|
-
|
|
340
|
+
}
|
|
283
341
|
|
|
342
|
+
// 开始分析
|
|
284
343
|
start() {
|
|
285
344
|
// 判断是否添加了模型
|
|
286
345
|
var flag = false;
|
|
287
346
|
var models = this._options.viewer.scene.primitives._primitives;
|
|
288
|
-
|
|
289
347
|
for (let i = 0; i < models.length; i++) {
|
|
290
348
|
if (models[i]._url) {
|
|
291
349
|
flag = true;
|
|
292
350
|
}
|
|
293
351
|
}
|
|
294
|
-
|
|
295
352
|
if (flag) {
|
|
296
353
|
if (this._drawManager) this._drawManager.startDraw("marker", {
|
|
297
354
|
image: null
|
|
298
355
|
});
|
|
299
356
|
} else {
|
|
300
|
-
(0,message/* default */.
|
|
301
|
-
message: "
|
|
357
|
+
(0,message/* default */.A)({
|
|
358
|
+
message: this._language["addModelAnalysisTips"],
|
|
302
359
|
type: "warning"
|
|
303
360
|
});
|
|
304
361
|
}
|
|
305
|
-
}
|
|
306
|
-
|
|
362
|
+
}
|
|
307
363
|
|
|
364
|
+
//清除全部
|
|
308
365
|
clear() {
|
|
309
366
|
if (this._planeclipAnalysis) this._planeclipAnalysis.boxEnable = false;
|
|
310
|
-
this._planeclipAnalysis && this._planeclipAnalysis.remove();
|
|
311
|
-
|
|
312
|
-
|
|
367
|
+
this._planeclipAnalysis && this._planeclipAnalysis.remove();
|
|
368
|
+
// this._planeclipAnalysis = null;
|
|
369
|
+
}
|
|
313
370
|
|
|
371
|
+
//销毁
|
|
314
372
|
destroy() {
|
|
315
|
-
this.clear();
|
|
316
|
-
|
|
373
|
+
this.clear();
|
|
374
|
+
//销毁分析对象
|
|
317
375
|
this._planeclipAnalysis && this._planeclipAnalysis.destroy();
|
|
318
|
-
this._planeclipAnalysis = null;
|
|
319
|
-
|
|
376
|
+
this._planeclipAnalysis = null;
|
|
377
|
+
//移除监听事件
|
|
320
378
|
this._removeEventListener && this._removeEventListener();
|
|
321
379
|
this._removeEventListener = null;
|
|
322
|
-
}
|
|
323
|
-
|
|
380
|
+
}
|
|
324
381
|
|
|
382
|
+
// 设置裁剪对象
|
|
325
383
|
setLayer(layerId) {
|
|
326
384
|
this.clear();
|
|
327
385
|
this._options.tileset = this.findLayerById(layerId);
|
|
328
|
-
}
|
|
329
|
-
|
|
386
|
+
}
|
|
330
387
|
|
|
388
|
+
// 设置裁剪方向,2:x,3:y,z:4
|
|
331
389
|
setClipDirection(val) {
|
|
332
390
|
this._options.clipType = val;
|
|
333
391
|
if (this._planeclipAnalysis) this._planeclipAnalysis.clipType = val;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
|
|
392
|
+
}
|
|
393
|
+
// 设置裁剪方式,为false时,则为正向裁剪,否则为逆向裁剪
|
|
337
394
|
setClipType(val) {
|
|
338
395
|
this._options.reverseClip = val;
|
|
339
|
-
|
|
340
396
|
if (this._planeclipAnalysis) {
|
|
341
397
|
this._planeclipAnalysis.reverseClip = val;
|
|
342
398
|
this._planeclipAnalysis.distance = this._options.distance;
|
|
343
399
|
}
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
|
|
400
|
+
}
|
|
401
|
+
//是否裁剪
|
|
347
402
|
setEnable(val) {
|
|
348
403
|
this._options.enable = val;
|
|
349
|
-
|
|
350
404
|
if (this._planeclipAnalysis) {
|
|
351
405
|
this._planeclipAnalysis.enable = val;
|
|
352
406
|
this._planeclipAnalysis.boxEnable = this._options.boxEnable;
|
|
353
407
|
}
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
|
|
408
|
+
}
|
|
409
|
+
//显/隐辅助对象
|
|
357
410
|
setShowBox(val) {
|
|
358
411
|
this._options.boxEnable = val;
|
|
359
412
|
if (this._planeclipAnalysis) this._planeclipAnalysis.boxEnable = val;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
|
|
413
|
+
}
|
|
414
|
+
//设置裁剪距离
|
|
363
415
|
setDistance(val) {
|
|
364
416
|
if (this._options.clipType == 4) {
|
|
365
417
|
this._options.distance = -Number(val);
|
|
366
418
|
} else {
|
|
367
419
|
this._options.distance = Number(val);
|
|
368
420
|
}
|
|
369
|
-
|
|
370
421
|
if (this._planeclipAnalysis) this._planeclipAnalysis.distance = this._options.distance;
|
|
371
422
|
}
|
|
372
|
-
|
|
373
423
|
}
|
|
374
424
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
375
|
-
var client_icons_vue_ = __webpack_require__(
|
|
425
|
+
var client_icons_vue_ = __webpack_require__(5698);
|
|
376
426
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
377
|
-
var util_ = __webpack_require__(
|
|
427
|
+
var util_ = __webpack_require__(2975);
|
|
378
428
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
379
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
429
|
+
var vue_i18n_cjs_js_ = __webpack_require__(3579);
|
|
380
430
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/planeclip/PlaneClip.vue?vue&type=script&setup=true&lang=js
|
|
381
431
|
|
|
382
432
|
const _hoisted_1 = {
|
|
@@ -403,7 +453,7 @@ const _hoisted_5 = {
|
|
|
403
453
|
const __default__ = {
|
|
404
454
|
name: "Kq3dPlaneClip"
|
|
405
455
|
};
|
|
406
|
-
/* harmony default export */ var PlaneClipvue_type_script_setup_true_lang_js = (
|
|
456
|
+
/* harmony default export */ var PlaneClipvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
407
457
|
props: {
|
|
408
458
|
// 设置参数
|
|
409
459
|
settingParams: {
|
|
@@ -414,7 +464,6 @@ const __default__ = {
|
|
|
414
464
|
type: Boolean,
|
|
415
465
|
default: true
|
|
416
466
|
},
|
|
417
|
-
|
|
418
467
|
/**
|
|
419
468
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
420
469
|
*/
|
|
@@ -444,19 +493,19 @@ const __default__ = {
|
|
|
444
493
|
default: true
|
|
445
494
|
}
|
|
446
495
|
},
|
|
447
|
-
|
|
448
496
|
setup(__props, {
|
|
449
497
|
expose: __expose
|
|
450
498
|
}) {
|
|
451
|
-
const props = __props;
|
|
452
499
|
const {
|
|
453
500
|
proxy
|
|
454
501
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
455
502
|
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
456
503
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
457
504
|
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
458
|
-
let tiles = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
|
|
505
|
+
let tiles = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
|
|
459
506
|
|
|
507
|
+
// 获取组件传参
|
|
508
|
+
const props = __props;
|
|
460
509
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
461
510
|
tileset: props.settingParams && props.settingParams.tileset || null,
|
|
462
511
|
clipDirection: props.settingParams && props.settingParams.clipDirection || 2,
|
|
@@ -465,13 +514,16 @@ const __default__ = {
|
|
|
465
514
|
boxEnable: props.settingParams && props.settingParams.boxEnable !== undefined || false,
|
|
466
515
|
clipDistance: props.settingParams && props.settingParams.clipDistance || 0
|
|
467
516
|
});
|
|
468
|
-
let viewModel = null;
|
|
517
|
+
let viewModel = null;
|
|
469
518
|
|
|
470
|
-
|
|
519
|
+
// 组件容器Ref
|
|
520
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
471
521
|
|
|
522
|
+
// 生成组件默认header
|
|
472
523
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
473
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
524
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
474
525
|
|
|
526
|
+
// 国际化
|
|
475
527
|
let {
|
|
476
528
|
locale,
|
|
477
529
|
messages
|
|
@@ -492,7 +544,6 @@ const __default__ = {
|
|
|
492
544
|
});
|
|
493
545
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
494
546
|
//父组 件ScenceView初始化完成后执行
|
|
495
|
-
|
|
496
547
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
497
548
|
if (scenceView) {
|
|
498
549
|
let options = {
|
|
@@ -509,7 +560,6 @@ const __default__ = {
|
|
|
509
560
|
setTimeout(() => {
|
|
510
561
|
if (viewModel) {
|
|
511
562
|
tiles.value = viewModel.findLayers(); // 获取所有tileset对象
|
|
512
|
-
|
|
513
563
|
if (tiles.value.length > 0) {
|
|
514
564
|
formItem.tileset = tiles.value[0].guid;
|
|
515
565
|
paramsChanged("tileset");
|
|
@@ -517,95 +567,75 @@ const __default__ = {
|
|
|
517
567
|
}
|
|
518
568
|
}, 1000);
|
|
519
569
|
});
|
|
570
|
+
|
|
520
571
|
/**
|
|
521
572
|
* @description 监听header生成
|
|
522
573
|
*/
|
|
523
|
-
|
|
524
574
|
const watchCreateHeaderTemp = () => {
|
|
525
575
|
if (props.showHeaderTemp) {
|
|
526
576
|
// 生成headerTemp
|
|
527
577
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
528
578
|
}
|
|
529
|
-
};
|
|
530
|
-
|
|
579
|
+
};
|
|
531
580
|
|
|
581
|
+
// 参数改变
|
|
532
582
|
function paramsChanged(key) {
|
|
533
583
|
switch (key) {
|
|
534
584
|
case "tileset":
|
|
535
585
|
viewModel.setLayer(formItem.tileset);
|
|
536
586
|
break;
|
|
537
|
-
|
|
538
587
|
case "clipDirection":
|
|
539
588
|
viewModel.setClipDirection(formItem.clipDirection);
|
|
540
589
|
break;
|
|
541
|
-
|
|
542
590
|
case "reverseClip":
|
|
543
591
|
viewModel.setClipType(formItem.reverseClip);
|
|
544
592
|
break;
|
|
545
|
-
|
|
546
593
|
case "enableClip":
|
|
547
594
|
viewModel.setEnable(formItem.enableClip);
|
|
548
595
|
break;
|
|
549
|
-
|
|
550
596
|
case "boxEnable":
|
|
551
597
|
viewModel.setShowBox(formItem.boxEnable);
|
|
552
598
|
break;
|
|
553
|
-
|
|
554
599
|
case "distance":
|
|
555
600
|
viewModel.setDistance(formItem.clipDistance);
|
|
556
601
|
break;
|
|
557
|
-
|
|
558
602
|
default:
|
|
559
603
|
break;
|
|
560
604
|
}
|
|
561
|
-
}
|
|
562
|
-
|
|
605
|
+
}
|
|
563
606
|
|
|
607
|
+
// 开始裁剪
|
|
564
608
|
function clip() {
|
|
565
609
|
viewModel && viewModel.start();
|
|
566
|
-
}
|
|
567
|
-
|
|
610
|
+
}
|
|
568
611
|
|
|
612
|
+
// 清除
|
|
569
613
|
function clearResult() {
|
|
570
614
|
viewModel && viewModel.clear();
|
|
571
|
-
}
|
|
572
|
-
|
|
615
|
+
}
|
|
573
616
|
|
|
617
|
+
// 销毁
|
|
574
618
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
575
619
|
viewModel && viewModel.destroy();
|
|
576
620
|
});
|
|
577
|
-
|
|
578
621
|
__expose({
|
|
579
622
|
paramsChanged,
|
|
580
623
|
clip,
|
|
581
624
|
clearResult
|
|
582
625
|
});
|
|
583
|
-
|
|
584
626
|
return (_ctx, _cache) => {
|
|
585
627
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
586
|
-
|
|
587
628
|
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
588
|
-
|
|
589
629
|
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
590
|
-
|
|
591
630
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
592
|
-
|
|
593
631
|
const _component_kq_checkbox = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-checkbox");
|
|
594
|
-
|
|
595
632
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
596
|
-
|
|
597
633
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
598
|
-
|
|
599
634
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
600
|
-
|
|
601
635
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
602
|
-
|
|
603
636
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
604
|
-
|
|
605
637
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
606
|
-
|
|
607
638
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
608
|
-
|
|
609
639
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
610
640
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-plane-clip", {
|
|
611
641
|
'kq-box-shadow': __props.showShadow
|
|
@@ -616,9 +646,7 @@ const __default__ = {
|
|
|
616
646
|
key: 0,
|
|
617
647
|
ref_key: "headerTempRef",
|
|
618
648
|
ref: headerTempRef
|
|
619
|
-
}, null, 512
|
|
620
|
-
/* NEED_PATCH */
|
|
621
|
-
)) : (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_.createVNode)(_component_kq_row, {
|
|
649
|
+
}, null, 512 /* NEED_PATCH */)) : (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_.createVNode)(_component_kq_row, {
|
|
622
650
|
gutter: 20,
|
|
623
651
|
class: "rowClass"
|
|
624
652
|
}, {
|
|
@@ -626,12 +654,8 @@ const __default__ = {
|
|
|
626
654
|
span: 6,
|
|
627
655
|
class: "colClass"
|
|
628
656
|
}, {
|
|
629
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipObj), 1
|
|
630
|
-
/*
|
|
631
|
-
)]),
|
|
632
|
-
_: 1
|
|
633
|
-
/* STABLE */
|
|
634
|
-
|
|
657
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipObj), 1 /* TEXT */)]),
|
|
658
|
+
_: 1 /* STABLE */
|
|
635
659
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
636
660
|
span: 18,
|
|
637
661
|
class: "colClass"
|
|
@@ -647,31 +671,15 @@ const __default__ = {
|
|
|
647
671
|
value: item.guid,
|
|
648
672
|
label: item.name
|
|
649
673
|
}, {
|
|
650
|
-
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)(item.name), 1
|
|
651
|
-
/*
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
/* PROPS, DYNAMIC_SLOTS */
|
|
658
|
-
, ["value", "label"]);
|
|
659
|
-
}), 128
|
|
660
|
-
/* KEYED_FRAGMENT */
|
|
661
|
-
))]),
|
|
662
|
-
_: 1
|
|
663
|
-
/* STABLE */
|
|
664
|
-
|
|
665
|
-
}, 8
|
|
666
|
-
/* PROPS */
|
|
667
|
-
, ["modelValue"])]),
|
|
668
|
-
_: 1
|
|
669
|
-
/* STABLE */
|
|
670
|
-
|
|
674
|
+
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)(item.name), 1 /* TEXT */)]),
|
|
675
|
+
_: 2 /* DYNAMIC */
|
|
676
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["value", "label"]);
|
|
677
|
+
}), 128 /* KEYED_FRAGMENT */))]),
|
|
678
|
+
_: 1 /* STABLE */
|
|
679
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
680
|
+
_: 1 /* STABLE */
|
|
671
681
|
})]),
|
|
672
|
-
_: 1
|
|
673
|
-
/* STABLE */
|
|
674
|
-
|
|
682
|
+
_: 1 /* STABLE */
|
|
675
683
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
676
684
|
gutter: 20,
|
|
677
685
|
class: "rowClass"
|
|
@@ -680,12 +688,8 @@ const __default__ = {
|
|
|
680
688
|
span: 6,
|
|
681
689
|
class: "colClass"
|
|
682
690
|
}, {
|
|
683
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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).clipStyle), 1
|
|
684
|
-
/*
|
|
685
|
-
)]),
|
|
686
|
-
_: 1
|
|
687
|
-
/* STABLE */
|
|
688
|
-
|
|
691
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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).clipStyle), 1 /* TEXT */)]),
|
|
692
|
+
_: 1 /* STABLE */
|
|
689
693
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
690
694
|
span: 18,
|
|
691
695
|
class: "colClass"
|
|
@@ -698,32 +702,18 @@ const __default__ = {
|
|
|
698
702
|
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, {
|
|
699
703
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).xClip,
|
|
700
704
|
value: 2
|
|
701
|
-
}, null, 8
|
|
702
|
-
/* PROPS */
|
|
703
|
-
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
705
|
+
}, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
704
706
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).yClip,
|
|
705
707
|
value: 3
|
|
706
|
-
}, null, 8
|
|
707
|
-
/* PROPS */
|
|
708
|
-
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
708
|
+
}, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
709
709
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).zClip,
|
|
710
710
|
value: 4
|
|
711
|
-
}, null, 8
|
|
712
|
-
/*
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
/* STABLE */
|
|
716
|
-
|
|
717
|
-
}, 8
|
|
718
|
-
/* PROPS */
|
|
719
|
-
, ["modelValue"])]),
|
|
720
|
-
_: 1
|
|
721
|
-
/* STABLE */
|
|
722
|
-
|
|
711
|
+
}, null, 8 /* PROPS */, ["label"])]),
|
|
712
|
+
_: 1 /* STABLE */
|
|
713
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
714
|
+
_: 1 /* STABLE */
|
|
723
715
|
})]),
|
|
724
|
-
_: 1
|
|
725
|
-
/* STABLE */
|
|
726
|
-
|
|
716
|
+
_: 1 /* STABLE */
|
|
727
717
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
728
718
|
gutter: 20,
|
|
729
719
|
class: "rowClass"
|
|
@@ -732,12 +722,8 @@ const __default__ = {
|
|
|
732
722
|
span: 6,
|
|
733
723
|
class: "colClass"
|
|
734
724
|
}, {
|
|
735
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_4, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipPattern), 1
|
|
736
|
-
/*
|
|
737
|
-
)]),
|
|
738
|
-
_: 1
|
|
739
|
-
/* STABLE */
|
|
740
|
-
|
|
725
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_4, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipPattern), 1 /* TEXT */)]),
|
|
726
|
+
_: 1 /* STABLE */
|
|
741
727
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
742
728
|
span: 18,
|
|
743
729
|
class: "colClass"
|
|
@@ -750,36 +736,20 @@ const __default__ = {
|
|
|
750
736
|
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, {
|
|
751
737
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).forwardClip,
|
|
752
738
|
value: false
|
|
753
|
-
}, null, 8
|
|
754
|
-
/* PROPS */
|
|
755
|
-
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
739
|
+
}, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
756
740
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).reverseClip,
|
|
757
741
|
value: true
|
|
758
|
-
}, null, 8
|
|
759
|
-
/*
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
/* STABLE */
|
|
763
|
-
|
|
764
|
-
}, 8
|
|
765
|
-
/* PROPS */
|
|
766
|
-
, ["modelValue"])]),
|
|
767
|
-
_: 1
|
|
768
|
-
/* STABLE */
|
|
769
|
-
|
|
742
|
+
}, null, 8 /* PROPS */, ["label"])]),
|
|
743
|
+
_: 1 /* STABLE */
|
|
744
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
745
|
+
_: 1 /* STABLE */
|
|
770
746
|
})]),
|
|
771
|
-
_: 1
|
|
772
|
-
/* STABLE */
|
|
773
|
-
|
|
747
|
+
_: 1 /* STABLE */
|
|
774
748
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
775
749
|
class: "kq3d-plane-clip-tip"
|
|
776
750
|
}, {
|
|
777
|
-
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).clipTips), 1
|
|
778
|
-
/*
|
|
779
|
-
)]),
|
|
780
|
-
_: 1
|
|
781
|
-
/* STABLE */
|
|
782
|
-
|
|
751
|
+
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).clipTips), 1 /* TEXT */)]),
|
|
752
|
+
_: 1 /* STABLE */
|
|
783
753
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
784
754
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(collapseValue),
|
|
785
755
|
class: "kq3d-plane-clip-collapse"
|
|
@@ -805,18 +775,10 @@ const __default__ = {
|
|
|
805
775
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableClip = $event),
|
|
806
776
|
onChange: _cache[7] || (_cache[7] = $event => paramsChanged('enableClip'))
|
|
807
777
|
}, {
|
|
808
|
-
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).enableClip), 1
|
|
809
|
-
/*
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
/* STABLE */
|
|
813
|
-
|
|
814
|
-
}, 8
|
|
815
|
-
/* PROPS */
|
|
816
|
-
, ["modelValue"])]),
|
|
817
|
-
_: 1
|
|
818
|
-
/* STABLE */
|
|
819
|
-
|
|
778
|
+
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).enableClip), 1 /* TEXT */)]),
|
|
779
|
+
_: 1 /* STABLE */
|
|
780
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
781
|
+
_: 1 /* STABLE */
|
|
820
782
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
821
783
|
span: 12
|
|
822
784
|
}, {
|
|
@@ -825,22 +787,12 @@ const __default__ = {
|
|
|
825
787
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).boxEnable = $event),
|
|
826
788
|
onChange: _cache[9] || (_cache[9] = $event => paramsChanged('boxEnable'))
|
|
827
789
|
}, {
|
|
828
|
-
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).boxEnable), 1
|
|
829
|
-
/*
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
/* STABLE */
|
|
833
|
-
|
|
834
|
-
}, 8
|
|
835
|
-
/* PROPS */
|
|
836
|
-
, ["modelValue"])]),
|
|
837
|
-
_: 1
|
|
838
|
-
/* STABLE */
|
|
839
|
-
|
|
790
|
+
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).boxEnable), 1 /* TEXT */)]),
|
|
791
|
+
_: 1 /* STABLE */
|
|
792
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
793
|
+
_: 1 /* STABLE */
|
|
840
794
|
})]),
|
|
841
|
-
_: 1
|
|
842
|
-
/* STABLE */
|
|
843
|
-
|
|
795
|
+
_: 1 /* STABLE */
|
|
844
796
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
845
797
|
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, {
|
|
846
798
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipDistance
|
|
@@ -860,12 +812,8 @@ const __default__ = {
|
|
|
860
812
|
min: -50,
|
|
861
813
|
max: 50,
|
|
862
814
|
onInput: _cache[11] || (_cache[11] = $event => paramsChanged('distance'))
|
|
863
|
-
}, null, 8
|
|
864
|
-
/*
|
|
865
|
-
, ["modelValue"])]),
|
|
866
|
-
_: 1
|
|
867
|
-
/* STABLE */
|
|
868
|
-
|
|
815
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
816
|
+
_: 1 /* STABLE */
|
|
869
817
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
870
818
|
span: 8
|
|
871
819
|
}, {
|
|
@@ -877,75 +825,36 @@ const __default__ = {
|
|
|
877
825
|
max: 50,
|
|
878
826
|
"controls-position": "right",
|
|
879
827
|
onInput: _cache[13] || (_cache[13] = $event => paramsChanged('distance'))
|
|
880
|
-
}, null, 8
|
|
881
|
-
/*
|
|
882
|
-
, ["modelValue"])]),
|
|
883
|
-
_: 1
|
|
884
|
-
/* STABLE */
|
|
885
|
-
|
|
828
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
829
|
+
_: 1 /* STABLE */
|
|
886
830
|
})]),
|
|
887
|
-
_: 1
|
|
888
|
-
/* STABLE */
|
|
889
|
-
|
|
831
|
+
_: 1 /* STABLE */
|
|
890
832
|
})]),
|
|
891
|
-
_: 1
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
}, 8
|
|
895
|
-
/* PROPS */
|
|
896
|
-
, ["label"])]),
|
|
897
|
-
_: 1
|
|
898
|
-
/* STABLE */
|
|
899
|
-
|
|
833
|
+
_: 1 /* STABLE */
|
|
834
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
835
|
+
_: 1 /* STABLE */
|
|
900
836
|
})]),
|
|
901
|
-
_: 1
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
_: 1
|
|
908
|
-
/* STABLE */
|
|
909
|
-
|
|
910
|
-
}, 8
|
|
911
|
-
/* PROPS */
|
|
912
|
-
, ["title"])]),
|
|
913
|
-
_: 1
|
|
914
|
-
/* STABLE */
|
|
915
|
-
|
|
916
|
-
}, 8
|
|
917
|
-
/* PROPS */
|
|
918
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_5, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
837
|
+
_: 1 /* STABLE */
|
|
838
|
+
}, 8 /* PROPS */, ["label-width"])]),
|
|
839
|
+
_: 1 /* STABLE */
|
|
840
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
841
|
+
_: 1 /* STABLE */
|
|
842
|
+
}, 8 /* PROPS */, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_5, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
919
843
|
onClick: _cache[14] || (_cache[14] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clip(), ["stop"])),
|
|
920
844
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clip,
|
|
921
845
|
type: "primary"
|
|
922
846
|
}, {
|
|
923
|
-
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).clip), 1
|
|
924
|
-
/*
|
|
925
|
-
|
|
926
|
-
_: 1
|
|
927
|
-
/* STABLE */
|
|
928
|
-
|
|
929
|
-
}, 8
|
|
930
|
-
/* PROPS */
|
|
931
|
-
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
847
|
+
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).clip), 1 /* TEXT */)]),
|
|
848
|
+
_: 1 /* STABLE */
|
|
849
|
+
}, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
932
850
|
onClick: _cache[15] || (_cache[15] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
|
|
933
851
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
934
852
|
}, {
|
|
935
|
-
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).clear), 1
|
|
936
|
-
/*
|
|
937
|
-
|
|
938
|
-
_: 1
|
|
939
|
-
/* STABLE */
|
|
940
|
-
|
|
941
|
-
}, 8
|
|
942
|
-
/* PROPS */
|
|
943
|
-
, ["title"])])])], 2
|
|
944
|
-
/* CLASS */
|
|
945
|
-
);
|
|
853
|
+
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).clear), 1 /* TEXT */)]),
|
|
854
|
+
_: 1 /* STABLE */
|
|
855
|
+
}, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
|
|
946
856
|
};
|
|
947
857
|
}
|
|
948
|
-
|
|
949
858
|
}));
|
|
950
859
|
;// CONCATENATED MODULE: ./src/webgl/planeclip/PlaneClip.vue?vue&type=script&setup=true&lang=js
|
|
951
860
|
|
|
@@ -957,10 +866,13 @@ const __exports__ = PlaneClipvue_type_script_setup_true_lang_js;
|
|
|
957
866
|
|
|
958
867
|
/* harmony default export */ var PlaneClip = (__exports__);
|
|
959
868
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
960
|
-
var init_js_ = __webpack_require__(
|
|
869
|
+
var init_js_ = __webpack_require__(455);
|
|
961
870
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
962
871
|
;// CONCATENATED MODULE: ./src/webgl/planeclip/index.js
|
|
963
|
-
|
|
872
|
+
/*
|
|
873
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
874
|
+
* All rights reserved.
|
|
875
|
+
*/
|
|
964
876
|
|
|
965
877
|
|
|
966
878
|
|
|
@@ -969,8 +881,6 @@ PlaneClip.install = (Vue, opts) => {
|
|
|
969
881
|
Vue.component(PlaneClip.name, PlaneClip);
|
|
970
882
|
};
|
|
971
883
|
|
|
972
|
-
|
|
973
|
-
}();
|
|
974
884
|
/******/ return __webpack_exports__;
|
|
975
885
|
/******/ })()
|
|
976
886
|
;
|