@kq_npm/client3d_webgl_vue 4.5.2 → 4.5.4-beta

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