@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/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
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,81 +498,60 @@ 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
|
-
|
|
541
539
|
__expose({
|
|
542
540
|
changeMode,
|
|
543
541
|
paramsChanged,
|
|
544
542
|
add,
|
|
545
543
|
clear
|
|
546
544
|
});
|
|
547
|
-
|
|
548
545
|
return (_ctx, _cache) => {
|
|
549
546
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
550
|
-
|
|
551
547
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
552
|
-
|
|
553
548
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
554
|
-
|
|
555
549
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
556
|
-
|
|
557
550
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
558
|
-
|
|
559
551
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
560
|
-
|
|
561
552
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
562
|
-
|
|
563
553
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
564
|
-
|
|
565
554
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
566
|
-
|
|
567
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", {
|
|
568
556
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-weather-effect", {
|
|
569
557
|
'kq-box-shadow': __props.showShadow
|
|
@@ -574,9 +562,7 @@ const __default__ = {
|
|
|
574
562
|
key: 0,
|
|
575
563
|
ref_key: "headerTempRef",
|
|
576
564
|
ref: headerTempRef
|
|
577
|
-
}, null, 512
|
|
578
|
-
/* NEED_PATCH */
|
|
579
|
-
)) : (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, {
|
|
580
566
|
gutter: 20,
|
|
581
567
|
class: "rowclass"
|
|
582
568
|
}, {
|
|
@@ -585,28 +571,18 @@ const __default__ = {
|
|
|
585
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' : '']),
|
|
586
572
|
onClick: _cache[0] || (_cache[0] = $event => changeMode('rain')),
|
|
587
573
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).rain
|
|
588
|
-
}, null, 8
|
|
589
|
-
/* PROPS */
|
|
590
|
-
, ["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, {
|
|
591
575
|
icon: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconSnow),
|
|
592
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' : '']),
|
|
593
577
|
onClick: _cache[1] || (_cache[1] = $event => changeMode('snow')),
|
|
594
578
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).snow
|
|
595
|
-
}, null, 8
|
|
596
|
-
/*
|
|
597
|
-
, ["icon", "class", "title"])]),
|
|
598
|
-
_: 1
|
|
599
|
-
/* STABLE */
|
|
600
|
-
|
|
579
|
+
}, null, 8 /* PROPS */, ["icon", "class", "title"])]),
|
|
580
|
+
_: 1 /* STABLE */
|
|
601
581
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
602
582
|
class: "kq3d-weather-effect-tip"
|
|
603
583
|
}, {
|
|
604
|
-
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
|
|
605
|
-
/*
|
|
606
|
-
)]),
|
|
607
|
-
_: 1
|
|
608
|
-
/* STABLE */
|
|
609
|
-
|
|
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 */
|
|
610
586
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
611
587
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(collapseValue),
|
|
612
588
|
class: "kq3d-weather-effect-collapse"
|
|
@@ -640,12 +616,8 @@ const __default__ = {
|
|
|
640
616
|
min: 10,
|
|
641
617
|
max: 1000,
|
|
642
618
|
onInput: _cache[3] || (_cache[3] = $event => paramsChanged('rangeRadius'))
|
|
643
|
-
}, null, 8
|
|
644
|
-
/*
|
|
645
|
-
, ["modelValue"])]),
|
|
646
|
-
_: 1
|
|
647
|
-
/* STABLE */
|
|
648
|
-
|
|
619
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
620
|
+
_: 1 /* STABLE */
|
|
649
621
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
650
622
|
span: 8
|
|
651
623
|
}, {
|
|
@@ -657,26 +629,14 @@ const __default__ = {
|
|
|
657
629
|
max: 1000,
|
|
658
630
|
"controls-position": "right",
|
|
659
631
|
onInput: _cache[5] || (_cache[5] = $event => paramsChanged('rangeRadius'))
|
|
660
|
-
}, null, 8
|
|
661
|
-
/*
|
|
662
|
-
, ["modelValue"])]),
|
|
663
|
-
_: 1
|
|
664
|
-
/* STABLE */
|
|
665
|
-
|
|
632
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
633
|
+
_: 1 /* STABLE */
|
|
666
634
|
})]),
|
|
667
|
-
_: 1
|
|
668
|
-
/* STABLE */
|
|
669
|
-
|
|
635
|
+
_: 1 /* STABLE */
|
|
670
636
|
})]),
|
|
671
|
-
_: 1
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
}, 8
|
|
675
|
-
/* PROPS */
|
|
676
|
-
, ["label"])]),
|
|
677
|
-
_: 1
|
|
678
|
-
/* STABLE */
|
|
679
|
-
|
|
637
|
+
_: 1 /* STABLE */
|
|
638
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
639
|
+
_: 1 /* STABLE */
|
|
680
640
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
681
641
|
class: "rowclass"
|
|
682
642
|
}, {
|
|
@@ -698,12 +658,8 @@ const __default__ = {
|
|
|
698
658
|
min: 100,
|
|
699
659
|
max: 10000,
|
|
700
660
|
onInput: _cache[7] || (_cache[7] = $event => paramsChanged('particleNum'))
|
|
701
|
-
}, null, 8
|
|
702
|
-
/*
|
|
703
|
-
, ["modelValue"])]),
|
|
704
|
-
_: 1
|
|
705
|
-
/* STABLE */
|
|
706
|
-
|
|
661
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
662
|
+
_: 1 /* STABLE */
|
|
707
663
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
708
664
|
span: 8
|
|
709
665
|
}, {
|
|
@@ -715,26 +671,14 @@ const __default__ = {
|
|
|
715
671
|
max: 10000,
|
|
716
672
|
"controls-position": "right",
|
|
717
673
|
onInput: _cache[9] || (_cache[9] = $event => paramsChanged('particleNum'))
|
|
718
|
-
}, null, 8
|
|
719
|
-
/*
|
|
720
|
-
, ["modelValue"])]),
|
|
721
|
-
_: 1
|
|
722
|
-
/* STABLE */
|
|
723
|
-
|
|
674
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
675
|
+
_: 1 /* STABLE */
|
|
724
676
|
})]),
|
|
725
|
-
_: 1
|
|
726
|
-
/* STABLE */
|
|
727
|
-
|
|
677
|
+
_: 1 /* STABLE */
|
|
728
678
|
})]),
|
|
729
|
-
_: 1
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
}, 8
|
|
733
|
-
/* PROPS */
|
|
734
|
-
, ["label"])]),
|
|
735
|
-
_: 1
|
|
736
|
-
/* STABLE */
|
|
737
|
-
|
|
679
|
+
_: 1 /* STABLE */
|
|
680
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
681
|
+
_: 1 /* STABLE */
|
|
738
682
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
739
683
|
class: "rowclass"
|
|
740
684
|
}, {
|
|
@@ -756,12 +700,8 @@ const __default__ = {
|
|
|
756
700
|
min: 0.1,
|
|
757
701
|
max: 5,
|
|
758
702
|
onInput: _cache[11] || (_cache[11] = $event => paramsChanged('particleSize'))
|
|
759
|
-
}, null, 8
|
|
760
|
-
/*
|
|
761
|
-
, ["modelValue", "step", "min"])]),
|
|
762
|
-
_: 1
|
|
763
|
-
/* STABLE */
|
|
764
|
-
|
|
703
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
704
|
+
_: 1 /* STABLE */
|
|
765
705
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
766
706
|
span: 8
|
|
767
707
|
}, {
|
|
@@ -773,26 +713,14 @@ const __default__ = {
|
|
|
773
713
|
max: 5,
|
|
774
714
|
"controls-position": "right",
|
|
775
715
|
onInput: _cache[13] || (_cache[13] = $event => paramsChanged('particleSize'))
|
|
776
|
-
}, null, 8
|
|
777
|
-
/*
|
|
778
|
-
, ["modelValue", "step", "min"])]),
|
|
779
|
-
_: 1
|
|
780
|
-
/* STABLE */
|
|
781
|
-
|
|
716
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
717
|
+
_: 1 /* STABLE */
|
|
782
718
|
})]),
|
|
783
|
-
_: 1
|
|
784
|
-
/* STABLE */
|
|
785
|
-
|
|
719
|
+
_: 1 /* STABLE */
|
|
786
720
|
})]),
|
|
787
|
-
_: 1
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
}, 8
|
|
791
|
-
/* PROPS */
|
|
792
|
-
, ["label"])]),
|
|
793
|
-
_: 1
|
|
794
|
-
/* STABLE */
|
|
795
|
-
|
|
721
|
+
_: 1 /* STABLE */
|
|
722
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
723
|
+
_: 1 /* STABLE */
|
|
796
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, {
|
|
797
725
|
class: "rowclass"
|
|
798
726
|
}, {
|
|
@@ -814,12 +742,8 @@ const __default__ = {
|
|
|
814
742
|
max: 5.0,
|
|
815
743
|
step: 0.1,
|
|
816
744
|
onInput: _cache[15] || (_cache[15] = $event => paramsChanged('startScale'))
|
|
817
|
-
}, null, 8
|
|
818
|
-
/*
|
|
819
|
-
, ["modelValue", "min", "max", "step"])]),
|
|
820
|
-
_: 1
|
|
821
|
-
/* STABLE */
|
|
822
|
-
|
|
745
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
746
|
+
_: 1 /* STABLE */
|
|
823
747
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
824
748
|
span: 8
|
|
825
749
|
}, {
|
|
@@ -831,26 +755,14 @@ const __default__ = {
|
|
|
831
755
|
step: 0.1,
|
|
832
756
|
"controls-position": "right",
|
|
833
757
|
onInput: _cache[17] || (_cache[17] = $event => paramsChanged('startScale'))
|
|
834
|
-
}, null, 8
|
|
835
|
-
/*
|
|
836
|
-
, ["modelValue", "min", "max", "step"])]),
|
|
837
|
-
_: 1
|
|
838
|
-
/* STABLE */
|
|
839
|
-
|
|
758
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
759
|
+
_: 1 /* STABLE */
|
|
840
760
|
})]),
|
|
841
|
-
_: 1
|
|
842
|
-
/* STABLE */
|
|
843
|
-
|
|
761
|
+
_: 1 /* STABLE */
|
|
844
762
|
})]),
|
|
845
|
-
_: 1
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
}, 8
|
|
849
|
-
/* PROPS */
|
|
850
|
-
, ["label"])]),
|
|
851
|
-
_: 1
|
|
852
|
-
/* STABLE */
|
|
853
|
-
|
|
763
|
+
_: 1 /* STABLE */
|
|
764
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
765
|
+
_: 1 /* STABLE */
|
|
854
766
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
855
767
|
class: "rowclass"
|
|
856
768
|
}, {
|
|
@@ -872,12 +784,8 @@ const __default__ = {
|
|
|
872
784
|
max: 5.0,
|
|
873
785
|
step: 0.1,
|
|
874
786
|
onInput: _cache[19] || (_cache[19] = $event => paramsChanged('endScale'))
|
|
875
|
-
}, null, 8
|
|
876
|
-
/*
|
|
877
|
-
, ["modelValue", "min", "max", "step"])]),
|
|
878
|
-
_: 1
|
|
879
|
-
/* STABLE */
|
|
880
|
-
|
|
787
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
788
|
+
_: 1 /* STABLE */
|
|
881
789
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
882
790
|
span: 8
|
|
883
791
|
}, {
|
|
@@ -889,26 +797,14 @@ const __default__ = {
|
|
|
889
797
|
step: 0.1,
|
|
890
798
|
"controls-position": "right",
|
|
891
799
|
onInput: _cache[21] || (_cache[21] = $event => paramsChanged('endScale'))
|
|
892
|
-
}, null, 8
|
|
893
|
-
/*
|
|
894
|
-
, ["modelValue", "min", "max", "step"])]),
|
|
895
|
-
_: 1
|
|
896
|
-
/* STABLE */
|
|
897
|
-
|
|
800
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
801
|
+
_: 1 /* STABLE */
|
|
898
802
|
})]),
|
|
899
|
-
_: 1
|
|
900
|
-
/* STABLE */
|
|
901
|
-
|
|
803
|
+
_: 1 /* STABLE */
|
|
902
804
|
})]),
|
|
903
|
-
_: 1
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
}, 8
|
|
907
|
-
/* PROPS */
|
|
908
|
-
, ["label"])]),
|
|
909
|
-
_: 1
|
|
910
|
-
/* STABLE */
|
|
911
|
-
|
|
805
|
+
_: 1 /* STABLE */
|
|
806
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
807
|
+
_: 1 /* STABLE */
|
|
912
808
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
913
809
|
class: "rowclass"
|
|
914
810
|
}, {
|
|
@@ -930,12 +826,8 @@ const __default__ = {
|
|
|
930
826
|
min: 0.1,
|
|
931
827
|
max: 5,
|
|
932
828
|
onInput: _cache[23] || (_cache[23] = $event => paramsChanged('gravity'))
|
|
933
|
-
}, null, 8
|
|
934
|
-
/*
|
|
935
|
-
, ["modelValue", "step", "min"])]),
|
|
936
|
-
_: 1
|
|
937
|
-
/* STABLE */
|
|
938
|
-
|
|
829
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
830
|
+
_: 1 /* STABLE */
|
|
939
831
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
940
832
|
span: 8
|
|
941
833
|
}, {
|
|
@@ -947,75 +839,36 @@ const __default__ = {
|
|
|
947
839
|
step: 0.1,
|
|
948
840
|
"controls-position": "right",
|
|
949
841
|
onInput: _cache[25] || (_cache[25] = $event => paramsChanged('gravity'))
|
|
950
|
-
}, null, 8
|
|
951
|
-
/*
|
|
952
|
-
, ["modelValue", "min", "step"])]),
|
|
953
|
-
_: 1
|
|
954
|
-
/* STABLE */
|
|
955
|
-
|
|
842
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
843
|
+
_: 1 /* STABLE */
|
|
956
844
|
})]),
|
|
957
|
-
_: 1
|
|
958
|
-
/* STABLE */
|
|
959
|
-
|
|
845
|
+
_: 1 /* STABLE */
|
|
960
846
|
})]),
|
|
961
|
-
_: 1
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
}, 8
|
|
965
|
-
/* PROPS */
|
|
966
|
-
, ["label"])]),
|
|
967
|
-
_: 1
|
|
968
|
-
/* STABLE */
|
|
969
|
-
|
|
847
|
+
_: 1 /* STABLE */
|
|
848
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
849
|
+
_: 1 /* STABLE */
|
|
970
850
|
})]),
|
|
971
|
-
_: 1
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
_: 1
|
|
978
|
-
/* STABLE */
|
|
979
|
-
|
|
980
|
-
}, 8
|
|
981
|
-
/* PROPS */
|
|
982
|
-
, ["title"])]),
|
|
983
|
-
_: 1
|
|
984
|
-
/* STABLE */
|
|
985
|
-
|
|
986
|
-
}, 8
|
|
987
|
-
/* PROPS */
|
|
988
|
-
, ["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, {
|
|
989
857
|
onClick: _cache[26] || (_cache[26] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => add(), ["stop"])),
|
|
990
858
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).add,
|
|
991
859
|
type: "primary"
|
|
992
860
|
}, {
|
|
993
|
-
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
|
|
994
|
-
/*
|
|
995
|
-
|
|
996
|
-
_: 1
|
|
997
|
-
/* STABLE */
|
|
998
|
-
|
|
999
|
-
}, 8
|
|
1000
|
-
/* PROPS */
|
|
1001
|
-
, ["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, {
|
|
1002
864
|
onClick: _cache[27] || (_cache[27] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clear(), ["stop"])),
|
|
1003
865
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
1004
866
|
}, {
|
|
1005
|
-
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
|
|
1006
|
-
/*
|
|
1007
|
-
|
|
1008
|
-
_: 1
|
|
1009
|
-
/* STABLE */
|
|
1010
|
-
|
|
1011
|
-
}, 8
|
|
1012
|
-
/* PROPS */
|
|
1013
|
-
, ["title"])])])], 2
|
|
1014
|
-
/* CLASS */
|
|
1015
|
-
);
|
|
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 */);
|
|
1016
870
|
};
|
|
1017
871
|
}
|
|
1018
|
-
|
|
1019
872
|
}));
|
|
1020
873
|
;// CONCATENATED MODULE: ./src/webgl/weathereffect/WeatherEffect.vue?vue&type=script&setup=true&lang=js
|
|
1021
874
|
|
|
@@ -1027,10 +880,13 @@ const __exports__ = WeatherEffectvue_type_script_setup_true_lang_js;
|
|
|
1027
880
|
|
|
1028
881
|
/* harmony default export */ var WeatherEffect = (__exports__);
|
|
1029
882
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
1030
|
-
var init_js_ = __webpack_require__(
|
|
883
|
+
var init_js_ = __webpack_require__(455);
|
|
1031
884
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
1032
885
|
;// CONCATENATED MODULE: ./src/webgl/weathereffect/index.js
|
|
1033
|
-
|
|
886
|
+
/*
|
|
887
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
888
|
+
* All rights reserved.
|
|
889
|
+
*/
|
|
1034
890
|
|
|
1035
891
|
|
|
1036
892
|
|
|
@@ -1039,8 +895,6 @@ WeatherEffect.install = (Vue, opts) => {
|
|
|
1039
895
|
Vue.component(WeatherEffect.name, WeatherEffect);
|
|
1040
896
|
};
|
|
1041
897
|
|
|
1042
|
-
|
|
1043
|
-
}();
|
|
1044
898
|
/******/ return __webpack_exports__;
|
|
1045
899
|
/******/ })()
|
|
1046
900
|
;
|