@kq_npm/client3d_webgl_vue 4.5.29-beta → 4.5.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adddata/index.js +518 -262
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +201 -123
- package/baseterraingallery/index.js +123 -94
- package/baseterraingallery/style/baseterraingallery.css +1 -1
- package/boxclip/index.js +442 -249
- package/clientPrint/index.js +27088 -14116
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +243 -213
- package/compass/index.js +68 -74
- package/excavatefillanalysis/index.js +225 -143
- package/fixedzoomin/index.js +82 -72
- package/fixedzoomout/index.js +80 -71
- package/flight/index.js +371 -257
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +347 -199
- package/geologicalbodyanalysis/index.js +260 -166
- package/gpuspatialquery/index.js +359 -198
- package/hawkeye/index.js +100 -131
- package/headertemp/index.js +25 -14
- package/heatmap3d/index.js +678 -366
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +20310 -7159
- package/isolineanalysis/index.js +1202 -504
- package/light/index.js +494 -349
- package/limitheightanalysis/index.js +223 -159
- package/measure/index.js +353 -198
- package/modelFlat/index.js +204 -167
- package/modelexcavate/index.js +191 -130
- package/modelfilter/index.js +271 -179
- package/modelprofileanalysis/index.js +316 -206
- package/modelselect/index.js +147 -142
- package/package.json +1 -1
- package/particleeffect/index.js +403 -225
- package/planeclip/index.js +300 -198
- package/resetview/index.js +52 -66
- package/roller/index.js +372 -304
- package/scaneffect/index.js +537 -230
- package/sceneadvancedtoimage/index.js +358 -205
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -1
- package/sceneapp/index.js +27088 -14116
- package/sceneset/index.js +864 -350
- package/scenetohdimage/index.js +297 -159
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +27088 -14116
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +301 -257
- package/shadowanalysis/index.js +405 -217
- package/sightlineanalysis/index.js +271 -183
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +308 -160
- package/slopeanalysis/index.js +397 -227
- package/slopeaspectanalysis/index.js +485 -259
- package/statusbar/index.js +65 -88
- package/style.css +1 -1
- package/terrainoperation/index.js +237 -176
- package/terrainprofileanalysis/index.js +138 -120
- package/typhoontrac/index.js +970 -234
- package/typhoontrac/style/typhoontrac.css +1 -1
- package/underground/index.js +61 -70
- package/videofusion/index.js +488 -265
- package/videoproject/index.js +490 -271
- package/viewshedanalysis/index.js +255 -151
- package/weathereffect/index.js +317 -166
- package/windyslicing/index.js +1947 -0
- package/windyslicing/style/index.js +3 -0
- package/windyslicing/style/windyslicing.css +1 -0
- package/wireframesketch/index.js +142 -110
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
3
|
module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/_utils/const-image"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/init.js"));
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
5
|
-
define(["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/_utils/const-image", "@kq_npm/client_common_vue/_utils/util", "@kq_npm/client_common_vue/init.js"], factory);
|
|
6
|
-
else
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
define("@kq_npm/client3d_webgl_vue", ["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/_utils/const-image", "@kq_npm/client_common_vue/_utils/util", "@kq_npm/client_common_vue/init.js"], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["@kq_npm/client3d_webgl_vue"] = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/_utils/const-image"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/init.js"));
|
|
8
|
+
else
|
|
9
|
+
root["@kq_npm/client3d_webgl_vue"] = factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/_utils/const-image"], root["@kq_npm/client_common_vue/_utils/util"], root["@kq_npm/client_common_vue/init.js"]);
|
|
10
10
|
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__6277__, __WEBPACK_EXTERNAL_MODULE__3458__, __WEBPACK_EXTERNAL_MODULE__7997__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
@@ -18,7 +18,8 @@ return /******/ (function() { // webpackBootstrap
|
|
|
18
18
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19
19
|
/* harmony export */ "Z": function() { return /* binding */ BaseterrainGalleryViewModel; }
|
|
20
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__(
|
|
21
|
+
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
22
|
+
|
|
22
23
|
|
|
23
24
|
/*
|
|
24
25
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
@@ -29,13 +30,15 @@ class BaseterrainGalleryViewModel {
|
|
|
29
30
|
//基本地形对象
|
|
30
31
|
constructor(viewer) {
|
|
31
32
|
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_baseterrainGallery", {});
|
|
33
|
+
|
|
32
34
|
this._baseterrainGallery.viewer = viewer;
|
|
33
35
|
this._baseterrainGallery.viewer.scene.globe.depthTestAgainstTerrain = false;
|
|
34
|
-
this._baseterrainGallery.viewer.scene.postProcessStages.fxaa.enabled = false;
|
|
35
|
-
|
|
36
|
+
this._baseterrainGallery.viewer.scene.postProcessStages.fxaa.enabled = false; //this.terrainTDT();
|
|
37
|
+
|
|
36
38
|
this.terrainNo();
|
|
37
39
|
this.terrainCesium();
|
|
38
40
|
}
|
|
41
|
+
|
|
39
42
|
setTerrainType(inx) {
|
|
40
43
|
if (inx === 0) {
|
|
41
44
|
this._baseterrainGallery.viewer.terrainProvider = this._baseterrainGallery.terrainTDT;
|
|
@@ -44,8 +47,9 @@ class BaseterrainGalleryViewModel {
|
|
|
44
47
|
} else if (inx === 2) {
|
|
45
48
|
this._baseterrainGallery.viewer.terrainProvider = this._baseterrainGallery.terrainNo;
|
|
46
49
|
}
|
|
47
|
-
}
|
|
48
|
-
|
|
50
|
+
} //天地图地形
|
|
51
|
+
|
|
52
|
+
|
|
49
53
|
terrainTDT() {
|
|
50
54
|
this._baseterrainGallery.terrainTDT = new window.Cesium.TiandituTerrainProvider({
|
|
51
55
|
url: "https://t{s}.tianditu.gov.cn/DEM90M/DataServer?T=elv_c",
|
|
@@ -55,12 +59,16 @@ class BaseterrainGalleryViewModel {
|
|
|
55
59
|
/**
|
|
56
60
|
* 无地形
|
|
57
61
|
*/
|
|
62
|
+
|
|
63
|
+
|
|
58
64
|
terrainNo() {
|
|
59
65
|
this._baseterrainGallery.terrainNo = new window.Cesium.EllipsoidTerrainProvider();
|
|
60
66
|
}
|
|
61
67
|
/**
|
|
62
68
|
* cesium全球地形
|
|
63
69
|
*/
|
|
70
|
+
|
|
71
|
+
|
|
64
72
|
terrainCesium() {
|
|
65
73
|
window.Cesium.Ion.defaultAccessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIwMTY2NmY5Yi05OTM4LTQzMDAtOWFiNS00NTFlZmVkYWE2OTMiLCJpZCI6Nzc1NDAsImlhdCI6MTY0MDMzNzc2MH0.V6JP-o1fF5PQZ6BQzo5vS1SATDid7sM0NjOtQuRULjU";
|
|
66
74
|
this._baseterrainGallery.terrainCesium = new window.Cesium.createWorldTerrain({
|
|
@@ -71,15 +79,20 @@ class BaseterrainGalleryViewModel {
|
|
|
71
79
|
/**
|
|
72
80
|
* 清理地图
|
|
73
81
|
*/
|
|
82
|
+
|
|
83
|
+
|
|
74
84
|
clear() {
|
|
75
85
|
this.setTerrainType(2);
|
|
76
86
|
}
|
|
77
87
|
/**
|
|
78
88
|
* 注销
|
|
79
89
|
*/
|
|
90
|
+
|
|
91
|
+
|
|
80
92
|
destroy() {
|
|
81
93
|
this.clear();
|
|
82
94
|
}
|
|
95
|
+
|
|
83
96
|
}
|
|
84
97
|
|
|
85
98
|
/***/ }),
|
|
@@ -133,59 +146,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
|
133
146
|
|
|
134
147
|
/***/ }),
|
|
135
148
|
|
|
136
|
-
/***/
|
|
149
|
+
/***/ 8270:
|
|
137
150
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
138
151
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
153
|
-
}, _typeof(o);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
157
|
-
|
|
158
|
-
function toPrimitive(t, r) {
|
|
159
|
-
if ("object" != _typeof(t) || !t) return t;
|
|
160
|
-
var e = t[Symbol.toPrimitive];
|
|
161
|
-
if (void 0 !== e) {
|
|
162
|
-
var i = e.call(t, r || "default");
|
|
163
|
-
if ("object" != _typeof(i)) return i;
|
|
164
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
152
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
153
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
154
|
+
/* harmony export */ });
|
|
155
|
+
function _defineProperty(obj, key, value) {
|
|
156
|
+
if (key in obj) {
|
|
157
|
+
Object.defineProperty(obj, key, {
|
|
158
|
+
value: value,
|
|
159
|
+
enumerable: true,
|
|
160
|
+
configurable: true,
|
|
161
|
+
writable: true
|
|
162
|
+
});
|
|
163
|
+
} else {
|
|
164
|
+
obj[key] = value;
|
|
165
165
|
}
|
|
166
|
-
return ("string" === r ? String : Number)(t);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
function toPropertyKey(t) {
|
|
173
|
-
var i = toPrimitive(t, "string");
|
|
174
|
-
return "symbol" == _typeof(i) ? i : i + "";
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
178
166
|
|
|
179
|
-
|
|
180
|
-
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
181
|
-
value: t,
|
|
182
|
-
enumerable: !0,
|
|
183
|
-
configurable: !0,
|
|
184
|
-
writable: !0
|
|
185
|
-
}) : e[r] = t, e;
|
|
167
|
+
return obj;
|
|
186
168
|
}
|
|
187
169
|
|
|
188
|
-
|
|
189
170
|
/***/ })
|
|
190
171
|
|
|
191
172
|
/******/ });
|
|
@@ -282,7 +263,7 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
282
263
|
var util_ = __webpack_require__(3458);
|
|
283
264
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
284
265
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
285
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/baseterraingallery/BaseterrainGallery.vue?vue&type=script&setup=true&lang=js
|
|
266
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/baseterraingallery/BaseterrainGallery.vue?vue&type=script&setup=true&lang=js
|
|
286
267
|
|
|
287
268
|
const _hoisted_1 = {
|
|
288
269
|
class: "kq3d-baseterrain-gallery-box"
|
|
@@ -330,6 +311,7 @@ const __default__ = {
|
|
|
330
311
|
type: Boolean,
|
|
331
312
|
default: true
|
|
332
313
|
},
|
|
314
|
+
|
|
333
315
|
/**
|
|
334
316
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
335
317
|
*/
|
|
@@ -359,30 +341,27 @@ const __default__ = {
|
|
|
359
341
|
default: true
|
|
360
342
|
}
|
|
361
343
|
},
|
|
344
|
+
|
|
362
345
|
setup(__props, {
|
|
363
346
|
expose: __expose
|
|
364
347
|
}) {
|
|
365
348
|
const props = __props;
|
|
366
349
|
const {
|
|
367
350
|
proxy
|
|
368
|
-
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
369
|
-
|
|
370
|
-
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
|
|
371
|
-
|
|
351
|
+
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)(); //语言
|
|
352
|
+
|
|
353
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]); //地形选中值
|
|
354
|
+
|
|
372
355
|
let currentIndex = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(2);
|
|
373
|
-
let currentTerrain = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
356
|
+
let currentTerrain = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(""); //逻辑类对象
|
|
374
357
|
|
|
375
|
-
|
|
376
|
-
let viewModel = null;
|
|
358
|
+
let viewModel = null; // 组件容器Ref
|
|
377
359
|
|
|
378
|
-
//
|
|
379
|
-
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
360
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
380
361
|
|
|
381
|
-
// 生成组件默认header
|
|
382
362
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
383
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
363
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
384
364
|
|
|
385
|
-
// 国际化
|
|
386
365
|
let {
|
|
387
366
|
locale,
|
|
388
367
|
messages
|
|
@@ -403,63 +382,76 @@ const __default__ = {
|
|
|
403
382
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
404
383
|
if (scenceView) {
|
|
405
384
|
changSelectTerrain();
|
|
406
|
-
viewModel = new BaseterrainGalleryViewModel/* default */.Z(scenceView._viewer);
|
|
407
|
-
|
|
385
|
+
viewModel = new BaseterrainGalleryViewModel/* default */.Z(scenceView._viewer); // 初始化无地形时不需要设置地形, 如果将地形设置为无地形可能会影响其他功能添加的地形
|
|
386
|
+
|
|
408
387
|
if (currentIndex.value != 2) viewModel.setTerrainType(currentIndex.value);
|
|
409
388
|
}
|
|
410
389
|
});
|
|
411
390
|
});
|
|
412
|
-
|
|
413
391
|
/**
|
|
414
392
|
* @description 监听header生成
|
|
415
393
|
*/
|
|
394
|
+
|
|
416
395
|
const watchCreateHeaderTemp = () => {
|
|
417
396
|
if (props.showHeaderTemp) {
|
|
418
397
|
// 生成headerTemp
|
|
419
398
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
420
399
|
}
|
|
421
400
|
};
|
|
401
|
+
|
|
422
402
|
function changSelectTerrain() {
|
|
423
403
|
switch (currentIndex.value) {
|
|
424
404
|
case 0:
|
|
425
405
|
currentTerrain.value = language.value["tiandituTerrain"];
|
|
426
406
|
break;
|
|
407
|
+
|
|
427
408
|
case 1:
|
|
428
409
|
currentTerrain.value = language.value["cesiumTerrain"];
|
|
429
410
|
break;
|
|
411
|
+
|
|
430
412
|
case 2:
|
|
431
413
|
currentTerrain.value = language.value["ellipsoidTerrain"];
|
|
432
414
|
break;
|
|
433
415
|
}
|
|
434
|
-
}
|
|
435
|
-
|
|
416
|
+
} //地形选择事件
|
|
417
|
+
|
|
418
|
+
|
|
436
419
|
function clickHandler(inx) {
|
|
437
420
|
currentIndex.value = inx;
|
|
438
421
|
changSelectTerrain();
|
|
439
422
|
viewModel.setTerrainType(currentIndex.value);
|
|
440
|
-
}
|
|
441
|
-
|
|
423
|
+
} //清除结果
|
|
424
|
+
|
|
425
|
+
|
|
442
426
|
function clearResult() {
|
|
443
427
|
viewModel && viewModel.clear();
|
|
444
428
|
}
|
|
429
|
+
|
|
445
430
|
function getSelectIndex() {
|
|
446
431
|
return currentIndex.value;
|
|
447
|
-
}
|
|
448
|
-
|
|
432
|
+
} // 销毁
|
|
433
|
+
|
|
434
|
+
|
|
449
435
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
450
436
|
clearResult();
|
|
451
437
|
});
|
|
438
|
+
|
|
452
439
|
__expose({
|
|
453
440
|
changSelectTerrain,
|
|
454
441
|
clickHandler,
|
|
455
442
|
getSelectIndex,
|
|
456
443
|
clearResult
|
|
457
444
|
});
|
|
445
|
+
|
|
458
446
|
return (_ctx, _cache) => {
|
|
459
447
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
448
|
+
|
|
460
449
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
450
|
+
|
|
461
451
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
452
|
+
|
|
462
453
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
454
|
+
|
|
463
455
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
464
456
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-baseterrain-gallery", {
|
|
465
457
|
'kq-box-shadow': __props.showShadow
|
|
@@ -470,7 +462,9 @@ const __default__ = {
|
|
|
470
462
|
key: 0,
|
|
471
463
|
ref_key: "headerTempRef",
|
|
472
464
|
ref: headerTempRef
|
|
473
|
-
}, null, 512
|
|
465
|
+
}, null, 512
|
|
466
|
+
/* NEED_PATCH */
|
|
467
|
+
)) : (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, {
|
|
474
468
|
style: {
|
|
475
469
|
"line-height": "48px",
|
|
476
470
|
"height": "48px"
|
|
@@ -479,10 +473,18 @@ const __default__ = {
|
|
|
479
473
|
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, {
|
|
480
474
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).onlineTerrain
|
|
481
475
|
}, {
|
|
482
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentTerrain)), 1
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
476
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentTerrain)), 1
|
|
477
|
+
/* TEXT */
|
|
478
|
+
)]),
|
|
479
|
+
_: 1
|
|
480
|
+
/* STABLE */
|
|
481
|
+
|
|
482
|
+
}, 8
|
|
483
|
+
/* PROPS */
|
|
484
|
+
, ["label"])]),
|
|
485
|
+
_: 1
|
|
486
|
+
/* STABLE */
|
|
487
|
+
|
|
486
488
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
487
489
|
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_col, {
|
|
488
490
|
span: 24
|
|
@@ -495,26 +497,51 @@ const __default__ = {
|
|
|
495
497
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("img", {
|
|
496
498
|
src: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(const_image_.CESIUM_TERRAiIN_URL),
|
|
497
499
|
alt: ""
|
|
498
|
-
}, null, 8
|
|
499
|
-
|
|
500
|
-
|
|
500
|
+
}, null, 8
|
|
501
|
+
/* PROPS */
|
|
502
|
+
, _hoisted_4)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_5, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_6, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).cesiumTerrain), 1
|
|
503
|
+
/* TEXT */
|
|
504
|
+
)])]),
|
|
505
|
+
_: 1
|
|
506
|
+
/* STABLE */
|
|
507
|
+
|
|
508
|
+
}, 8
|
|
509
|
+
/* PROPS */
|
|
510
|
+
, ["class"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
501
511
|
onClick: _cache[1] || (_cache[1] = $event => clickHandler(2)),
|
|
502
512
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentIndex) == 2 ? 'active' : '')
|
|
503
513
|
}, {
|
|
504
514
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_7, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("img", {
|
|
505
515
|
src: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(const_image_.NO_TERRAiIN_URL),
|
|
506
516
|
alt: ""
|
|
507
|
-
}, null, 8
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
517
|
+
}, null, 8
|
|
518
|
+
/* PROPS */
|
|
519
|
+
, _hoisted_8)]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_9, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_10, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).ellipsoidTerrain), 1
|
|
520
|
+
/* TEXT */
|
|
521
|
+
)])]),
|
|
522
|
+
_: 1
|
|
523
|
+
/* STABLE */
|
|
524
|
+
|
|
525
|
+
}, 8
|
|
526
|
+
/* PROPS */
|
|
527
|
+
, ["class"])]),
|
|
528
|
+
_: 1
|
|
529
|
+
/* STABLE */
|
|
530
|
+
|
|
511
531
|
})]),
|
|
512
|
-
_: 1
|
|
532
|
+
_: 1
|
|
533
|
+
/* STABLE */
|
|
534
|
+
|
|
513
535
|
})]),
|
|
514
|
-
_: 1
|
|
515
|
-
|
|
536
|
+
_: 1
|
|
537
|
+
/* STABLE */
|
|
538
|
+
|
|
539
|
+
})])], 2
|
|
540
|
+
/* CLASS */
|
|
541
|
+
);
|
|
516
542
|
};
|
|
517
543
|
}
|
|
544
|
+
|
|
518
545
|
}));
|
|
519
546
|
;// CONCATENATED MODULE: ./src/webgl/baseterraingallery/BaseterrainGallery.vue?vue&type=script&setup=true&lang=js
|
|
520
547
|
|
|
@@ -536,11 +563,13 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
|
536
563
|
|
|
537
564
|
|
|
538
565
|
|
|
566
|
+
|
|
539
567
|
BaseterrainGallery.install = (Vue, opts) => {
|
|
540
568
|
init_js_default()(Vue, opts);
|
|
541
569
|
Vue.component(BaseterrainGallery.name, BaseterrainGallery);
|
|
542
570
|
};
|
|
543
571
|
|
|
572
|
+
|
|
544
573
|
}();
|
|
545
574
|
/******/ return __webpack_exports__;
|
|
546
575
|
/******/ })()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.kq3d-baseterrain-gallery{z-index:999;border-radius:var(--kq-border-radius-base);padding:16px;pointer-events:auto;cursor:default;background-color:var(--kq-bg-color)}.kq3d-baseterrain-gallery .kq3d-baseterrain-gallery-box{width:
|
|
1
|
+
.kq3d-baseterrain-gallery{z-index:999;border-radius:var(--kq-border-radius-base);padding:16px;pointer-events:auto;cursor:default;background-color:var(--kq-bg-color)}.kq3d-baseterrain-gallery .kq3d-baseterrain-gallery-box{width:250px}.kq3d-baseterrain-gallery .kq-form-item__label{height:48px;line-height:48px}.kq3d-baseterrain-gallery .kq-form-item{margin-bottom:0;width:100%}.kq3d-baseterrain-gallery .kq-form-item__content{text-align:end;display:block}.kq3d-baseterrain-gallery .divSpan{width:calc(100% - 16px);height:24px;line-height:24px;border-radius:var(--kq-border-radius-base);background-color:var(--kq-fill-color-light);text-align:left;padding:12px 8px;font-family:Noto Sans SC;font-style:normal;font-weight:400;font-size:14px;color:var(--kq-text-color-primary);-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-font-feature-settings:"tnum" on,"lnum" on;font-feature-settings:"tnum" on,"lnum" on}.kq3d-baseterrain-gallery .kq-col-24{padding:8px;margin-top:16px;border:1px solid var(--kq-border-color);border-radius:var(--kq-border-radius-base);background-color:var(--kq-fill-color-lighter)}.kq3d-baseterrain-gallery .kq-form .kq-row{margin-left:0!important;margin-right:0!important;cursor:pointer;position:relative}.kq3d-baseterrain-gallery .kq-form .kq-row .divImg{height:72px;line-height:72px;font-family:Noto Sans SC;font-style:normal;font-weight:400;font-size:14px;padding-left:0!important;padding-right:0!important;color:var(--kq-text-color-primary)}.kq3d-baseterrain-gallery .kq-form .kq-row .divImg img{width:64px;height:64px;margin:4px;border:1px solid #c0c4cc}.kq3d-baseterrain-gallery .kq-form .kq-row .divText{position:absolute;right:8px;top:4px;bottom:4px;left:76px}.kq3d-baseterrain-gallery .kq-form .kq-row .divText .text{display:inline-block;height:64px;line-height:64px;font-size:14px}.kq3d-baseterrain-gallery .kq-form .kq-row.active{background-color:var(--kq-color-primary-light-8)}
|