@kq_npm/client3d_webgl_vue 4.5.31 → 4.5.33-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.
Files changed (55) hide show
  1. package/adddata/index.js +226 -495
  2. package/aspectanalysis/index.js +71 -182
  3. package/baseterraingallery/index.js +40 -102
  4. package/boxclip/index.js +197 -423
  5. package/clientPrint/index.js +6953 -17145
  6. package/comparemap/index.js +165 -216
  7. package/compass/index.js +20 -47
  8. package/excavatefillanalysis/index.js +101 -206
  9. package/fixedzoomin/index.js +20 -43
  10. package/fixedzoomout/index.js +18 -42
  11. package/flight/index.js +206 -353
  12. package/floodanalysis/index.js +145 -328
  13. package/geologicalbodyanalysis/index.js +114 -241
  14. package/gpuspatialquery/index.js +146 -340
  15. package/hawkeye/index.js +78 -80
  16. package/headertemp/index.js +8 -19
  17. package/heatmap3d/index.js +304 -645
  18. package/index.js +6525 -16962
  19. package/isolineanalysis/index.js +451 -1183
  20. package/light/index.js +308 -486
  21. package/limitheightanalysis/index.js +107 -204
  22. package/measure/index.js +145 -331
  23. package/modelFlat/index.js +114 -183
  24. package/modelexcavate/index.js +78 -172
  25. package/modelfilter/index.js +127 -252
  26. package/modelprofileanalysis/index.js +154 -297
  27. package/modelselect/index.js +90 -128
  28. package/package.json +1 -1
  29. package/particleeffect/index.js +170 -381
  30. package/planeclip/index.js +146 -281
  31. package/resetview/index.js +12 -31
  32. package/roller/index.js +252 -353
  33. package/scaneffect/index.js +178 -518
  34. package/sceneadvancedtoimage/index.js +152 -337
  35. package/sceneapp/index.js +6953 -17145
  36. package/sceneset/index.js +299 -838
  37. package/scenetohdimage/index.js +105 -276
  38. package/sceneview/index.js +6953 -17145
  39. package/screenshot/index.js +204 -281
  40. package/shadowanalysis/index.js +175 -386
  41. package/sightlineanalysis/index.js +135 -245
  42. package/skylineanalysis/index.js +108 -289
  43. package/slopeanalysis/index.js +174 -378
  44. package/slopeaspectanalysis/index.js +206 -466
  45. package/statusbar/index.js +37 -39
  46. package/terrainoperation/index.js +124 -218
  47. package/terrainprofileanalysis/index.js +66 -118
  48. package/typhoontrac/index.js +165 -321
  49. package/underground/index.js +16 -40
  50. package/videofusion/index.js +214 -470
  51. package/videoproject/index.js +220 -472
  52. package/viewshedanalysis/index.js +93 -230
  53. package/weathereffect/index.js +111 -295
  54. package/windyslicing/index.js +262 -695
  55. package/wireframesketch/index.js +49 -106
package/light/index.js CHANGED
@@ -12,13 +12,188 @@ return /******/ (function() { // webpackBootstrap
12
12
  /******/ "use strict";
13
13
  /******/ var __webpack_modules__ = ({
14
14
 
15
- /***/ 2257:
16
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
15
+ /***/ 348:
16
+ /***/ (function(module) {
17
+
18
+ module.exports = require("@kq_npm/client_icons_vue");
19
+
20
+ /***/ }),
21
+
22
+ /***/ 2118:
23
+ /***/ (function(module) {
24
+
25
+ module.exports = require("core-js/modules/es.array.push.js");
26
+
27
+ /***/ }),
28
+
29
+ /***/ 8470:
30
+ /***/ (function(module) {
31
+
32
+ module.exports = require("core-js/modules/esnext.iterator.constructor.js");
33
+
34
+ /***/ }),
35
+
36
+ /***/ 1058:
37
+ /***/ (function(module) {
38
+
39
+ module.exports = require("core-js/modules/esnext.iterator.for-each.js");
40
+
41
+ /***/ }),
42
+
43
+ /***/ 7080:
44
+ /***/ (function(module) {
45
+
46
+ module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
47
+
48
+ /***/ }),
49
+
50
+ /***/ 7135:
51
+ /***/ (function(module) {
52
+
53
+ module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
54
+
55
+ /***/ }),
56
+
57
+ /***/ 3458:
58
+ /***/ (function(module) {
59
+
60
+ module.exports = __WEBPACK_EXTERNAL_MODULE__3458__;
61
+
62
+ /***/ }),
63
+
64
+ /***/ 7997:
65
+ /***/ (function(module) {
66
+
67
+ module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
68
+
69
+ /***/ }),
70
+
71
+ /***/ 1895:
72
+ /***/ (function(module) {
73
+
74
+ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
75
+
76
+ /***/ }),
77
+
78
+ /***/ 8270:
79
+ /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
17
80
 
18
81
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19
- /* harmony export */ "Z": function() { return /* binding */ LightViewModel; }
82
+ /* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
20
83
  /* harmony export */ });
21
- /* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
84
+ function _defineProperty(obj, key, value) {
85
+ if (key in obj) {
86
+ Object.defineProperty(obj, key, {
87
+ value: value,
88
+ enumerable: true,
89
+ configurable: true,
90
+ writable: true
91
+ });
92
+ } else {
93
+ obj[key] = value;
94
+ }
95
+ return obj;
96
+ }
97
+
98
+ /***/ })
99
+
100
+ /******/ });
101
+ /************************************************************************/
102
+ /******/ // The module cache
103
+ /******/ var __webpack_module_cache__ = {};
104
+ /******/
105
+ /******/ // The require function
106
+ /******/ function __webpack_require__(moduleId) {
107
+ /******/ // Check if module is in cache
108
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
109
+ /******/ if (cachedModule !== undefined) {
110
+ /******/ return cachedModule.exports;
111
+ /******/ }
112
+ /******/ // Create a new module (and put it into the cache)
113
+ /******/ var module = __webpack_module_cache__[moduleId] = {
114
+ /******/ // no module.id needed
115
+ /******/ // no module.loaded needed
116
+ /******/ exports: {}
117
+ /******/ };
118
+ /******/
119
+ /******/ // Execute the module function
120
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
121
+ /******/
122
+ /******/ // Return the exports of the module
123
+ /******/ return module.exports;
124
+ /******/ }
125
+ /******/
126
+ /************************************************************************/
127
+ /******/ /* webpack/runtime/compat get default export */
128
+ /******/ !function() {
129
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
130
+ /******/ __webpack_require__.n = function(module) {
131
+ /******/ var getter = module && module.__esModule ?
132
+ /******/ function() { return module['default']; } :
133
+ /******/ function() { return module; };
134
+ /******/ __webpack_require__.d(getter, { a: getter });
135
+ /******/ return getter;
136
+ /******/ };
137
+ /******/ }();
138
+ /******/
139
+ /******/ /* webpack/runtime/define property getters */
140
+ /******/ !function() {
141
+ /******/ // define getter functions for harmony exports
142
+ /******/ __webpack_require__.d = function(exports, definition) {
143
+ /******/ for(var key in definition) {
144
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
145
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
146
+ /******/ }
147
+ /******/ }
148
+ /******/ };
149
+ /******/ }();
150
+ /******/
151
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
152
+ /******/ !function() {
153
+ /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
154
+ /******/ }();
155
+ /******/
156
+ /******/ /* webpack/runtime/make namespace object */
157
+ /******/ !function() {
158
+ /******/ // define __esModule on exports
159
+ /******/ __webpack_require__.r = function(exports) {
160
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
161
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
162
+ /******/ }
163
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
164
+ /******/ };
165
+ /******/ }();
166
+ /******/
167
+ /************************************************************************/
168
+ var __webpack_exports__ = {};
169
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
170
+ !function() {
171
+ // ESM COMPAT FLAG
172
+ __webpack_require__.r(__webpack_exports__);
173
+
174
+ // EXPORTS
175
+ __webpack_require__.d(__webpack_exports__, {
176
+ "LightViewModel": function() { return /* reexport */ LightViewModel; },
177
+ "default": function() { return /* reexport */ Light; }
178
+ });
179
+
180
+ // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
181
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
182
+ // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
183
+ var gis_utils_ = __webpack_require__(7135);
184
+ // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
185
+ var client_icons_vue_ = __webpack_require__(348);
186
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
187
+ var defineProperty = __webpack_require__(8270);
188
+ // EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
189
+ var es_array_push_js_ = __webpack_require__(2118);
190
+ // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
191
+ var esnext_iterator_constructor_js_ = __webpack_require__(8470);
192
+ // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
193
+ var esnext_iterator_for_each_js_ = __webpack_require__(1058);
194
+ ;// CONCATENATED MODULE: ./src/webgl/light/LightViewModel.js
195
+
196
+
22
197
 
23
198
 
24
199
  /*
@@ -27,45 +202,34 @@ return /******/ (function() { // webpackBootstrap
27
202
  */
28
203
  //灯光特效逻辑类
29
204
  class LightViewModel {
30
- //灯光对象
31
- // 灯光模型对象
32
- // 灯光模型集合
33
- //绘制管理对象
34
- //绘制完成监听事件
35
- //灯光存储参数对象
36
205
  //灯光对象集合
37
- constructor(scenceView, options) {
38
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
39
-
40
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_light", null);
41
-
42
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_lightModel", null);
43
-
44
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_lightModelDs", null);
45
-
46
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_drawManager", null);
47
-
48
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_removeEventListener", null);
49
-
50
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_options", null);
51
-
52
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_lightList", []);
53
206
 
207
+ constructor(scenceView, options) {
208
+ (0,defineProperty/* default */.Z)(this, "_viewer", null);
209
+ (0,defineProperty/* default */.Z)(this, "_light", null);
210
+ //灯光对象
211
+ (0,defineProperty/* default */.Z)(this, "_lightModel", null);
212
+ // 灯光模型对象
213
+ (0,defineProperty/* default */.Z)(this, "_lightModelDs", null);
214
+ // 灯光模型集合
215
+ (0,defineProperty/* default */.Z)(this, "_drawManager", null);
216
+ //绘制管理对象
217
+ (0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
218
+ //绘制完成监听事件
219
+ (0,defineProperty/* default */.Z)(this, "_options", null);
220
+ //灯光存储参数对象
221
+ (0,defineProperty/* default */.Z)(this, "_lightList", []);
54
222
  this._options = options;
55
223
  this._viewer = scenceView._viewer;
56
224
  this._drawManager = scenceView._drawManager;
57
225
  this._drawHandler = this._drawManager._drawHandler.drawHandler;
58
226
  this._lightModelDs = new Cesium.CustomDataSource("LightModel");
59
-
60
227
  this._viewer.dataSources.add(this._lightModelDs);
61
-
62
228
  var that = this;
63
229
  that._removeEventListener = that._drawManager.drawFinishedEvent.addEventListener(shape => {
64
230
  if (shape && shape.type === "marker") {
65
231
  that._drawManager.clear();
66
-
67
232
  let position = shape.position;
68
-
69
233
  if (position) {
70
234
  if (that._options.mode == "point") {
71
235
  that.addPointLight(position);
@@ -76,23 +240,19 @@ class LightViewModel {
76
240
  }
77
241
  });
78
242
  that._handler = new Cesium.ScreenSpaceEventHandler(this._viewer.scene.canvas);
79
-
80
243
  that._handler.setInputAction(function () {
81
244
  if (that._drawHandler._shapeObject && that._drawHandler._shapeObject.type === "polyline") {
82
245
  let positions = that._drawHandler._shapeObject.controlPoints;
83
-
84
246
  if (positions.length === 3) {
85
247
  that._drawManager.stopDraw();
86
-
87
248
  if (that._options.mode == "parallel") {
88
249
  that.addParallelLight(positions[0], positions[1]);
89
250
  }
90
251
  }
91
252
  }
92
253
  }, Cesium.ScreenSpaceEventType.LEFT_CLICK);
93
- } //添加灯光
94
-
95
-
254
+ }
255
+ //添加灯光
96
256
  addLight() {
97
257
  if (this._options) {
98
258
  if (this._options.mode == "point" || this._options.mode == "spot") {
@@ -105,12 +265,10 @@ class LightViewModel {
105
265
  });
106
266
  }
107
267
  }
108
- } //添加点光源
109
-
110
-
268
+ }
269
+ //添加点光源
111
270
  addPointLight(position) {
112
271
  let color = Cesium.Color.fromCssColorString(this._options.color);
113
-
114
272
  if (Cesium.SplitDirection) {
115
273
  this._light = new Cesium.Kq3dPointLight({
116
274
  position: position,
@@ -120,7 +278,6 @@ class LightViewModel {
120
278
  decay: this._options.decay,
121
279
  lightIntensity: this._options.intensity
122
280
  });
123
-
124
281
  this._viewer.scene.kq3dLightManager.add(this._light);
125
282
  } else if (Cesium.ImagerySplitDirection) {
126
283
  this._light = new Cesium.Kq3dPointLight({
@@ -133,7 +290,6 @@ class LightViewModel {
133
290
  lightIntensity: this._options.intensity
134
291
  });
135
292
  }
136
-
137
293
  this._lightModel = this._lightModelDs.entities.add({
138
294
  show: this._options.showModel,
139
295
  position: position,
@@ -143,11 +299,9 @@ class LightViewModel {
143
299
  material: color
144
300
  }
145
301
  });
146
-
147
302
  this._lightList.push(this._light);
148
- } //添加聚光灯
149
-
150
-
303
+ }
304
+ //添加聚光灯
151
305
  addSpotLight(position) {
152
306
  let color = Cesium.Color.fromCssColorString(this._options.color);
153
307
  let lights = [{
@@ -155,7 +309,6 @@ class LightViewModel {
155
309
  offset: new Cesium.Cartesian3(),
156
310
  direction: new Cesium.Cartesian3(0, 0, -1.0)
157
311
  }];
158
-
159
312
  if (Cesium.SplitDirection) {
160
313
  this._light = new Cesium.Kq3dSpotLightStage({
161
314
  viewer: this._viewer,
@@ -177,11 +330,8 @@ class LightViewModel {
177
330
  lightIntensity: this._options.intensity
178
331
  });
179
332
  }
180
-
181
333
  this._viewer.effects.add(this._light);
182
-
183
334
  this._lightList.push(this._light);
184
-
185
335
  this._lightModel = this._lightModelDs.entities.add({
186
336
  show: this._options.showModel,
187
337
  position: position,
@@ -191,9 +341,8 @@ class LightViewModel {
191
341
  material: color
192
342
  }
193
343
  });
194
- } //添加平行光
195
-
196
-
344
+ }
345
+ //添加平行光
197
346
  addParallelLight(positionA, positionB) {
198
347
  let color = Cesium.Color.fromCssColorString(this._options.color);
199
348
  let direction = Cesium.Cartesian3.normalize(Cesium.Cartesian3.subtract(positionB, positionA, new Cesium.Cartesian3()), new Cesium.Cartesian3());
@@ -202,7 +351,8 @@ class LightViewModel {
202
351
  color: color,
203
352
  intensity: this._options.intensity
204
353
  });
205
- this._viewer.scene.light = this._light; // this._lightList.push(this._light);
354
+ this._viewer.scene.light = this._light;
355
+ // this._lightList.push(this._light);
206
356
  // this._lightModel = this._lightModelDs.entities.add({
207
357
  // show: this._options.showModel,
208
358
  // position: positionA,
@@ -212,22 +362,17 @@ class LightViewModel {
212
362
  // material: color
213
363
  // }
214
364
  // });
215
- } //清除
216
-
217
-
365
+ }
366
+ //清除
218
367
  clear() {
219
368
  this._drawManager.stopDraw();
220
-
221
369
  this._drawManager.clear();
222
-
223
370
  this._lightModelDs.entities.removeAll();
224
-
225
371
  this.clearLights();
226
372
  this._light = null;
227
373
  this._lightModel = null;
228
- } // 清除所有灯光
229
-
230
-
374
+ }
375
+ // 清除所有灯光
231
376
  clearLights() {
232
377
  this._lightList.forEach(light => {
233
378
  if (light._postProcessStage) {
@@ -236,38 +381,32 @@ class LightViewModel {
236
381
  this._viewer.scene.kq3dLightManager.remove(light);
237
382
  }
238
383
  }, this);
239
-
240
- this._lightList = []; // 清除平行光
241
-
384
+ this._lightList = [];
385
+ // 清除平行光
242
386
  if (!(this._viewer.scene.light instanceof Cesium.SunLight)) {
243
387
  this._viewer.scene.light = new Cesium.SunLight();
244
388
  }
245
- } //销毁
246
-
247
-
389
+ }
390
+ //销毁
248
391
  destroy() {
249
- this.clear(); //移除监听事件
250
-
392
+ this.clear();
393
+ //移除监听事件
251
394
  this._removeEventListener && this._removeEventListener();
252
395
  this._removeEventListener = null;
253
396
  this._handler && this._handler.destroy();
254
- } //设置光源颜色
255
-
256
-
397
+ }
398
+ //设置光源颜色
257
399
  setColor(color) {
258
400
  let cesiumColor = Cesium.Color.fromCssColorString(color);
259
-
260
401
  if (this._light) {
261
402
  this._light.color = cesiumColor;
262
- } // 设置光源模型颜色
263
-
264
-
403
+ }
404
+ // 设置光源模型颜色
265
405
  if (this._lightModel) {
266
406
  this._lightModel.ellipsoid.material = cesiumColor;
267
407
  }
268
- } //设置扩散距离
269
-
270
-
408
+ }
409
+ //设置扩散距离
271
410
  setDistance(distance) {
272
411
  if (this._light) {
273
412
  if (Cesium.SplitDirection) {
@@ -280,16 +419,14 @@ class LightViewModel {
280
419
  this._light.cutoffDistance = Number(distance);
281
420
  }
282
421
  }
283
- } //设置衰减因子
284
-
285
-
422
+ }
423
+ //设置衰减因子
286
424
  setDecay(decay) {
287
425
  if (this._light) {
288
426
  this._light.decay = Number(decay);
289
427
  }
290
- } //设置光源强度
291
-
292
-
428
+ }
429
+ //设置光源强度
293
430
  setIntensity(intensity) {
294
431
  if (this._light) {
295
432
  if (this._options.mode == "parallel") {
@@ -302,180 +439,21 @@ class LightViewModel {
302
439
  }
303
440
  }
304
441
  }
305
- } //光源模型显隐控制
306
-
307
-
442
+ }
443
+ //光源模型显隐控制
308
444
  showModel(isShow) {
309
445
  if (this._lightModel) {
310
446
  this._lightModel.show = isShow;
311
- } //this._lightModelDs.show = isShow;
312
-
313
- } // 设置聚光灯角度
314
-
315
-
447
+ }
448
+ //this._lightModelDs.show = isShow;
449
+ }
450
+ // 设置聚光灯角度
316
451
  showAngle(angle) {
317
452
  if (this._light) {
318
453
  this._light.angle = Number(angle);
319
454
  }
320
455
  }
321
-
322
456
  }
323
-
324
- /***/ }),
325
-
326
- /***/ 348:
327
- /***/ (function(module) {
328
-
329
- module.exports = require("@kq_npm/client_icons_vue");
330
-
331
- /***/ }),
332
-
333
- /***/ 7080:
334
- /***/ (function(module) {
335
-
336
- module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
337
-
338
- /***/ }),
339
-
340
- /***/ 7135:
341
- /***/ (function(module) {
342
-
343
- module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
344
-
345
- /***/ }),
346
-
347
- /***/ 3458:
348
- /***/ (function(module) {
349
-
350
- module.exports = __WEBPACK_EXTERNAL_MODULE__3458__;
351
-
352
- /***/ }),
353
-
354
- /***/ 7997:
355
- /***/ (function(module) {
356
-
357
- module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
358
-
359
- /***/ }),
360
-
361
- /***/ 1895:
362
- /***/ (function(module) {
363
-
364
- module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
365
-
366
- /***/ }),
367
-
368
- /***/ 8270:
369
- /***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
370
-
371
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
372
- /* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
373
- /* harmony export */ });
374
- function _defineProperty(obj, key, value) {
375
- if (key in obj) {
376
- Object.defineProperty(obj, key, {
377
- value: value,
378
- enumerable: true,
379
- configurable: true,
380
- writable: true
381
- });
382
- } else {
383
- obj[key] = value;
384
- }
385
-
386
- return obj;
387
- }
388
-
389
- /***/ })
390
-
391
- /******/ });
392
- /************************************************************************/
393
- /******/ // The module cache
394
- /******/ var __webpack_module_cache__ = {};
395
- /******/
396
- /******/ // The require function
397
- /******/ function __webpack_require__(moduleId) {
398
- /******/ // Check if module is in cache
399
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
400
- /******/ if (cachedModule !== undefined) {
401
- /******/ return cachedModule.exports;
402
- /******/ }
403
- /******/ // Create a new module (and put it into the cache)
404
- /******/ var module = __webpack_module_cache__[moduleId] = {
405
- /******/ // no module.id needed
406
- /******/ // no module.loaded needed
407
- /******/ exports: {}
408
- /******/ };
409
- /******/
410
- /******/ // Execute the module function
411
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
412
- /******/
413
- /******/ // Return the exports of the module
414
- /******/ return module.exports;
415
- /******/ }
416
- /******/
417
- /************************************************************************/
418
- /******/ /* webpack/runtime/compat get default export */
419
- /******/ !function() {
420
- /******/ // getDefaultExport function for compatibility with non-harmony modules
421
- /******/ __webpack_require__.n = function(module) {
422
- /******/ var getter = module && module.__esModule ?
423
- /******/ function() { return module['default']; } :
424
- /******/ function() { return module; };
425
- /******/ __webpack_require__.d(getter, { a: getter });
426
- /******/ return getter;
427
- /******/ };
428
- /******/ }();
429
- /******/
430
- /******/ /* webpack/runtime/define property getters */
431
- /******/ !function() {
432
- /******/ // define getter functions for harmony exports
433
- /******/ __webpack_require__.d = function(exports, definition) {
434
- /******/ for(var key in definition) {
435
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
436
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
437
- /******/ }
438
- /******/ }
439
- /******/ };
440
- /******/ }();
441
- /******/
442
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
443
- /******/ !function() {
444
- /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
445
- /******/ }();
446
- /******/
447
- /******/ /* webpack/runtime/make namespace object */
448
- /******/ !function() {
449
- /******/ // define __esModule on exports
450
- /******/ __webpack_require__.r = function(exports) {
451
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
452
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
453
- /******/ }
454
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
455
- /******/ };
456
- /******/ }();
457
- /******/
458
- /************************************************************************/
459
- var __webpack_exports__ = {};
460
- // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
461
- !function() {
462
- // ESM COMPAT FLAG
463
- __webpack_require__.r(__webpack_exports__);
464
-
465
- // EXPORTS
466
- __webpack_require__.d(__webpack_exports__, {
467
- "LightViewModel": function() { return /* reexport */ LightViewModel/* default */.Z; },
468
- "default": function() { return /* reexport */ Light; }
469
- });
470
-
471
- // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
472
- var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
473
- // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
474
- var gis_utils_ = __webpack_require__(7135);
475
- // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
476
- var client_icons_vue_ = __webpack_require__(348);
477
- // EXTERNAL MODULE: ./src/webgl/light/LightViewModel.js
478
- var LightViewModel = __webpack_require__(2257);
479
457
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
480
458
  var util_ = __webpack_require__(3458);
481
459
  // EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
@@ -508,7 +486,6 @@ const __default__ = {
508
486
  type: Boolean,
509
487
  default: true
510
488
  },
511
-
512
489
  /**
513
490
  * 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
514
491
  */
@@ -538,7 +515,6 @@ const __default__ = {
538
515
  default: true
539
516
  }
540
517
  },
541
-
542
518
  setup(__props, {
543
519
  expose: __expose
544
520
  }) {
@@ -547,7 +523,9 @@ const __default__ = {
547
523
  proxy
548
524
  } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
549
525
  let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
550
- let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]); // 获取组件传参
526
+ let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
527
+
528
+ // 获取组件传参
551
529
 
552
530
  let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
553
531
  collapseValue: props.settingParams && props.settingParams.collapseValue || ((props.settingParams && props.settingParams.collapseValue) == '' ? "" : "setting"),
@@ -568,13 +546,16 @@ const __default__ = {
568
546
  maxAngle: props.settingParams && props.settingParams.maxAngle || 160,
569
547
  showModel: props.settingParams && props.settingParams.showModel || true
570
548
  });
571
- let viewModel = null; // 组件容器Ref
549
+ let viewModel = null;
572
550
 
573
- let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
551
+ // 组件容器Ref
552
+ let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
574
553
 
554
+ // 生成组件默认header
575
555
  let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
576
- let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
556
+ let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
577
557
 
558
+ // 国际化
578
559
  let {
579
560
  locale,
580
561
  messages
@@ -597,104 +578,80 @@ const __default__ = {
597
578
  });
598
579
  });
599
580
  currentLang.value = proxy.$i18n.locale; // 获取当前语言
600
-
601
581
  gis_utils_.utils.getWebMap(null, scenceView => {
602
582
  if (scenceView) {
603
- viewModel = new LightViewModel/* default */.Z(scenceView, formItem);
583
+ viewModel = new LightViewModel(scenceView, formItem);
604
584
  }
605
585
  });
606
586
  });
587
+
607
588
  /**
608
589
  * @description 监听header生成
609
590
  */
610
-
611
591
  const watchCreateHeaderTemp = () => {
612
592
  if (props.showHeaderTemp) {
613
593
  // 生成headerTemp
614
594
  headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
615
595
  }
616
596
  };
617
-
618
597
  function changeMode(mode) {
619
598
  if (formItem.mode !== mode) {
620
599
  formItem.mode = mode;
621
600
  }
622
601
  }
623
-
624
602
  function paramsChanged(key) {
625
603
  switch (key) {
626
604
  case "color":
627
605
  viewModel && viewModel.setColor(formItem.color);
628
606
  break;
629
-
630
607
  case "distance":
631
608
  viewModel && viewModel.setDistance(formItem.distance);
632
609
  break;
633
-
634
610
  case "decay":
635
611
  viewModel && viewModel.setDecay(formItem.decay);
636
612
  break;
637
-
638
613
  case "intensity":
639
614
  viewModel && viewModel.setIntensity(formItem.intensity);
640
615
  break;
641
-
642
616
  case "showModel":
643
617
  viewModel && viewModel.showModel(formItem.showModel);
644
618
  break;
645
-
646
619
  case "angle":
647
620
  viewModel && viewModel.showAngle(formItem.angle);
648
621
  break;
649
-
650
622
  default:
651
623
  break;
652
624
  }
653
625
  }
654
-
655
626
  function add() {
656
627
  viewModel && viewModel.addLight();
657
628
  }
658
-
659
629
  function clear() {
660
630
  viewModel && viewModel.clear();
661
- } // 销毁
662
-
631
+ }
663
632
 
633
+ // 销毁
664
634
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
665
635
  viewModel && viewModel.destroy();
666
636
  });
667
-
668
637
  __expose({
669
638
  changeMode,
670
639
  paramsChanged,
671
640
  add,
672
641
  clear
673
642
  });
674
-
675
643
  return (_ctx, _cache) => {
676
644
  const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
677
-
678
645
  const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
679
-
680
646
  const _component_kq_color_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-color-picker");
681
-
682
647
  const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
683
-
684
648
  const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
685
-
686
649
  const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
687
-
688
650
  const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
689
-
690
651
  const _component_kq_switch = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-switch");
691
-
692
652
  const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
693
-
694
653
  const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
695
-
696
654
  const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
697
-
698
655
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
699
656
  class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-light", {
700
657
  'kq-box-shadow': __props.showShadow
@@ -705,9 +662,7 @@ const __default__ = {
705
662
  key: 0,
706
663
  ref_key: "headerTempRef",
707
664
  ref: headerTempRef
708
- }, null, 512
709
- /* NEED_PATCH */
710
- )) : (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, {
665
+ }, 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, {
711
666
  gutter: 20,
712
667
  class: "rowclass"
713
668
  }, {
@@ -716,35 +671,23 @@ const __default__ = {
716
671
  class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(['kq3d-light-btn', (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'point' ? 'kq3d-light-btn_active' : '']),
717
672
  onClick: _cache[0] || (_cache[0] = $event => changeMode('point')),
718
673
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pointLightSource
719
- }, null, 8
720
- /* PROPS */
721
- , ["icon", "class", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
674
+ }, null, 8 /* PROPS */, ["icon", "class", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
722
675
  icon: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconSpotlight),
723
676
  class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(['kq3d-light-btn', (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'spot' ? 'kq3d-light-btn_active' : '']),
724
677
  onClick: _cache[1] || (_cache[1] = $event => changeMode('spot')),
725
678
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).spotlight
726
- }, null, 8
727
- /* PROPS */
728
- , ["icon", "class", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
679
+ }, null, 8 /* PROPS */, ["icon", "class", "title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
729
680
  icon: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconParallelLight),
730
681
  class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(['kq3d-light-btn', (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'parallel' ? 'kq3d-light-btn_active' : '']),
731
682
  onClick: _cache[2] || (_cache[2] = $event => changeMode('parallel')),
732
683
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).parallelLight
733
- }, null, 8
734
- /* PROPS */
735
- , ["icon", "class", "title"])]),
736
- _: 1
737
- /* STABLE */
738
-
684
+ }, null, 8 /* PROPS */, ["icon", "class", "title"])]),
685
+ _: 1 /* STABLE */
739
686
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
740
687
  class: "kq3d-light-tip"
741
688
  }, {
742
- 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).lightTips), 1
743
- /* TEXT */
744
- )]),
745
- _: 1
746
- /* STABLE */
747
-
689
+ 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).lightTips), 1 /* TEXT */)]),
690
+ _: 1 /* STABLE */
748
691
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
749
692
  "model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue,
750
693
  class: "kq3d-light-collapse"
@@ -772,22 +715,12 @@ const __default__ = {
772
715
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).color,
773
716
  "onUpdate:modelValue": _cache[3] || (_cache[3] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).color = $event),
774
717
  onChange: _cache[4] || (_cache[4] = $event => paramsChanged('color'))
775
- }, null, 8
776
- /* PROPS */
777
- , ["modelValue"])]),
778
- _: 1
779
- /* STABLE */
780
-
718
+ }, null, 8 /* PROPS */, ["modelValue"])]),
719
+ _: 1 /* STABLE */
781
720
  })]),
782
- _: 1
783
- /* STABLE */
784
-
785
- }, 8
786
- /* PROPS */
787
- , ["label"])]),
788
- _: 1
789
- /* STABLE */
790
-
721
+ _: 1 /* STABLE */
722
+ }, 8 /* PROPS */, ["label"])]),
723
+ _: 1 /* STABLE */
791
724
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
792
725
  class: "rowclass"
793
726
  }, {
@@ -809,12 +742,8 @@ const __default__ = {
809
742
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minDistance,
810
743
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxDistance,
811
744
  onChange: _cache[6] || (_cache[6] = $event => paramsChanged('distance'))
812
- }, null, 8
813
- /* PROPS */
814
- , ["modelValue", "min", "max"])]),
815
- _: 1
816
- /* STABLE */
817
-
745
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
746
+ _: 1 /* STABLE */
818
747
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
819
748
  span: 8
820
749
  }, {
@@ -826,29 +755,15 @@ const __default__ = {
826
755
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxDistance,
827
756
  "controls-position": "right",
828
757
  onChange: _cache[8] || (_cache[8] = $event => paramsChanged('distance'))
829
- }, null, 8
830
- /* PROPS */
831
- , ["modelValue", "min", "max"])]),
832
- _: 1
833
- /* STABLE */
834
-
758
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
759
+ _: 1 /* STABLE */
835
760
  })]),
836
- _: 1
837
- /* STABLE */
838
-
761
+ _: 1 /* STABLE */
839
762
  })]),
840
- _: 1
841
- /* STABLE */
842
-
843
- }, 8
844
- /* PROPS */
845
- , ["label"])]),
846
- _: 1
847
- /* STABLE */
848
-
849
- }, 512
850
- /* NEED_PATCH */
851
- ), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'point' || (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'spot']]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
763
+ _: 1 /* STABLE */
764
+ }, 8 /* PROPS */, ["label"])]),
765
+ _: 1 /* STABLE */
766
+ }, 512 /* NEED_PATCH */), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'point' || (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'spot']]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
852
767
  class: "rowclass"
853
768
  }, {
854
769
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
@@ -869,12 +784,8 @@ const __default__ = {
869
784
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minAngle,
870
785
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxAngle,
871
786
  onChange: _cache[10] || (_cache[10] = $event => paramsChanged('angle'))
872
- }, null, 8
873
- /* PROPS */
874
- , ["modelValue", "min", "max"])]),
875
- _: 1
876
- /* STABLE */
877
-
787
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
788
+ _: 1 /* STABLE */
878
789
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
879
790
  span: 8
880
791
  }, {
@@ -886,29 +797,15 @@ const __default__ = {
886
797
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxAngle,
887
798
  "controls-position": "right",
888
799
  onChange: _cache[12] || (_cache[12] = $event => paramsChanged('angle'))
889
- }, null, 8
890
- /* PROPS */
891
- , ["modelValue", "min", "max"])]),
892
- _: 1
893
- /* STABLE */
894
-
800
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
801
+ _: 1 /* STABLE */
895
802
  })]),
896
- _: 1
897
- /* STABLE */
898
-
803
+ _: 1 /* STABLE */
899
804
  })]),
900
- _: 1
901
- /* STABLE */
902
-
903
- }, 8
904
- /* PROPS */
905
- , ["label"])]),
906
- _: 1
907
- /* STABLE */
908
-
909
- }, 512
910
- /* NEED_PATCH */
911
- ), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'spot']]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
805
+ _: 1 /* STABLE */
806
+ }, 8 /* PROPS */, ["label"])]),
807
+ _: 1 /* STABLE */
808
+ }, 512 /* NEED_PATCH */), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'spot']]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
912
809
  class: "rowclass"
913
810
  }, {
914
811
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
@@ -929,12 +826,8 @@ const __default__ = {
929
826
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minDecay,
930
827
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxDecay,
931
828
  onChange: _cache[14] || (_cache[14] = $event => paramsChanged('decay'))
932
- }, null, 8
933
- /* PROPS */
934
- , ["modelValue", "step", "min", "max"])]),
935
- _: 1
936
- /* STABLE */
937
-
829
+ }, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
830
+ _: 1 /* STABLE */
938
831
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
939
832
  span: 8
940
833
  }, {
@@ -946,29 +839,15 @@ const __default__ = {
946
839
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxDecay,
947
840
  "controls-position": "right",
948
841
  onChange: _cache[16] || (_cache[16] = $event => paramsChanged('decay'))
949
- }, null, 8
950
- /* PROPS */
951
- , ["modelValue", "step", "min", "max"])]),
952
- _: 1
953
- /* STABLE */
954
-
842
+ }, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
843
+ _: 1 /* STABLE */
955
844
  })]),
956
- _: 1
957
- /* STABLE */
958
-
845
+ _: 1 /* STABLE */
959
846
  })]),
960
- _: 1
961
- /* STABLE */
962
-
963
- }, 8
964
- /* PROPS */
965
- , ["label"])]),
966
- _: 1
967
- /* STABLE */
968
-
969
- }, 512
970
- /* NEED_PATCH */
971
- ), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'point' || (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'spot']]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
847
+ _: 1 /* STABLE */
848
+ }, 8 /* PROPS */, ["label"])]),
849
+ _: 1 /* STABLE */
850
+ }, 512 /* NEED_PATCH */), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'point' || (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'spot']]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
972
851
  class: "rowclass"
973
852
  }, {
974
853
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form_item, {
@@ -989,12 +868,8 @@ const __default__ = {
989
868
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minIntensity,
990
869
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxIntensity,
991
870
  onChange: _cache[18] || (_cache[18] = $event => paramsChanged('intensity'))
992
- }, null, 8
993
- /* PROPS */
994
- , ["modelValue", "step", "min", "max"])]),
995
- _: 1
996
- /* STABLE */
997
-
871
+ }, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
872
+ _: 1 /* STABLE */
998
873
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
999
874
  span: 8
1000
875
  }, {
@@ -1006,26 +881,14 @@ const __default__ = {
1006
881
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxIntensity,
1007
882
  "controls-position": "right",
1008
883
  onChange: _cache[20] || (_cache[20] = $event => paramsChanged('intensity'))
1009
- }, null, 8
1010
- /* PROPS */
1011
- , ["modelValue", "step", "min", "max"])]),
1012
- _: 1
1013
- /* STABLE */
1014
-
884
+ }, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
885
+ _: 1 /* STABLE */
1015
886
  })]),
1016
- _: 1
1017
- /* STABLE */
1018
-
887
+ _: 1 /* STABLE */
1019
888
  })]),
1020
- _: 1
1021
- /* STABLE */
1022
-
1023
- }, 8
1024
- /* PROPS */
1025
- , ["label"])]),
1026
- _: 1
1027
- /* STABLE */
1028
-
889
+ _: 1 /* STABLE */
890
+ }, 8 /* PROPS */, ["label"])]),
891
+ _: 1 /* STABLE */
1029
892
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
1030
893
  class: "rowclass"
1031
894
  }, {
@@ -1042,73 +905,34 @@ const __default__ = {
1042
905
  "onUpdate:modelValue": _cache[21] || (_cache[21] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).showModel = $event),
1043
906
  "controls-position": "left",
1044
907
  onChange: _cache[22] || (_cache[22] = $event => paramsChanged('showModel'))
1045
- }, null, 8
1046
- /* PROPS */
1047
- , ["modelValue"])]),
1048
- _: 1
1049
- /* STABLE */
1050
-
908
+ }, null, 8 /* PROPS */, ["modelValue"])]),
909
+ _: 1 /* STABLE */
1051
910
  })]),
1052
- _: 1
1053
- /* STABLE */
1054
-
1055
- }, 8
1056
- /* PROPS */
1057
- , ["label"])]),
1058
- _: 1
1059
- /* STABLE */
1060
-
1061
- }, 512
1062
- /* NEED_PATCH */
1063
- ), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'point' || (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'spot']])]),
1064
- _: 1
1065
- /* STABLE */
1066
-
1067
- }, 8
1068
- /* PROPS */
1069
- , ["label-width"])]),
1070
- _: 1
1071
- /* STABLE */
1072
-
1073
- }, 8
1074
- /* PROPS */
1075
- , ["title"])]),
1076
- _: 1
1077
- /* STABLE */
1078
-
1079
- }, 8
1080
- /* PROPS */
1081
- , ["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, {
911
+ _: 1 /* STABLE */
912
+ }, 8 /* PROPS */, ["label"])]),
913
+ _: 1 /* STABLE */
914
+ }, 512 /* NEED_PATCH */), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'point' || (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).mode === 'spot']])]),
915
+ _: 1 /* STABLE */
916
+ }, 8 /* PROPS */, ["label-width"])]),
917
+ _: 1 /* STABLE */
918
+ }, 8 /* PROPS */, ["title"])]),
919
+ _: 1 /* STABLE */
920
+ }, 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, {
1082
921
  onClick: _cache[23] || (_cache[23] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => add(), ["stop"])),
1083
922
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).add,
1084
923
  type: "primary"
1085
924
  }, {
1086
- 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
1087
- /* TEXT */
1088
- )]),
1089
- _: 1
1090
- /* STABLE */
1091
-
1092
- }, 8
1093
- /* PROPS */
1094
- , ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
925
+ 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 */)]),
926
+ _: 1 /* STABLE */
927
+ }, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1095
928
  onClick: _cache[24] || (_cache[24] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clear(), ["stop"])),
1096
929
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
1097
930
  }, {
1098
- 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
1099
- /* TEXT */
1100
- )]),
1101
- _: 1
1102
- /* STABLE */
1103
-
1104
- }, 8
1105
- /* PROPS */
1106
- , ["title"])])])], 2
1107
- /* CLASS */
1108
- );
931
+ 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 */)]),
932
+ _: 1 /* STABLE */
933
+ }, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
1109
934
  };
1110
935
  }
1111
-
1112
936
  }));
1113
937
  ;// CONCATENATED MODULE: ./src/webgl/light/Light.vue?vue&type=script&setup=true&lang=js
1114
938
 
@@ -1130,13 +954,11 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
1130
954
 
1131
955
 
1132
956
 
1133
-
1134
957
  Light.install = (Vue, opts) => {
1135
958
  init_js_default()(Vue, opts);
1136
959
  Vue.component(Light.name, Light);
1137
960
  };
1138
961
 
1139
-
1140
962
  }();
1141
963
  /******/ return __webpack_exports__;
1142
964
  /******/ })()