@kq_npm/client3d_webgl_vue 4.5.2 → 4.5.4-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adddata/index.js +355 -538
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +172 -239
- package/baseterraingallery/index.js +124 -145
- package/boxclip/index.js +300 -481
- package/clientPrint/index.js +335 -898
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +226 -246
- package/compass/index.js +96 -84
- package/excavatefillanalysis/index.js +193 -263
- package/fixedzoomin/index.js +91 -76
- package/fixedzoomout/index.js +91 -76
- package/flight/index.js +311 -415
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +255 -393
- package/geologicalbodyanalysis/index.js +215 -298
- package/gpuspatialquery/index.js +260 -402
- package/hawkeye/index.js +141 -103
- package/headertemp/index.js +25 -34
- package/heatmap3d/index.js +451 -763
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +20826 -17774
- package/isolineanalysis/index.js +566 -1243
- package/light/index.js +353 -488
- package/limitheightanalysis/index.js +251 -312
- package/measure/index.js +350 -504
- package/modelFlat/index.js +214 -234
- package/modelexcavate/index.js +206 -262
- package/modelfilter/index.js +229 -308
- package/modelprofileanalysis/index.js +356 -465
- package/modelselect/index.js +192 -184
- package/package.json +1 -1
- package/particleeffect/index.js +259 -430
- package/planeclip/index.js +249 -339
- package/resetview/index.js +89 -69
- package/roller/index.js +307 -363
- package/scaneffect/index.js +285 -582
- package/sceneadvancedtoimage/index.js +1055 -0
- package/sceneadvancedtoimage/style/index.js +3 -0
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
- package/sceneapp/index.js +11149 -0
- package/sceneset/index.js +393 -885
- package/scenetohdimage/index.js +214 -346
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +22780 -19540
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +275 -312
- package/shadowanalysis/index.js +269 -448
- package/sightlineanalysis/index.js +231 -312
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +213 -351
- package/slopeanalysis/index.js +282 -444
- package/slopeaspectanalysis/index.js +315 -534
- package/statusbar/index.js +194 -164
- package/style.css +1 -1
- package/terrainoperation/index.js +230 -280
- package/terrainprofileanalysis/index.js +174 -182
- package/underground/index.js +98 -82
- package/videofusion/index.js +319 -532
- package/videoproject/index.js +325 -534
- package/viewshedanalysis/index.js +178 -275
- package/weathereffect/index.js +199 -343
- package/wireframesketch/index.js +146 -150
package/modelfilter/index.js
CHANGED
|
@@ -7,105 +7,162 @@
|
|
|
7
7
|
var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_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"]);
|
|
8
8
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
9
|
}
|
|
10
|
-
})(this, function(
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__154__, __WEBPACK_EXTERNAL_MODULE__64__, __WEBPACK_EXTERNAL_MODULE__455__, __WEBPACK_EXTERNAL_MODULE__2975__, __WEBPACK_EXTERNAL_MODULE__1103__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 3275:
|
|
16
16
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
17
17
|
|
|
18
|
+
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6363);
|
|
19
|
+
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
20
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(455);
|
|
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.
|
|
25
|
+
*/
|
|
18
26
|
|
|
19
|
-
// UNUSED EXPORTS: default
|
|
20
27
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
var
|
|
26
|
-
;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
|
|
28
|
+
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
29
|
+
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
30
|
+
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
31
|
+
};
|
|
32
|
+
/* unused harmony default export */ var __WEBPACK_DEFAULT_EXPORT__ = ((/* unused pure expression or super */ null && (KqMessage)));
|
|
27
33
|
|
|
34
|
+
/***/ }),
|
|
28
35
|
|
|
36
|
+
/***/ 5698:
|
|
37
|
+
/***/ (function(module) {
|
|
29
38
|
|
|
30
|
-
|
|
31
|
-
init_js_default()(Vue, opts);
|
|
32
|
-
Vue.component("KqMessage", index_full_js_namespaceObject.ElMessage);
|
|
33
|
-
};
|
|
39
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
34
40
|
|
|
35
|
-
|
|
41
|
+
/***/ }),
|
|
42
|
+
|
|
43
|
+
/***/ 2652:
|
|
44
|
+
/***/ (function(module) {
|
|
45
|
+
|
|
46
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
36
47
|
|
|
37
48
|
/***/ }),
|
|
38
49
|
|
|
39
|
-
/***/
|
|
50
|
+
/***/ 3658:
|
|
40
51
|
/***/ (function(module) {
|
|
41
52
|
|
|
42
|
-
module.exports = require("
|
|
53
|
+
module.exports = require("core-js/modules/esnext.iterator.constructor.js");
|
|
43
54
|
|
|
44
55
|
/***/ }),
|
|
45
56
|
|
|
46
|
-
/***/
|
|
57
|
+
/***/ 7993:
|
|
58
|
+
/***/ (function(module) {
|
|
59
|
+
|
|
60
|
+
module.exports = require("core-js/modules/esnext.iterator.find.js");
|
|
61
|
+
|
|
62
|
+
/***/ }),
|
|
63
|
+
|
|
64
|
+
/***/ 6363:
|
|
65
|
+
/***/ (function(module) {
|
|
66
|
+
|
|
67
|
+
module.exports = require("element-plus/dist/index.full.js");
|
|
68
|
+
|
|
69
|
+
/***/ }),
|
|
70
|
+
|
|
71
|
+
/***/ 3579:
|
|
47
72
|
/***/ (function(module) {
|
|
48
73
|
|
|
49
74
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
50
75
|
|
|
51
76
|
/***/ }),
|
|
52
77
|
|
|
53
|
-
/***/
|
|
78
|
+
/***/ 1103:
|
|
54
79
|
/***/ (function(module) {
|
|
55
80
|
|
|
56
|
-
module.exports =
|
|
81
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__1103__;
|
|
57
82
|
|
|
58
83
|
/***/ }),
|
|
59
84
|
|
|
60
|
-
/***/
|
|
85
|
+
/***/ 64:
|
|
61
86
|
/***/ (function(module) {
|
|
62
87
|
|
|
63
|
-
module.exports =
|
|
88
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
|
|
64
89
|
|
|
65
90
|
/***/ }),
|
|
66
91
|
|
|
67
|
-
/***/
|
|
92
|
+
/***/ 2975:
|
|
68
93
|
/***/ (function(module) {
|
|
69
94
|
|
|
70
|
-
module.exports =
|
|
95
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
|
|
71
96
|
|
|
72
97
|
/***/ }),
|
|
73
98
|
|
|
74
|
-
/***/
|
|
99
|
+
/***/ 455:
|
|
75
100
|
/***/ (function(module) {
|
|
76
101
|
|
|
77
|
-
module.exports =
|
|
102
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
|
|
78
103
|
|
|
79
104
|
/***/ }),
|
|
80
105
|
|
|
81
|
-
/***/
|
|
106
|
+
/***/ 154:
|
|
82
107
|
/***/ (function(module) {
|
|
83
108
|
|
|
84
|
-
module.exports =
|
|
109
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
|
|
85
110
|
|
|
86
111
|
/***/ }),
|
|
87
112
|
|
|
88
|
-
/***/
|
|
113
|
+
/***/ 6913:
|
|
89
114
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
90
115
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
function
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
116
|
+
|
|
117
|
+
// EXPORTS
|
|
118
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
119
|
+
A: function() { return /* binding */ _defineProperty; }
|
|
120
|
+
});
|
|
121
|
+
|
|
122
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
123
|
+
function _typeof(o) {
|
|
124
|
+
"@babel/helpers - typeof";
|
|
125
|
+
|
|
126
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
127
|
+
return typeof o;
|
|
128
|
+
} : function (o) {
|
|
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.");
|
|
104
142
|
}
|
|
143
|
+
return ("string" === r ? String : Number)(t);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
105
147
|
|
|
106
|
-
|
|
148
|
+
|
|
149
|
+
function toPropertyKey(t) {
|
|
150
|
+
var i = toPrimitive(t, "string");
|
|
151
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
107
152
|
}
|
|
108
153
|
|
|
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
|
+
|
|
109
166
|
/***/ })
|
|
110
167
|
|
|
111
168
|
/******/ });
|
|
@@ -177,38 +234,47 @@ function _defineProperty(obj, key, value) {
|
|
|
177
234
|
/******/
|
|
178
235
|
/************************************************************************/
|
|
179
236
|
var __webpack_exports__ = {};
|
|
180
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
181
|
-
!function() {
|
|
182
237
|
// ESM COMPAT FLAG
|
|
183
238
|
__webpack_require__.r(__webpack_exports__);
|
|
184
239
|
|
|
185
240
|
// EXPORTS
|
|
186
241
|
__webpack_require__.d(__webpack_exports__, {
|
|
187
|
-
|
|
242
|
+
ModelFilterViewModel: function() { return /* reexport */ ModelFilterViewModel; },
|
|
188
243
|
"default": function() { return /* reexport */ ModelFilter; }
|
|
189
244
|
});
|
|
190
245
|
|
|
191
246
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
192
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
247
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
193
248
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
194
|
-
var gis_utils_ = __webpack_require__(
|
|
195
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
196
|
-
var defineProperty = __webpack_require__(
|
|
197
|
-
// EXTERNAL MODULE:
|
|
198
|
-
var
|
|
249
|
+
var gis_utils_ = __webpack_require__(64);
|
|
250
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
251
|
+
var defineProperty = __webpack_require__(6913);
|
|
252
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
253
|
+
var es_array_push_js_ = __webpack_require__(2652);
|
|
254
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
255
|
+
var esnext_iterator_constructor_js_ = __webpack_require__(3658);
|
|
256
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.find.js"
|
|
257
|
+
var esnext_iterator_find_js_ = __webpack_require__(7993);
|
|
258
|
+
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
259
|
+
var message = __webpack_require__(3275);
|
|
199
260
|
;// CONCATENATED MODULE: ./src/webgl/modelfilter/ModelFilterViewModel.js
|
|
200
261
|
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
/*
|
|
266
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
267
|
+
* All rights reserved.
|
|
268
|
+
*/
|
|
201
269
|
//模型滤镜逻辑类
|
|
202
270
|
|
|
203
271
|
class ModelFilterViewModel {
|
|
204
|
-
//三维viewer对象
|
|
205
|
-
//Box裁剪存储参数对象
|
|
206
272
|
constructor(scenceView, options) {
|
|
207
|
-
(0,defineProperty/* default */.
|
|
208
|
-
|
|
209
|
-
(0,defineProperty/* default */.
|
|
210
|
-
|
|
211
|
-
(0,defineProperty/* default */.
|
|
273
|
+
(0,defineProperty/* default */.A)(this, "_viewer", null);
|
|
274
|
+
//三维viewer对象
|
|
275
|
+
(0,defineProperty/* default */.A)(this, "_options", {});
|
|
276
|
+
//Box裁剪存储参数对象
|
|
277
|
+
(0,defineProperty/* default */.A)(this, "_defaultOptions", {
|
|
212
278
|
//默认参数对象
|
|
213
279
|
brightness: 1,
|
|
214
280
|
contrast: 1,
|
|
@@ -216,17 +282,15 @@ class ModelFilterViewModel {
|
|
|
216
282
|
saturation: 1,
|
|
217
283
|
gamma: 1
|
|
218
284
|
});
|
|
219
|
-
|
|
220
285
|
this._options = Object.assign({}, options, this._defaultOptions);
|
|
221
286
|
this._viewer = scenceView._viewer;
|
|
222
287
|
this._options.viewer = this._viewer;
|
|
223
|
-
}
|
|
224
|
-
|
|
288
|
+
}
|
|
225
289
|
|
|
290
|
+
// 查找所有3dtiles模型对象
|
|
226
291
|
findLayers() {
|
|
227
292
|
let tilesets = [];
|
|
228
293
|
const primitives = this._viewer.scene.primitives._primitives;
|
|
229
|
-
|
|
230
294
|
for (let m = 0; m < primitives.length; m++) {
|
|
231
295
|
if (primitives[m] instanceof Cesium.Cesium3DTileset) {
|
|
232
296
|
tilesets.push({
|
|
@@ -235,57 +299,48 @@ class ModelFilterViewModel {
|
|
|
235
299
|
});
|
|
236
300
|
}
|
|
237
301
|
}
|
|
238
|
-
|
|
239
302
|
return tilesets;
|
|
240
|
-
}
|
|
241
|
-
|
|
303
|
+
}
|
|
242
304
|
|
|
305
|
+
// 设置过滤对象
|
|
243
306
|
setLayer(layerId) {
|
|
244
307
|
if (layerId) {
|
|
245
308
|
this.clear();
|
|
246
309
|
this._options.tileset = this.findLayerById(layerId);
|
|
247
|
-
|
|
248
310
|
this._viewer.flyTo(this._options.tileset);
|
|
249
|
-
|
|
250
311
|
this._options.tileset.colorCorrectEnable = true;
|
|
251
312
|
}
|
|
252
|
-
}
|
|
253
|
-
|
|
313
|
+
}
|
|
254
314
|
|
|
315
|
+
//根据id获取tileset对象
|
|
255
316
|
findLayerById(id) {
|
|
256
317
|
const primitives = this._options.viewer.scene.primitives._primitives;
|
|
257
318
|
const tileset = primitives.find(function (item) {
|
|
258
319
|
return item.guid === id;
|
|
259
320
|
});
|
|
260
321
|
return tileset;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
|
|
322
|
+
}
|
|
323
|
+
// 设置亮度
|
|
264
324
|
setBrightness(newValue) {
|
|
265
325
|
this._options.tileset.brightness = Number(newValue);
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
|
|
326
|
+
}
|
|
327
|
+
// 设置对比
|
|
269
328
|
setContrast(newValue) {
|
|
270
329
|
this._options.tileset.contrast = Number(newValue);
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
|
|
330
|
+
}
|
|
331
|
+
// 设置色调
|
|
274
332
|
setTone(newValue) {
|
|
275
333
|
this._options.tileset.hue = Number(newValue);
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
|
|
334
|
+
}
|
|
335
|
+
// 设置饱和
|
|
279
336
|
setSaturation(newValue) {
|
|
280
337
|
this._options.tileset.saturation = Number(newValue);
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
|
|
338
|
+
}
|
|
339
|
+
// 设置伽马
|
|
284
340
|
setGamma(newValue) {
|
|
285
341
|
this._options.tileset.gamma = Number(newValue);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
|
|
342
|
+
}
|
|
343
|
+
//清除
|
|
289
344
|
clear() {
|
|
290
345
|
if (this._options.tileset) {
|
|
291
346
|
this._options.tileset.brightness = 1;
|
|
@@ -294,22 +349,21 @@ class ModelFilterViewModel {
|
|
|
294
349
|
this._options.tileset.saturation = 1;
|
|
295
350
|
this._options.tileset.gamma = 1;
|
|
296
351
|
}
|
|
297
|
-
}
|
|
298
|
-
|
|
352
|
+
}
|
|
299
353
|
|
|
354
|
+
//销毁
|
|
300
355
|
destroy() {
|
|
301
356
|
this.clear();
|
|
302
357
|
}
|
|
303
|
-
|
|
304
358
|
}
|
|
305
359
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
306
|
-
var client_icons_vue_ = __webpack_require__(
|
|
360
|
+
var client_icons_vue_ = __webpack_require__(5698);
|
|
307
361
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
308
|
-
var util_ = __webpack_require__(
|
|
362
|
+
var util_ = __webpack_require__(2975);
|
|
309
363
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
310
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
364
|
+
var vue_i18n_cjs_js_ = __webpack_require__(3579);
|
|
311
365
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue"
|
|
312
|
-
var client_common_vue_ = __webpack_require__(
|
|
366
|
+
var client_common_vue_ = __webpack_require__(1103);
|
|
313
367
|
;// 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
|
|
314
368
|
|
|
315
369
|
const _hoisted_1 = {
|
|
@@ -336,12 +390,13 @@ const _hoisted_6 = {
|
|
|
336
390
|
|
|
337
391
|
|
|
338
392
|
|
|
339
|
-
|
|
393
|
+
|
|
394
|
+
//语言
|
|
340
395
|
|
|
341
396
|
const __default__ = {
|
|
342
397
|
name: "Kq3dModelFilter"
|
|
343
398
|
};
|
|
344
|
-
/* harmony default export */ var ModelFiltervue_type_script_setup_true_lang_js = (
|
|
399
|
+
/* harmony default export */ var ModelFiltervue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
345
400
|
props: {
|
|
346
401
|
// 设置参数
|
|
347
402
|
settingParams: {
|
|
@@ -352,7 +407,6 @@ const __default__ = {
|
|
|
352
407
|
type: Boolean,
|
|
353
408
|
default: true
|
|
354
409
|
},
|
|
355
|
-
|
|
356
410
|
/**
|
|
357
411
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
358
412
|
*/
|
|
@@ -382,11 +436,9 @@ const __default__ = {
|
|
|
382
436
|
default: true
|
|
383
437
|
}
|
|
384
438
|
},
|
|
385
|
-
|
|
386
439
|
setup(__props, {
|
|
387
|
-
expose
|
|
440
|
+
expose: __expose
|
|
388
441
|
}) {
|
|
389
|
-
const props = __props;
|
|
390
442
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
391
443
|
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
392
444
|
let viewModel = null;
|
|
@@ -394,11 +446,13 @@ const __default__ = {
|
|
|
394
446
|
let tiles = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
|
|
395
447
|
const {
|
|
396
448
|
proxy
|
|
397
|
-
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
449
|
+
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
450
|
+
// 获取组件传参
|
|
451
|
+
const props = __props;
|
|
398
452
|
// 组件容器Ref
|
|
453
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
399
454
|
|
|
400
|
-
|
|
401
|
-
|
|
455
|
+
//模型滤镜参数
|
|
402
456
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
403
457
|
tileset: props.settingParams && props.settingParams.tileset || null,
|
|
404
458
|
brightness: props.settingParams && props.settingParams.brightness || 1,
|
|
@@ -410,12 +464,13 @@ const __default__ = {
|
|
|
410
464
|
saturation: props.settingParams && props.settingParams.saturation || 1,
|
|
411
465
|
// 饱和
|
|
412
466
|
gamma: props.settingParams && props.settingParams.gamma || 1 // 伽马
|
|
467
|
+
});
|
|
413
468
|
|
|
414
|
-
|
|
415
|
-
|
|
469
|
+
// 生成组件默认header
|
|
416
470
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
417
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
471
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
418
472
|
|
|
473
|
+
// 国际化
|
|
419
474
|
let {
|
|
420
475
|
locale,
|
|
421
476
|
messages
|
|
@@ -436,7 +491,6 @@ const __default__ = {
|
|
|
436
491
|
});
|
|
437
492
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
438
493
|
//父组件ScenceView初始化完成后执行
|
|
439
|
-
|
|
440
494
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
441
495
|
if (scenceView) {
|
|
442
496
|
let options = {
|
|
@@ -456,17 +510,16 @@ const __default__ = {
|
|
|
456
510
|
}
|
|
457
511
|
}, 1000);
|
|
458
512
|
});
|
|
513
|
+
|
|
459
514
|
/**
|
|
460
515
|
* @description 监听header生成
|
|
461
516
|
*/
|
|
462
|
-
|
|
463
517
|
const watchCreateHeaderTemp = () => {
|
|
464
518
|
if (props.showHeaderTemp) {
|
|
465
519
|
// 生成headerTemp
|
|
466
520
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
467
521
|
}
|
|
468
522
|
};
|
|
469
|
-
|
|
470
523
|
function paramsChanged(value) {
|
|
471
524
|
if (formItem.tileset) {
|
|
472
525
|
switch (value) {
|
|
@@ -478,30 +531,24 @@ const __default__ = {
|
|
|
478
531
|
viewModel.setSaturation(formItem.saturation);
|
|
479
532
|
viewModel.setGamma(formItem.gamma);
|
|
480
533
|
break;
|
|
481
|
-
|
|
482
534
|
case "brightness":
|
|
483
535
|
viewModel.setBrightness(formItem.brightness);
|
|
484
536
|
break;
|
|
485
|
-
|
|
486
537
|
case "contrast":
|
|
487
538
|
viewModel.setContrast(formItem.contrast);
|
|
488
539
|
break;
|
|
489
|
-
|
|
490
540
|
case "tone":
|
|
491
541
|
viewModel.setTone(formItem.tone);
|
|
492
542
|
break;
|
|
493
|
-
|
|
494
543
|
case "saturation":
|
|
495
544
|
viewModel.setSaturation(formItem.saturation);
|
|
496
545
|
break;
|
|
497
|
-
|
|
498
546
|
case "gamma":
|
|
499
547
|
viewModel.setGamma(formItem.gamma);
|
|
500
548
|
break;
|
|
501
549
|
}
|
|
502
550
|
}
|
|
503
551
|
}
|
|
504
|
-
|
|
505
552
|
function clear() {
|
|
506
553
|
viewModel.clear();
|
|
507
554
|
formItem.brightness = 1;
|
|
@@ -509,29 +556,23 @@ const __default__ = {
|
|
|
509
556
|
formItem.tone = 0;
|
|
510
557
|
formItem.saturation = 1;
|
|
511
558
|
formItem.gamma = 1;
|
|
512
|
-
}
|
|
513
|
-
|
|
559
|
+
}
|
|
514
560
|
|
|
561
|
+
// 销毁
|
|
515
562
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
516
563
|
viewModel && viewModel.destroy();
|
|
517
564
|
});
|
|
518
|
-
|
|
565
|
+
__expose({
|
|
519
566
|
clear,
|
|
520
567
|
paramsChanged
|
|
521
568
|
});
|
|
522
569
|
return (_ctx, _cache) => {
|
|
523
570
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
524
|
-
|
|
525
571
|
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
526
|
-
|
|
527
572
|
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
528
|
-
|
|
529
573
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
530
|
-
|
|
531
574
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
532
|
-
|
|
533
575
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
534
|
-
|
|
535
576
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
536
577
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-model-filter", {
|
|
537
578
|
'kq-box-shadow': __props.showShadow
|
|
@@ -542,9 +583,7 @@ const __default__ = {
|
|
|
542
583
|
key: 0,
|
|
543
584
|
ref_key: "headerTempRef",
|
|
544
585
|
ref: headerTempRef
|
|
545
|
-
}, null, 512
|
|
546
|
-
/* NEED_PATCH */
|
|
547
|
-
)) : (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", {
|
|
586
|
+
}, 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", {
|
|
548
587
|
class: "kq3d-model-filter-box",
|
|
549
588
|
ref_key: "ref_box",
|
|
550
589
|
ref: ref_box
|
|
@@ -554,15 +593,9 @@ const __default__ = {
|
|
|
554
593
|
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, {
|
|
555
594
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
556
595
|
}, {
|
|
557
|
-
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
|
|
558
|
-
/*
|
|
559
|
-
|
|
560
|
-
_: 1
|
|
561
|
-
/* STABLE */
|
|
562
|
-
|
|
563
|
-
}, 8
|
|
564
|
-
/* PROPS */
|
|
565
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
596
|
+
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 /* TEXT */)]),
|
|
597
|
+
_: 1 /* STABLE */
|
|
598
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
566
599
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 17 : 14
|
|
567
600
|
}, {
|
|
568
601
|
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, {
|
|
@@ -581,48 +614,24 @@ const __default__ = {
|
|
|
581
614
|
value: item.guid,
|
|
582
615
|
label: item.name
|
|
583
616
|
}, {
|
|
584
|
-
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
|
|
585
|
-
/*
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
}), 128
|
|
594
|
-
/* KEYED_FRAGMENT */
|
|
595
|
-
))]),
|
|
596
|
-
_: 1
|
|
597
|
-
/* STABLE */
|
|
598
|
-
|
|
599
|
-
}, 8
|
|
600
|
-
/* PROPS */
|
|
601
|
-
, ["modelValue"])]),
|
|
602
|
-
_: 1
|
|
603
|
-
/* STABLE */
|
|
604
|
-
|
|
605
|
-
}, 8
|
|
606
|
-
/* PROPS */
|
|
607
|
-
, ["span"])]),
|
|
608
|
-
_: 1
|
|
609
|
-
/* STABLE */
|
|
610
|
-
|
|
617
|
+
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 */)]),
|
|
618
|
+
_: 2 /* DYNAMIC */
|
|
619
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["value", "label"]);
|
|
620
|
+
}), 128 /* KEYED_FRAGMENT */))]),
|
|
621
|
+
_: 1 /* STABLE */
|
|
622
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
623
|
+
_: 1 /* STABLE */
|
|
624
|
+
}, 8 /* PROPS */, ["span"])]),
|
|
625
|
+
_: 1 /* STABLE */
|
|
611
626
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
612
627
|
gutter: 10
|
|
613
628
|
}, {
|
|
614
629
|
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, {
|
|
615
630
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
616
631
|
}, {
|
|
617
|
-
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
|
|
618
|
-
/*
|
|
619
|
-
|
|
620
|
-
_: 1
|
|
621
|
-
/* STABLE */
|
|
622
|
-
|
|
623
|
-
}, 8
|
|
624
|
-
/* PROPS */
|
|
625
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
632
|
+
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 /* TEXT */)]),
|
|
633
|
+
_: 1 /* STABLE */
|
|
634
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
626
635
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 11 : 8
|
|
627
636
|
}, {
|
|
628
637
|
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, {
|
|
@@ -632,15 +641,9 @@ const __default__ = {
|
|
|
632
641
|
min: 0,
|
|
633
642
|
max: 5,
|
|
634
643
|
onInput: _cache[3] || (_cache[3] = $event => paramsChanged('brightness'))
|
|
635
|
-
}, null, 8
|
|
636
|
-
/*
|
|
637
|
-
|
|
638
|
-
_: 1
|
|
639
|
-
/* STABLE */
|
|
640
|
-
|
|
641
|
-
}, 8
|
|
642
|
-
/* PROPS */
|
|
643
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
644
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
645
|
+
_: 1 /* STABLE */
|
|
646
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
644
647
|
span: 6,
|
|
645
648
|
style: {
|
|
646
649
|
"text-align": "end"
|
|
@@ -654,31 +657,19 @@ const __default__ = {
|
|
|
654
657
|
step: 0.1,
|
|
655
658
|
"controls-position": "right",
|
|
656
659
|
onInput: _cache[5] || (_cache[5] = $event => paramsChanged('brightness'))
|
|
657
|
-
}, null, 8
|
|
658
|
-
/*
|
|
659
|
-
, ["modelValue", "step"])]),
|
|
660
|
-
_: 1
|
|
661
|
-
/* STABLE */
|
|
662
|
-
|
|
660
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
661
|
+
_: 1 /* STABLE */
|
|
663
662
|
})]),
|
|
664
|
-
_: 1
|
|
665
|
-
/* STABLE */
|
|
666
|
-
|
|
663
|
+
_: 1 /* STABLE */
|
|
667
664
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
668
665
|
gutter: 10
|
|
669
666
|
}, {
|
|
670
667
|
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, {
|
|
671
668
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
672
669
|
}, {
|
|
673
|
-
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
|
|
674
|
-
/*
|
|
675
|
-
|
|
676
|
-
_: 1
|
|
677
|
-
/* STABLE */
|
|
678
|
-
|
|
679
|
-
}, 8
|
|
680
|
-
/* PROPS */
|
|
681
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
670
|
+
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 /* TEXT */)]),
|
|
671
|
+
_: 1 /* STABLE */
|
|
672
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
682
673
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 11 : 8
|
|
683
674
|
}, {
|
|
684
675
|
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, {
|
|
@@ -688,15 +679,9 @@ const __default__ = {
|
|
|
688
679
|
min: 0,
|
|
689
680
|
max: 5,
|
|
690
681
|
onInput: _cache[7] || (_cache[7] = $event => paramsChanged('contrast'))
|
|
691
|
-
}, null, 8
|
|
692
|
-
/*
|
|
693
|
-
|
|
694
|
-
_: 1
|
|
695
|
-
/* STABLE */
|
|
696
|
-
|
|
697
|
-
}, 8
|
|
698
|
-
/* PROPS */
|
|
699
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
682
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
683
|
+
_: 1 /* STABLE */
|
|
684
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
700
685
|
span: 6,
|
|
701
686
|
style: {
|
|
702
687
|
"text-align": "end"
|
|
@@ -710,31 +695,19 @@ const __default__ = {
|
|
|
710
695
|
step: 0.1,
|
|
711
696
|
"controls-position": "right",
|
|
712
697
|
onInput: _cache[9] || (_cache[9] = $event => paramsChanged('contrast'))
|
|
713
|
-
}, null, 8
|
|
714
|
-
/*
|
|
715
|
-
, ["modelValue", "step"])]),
|
|
716
|
-
_: 1
|
|
717
|
-
/* STABLE */
|
|
718
|
-
|
|
698
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
699
|
+
_: 1 /* STABLE */
|
|
719
700
|
})]),
|
|
720
|
-
_: 1
|
|
721
|
-
/* STABLE */
|
|
722
|
-
|
|
701
|
+
_: 1 /* STABLE */
|
|
723
702
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
724
703
|
gutter: 10
|
|
725
704
|
}, {
|
|
726
705
|
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, {
|
|
727
706
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
728
707
|
}, {
|
|
729
|
-
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
|
|
730
|
-
/*
|
|
731
|
-
|
|
732
|
-
_: 1
|
|
733
|
-
/* STABLE */
|
|
734
|
-
|
|
735
|
-
}, 8
|
|
736
|
-
/* PROPS */
|
|
737
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
708
|
+
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 /* TEXT */)]),
|
|
709
|
+
_: 1 /* STABLE */
|
|
710
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
738
711
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 11 : 8
|
|
739
712
|
}, {
|
|
740
713
|
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, {
|
|
@@ -744,15 +717,9 @@ const __default__ = {
|
|
|
744
717
|
min: 0,
|
|
745
718
|
max: 5,
|
|
746
719
|
onInput: _cache[11] || (_cache[11] = $event => paramsChanged('tone'))
|
|
747
|
-
}, null, 8
|
|
748
|
-
/*
|
|
749
|
-
|
|
750
|
-
_: 1
|
|
751
|
-
/* STABLE */
|
|
752
|
-
|
|
753
|
-
}, 8
|
|
754
|
-
/* PROPS */
|
|
755
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
720
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
721
|
+
_: 1 /* STABLE */
|
|
722
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
756
723
|
span: 6,
|
|
757
724
|
style: {
|
|
758
725
|
"text-align": "end"
|
|
@@ -766,31 +733,19 @@ const __default__ = {
|
|
|
766
733
|
step: 0.1,
|
|
767
734
|
"controls-position": "right",
|
|
768
735
|
onInput: _cache[13] || (_cache[13] = $event => paramsChanged('tone'))
|
|
769
|
-
}, null, 8
|
|
770
|
-
/*
|
|
771
|
-
, ["modelValue", "step"])]),
|
|
772
|
-
_: 1
|
|
773
|
-
/* STABLE */
|
|
774
|
-
|
|
736
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
737
|
+
_: 1 /* STABLE */
|
|
775
738
|
})]),
|
|
776
|
-
_: 1
|
|
777
|
-
/* STABLE */
|
|
778
|
-
|
|
739
|
+
_: 1 /* STABLE */
|
|
779
740
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
780
741
|
gutter: 10
|
|
781
742
|
}, {
|
|
782
743
|
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, {
|
|
783
744
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
784
745
|
}, {
|
|
785
|
-
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
|
|
786
|
-
/*
|
|
787
|
-
|
|
788
|
-
_: 1
|
|
789
|
-
/* STABLE */
|
|
790
|
-
|
|
791
|
-
}, 8
|
|
792
|
-
/* PROPS */
|
|
793
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
746
|
+
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 /* TEXT */)]),
|
|
747
|
+
_: 1 /* STABLE */
|
|
748
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
794
749
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 11 : 8
|
|
795
750
|
}, {
|
|
796
751
|
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, {
|
|
@@ -800,15 +755,9 @@ const __default__ = {
|
|
|
800
755
|
min: 0,
|
|
801
756
|
max: 5,
|
|
802
757
|
onInput: _cache[15] || (_cache[15] = $event => paramsChanged('saturation'))
|
|
803
|
-
}, null, 8
|
|
804
|
-
/*
|
|
805
|
-
|
|
806
|
-
_: 1
|
|
807
|
-
/* STABLE */
|
|
808
|
-
|
|
809
|
-
}, 8
|
|
810
|
-
/* PROPS */
|
|
811
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
758
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
759
|
+
_: 1 /* STABLE */
|
|
760
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
812
761
|
span: 6,
|
|
813
762
|
style: {
|
|
814
763
|
"text-align": "end"
|
|
@@ -822,31 +771,19 @@ const __default__ = {
|
|
|
822
771
|
step: 0.1,
|
|
823
772
|
"controls-position": "right",
|
|
824
773
|
onInput: _cache[17] || (_cache[17] = $event => paramsChanged('saturation'))
|
|
825
|
-
}, null, 8
|
|
826
|
-
/*
|
|
827
|
-
, ["modelValue", "step"])]),
|
|
828
|
-
_: 1
|
|
829
|
-
/* STABLE */
|
|
830
|
-
|
|
774
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
775
|
+
_: 1 /* STABLE */
|
|
831
776
|
})]),
|
|
832
|
-
_: 1
|
|
833
|
-
/* STABLE */
|
|
834
|
-
|
|
777
|
+
_: 1 /* STABLE */
|
|
835
778
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
836
779
|
gutter: 10
|
|
837
780
|
}, {
|
|
838
781
|
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, {
|
|
839
782
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
840
783
|
}, {
|
|
841
|
-
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
|
|
842
|
-
/*
|
|
843
|
-
|
|
844
|
-
_: 1
|
|
845
|
-
/* STABLE */
|
|
846
|
-
|
|
847
|
-
}, 8
|
|
848
|
-
/* PROPS */
|
|
849
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
784
|
+
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 /* TEXT */)]),
|
|
785
|
+
_: 1 /* STABLE */
|
|
786
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
850
787
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 11 : 8
|
|
851
788
|
}, {
|
|
852
789
|
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, {
|
|
@@ -856,15 +793,9 @@ const __default__ = {
|
|
|
856
793
|
min: 0,
|
|
857
794
|
max: 5,
|
|
858
795
|
onInput: _cache[19] || (_cache[19] = $event => paramsChanged('gamma'))
|
|
859
|
-
}, null, 8
|
|
860
|
-
/*
|
|
861
|
-
|
|
862
|
-
_: 1
|
|
863
|
-
/* STABLE */
|
|
864
|
-
|
|
865
|
-
}, 8
|
|
866
|
-
/* PROPS */
|
|
867
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
796
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
797
|
+
_: 1 /* STABLE */
|
|
798
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
868
799
|
span: 6,
|
|
869
800
|
style: {
|
|
870
801
|
"text-align": "end"
|
|
@@ -878,24 +809,13 @@ const __default__ = {
|
|
|
878
809
|
step: 0.1,
|
|
879
810
|
"controls-position": "right",
|
|
880
811
|
onInput: _cache[21] || (_cache[21] = $event => paramsChanged('gamma'))
|
|
881
|
-
}, null, 8
|
|
882
|
-
/*
|
|
883
|
-
, ["modelValue", "step"])]),
|
|
884
|
-
_: 1
|
|
885
|
-
/* STABLE */
|
|
886
|
-
|
|
812
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
813
|
+
_: 1 /* STABLE */
|
|
887
814
|
})]),
|
|
888
|
-
_: 1
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
})], 512
|
|
892
|
-
/* NEED_PATCH */
|
|
893
|
-
)], 2
|
|
894
|
-
/* CLASS */
|
|
895
|
-
);
|
|
815
|
+
_: 1 /* STABLE */
|
|
816
|
+
})], 512 /* NEED_PATCH */)], 2 /* CLASS */);
|
|
896
817
|
};
|
|
897
818
|
}
|
|
898
|
-
|
|
899
819
|
}));
|
|
900
820
|
;// CONCATENATED MODULE: ./src/webgl/modelfilter/ModelFilter.vue?vue&type=script&setup=true&lang=js
|
|
901
821
|
|
|
@@ -907,10 +827,13 @@ const __exports__ = ModelFiltervue_type_script_setup_true_lang_js;
|
|
|
907
827
|
|
|
908
828
|
/* harmony default export */ var ModelFilter = (__exports__);
|
|
909
829
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
910
|
-
var init_js_ = __webpack_require__(
|
|
830
|
+
var init_js_ = __webpack_require__(455);
|
|
911
831
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
912
832
|
;// CONCATENATED MODULE: ./src/webgl/modelfilter/index.js
|
|
913
|
-
|
|
833
|
+
/*
|
|
834
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
835
|
+
* All rights reserved.
|
|
836
|
+
*/
|
|
914
837
|
|
|
915
838
|
|
|
916
839
|
|
|
@@ -919,8 +842,6 @@ ModelFilter.install = (Vue, opts) => {
|
|
|
919
842
|
Vue.component(ModelFilter.name, ModelFilter);
|
|
920
843
|
};
|
|
921
844
|
|
|
922
|
-
|
|
923
|
-
}();
|
|
924
845
|
/******/ return __webpack_exports__;
|
|
925
846
|
/******/ })()
|
|
926
847
|
;
|