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