@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/weathereffect/index.js
CHANGED
|
@@ -7,81 +7,113 @@
|
|
|
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/_utils/const-image"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/init.js")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/_utils/const-image"], root["@kq_npm/client_common_vue/_utils/util"], root["@kq_npm/client_common_vue/init.js"]);
|
|
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__4822__, __WEBPACK_EXTERNAL_MODULE__2975__, __WEBPACK_EXTERNAL_MODULE__455__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 5698:
|
|
16
16
|
/***/ (function(module) {
|
|
17
17
|
|
|
18
18
|
module.exports = require("@kq_npm/client_icons_vue");
|
|
19
19
|
|
|
20
20
|
/***/ }),
|
|
21
21
|
|
|
22
|
-
/***/
|
|
22
|
+
/***/ 3579:
|
|
23
23
|
/***/ (function(module) {
|
|
24
24
|
|
|
25
25
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
26
26
|
|
|
27
27
|
/***/ }),
|
|
28
28
|
|
|
29
|
-
/***/
|
|
29
|
+
/***/ 4822:
|
|
30
30
|
/***/ (function(module) {
|
|
31
31
|
|
|
32
|
-
module.exports =
|
|
32
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__4822__;
|
|
33
33
|
|
|
34
34
|
/***/ }),
|
|
35
35
|
|
|
36
|
-
/***/
|
|
36
|
+
/***/ 64:
|
|
37
37
|
/***/ (function(module) {
|
|
38
38
|
|
|
39
|
-
module.exports =
|
|
39
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
|
|
40
40
|
|
|
41
41
|
/***/ }),
|
|
42
42
|
|
|
43
|
-
/***/
|
|
43
|
+
/***/ 2975:
|
|
44
44
|
/***/ (function(module) {
|
|
45
45
|
|
|
46
|
-
module.exports =
|
|
46
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
|
|
47
47
|
|
|
48
48
|
/***/ }),
|
|
49
49
|
|
|
50
|
-
/***/
|
|
50
|
+
/***/ 455:
|
|
51
51
|
/***/ (function(module) {
|
|
52
52
|
|
|
53
|
-
module.exports =
|
|
53
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
|
|
54
54
|
|
|
55
55
|
/***/ }),
|
|
56
56
|
|
|
57
|
-
/***/
|
|
57
|
+
/***/ 154:
|
|
58
58
|
/***/ (function(module) {
|
|
59
59
|
|
|
60
|
-
module.exports =
|
|
60
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
|
|
61
61
|
|
|
62
62
|
/***/ }),
|
|
63
63
|
|
|
64
|
-
/***/
|
|
64
|
+
/***/ 6913:
|
|
65
65
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
function
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
67
|
+
|
|
68
|
+
// EXPORTS
|
|
69
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
70
|
+
A: function() { return /* binding */ _defineProperty; }
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
74
|
+
function _typeof(o) {
|
|
75
|
+
"@babel/helpers - typeof";
|
|
76
|
+
|
|
77
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
78
|
+
return typeof o;
|
|
79
|
+
} : function (o) {
|
|
80
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
81
|
+
}, _typeof(o);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
85
|
+
|
|
86
|
+
function toPrimitive(t, r) {
|
|
87
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
88
|
+
var e = t[Symbol.toPrimitive];
|
|
89
|
+
if (void 0 !== e) {
|
|
90
|
+
var i = e.call(t, r || "default");
|
|
91
|
+
if ("object" != _typeof(i)) return i;
|
|
92
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
80
93
|
}
|
|
94
|
+
return ("string" === r ? String : Number)(t);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
98
|
+
|
|
81
99
|
|
|
82
|
-
|
|
100
|
+
function toPropertyKey(t) {
|
|
101
|
+
var i = toPrimitive(t, "string");
|
|
102
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
83
103
|
}
|
|
84
104
|
|
|
105
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
106
|
+
|
|
107
|
+
function _defineProperty(e, r, t) {
|
|
108
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
109
|
+
value: t,
|
|
110
|
+
enumerable: !0,
|
|
111
|
+
configurable: !0,
|
|
112
|
+
writable: !0
|
|
113
|
+
}) : e[r] = t, e;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
|
|
85
117
|
/***/ })
|
|
86
118
|
|
|
87
119
|
/******/ });
|
|
@@ -153,59 +185,53 @@ function _defineProperty(obj, key, value) {
|
|
|
153
185
|
/******/
|
|
154
186
|
/************************************************************************/
|
|
155
187
|
var __webpack_exports__ = {};
|
|
156
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
157
|
-
!function() {
|
|
158
188
|
// ESM COMPAT FLAG
|
|
159
189
|
__webpack_require__.r(__webpack_exports__);
|
|
160
190
|
|
|
161
191
|
// EXPORTS
|
|
162
192
|
__webpack_require__.d(__webpack_exports__, {
|
|
163
|
-
|
|
193
|
+
WeatherEffectViewModel: function() { return /* reexport */ WeatherEffectViewModel; },
|
|
164
194
|
"default": function() { return /* reexport */ WeatherEffect; }
|
|
165
195
|
});
|
|
166
196
|
|
|
167
197
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
168
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
198
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
169
199
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
170
|
-
var gis_utils_ = __webpack_require__(
|
|
200
|
+
var gis_utils_ = __webpack_require__(64);
|
|
171
201
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
172
|
-
var client_icons_vue_ = __webpack_require__(
|
|
173
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
174
|
-
var defineProperty = __webpack_require__(
|
|
202
|
+
var client_icons_vue_ = __webpack_require__(5698);
|
|
203
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
204
|
+
var defineProperty = __webpack_require__(6913);
|
|
175
205
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
176
|
-
var const_image_ = __webpack_require__(
|
|
206
|
+
var const_image_ = __webpack_require__(4822);
|
|
177
207
|
;// CONCATENATED MODULE: ./src/webgl/weathereffect/WeatherEffectViewModel.js
|
|
178
208
|
|
|
209
|
+
/*
|
|
210
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
211
|
+
* All rights reserved.
|
|
212
|
+
*/
|
|
179
213
|
|
|
180
214
|
let _gravityScratch = null;
|
|
181
215
|
let _gravityStart = 0.0;
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
216
|
+
let _gravityEnd = -1.0;
|
|
217
|
+
//天气特效逻辑类
|
|
186
218
|
class WeatherEffectViewModel {
|
|
187
|
-
//三维球场景视图对象
|
|
188
|
-
//粒子系统三维对象
|
|
189
|
-
//绘制管理对象
|
|
190
|
-
//绘制完成监听事件
|
|
191
|
-
//天气特效存储参数对象
|
|
192
|
-
//雨图片url地址
|
|
193
219
|
//雪图片url地址
|
|
194
|
-
constructor(scenceView) {
|
|
195
|
-
(0,defineProperty/* default */.Z)(this, "_scene", null);
|
|
196
|
-
|
|
197
|
-
(0,defineProperty/* default */.Z)(this, "_particleSystem", null);
|
|
198
|
-
|
|
199
|
-
(0,defineProperty/* default */.Z)(this, "_drawManager", null);
|
|
200
|
-
|
|
201
|
-
(0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
|
|
202
|
-
|
|
203
|
-
(0,defineProperty/* default */.Z)(this, "_options", null);
|
|
204
|
-
|
|
205
|
-
(0,defineProperty/* default */.Z)(this, "_rainImage", const_image_.RAIN_URL);
|
|
206
|
-
|
|
207
|
-
(0,defineProperty/* default */.Z)(this, "_snowImage", const_image_.SNOW_URL);
|
|
208
220
|
|
|
221
|
+
constructor(scenceView) {
|
|
222
|
+
(0,defineProperty/* default */.A)(this, "_scene", null);
|
|
223
|
+
//三维球场景视图对象
|
|
224
|
+
(0,defineProperty/* default */.A)(this, "_particleSystem", null);
|
|
225
|
+
//粒子系统三维对象
|
|
226
|
+
(0,defineProperty/* default */.A)(this, "_drawManager", null);
|
|
227
|
+
//绘制管理对象
|
|
228
|
+
(0,defineProperty/* default */.A)(this, "_removeEventListener", null);
|
|
229
|
+
//绘制完成监听事件
|
|
230
|
+
(0,defineProperty/* default */.A)(this, "_options", null);
|
|
231
|
+
//天气特效存储参数对象
|
|
232
|
+
(0,defineProperty/* default */.A)(this, "_rainImage", const_image_.RAIN_URL);
|
|
233
|
+
//雨图片url地址
|
|
234
|
+
(0,defineProperty/* default */.A)(this, "_snowImage", const_image_.SNOW_URL);
|
|
209
235
|
scenceView._viewer.clock.shouldAnimate = true;
|
|
210
236
|
scenceView._viewer.clock.multiplier = 0.6;
|
|
211
237
|
scenceView._viewer.scene.globe.depthTestAgainstTerrain = true;
|
|
@@ -216,12 +242,9 @@ class WeatherEffectViewModel {
|
|
|
216
242
|
that._removeEventListener = that._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
217
243
|
if (shape && shape.type === "marker") {
|
|
218
244
|
that._drawManager.clear();
|
|
219
|
-
|
|
220
245
|
let position = shape.position;
|
|
221
|
-
|
|
222
246
|
if (position) {
|
|
223
247
|
let matrix = new Cesium.Matrix4.fromTranslation(position);
|
|
224
|
-
|
|
225
248
|
if (!that._particleSystem) {
|
|
226
249
|
that._particleSystem = new Cesium.ParticleSystem({
|
|
227
250
|
modelMatrix: matrix,
|
|
@@ -238,7 +261,6 @@ class WeatherEffectViewModel {
|
|
|
238
261
|
show: true,
|
|
239
262
|
updateCallback: that.applyGravity
|
|
240
263
|
});
|
|
241
|
-
|
|
242
264
|
that._scene.primitives.add(that._particleSystem);
|
|
243
265
|
} else {
|
|
244
266
|
that._particleSystem.modelMatrix = matrix;
|
|
@@ -247,92 +269,80 @@ class WeatherEffectViewModel {
|
|
|
247
269
|
}
|
|
248
270
|
});
|
|
249
271
|
}
|
|
250
|
-
|
|
251
272
|
applyGravity(particle, dt) {
|
|
252
273
|
_gravityScratch = Cesium.Cartesian3.normalize(particle.position, _gravityScratch);
|
|
253
274
|
Cesium.Cartesian3.multiplyByScalar(_gravityScratch, Cesium.Math.randomBetween(_gravityStart, _gravityEnd), _gravityScratch);
|
|
254
275
|
particle.velocity = Cesium.Cartesian3.add(particle.velocity, _gravityScratch, particle.velocity);
|
|
255
|
-
}
|
|
256
|
-
|
|
276
|
+
}
|
|
257
277
|
|
|
278
|
+
//添加天气特效
|
|
258
279
|
addWeatherEffect(options) {
|
|
259
280
|
let mode = options.mode;
|
|
260
|
-
|
|
261
281
|
if (mode !== "rain" && mode !== "snow") {
|
|
262
282
|
console.log("This mode is not supported.");
|
|
263
283
|
return;
|
|
264
284
|
}
|
|
265
|
-
|
|
266
285
|
if (options.gravity) this.setGravity(options.gravity);
|
|
267
286
|
this._options = options;
|
|
268
|
-
|
|
269
287
|
this._drawManager.startDraw("marker", {
|
|
270
288
|
image: null
|
|
271
289
|
});
|
|
272
|
-
}
|
|
273
|
-
|
|
290
|
+
}
|
|
274
291
|
|
|
292
|
+
//清除天气特效
|
|
275
293
|
clear() {
|
|
276
294
|
this._drawManager.stopDraw();
|
|
277
|
-
|
|
278
295
|
this._drawManager.clear();
|
|
279
|
-
|
|
280
296
|
this._particleSystem && this._scene.primitives.remove(this._particleSystem);
|
|
281
297
|
this._particleSystem = null;
|
|
282
|
-
}
|
|
283
|
-
|
|
298
|
+
}
|
|
284
299
|
|
|
300
|
+
//销毁
|
|
285
301
|
destroy() {
|
|
286
|
-
this.clear();
|
|
287
|
-
|
|
302
|
+
this.clear();
|
|
303
|
+
//移除监听事件
|
|
288
304
|
this._removeEventListener && this._removeEventListener();
|
|
289
305
|
this._removeEventListener = null;
|
|
290
|
-
}
|
|
291
|
-
|
|
306
|
+
}
|
|
292
307
|
|
|
308
|
+
//设置范围半径
|
|
293
309
|
setRangeRadius(radius) {
|
|
294
310
|
if (this._particleSystem) {
|
|
295
311
|
this._particleSystem.emitter = new Cesium.BoxEmitter(new Cesium.Cartesian3(radius, radius, radius));
|
|
296
312
|
}
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
|
|
313
|
+
}
|
|
314
|
+
//设置粒子数量
|
|
300
315
|
setParticleNumber(number) {
|
|
301
316
|
if (this._particleSystem) {
|
|
302
317
|
this._particleSystem.emissionRate = number;
|
|
303
318
|
}
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
|
|
319
|
+
}
|
|
320
|
+
//设置粒子大小
|
|
307
321
|
setParticleSize(size) {
|
|
308
322
|
if (this._particleSystem) {
|
|
309
323
|
this._particleSystem.minimumImageSize = new Cesium.Cartesian2(size, size);
|
|
310
324
|
this._particleSystem.maximumImageSize = new Cesium.Cartesian2(size, size);
|
|
311
325
|
}
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
|
|
326
|
+
}
|
|
327
|
+
//设置生命周期
|
|
315
328
|
setLifeCycle(lifeCycle) {
|
|
316
329
|
if (this._particleSystem) {
|
|
317
330
|
this._particleSystem.lifetime = lifeCycle;
|
|
318
331
|
}
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
|
|
332
|
+
}
|
|
333
|
+
//设置初始比例
|
|
322
334
|
setStartScale(startScale) {
|
|
323
335
|
if (this._particleSystem) {
|
|
324
336
|
this._particleSystem.startScale = startScale;
|
|
325
337
|
}
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
|
|
338
|
+
}
|
|
339
|
+
//设置结束比例
|
|
329
340
|
setEndScale(endScale) {
|
|
330
341
|
if (this._particleSystem) {
|
|
331
342
|
this._particleSystem.endScale = endScale;
|
|
332
343
|
}
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
|
|
344
|
+
}
|
|
345
|
+
//设置重力
|
|
336
346
|
setGravity(gravity) {
|
|
337
347
|
if (gravity <= 1) {
|
|
338
348
|
_gravityStart = 0.0;
|
|
@@ -342,12 +352,11 @@ class WeatherEffectViewModel {
|
|
|
342
352
|
_gravityEnd = 0 - gravity;
|
|
343
353
|
}
|
|
344
354
|
}
|
|
345
|
-
|
|
346
355
|
}
|
|
347
356
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
348
|
-
var util_ = __webpack_require__(
|
|
357
|
+
var util_ = __webpack_require__(2975);
|
|
349
358
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
350
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
359
|
+
var vue_i18n_cjs_js_ = __webpack_require__(3579);
|
|
351
360
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/weathereffect/WeatherEffect.vue?vue&type=script&setup=true&lang=js
|
|
352
361
|
|
|
353
362
|
const _hoisted_1 = {
|
|
@@ -365,7 +374,7 @@ const _hoisted_2 = {
|
|
|
365
374
|
const __default__ = {
|
|
366
375
|
name: "Kq3dWeatherEffect"
|
|
367
376
|
};
|
|
368
|
-
/* harmony default export */ var WeatherEffectvue_type_script_setup_true_lang_js = (
|
|
377
|
+
/* harmony default export */ var WeatherEffectvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
369
378
|
props: {
|
|
370
379
|
// 设置参数
|
|
371
380
|
settingParams: {
|
|
@@ -376,7 +385,6 @@ const __default__ = {
|
|
|
376
385
|
type: Boolean,
|
|
377
386
|
default: true
|
|
378
387
|
},
|
|
379
|
-
|
|
380
388
|
/**
|
|
381
389
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
382
390
|
*/
|
|
@@ -406,18 +414,18 @@ const __default__ = {
|
|
|
406
414
|
default: true
|
|
407
415
|
}
|
|
408
416
|
},
|
|
409
|
-
|
|
410
417
|
setup(__props, {
|
|
411
|
-
expose
|
|
418
|
+
expose: __expose
|
|
412
419
|
}) {
|
|
413
|
-
const props = __props;
|
|
414
420
|
const {
|
|
415
421
|
proxy
|
|
416
422
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
417
423
|
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
418
424
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
419
|
-
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
425
|
+
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
420
426
|
|
|
427
|
+
// 获取组件传参
|
|
428
|
+
const props = __props;
|
|
421
429
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
422
430
|
mode: props.settingParams && props.settingParams.mode || "rain",
|
|
423
431
|
rangeRadius: props.settingParams && props.settingParams.rangeRadius || 100,
|
|
@@ -428,13 +436,16 @@ const __default__ = {
|
|
|
428
436
|
endScale: props.settingParams && props.settingParams.endScale || 1.3,
|
|
429
437
|
gravity: props.settingParams && props.settingParams.gravity || 1
|
|
430
438
|
});
|
|
431
|
-
let viewModel = null;
|
|
439
|
+
let viewModel = null;
|
|
432
440
|
|
|
433
|
-
|
|
441
|
+
// 组件容器Ref
|
|
442
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
434
443
|
|
|
444
|
+
// 生成组件默认header
|
|
435
445
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
436
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
446
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
437
447
|
|
|
448
|
+
// 国际化
|
|
438
449
|
let {
|
|
439
450
|
locale,
|
|
440
451
|
messages
|
|
@@ -454,30 +465,28 @@ const __default__ = {
|
|
|
454
465
|
watchCreateHeaderTemp();
|
|
455
466
|
});
|
|
456
467
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
457
|
-
|
|
458
468
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
459
469
|
if (scenceView) {
|
|
460
470
|
viewModel = new WeatherEffectViewModel(scenceView);
|
|
461
471
|
}
|
|
462
472
|
});
|
|
463
473
|
});
|
|
474
|
+
|
|
464
475
|
/**
|
|
465
476
|
* @description 监听header生成
|
|
466
477
|
*/
|
|
467
|
-
|
|
468
478
|
const watchCreateHeaderTemp = () => {
|
|
469
479
|
if (props.showHeaderTemp) {
|
|
470
480
|
// 生成headerTemp
|
|
471
481
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
472
482
|
}
|
|
473
|
-
};
|
|
474
|
-
|
|
483
|
+
};
|
|
475
484
|
|
|
485
|
+
//切换雨雪天气特效
|
|
476
486
|
function changeMode(mode) {
|
|
477
487
|
if (formItem.mode !== mode) {
|
|
478
488
|
viewModel && viewModel.clear();
|
|
479
489
|
formItem.mode = mode;
|
|
480
|
-
|
|
481
490
|
if (mode === "rain") {
|
|
482
491
|
formItem.particleSize = 2.0;
|
|
483
492
|
formItem.startScale = 1.1;
|
|
@@ -489,55 +498,45 @@ const __default__ = {
|
|
|
489
498
|
}
|
|
490
499
|
}
|
|
491
500
|
}
|
|
492
|
-
|
|
493
501
|
function paramsChanged(key) {
|
|
494
502
|
switch (key) {
|
|
495
503
|
case "rangeRadius":
|
|
496
504
|
viewModel.setRangeRadius(formItem.rangeRadius);
|
|
497
505
|
break;
|
|
498
|
-
|
|
499
506
|
case "particleNum":
|
|
500
507
|
viewModel.setParticleNumber(formItem.particleNum);
|
|
501
508
|
break;
|
|
502
|
-
|
|
503
509
|
case "particleSize":
|
|
504
510
|
viewModel.setParticleSize(formItem.particleSize);
|
|
505
511
|
break;
|
|
506
|
-
|
|
507
512
|
case "lifeCycle":
|
|
508
513
|
viewModel.setLifeCycle(formItem.lifeCycle);
|
|
509
514
|
break;
|
|
510
|
-
|
|
511
515
|
case "startScale":
|
|
512
516
|
viewModel.setStartScale(formItem.startScale);
|
|
513
517
|
break;
|
|
514
|
-
|
|
515
518
|
case "endScale":
|
|
516
519
|
viewModel.setEndScale(formItem.endScale);
|
|
517
520
|
break;
|
|
518
|
-
|
|
519
521
|
case "gravity":
|
|
520
522
|
viewModel.setGravity(formItem.gravity);
|
|
521
523
|
break;
|
|
522
|
-
|
|
523
524
|
default:
|
|
524
525
|
break;
|
|
525
526
|
}
|
|
526
527
|
}
|
|
527
|
-
|
|
528
528
|
function add() {
|
|
529
529
|
viewModel && viewModel.addWeatherEffect(formItem);
|
|
530
530
|
}
|
|
531
|
-
|
|
532
531
|
function clear() {
|
|
533
532
|
viewModel && viewModel.clear();
|
|
534
|
-
}
|
|
535
|
-
|
|
533
|
+
}
|
|
536
534
|
|
|
535
|
+
// 销毁
|
|
537
536
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
538
537
|
viewModel && viewModel.destroy();
|
|
539
538
|
});
|
|
540
|
-
|
|
539
|
+
__expose({
|
|
541
540
|
changeMode,
|
|
542
541
|
paramsChanged,
|
|
543
542
|
add,
|
|
@@ -545,23 +544,14 @@ const __default__ = {
|
|
|
545
544
|
});
|
|
546
545
|
return (_ctx, _cache) => {
|
|
547
546
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
548
|
-
|
|
549
547
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
550
|
-
|
|
551
548
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
552
|
-
|
|
553
549
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
554
|
-
|
|
555
550
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
556
|
-
|
|
557
551
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
558
|
-
|
|
559
552
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
560
|
-
|
|
561
553
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
562
|
-
|
|
563
554
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
564
|
-
|
|
565
555
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
566
556
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-weather-effect", {
|
|
567
557
|
'kq-box-shadow': __props.showShadow
|
|
@@ -572,9 +562,7 @@ const __default__ = {
|
|
|
572
562
|
key: 0,
|
|
573
563
|
ref_key: "headerTempRef",
|
|
574
564
|
ref: headerTempRef
|
|
575
|
-
}, null, 512
|
|
576
|
-
/* NEED_PATCH */
|
|
577
|
-
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
565
|
+
}, null, 512 /* NEED_PATCH */)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
578
566
|
gutter: 20,
|
|
579
567
|
class: "rowclass"
|
|
580
568
|
}, {
|
|
@@ -583,28 +571,18 @@ const __default__ = {
|
|
|
583
571
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(['kq3d-weather-effect-btn', (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'rain' ? 'kq3d-weather-effect-btn_active' : '']),
|
|
584
572
|
onClick: _cache[0] || (_cache[0] = $event => changeMode('rain')),
|
|
585
573
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).rain
|
|
586
|
-
}, null, 8
|
|
587
|
-
/* PROPS */
|
|
588
|
-
, ["icon", "class", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
574
|
+
}, null, 8 /* PROPS */, ["icon", "class", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
589
575
|
icon: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconSnow),
|
|
590
576
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(['kq3d-weather-effect-btn', (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'snow' ? 'kq3d-weather-effect-btn_active' : '']),
|
|
591
577
|
onClick: _cache[1] || (_cache[1] = $event => changeMode('snow')),
|
|
592
578
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).snow
|
|
593
|
-
}, null, 8
|
|
594
|
-
/*
|
|
595
|
-
, ["icon", "class", "title"])]),
|
|
596
|
-
_: 1
|
|
597
|
-
/* STABLE */
|
|
598
|
-
|
|
579
|
+
}, null, 8 /* PROPS */, ["icon", "class", "title"])]),
|
|
580
|
+
_: 1 /* STABLE */
|
|
599
581
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
600
582
|
class: "kq3d-weather-effect-tip"
|
|
601
583
|
}, {
|
|
602
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).particleTips), 1
|
|
603
|
-
/*
|
|
604
|
-
)]),
|
|
605
|
-
_: 1
|
|
606
|
-
/* STABLE */
|
|
607
|
-
|
|
584
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).particleTips), 1 /* TEXT */)]),
|
|
585
|
+
_: 1 /* STABLE */
|
|
608
586
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
609
587
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(collapseValue),
|
|
610
588
|
class: "kq3d-weather-effect-collapse"
|
|
@@ -638,12 +616,8 @@ const __default__ = {
|
|
|
638
616
|
min: 10,
|
|
639
617
|
max: 1000,
|
|
640
618
|
onInput: _cache[3] || (_cache[3] = $event => paramsChanged('rangeRadius'))
|
|
641
|
-
}, null, 8
|
|
642
|
-
/*
|
|
643
|
-
, ["modelValue"])]),
|
|
644
|
-
_: 1
|
|
645
|
-
/* STABLE */
|
|
646
|
-
|
|
619
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
620
|
+
_: 1 /* STABLE */
|
|
647
621
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
648
622
|
span: 8
|
|
649
623
|
}, {
|
|
@@ -655,26 +629,14 @@ const __default__ = {
|
|
|
655
629
|
max: 1000,
|
|
656
630
|
"controls-position": "right",
|
|
657
631
|
onInput: _cache[5] || (_cache[5] = $event => paramsChanged('rangeRadius'))
|
|
658
|
-
}, null, 8
|
|
659
|
-
/*
|
|
660
|
-
, ["modelValue"])]),
|
|
661
|
-
_: 1
|
|
662
|
-
/* STABLE */
|
|
663
|
-
|
|
632
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
633
|
+
_: 1 /* STABLE */
|
|
664
634
|
})]),
|
|
665
|
-
_: 1
|
|
666
|
-
/* STABLE */
|
|
667
|
-
|
|
635
|
+
_: 1 /* STABLE */
|
|
668
636
|
})]),
|
|
669
|
-
_: 1
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
}, 8
|
|
673
|
-
/* PROPS */
|
|
674
|
-
, ["label"])]),
|
|
675
|
-
_: 1
|
|
676
|
-
/* STABLE */
|
|
677
|
-
|
|
637
|
+
_: 1 /* STABLE */
|
|
638
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
639
|
+
_: 1 /* STABLE */
|
|
678
640
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
679
641
|
class: "rowclass"
|
|
680
642
|
}, {
|
|
@@ -696,12 +658,8 @@ const __default__ = {
|
|
|
696
658
|
min: 100,
|
|
697
659
|
max: 10000,
|
|
698
660
|
onInput: _cache[7] || (_cache[7] = $event => paramsChanged('particleNum'))
|
|
699
|
-
}, null, 8
|
|
700
|
-
/*
|
|
701
|
-
, ["modelValue"])]),
|
|
702
|
-
_: 1
|
|
703
|
-
/* STABLE */
|
|
704
|
-
|
|
661
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
662
|
+
_: 1 /* STABLE */
|
|
705
663
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
706
664
|
span: 8
|
|
707
665
|
}, {
|
|
@@ -713,26 +671,14 @@ const __default__ = {
|
|
|
713
671
|
max: 10000,
|
|
714
672
|
"controls-position": "right",
|
|
715
673
|
onInput: _cache[9] || (_cache[9] = $event => paramsChanged('particleNum'))
|
|
716
|
-
}, null, 8
|
|
717
|
-
/*
|
|
718
|
-
, ["modelValue"])]),
|
|
719
|
-
_: 1
|
|
720
|
-
/* STABLE */
|
|
721
|
-
|
|
674
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
675
|
+
_: 1 /* STABLE */
|
|
722
676
|
})]),
|
|
723
|
-
_: 1
|
|
724
|
-
/* STABLE */
|
|
725
|
-
|
|
677
|
+
_: 1 /* STABLE */
|
|
726
678
|
})]),
|
|
727
|
-
_: 1
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
}, 8
|
|
731
|
-
/* PROPS */
|
|
732
|
-
, ["label"])]),
|
|
733
|
-
_: 1
|
|
734
|
-
/* STABLE */
|
|
735
|
-
|
|
679
|
+
_: 1 /* STABLE */
|
|
680
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
681
|
+
_: 1 /* STABLE */
|
|
736
682
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
737
683
|
class: "rowclass"
|
|
738
684
|
}, {
|
|
@@ -754,12 +700,8 @@ const __default__ = {
|
|
|
754
700
|
min: 0.1,
|
|
755
701
|
max: 5,
|
|
756
702
|
onInput: _cache[11] || (_cache[11] = $event => paramsChanged('particleSize'))
|
|
757
|
-
}, null, 8
|
|
758
|
-
/*
|
|
759
|
-
, ["modelValue", "step", "min"])]),
|
|
760
|
-
_: 1
|
|
761
|
-
/* STABLE */
|
|
762
|
-
|
|
703
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
704
|
+
_: 1 /* STABLE */
|
|
763
705
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
764
706
|
span: 8
|
|
765
707
|
}, {
|
|
@@ -771,26 +713,14 @@ const __default__ = {
|
|
|
771
713
|
max: 5,
|
|
772
714
|
"controls-position": "right",
|
|
773
715
|
onInput: _cache[13] || (_cache[13] = $event => paramsChanged('particleSize'))
|
|
774
|
-
}, null, 8
|
|
775
|
-
/*
|
|
776
|
-
, ["modelValue", "step", "min"])]),
|
|
777
|
-
_: 1
|
|
778
|
-
/* STABLE */
|
|
779
|
-
|
|
716
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
717
|
+
_: 1 /* STABLE */
|
|
780
718
|
})]),
|
|
781
|
-
_: 1
|
|
782
|
-
/* STABLE */
|
|
783
|
-
|
|
719
|
+
_: 1 /* STABLE */
|
|
784
720
|
})]),
|
|
785
|
-
_: 1
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
}, 8
|
|
789
|
-
/* PROPS */
|
|
790
|
-
, ["label"])]),
|
|
791
|
-
_: 1
|
|
792
|
-
/* STABLE */
|
|
793
|
-
|
|
721
|
+
_: 1 /* STABLE */
|
|
722
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
723
|
+
_: 1 /* STABLE */
|
|
794
724
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-row>\r\n <kq-form-item :label=\"language.lifeCycle\">\r\n <kq-row style=\"display: flex\">\r\n <kq-col :span=\"16\">\r\n <kq-slider v-model=\"formItem.lifeCycle\" :step=\"1\" :min=\"1\" :max=\"50\" @input=\"paramsChanged('lifeCycle')\"></kq-slider>\r\n </kq-col>\r\n <kq-col :span=\"8\">\r\n <kq-input-number\r\n v-model=\"formItem.lifeCycle\"\r\n :step=\"1\"\r\n :min=\"1\"\r\n :max=\"50\"\r\n controls-position=\"right\"\r\n @input=\"paramsChanged('lifeCycle')\">\r\n </kq-input-number>\r\n </kq-col>\r\n </kq-row>\r\n </kq-form-item>\r\n </kq-row> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
795
725
|
class: "rowclass"
|
|
796
726
|
}, {
|
|
@@ -812,12 +742,8 @@ const __default__ = {
|
|
|
812
742
|
max: 5.0,
|
|
813
743
|
step: 0.1,
|
|
814
744
|
onInput: _cache[15] || (_cache[15] = $event => paramsChanged('startScale'))
|
|
815
|
-
}, null, 8
|
|
816
|
-
/*
|
|
817
|
-
, ["modelValue", "min", "max", "step"])]),
|
|
818
|
-
_: 1
|
|
819
|
-
/* STABLE */
|
|
820
|
-
|
|
745
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
746
|
+
_: 1 /* STABLE */
|
|
821
747
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
822
748
|
span: 8
|
|
823
749
|
}, {
|
|
@@ -829,26 +755,14 @@ const __default__ = {
|
|
|
829
755
|
step: 0.1,
|
|
830
756
|
"controls-position": "right",
|
|
831
757
|
onInput: _cache[17] || (_cache[17] = $event => paramsChanged('startScale'))
|
|
832
|
-
}, null, 8
|
|
833
|
-
/*
|
|
834
|
-
, ["modelValue", "min", "max", "step"])]),
|
|
835
|
-
_: 1
|
|
836
|
-
/* STABLE */
|
|
837
|
-
|
|
758
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
759
|
+
_: 1 /* STABLE */
|
|
838
760
|
})]),
|
|
839
|
-
_: 1
|
|
840
|
-
/* STABLE */
|
|
841
|
-
|
|
761
|
+
_: 1 /* STABLE */
|
|
842
762
|
})]),
|
|
843
|
-
_: 1
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
}, 8
|
|
847
|
-
/* PROPS */
|
|
848
|
-
, ["label"])]),
|
|
849
|
-
_: 1
|
|
850
|
-
/* STABLE */
|
|
851
|
-
|
|
763
|
+
_: 1 /* STABLE */
|
|
764
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
765
|
+
_: 1 /* STABLE */
|
|
852
766
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
853
767
|
class: "rowclass"
|
|
854
768
|
}, {
|
|
@@ -870,12 +784,8 @@ const __default__ = {
|
|
|
870
784
|
max: 5.0,
|
|
871
785
|
step: 0.1,
|
|
872
786
|
onInput: _cache[19] || (_cache[19] = $event => paramsChanged('endScale'))
|
|
873
|
-
}, null, 8
|
|
874
|
-
/*
|
|
875
|
-
, ["modelValue", "min", "max", "step"])]),
|
|
876
|
-
_: 1
|
|
877
|
-
/* STABLE */
|
|
878
|
-
|
|
787
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
788
|
+
_: 1 /* STABLE */
|
|
879
789
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
880
790
|
span: 8
|
|
881
791
|
}, {
|
|
@@ -887,26 +797,14 @@ const __default__ = {
|
|
|
887
797
|
step: 0.1,
|
|
888
798
|
"controls-position": "right",
|
|
889
799
|
onInput: _cache[21] || (_cache[21] = $event => paramsChanged('endScale'))
|
|
890
|
-
}, null, 8
|
|
891
|
-
/*
|
|
892
|
-
, ["modelValue", "min", "max", "step"])]),
|
|
893
|
-
_: 1
|
|
894
|
-
/* STABLE */
|
|
895
|
-
|
|
800
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
801
|
+
_: 1 /* STABLE */
|
|
896
802
|
})]),
|
|
897
|
-
_: 1
|
|
898
|
-
/* STABLE */
|
|
899
|
-
|
|
803
|
+
_: 1 /* STABLE */
|
|
900
804
|
})]),
|
|
901
|
-
_: 1
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
}, 8
|
|
905
|
-
/* PROPS */
|
|
906
|
-
, ["label"])]),
|
|
907
|
-
_: 1
|
|
908
|
-
/* STABLE */
|
|
909
|
-
|
|
805
|
+
_: 1 /* STABLE */
|
|
806
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
807
|
+
_: 1 /* STABLE */
|
|
910
808
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
911
809
|
class: "rowclass"
|
|
912
810
|
}, {
|
|
@@ -928,12 +826,8 @@ const __default__ = {
|
|
|
928
826
|
min: 0.1,
|
|
929
827
|
max: 5,
|
|
930
828
|
onInput: _cache[23] || (_cache[23] = $event => paramsChanged('gravity'))
|
|
931
|
-
}, null, 8
|
|
932
|
-
/*
|
|
933
|
-
, ["modelValue", "step", "min"])]),
|
|
934
|
-
_: 1
|
|
935
|
-
/* STABLE */
|
|
936
|
-
|
|
829
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
830
|
+
_: 1 /* STABLE */
|
|
937
831
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
938
832
|
span: 8
|
|
939
833
|
}, {
|
|
@@ -945,75 +839,36 @@ const __default__ = {
|
|
|
945
839
|
step: 0.1,
|
|
946
840
|
"controls-position": "right",
|
|
947
841
|
onInput: _cache[25] || (_cache[25] = $event => paramsChanged('gravity'))
|
|
948
|
-
}, null, 8
|
|
949
|
-
/*
|
|
950
|
-
, ["modelValue", "min", "step"])]),
|
|
951
|
-
_: 1
|
|
952
|
-
/* STABLE */
|
|
953
|
-
|
|
842
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
843
|
+
_: 1 /* STABLE */
|
|
954
844
|
})]),
|
|
955
|
-
_: 1
|
|
956
|
-
/* STABLE */
|
|
957
|
-
|
|
845
|
+
_: 1 /* STABLE */
|
|
958
846
|
})]),
|
|
959
|
-
_: 1
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
}, 8
|
|
963
|
-
/* PROPS */
|
|
964
|
-
, ["label"])]),
|
|
965
|
-
_: 1
|
|
966
|
-
/* STABLE */
|
|
967
|
-
|
|
847
|
+
_: 1 /* STABLE */
|
|
848
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
849
|
+
_: 1 /* STABLE */
|
|
968
850
|
})]),
|
|
969
|
-
_: 1
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
_: 1
|
|
976
|
-
/* STABLE */
|
|
977
|
-
|
|
978
|
-
}, 8
|
|
979
|
-
/* PROPS */
|
|
980
|
-
, ["title"])]),
|
|
981
|
-
_: 1
|
|
982
|
-
/* STABLE */
|
|
983
|
-
|
|
984
|
-
}, 8
|
|
985
|
-
/* PROPS */
|
|
986
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
851
|
+
_: 1 /* STABLE */
|
|
852
|
+
}, 8 /* PROPS */, ["label-width"])]),
|
|
853
|
+
_: 1 /* STABLE */
|
|
854
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
855
|
+
_: 1 /* STABLE */
|
|
856
|
+
}, 8 /* PROPS */, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
987
857
|
onClick: _cache[26] || (_cache[26] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => add(), ["stop"])),
|
|
988
858
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).add,
|
|
989
859
|
type: "primary"
|
|
990
860
|
}, {
|
|
991
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).add), 1
|
|
992
|
-
/*
|
|
993
|
-
|
|
994
|
-
_: 1
|
|
995
|
-
/* STABLE */
|
|
996
|
-
|
|
997
|
-
}, 8
|
|
998
|
-
/* PROPS */
|
|
999
|
-
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
861
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).add), 1 /* TEXT */)]),
|
|
862
|
+
_: 1 /* STABLE */
|
|
863
|
+
}, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1000
864
|
onClick: _cache[27] || (_cache[27] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clear(), ["stop"])),
|
|
1001
865
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
1002
866
|
}, {
|
|
1003
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear), 1
|
|
1004
|
-
/*
|
|
1005
|
-
|
|
1006
|
-
_: 1
|
|
1007
|
-
/* STABLE */
|
|
1008
|
-
|
|
1009
|
-
}, 8
|
|
1010
|
-
/* PROPS */
|
|
1011
|
-
, ["title"])])])], 2
|
|
1012
|
-
/* CLASS */
|
|
1013
|
-
);
|
|
867
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear), 1 /* TEXT */)]),
|
|
868
|
+
_: 1 /* STABLE */
|
|
869
|
+
}, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
|
|
1014
870
|
};
|
|
1015
871
|
}
|
|
1016
|
-
|
|
1017
872
|
}));
|
|
1018
873
|
;// CONCATENATED MODULE: ./src/webgl/weathereffect/WeatherEffect.vue?vue&type=script&setup=true&lang=js
|
|
1019
874
|
|
|
@@ -1025,10 +880,13 @@ const __exports__ = WeatherEffectvue_type_script_setup_true_lang_js;
|
|
|
1025
880
|
|
|
1026
881
|
/* harmony default export */ var WeatherEffect = (__exports__);
|
|
1027
882
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
1028
|
-
var init_js_ = __webpack_require__(
|
|
883
|
+
var init_js_ = __webpack_require__(455);
|
|
1029
884
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
1030
885
|
;// CONCATENATED MODULE: ./src/webgl/weathereffect/index.js
|
|
1031
|
-
|
|
886
|
+
/*
|
|
887
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
888
|
+
* All rights reserved.
|
|
889
|
+
*/
|
|
1032
890
|
|
|
1033
891
|
|
|
1034
892
|
|
|
@@ -1037,8 +895,6 @@ WeatherEffect.install = (Vue, opts) => {
|
|
|
1037
895
|
Vue.component(WeatherEffect.name, WeatherEffect);
|
|
1038
896
|
};
|
|
1039
897
|
|
|
1040
|
-
|
|
1041
|
-
}();
|
|
1042
898
|
/******/ return __webpack_exports__;
|
|
1043
899
|
/******/ })()
|
|
1044
900
|
;
|