@kq_npm/client3d_webgl_vue 4.5.29-beta → 4.5.30
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 +518 -262
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +201 -123
- package/baseterraingallery/index.js +123 -94
- package/baseterraingallery/style/baseterraingallery.css +1 -1
- package/boxclip/index.js +442 -249
- package/clientPrint/index.js +27088 -14116
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +243 -213
- package/compass/index.js +68 -74
- package/excavatefillanalysis/index.js +225 -143
- package/fixedzoomin/index.js +82 -72
- package/fixedzoomout/index.js +80 -71
- package/flight/index.js +371 -257
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +347 -199
- package/geologicalbodyanalysis/index.js +260 -166
- package/gpuspatialquery/index.js +359 -198
- package/hawkeye/index.js +100 -131
- package/headertemp/index.js +25 -14
- package/heatmap3d/index.js +678 -366
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +20310 -7159
- package/isolineanalysis/index.js +1202 -504
- package/light/index.js +494 -349
- package/limitheightanalysis/index.js +223 -159
- package/measure/index.js +353 -198
- package/modelFlat/index.js +204 -167
- package/modelexcavate/index.js +191 -130
- package/modelfilter/index.js +271 -179
- package/modelprofileanalysis/index.js +316 -206
- package/modelselect/index.js +147 -142
- package/package.json +1 -1
- package/particleeffect/index.js +403 -225
- package/planeclip/index.js +300 -198
- package/resetview/index.js +52 -66
- package/roller/index.js +372 -304
- package/scaneffect/index.js +537 -230
- package/sceneadvancedtoimage/index.js +358 -205
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -1
- package/sceneapp/index.js +27088 -14116
- package/sceneset/index.js +864 -350
- package/scenetohdimage/index.js +297 -159
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +27088 -14116
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +301 -257
- package/shadowanalysis/index.js +405 -217
- package/sightlineanalysis/index.js +271 -183
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +308 -160
- package/slopeanalysis/index.js +397 -227
- package/slopeaspectanalysis/index.js +485 -259
- package/statusbar/index.js +65 -88
- package/style.css +1 -1
- package/terrainoperation/index.js +237 -176
- package/terrainprofileanalysis/index.js +138 -120
- package/typhoontrac/index.js +970 -234
- package/typhoontrac/style/typhoontrac.css +1 -1
- package/underground/index.js +61 -70
- package/videofusion/index.js +488 -265
- package/videoproject/index.js +490 -271
- package/viewshedanalysis/index.js +255 -151
- package/weathereffect/index.js +317 -166
- package/windyslicing/index.js +1947 -0
- package/windyslicing/style/index.js +3 -0
- package/windyslicing/style/windyslicing.css +1 -0
- package/wireframesketch/index.js +142 -110
package/planeclip/index.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
3
|
module.exports = 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"));
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
5
|
-
define(["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js", "@kq_npm/client_common_vue/_utils/util"], factory);
|
|
6
|
-
else
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
define("@kq_npm/client3d_webgl_vue", ["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js", "@kq_npm/client_common_vue/_utils/util"], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["@kq_npm/client3d_webgl_vue"] = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util"));
|
|
8
|
+
else
|
|
9
|
+
root["@kq_npm/client3d_webgl_vue"] = factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/init.js"], root["@kq_npm/client_common_vue/_utils/util"]);
|
|
10
10
|
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__7997__, __WEBPACK_EXTERNAL_MODULE__3458__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
@@ -25,10 +25,12 @@ return /******/ (function() { // webpackBootstrap
|
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
|
|
28
|
+
|
|
28
29
|
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
29
30
|
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
30
31
|
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
31
32
|
};
|
|
33
|
+
|
|
32
34
|
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
33
35
|
|
|
34
36
|
/***/ }),
|
|
@@ -40,27 +42,6 @@ module.exports = require("@kq_npm/client_icons_vue");
|
|
|
40
42
|
|
|
41
43
|
/***/ }),
|
|
42
44
|
|
|
43
|
-
/***/ 2118:
|
|
44
|
-
/***/ (function(module) {
|
|
45
|
-
|
|
46
|
-
module.exports = require("core-js/modules/es.array.push.js");
|
|
47
|
-
|
|
48
|
-
/***/ }),
|
|
49
|
-
|
|
50
|
-
/***/ 8470:
|
|
51
|
-
/***/ (function(module) {
|
|
52
|
-
|
|
53
|
-
module.exports = require("core-js/modules/esnext.iterator.constructor.js");
|
|
54
|
-
|
|
55
|
-
/***/ }),
|
|
56
|
-
|
|
57
|
-
/***/ 8697:
|
|
58
|
-
/***/ (function(module) {
|
|
59
|
-
|
|
60
|
-
module.exports = require("core-js/modules/esnext.iterator.find.js");
|
|
61
|
-
|
|
62
|
-
/***/ }),
|
|
63
|
-
|
|
64
45
|
/***/ 9389:
|
|
65
46
|
/***/ (function(module) {
|
|
66
47
|
|
|
@@ -103,59 +84,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
|
103
84
|
|
|
104
85
|
/***/ }),
|
|
105
86
|
|
|
106
|
-
/***/
|
|
87
|
+
/***/ 8270:
|
|
107
88
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
108
89
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
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.");
|
|
90
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
91
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
92
|
+
/* harmony export */ });
|
|
93
|
+
function _defineProperty(obj, key, value) {
|
|
94
|
+
if (key in obj) {
|
|
95
|
+
Object.defineProperty(obj, key, {
|
|
96
|
+
value: value,
|
|
97
|
+
enumerable: true,
|
|
98
|
+
configurable: true,
|
|
99
|
+
writable: true
|
|
100
|
+
});
|
|
101
|
+
} else {
|
|
102
|
+
obj[key] = value;
|
|
135
103
|
}
|
|
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
|
|
148
104
|
|
|
149
|
-
|
|
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;
|
|
105
|
+
return obj;
|
|
156
106
|
}
|
|
157
107
|
|
|
158
|
-
|
|
159
108
|
/***/ })
|
|
160
109
|
|
|
161
110
|
/******/ });
|
|
@@ -242,21 +191,13 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
242
191
|
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
|
|
243
192
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
244
193
|
var gis_utils_ = __webpack_require__(7135);
|
|
245
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
246
|
-
var defineProperty = __webpack_require__(
|
|
247
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
248
|
-
var es_array_push_js_ = __webpack_require__(2118);
|
|
249
|
-
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
250
|
-
var esnext_iterator_constructor_js_ = __webpack_require__(8470);
|
|
251
|
-
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.find.js"
|
|
252
|
-
var esnext_iterator_find_js_ = __webpack_require__(8697);
|
|
194
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
195
|
+
var defineProperty = __webpack_require__(8270);
|
|
253
196
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
254
197
|
var message = __webpack_require__(1349);
|
|
255
198
|
;// CONCATENATED MODULE: ./src/webgl/planeclip/PlaneClipViewModel.js
|
|
256
199
|
|
|
257
200
|
|
|
258
|
-
|
|
259
|
-
|
|
260
201
|
/*
|
|
261
202
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
262
203
|
* All rights reserved.
|
|
@@ -264,11 +205,16 @@ var message = __webpack_require__(1349);
|
|
|
264
205
|
//平面裁剪逻辑类
|
|
265
206
|
|
|
266
207
|
class PlaneClipViewModel {
|
|
208
|
+
//三维viewer对象
|
|
209
|
+
//平面裁剪存储参数对象
|
|
210
|
+
//平面裁剪三维逻辑类
|
|
211
|
+
//绘制管理对象
|
|
212
|
+
//绘制完成事件监听
|
|
267
213
|
constructor(scenceView, options) {
|
|
268
214
|
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
269
|
-
|
|
215
|
+
|
|
270
216
|
(0,defineProperty/* default */.Z)(this, "_options", {});
|
|
271
|
-
|
|
217
|
+
|
|
272
218
|
(0,defineProperty/* default */.Z)(this, "_defaultOptions", {
|
|
273
219
|
//默认参数对象
|
|
274
220
|
x: 0,
|
|
@@ -293,34 +239,38 @@ class PlaneClipViewModel {
|
|
|
293
239
|
paddingStrokeDirection: 30.0,
|
|
294
240
|
paddingStrokeSpace: 7.0
|
|
295
241
|
});
|
|
242
|
+
|
|
296
243
|
(0,defineProperty/* default */.Z)(this, "_planeclipAnalysis", null);
|
|
297
|
-
|
|
244
|
+
|
|
298
245
|
(0,defineProperty/* default */.Z)(this, "_drawManager", null);
|
|
299
|
-
|
|
246
|
+
|
|
300
247
|
(0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
|
|
301
|
-
|
|
248
|
+
|
|
302
249
|
(0,defineProperty/* default */.Z)(this, "_language", {});
|
|
250
|
+
|
|
303
251
|
this._options = Object.assign({}, options, this._defaultOptions);
|
|
304
|
-
this._viewer = scenceView._viewer;
|
|
305
|
-
|
|
252
|
+
this._viewer = scenceView._viewer; // this._viewer.enabledFXAA = true;
|
|
253
|
+
|
|
306
254
|
this._options.viewer = this._viewer;
|
|
307
255
|
this._language = scenceView._language;
|
|
308
256
|
this._drawManager = scenceView._drawManager;
|
|
309
257
|
let that = this;
|
|
310
258
|
this._removeEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
311
259
|
if (shape) {
|
|
312
|
-
that._options.position = shape.position;
|
|
313
|
-
|
|
260
|
+
that._options.position = shape.position; // 实例化分析对象
|
|
261
|
+
|
|
314
262
|
that._planeclipAnalysis = new Cesium.Kq3dBoxClip(that._options);
|
|
263
|
+
|
|
315
264
|
that._drawManager.clear();
|
|
316
265
|
}
|
|
317
266
|
});
|
|
318
|
-
}
|
|
267
|
+
} // 查找所有3dtiles模型对象
|
|
268
|
+
|
|
319
269
|
|
|
320
|
-
// 查找所有3dtiles模型对象
|
|
321
270
|
findLayers() {
|
|
322
271
|
let tilesets = [];
|
|
323
272
|
const primitives = this._options.viewer.scene.primitives._primitives;
|
|
273
|
+
|
|
324
274
|
for (let m = 0; m < primitives.length; m++) {
|
|
325
275
|
if (primitives[m] instanceof Cesium.Cesium3DTileset) {
|
|
326
276
|
tilesets.push({
|
|
@@ -329,28 +279,31 @@ class PlaneClipViewModel {
|
|
|
329
279
|
});
|
|
330
280
|
}
|
|
331
281
|
}
|
|
282
|
+
|
|
332
283
|
return tilesets;
|
|
333
|
-
}
|
|
284
|
+
} //根据id获取tileset对象
|
|
285
|
+
|
|
334
286
|
|
|
335
|
-
//根据id获取tileset对象
|
|
336
287
|
findLayerById(id) {
|
|
337
288
|
const primitives = this._options.viewer.scene.primitives._primitives;
|
|
338
289
|
const tileset = primitives.find(function (item) {
|
|
339
290
|
return item.guid === id;
|
|
340
291
|
});
|
|
341
292
|
return tileset;
|
|
342
|
-
}
|
|
293
|
+
} // 开始分析
|
|
294
|
+
|
|
343
295
|
|
|
344
|
-
// 开始分析
|
|
345
296
|
start() {
|
|
346
297
|
// 判断是否添加了模型
|
|
347
298
|
var flag = false;
|
|
348
299
|
var models = this._options.viewer.scene.primitives._primitives;
|
|
300
|
+
|
|
349
301
|
for (let i = 0; i < models.length; i++) {
|
|
350
302
|
if (models[i]._url) {
|
|
351
303
|
flag = true;
|
|
352
304
|
}
|
|
353
305
|
}
|
|
306
|
+
|
|
354
307
|
if (flag) {
|
|
355
308
|
if (this._drawManager) this._drawManager.startDraw("marker", {
|
|
356
309
|
image: null
|
|
@@ -361,67 +314,74 @@ class PlaneClipViewModel {
|
|
|
361
314
|
type: "warning"
|
|
362
315
|
});
|
|
363
316
|
}
|
|
364
|
-
}
|
|
317
|
+
} //清除全部
|
|
318
|
+
|
|
365
319
|
|
|
366
|
-
//清除全部
|
|
367
320
|
clear() {
|
|
368
321
|
if (this._planeclipAnalysis) this._planeclipAnalysis.boxEnable = false;
|
|
369
|
-
this._planeclipAnalysis && this._planeclipAnalysis.remove();
|
|
370
|
-
|
|
371
|
-
|
|
322
|
+
this._planeclipAnalysis && this._planeclipAnalysis.remove(); // this._planeclipAnalysis = null;
|
|
323
|
+
} //销毁
|
|
324
|
+
|
|
372
325
|
|
|
373
|
-
//销毁
|
|
374
326
|
destroy() {
|
|
375
|
-
this.clear();
|
|
376
|
-
|
|
327
|
+
this.clear(); //销毁分析对象
|
|
328
|
+
|
|
377
329
|
this._planeclipAnalysis && this._planeclipAnalysis.destroy();
|
|
378
|
-
this._planeclipAnalysis = null;
|
|
379
|
-
|
|
330
|
+
this._planeclipAnalysis = null; //移除监听事件
|
|
331
|
+
|
|
380
332
|
this._removeEventListener && this._removeEventListener();
|
|
381
333
|
this._removeEventListener = null;
|
|
382
|
-
}
|
|
334
|
+
} // 设置裁剪对象
|
|
335
|
+
|
|
383
336
|
|
|
384
|
-
// 设置裁剪对象
|
|
385
337
|
setLayer(layerId) {
|
|
386
338
|
this.clear();
|
|
387
339
|
this._options.tileset = this.findLayerById(layerId);
|
|
388
|
-
}
|
|
340
|
+
} // 设置裁剪方向,2:x,3:y,z:4
|
|
341
|
+
|
|
389
342
|
|
|
390
|
-
// 设置裁剪方向,2:x,3:y,z:4
|
|
391
343
|
setClipDirection(val) {
|
|
392
344
|
this._options.clipType = val;
|
|
393
345
|
if (this._planeclipAnalysis) this._planeclipAnalysis.clipType = val;
|
|
394
|
-
}
|
|
395
|
-
|
|
346
|
+
} // 设置裁剪方式,为false时,则为正向裁剪,否则为逆向裁剪
|
|
347
|
+
|
|
348
|
+
|
|
396
349
|
setClipType(val) {
|
|
397
350
|
this._options.reverseClip = val;
|
|
351
|
+
|
|
398
352
|
if (this._planeclipAnalysis) {
|
|
399
353
|
this._planeclipAnalysis.reverseClip = val;
|
|
400
354
|
this._planeclipAnalysis.distance = this._options.distance;
|
|
401
355
|
}
|
|
402
|
-
}
|
|
403
|
-
|
|
356
|
+
} //是否裁剪
|
|
357
|
+
|
|
358
|
+
|
|
404
359
|
setEnable(val) {
|
|
405
360
|
this._options.enable = val;
|
|
361
|
+
|
|
406
362
|
if (this._planeclipAnalysis) {
|
|
407
363
|
this._planeclipAnalysis.enable = val;
|
|
408
364
|
this._planeclipAnalysis.boxEnable = this._options.boxEnable;
|
|
409
365
|
}
|
|
410
|
-
}
|
|
411
|
-
|
|
366
|
+
} //显/隐辅助对象
|
|
367
|
+
|
|
368
|
+
|
|
412
369
|
setShowBox(val) {
|
|
413
370
|
this._options.boxEnable = val;
|
|
414
371
|
if (this._planeclipAnalysis) this._planeclipAnalysis.boxEnable = val;
|
|
415
|
-
}
|
|
416
|
-
|
|
372
|
+
} //设置裁剪距离
|
|
373
|
+
|
|
374
|
+
|
|
417
375
|
setDistance(val) {
|
|
418
376
|
if (this._options.clipType == 4) {
|
|
419
377
|
this._options.distance = -Number(val);
|
|
420
378
|
} else {
|
|
421
379
|
this._options.distance = Number(val);
|
|
422
380
|
}
|
|
381
|
+
|
|
423
382
|
if (this._planeclipAnalysis) this._planeclipAnalysis.distance = this._options.distance;
|
|
424
383
|
}
|
|
384
|
+
|
|
425
385
|
}
|
|
426
386
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
427
387
|
var client_icons_vue_ = __webpack_require__(348);
|
|
@@ -429,7 +389,7 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
429
389
|
var util_ = __webpack_require__(3458);
|
|
430
390
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
431
391
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
432
|
-
;// 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
|
|
392
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/planeclip/PlaneClip.vue?vue&type=script&setup=true&lang=js
|
|
433
393
|
|
|
434
394
|
const _hoisted_1 = {
|
|
435
395
|
class: "kq3d-plane-clip-box"
|
|
@@ -466,6 +426,7 @@ const __default__ = {
|
|
|
466
426
|
type: Boolean,
|
|
467
427
|
default: true
|
|
468
428
|
},
|
|
429
|
+
|
|
469
430
|
/**
|
|
470
431
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
471
432
|
*/
|
|
@@ -495,6 +456,7 @@ const __default__ = {
|
|
|
495
456
|
default: true
|
|
496
457
|
}
|
|
497
458
|
},
|
|
459
|
+
|
|
498
460
|
setup(__props, {
|
|
499
461
|
expose: __expose
|
|
500
462
|
}) {
|
|
@@ -504,9 +466,7 @@ const __default__ = {
|
|
|
504
466
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
505
467
|
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
506
468
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
|
|
507
|
-
let tiles = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
|
|
508
|
-
|
|
509
|
-
// 获取组件传参
|
|
469
|
+
let tiles = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]); // 获取组件传参
|
|
510
470
|
|
|
511
471
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
512
472
|
collapseValue: props.settingParams && props.settingParams.collapseValue || ((props.settingParams && props.settingParams.collapseValue) == '' ? "" : "setting"),
|
|
@@ -518,16 +478,13 @@ const __default__ = {
|
|
|
518
478
|
boxEnable: props.settingParams && props.settingParams.boxEnable !== undefined || false,
|
|
519
479
|
clipDistance: props.settingParams && props.settingParams.clipDistance || 0
|
|
520
480
|
});
|
|
521
|
-
let viewModel = null;
|
|
481
|
+
let viewModel = null; // 组件容器Ref
|
|
522
482
|
|
|
523
|
-
//
|
|
524
|
-
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
483
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
525
484
|
|
|
526
|
-
// 生成组件默认header
|
|
527
485
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
528
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
486
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
529
487
|
|
|
530
|
-
// 国际化
|
|
531
488
|
let {
|
|
532
489
|
locale,
|
|
533
490
|
messages
|
|
@@ -551,6 +508,7 @@ const __default__ = {
|
|
|
551
508
|
});
|
|
552
509
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
553
510
|
//父组 件ScenceView初始化完成后执行
|
|
511
|
+
|
|
554
512
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
555
513
|
if (scenceView) {
|
|
556
514
|
let options = {
|
|
@@ -567,6 +525,7 @@ const __default__ = {
|
|
|
567
525
|
setTimeout(() => {
|
|
568
526
|
if (viewModel) {
|
|
569
527
|
tiles.value = viewModel.findLayers(); // 获取所有tileset对象
|
|
528
|
+
|
|
570
529
|
if (tiles.value.length > 0) {
|
|
571
530
|
formItem.tileset = tiles.value[0].guid;
|
|
572
531
|
paramsChanged("tileset");
|
|
@@ -574,75 +533,95 @@ const __default__ = {
|
|
|
574
533
|
}
|
|
575
534
|
}, 1000);
|
|
576
535
|
});
|
|
577
|
-
|
|
578
536
|
/**
|
|
579
537
|
* @description 监听header生成
|
|
580
538
|
*/
|
|
539
|
+
|
|
581
540
|
const watchCreateHeaderTemp = () => {
|
|
582
541
|
if (props.showHeaderTemp) {
|
|
583
542
|
// 生成headerTemp
|
|
584
543
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
585
544
|
}
|
|
586
|
-
};
|
|
545
|
+
}; // 参数改变
|
|
546
|
+
|
|
587
547
|
|
|
588
|
-
// 参数改变
|
|
589
548
|
function paramsChanged(key) {
|
|
590
549
|
switch (key) {
|
|
591
550
|
case "tileset":
|
|
592
551
|
viewModel.setLayer(formItem.tileset);
|
|
593
552
|
break;
|
|
553
|
+
|
|
594
554
|
case "clipDirection":
|
|
595
555
|
viewModel.setClipDirection(formItem.clipDirection);
|
|
596
556
|
break;
|
|
557
|
+
|
|
597
558
|
case "reverseClip":
|
|
598
559
|
viewModel.setClipType(formItem.reverseClip);
|
|
599
560
|
break;
|
|
561
|
+
|
|
600
562
|
case "enableClip":
|
|
601
563
|
viewModel.setEnable(formItem.enableClip);
|
|
602
564
|
break;
|
|
565
|
+
|
|
603
566
|
case "boxEnable":
|
|
604
567
|
viewModel.setShowBox(formItem.boxEnable);
|
|
605
568
|
break;
|
|
569
|
+
|
|
606
570
|
case "distance":
|
|
607
571
|
viewModel.setDistance(formItem.clipDistance);
|
|
608
572
|
break;
|
|
573
|
+
|
|
609
574
|
default:
|
|
610
575
|
break;
|
|
611
576
|
}
|
|
612
|
-
}
|
|
577
|
+
} // 开始裁剪
|
|
578
|
+
|
|
613
579
|
|
|
614
|
-
// 开始裁剪
|
|
615
580
|
function clip() {
|
|
616
581
|
viewModel && viewModel.start();
|
|
617
|
-
}
|
|
582
|
+
} // 清除
|
|
583
|
+
|
|
618
584
|
|
|
619
|
-
// 清除
|
|
620
585
|
function clearResult() {
|
|
621
586
|
viewModel && viewModel.clear();
|
|
622
|
-
}
|
|
587
|
+
} // 销毁
|
|
588
|
+
|
|
623
589
|
|
|
624
|
-
// 销毁
|
|
625
590
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
626
591
|
viewModel && viewModel.destroy();
|
|
627
592
|
});
|
|
593
|
+
|
|
628
594
|
__expose({
|
|
629
595
|
paramsChanged,
|
|
630
596
|
clip,
|
|
631
597
|
clearResult
|
|
632
598
|
});
|
|
599
|
+
|
|
633
600
|
return (_ctx, _cache) => {
|
|
634
601
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
602
|
+
|
|
635
603
|
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
604
|
+
|
|
636
605
|
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
606
|
+
|
|
637
607
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
608
|
+
|
|
638
609
|
const _component_kq_checkbox = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-checkbox");
|
|
610
|
+
|
|
639
611
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
612
|
+
|
|
640
613
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
614
|
+
|
|
641
615
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
616
|
+
|
|
642
617
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
618
|
+
|
|
643
619
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
620
|
+
|
|
644
621
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
622
|
+
|
|
645
623
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
624
|
+
|
|
646
625
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
647
626
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-plane-clip", {
|
|
648
627
|
'kq-box-shadow': __props.showShadow
|
|
@@ -653,7 +632,9 @@ const __default__ = {
|
|
|
653
632
|
key: 0,
|
|
654
633
|
ref_key: "headerTempRef",
|
|
655
634
|
ref: headerTempRef
|
|
656
|
-
}, null, 512
|
|
635
|
+
}, null, 512
|
|
636
|
+
/* NEED_PATCH */
|
|
637
|
+
)) : (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, {
|
|
657
638
|
gutter: 20,
|
|
658
639
|
class: "rowClass"
|
|
659
640
|
}, {
|
|
@@ -661,8 +642,12 @@ const __default__ = {
|
|
|
661
642
|
span: 6,
|
|
662
643
|
class: "colClass"
|
|
663
644
|
}, {
|
|
664
|
-
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
|
|
665
|
-
|
|
645
|
+
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
|
|
646
|
+
/* TEXT */
|
|
647
|
+
)]),
|
|
648
|
+
_: 1
|
|
649
|
+
/* STABLE */
|
|
650
|
+
|
|
666
651
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
667
652
|
span: 18,
|
|
668
653
|
class: "colClass"
|
|
@@ -678,15 +663,31 @@ const __default__ = {
|
|
|
678
663
|
value: item.guid,
|
|
679
664
|
label: item.name
|
|
680
665
|
}, {
|
|
681
|
-
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
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
666
|
+
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
|
|
667
|
+
/* TEXT */
|
|
668
|
+
)]),
|
|
669
|
+
_: 2
|
|
670
|
+
/* DYNAMIC */
|
|
671
|
+
|
|
672
|
+
}, 1032
|
|
673
|
+
/* PROPS, DYNAMIC_SLOTS */
|
|
674
|
+
, ["value", "label"]);
|
|
675
|
+
}), 128
|
|
676
|
+
/* KEYED_FRAGMENT */
|
|
677
|
+
))]),
|
|
678
|
+
_: 1
|
|
679
|
+
/* STABLE */
|
|
680
|
+
|
|
681
|
+
}, 8
|
|
682
|
+
/* PROPS */
|
|
683
|
+
, ["modelValue"])]),
|
|
684
|
+
_: 1
|
|
685
|
+
/* STABLE */
|
|
686
|
+
|
|
688
687
|
})]),
|
|
689
|
-
_: 1
|
|
688
|
+
_: 1
|
|
689
|
+
/* STABLE */
|
|
690
|
+
|
|
690
691
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
691
692
|
gutter: 20,
|
|
692
693
|
class: "rowClass"
|
|
@@ -695,8 +696,12 @@ const __default__ = {
|
|
|
695
696
|
span: 6,
|
|
696
697
|
class: "colClass"
|
|
697
698
|
}, {
|
|
698
|
-
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
|
|
699
|
-
|
|
699
|
+
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
|
|
700
|
+
/* TEXT */
|
|
701
|
+
)]),
|
|
702
|
+
_: 1
|
|
703
|
+
/* STABLE */
|
|
704
|
+
|
|
700
705
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
701
706
|
span: 18,
|
|
702
707
|
class: "colClass"
|
|
@@ -709,18 +714,32 @@ const __default__ = {
|
|
|
709
714
|
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, {
|
|
710
715
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).xClip,
|
|
711
716
|
value: 2
|
|
712
|
-
}, null, 8
|
|
717
|
+
}, null, 8
|
|
718
|
+
/* PROPS */
|
|
719
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
713
720
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).yClip,
|
|
714
721
|
value: 3
|
|
715
|
-
}, null, 8
|
|
722
|
+
}, null, 8
|
|
723
|
+
/* PROPS */
|
|
724
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
716
725
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).zClip,
|
|
717
726
|
value: 4
|
|
718
|
-
}, null, 8
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
727
|
+
}, null, 8
|
|
728
|
+
/* PROPS */
|
|
729
|
+
, ["label"])]),
|
|
730
|
+
_: 1
|
|
731
|
+
/* STABLE */
|
|
732
|
+
|
|
733
|
+
}, 8
|
|
734
|
+
/* PROPS */
|
|
735
|
+
, ["modelValue"])]),
|
|
736
|
+
_: 1
|
|
737
|
+
/* STABLE */
|
|
738
|
+
|
|
722
739
|
})]),
|
|
723
|
-
_: 1
|
|
740
|
+
_: 1
|
|
741
|
+
/* STABLE */
|
|
742
|
+
|
|
724
743
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
725
744
|
gutter: 20,
|
|
726
745
|
class: "rowClass"
|
|
@@ -729,8 +748,12 @@ const __default__ = {
|
|
|
729
748
|
span: 6,
|
|
730
749
|
class: "colClass"
|
|
731
750
|
}, {
|
|
732
|
-
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
|
|
733
|
-
|
|
751
|
+
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
|
|
752
|
+
/* TEXT */
|
|
753
|
+
)]),
|
|
754
|
+
_: 1
|
|
755
|
+
/* STABLE */
|
|
756
|
+
|
|
734
757
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
735
758
|
span: 18,
|
|
736
759
|
class: "colClass"
|
|
@@ -743,20 +766,36 @@ const __default__ = {
|
|
|
743
766
|
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, {
|
|
744
767
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).forwardClip,
|
|
745
768
|
value: false
|
|
746
|
-
}, null, 8
|
|
769
|
+
}, null, 8
|
|
770
|
+
/* PROPS */
|
|
771
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
747
772
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).reverseClip,
|
|
748
773
|
value: true
|
|
749
|
-
}, null, 8
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
774
|
+
}, null, 8
|
|
775
|
+
/* PROPS */
|
|
776
|
+
, ["label"])]),
|
|
777
|
+
_: 1
|
|
778
|
+
/* STABLE */
|
|
779
|
+
|
|
780
|
+
}, 8
|
|
781
|
+
/* PROPS */
|
|
782
|
+
, ["modelValue"])]),
|
|
783
|
+
_: 1
|
|
784
|
+
/* STABLE */
|
|
785
|
+
|
|
753
786
|
})]),
|
|
754
|
-
_: 1
|
|
787
|
+
_: 1
|
|
788
|
+
/* STABLE */
|
|
789
|
+
|
|
755
790
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
756
791
|
class: "kq3d-plane-clip-tip"
|
|
757
792
|
}, {
|
|
758
|
-
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
|
|
759
|
-
|
|
793
|
+
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
|
|
794
|
+
/* TEXT */
|
|
795
|
+
)]),
|
|
796
|
+
_: 1
|
|
797
|
+
/* STABLE */
|
|
798
|
+
|
|
760
799
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
761
800
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue,
|
|
762
801
|
class: "kq3d-plane-clip-collapse"
|
|
@@ -782,10 +821,18 @@ const __default__ = {
|
|
|
782
821
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableClip = $event),
|
|
783
822
|
onChange: _cache[7] || (_cache[7] = $event => paramsChanged('enableClip'))
|
|
784
823
|
}, {
|
|
785
|
-
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
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
824
|
+
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
|
|
825
|
+
/* TEXT */
|
|
826
|
+
)]),
|
|
827
|
+
_: 1
|
|
828
|
+
/* STABLE */
|
|
829
|
+
|
|
830
|
+
}, 8
|
|
831
|
+
/* PROPS */
|
|
832
|
+
, ["modelValue"])]),
|
|
833
|
+
_: 1
|
|
834
|
+
/* STABLE */
|
|
835
|
+
|
|
789
836
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
790
837
|
span: 12
|
|
791
838
|
}, {
|
|
@@ -794,12 +841,22 @@ const __default__ = {
|
|
|
794
841
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).boxEnable = $event),
|
|
795
842
|
onChange: _cache[9] || (_cache[9] = $event => paramsChanged('boxEnable'))
|
|
796
843
|
}, {
|
|
797
|
-
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
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
844
|
+
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
|
|
845
|
+
/* TEXT */
|
|
846
|
+
)]),
|
|
847
|
+
_: 1
|
|
848
|
+
/* STABLE */
|
|
849
|
+
|
|
850
|
+
}, 8
|
|
851
|
+
/* PROPS */
|
|
852
|
+
, ["modelValue"])]),
|
|
853
|
+
_: 1
|
|
854
|
+
/* STABLE */
|
|
855
|
+
|
|
801
856
|
})]),
|
|
802
|
-
_: 1
|
|
857
|
+
_: 1
|
|
858
|
+
/* STABLE */
|
|
859
|
+
|
|
803
860
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
804
861
|
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, {
|
|
805
862
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipDistance
|
|
@@ -819,8 +876,12 @@ const __default__ = {
|
|
|
819
876
|
min: -50,
|
|
820
877
|
max: 50,
|
|
821
878
|
onChange: _cache[11] || (_cache[11] = $event => paramsChanged('distance'))
|
|
822
|
-
}, null, 8
|
|
823
|
-
|
|
879
|
+
}, null, 8
|
|
880
|
+
/* PROPS */
|
|
881
|
+
, ["modelValue"])]),
|
|
882
|
+
_: 1
|
|
883
|
+
/* STABLE */
|
|
884
|
+
|
|
824
885
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
825
886
|
span: 8
|
|
826
887
|
}, {
|
|
@@ -832,36 +893,75 @@ const __default__ = {
|
|
|
832
893
|
max: 50,
|
|
833
894
|
"controls-position": "right",
|
|
834
895
|
onChange: _cache[13] || (_cache[13] = $event => paramsChanged('distance'))
|
|
835
|
-
}, null, 8
|
|
836
|
-
|
|
896
|
+
}, null, 8
|
|
897
|
+
/* PROPS */
|
|
898
|
+
, ["modelValue"])]),
|
|
899
|
+
_: 1
|
|
900
|
+
/* STABLE */
|
|
901
|
+
|
|
837
902
|
})]),
|
|
838
|
-
_: 1
|
|
903
|
+
_: 1
|
|
904
|
+
/* STABLE */
|
|
905
|
+
|
|
839
906
|
})]),
|
|
840
|
-
_: 1
|
|
841
|
-
|
|
842
|
-
|
|
907
|
+
_: 1
|
|
908
|
+
/* STABLE */
|
|
909
|
+
|
|
910
|
+
}, 8
|
|
911
|
+
/* PROPS */
|
|
912
|
+
, ["label"])]),
|
|
913
|
+
_: 1
|
|
914
|
+
/* STABLE */
|
|
915
|
+
|
|
843
916
|
})]),
|
|
844
|
-
_: 1
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
917
|
+
_: 1
|
|
918
|
+
/* STABLE */
|
|
919
|
+
|
|
920
|
+
}, 8
|
|
921
|
+
/* PROPS */
|
|
922
|
+
, ["label-width"])]),
|
|
923
|
+
_: 1
|
|
924
|
+
/* STABLE */
|
|
925
|
+
|
|
926
|
+
}, 8
|
|
927
|
+
/* PROPS */
|
|
928
|
+
, ["title"])]),
|
|
929
|
+
_: 1
|
|
930
|
+
/* STABLE */
|
|
931
|
+
|
|
932
|
+
}, 8
|
|
933
|
+
/* PROPS */
|
|
934
|
+
, ["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, {
|
|
850
935
|
onClick: _cache[14] || (_cache[14] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clip(), ["stop"])),
|
|
851
936
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clip,
|
|
852
937
|
type: "primary"
|
|
853
938
|
}, {
|
|
854
|
-
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
|
|
855
|
-
|
|
856
|
-
|
|
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).clip), 1
|
|
940
|
+
/* TEXT */
|
|
941
|
+
)]),
|
|
942
|
+
_: 1
|
|
943
|
+
/* STABLE */
|
|
944
|
+
|
|
945
|
+
}, 8
|
|
946
|
+
/* PROPS */
|
|
947
|
+
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
857
948
|
onClick: _cache[15] || (_cache[15] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
|
|
858
949
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
859
950
|
}, {
|
|
860
|
-
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
|
|
861
|
-
|
|
862
|
-
|
|
951
|
+
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
|
|
952
|
+
/* TEXT */
|
|
953
|
+
)]),
|
|
954
|
+
_: 1
|
|
955
|
+
/* STABLE */
|
|
956
|
+
|
|
957
|
+
}, 8
|
|
958
|
+
/* PROPS */
|
|
959
|
+
, ["title"])])])], 2
|
|
960
|
+
/* CLASS */
|
|
961
|
+
);
|
|
863
962
|
};
|
|
864
963
|
}
|
|
964
|
+
|
|
865
965
|
}));
|
|
866
966
|
;// CONCATENATED MODULE: ./src/webgl/planeclip/PlaneClip.vue?vue&type=script&setup=true&lang=js
|
|
867
967
|
|
|
@@ -883,11 +983,13 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
|
883
983
|
|
|
884
984
|
|
|
885
985
|
|
|
986
|
+
|
|
886
987
|
PlaneClip.install = (Vue, opts) => {
|
|
887
988
|
init_js_default()(Vue, opts);
|
|
888
989
|
Vue.component(PlaneClip.name, PlaneClip);
|
|
889
990
|
};
|
|
890
991
|
|
|
992
|
+
|
|
891
993
|
}();
|
|
892
994
|
/******/ return __webpack_exports__;
|
|
893
995
|
/******/ })()
|