@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/modelfilter/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"), require("@kq_npm/client_common_vue"));
|
|
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", "@kq_npm/client_common_vue"], 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", "@kq_npm/client_common_vue"], 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"), require("@kq_npm/client_common_vue"));
|
|
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"], root["@kq_npm/client_common_vue"]);
|
|
10
10
|
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__7997__, __WEBPACK_EXTERNAL_MODULE__3458__, __WEBPACK_EXTERNAL_MODULE__7064__) {
|
|
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
|
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (KqMessage)));
|
|
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
|
|
|
@@ -110,59 +91,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
|
110
91
|
|
|
111
92
|
/***/ }),
|
|
112
93
|
|
|
113
|
-
/***/
|
|
94
|
+
/***/ 8270:
|
|
114
95
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
115
96
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
130
|
-
}, _typeof(o);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
134
|
-
|
|
135
|
-
function toPrimitive(t, r) {
|
|
136
|
-
if ("object" != _typeof(t) || !t) return t;
|
|
137
|
-
var e = t[Symbol.toPrimitive];
|
|
138
|
-
if (void 0 !== e) {
|
|
139
|
-
var i = e.call(t, r || "default");
|
|
140
|
-
if ("object" != _typeof(i)) return i;
|
|
141
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
97
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
98
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
99
|
+
/* harmony export */ });
|
|
100
|
+
function _defineProperty(obj, key, value) {
|
|
101
|
+
if (key in obj) {
|
|
102
|
+
Object.defineProperty(obj, key, {
|
|
103
|
+
value: value,
|
|
104
|
+
enumerable: true,
|
|
105
|
+
configurable: true,
|
|
106
|
+
writable: true
|
|
107
|
+
});
|
|
108
|
+
} else {
|
|
109
|
+
obj[key] = value;
|
|
142
110
|
}
|
|
143
|
-
return ("string" === r ? String : Number)(t);
|
|
144
|
-
}
|
|
145
111
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
function toPropertyKey(t) {
|
|
150
|
-
var i = toPrimitive(t, "string");
|
|
151
|
-
return "symbol" == _typeof(i) ? i : i + "";
|
|
112
|
+
return obj;
|
|
152
113
|
}
|
|
153
114
|
|
|
154
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
155
|
-
|
|
156
|
-
function _defineProperty(e, r, t) {
|
|
157
|
-
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
158
|
-
value: t,
|
|
159
|
-
enumerable: !0,
|
|
160
|
-
configurable: !0,
|
|
161
|
-
writable: !0
|
|
162
|
-
}) : e[r] = t, e;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
|
|
166
115
|
/***/ })
|
|
167
116
|
|
|
168
117
|
/******/ });
|
|
@@ -249,21 +198,13 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
249
198
|
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
|
|
250
199
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
251
200
|
var gis_utils_ = __webpack_require__(7135);
|
|
252
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
253
|
-
var defineProperty = __webpack_require__(
|
|
254
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
255
|
-
var es_array_push_js_ = __webpack_require__(2118);
|
|
256
|
-
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
257
|
-
var esnext_iterator_constructor_js_ = __webpack_require__(8470);
|
|
258
|
-
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.find.js"
|
|
259
|
-
var esnext_iterator_find_js_ = __webpack_require__(8697);
|
|
201
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
202
|
+
var defineProperty = __webpack_require__(8270);
|
|
260
203
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
261
204
|
var message = __webpack_require__(1349);
|
|
262
205
|
;// CONCATENATED MODULE: ./src/webgl/modelfilter/ModelFilterViewModel.js
|
|
263
206
|
|
|
264
207
|
|
|
265
|
-
|
|
266
|
-
|
|
267
208
|
/*
|
|
268
209
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
269
210
|
* All rights reserved.
|
|
@@ -271,11 +212,13 @@ var message = __webpack_require__(1349);
|
|
|
271
212
|
//模型滤镜逻辑类
|
|
272
213
|
|
|
273
214
|
class ModelFilterViewModel {
|
|
215
|
+
//三维viewer对象
|
|
216
|
+
//Box裁剪存储参数对象
|
|
274
217
|
constructor(scenceView, options) {
|
|
275
218
|
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
276
|
-
|
|
219
|
+
|
|
277
220
|
(0,defineProperty/* default */.Z)(this, "_options", {});
|
|
278
|
-
|
|
221
|
+
|
|
279
222
|
(0,defineProperty/* default */.Z)(this, "_defaultOptions", {
|
|
280
223
|
//默认参数对象
|
|
281
224
|
brightness: 1,
|
|
@@ -284,15 +227,17 @@ class ModelFilterViewModel {
|
|
|
284
227
|
saturation: 1,
|
|
285
228
|
gamma: 1
|
|
286
229
|
});
|
|
230
|
+
|
|
287
231
|
this._options = Object.assign({}, options, this._defaultOptions);
|
|
288
232
|
this._viewer = scenceView._viewer;
|
|
289
233
|
this._options.viewer = this._viewer;
|
|
290
|
-
}
|
|
234
|
+
} // 查找所有3dtiles模型对象
|
|
235
|
+
|
|
291
236
|
|
|
292
|
-
// 查找所有3dtiles模型对象
|
|
293
237
|
findLayers() {
|
|
294
238
|
let tilesets = [];
|
|
295
239
|
const primitives = this._viewer.scene.primitives._primitives;
|
|
240
|
+
|
|
296
241
|
for (let m = 0; m < primitives.length; m++) {
|
|
297
242
|
if (primitives[m] instanceof Cesium.Cesium3DTileset) {
|
|
298
243
|
tilesets.push({
|
|
@@ -301,48 +246,57 @@ class ModelFilterViewModel {
|
|
|
301
246
|
});
|
|
302
247
|
}
|
|
303
248
|
}
|
|
249
|
+
|
|
304
250
|
return tilesets;
|
|
305
|
-
}
|
|
251
|
+
} // 设置过滤对象
|
|
252
|
+
|
|
306
253
|
|
|
307
|
-
// 设置过滤对象
|
|
308
254
|
setLayer(layerId) {
|
|
309
255
|
if (layerId) {
|
|
310
256
|
this.clear();
|
|
311
257
|
this._options.tileset = this.findLayerById(layerId);
|
|
258
|
+
|
|
312
259
|
this._viewer.flyTo(this._options.tileset);
|
|
260
|
+
|
|
313
261
|
this._options.tileset.colorCorrectEnable = true;
|
|
314
262
|
}
|
|
315
|
-
}
|
|
263
|
+
} //根据id获取tileset对象
|
|
264
|
+
|
|
316
265
|
|
|
317
|
-
//根据id获取tileset对象
|
|
318
266
|
findLayerById(id) {
|
|
319
267
|
const primitives = this._options.viewer.scene.primitives._primitives;
|
|
320
268
|
const tileset = primitives.find(function (item) {
|
|
321
269
|
return item.guid === id;
|
|
322
270
|
});
|
|
323
271
|
return tileset;
|
|
324
|
-
}
|
|
325
|
-
|
|
272
|
+
} // 设置亮度
|
|
273
|
+
|
|
274
|
+
|
|
326
275
|
setBrightness(newValue) {
|
|
327
276
|
this._options.tileset.brightness = Number(newValue);
|
|
328
|
-
}
|
|
329
|
-
|
|
277
|
+
} // 设置对比
|
|
278
|
+
|
|
279
|
+
|
|
330
280
|
setContrast(newValue) {
|
|
331
281
|
this._options.tileset.contrast = Number(newValue);
|
|
332
|
-
}
|
|
333
|
-
|
|
282
|
+
} // 设置色调
|
|
283
|
+
|
|
284
|
+
|
|
334
285
|
setTone(newValue) {
|
|
335
286
|
this._options.tileset.hue = Number(newValue);
|
|
336
|
-
}
|
|
337
|
-
|
|
287
|
+
} // 设置饱和
|
|
288
|
+
|
|
289
|
+
|
|
338
290
|
setSaturation(newValue) {
|
|
339
291
|
this._options.tileset.saturation = Number(newValue);
|
|
340
|
-
}
|
|
341
|
-
|
|
292
|
+
} // 设置伽马
|
|
293
|
+
|
|
294
|
+
|
|
342
295
|
setGamma(newValue) {
|
|
343
296
|
this._options.tileset.gamma = Number(newValue);
|
|
344
|
-
}
|
|
345
|
-
|
|
297
|
+
} //清除
|
|
298
|
+
|
|
299
|
+
|
|
346
300
|
clear() {
|
|
347
301
|
if (this._options.tileset) {
|
|
348
302
|
this._options.tileset.brightness = 1;
|
|
@@ -351,12 +305,13 @@ class ModelFilterViewModel {
|
|
|
351
305
|
this._options.tileset.saturation = 1;
|
|
352
306
|
this._options.tileset.gamma = 1;
|
|
353
307
|
}
|
|
354
|
-
}
|
|
308
|
+
} //销毁
|
|
309
|
+
|
|
355
310
|
|
|
356
|
-
//销毁
|
|
357
311
|
destroy() {
|
|
358
312
|
this.clear();
|
|
359
313
|
}
|
|
314
|
+
|
|
360
315
|
}
|
|
361
316
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
362
317
|
var client_icons_vue_ = __webpack_require__(348);
|
|
@@ -366,7 +321,7 @@ var util_ = __webpack_require__(3458);
|
|
|
366
321
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
367
322
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue"
|
|
368
323
|
var client_common_vue_ = __webpack_require__(7064);
|
|
369
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/modelfilter/ModelFilter.vue?vue&type=script&setup=true&lang=js
|
|
324
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/modelfilter/ModelFilter.vue?vue&type=script&setup=true&lang=js
|
|
370
325
|
|
|
371
326
|
const _hoisted_1 = {
|
|
372
327
|
class: "kq3d-model-filter-span"
|
|
@@ -392,8 +347,7 @@ const _hoisted_6 = {
|
|
|
392
347
|
|
|
393
348
|
|
|
394
349
|
|
|
395
|
-
|
|
396
|
-
//语言
|
|
350
|
+
//语言
|
|
397
351
|
|
|
398
352
|
const __default__ = {
|
|
399
353
|
name: "Kq3dModelFilter"
|
|
@@ -409,6 +363,7 @@ const __default__ = {
|
|
|
409
363
|
type: Boolean,
|
|
410
364
|
default: true
|
|
411
365
|
},
|
|
366
|
+
|
|
412
367
|
/**
|
|
413
368
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
414
369
|
*/
|
|
@@ -438,6 +393,7 @@ const __default__ = {
|
|
|
438
393
|
default: true
|
|
439
394
|
}
|
|
440
395
|
},
|
|
396
|
+
|
|
441
397
|
setup(__props, {
|
|
442
398
|
expose: __expose
|
|
443
399
|
}) {
|
|
@@ -449,13 +405,11 @@ const __default__ = {
|
|
|
449
405
|
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
450
406
|
let viewModel = null;
|
|
451
407
|
let ref_box = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
452
|
-
let tiles = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
|
|
453
|
-
// 获取组件传参
|
|
454
|
-
|
|
408
|
+
let tiles = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]); // 获取组件传参
|
|
455
409
|
// 组件容器Ref
|
|
456
|
-
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
457
410
|
|
|
458
|
-
//模型滤镜参数
|
|
411
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); //模型滤镜参数
|
|
412
|
+
|
|
459
413
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
460
414
|
tileset: props.settingParams && props.settingParams.tileset || null,
|
|
461
415
|
brightness: props.settingParams && props.settingParams.brightness || 1,
|
|
@@ -467,13 +421,12 @@ const __default__ = {
|
|
|
467
421
|
saturation: props.settingParams && props.settingParams.saturation || 1,
|
|
468
422
|
// 饱和
|
|
469
423
|
gamma: props.settingParams && props.settingParams.gamma || 1 // 伽马
|
|
470
|
-
});
|
|
471
424
|
|
|
472
|
-
// 生成组件默认header
|
|
425
|
+
}); // 生成组件默认header
|
|
426
|
+
|
|
473
427
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
474
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
428
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
475
429
|
|
|
476
|
-
// 国际化
|
|
477
430
|
let {
|
|
478
431
|
locale,
|
|
479
432
|
messages
|
|
@@ -497,6 +450,7 @@ const __default__ = {
|
|
|
497
450
|
});
|
|
498
451
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
499
452
|
//父组件ScenceView初始化完成后执行
|
|
453
|
+
|
|
500
454
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
501
455
|
if (scenceView) {
|
|
502
456
|
let options = {
|
|
@@ -516,16 +470,17 @@ const __default__ = {
|
|
|
516
470
|
}
|
|
517
471
|
}, 1000);
|
|
518
472
|
});
|
|
519
|
-
|
|
520
473
|
/**
|
|
521
474
|
* @description 监听header生成
|
|
522
475
|
*/
|
|
476
|
+
|
|
523
477
|
const watchCreateHeaderTemp = () => {
|
|
524
478
|
if (props.showHeaderTemp) {
|
|
525
479
|
// 生成headerTemp
|
|
526
480
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
527
481
|
}
|
|
528
482
|
};
|
|
483
|
+
|
|
529
484
|
function paramsChanged(value) {
|
|
530
485
|
if (formItem.tileset) {
|
|
531
486
|
switch (value) {
|
|
@@ -537,24 +492,30 @@ const __default__ = {
|
|
|
537
492
|
viewModel.setSaturation(formItem.saturation);
|
|
538
493
|
viewModel.setGamma(formItem.gamma);
|
|
539
494
|
break;
|
|
495
|
+
|
|
540
496
|
case "brightness":
|
|
541
497
|
viewModel.setBrightness(formItem.brightness);
|
|
542
498
|
break;
|
|
499
|
+
|
|
543
500
|
case "contrast":
|
|
544
501
|
viewModel.setContrast(formItem.contrast);
|
|
545
502
|
break;
|
|
503
|
+
|
|
546
504
|
case "tone":
|
|
547
505
|
viewModel.setTone(formItem.tone);
|
|
548
506
|
break;
|
|
507
|
+
|
|
549
508
|
case "saturation":
|
|
550
509
|
viewModel.setSaturation(formItem.saturation);
|
|
551
510
|
break;
|
|
511
|
+
|
|
552
512
|
case "gamma":
|
|
553
513
|
viewModel.setGamma(formItem.gamma);
|
|
554
514
|
break;
|
|
555
515
|
}
|
|
556
516
|
}
|
|
557
517
|
}
|
|
518
|
+
|
|
558
519
|
function clear() {
|
|
559
520
|
viewModel.clear();
|
|
560
521
|
formItem.brightness = 1;
|
|
@@ -562,23 +523,31 @@ const __default__ = {
|
|
|
562
523
|
formItem.tone = 0;
|
|
563
524
|
formItem.saturation = 1;
|
|
564
525
|
formItem.gamma = 1;
|
|
565
|
-
}
|
|
526
|
+
} // 销毁
|
|
527
|
+
|
|
566
528
|
|
|
567
|
-
// 销毁
|
|
568
529
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
569
530
|
viewModel && viewModel.destroy();
|
|
570
531
|
});
|
|
532
|
+
|
|
571
533
|
__expose({
|
|
572
534
|
clear,
|
|
573
535
|
paramsChanged
|
|
574
536
|
});
|
|
537
|
+
|
|
575
538
|
return (_ctx, _cache) => {
|
|
576
539
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
540
|
+
|
|
577
541
|
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
542
|
+
|
|
578
543
|
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
544
|
+
|
|
579
545
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
546
|
+
|
|
580
547
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
548
|
+
|
|
581
549
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
550
|
+
|
|
582
551
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
583
552
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-model-filter", {
|
|
584
553
|
'kq-box-shadow': __props.showShadow
|
|
@@ -589,7 +558,9 @@ const __default__ = {
|
|
|
589
558
|
key: 0,
|
|
590
559
|
ref_key: "headerTempRef",
|
|
591
560
|
ref: headerTempRef
|
|
592
|
-
}, null, 512
|
|
561
|
+
}, null, 512
|
|
562
|
+
/* NEED_PATCH */
|
|
563
|
+
)) : (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", {
|
|
593
564
|
class: "kq3d-model-filter-box",
|
|
594
565
|
ref_key: "ref_box",
|
|
595
566
|
ref: ref_box
|
|
@@ -599,9 +570,15 @@ const __default__ = {
|
|
|
599
570
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
600
571
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
601
572
|
}, {
|
|
602
|
-
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_1, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).modelFilterLayer), 1
|
|
603
|
-
|
|
604
|
-
|
|
573
|
+
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_1, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).modelFilterLayer), 1
|
|
574
|
+
/* TEXT */
|
|
575
|
+
)]),
|
|
576
|
+
_: 1
|
|
577
|
+
/* STABLE */
|
|
578
|
+
|
|
579
|
+
}, 8
|
|
580
|
+
/* PROPS */
|
|
581
|
+
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
605
582
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 17 : 14
|
|
606
583
|
}, {
|
|
607
584
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
|
|
@@ -620,24 +597,48 @@ const __default__ = {
|
|
|
620
597
|
value: item.guid,
|
|
621
598
|
label: item.name
|
|
622
599
|
}, {
|
|
623
|
-
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
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
600
|
+
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
|
|
601
|
+
/* TEXT */
|
|
602
|
+
)]),
|
|
603
|
+
_: 2
|
|
604
|
+
/* DYNAMIC */
|
|
605
|
+
|
|
606
|
+
}, 1032
|
|
607
|
+
/* PROPS, DYNAMIC_SLOTS */
|
|
608
|
+
, ["value", "label"]);
|
|
609
|
+
}), 128
|
|
610
|
+
/* KEYED_FRAGMENT */
|
|
611
|
+
))]),
|
|
612
|
+
_: 1
|
|
613
|
+
/* STABLE */
|
|
614
|
+
|
|
615
|
+
}, 8
|
|
616
|
+
/* PROPS */
|
|
617
|
+
, ["modelValue"])]),
|
|
618
|
+
_: 1
|
|
619
|
+
/* STABLE */
|
|
620
|
+
|
|
621
|
+
}, 8
|
|
622
|
+
/* PROPS */
|
|
623
|
+
, ["span"])]),
|
|
624
|
+
_: 1
|
|
625
|
+
/* STABLE */
|
|
626
|
+
|
|
632
627
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
633
628
|
gutter: 10
|
|
634
629
|
}, {
|
|
635
630
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
636
631
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
637
632
|
}, {
|
|
638
|
-
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).brightness), 1
|
|
639
|
-
|
|
640
|
-
|
|
633
|
+
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).brightness), 1
|
|
634
|
+
/* TEXT */
|
|
635
|
+
)]),
|
|
636
|
+
_: 1
|
|
637
|
+
/* STABLE */
|
|
638
|
+
|
|
639
|
+
}, 8
|
|
640
|
+
/* PROPS */
|
|
641
|
+
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
641
642
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 11 : 8
|
|
642
643
|
}, {
|
|
643
644
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
@@ -647,9 +648,15 @@ const __default__ = {
|
|
|
647
648
|
min: 0,
|
|
648
649
|
max: 5,
|
|
649
650
|
onChange: _cache[3] || (_cache[3] = $event => paramsChanged('brightness'))
|
|
650
|
-
}, null, 8
|
|
651
|
-
|
|
652
|
-
|
|
651
|
+
}, null, 8
|
|
652
|
+
/* PROPS */
|
|
653
|
+
, ["modelValue", "step"])]),
|
|
654
|
+
_: 1
|
|
655
|
+
/* STABLE */
|
|
656
|
+
|
|
657
|
+
}, 8
|
|
658
|
+
/* PROPS */
|
|
659
|
+
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
653
660
|
span: 6,
|
|
654
661
|
style: {
|
|
655
662
|
"text-align": "end"
|
|
@@ -663,19 +670,31 @@ const __default__ = {
|
|
|
663
670
|
step: 0.1,
|
|
664
671
|
"controls-position": "right",
|
|
665
672
|
onChange: _cache[5] || (_cache[5] = $event => paramsChanged('brightness'))
|
|
666
|
-
}, null, 8
|
|
667
|
-
|
|
673
|
+
}, null, 8
|
|
674
|
+
/* PROPS */
|
|
675
|
+
, ["modelValue", "step"])]),
|
|
676
|
+
_: 1
|
|
677
|
+
/* STABLE */
|
|
678
|
+
|
|
668
679
|
})]),
|
|
669
|
-
_: 1
|
|
680
|
+
_: 1
|
|
681
|
+
/* STABLE */
|
|
682
|
+
|
|
670
683
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
671
684
|
gutter: 10
|
|
672
685
|
}, {
|
|
673
686
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
674
687
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
675
688
|
}, {
|
|
676
|
-
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).contrast), 1
|
|
677
|
-
|
|
678
|
-
|
|
689
|
+
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).contrast), 1
|
|
690
|
+
/* TEXT */
|
|
691
|
+
)]),
|
|
692
|
+
_: 1
|
|
693
|
+
/* STABLE */
|
|
694
|
+
|
|
695
|
+
}, 8
|
|
696
|
+
/* PROPS */
|
|
697
|
+
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
679
698
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 11 : 8
|
|
680
699
|
}, {
|
|
681
700
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
@@ -685,9 +704,15 @@ const __default__ = {
|
|
|
685
704
|
min: 0,
|
|
686
705
|
max: 5,
|
|
687
706
|
onChange: _cache[7] || (_cache[7] = $event => paramsChanged('contrast'))
|
|
688
|
-
}, null, 8
|
|
689
|
-
|
|
690
|
-
|
|
707
|
+
}, null, 8
|
|
708
|
+
/* PROPS */
|
|
709
|
+
, ["modelValue", "step"])]),
|
|
710
|
+
_: 1
|
|
711
|
+
/* STABLE */
|
|
712
|
+
|
|
713
|
+
}, 8
|
|
714
|
+
/* PROPS */
|
|
715
|
+
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
691
716
|
span: 6,
|
|
692
717
|
style: {
|
|
693
718
|
"text-align": "end"
|
|
@@ -701,19 +726,31 @@ const __default__ = {
|
|
|
701
726
|
step: 0.1,
|
|
702
727
|
"controls-position": "right",
|
|
703
728
|
onChange: _cache[9] || (_cache[9] = $event => paramsChanged('contrast'))
|
|
704
|
-
}, null, 8
|
|
705
|
-
|
|
729
|
+
}, null, 8
|
|
730
|
+
/* PROPS */
|
|
731
|
+
, ["modelValue", "step"])]),
|
|
732
|
+
_: 1
|
|
733
|
+
/* STABLE */
|
|
734
|
+
|
|
706
735
|
})]),
|
|
707
|
-
_: 1
|
|
736
|
+
_: 1
|
|
737
|
+
/* STABLE */
|
|
738
|
+
|
|
708
739
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
709
740
|
gutter: 10
|
|
710
741
|
}, {
|
|
711
742
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
712
743
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
713
744
|
}, {
|
|
714
|
-
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).tone), 1
|
|
715
|
-
|
|
716
|
-
|
|
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_4, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).tone), 1
|
|
746
|
+
/* TEXT */
|
|
747
|
+
)]),
|
|
748
|
+
_: 1
|
|
749
|
+
/* STABLE */
|
|
750
|
+
|
|
751
|
+
}, 8
|
|
752
|
+
/* PROPS */
|
|
753
|
+
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
717
754
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 11 : 8
|
|
718
755
|
}, {
|
|
719
756
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
@@ -723,9 +760,15 @@ const __default__ = {
|
|
|
723
760
|
min: 0,
|
|
724
761
|
max: 5,
|
|
725
762
|
onChange: _cache[11] || (_cache[11] = $event => paramsChanged('tone'))
|
|
726
|
-
}, null, 8
|
|
727
|
-
|
|
728
|
-
|
|
763
|
+
}, null, 8
|
|
764
|
+
/* PROPS */
|
|
765
|
+
, ["modelValue", "step"])]),
|
|
766
|
+
_: 1
|
|
767
|
+
/* STABLE */
|
|
768
|
+
|
|
769
|
+
}, 8
|
|
770
|
+
/* PROPS */
|
|
771
|
+
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
729
772
|
span: 6,
|
|
730
773
|
style: {
|
|
731
774
|
"text-align": "end"
|
|
@@ -739,19 +782,31 @@ const __default__ = {
|
|
|
739
782
|
step: 0.1,
|
|
740
783
|
"controls-position": "right",
|
|
741
784
|
onChange: _cache[13] || (_cache[13] = $event => paramsChanged('tone'))
|
|
742
|
-
}, null, 8
|
|
743
|
-
|
|
785
|
+
}, null, 8
|
|
786
|
+
/* PROPS */
|
|
787
|
+
, ["modelValue", "step"])]),
|
|
788
|
+
_: 1
|
|
789
|
+
/* STABLE */
|
|
790
|
+
|
|
744
791
|
})]),
|
|
745
|
-
_: 1
|
|
792
|
+
_: 1
|
|
793
|
+
/* STABLE */
|
|
794
|
+
|
|
746
795
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
747
796
|
gutter: 10
|
|
748
797
|
}, {
|
|
749
798
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
750
799
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
751
800
|
}, {
|
|
752
|
-
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_5, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).saturation), 1
|
|
753
|
-
|
|
754
|
-
|
|
801
|
+
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_5, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).saturation), 1
|
|
802
|
+
/* TEXT */
|
|
803
|
+
)]),
|
|
804
|
+
_: 1
|
|
805
|
+
/* STABLE */
|
|
806
|
+
|
|
807
|
+
}, 8
|
|
808
|
+
/* PROPS */
|
|
809
|
+
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
755
810
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 11 : 8
|
|
756
811
|
}, {
|
|
757
812
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
@@ -761,9 +816,15 @@ const __default__ = {
|
|
|
761
816
|
min: 0,
|
|
762
817
|
max: 5,
|
|
763
818
|
onChange: _cache[15] || (_cache[15] = $event => paramsChanged('saturation'))
|
|
764
|
-
}, null, 8
|
|
765
|
-
|
|
766
|
-
|
|
819
|
+
}, null, 8
|
|
820
|
+
/* PROPS */
|
|
821
|
+
, ["modelValue", "step"])]),
|
|
822
|
+
_: 1
|
|
823
|
+
/* STABLE */
|
|
824
|
+
|
|
825
|
+
}, 8
|
|
826
|
+
/* PROPS */
|
|
827
|
+
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
767
828
|
span: 6,
|
|
768
829
|
style: {
|
|
769
830
|
"text-align": "end"
|
|
@@ -777,19 +838,31 @@ const __default__ = {
|
|
|
777
838
|
step: 0.1,
|
|
778
839
|
"controls-position": "right",
|
|
779
840
|
onChange: _cache[17] || (_cache[17] = $event => paramsChanged('saturation'))
|
|
780
|
-
}, null, 8
|
|
781
|
-
|
|
841
|
+
}, null, 8
|
|
842
|
+
/* PROPS */
|
|
843
|
+
, ["modelValue", "step"])]),
|
|
844
|
+
_: 1
|
|
845
|
+
/* STABLE */
|
|
846
|
+
|
|
782
847
|
})]),
|
|
783
|
-
_: 1
|
|
848
|
+
_: 1
|
|
849
|
+
/* STABLE */
|
|
850
|
+
|
|
784
851
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
785
852
|
gutter: 10
|
|
786
853
|
}, {
|
|
787
854
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
788
855
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
789
856
|
}, {
|
|
790
|
-
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_6, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).gamma), 1
|
|
791
|
-
|
|
792
|
-
|
|
857
|
+
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_6, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).gamma), 1
|
|
858
|
+
/* TEXT */
|
|
859
|
+
)]),
|
|
860
|
+
_: 1
|
|
861
|
+
/* STABLE */
|
|
862
|
+
|
|
863
|
+
}, 8
|
|
864
|
+
/* PROPS */
|
|
865
|
+
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
793
866
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 11 : 8
|
|
794
867
|
}, {
|
|
795
868
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
@@ -799,9 +872,15 @@ const __default__ = {
|
|
|
799
872
|
min: 0,
|
|
800
873
|
max: 5,
|
|
801
874
|
onChange: _cache[19] || (_cache[19] = $event => paramsChanged('gamma'))
|
|
802
|
-
}, null, 8
|
|
803
|
-
|
|
804
|
-
|
|
875
|
+
}, null, 8
|
|
876
|
+
/* PROPS */
|
|
877
|
+
, ["modelValue", "step"])]),
|
|
878
|
+
_: 1
|
|
879
|
+
/* STABLE */
|
|
880
|
+
|
|
881
|
+
}, 8
|
|
882
|
+
/* PROPS */
|
|
883
|
+
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
805
884
|
span: 6,
|
|
806
885
|
style: {
|
|
807
886
|
"text-align": "end"
|
|
@@ -815,13 +894,24 @@ const __default__ = {
|
|
|
815
894
|
step: 0.1,
|
|
816
895
|
"controls-position": "right",
|
|
817
896
|
onChange: _cache[21] || (_cache[21] = $event => paramsChanged('gamma'))
|
|
818
|
-
}, null, 8
|
|
819
|
-
|
|
897
|
+
}, null, 8
|
|
898
|
+
/* PROPS */
|
|
899
|
+
, ["modelValue", "step"])]),
|
|
900
|
+
_: 1
|
|
901
|
+
/* STABLE */
|
|
902
|
+
|
|
820
903
|
})]),
|
|
821
|
-
_: 1
|
|
822
|
-
|
|
904
|
+
_: 1
|
|
905
|
+
/* STABLE */
|
|
906
|
+
|
|
907
|
+
})], 512
|
|
908
|
+
/* NEED_PATCH */
|
|
909
|
+
)], 2
|
|
910
|
+
/* CLASS */
|
|
911
|
+
);
|
|
823
912
|
};
|
|
824
913
|
}
|
|
914
|
+
|
|
825
915
|
}));
|
|
826
916
|
;// CONCATENATED MODULE: ./src/webgl/modelfilter/ModelFilter.vue?vue&type=script&setup=true&lang=js
|
|
827
917
|
|
|
@@ -843,11 +933,13 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
|
843
933
|
|
|
844
934
|
|
|
845
935
|
|
|
936
|
+
|
|
846
937
|
ModelFilter.install = (Vue, opts) => {
|
|
847
938
|
init_js_default()(Vue, opts);
|
|
848
939
|
Vue.component(ModelFilter.name, ModelFilter);
|
|
849
940
|
};
|
|
850
941
|
|
|
942
|
+
|
|
851
943
|
}();
|
|
852
944
|
/******/ return __webpack_exports__;
|
|
853
945
|
/******/ })()
|