@kq_npm/client3d_webgl_vue 4.5.3-beta → 4.5.4-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adddata/index.js +337 -524
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +159 -227
- package/baseterraingallery/index.js +122 -145
- package/boxclip/index.js +288 -470
- package/clientPrint/index.js +333 -897
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +224 -246
- package/compass/index.js +96 -84
- package/excavatefillanalysis/index.js +181 -252
- package/fixedzoomin/index.js +91 -76
- package/fixedzoomout/index.js +91 -76
- package/flight/index.js +297 -401
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +243 -382
- package/geologicalbodyanalysis/index.js +203 -287
- package/gpuspatialquery/index.js +240 -390
- package/hawkeye/index.js +139 -103
- package/headertemp/index.js +23 -33
- package/heatmap3d/index.js +426 -733
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +7913 -16839
- package/isolineanalysis/index.js +554 -1231
- package/light/index.js +351 -488
- package/limitheightanalysis/index.js +249 -312
- package/measure/index.js +339 -493
- package/modelFlat/index.js +202 -223
- package/modelexcavate/index.js +194 -251
- package/modelfilter/index.js +216 -299
- package/modelprofileanalysis/index.js +354 -465
- package/modelselect/index.js +180 -173
- package/package.json +1 -1
- package/particleeffect/index.js +257 -430
- package/planeclip/index.js +237 -328
- package/resetview/index.js +89 -69
- package/roller/index.js +305 -363
- package/scaneffect/index.js +273 -571
- package/sceneadvancedtoimage/index.js +1055 -0
- package/sceneadvancedtoimage/style/index.js +3 -0
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
- package/sceneapp/index.js +818 -2179
- package/sceneset/index.js +391 -885
- package/scenetohdimage/index.js +212 -346
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +9018 -17813
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +273 -312
- package/shadowanalysis/index.js +256 -436
- package/sightlineanalysis/index.js +229 -312
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +200 -339
- package/slopeanalysis/index.js +270 -433
- package/slopeaspectanalysis/index.js +303 -523
- package/statusbar/index.js +113 -84
- package/style.css +1 -1
- package/terrainoperation/index.js +218 -269
- package/terrainprofileanalysis/index.js +162 -171
- package/underground/index.js +96 -82
- package/videofusion/index.js +305 -519
- package/videoproject/index.js +311 -521
- package/viewshedanalysis/index.js +176 -275
- package/weathereffect/index.js +197 -343
- package/wireframesketch/index.js +133 -141
package/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(
|
|
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
|
-
/***/
|
|
16
|
-
/***/ (function(
|
|
15
|
+
/***/ 5698:
|
|
16
|
+
/***/ (function(module) {
|
|
17
17
|
|
|
18
|
-
|
|
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
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
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
|
-
|
|
82
|
+
// EXPORTS
|
|
83
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
84
|
+
A: function() { return /* binding */ _defineProperty; }
|
|
85
|
+
});
|
|
38
86
|
|
|
39
|
-
|
|
87
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
88
|
+
function _typeof(o) {
|
|
89
|
+
"@babel/helpers - typeof";
|
|
40
90
|
|
|
41
|
-
|
|
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
|
+
}
|
|
42
97
|
|
|
43
|
-
|
|
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
|
+
}
|
|
44
110
|
|
|
45
|
-
|
|
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
|
+
}
|
|
46
129
|
|
|
47
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_lightList", []);
|
|
48
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
|
+
});
|
|
210
|
+
|
|
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
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
/*
|
|
231
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
232
|
+
* All rights reserved.
|
|
233
|
+
*/
|
|
234
|
+
//灯光特效逻辑类
|
|
235
|
+
class LightViewModel {
|
|
236
|
+
//灯光对象集合
|
|
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;
|
|
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
|
-
|
|
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
|
-
}
|
|
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__(
|
|
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__(
|
|
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 = (
|
|
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
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;
|
|
530
|
+
let viewModel = null;
|
|
515
531
|
|
|
516
|
-
|
|
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,104 +556,80 @@ 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
|
|
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
|
-
|
|
608
615
|
__expose({
|
|
609
616
|
changeMode,
|
|
610
617
|
paramsChanged,
|
|
611
618
|
add,
|
|
612
619
|
clear
|
|
613
620
|
});
|
|
614
|
-
|
|
615
621
|
return (_ctx, _cache) => {
|
|
616
622
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
617
|
-
|
|
618
623
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
619
|
-
|
|
620
624
|
const _component_kq_color_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-color-picker");
|
|
621
|
-
|
|
622
625
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
623
|
-
|
|
624
626
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
625
|
-
|
|
626
627
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
627
|
-
|
|
628
628
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
629
|
-
|
|
630
629
|
const _component_kq_switch = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-switch");
|
|
631
|
-
|
|
632
630
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
633
|
-
|
|
634
631
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
635
|
-
|
|
636
632
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
637
|
-
|
|
638
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", {
|
|
639
634
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-light", {
|
|
640
635
|
'kq-box-shadow': __props.showShadow
|
|
@@ -645,9 +640,7 @@ const __default__ = {
|
|
|
645
640
|
key: 0,
|
|
646
641
|
ref_key: "headerTempRef",
|
|
647
642
|
ref: headerTempRef
|
|
648
|
-
}, null, 512
|
|
649
|
-
/* NEED_PATCH */
|
|
650
|
-
)) : (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, {
|
|
651
644
|
gutter: 20,
|
|
652
645
|
class: "rowclass"
|
|
653
646
|
}, {
|
|
@@ -656,35 +649,23 @@ const __default__ = {
|
|
|
656
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' : '']),
|
|
657
650
|
onClick: _cache[0] || (_cache[0] = $event => changeMode('point')),
|
|
658
651
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pointLightSource
|
|
659
|
-
}, null, 8
|
|
660
|
-
/* PROPS */
|
|
661
|
-
, ["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, {
|
|
662
653
|
icon: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconSpotlight),
|
|
663
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' : '']),
|
|
664
655
|
onClick: _cache[1] || (_cache[1] = $event => changeMode('spot')),
|
|
665
656
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).spotlight
|
|
666
|
-
}, null, 8
|
|
667
|
-
/* PROPS */
|
|
668
|
-
, ["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, {
|
|
669
658
|
icon: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(client_icons_vue_.IconParallelLight),
|
|
670
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' : '']),
|
|
671
660
|
onClick: _cache[2] || (_cache[2] = $event => changeMode('parallel')),
|
|
672
661
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).parallelLight
|
|
673
|
-
}, null, 8
|
|
674
|
-
/*
|
|
675
|
-
, ["icon", "class", "title"])]),
|
|
676
|
-
_: 1
|
|
677
|
-
/* STABLE */
|
|
678
|
-
|
|
662
|
+
}, null, 8 /* PROPS */, ["icon", "class", "title"])]),
|
|
663
|
+
_: 1 /* STABLE */
|
|
679
664
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
680
665
|
class: "kq3d-light-tip"
|
|
681
666
|
}, {
|
|
682
|
-
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
|
|
683
|
-
/*
|
|
684
|
-
)]),
|
|
685
|
-
_: 1
|
|
686
|
-
/* STABLE */
|
|
687
|
-
|
|
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 */
|
|
688
669
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
689
670
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(collapseValue),
|
|
690
671
|
class: "kq3d-light-collapse"
|
|
@@ -712,22 +693,12 @@ const __default__ = {
|
|
|
712
693
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).color,
|
|
713
694
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).color = $event),
|
|
714
695
|
onChange: _cache[4] || (_cache[4] = $event => paramsChanged('color'))
|
|
715
|
-
}, null, 8
|
|
716
|
-
/*
|
|
717
|
-
, ["modelValue"])]),
|
|
718
|
-
_: 1
|
|
719
|
-
/* STABLE */
|
|
720
|
-
|
|
696
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
697
|
+
_: 1 /* STABLE */
|
|
721
698
|
})]),
|
|
722
|
-
_: 1
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
}, 8
|
|
726
|
-
/* PROPS */
|
|
727
|
-
, ["label"])]),
|
|
728
|
-
_: 1
|
|
729
|
-
/* STABLE */
|
|
730
|
-
|
|
699
|
+
_: 1 /* STABLE */
|
|
700
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
701
|
+
_: 1 /* STABLE */
|
|
731
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, {
|
|
732
703
|
class: "rowclass"
|
|
733
704
|
}, {
|
|
@@ -749,12 +720,8 @@ const __default__ = {
|
|
|
749
720
|
min: 1,
|
|
750
721
|
max: 1000,
|
|
751
722
|
onInput: _cache[6] || (_cache[6] = $event => paramsChanged('distance'))
|
|
752
|
-
}, null, 8
|
|
753
|
-
/*
|
|
754
|
-
, ["modelValue", "step"])]),
|
|
755
|
-
_: 1
|
|
756
|
-
/* STABLE */
|
|
757
|
-
|
|
723
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
724
|
+
_: 1 /* STABLE */
|
|
758
725
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
759
726
|
span: 8
|
|
760
727
|
}, {
|
|
@@ -766,29 +733,15 @@ const __default__ = {
|
|
|
766
733
|
max: 1000,
|
|
767
734
|
"controls-position": "right",
|
|
768
735
|
onInput: _cache[8] || (_cache[8] = $event => paramsChanged('distance'))
|
|
769
|
-
}, null, 8
|
|
770
|
-
/*
|
|
771
|
-
, ["modelValue", "step"])]),
|
|
772
|
-
_: 1
|
|
773
|
-
/* STABLE */
|
|
774
|
-
|
|
736
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
737
|
+
_: 1 /* STABLE */
|
|
775
738
|
})]),
|
|
776
|
-
_: 1
|
|
777
|
-
/* STABLE */
|
|
778
|
-
|
|
739
|
+
_: 1 /* STABLE */
|
|
779
740
|
})]),
|
|
780
|
-
_: 1
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
/* PROPS */
|
|
785
|
-
, ["label"])]),
|
|
786
|
-
_: 1
|
|
787
|
-
/* STABLE */
|
|
788
|
-
|
|
789
|
-
}, 512
|
|
790
|
-
/* NEED_PATCH */
|
|
791
|
-
), [[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, {
|
|
792
745
|
class: "rowclass"
|
|
793
746
|
}, {
|
|
794
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, {
|
|
@@ -809,12 +762,8 @@ const __default__ = {
|
|
|
809
762
|
min: 0,
|
|
810
763
|
max: 160,
|
|
811
764
|
onInput: _cache[10] || (_cache[10] = $event => paramsChanged('angle'))
|
|
812
|
-
}, null, 8
|
|
813
|
-
/*
|
|
814
|
-
, ["modelValue", "step"])]),
|
|
815
|
-
_: 1
|
|
816
|
-
/* STABLE */
|
|
817
|
-
|
|
765
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
766
|
+
_: 1 /* STABLE */
|
|
818
767
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
819
768
|
span: 8
|
|
820
769
|
}, {
|
|
@@ -826,29 +775,15 @@ const __default__ = {
|
|
|
826
775
|
max: 160,
|
|
827
776
|
"controls-position": "right",
|
|
828
777
|
onInput: _cache[12] || (_cache[12] = $event => paramsChanged('angle'))
|
|
829
|
-
}, null, 8
|
|
830
|
-
/*
|
|
831
|
-
, ["modelValue", "step"])]),
|
|
832
|
-
_: 1
|
|
833
|
-
/* STABLE */
|
|
834
|
-
|
|
778
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
779
|
+
_: 1 /* STABLE */
|
|
835
780
|
})]),
|
|
836
|
-
_: 1
|
|
837
|
-
/* STABLE */
|
|
838
|
-
|
|
781
|
+
_: 1 /* STABLE */
|
|
839
782
|
})]),
|
|
840
|
-
_: 1
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
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 === '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, {
|
|
852
787
|
class: "rowclass"
|
|
853
788
|
}, {
|
|
854
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, {
|
|
@@ -869,12 +804,8 @@ const __default__ = {
|
|
|
869
804
|
min: 0,
|
|
870
805
|
max: 1,
|
|
871
806
|
onInput: _cache[14] || (_cache[14] = $event => paramsChanged('decay'))
|
|
872
|
-
}, null, 8
|
|
873
|
-
/*
|
|
874
|
-
, ["modelValue", "step"])]),
|
|
875
|
-
_: 1
|
|
876
|
-
/* STABLE */
|
|
877
|
-
|
|
807
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
808
|
+
_: 1 /* STABLE */
|
|
878
809
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
879
810
|
span: 8
|
|
880
811
|
}, {
|
|
@@ -886,29 +817,15 @@ const __default__ = {
|
|
|
886
817
|
max: 1,
|
|
887
818
|
"controls-position": "right",
|
|
888
819
|
onInput: _cache[16] || (_cache[16] = $event => paramsChanged('decay'))
|
|
889
|
-
}, null, 8
|
|
890
|
-
/*
|
|
891
|
-
, ["modelValue", "step"])]),
|
|
892
|
-
_: 1
|
|
893
|
-
/* STABLE */
|
|
894
|
-
|
|
820
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
821
|
+
_: 1 /* STABLE */
|
|
895
822
|
})]),
|
|
896
|
-
_: 1
|
|
897
|
-
/* STABLE */
|
|
898
|
-
|
|
823
|
+
_: 1 /* STABLE */
|
|
899
824
|
})]),
|
|
900
|
-
_: 1
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
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 === '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, {
|
|
912
829
|
class: "rowclass"
|
|
913
830
|
}, {
|
|
914
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, {
|
|
@@ -929,12 +846,8 @@ const __default__ = {
|
|
|
929
846
|
min: 0.1,
|
|
930
847
|
max: 10.0,
|
|
931
848
|
onInput: _cache[18] || (_cache[18] = $event => paramsChanged('intensity'))
|
|
932
|
-
}, null, 8
|
|
933
|
-
/*
|
|
934
|
-
, ["modelValue", "step", "min", "max"])]),
|
|
935
|
-
_: 1
|
|
936
|
-
/* STABLE */
|
|
937
|
-
|
|
849
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
850
|
+
_: 1 /* STABLE */
|
|
938
851
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
939
852
|
span: 8
|
|
940
853
|
}, {
|
|
@@ -946,26 +859,14 @@ const __default__ = {
|
|
|
946
859
|
max: 10.0,
|
|
947
860
|
"controls-position": "right",
|
|
948
861
|
onInput: _cache[20] || (_cache[20] = $event => paramsChanged('intensity'))
|
|
949
|
-
}, null, 8
|
|
950
|
-
/*
|
|
951
|
-
, ["modelValue", "step", "min", "max"])]),
|
|
952
|
-
_: 1
|
|
953
|
-
/* STABLE */
|
|
954
|
-
|
|
862
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
863
|
+
_: 1 /* STABLE */
|
|
955
864
|
})]),
|
|
956
|
-
_: 1
|
|
957
|
-
/* STABLE */
|
|
958
|
-
|
|
865
|
+
_: 1 /* STABLE */
|
|
959
866
|
})]),
|
|
960
|
-
_: 1
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
}, 8
|
|
964
|
-
/* PROPS */
|
|
965
|
-
, ["label"])]),
|
|
966
|
-
_: 1
|
|
967
|
-
/* STABLE */
|
|
968
|
-
|
|
867
|
+
_: 1 /* STABLE */
|
|
868
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
869
|
+
_: 1 /* STABLE */
|
|
969
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, {
|
|
970
871
|
class: "rowclass"
|
|
971
872
|
}, {
|
|
@@ -982,73 +883,34 @@ const __default__ = {
|
|
|
982
883
|
"onUpdate:modelValue": _cache[21] || (_cache[21] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).showModel = $event),
|
|
983
884
|
"controls-position": "left",
|
|
984
885
|
onChange: _cache[22] || (_cache[22] = $event => paramsChanged('showModel'))
|
|
985
|
-
}, null, 8
|
|
986
|
-
/*
|
|
987
|
-
, ["modelValue"])]),
|
|
988
|
-
_: 1
|
|
989
|
-
/* STABLE */
|
|
990
|
-
|
|
886
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
887
|
+
_: 1 /* STABLE */
|
|
991
888
|
})]),
|
|
992
|
-
_: 1
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
/* NEED_PATCH */
|
|
1003
|
-
), [[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']])]),
|
|
1004
|
-
_: 1
|
|
1005
|
-
/* STABLE */
|
|
1006
|
-
|
|
1007
|
-
}, 8
|
|
1008
|
-
/* PROPS */
|
|
1009
|
-
, ["label-width"])]),
|
|
1010
|
-
_: 1
|
|
1011
|
-
/* STABLE */
|
|
1012
|
-
|
|
1013
|
-
}, 8
|
|
1014
|
-
/* PROPS */
|
|
1015
|
-
, ["title"])]),
|
|
1016
|
-
_: 1
|
|
1017
|
-
/* STABLE */
|
|
1018
|
-
|
|
1019
|
-
}, 8
|
|
1020
|
-
/* PROPS */
|
|
1021
|
-
, ["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, {
|
|
1022
899
|
onClick: _cache[23] || (_cache[23] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => add(), ["stop"])),
|
|
1023
900
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).add,
|
|
1024
901
|
type: "primary"
|
|
1025
902
|
}, {
|
|
1026
|
-
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
|
|
1027
|
-
/*
|
|
1028
|
-
|
|
1029
|
-
_: 1
|
|
1030
|
-
/* STABLE */
|
|
1031
|
-
|
|
1032
|
-
}, 8
|
|
1033
|
-
/* PROPS */
|
|
1034
|
-
, ["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, {
|
|
1035
906
|
onClick: _cache[24] || (_cache[24] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clear(), ["stop"])),
|
|
1036
907
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
1037
908
|
}, {
|
|
1038
|
-
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
|
|
1039
|
-
/*
|
|
1040
|
-
|
|
1041
|
-
_: 1
|
|
1042
|
-
/* STABLE */
|
|
1043
|
-
|
|
1044
|
-
}, 8
|
|
1045
|
-
/* PROPS */
|
|
1046
|
-
, ["title"])])])], 2
|
|
1047
|
-
/* CLASS */
|
|
1048
|
-
);
|
|
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 */);
|
|
1049
912
|
};
|
|
1050
913
|
}
|
|
1051
|
-
|
|
1052
914
|
}));
|
|
1053
915
|
;// CONCATENATED MODULE: ./src/webgl/light/Light.vue?vue&type=script&setup=true&lang=js
|
|
1054
916
|
|
|
@@ -1060,10 +922,13 @@ const __exports__ = Lightvue_type_script_setup_true_lang_js;
|
|
|
1060
922
|
|
|
1061
923
|
/* harmony default export */ var Light = (__exports__);
|
|
1062
924
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
1063
|
-
var init_js_ = __webpack_require__(
|
|
925
|
+
var init_js_ = __webpack_require__(455);
|
|
1064
926
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
1065
927
|
;// CONCATENATED MODULE: ./src/webgl/light/index.js
|
|
1066
|
-
|
|
928
|
+
/*
|
|
929
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
930
|
+
* All rights reserved.
|
|
931
|
+
*/
|
|
1067
932
|
|
|
1068
933
|
|
|
1069
934
|
|
|
@@ -1072,8 +937,6 @@ Light.install = (Vue, opts) => {
|
|
|
1072
937
|
Vue.component(Light.name, Light);
|
|
1073
938
|
};
|
|
1074
939
|
|
|
1075
|
-
|
|
1076
|
-
}();
|
|
1077
940
|
/******/ return __webpack_exports__;
|
|
1078
941
|
/******/ })()
|
|
1079
942
|
;
|