@kq_npm/client3d_webgl_vue 4.5.31 → 4.5.32
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 +226 -495
- package/aspectanalysis/index.js +71 -182
- package/baseterraingallery/index.js +40 -102
- package/boxclip/index.js +197 -423
- package/clientPrint/index.js +6953 -17145
- package/comparemap/index.js +165 -216
- package/compass/index.js +20 -47
- package/excavatefillanalysis/index.js +101 -206
- package/fixedzoomin/index.js +20 -43
- package/fixedzoomout/index.js +18 -42
- package/flight/index.js +206 -353
- package/floodanalysis/index.js +145 -328
- package/geologicalbodyanalysis/index.js +114 -241
- package/gpuspatialquery/index.js +146 -340
- package/hawkeye/index.js +78 -80
- package/headertemp/index.js +8 -19
- package/heatmap3d/index.js +304 -645
- package/index.js +6525 -16962
- package/isolineanalysis/index.js +451 -1183
- package/light/index.js +308 -486
- package/limitheightanalysis/index.js +107 -204
- package/measure/index.js +145 -331
- package/modelFlat/index.js +114 -183
- package/modelexcavate/index.js +78 -172
- package/modelfilter/index.js +127 -252
- package/modelprofileanalysis/index.js +154 -297
- package/modelselect/index.js +90 -128
- package/package.json +1 -1
- package/particleeffect/index.js +170 -381
- package/planeclip/index.js +146 -281
- package/resetview/index.js +12 -31
- package/roller/index.js +252 -353
- package/scaneffect/index.js +178 -518
- package/sceneadvancedtoimage/index.js +152 -337
- package/sceneapp/index.js +6953 -17145
- package/sceneset/index.js +299 -838
- package/scenetohdimage/index.js +105 -276
- package/sceneview/index.js +6953 -17145
- package/screenshot/index.js +204 -281
- package/shadowanalysis/index.js +175 -386
- package/sightlineanalysis/index.js +135 -245
- package/skylineanalysis/index.js +108 -289
- package/slopeanalysis/index.js +174 -378
- package/slopeaspectanalysis/index.js +206 -466
- package/statusbar/index.js +37 -39
- package/terrainoperation/index.js +124 -218
- package/terrainprofileanalysis/index.js +66 -118
- package/typhoontrac/index.js +165 -321
- package/underground/index.js +16 -40
- package/videofusion/index.js +214 -470
- package/videoproject/index.js +220 -472
- package/viewshedanalysis/index.js +93 -230
- package/weathereffect/index.js +111 -295
- package/windyslicing/index.js +262 -695
- package/wireframesketch/index.js +49 -106
package/boxclip/index.js
CHANGED
|
@@ -19,18 +19,16 @@ return /******/ (function() { // webpackBootstrap
|
|
|
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
20
|
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7997);
|
|
21
21
|
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
|
|
22
|
-
/*
|
|
23
|
-
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
24
|
-
* All rights reserved.
|
|
22
|
+
/*
|
|
23
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
24
|
+
* All rights reserved.
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
|
|
29
28
|
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
30
29
|
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
31
30
|
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
32
31
|
};
|
|
33
|
-
|
|
34
32
|
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
35
33
|
|
|
36
34
|
/***/ }),
|
|
@@ -42,6 +40,27 @@ module.exports = require("@kq_npm/client_icons_vue");
|
|
|
42
40
|
|
|
43
41
|
/***/ }),
|
|
44
42
|
|
|
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
|
+
|
|
45
64
|
/***/ 9389:
|
|
46
65
|
/***/ (function(module) {
|
|
47
66
|
|
|
@@ -101,7 +120,6 @@ function _defineProperty(obj, key, value) {
|
|
|
101
120
|
} else {
|
|
102
121
|
obj[key] = value;
|
|
103
122
|
}
|
|
104
|
-
|
|
105
123
|
return obj;
|
|
106
124
|
}
|
|
107
125
|
|
|
@@ -193,11 +211,19 @@ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
|
193
211
|
var gis_utils_ = __webpack_require__(7135);
|
|
194
212
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
195
213
|
var defineProperty = __webpack_require__(8270);
|
|
214
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
215
|
+
var es_array_push_js_ = __webpack_require__(2118);
|
|
216
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
217
|
+
var esnext_iterator_constructor_js_ = __webpack_require__(8470);
|
|
218
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.find.js"
|
|
219
|
+
var esnext_iterator_find_js_ = __webpack_require__(8697);
|
|
196
220
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
197
221
|
var message = __webpack_require__(1349);
|
|
198
222
|
;// CONCATENATED MODULE: ./src/webgl/boxclip/BoxClipViewModel.js
|
|
199
223
|
|
|
200
224
|
|
|
225
|
+
|
|
226
|
+
|
|
201
227
|
/*
|
|
202
228
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
203
229
|
* All rights reserved.
|
|
@@ -205,16 +231,11 @@ var message = __webpack_require__(1349);
|
|
|
205
231
|
//Box裁剪逻辑类
|
|
206
232
|
|
|
207
233
|
class BoxClipViewModel {
|
|
208
|
-
//三维viewer对象
|
|
209
|
-
//Box裁剪存储参数对象
|
|
210
|
-
//Box裁剪三维对象
|
|
211
|
-
//绘制管理对象
|
|
212
|
-
//绘制完成监听事件
|
|
213
234
|
constructor(scenceView, options) {
|
|
214
235
|
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
215
|
-
|
|
236
|
+
//三维viewer对象
|
|
216
237
|
(0,defineProperty/* default */.Z)(this, "_options", {});
|
|
217
|
-
|
|
238
|
+
//Box裁剪存储参数对象
|
|
218
239
|
(0,defineProperty/* default */.Z)(this, "_defaultOptions", {
|
|
219
240
|
//默认参数对象
|
|
220
241
|
clipTyp: 1,
|
|
@@ -235,38 +256,34 @@ class BoxClipViewModel {
|
|
|
235
256
|
paddingStrokeDirection: 35.0,
|
|
236
257
|
paddingStrokeSpace: 5.0
|
|
237
258
|
});
|
|
238
|
-
|
|
239
259
|
(0,defineProperty/* default */.Z)(this, "_boxclipAnalysis", null);
|
|
240
|
-
|
|
260
|
+
//Box裁剪三维对象
|
|
241
261
|
(0,defineProperty/* default */.Z)(this, "_drawManager", null);
|
|
242
|
-
|
|
262
|
+
//绘制管理对象
|
|
243
263
|
(0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
|
|
244
|
-
|
|
264
|
+
//绘制完成监听事件
|
|
245
265
|
(0,defineProperty/* default */.Z)(this, "_language", {});
|
|
246
|
-
|
|
247
266
|
this._language = scenceView._language;
|
|
248
267
|
this._options = Object.assign({}, options, this._defaultOptions);
|
|
249
|
-
this._viewer = scenceView._viewer;
|
|
250
|
-
|
|
268
|
+
this._viewer = scenceView._viewer;
|
|
269
|
+
// this._viewer.enabledFXAA = true;
|
|
251
270
|
this._options.viewer = this._viewer;
|
|
252
271
|
this._drawManager = scenceView._drawManager;
|
|
253
272
|
let that = this;
|
|
254
273
|
this._removeEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
255
274
|
if (shape) {
|
|
256
|
-
that._options.position = shape.position;
|
|
257
|
-
|
|
275
|
+
that._options.position = shape.position;
|
|
276
|
+
// 实例化分析对象
|
|
258
277
|
that._boxclipAnalysis = new Cesium.Kq3dBoxClip(that._options);
|
|
259
|
-
|
|
260
278
|
that._drawManager.clear();
|
|
261
279
|
}
|
|
262
280
|
});
|
|
263
|
-
}
|
|
264
|
-
|
|
281
|
+
}
|
|
265
282
|
|
|
283
|
+
// 查找所有3dtiles模型对象
|
|
266
284
|
findLayers() {
|
|
267
285
|
let tilesets = [];
|
|
268
286
|
const primitives = this._options.viewer.scene.primitives._primitives;
|
|
269
|
-
|
|
270
287
|
for (let m = 0; m < primitives.length; m++) {
|
|
271
288
|
if (primitives[m] instanceof Cesium.Cesium3DTileset) {
|
|
272
289
|
tilesets.push({
|
|
@@ -275,31 +292,28 @@ class BoxClipViewModel {
|
|
|
275
292
|
});
|
|
276
293
|
}
|
|
277
294
|
}
|
|
278
|
-
|
|
279
295
|
return tilesets;
|
|
280
|
-
}
|
|
281
|
-
|
|
296
|
+
}
|
|
282
297
|
|
|
298
|
+
//根据id获取tileset对象
|
|
283
299
|
findLayerById(id) {
|
|
284
300
|
const primitives = this._options.viewer.scene.primitives._primitives;
|
|
285
301
|
const tileset = primitives.find(function (item) {
|
|
286
302
|
return item.guid === id;
|
|
287
303
|
});
|
|
288
304
|
return tileset;
|
|
289
|
-
}
|
|
290
|
-
|
|
305
|
+
}
|
|
291
306
|
|
|
307
|
+
// 开始分析
|
|
292
308
|
start() {
|
|
293
309
|
// 判断是否添加了模型
|
|
294
310
|
var flag = false;
|
|
295
311
|
var models = this._options.viewer.scene.primitives._primitives;
|
|
296
|
-
|
|
297
312
|
for (let i = 0; i < models.length; i++) {
|
|
298
313
|
if (models[i]._url) {
|
|
299
314
|
flag = true;
|
|
300
315
|
}
|
|
301
316
|
}
|
|
302
|
-
|
|
303
317
|
if (flag) {
|
|
304
318
|
this.clear();
|
|
305
319
|
if (this._drawManager) this._drawManager.startDraw("marker", {
|
|
@@ -311,95 +325,85 @@ class BoxClipViewModel {
|
|
|
311
325
|
type: "warning"
|
|
312
326
|
});
|
|
313
327
|
}
|
|
314
|
-
}
|
|
315
|
-
|
|
328
|
+
}
|
|
316
329
|
|
|
330
|
+
//清除全部
|
|
317
331
|
clear() {
|
|
318
332
|
if (this._boxclipAnalysis) this._boxclipAnalysis.boxEnable = false;
|
|
319
|
-
this._boxclipAnalysis && this._boxclipAnalysis.remove();
|
|
320
|
-
|
|
321
|
-
|
|
333
|
+
this._boxclipAnalysis && this._boxclipAnalysis.remove();
|
|
334
|
+
// this._boxclipAnalysis = null;
|
|
335
|
+
}
|
|
322
336
|
|
|
337
|
+
//销毁
|
|
323
338
|
destroy() {
|
|
324
|
-
this.clear();
|
|
325
|
-
|
|
339
|
+
this.clear();
|
|
340
|
+
//销毁分析对象
|
|
326
341
|
this._boxclipAnalysis && this._boxclipAnalysis.destroy();
|
|
327
|
-
this._boxclipAnalysis = null;
|
|
328
|
-
|
|
342
|
+
this._boxclipAnalysis = null;
|
|
343
|
+
//移除监听事件
|
|
329
344
|
this._removeEventListener && this._removeEventListener();
|
|
330
345
|
this._removeEventListener = null;
|
|
331
|
-
}
|
|
332
|
-
|
|
346
|
+
}
|
|
333
347
|
|
|
348
|
+
// 设置裁剪对象
|
|
334
349
|
setLayer(layerId) {
|
|
335
350
|
this.clear();
|
|
336
351
|
this._options.tileset = this.findLayerById(layerId);
|
|
337
|
-
}
|
|
338
|
-
|
|
352
|
+
}
|
|
339
353
|
|
|
354
|
+
// 设置裁剪方式,为true时,则为外部裁剪,否则为内部裁剪
|
|
340
355
|
setClipType(val) {
|
|
341
356
|
this._options.unionClippingRegions = val;
|
|
342
357
|
if (this._boxclipAnalysis) this._boxclipAnalysis.unionClippingRegions = val;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
|
|
358
|
+
}
|
|
359
|
+
//是否裁剪
|
|
346
360
|
setClip(val) {
|
|
347
361
|
this._options.enable = val;
|
|
348
|
-
|
|
349
362
|
if (this._boxclipAnalysis) {
|
|
350
363
|
this._boxclipAnalysis.enable = val;
|
|
351
364
|
this._boxclipAnalysis.boxEnable = this._options.boxEnable;
|
|
352
365
|
}
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
|
|
366
|
+
}
|
|
367
|
+
//显/隐辅助对象
|
|
356
368
|
setShowBox(val) {
|
|
357
369
|
this._options.boxEnable = val;
|
|
358
370
|
if (this._boxclipAnalysis) this._boxclipAnalysis.boxEnable = val;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
|
|
371
|
+
}
|
|
372
|
+
// X方向上移动
|
|
362
373
|
setXDistance(val) {
|
|
363
374
|
this._options.x = Number(val);
|
|
364
375
|
if (this._boxclipAnalysis) this._boxclipAnalysis.translationClip("x", Number(val));
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
|
|
376
|
+
}
|
|
377
|
+
// Y方向上移动
|
|
368
378
|
setYDistance(val) {
|
|
369
379
|
this._options.y = Number(val);
|
|
370
380
|
if (this._boxclipAnalysis) this._boxclipAnalysis.translationClip("y", Number(val));
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
|
|
381
|
+
}
|
|
382
|
+
// Z方向上移动
|
|
374
383
|
setZDistance(val) {
|
|
375
384
|
this._options.z = Number(val);
|
|
376
385
|
if (this._boxclipAnalysis) this._boxclipAnalysis.translationClip("z", Number(val));
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
|
|
386
|
+
}
|
|
387
|
+
//设置裁剪体长度
|
|
380
388
|
setAxisX(val) {
|
|
381
389
|
this._options.axisX = Number(val);
|
|
382
390
|
if (this._boxclipAnalysis) this._boxclipAnalysis.axisX = Number(val);
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
|
|
391
|
+
}
|
|
392
|
+
//设置裁剪体宽度
|
|
386
393
|
setAxisY(val) {
|
|
387
394
|
this._options.axisY = Number(val);
|
|
388
395
|
if (this._boxclipAnalysis) this._boxclipAnalysis.axisY = Number(val);
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
|
|
396
|
+
}
|
|
397
|
+
//设置裁剪体高度
|
|
392
398
|
setAxisZ(val) {
|
|
393
399
|
this._options.axisZ = Number(val);
|
|
394
400
|
if (this._boxclipAnalysis) this._boxclipAnalysis.axisZ = Number(val);
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
|
|
401
|
+
}
|
|
402
|
+
//设置裁剪体旋转角
|
|
398
403
|
setAngle(val) {
|
|
399
404
|
this._options.angle = Number(val);
|
|
400
405
|
if (this._boxclipAnalysis) this._boxclipAnalysis.angle = Number(val);
|
|
401
406
|
}
|
|
402
|
-
|
|
403
407
|
}
|
|
404
408
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
405
409
|
var client_icons_vue_ = __webpack_require__(348);
|
|
@@ -441,7 +445,6 @@ const __default__ = {
|
|
|
441
445
|
type: Boolean,
|
|
442
446
|
default: true
|
|
443
447
|
},
|
|
444
|
-
|
|
445
448
|
/**
|
|
446
449
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
447
450
|
*/
|
|
@@ -471,7 +474,6 @@ const __default__ = {
|
|
|
471
474
|
default: true
|
|
472
475
|
}
|
|
473
476
|
},
|
|
474
|
-
|
|
475
477
|
setup(__props, {
|
|
476
478
|
expose: __expose
|
|
477
479
|
}) {
|
|
@@ -481,7 +483,9 @@ const __default__ = {
|
|
|
481
483
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
482
484
|
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
483
485
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
|
|
484
|
-
let tiles = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
|
|
486
|
+
let tiles = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
|
|
487
|
+
|
|
488
|
+
// 获取组件传参
|
|
485
489
|
|
|
486
490
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
487
491
|
collapseValue: props.settingParams && props.settingParams.collapseValue || ((props.settingParams && props.settingParams.collapseValue) == '' ? "" : "setting"),
|
|
@@ -498,13 +502,16 @@ const __default__ = {
|
|
|
498
502
|
clipHeight: props.settingParams && props.settingParams.clipHeight || 4.7,
|
|
499
503
|
clipRotation: props.settingParams && props.settingParams.clipRotation || 90
|
|
500
504
|
});
|
|
501
|
-
let viewModel = null;
|
|
505
|
+
let viewModel = null;
|
|
502
506
|
|
|
503
|
-
|
|
507
|
+
// 组件容器Ref
|
|
508
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
504
509
|
|
|
510
|
+
// 生成组件默认header
|
|
505
511
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
506
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
512
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
507
513
|
|
|
514
|
+
// 国际化
|
|
508
515
|
let {
|
|
509
516
|
locale,
|
|
510
517
|
messages
|
|
@@ -528,7 +535,6 @@ const __default__ = {
|
|
|
528
535
|
});
|
|
529
536
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
530
537
|
//父组 件ScenceView初始化完成后执行
|
|
531
|
-
|
|
532
538
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
533
539
|
if (scenceView) {
|
|
534
540
|
let options = {
|
|
@@ -550,7 +556,6 @@ const __default__ = {
|
|
|
550
556
|
setTimeout(() => {
|
|
551
557
|
if (viewModel) {
|
|
552
558
|
tiles.value = viewModel.findLayers(); // 获取所有tileset对象
|
|
553
|
-
|
|
554
559
|
if (tiles.value.length > 0) {
|
|
555
560
|
formItem.tileset = tiles.value[0].guid;
|
|
556
561
|
paramsChanged("tileset");
|
|
@@ -558,117 +563,91 @@ const __default__ = {
|
|
|
558
563
|
}
|
|
559
564
|
}, 1000);
|
|
560
565
|
});
|
|
566
|
+
|
|
561
567
|
/**
|
|
562
568
|
* @description 监听header生成
|
|
563
569
|
*/
|
|
564
|
-
|
|
565
570
|
const watchCreateHeaderTemp = () => {
|
|
566
571
|
if (props.showHeaderTemp) {
|
|
567
572
|
// 生成headerTemp
|
|
568
573
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
569
574
|
}
|
|
570
|
-
};
|
|
571
|
-
|
|
575
|
+
};
|
|
572
576
|
|
|
577
|
+
// 参数改变
|
|
573
578
|
function paramsChanged(key) {
|
|
574
579
|
switch (key) {
|
|
575
580
|
case "tileset":
|
|
576
581
|
viewModel.setLayer(formItem.tileset);
|
|
577
582
|
break;
|
|
578
|
-
|
|
579
583
|
case "unionClip":
|
|
580
584
|
viewModel.setClipType(formItem.unionClippingRegions);
|
|
581
585
|
break;
|
|
582
|
-
|
|
583
586
|
case "enableClip":
|
|
584
587
|
viewModel.setClip(formItem.enableClip);
|
|
585
588
|
break;
|
|
586
|
-
|
|
587
589
|
case "boxEnable":
|
|
588
590
|
viewModel.setShowBox(formItem.boxEnable);
|
|
589
591
|
break;
|
|
590
|
-
|
|
591
592
|
case "xDistance":
|
|
592
593
|
viewModel.setXDistance(formItem.xDistance);
|
|
593
594
|
break;
|
|
594
|
-
|
|
595
595
|
case "yDistance":
|
|
596
596
|
viewModel.setYDistance(formItem.yDistance);
|
|
597
597
|
break;
|
|
598
|
-
|
|
599
598
|
case "zDistance":
|
|
600
599
|
viewModel.setZDistance(formItem.zDistance);
|
|
601
600
|
break;
|
|
602
|
-
|
|
603
601
|
case "clipLength":
|
|
604
602
|
viewModel.setAxisX(formItem.clipLength);
|
|
605
603
|
break;
|
|
606
|
-
|
|
607
604
|
case "clipWidth":
|
|
608
605
|
viewModel.setAxisY(formItem.clipWidth);
|
|
609
606
|
break;
|
|
610
|
-
|
|
611
607
|
case "clipHeight":
|
|
612
608
|
viewModel.setAxisZ(formItem.clipHeight);
|
|
613
609
|
break;
|
|
614
|
-
|
|
615
610
|
case "angle":
|
|
616
611
|
viewModel.setAngle(formItem.clipRotation);
|
|
617
612
|
break;
|
|
618
|
-
|
|
619
613
|
default:
|
|
620
614
|
break;
|
|
621
615
|
}
|
|
622
|
-
}
|
|
623
|
-
|
|
616
|
+
}
|
|
624
617
|
|
|
618
|
+
// 开始裁剪
|
|
625
619
|
function clip() {
|
|
626
620
|
viewModel && viewModel.start();
|
|
627
|
-
}
|
|
628
|
-
|
|
621
|
+
}
|
|
629
622
|
|
|
623
|
+
// 清除
|
|
630
624
|
function clearResult() {
|
|
631
625
|
viewModel && viewModel.clear();
|
|
632
|
-
}
|
|
633
|
-
|
|
626
|
+
}
|
|
634
627
|
|
|
628
|
+
// 销毁
|
|
635
629
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
636
630
|
viewModel && viewModel.destroy();
|
|
637
631
|
});
|
|
638
|
-
|
|
639
632
|
__expose({
|
|
640
633
|
paramsChanged,
|
|
641
634
|
clip,
|
|
642
635
|
clearResult
|
|
643
636
|
});
|
|
644
|
-
|
|
645
637
|
return (_ctx, _cache) => {
|
|
646
638
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
647
|
-
|
|
648
639
|
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
649
|
-
|
|
650
640
|
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
651
|
-
|
|
652
641
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
653
|
-
|
|
654
642
|
const _component_kq_radio = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio");
|
|
655
|
-
|
|
656
643
|
const _component_kq_checkbox = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-checkbox");
|
|
657
|
-
|
|
658
644
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
659
|
-
|
|
660
645
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
661
|
-
|
|
662
646
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
663
|
-
|
|
664
647
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
665
|
-
|
|
666
648
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
667
|
-
|
|
668
649
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
669
|
-
|
|
670
650
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
671
|
-
|
|
672
651
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
673
652
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-box-clip", {
|
|
674
653
|
'kq-box-shadow': __props.showShadow
|
|
@@ -679,9 +658,7 @@ const __default__ = {
|
|
|
679
658
|
key: 0,
|
|
680
659
|
ref_key: "headerTempRef",
|
|
681
660
|
ref: headerTempRef
|
|
682
|
-
}, null, 512
|
|
683
|
-
/* NEED_PATCH */
|
|
684
|
-
)) : (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, {
|
|
661
|
+
}, 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, {
|
|
685
662
|
gutter: 20,
|
|
686
663
|
class: "rowClass"
|
|
687
664
|
}, {
|
|
@@ -689,12 +666,8 @@ const __default__ = {
|
|
|
689
666
|
span: 6,
|
|
690
667
|
class: "colClass"
|
|
691
668
|
}, {
|
|
692
|
-
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
|
|
693
|
-
/*
|
|
694
|
-
)]),
|
|
695
|
-
_: 1
|
|
696
|
-
/* STABLE */
|
|
697
|
-
|
|
669
|
+
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 */)]),
|
|
670
|
+
_: 1 /* STABLE */
|
|
698
671
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
699
672
|
span: 18
|
|
700
673
|
}, {
|
|
@@ -709,31 +682,15 @@ const __default__ = {
|
|
|
709
682
|
value: item.guid,
|
|
710
683
|
label: item.name
|
|
711
684
|
}, {
|
|
712
|
-
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
|
|
713
|
-
/*
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
/* PROPS, DYNAMIC_SLOTS */
|
|
720
|
-
, ["value", "label"]);
|
|
721
|
-
}), 128
|
|
722
|
-
/* KEYED_FRAGMENT */
|
|
723
|
-
))]),
|
|
724
|
-
_: 1
|
|
725
|
-
/* STABLE */
|
|
726
|
-
|
|
727
|
-
}, 8
|
|
728
|
-
/* PROPS */
|
|
729
|
-
, ["modelValue"])]),
|
|
730
|
-
_: 1
|
|
731
|
-
/* STABLE */
|
|
732
|
-
|
|
685
|
+
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 */)]),
|
|
686
|
+
_: 2 /* DYNAMIC */
|
|
687
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["value", "label"]);
|
|
688
|
+
}), 128 /* KEYED_FRAGMENT */))]),
|
|
689
|
+
_: 1 /* STABLE */
|
|
690
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
691
|
+
_: 1 /* STABLE */
|
|
733
692
|
})]),
|
|
734
|
-
_: 1
|
|
735
|
-
/* STABLE */
|
|
736
|
-
|
|
693
|
+
_: 1 /* STABLE */
|
|
737
694
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
738
695
|
gutter: 20,
|
|
739
696
|
class: "rowClass"
|
|
@@ -742,12 +699,8 @@ const __default__ = {
|
|
|
742
699
|
span: 6,
|
|
743
700
|
class: "colClass"
|
|
744
701
|
}, {
|
|
745
|
-
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).clipPattern), 1
|
|
746
|
-
/*
|
|
747
|
-
)]),
|
|
748
|
-
_: 1
|
|
749
|
-
/* STABLE */
|
|
750
|
-
|
|
702
|
+
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).clipPattern), 1 /* TEXT */)]),
|
|
703
|
+
_: 1 /* STABLE */
|
|
751
704
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
752
705
|
span: 18
|
|
753
706
|
}, {
|
|
@@ -757,45 +710,25 @@ const __default__ = {
|
|
|
757
710
|
label: false,
|
|
758
711
|
onChange: _cache[3] || (_cache[3] = $event => paramsChanged('unionClip'))
|
|
759
712
|
}, {
|
|
760
|
-
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).insideClip), 1
|
|
761
|
-
/*
|
|
762
|
-
|
|
763
|
-
_: 1
|
|
764
|
-
/* STABLE */
|
|
765
|
-
|
|
766
|
-
}, 8
|
|
767
|
-
/* PROPS */
|
|
768
|
-
, ["modelValue"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
|
|
713
|
+
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).insideClip), 1 /* TEXT */)]),
|
|
714
|
+
_: 1 /* STABLE */
|
|
715
|
+
}, 8 /* PROPS */, ["modelValue"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
|
|
769
716
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).unionClippingRegions,
|
|
770
717
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).unionClippingRegions = $event),
|
|
771
718
|
label: true,
|
|
772
719
|
onChange: _cache[5] || (_cache[5] = $event => paramsChanged('unionClip'))
|
|
773
720
|
}, {
|
|
774
|
-
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).outsideClip), 1
|
|
775
|
-
/*
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
/* STABLE */
|
|
779
|
-
|
|
780
|
-
}, 8
|
|
781
|
-
/* PROPS */
|
|
782
|
-
, ["modelValue"])]),
|
|
783
|
-
_: 1
|
|
784
|
-
/* STABLE */
|
|
785
|
-
|
|
721
|
+
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).outsideClip), 1 /* TEXT */)]),
|
|
722
|
+
_: 1 /* STABLE */
|
|
723
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
724
|
+
_: 1 /* STABLE */
|
|
786
725
|
})]),
|
|
787
|
-
_: 1
|
|
788
|
-
/* STABLE */
|
|
789
|
-
|
|
726
|
+
_: 1 /* STABLE */
|
|
790
727
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
791
728
|
class: "kq3d-box-clip-tip"
|
|
792
729
|
}, {
|
|
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
|
-
/*
|
|
795
|
-
)]),
|
|
796
|
-
_: 1
|
|
797
|
-
/* STABLE */
|
|
798
|
-
|
|
730
|
+
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 */)]),
|
|
731
|
+
_: 1 /* STABLE */
|
|
799
732
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
800
733
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue,
|
|
801
734
|
class: "kq3d-box-clip-collapse"
|
|
@@ -821,18 +754,10 @@ const __default__ = {
|
|
|
821
754
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableClip = $event),
|
|
822
755
|
onChange: _cache[7] || (_cache[7] = $event => paramsChanged('enableClip'))
|
|
823
756
|
}, {
|
|
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
|
-
/*
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
/* STABLE */
|
|
829
|
-
|
|
830
|
-
}, 8
|
|
831
|
-
/* PROPS */
|
|
832
|
-
, ["modelValue"])]),
|
|
833
|
-
_: 1
|
|
834
|
-
/* STABLE */
|
|
835
|
-
|
|
757
|
+
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 */)]),
|
|
758
|
+
_: 1 /* STABLE */
|
|
759
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
760
|
+
_: 1 /* STABLE */
|
|
836
761
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
837
762
|
span: 12
|
|
838
763
|
}, {
|
|
@@ -841,22 +766,12 @@ const __default__ = {
|
|
|
841
766
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).boxEnable = $event),
|
|
842
767
|
onChange: _cache[9] || (_cache[9] = $event => paramsChanged('boxEnable'))
|
|
843
768
|
}, {
|
|
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
|
-
/*
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
/* STABLE */
|
|
849
|
-
|
|
850
|
-
}, 8
|
|
851
|
-
/* PROPS */
|
|
852
|
-
, ["modelValue"])]),
|
|
853
|
-
_: 1
|
|
854
|
-
/* STABLE */
|
|
855
|
-
|
|
769
|
+
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 */)]),
|
|
770
|
+
_: 1 /* STABLE */
|
|
771
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
772
|
+
_: 1 /* STABLE */
|
|
856
773
|
})]),
|
|
857
|
-
_: 1
|
|
858
|
-
/* STABLE */
|
|
859
|
-
|
|
774
|
+
_: 1 /* STABLE */
|
|
860
775
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
861
776
|
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, {
|
|
862
777
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).xDistance
|
|
@@ -876,12 +791,8 @@ const __default__ = {
|
|
|
876
791
|
min: -40.0,
|
|
877
792
|
max: 40,
|
|
878
793
|
onChange: _cache[11] || (_cache[11] = $event => paramsChanged('xDistance'))
|
|
879
|
-
}, null, 8
|
|
880
|
-
/*
|
|
881
|
-
, ["modelValue", "min"])]),
|
|
882
|
-
_: 1
|
|
883
|
-
/* STABLE */
|
|
884
|
-
|
|
794
|
+
}, null, 8 /* PROPS */, ["modelValue", "min"])]),
|
|
795
|
+
_: 1 /* STABLE */
|
|
885
796
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
886
797
|
span: 8
|
|
887
798
|
}, {
|
|
@@ -893,26 +804,14 @@ const __default__ = {
|
|
|
893
804
|
step: 1,
|
|
894
805
|
"controls-position": "right",
|
|
895
806
|
onChange: _cache[13] || (_cache[13] = $event => paramsChanged('xDistance'))
|
|
896
|
-
}, null, 8
|
|
897
|
-
/*
|
|
898
|
-
, ["modelValue"])]),
|
|
899
|
-
_: 1
|
|
900
|
-
/* STABLE */
|
|
901
|
-
|
|
807
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
808
|
+
_: 1 /* STABLE */
|
|
902
809
|
})]),
|
|
903
|
-
_: 1
|
|
904
|
-
/* STABLE */
|
|
905
|
-
|
|
810
|
+
_: 1 /* STABLE */
|
|
906
811
|
})]),
|
|
907
|
-
_: 1
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
}, 8
|
|
911
|
-
/* PROPS */
|
|
912
|
-
, ["label"])]),
|
|
913
|
-
_: 1
|
|
914
|
-
/* STABLE */
|
|
915
|
-
|
|
812
|
+
_: 1 /* STABLE */
|
|
813
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
814
|
+
_: 1 /* STABLE */
|
|
916
815
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
917
816
|
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, {
|
|
918
817
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).yDistance
|
|
@@ -932,12 +831,8 @@ const __default__ = {
|
|
|
932
831
|
min: -40.0,
|
|
933
832
|
max: 40,
|
|
934
833
|
onChange: _cache[15] || (_cache[15] = $event => paramsChanged('yDistance'))
|
|
935
|
-
}, null, 8
|
|
936
|
-
/*
|
|
937
|
-
, ["modelValue", "min"])]),
|
|
938
|
-
_: 1
|
|
939
|
-
/* STABLE */
|
|
940
|
-
|
|
834
|
+
}, null, 8 /* PROPS */, ["modelValue", "min"])]),
|
|
835
|
+
_: 1 /* STABLE */
|
|
941
836
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
942
837
|
span: 8
|
|
943
838
|
}, {
|
|
@@ -949,26 +844,14 @@ const __default__ = {
|
|
|
949
844
|
step: 1,
|
|
950
845
|
"controls-position": "right",
|
|
951
846
|
onChange: _cache[17] || (_cache[17] = $event => paramsChanged('yDistance'))
|
|
952
|
-
}, null, 8
|
|
953
|
-
/*
|
|
954
|
-
, ["modelValue", "min"])]),
|
|
955
|
-
_: 1
|
|
956
|
-
/* STABLE */
|
|
957
|
-
|
|
847
|
+
}, null, 8 /* PROPS */, ["modelValue", "min"])]),
|
|
848
|
+
_: 1 /* STABLE */
|
|
958
849
|
})]),
|
|
959
|
-
_: 1
|
|
960
|
-
/* STABLE */
|
|
961
|
-
|
|
850
|
+
_: 1 /* STABLE */
|
|
962
851
|
})]),
|
|
963
|
-
_: 1
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
}, 8
|
|
967
|
-
/* PROPS */
|
|
968
|
-
, ["label"])]),
|
|
969
|
-
_: 1
|
|
970
|
-
/* STABLE */
|
|
971
|
-
|
|
852
|
+
_: 1 /* STABLE */
|
|
853
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
854
|
+
_: 1 /* STABLE */
|
|
972
855
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
973
856
|
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, {
|
|
974
857
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).zDistance
|
|
@@ -988,12 +871,8 @@ const __default__ = {
|
|
|
988
871
|
min: -40.0,
|
|
989
872
|
max: 40,
|
|
990
873
|
onChange: _cache[19] || (_cache[19] = $event => paramsChanged('zDistance'))
|
|
991
|
-
}, null, 8
|
|
992
|
-
/*
|
|
993
|
-
, ["modelValue", "min"])]),
|
|
994
|
-
_: 1
|
|
995
|
-
/* STABLE */
|
|
996
|
-
|
|
874
|
+
}, null, 8 /* PROPS */, ["modelValue", "min"])]),
|
|
875
|
+
_: 1 /* STABLE */
|
|
997
876
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
998
877
|
span: 8
|
|
999
878
|
}, {
|
|
@@ -1005,26 +884,14 @@ const __default__ = {
|
|
|
1005
884
|
step: 1,
|
|
1006
885
|
"controls-position": "right",
|
|
1007
886
|
onChange: _cache[21] || (_cache[21] = $event => paramsChanged('zDistance'))
|
|
1008
|
-
}, null, 8
|
|
1009
|
-
/*
|
|
1010
|
-
, ["modelValue", "min"])]),
|
|
1011
|
-
_: 1
|
|
1012
|
-
/* STABLE */
|
|
1013
|
-
|
|
887
|
+
}, null, 8 /* PROPS */, ["modelValue", "min"])]),
|
|
888
|
+
_: 1 /* STABLE */
|
|
1014
889
|
})]),
|
|
1015
|
-
_: 1
|
|
1016
|
-
/* STABLE */
|
|
1017
|
-
|
|
890
|
+
_: 1 /* STABLE */
|
|
1018
891
|
})]),
|
|
1019
|
-
_: 1
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
}, 8
|
|
1023
|
-
/* PROPS */
|
|
1024
|
-
, ["label"])]),
|
|
1025
|
-
_: 1
|
|
1026
|
-
/* STABLE */
|
|
1027
|
-
|
|
892
|
+
_: 1 /* STABLE */
|
|
893
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
894
|
+
_: 1 /* STABLE */
|
|
1028
895
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1029
896
|
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, {
|
|
1030
897
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipLength
|
|
@@ -1044,12 +911,8 @@ const __default__ = {
|
|
|
1044
911
|
min: 0,
|
|
1045
912
|
max: 50,
|
|
1046
913
|
onChange: _cache[23] || (_cache[23] = $event => paramsChanged('clipLength'))
|
|
1047
|
-
}, null, 8
|
|
1048
|
-
/*
|
|
1049
|
-
, ["modelValue", "step"])]),
|
|
1050
|
-
_: 1
|
|
1051
|
-
/* STABLE */
|
|
1052
|
-
|
|
914
|
+
}, null, 8 /* PROPS */, ["modelValue", "step"])]),
|
|
915
|
+
_: 1 /* STABLE */
|
|
1053
916
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1054
917
|
span: 8
|
|
1055
918
|
}, {
|
|
@@ -1061,26 +924,14 @@ const __default__ = {
|
|
|
1061
924
|
step: 0.1,
|
|
1062
925
|
"controls-position": "right",
|
|
1063
926
|
onChange: _cache[25] || (_cache[25] = $event => paramsChanged('clipLength'))
|
|
1064
|
-
}, null, 8
|
|
1065
|
-
/*
|
|
1066
|
-
, ["modelValue", "step"])]),
|
|
1067
|
-
_: 1
|
|
1068
|
-
/* STABLE */
|
|
1069
|
-
|
|
927
|
+
}, null, 8 /* PROPS */, ["modelValue", "step"])]),
|
|
928
|
+
_: 1 /* STABLE */
|
|
1070
929
|
})]),
|
|
1071
|
-
_: 1
|
|
1072
|
-
/* STABLE */
|
|
1073
|
-
|
|
930
|
+
_: 1 /* STABLE */
|
|
1074
931
|
})]),
|
|
1075
|
-
_: 1
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
}, 8
|
|
1079
|
-
/* PROPS */
|
|
1080
|
-
, ["label"])]),
|
|
1081
|
-
_: 1
|
|
1082
|
-
/* STABLE */
|
|
1083
|
-
|
|
932
|
+
_: 1 /* STABLE */
|
|
933
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
934
|
+
_: 1 /* STABLE */
|
|
1084
935
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1085
936
|
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, {
|
|
1086
937
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipWidth
|
|
@@ -1100,12 +951,8 @@ const __default__ = {
|
|
|
1100
951
|
min: 0,
|
|
1101
952
|
max: 50,
|
|
1102
953
|
onChange: _cache[27] || (_cache[27] = $event => paramsChanged('clipWidth'))
|
|
1103
|
-
}, null, 8
|
|
1104
|
-
/*
|
|
1105
|
-
, ["modelValue", "step"])]),
|
|
1106
|
-
_: 1
|
|
1107
|
-
/* STABLE */
|
|
1108
|
-
|
|
954
|
+
}, null, 8 /* PROPS */, ["modelValue", "step"])]),
|
|
955
|
+
_: 1 /* STABLE */
|
|
1109
956
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1110
957
|
span: 8
|
|
1111
958
|
}, {
|
|
@@ -1117,26 +964,14 @@ const __default__ = {
|
|
|
1117
964
|
max: 50,
|
|
1118
965
|
"controls-position": "right",
|
|
1119
966
|
onChange: _cache[29] || (_cache[29] = $event => paramsChanged('clipWidth'))
|
|
1120
|
-
}, null, 8
|
|
1121
|
-
/*
|
|
1122
|
-
, ["modelValue", "step"])]),
|
|
1123
|
-
_: 1
|
|
1124
|
-
/* STABLE */
|
|
1125
|
-
|
|
967
|
+
}, null, 8 /* PROPS */, ["modelValue", "step"])]),
|
|
968
|
+
_: 1 /* STABLE */
|
|
1126
969
|
})]),
|
|
1127
|
-
_: 1
|
|
1128
|
-
/* STABLE */
|
|
1129
|
-
|
|
970
|
+
_: 1 /* STABLE */
|
|
1130
971
|
})]),
|
|
1131
|
-
_: 1
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
}, 8
|
|
1135
|
-
/* PROPS */
|
|
1136
|
-
, ["label"])]),
|
|
1137
|
-
_: 1
|
|
1138
|
-
/* STABLE */
|
|
1139
|
-
|
|
972
|
+
_: 1 /* STABLE */
|
|
973
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
974
|
+
_: 1 /* STABLE */
|
|
1140
975
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1141
976
|
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, {
|
|
1142
977
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipHeight
|
|
@@ -1156,12 +991,8 @@ const __default__ = {
|
|
|
1156
991
|
min: 0,
|
|
1157
992
|
max: 10,
|
|
1158
993
|
onChange: _cache[31] || (_cache[31] = $event => paramsChanged('clipHeight'))
|
|
1159
|
-
}, null, 8
|
|
1160
|
-
/*
|
|
1161
|
-
, ["modelValue", "step"])]),
|
|
1162
|
-
_: 1
|
|
1163
|
-
/* STABLE */
|
|
1164
|
-
|
|
994
|
+
}, null, 8 /* PROPS */, ["modelValue", "step"])]),
|
|
995
|
+
_: 1 /* STABLE */
|
|
1165
996
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1166
997
|
span: 8
|
|
1167
998
|
}, {
|
|
@@ -1173,26 +1004,14 @@ const __default__ = {
|
|
|
1173
1004
|
max: 10,
|
|
1174
1005
|
"controls-position": "right",
|
|
1175
1006
|
onChange: _cache[33] || (_cache[33] = $event => paramsChanged('clipHeight'))
|
|
1176
|
-
}, null, 8
|
|
1177
|
-
/*
|
|
1178
|
-
, ["modelValue", "step"])]),
|
|
1179
|
-
_: 1
|
|
1180
|
-
/* STABLE */
|
|
1181
|
-
|
|
1007
|
+
}, null, 8 /* PROPS */, ["modelValue", "step"])]),
|
|
1008
|
+
_: 1 /* STABLE */
|
|
1182
1009
|
})]),
|
|
1183
|
-
_: 1
|
|
1184
|
-
/* STABLE */
|
|
1185
|
-
|
|
1010
|
+
_: 1 /* STABLE */
|
|
1186
1011
|
})]),
|
|
1187
|
-
_: 1
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
}, 8
|
|
1191
|
-
/* PROPS */
|
|
1192
|
-
, ["label"])]),
|
|
1193
|
-
_: 1
|
|
1194
|
-
/* STABLE */
|
|
1195
|
-
|
|
1012
|
+
_: 1 /* STABLE */
|
|
1013
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1014
|
+
_: 1 /* STABLE */
|
|
1196
1015
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
1197
1016
|
style: {
|
|
1198
1017
|
"margin-bottom": "8px"
|
|
@@ -1216,12 +1035,8 @@ const __default__ = {
|
|
|
1216
1035
|
min: 0,
|
|
1217
1036
|
max: 360,
|
|
1218
1037
|
onChange: _cache[35] || (_cache[35] = $event => paramsChanged('angle'))
|
|
1219
|
-
}, null, 8
|
|
1220
|
-
/*
|
|
1221
|
-
, ["modelValue"])]),
|
|
1222
|
-
_: 1
|
|
1223
|
-
/* STABLE */
|
|
1224
|
-
|
|
1038
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
1039
|
+
_: 1 /* STABLE */
|
|
1225
1040
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1226
1041
|
span: 8
|
|
1227
1042
|
}, {
|
|
@@ -1233,75 +1048,36 @@ const __default__ = {
|
|
|
1233
1048
|
step: 1,
|
|
1234
1049
|
"controls-position": "right",
|
|
1235
1050
|
onChange: _cache[37] || (_cache[37] = $event => paramsChanged('angle'))
|
|
1236
|
-
}, null, 8
|
|
1237
|
-
/*
|
|
1238
|
-
, ["modelValue"])]),
|
|
1239
|
-
_: 1
|
|
1240
|
-
/* STABLE */
|
|
1241
|
-
|
|
1051
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
1052
|
+
_: 1 /* STABLE */
|
|
1242
1053
|
})]),
|
|
1243
|
-
_: 1
|
|
1244
|
-
/* STABLE */
|
|
1245
|
-
|
|
1054
|
+
_: 1 /* STABLE */
|
|
1246
1055
|
})]),
|
|
1247
|
-
_: 1
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
}, 8
|
|
1251
|
-
/* PROPS */
|
|
1252
|
-
, ["label"])]),
|
|
1253
|
-
_: 1
|
|
1254
|
-
/* STABLE */
|
|
1255
|
-
|
|
1056
|
+
_: 1 /* STABLE */
|
|
1057
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
1058
|
+
_: 1 /* STABLE */
|
|
1256
1059
|
})]),
|
|
1257
|
-
_: 1
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
_: 1
|
|
1264
|
-
/* STABLE */
|
|
1265
|
-
|
|
1266
|
-
}, 8
|
|
1267
|
-
/* PROPS */
|
|
1268
|
-
, ["title"])]),
|
|
1269
|
-
_: 1
|
|
1270
|
-
/* STABLE */
|
|
1271
|
-
|
|
1272
|
-
}, 8
|
|
1273
|
-
/* PROPS */
|
|
1274
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_4, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1060
|
+
_: 1 /* STABLE */
|
|
1061
|
+
}, 8 /* PROPS */, ["label-width"])]),
|
|
1062
|
+
_: 1 /* STABLE */
|
|
1063
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
1064
|
+
_: 1 /* STABLE */
|
|
1065
|
+
}, 8 /* PROPS */, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_4, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1275
1066
|
onClick: _cache[38] || (_cache[38] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clip(), ["stop"])),
|
|
1276
1067
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clip,
|
|
1277
1068
|
type: "primary"
|
|
1278
1069
|
}, {
|
|
1279
|
-
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
|
|
1280
|
-
/*
|
|
1281
|
-
|
|
1282
|
-
_: 1
|
|
1283
|
-
/* STABLE */
|
|
1284
|
-
|
|
1285
|
-
}, 8
|
|
1286
|
-
/* PROPS */
|
|
1287
|
-
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1070
|
+
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 */)]),
|
|
1071
|
+
_: 1 /* STABLE */
|
|
1072
|
+
}, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1288
1073
|
onClick: _cache[39] || (_cache[39] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
|
|
1289
1074
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
1290
1075
|
}, {
|
|
1291
|
-
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
|
|
1292
|
-
/*
|
|
1293
|
-
|
|
1294
|
-
_: 1
|
|
1295
|
-
/* STABLE */
|
|
1296
|
-
|
|
1297
|
-
}, 8
|
|
1298
|
-
/* PROPS */
|
|
1299
|
-
, ["title"])])])], 2
|
|
1300
|
-
/* CLASS */
|
|
1301
|
-
);
|
|
1076
|
+
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 */)]),
|
|
1077
|
+
_: 1 /* STABLE */
|
|
1078
|
+
}, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
|
|
1302
1079
|
};
|
|
1303
1080
|
}
|
|
1304
|
-
|
|
1305
1081
|
}));
|
|
1306
1082
|
;// CONCATENATED MODULE: ./src/webgl/boxclip/BoxClip.vue?vue&type=script&setup=true&lang=js
|
|
1307
1083
|
|
|
@@ -1323,13 +1099,11 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
|
1323
1099
|
|
|
1324
1100
|
|
|
1325
1101
|
|
|
1326
|
-
|
|
1327
1102
|
BoxClip.install = (Vue, opts) => {
|
|
1328
1103
|
init_js_default()(Vue, opts);
|
|
1329
1104
|
Vue.component(BoxClip.name, BoxClip);
|
|
1330
1105
|
};
|
|
1331
1106
|
|
|
1332
|
-
|
|
1333
1107
|
}();
|
|
1334
1108
|
/******/ return __webpack_exports__;
|
|
1335
1109
|
/******/ })()
|