@kq_npm/client3d_webgl_vue 4.5.29-beta → 4.5.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adddata/index.js +518 -262
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +201 -123
- package/baseterraingallery/index.js +123 -94
- package/baseterraingallery/style/baseterraingallery.css +1 -1
- package/boxclip/index.js +442 -249
- package/clientPrint/index.js +27088 -14116
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +243 -213
- package/compass/index.js +68 -74
- package/excavatefillanalysis/index.js +225 -143
- package/fixedzoomin/index.js +82 -72
- package/fixedzoomout/index.js +80 -71
- package/flight/index.js +371 -257
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +347 -199
- package/geologicalbodyanalysis/index.js +260 -166
- package/gpuspatialquery/index.js +359 -198
- package/hawkeye/index.js +100 -131
- package/headertemp/index.js +25 -14
- package/heatmap3d/index.js +678 -366
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +20310 -7159
- package/isolineanalysis/index.js +1202 -504
- package/light/index.js +494 -349
- package/limitheightanalysis/index.js +223 -159
- package/measure/index.js +353 -198
- package/modelFlat/index.js +204 -167
- package/modelexcavate/index.js +191 -130
- package/modelfilter/index.js +271 -179
- package/modelprofileanalysis/index.js +316 -206
- package/modelselect/index.js +147 -142
- package/package.json +1 -1
- package/particleeffect/index.js +403 -225
- package/planeclip/index.js +300 -198
- package/resetview/index.js +52 -66
- package/roller/index.js +372 -304
- package/scaneffect/index.js +537 -230
- package/sceneadvancedtoimage/index.js +358 -205
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -1
- package/sceneapp/index.js +27088 -14116
- package/sceneset/index.js +864 -350
- package/scenetohdimage/index.js +297 -159
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +27088 -14116
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +301 -257
- package/shadowanalysis/index.js +405 -217
- package/sightlineanalysis/index.js +271 -183
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +308 -160
- package/slopeanalysis/index.js +397 -227
- package/slopeaspectanalysis/index.js +485 -259
- package/statusbar/index.js +65 -88
- package/style.css +1 -1
- package/terrainoperation/index.js +237 -176
- package/terrainprofileanalysis/index.js +138 -120
- package/typhoontrac/index.js +970 -234
- package/typhoontrac/style/typhoontrac.css +1 -1
- package/underground/index.js +61 -70
- package/videofusion/index.js +488 -265
- package/videoproject/index.js +490 -271
- package/viewshedanalysis/index.js +255 -151
- package/weathereffect/index.js +317 -166
- package/windyslicing/index.js +1947 -0
- package/windyslicing/style/index.js +3 -0
- package/windyslicing/style/windyslicing.css +1 -0
- package/wireframesketch/index.js +142 -110
package/weathereffect/index.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
3
|
module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/_utils/const-image"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/init.js"));
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
5
|
-
define(["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/_utils/const-image", "@kq_npm/client_common_vue/_utils/util", "@kq_npm/client_common_vue/init.js"], factory);
|
|
6
|
-
else
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
define("@kq_npm/client3d_webgl_vue", ["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/_utils/const-image", "@kq_npm/client_common_vue/_utils/util", "@kq_npm/client_common_vue/init.js"], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["@kq_npm/client3d_webgl_vue"] = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/_utils/const-image"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/init.js"));
|
|
8
|
+
else
|
|
9
|
+
root["@kq_npm/client3d_webgl_vue"] = factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/_utils/const-image"], root["@kq_npm/client_common_vue/_utils/util"], root["@kq_npm/client_common_vue/init.js"]);
|
|
10
10
|
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__6277__, __WEBPACK_EXTERNAL_MODULE__3458__, __WEBPACK_EXTERNAL_MODULE__7997__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
@@ -61,59 +61,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
|
61
61
|
|
|
62
62
|
/***/ }),
|
|
63
63
|
|
|
64
|
-
/***/
|
|
64
|
+
/***/ 8270:
|
|
65
65
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
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.");
|
|
67
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
68
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
69
|
+
/* harmony export */ });
|
|
70
|
+
function _defineProperty(obj, key, value) {
|
|
71
|
+
if (key in obj) {
|
|
72
|
+
Object.defineProperty(obj, key, {
|
|
73
|
+
value: value,
|
|
74
|
+
enumerable: true,
|
|
75
|
+
configurable: true,
|
|
76
|
+
writable: true
|
|
77
|
+
});
|
|
78
|
+
} else {
|
|
79
|
+
obj[key] = value;
|
|
93
80
|
}
|
|
94
|
-
return ("string" === r ? String : Number)(t);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
98
|
-
|
|
99
81
|
|
|
100
|
-
|
|
101
|
-
var i = toPrimitive(t, "string");
|
|
102
|
-
return "symbol" == _typeof(i) ? i : i + "";
|
|
82
|
+
return obj;
|
|
103
83
|
}
|
|
104
84
|
|
|
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
|
-
|
|
117
85
|
/***/ })
|
|
118
86
|
|
|
119
87
|
/******/ });
|
|
@@ -202,12 +170,13 @@ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
|
202
170
|
var gis_utils_ = __webpack_require__(7135);
|
|
203
171
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
204
172
|
var client_icons_vue_ = __webpack_require__(348);
|
|
205
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
206
|
-
var defineProperty = __webpack_require__(
|
|
173
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
174
|
+
var defineProperty = __webpack_require__(8270);
|
|
207
175
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
208
176
|
var const_image_ = __webpack_require__(6277);
|
|
209
177
|
;// CONCATENATED MODULE: ./src/webgl/weathereffect/WeatherEffectViewModel.js
|
|
210
178
|
|
|
179
|
+
|
|
211
180
|
/*
|
|
212
181
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
213
182
|
* All rights reserved.
|
|
@@ -215,25 +184,33 @@ var const_image_ = __webpack_require__(6277);
|
|
|
215
184
|
|
|
216
185
|
let _gravityScratch = null;
|
|
217
186
|
let _gravityStart = 0.0;
|
|
218
|
-
|
|
219
|
-
//天气特效逻辑类
|
|
187
|
+
|
|
188
|
+
let _gravityEnd = -1.0; //天气特效逻辑类
|
|
189
|
+
|
|
190
|
+
|
|
220
191
|
class WeatherEffectViewModel {
|
|
192
|
+
//三维球场景视图对象
|
|
193
|
+
//粒子系统三维对象
|
|
194
|
+
//绘制管理对象
|
|
195
|
+
//绘制完成监听事件
|
|
196
|
+
//天气特效存储参数对象
|
|
197
|
+
//雨图片url地址
|
|
221
198
|
//雪图片url地址
|
|
222
|
-
|
|
223
199
|
constructor(scenceView) {
|
|
224
200
|
(0,defineProperty/* default */.Z)(this, "_scene", null);
|
|
225
|
-
|
|
201
|
+
|
|
226
202
|
(0,defineProperty/* default */.Z)(this, "_particleSystem", null);
|
|
227
|
-
|
|
203
|
+
|
|
228
204
|
(0,defineProperty/* default */.Z)(this, "_drawManager", null);
|
|
229
|
-
|
|
205
|
+
|
|
230
206
|
(0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
|
|
231
|
-
|
|
207
|
+
|
|
232
208
|
(0,defineProperty/* default */.Z)(this, "_options", null);
|
|
233
|
-
|
|
209
|
+
|
|
234
210
|
(0,defineProperty/* default */.Z)(this, "_rainImage", const_image_.RAIN_URL);
|
|
235
|
-
|
|
211
|
+
|
|
236
212
|
(0,defineProperty/* default */.Z)(this, "_snowImage", const_image_.SNOW_URL);
|
|
213
|
+
|
|
237
214
|
scenceView._viewer.clock.shouldAnimate = true;
|
|
238
215
|
scenceView._viewer.clock.multiplier = 0.6;
|
|
239
216
|
scenceView._viewer.scene.globe.depthTestAgainstTerrain = true;
|
|
@@ -244,9 +221,12 @@ class WeatherEffectViewModel {
|
|
|
244
221
|
that._removeEventListener = that._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
245
222
|
if (shape && shape.type === "marker") {
|
|
246
223
|
that._drawManager.clear();
|
|
224
|
+
|
|
247
225
|
let position = shape.position;
|
|
226
|
+
|
|
248
227
|
if (position) {
|
|
249
228
|
let matrix = new Cesium.Matrix4.fromTranslation(position);
|
|
229
|
+
|
|
250
230
|
if (!that._particleSystem) {
|
|
251
231
|
that._particleSystem = new Cesium.ParticleSystem({
|
|
252
232
|
modelMatrix: matrix,
|
|
@@ -263,6 +243,7 @@ class WeatherEffectViewModel {
|
|
|
263
243
|
show: true,
|
|
264
244
|
updateCallback: that.applyGravity
|
|
265
245
|
});
|
|
246
|
+
|
|
266
247
|
that._scene.primitives.add(that._particleSystem);
|
|
267
248
|
} else {
|
|
268
249
|
that._particleSystem.modelMatrix = matrix;
|
|
@@ -271,80 +252,92 @@ class WeatherEffectViewModel {
|
|
|
271
252
|
}
|
|
272
253
|
});
|
|
273
254
|
}
|
|
255
|
+
|
|
274
256
|
applyGravity(particle, dt) {
|
|
275
257
|
_gravityScratch = Cesium.Cartesian3.normalize(particle.position, _gravityScratch);
|
|
276
258
|
Cesium.Cartesian3.multiplyByScalar(_gravityScratch, Cesium.Math.randomBetween(_gravityStart, _gravityEnd), _gravityScratch);
|
|
277
259
|
particle.velocity = Cesium.Cartesian3.add(particle.velocity, _gravityScratch, particle.velocity);
|
|
278
|
-
}
|
|
260
|
+
} //添加天气特效
|
|
261
|
+
|
|
279
262
|
|
|
280
|
-
//添加天气特效
|
|
281
263
|
addWeatherEffect(options) {
|
|
282
264
|
let mode = options.mode;
|
|
265
|
+
|
|
283
266
|
if (mode !== "rain" && mode !== "snow") {
|
|
284
267
|
console.log("This mode is not supported.");
|
|
285
268
|
return;
|
|
286
269
|
}
|
|
270
|
+
|
|
287
271
|
if (options.gravity) this.setGravity(options.gravity);
|
|
288
272
|
this._options = options;
|
|
273
|
+
|
|
289
274
|
this._drawManager.startDraw("marker", {
|
|
290
275
|
image: null
|
|
291
276
|
});
|
|
292
|
-
}
|
|
277
|
+
} //清除天气特效
|
|
278
|
+
|
|
293
279
|
|
|
294
|
-
//清除天气特效
|
|
295
280
|
clear() {
|
|
296
281
|
this._drawManager.stopDraw();
|
|
282
|
+
|
|
297
283
|
this._drawManager.clear();
|
|
284
|
+
|
|
298
285
|
this._particleSystem && this._scene.primitives.remove(this._particleSystem);
|
|
299
286
|
this._particleSystem = null;
|
|
300
|
-
}
|
|
287
|
+
} //销毁
|
|
288
|
+
|
|
301
289
|
|
|
302
|
-
//销毁
|
|
303
290
|
destroy() {
|
|
304
|
-
this.clear();
|
|
305
|
-
|
|
291
|
+
this.clear(); //移除监听事件
|
|
292
|
+
|
|
306
293
|
this._removeEventListener && this._removeEventListener();
|
|
307
294
|
this._removeEventListener = null;
|
|
308
|
-
}
|
|
295
|
+
} //设置范围半径
|
|
296
|
+
|
|
309
297
|
|
|
310
|
-
//设置范围半径
|
|
311
298
|
setRangeRadius(radius) {
|
|
312
299
|
if (this._particleSystem) {
|
|
313
300
|
this._particleSystem.emitter = new Cesium.BoxEmitter(new Cesium.Cartesian3(radius, radius, radius));
|
|
314
301
|
}
|
|
315
|
-
}
|
|
316
|
-
|
|
302
|
+
} //设置粒子数量
|
|
303
|
+
|
|
304
|
+
|
|
317
305
|
setParticleNumber(number) {
|
|
318
306
|
if (this._particleSystem) {
|
|
319
307
|
this._particleSystem.emissionRate = number;
|
|
320
308
|
}
|
|
321
|
-
}
|
|
322
|
-
|
|
309
|
+
} //设置粒子大小
|
|
310
|
+
|
|
311
|
+
|
|
323
312
|
setParticleSize(size) {
|
|
324
313
|
if (this._particleSystem) {
|
|
325
314
|
this._particleSystem.minimumImageSize = new Cesium.Cartesian2(size, size);
|
|
326
315
|
this._particleSystem.maximumImageSize = new Cesium.Cartesian2(size, size);
|
|
327
316
|
}
|
|
328
|
-
}
|
|
329
|
-
|
|
317
|
+
} //设置生命周期
|
|
318
|
+
|
|
319
|
+
|
|
330
320
|
setLifeCycle(lifeCycle) {
|
|
331
321
|
if (this._particleSystem) {
|
|
332
322
|
this._particleSystem.lifetime = lifeCycle;
|
|
333
323
|
}
|
|
334
|
-
}
|
|
335
|
-
|
|
324
|
+
} //设置初始比例
|
|
325
|
+
|
|
326
|
+
|
|
336
327
|
setStartScale(startScale) {
|
|
337
328
|
if (this._particleSystem) {
|
|
338
329
|
this._particleSystem.startScale = startScale;
|
|
339
330
|
}
|
|
340
|
-
}
|
|
341
|
-
|
|
331
|
+
} //设置结束比例
|
|
332
|
+
|
|
333
|
+
|
|
342
334
|
setEndScale(endScale) {
|
|
343
335
|
if (this._particleSystem) {
|
|
344
336
|
this._particleSystem.endScale = endScale;
|
|
345
337
|
}
|
|
346
|
-
}
|
|
347
|
-
|
|
338
|
+
} //设置重力
|
|
339
|
+
|
|
340
|
+
|
|
348
341
|
setGravity(gravity) {
|
|
349
342
|
if (gravity <= 1) {
|
|
350
343
|
_gravityStart = 0.0;
|
|
@@ -354,12 +347,13 @@ class WeatherEffectViewModel {
|
|
|
354
347
|
_gravityEnd = 0 - gravity;
|
|
355
348
|
}
|
|
356
349
|
}
|
|
350
|
+
|
|
357
351
|
}
|
|
358
352
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
359
353
|
var util_ = __webpack_require__(3458);
|
|
360
354
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
361
355
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
362
|
-
;// 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
|
|
356
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/weathereffect/WeatherEffect.vue?vue&type=script&setup=true&lang=js
|
|
363
357
|
|
|
364
358
|
const _hoisted_1 = {
|
|
365
359
|
class: "kq3d-weather-effect-box"
|
|
@@ -387,6 +381,7 @@ const __default__ = {
|
|
|
387
381
|
type: Boolean,
|
|
388
382
|
default: true
|
|
389
383
|
},
|
|
384
|
+
|
|
390
385
|
/**
|
|
391
386
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
392
387
|
*/
|
|
@@ -416,6 +411,7 @@ const __default__ = {
|
|
|
416
411
|
default: true
|
|
417
412
|
}
|
|
418
413
|
},
|
|
414
|
+
|
|
419
415
|
setup(__props, {
|
|
420
416
|
expose: __expose
|
|
421
417
|
}) {
|
|
@@ -424,9 +420,7 @@ const __default__ = {
|
|
|
424
420
|
proxy
|
|
425
421
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
426
422
|
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
427
|
-
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
|
|
428
|
-
|
|
429
|
-
// 获取组件传参
|
|
423
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]); // 获取组件传参
|
|
430
424
|
|
|
431
425
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
432
426
|
collapseValue: props.settingParams && props.settingParams.collapseValue || ((props.settingParams && props.settingParams.collapseValue) == '' ? "" : "setting"),
|
|
@@ -440,16 +434,13 @@ const __default__ = {
|
|
|
440
434
|
endScale: props.settingParams && props.settingParams.endScale || 1.3,
|
|
441
435
|
gravity: props.settingParams && props.settingParams.gravity || 1
|
|
442
436
|
});
|
|
443
|
-
let viewModel = null;
|
|
437
|
+
let viewModel = null; // 组件容器Ref
|
|
444
438
|
|
|
445
|
-
//
|
|
446
|
-
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
439
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
447
440
|
|
|
448
|
-
// 生成组件默认header
|
|
449
441
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
450
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
442
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
451
443
|
|
|
452
|
-
// 国际化
|
|
453
444
|
let {
|
|
454
445
|
locale,
|
|
455
446
|
messages
|
|
@@ -472,28 +463,30 @@ const __default__ = {
|
|
|
472
463
|
});
|
|
473
464
|
});
|
|
474
465
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
466
|
+
|
|
475
467
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
476
468
|
if (scenceView) {
|
|
477
469
|
viewModel = new WeatherEffectViewModel(scenceView);
|
|
478
470
|
}
|
|
479
471
|
});
|
|
480
472
|
});
|
|
481
|
-
|
|
482
473
|
/**
|
|
483
474
|
* @description 监听header生成
|
|
484
475
|
*/
|
|
476
|
+
|
|
485
477
|
const watchCreateHeaderTemp = () => {
|
|
486
478
|
if (props.showHeaderTemp) {
|
|
487
479
|
// 生成headerTemp
|
|
488
480
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
489
481
|
}
|
|
490
|
-
};
|
|
482
|
+
}; //切换雨雪天气特效
|
|
483
|
+
|
|
491
484
|
|
|
492
|
-
//切换雨雪天气特效
|
|
493
485
|
function changeMode(mode) {
|
|
494
486
|
if (formItem.mode !== mode) {
|
|
495
487
|
viewModel && viewModel.clear();
|
|
496
488
|
formItem.mode = mode;
|
|
489
|
+
|
|
497
490
|
if (mode === "rain") {
|
|
498
491
|
formItem.particleSize = 2.0;
|
|
499
492
|
formItem.startScale = 1.1;
|
|
@@ -505,60 +498,81 @@ const __default__ = {
|
|
|
505
498
|
}
|
|
506
499
|
}
|
|
507
500
|
}
|
|
501
|
+
|
|
508
502
|
function paramsChanged(key) {
|
|
509
503
|
switch (key) {
|
|
510
504
|
case "rangeRadius":
|
|
511
505
|
viewModel.setRangeRadius(formItem.rangeRadius);
|
|
512
506
|
break;
|
|
507
|
+
|
|
513
508
|
case "particleNum":
|
|
514
509
|
viewModel.setParticleNumber(formItem.particleNum);
|
|
515
510
|
break;
|
|
511
|
+
|
|
516
512
|
case "particleSize":
|
|
517
513
|
viewModel.setParticleSize(formItem.particleSize);
|
|
518
514
|
break;
|
|
515
|
+
|
|
519
516
|
case "lifeCycle":
|
|
520
517
|
viewModel.setLifeCycle(formItem.lifeCycle);
|
|
521
518
|
break;
|
|
519
|
+
|
|
522
520
|
case "startScale":
|
|
523
521
|
viewModel.setStartScale(formItem.startScale);
|
|
524
522
|
break;
|
|
523
|
+
|
|
525
524
|
case "endScale":
|
|
526
525
|
viewModel.setEndScale(formItem.endScale);
|
|
527
526
|
break;
|
|
527
|
+
|
|
528
528
|
case "gravity":
|
|
529
529
|
viewModel.setGravity(formItem.gravity);
|
|
530
530
|
break;
|
|
531
|
+
|
|
531
532
|
default:
|
|
532
533
|
break;
|
|
533
534
|
}
|
|
534
535
|
}
|
|
536
|
+
|
|
535
537
|
function add() {
|
|
536
538
|
viewModel && viewModel.addWeatherEffect(formItem);
|
|
537
539
|
}
|
|
540
|
+
|
|
538
541
|
function clear() {
|
|
539
542
|
viewModel && viewModel.clear();
|
|
540
|
-
}
|
|
543
|
+
} // 销毁
|
|
544
|
+
|
|
541
545
|
|
|
542
|
-
// 销毁
|
|
543
546
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
544
547
|
viewModel && viewModel.destroy();
|
|
545
548
|
});
|
|
549
|
+
|
|
546
550
|
__expose({
|
|
547
551
|
changeMode,
|
|
548
552
|
paramsChanged,
|
|
549
553
|
add,
|
|
550
554
|
clear
|
|
551
555
|
});
|
|
556
|
+
|
|
552
557
|
return (_ctx, _cache) => {
|
|
553
558
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
559
|
+
|
|
554
560
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
561
|
+
|
|
555
562
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
563
|
+
|
|
556
564
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
565
|
+
|
|
557
566
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
567
|
+
|
|
558
568
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
569
|
+
|
|
559
570
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
571
|
+
|
|
560
572
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
573
|
+
|
|
561
574
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
575
|
+
|
|
562
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", {
|
|
563
577
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-weather-effect", {
|
|
564
578
|
'kq-box-shadow': __props.showShadow
|
|
@@ -569,7 +583,9 @@ const __default__ = {
|
|
|
569
583
|
key: 0,
|
|
570
584
|
ref_key: "headerTempRef",
|
|
571
585
|
ref: headerTempRef
|
|
572
|
-
}, null, 512
|
|
586
|
+
}, null, 512
|
|
587
|
+
/* NEED_PATCH */
|
|
588
|
+
)) : (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, {
|
|
573
589
|
gutter: 20,
|
|
574
590
|
class: "rowclass"
|
|
575
591
|
}, {
|
|
@@ -578,18 +594,28 @@ const __default__ = {
|
|
|
578
594
|
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' : '']),
|
|
579
595
|
onClick: _cache[0] || (_cache[0] = $event => changeMode('rain')),
|
|
580
596
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).rain
|
|
581
|
-
}, null, 8
|
|
597
|
+
}, null, 8
|
|
598
|
+
/* PROPS */
|
|
599
|
+
, ["icon", "class", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
582
600
|
icon: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconSnow),
|
|
583
601
|
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' : '']),
|
|
584
602
|
onClick: _cache[1] || (_cache[1] = $event => changeMode('snow')),
|
|
585
603
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).snow
|
|
586
|
-
}, null, 8
|
|
587
|
-
|
|
604
|
+
}, null, 8
|
|
605
|
+
/* PROPS */
|
|
606
|
+
, ["icon", "class", "title"])]),
|
|
607
|
+
_: 1
|
|
608
|
+
/* STABLE */
|
|
609
|
+
|
|
588
610
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
589
611
|
class: "kq3d-weather-effect-tip"
|
|
590
612
|
}, {
|
|
591
|
-
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
|
|
592
|
-
|
|
613
|
+
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
|
|
614
|
+
/* TEXT */
|
|
615
|
+
)]),
|
|
616
|
+
_: 1
|
|
617
|
+
/* STABLE */
|
|
618
|
+
|
|
593
619
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
594
620
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue,
|
|
595
621
|
class: "kq3d-weather-effect-collapse"
|
|
@@ -623,8 +649,12 @@ const __default__ = {
|
|
|
623
649
|
min: 10,
|
|
624
650
|
max: 1000,
|
|
625
651
|
onChange: _cache[3] || (_cache[3] = $event => paramsChanged('rangeRadius'))
|
|
626
|
-
}, null, 8
|
|
627
|
-
|
|
652
|
+
}, null, 8
|
|
653
|
+
/* PROPS */
|
|
654
|
+
, ["modelValue"])]),
|
|
655
|
+
_: 1
|
|
656
|
+
/* STABLE */
|
|
657
|
+
|
|
628
658
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
629
659
|
span: 8
|
|
630
660
|
}, {
|
|
@@ -636,14 +666,26 @@ const __default__ = {
|
|
|
636
666
|
max: 1000,
|
|
637
667
|
"controls-position": "right",
|
|
638
668
|
onChange: _cache[5] || (_cache[5] = $event => paramsChanged('rangeRadius'))
|
|
639
|
-
}, null, 8
|
|
640
|
-
|
|
669
|
+
}, null, 8
|
|
670
|
+
/* PROPS */
|
|
671
|
+
, ["modelValue"])]),
|
|
672
|
+
_: 1
|
|
673
|
+
/* STABLE */
|
|
674
|
+
|
|
641
675
|
})]),
|
|
642
|
-
_: 1
|
|
676
|
+
_: 1
|
|
677
|
+
/* STABLE */
|
|
678
|
+
|
|
643
679
|
})]),
|
|
644
|
-
_: 1
|
|
645
|
-
|
|
646
|
-
|
|
680
|
+
_: 1
|
|
681
|
+
/* STABLE */
|
|
682
|
+
|
|
683
|
+
}, 8
|
|
684
|
+
/* PROPS */
|
|
685
|
+
, ["label"])]),
|
|
686
|
+
_: 1
|
|
687
|
+
/* STABLE */
|
|
688
|
+
|
|
647
689
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
648
690
|
class: "rowclass"
|
|
649
691
|
}, {
|
|
@@ -665,8 +707,12 @@ const __default__ = {
|
|
|
665
707
|
min: 100,
|
|
666
708
|
max: 10000,
|
|
667
709
|
onChange: _cache[7] || (_cache[7] = $event => paramsChanged('particleNum'))
|
|
668
|
-
}, null, 8
|
|
669
|
-
|
|
710
|
+
}, null, 8
|
|
711
|
+
/* PROPS */
|
|
712
|
+
, ["modelValue"])]),
|
|
713
|
+
_: 1
|
|
714
|
+
/* STABLE */
|
|
715
|
+
|
|
670
716
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
671
717
|
span: 8
|
|
672
718
|
}, {
|
|
@@ -678,14 +724,26 @@ const __default__ = {
|
|
|
678
724
|
max: 10000,
|
|
679
725
|
"controls-position": "right",
|
|
680
726
|
onChange: _cache[9] || (_cache[9] = $event => paramsChanged('particleNum'))
|
|
681
|
-
}, null, 8
|
|
682
|
-
|
|
727
|
+
}, null, 8
|
|
728
|
+
/* PROPS */
|
|
729
|
+
, ["modelValue"])]),
|
|
730
|
+
_: 1
|
|
731
|
+
/* STABLE */
|
|
732
|
+
|
|
683
733
|
})]),
|
|
684
|
-
_: 1
|
|
734
|
+
_: 1
|
|
735
|
+
/* STABLE */
|
|
736
|
+
|
|
685
737
|
})]),
|
|
686
|
-
_: 1
|
|
687
|
-
|
|
688
|
-
|
|
738
|
+
_: 1
|
|
739
|
+
/* STABLE */
|
|
740
|
+
|
|
741
|
+
}, 8
|
|
742
|
+
/* PROPS */
|
|
743
|
+
, ["label"])]),
|
|
744
|
+
_: 1
|
|
745
|
+
/* STABLE */
|
|
746
|
+
|
|
689
747
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
690
748
|
class: "rowclass"
|
|
691
749
|
}, {
|
|
@@ -707,8 +765,12 @@ const __default__ = {
|
|
|
707
765
|
min: 0.1,
|
|
708
766
|
max: 5,
|
|
709
767
|
onChange: _cache[11] || (_cache[11] = $event => paramsChanged('particleSize'))
|
|
710
|
-
}, null, 8
|
|
711
|
-
|
|
768
|
+
}, null, 8
|
|
769
|
+
/* PROPS */
|
|
770
|
+
, ["modelValue", "step", "min"])]),
|
|
771
|
+
_: 1
|
|
772
|
+
/* STABLE */
|
|
773
|
+
|
|
712
774
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
713
775
|
span: 8
|
|
714
776
|
}, {
|
|
@@ -720,14 +782,26 @@ const __default__ = {
|
|
|
720
782
|
max: 5,
|
|
721
783
|
"controls-position": "right",
|
|
722
784
|
onChange: _cache[13] || (_cache[13] = $event => paramsChanged('particleSize'))
|
|
723
|
-
}, null, 8
|
|
724
|
-
|
|
785
|
+
}, null, 8
|
|
786
|
+
/* PROPS */
|
|
787
|
+
, ["modelValue", "step", "min"])]),
|
|
788
|
+
_: 1
|
|
789
|
+
/* STABLE */
|
|
790
|
+
|
|
725
791
|
})]),
|
|
726
|
-
_: 1
|
|
792
|
+
_: 1
|
|
793
|
+
/* STABLE */
|
|
794
|
+
|
|
727
795
|
})]),
|
|
728
|
-
_: 1
|
|
729
|
-
|
|
730
|
-
|
|
796
|
+
_: 1
|
|
797
|
+
/* STABLE */
|
|
798
|
+
|
|
799
|
+
}, 8
|
|
800
|
+
/* PROPS */
|
|
801
|
+
, ["label"])]),
|
|
802
|
+
_: 1
|
|
803
|
+
/* STABLE */
|
|
804
|
+
|
|
731
805
|
}), (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\" @change=\"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 @change=\"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, {
|
|
732
806
|
class: "rowclass"
|
|
733
807
|
}, {
|
|
@@ -749,8 +823,12 @@ const __default__ = {
|
|
|
749
823
|
max: 5.0,
|
|
750
824
|
step: 0.1,
|
|
751
825
|
onChange: _cache[15] || (_cache[15] = $event => paramsChanged('startScale'))
|
|
752
|
-
}, null, 8
|
|
753
|
-
|
|
826
|
+
}, null, 8
|
|
827
|
+
/* PROPS */
|
|
828
|
+
, ["modelValue", "min", "max", "step"])]),
|
|
829
|
+
_: 1
|
|
830
|
+
/* STABLE */
|
|
831
|
+
|
|
754
832
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
755
833
|
span: 8
|
|
756
834
|
}, {
|
|
@@ -762,14 +840,26 @@ const __default__ = {
|
|
|
762
840
|
step: 0.1,
|
|
763
841
|
"controls-position": "right",
|
|
764
842
|
onChange: _cache[17] || (_cache[17] = $event => paramsChanged('startScale'))
|
|
765
|
-
}, null, 8
|
|
766
|
-
|
|
843
|
+
}, null, 8
|
|
844
|
+
/* PROPS */
|
|
845
|
+
, ["modelValue", "min", "max", "step"])]),
|
|
846
|
+
_: 1
|
|
847
|
+
/* STABLE */
|
|
848
|
+
|
|
767
849
|
})]),
|
|
768
|
-
_: 1
|
|
850
|
+
_: 1
|
|
851
|
+
/* STABLE */
|
|
852
|
+
|
|
769
853
|
})]),
|
|
770
|
-
_: 1
|
|
771
|
-
|
|
772
|
-
|
|
854
|
+
_: 1
|
|
855
|
+
/* STABLE */
|
|
856
|
+
|
|
857
|
+
}, 8
|
|
858
|
+
/* PROPS */
|
|
859
|
+
, ["label"])]),
|
|
860
|
+
_: 1
|
|
861
|
+
/* STABLE */
|
|
862
|
+
|
|
773
863
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
774
864
|
class: "rowclass"
|
|
775
865
|
}, {
|
|
@@ -791,8 +881,12 @@ const __default__ = {
|
|
|
791
881
|
max: 5.0,
|
|
792
882
|
step: 0.1,
|
|
793
883
|
onChange: _cache[19] || (_cache[19] = $event => paramsChanged('endScale'))
|
|
794
|
-
}, null, 8
|
|
795
|
-
|
|
884
|
+
}, null, 8
|
|
885
|
+
/* PROPS */
|
|
886
|
+
, ["modelValue", "min", "max", "step"])]),
|
|
887
|
+
_: 1
|
|
888
|
+
/* STABLE */
|
|
889
|
+
|
|
796
890
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
797
891
|
span: 8
|
|
798
892
|
}, {
|
|
@@ -804,14 +898,26 @@ const __default__ = {
|
|
|
804
898
|
step: 0.1,
|
|
805
899
|
"controls-position": "right",
|
|
806
900
|
onChange: _cache[21] || (_cache[21] = $event => paramsChanged('endScale'))
|
|
807
|
-
}, null, 8
|
|
808
|
-
|
|
901
|
+
}, null, 8
|
|
902
|
+
/* PROPS */
|
|
903
|
+
, ["modelValue", "min", "max", "step"])]),
|
|
904
|
+
_: 1
|
|
905
|
+
/* STABLE */
|
|
906
|
+
|
|
809
907
|
})]),
|
|
810
|
-
_: 1
|
|
908
|
+
_: 1
|
|
909
|
+
/* STABLE */
|
|
910
|
+
|
|
811
911
|
})]),
|
|
812
|
-
_: 1
|
|
813
|
-
|
|
814
|
-
|
|
912
|
+
_: 1
|
|
913
|
+
/* STABLE */
|
|
914
|
+
|
|
915
|
+
}, 8
|
|
916
|
+
/* PROPS */
|
|
917
|
+
, ["label"])]),
|
|
918
|
+
_: 1
|
|
919
|
+
/* STABLE */
|
|
920
|
+
|
|
815
921
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
816
922
|
class: "rowclass"
|
|
817
923
|
}, {
|
|
@@ -833,8 +939,12 @@ const __default__ = {
|
|
|
833
939
|
min: 0.1,
|
|
834
940
|
max: 5,
|
|
835
941
|
onChange: _cache[23] || (_cache[23] = $event => paramsChanged('gravity'))
|
|
836
|
-
}, null, 8
|
|
837
|
-
|
|
942
|
+
}, null, 8
|
|
943
|
+
/* PROPS */
|
|
944
|
+
, ["modelValue", "step", "min"])]),
|
|
945
|
+
_: 1
|
|
946
|
+
/* STABLE */
|
|
947
|
+
|
|
838
948
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
839
949
|
span: 8
|
|
840
950
|
}, {
|
|
@@ -846,36 +956,75 @@ const __default__ = {
|
|
|
846
956
|
step: 0.1,
|
|
847
957
|
"controls-position": "right",
|
|
848
958
|
onChange: _cache[25] || (_cache[25] = $event => paramsChanged('gravity'))
|
|
849
|
-
}, null, 8
|
|
850
|
-
|
|
959
|
+
}, null, 8
|
|
960
|
+
/* PROPS */
|
|
961
|
+
, ["modelValue", "min", "step"])]),
|
|
962
|
+
_: 1
|
|
963
|
+
/* STABLE */
|
|
964
|
+
|
|
851
965
|
})]),
|
|
852
|
-
_: 1
|
|
966
|
+
_: 1
|
|
967
|
+
/* STABLE */
|
|
968
|
+
|
|
853
969
|
})]),
|
|
854
|
-
_: 1
|
|
855
|
-
|
|
856
|
-
|
|
970
|
+
_: 1
|
|
971
|
+
/* STABLE */
|
|
972
|
+
|
|
973
|
+
}, 8
|
|
974
|
+
/* PROPS */
|
|
975
|
+
, ["label"])]),
|
|
976
|
+
_: 1
|
|
977
|
+
/* STABLE */
|
|
978
|
+
|
|
857
979
|
})]),
|
|
858
|
-
_: 1
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
980
|
+
_: 1
|
|
981
|
+
/* STABLE */
|
|
982
|
+
|
|
983
|
+
}, 8
|
|
984
|
+
/* PROPS */
|
|
985
|
+
, ["label-width"])]),
|
|
986
|
+
_: 1
|
|
987
|
+
/* STABLE */
|
|
988
|
+
|
|
989
|
+
}, 8
|
|
990
|
+
/* PROPS */
|
|
991
|
+
, ["title"])]),
|
|
992
|
+
_: 1
|
|
993
|
+
/* STABLE */
|
|
994
|
+
|
|
995
|
+
}, 8
|
|
996
|
+
/* PROPS */
|
|
997
|
+
, ["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, {
|
|
864
998
|
onClick: _cache[26] || (_cache[26] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => add(), ["stop"])),
|
|
865
999
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).add,
|
|
866
1000
|
type: "primary"
|
|
867
1001
|
}, {
|
|
868
|
-
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
|
|
869
|
-
|
|
870
|
-
|
|
1002
|
+
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
|
|
1003
|
+
/* TEXT */
|
|
1004
|
+
)]),
|
|
1005
|
+
_: 1
|
|
1006
|
+
/* STABLE */
|
|
1007
|
+
|
|
1008
|
+
}, 8
|
|
1009
|
+
/* PROPS */
|
|
1010
|
+
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
871
1011
|
onClick: _cache[27] || (_cache[27] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clear(), ["stop"])),
|
|
872
1012
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
873
1013
|
}, {
|
|
874
|
-
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
|
|
875
|
-
|
|
876
|
-
|
|
1014
|
+
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
|
|
1015
|
+
/* TEXT */
|
|
1016
|
+
)]),
|
|
1017
|
+
_: 1
|
|
1018
|
+
/* STABLE */
|
|
1019
|
+
|
|
1020
|
+
}, 8
|
|
1021
|
+
/* PROPS */
|
|
1022
|
+
, ["title"])])])], 2
|
|
1023
|
+
/* CLASS */
|
|
1024
|
+
);
|
|
877
1025
|
};
|
|
878
1026
|
}
|
|
1027
|
+
|
|
879
1028
|
}));
|
|
880
1029
|
;// CONCATENATED MODULE: ./src/webgl/weathereffect/WeatherEffect.vue?vue&type=script&setup=true&lang=js
|
|
881
1030
|
|
|
@@ -897,11 +1046,13 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
|
897
1046
|
|
|
898
1047
|
|
|
899
1048
|
|
|
1049
|
+
|
|
900
1050
|
WeatherEffect.install = (Vue, opts) => {
|
|
901
1051
|
init_js_default()(Vue, opts);
|
|
902
1052
|
Vue.component(WeatherEffect.name, WeatherEffect);
|
|
903
1053
|
};
|
|
904
1054
|
|
|
1055
|
+
|
|
905
1056
|
}();
|
|
906
1057
|
/******/ return __webpack_exports__;
|
|
907
1058
|
/******/ })()
|