@kq_npm/client3d_webgl_vue 4.5.31 → 4.5.32
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 +226 -495
- package/aspectanalysis/index.js +71 -182
- package/baseterraingallery/index.js +40 -102
- package/boxclip/index.js +197 -423
- package/clientPrint/index.js +6953 -17145
- package/comparemap/index.js +165 -216
- package/compass/index.js +20 -47
- package/excavatefillanalysis/index.js +101 -206
- package/fixedzoomin/index.js +20 -43
- package/fixedzoomout/index.js +18 -42
- package/flight/index.js +206 -353
- package/floodanalysis/index.js +145 -328
- package/geologicalbodyanalysis/index.js +114 -241
- package/gpuspatialquery/index.js +146 -340
- package/hawkeye/index.js +78 -80
- package/headertemp/index.js +8 -19
- package/heatmap3d/index.js +304 -645
- package/index.js +6525 -16962
- package/isolineanalysis/index.js +451 -1183
- package/light/index.js +308 -486
- package/limitheightanalysis/index.js +107 -204
- package/measure/index.js +145 -331
- package/modelFlat/index.js +114 -183
- package/modelexcavate/index.js +78 -172
- package/modelfilter/index.js +127 -252
- package/modelprofileanalysis/index.js +154 -297
- package/modelselect/index.js +90 -128
- package/package.json +1 -1
- package/particleeffect/index.js +170 -381
- package/planeclip/index.js +146 -281
- package/resetview/index.js +12 -31
- package/roller/index.js +252 -353
- package/scaneffect/index.js +178 -518
- package/sceneadvancedtoimage/index.js +152 -337
- package/sceneapp/index.js +6953 -17145
- package/sceneset/index.js +299 -838
- package/scenetohdimage/index.js +105 -276
- package/sceneview/index.js +6953 -17145
- package/screenshot/index.js +204 -281
- package/shadowanalysis/index.js +175 -386
- package/sightlineanalysis/index.js +135 -245
- package/skylineanalysis/index.js +108 -289
- package/slopeanalysis/index.js +174 -378
- package/slopeaspectanalysis/index.js +206 -466
- package/statusbar/index.js +37 -39
- package/terrainoperation/index.js +124 -218
- package/terrainprofileanalysis/index.js +66 -118
- package/typhoontrac/index.js +165 -321
- package/underground/index.js +16 -40
- package/videofusion/index.js +214 -470
- package/videoproject/index.js +220 -472
- package/viewshedanalysis/index.js +93 -230
- package/weathereffect/index.js +111 -295
- package/windyslicing/index.js +262 -695
- package/wireframesketch/index.js +49 -106
package/statusbar/index.js
CHANGED
|
@@ -13,7 +13,8 @@ return /******/ (function() { // webpackBootstrap
|
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
15
|
/***/ 7705:
|
|
16
|
-
/***/ (function(module) {
|
|
16
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
17
|
+
|
|
17
18
|
|
|
18
19
|
|
|
19
20
|
/*
|
|
@@ -22,51 +23,44 @@ return /******/ (function() { // webpackBootstrap
|
|
|
22
23
|
*/
|
|
23
24
|
// css base code, injected by the css-loader
|
|
24
25
|
// eslint-disable-next-line func-names
|
|
25
|
-
|
|
26
|
+
__webpack_require__(2118);
|
|
27
|
+
__webpack_require__(8470);
|
|
28
|
+
__webpack_require__(2170);
|
|
26
29
|
module.exports = function (cssWithMappingToString) {
|
|
27
30
|
var list = []; // return the list of modules as css string
|
|
28
31
|
|
|
29
32
|
list.toString = function toString() {
|
|
30
33
|
return this.map(function (item) {
|
|
31
34
|
var content = cssWithMappingToString(item);
|
|
32
|
-
|
|
33
35
|
if (item[2]) {
|
|
34
36
|
return "@media ".concat(item[2], " {").concat(content, "}");
|
|
35
37
|
}
|
|
36
|
-
|
|
37
38
|
return content;
|
|
38
39
|
}).join("");
|
|
39
40
|
}; // import a list of modules into the list
|
|
40
41
|
// eslint-disable-next-line func-names
|
|
41
42
|
|
|
42
|
-
|
|
43
43
|
list.i = function (modules, mediaQuery, dedupe) {
|
|
44
44
|
if (typeof modules === "string") {
|
|
45
45
|
// eslint-disable-next-line no-param-reassign
|
|
46
46
|
modules = [[null, modules, ""]];
|
|
47
47
|
}
|
|
48
|
-
|
|
49
48
|
var alreadyImportedModules = {};
|
|
50
|
-
|
|
51
49
|
if (dedupe) {
|
|
52
50
|
for (var i = 0; i < this.length; i++) {
|
|
53
51
|
// eslint-disable-next-line prefer-destructuring
|
|
54
52
|
var id = this[i][0];
|
|
55
|
-
|
|
56
53
|
if (id != null) {
|
|
57
54
|
alreadyImportedModules[id] = true;
|
|
58
55
|
}
|
|
59
56
|
}
|
|
60
57
|
}
|
|
61
|
-
|
|
62
58
|
for (var _i = 0; _i < modules.length; _i++) {
|
|
63
59
|
var item = [].concat(modules[_i]);
|
|
64
|
-
|
|
65
60
|
if (dedupe && alreadyImportedModules[item[0]]) {
|
|
66
61
|
// eslint-disable-next-line no-continue
|
|
67
62
|
continue;
|
|
68
63
|
}
|
|
69
|
-
|
|
70
64
|
if (mediaQuery) {
|
|
71
65
|
if (!item[2]) {
|
|
72
66
|
item[2] = mediaQuery;
|
|
@@ -74,11 +68,9 @@ module.exports = function (cssWithMappingToString) {
|
|
|
74
68
|
item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
|
|
75
69
|
}
|
|
76
70
|
}
|
|
77
|
-
|
|
78
71
|
list.push(item);
|
|
79
72
|
}
|
|
80
73
|
};
|
|
81
|
-
|
|
82
74
|
return list;
|
|
83
75
|
};
|
|
84
76
|
|
|
@@ -375,6 +367,27 @@ module.exports = function (list, options) {
|
|
|
375
367
|
|
|
376
368
|
/***/ }),
|
|
377
369
|
|
|
370
|
+
/***/ 2118:
|
|
371
|
+
/***/ (function(module) {
|
|
372
|
+
|
|
373
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
374
|
+
|
|
375
|
+
/***/ }),
|
|
376
|
+
|
|
377
|
+
/***/ 8470:
|
|
378
|
+
/***/ (function(module) {
|
|
379
|
+
|
|
380
|
+
module.exports = require("core-js/modules/esnext.iterator.constructor.js");
|
|
381
|
+
|
|
382
|
+
/***/ }),
|
|
383
|
+
|
|
384
|
+
/***/ 2170:
|
|
385
|
+
/***/ (function(module) {
|
|
386
|
+
|
|
387
|
+
module.exports = require("core-js/modules/esnext.iterator.map.js");
|
|
388
|
+
|
|
389
|
+
/***/ }),
|
|
390
|
+
|
|
378
391
|
/***/ 7080:
|
|
379
392
|
/***/ (function(module) {
|
|
380
393
|
|
|
@@ -427,7 +440,6 @@ function _defineProperty(obj, key, value) {
|
|
|
427
440
|
} else {
|
|
428
441
|
obj[key] = value;
|
|
429
442
|
}
|
|
430
|
-
|
|
431
443
|
return obj;
|
|
432
444
|
}
|
|
433
445
|
|
|
@@ -528,17 +540,15 @@ var defineProperty = __webpack_require__(8270);
|
|
|
528
540
|
var util_ = __webpack_require__(3458);
|
|
529
541
|
;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBarViewModel.js
|
|
530
542
|
|
|
531
|
-
|
|
532
543
|
/*
|
|
533
544
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
534
545
|
* All rights reserved.
|
|
535
546
|
*/
|
|
536
|
-
// 地图状态栏逻辑类
|
|
537
547
|
|
|
548
|
+
// 地图状态栏逻辑类
|
|
538
549
|
class StatusBarViewModel {
|
|
539
550
|
constructor(viewer, options) {
|
|
540
551
|
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
541
|
-
|
|
542
552
|
viewer.statusBar.show = true;
|
|
543
553
|
let callback = viewer.statusBar.readyPromise.then || viewer.statusBar.readyPromise.resolve;
|
|
544
554
|
callback(() => {
|
|
@@ -548,33 +558,26 @@ class StatusBarViewModel {
|
|
|
548
558
|
if (options.hideResolution) {
|
|
549
559
|
viewer.statusBar.hideResolution();
|
|
550
560
|
}
|
|
551
|
-
|
|
552
561
|
if (options.hideScale) {
|
|
553
562
|
viewer.statusBar.hideScale();
|
|
554
563
|
}
|
|
555
|
-
|
|
556
564
|
if (options.hideLonLat) {
|
|
557
565
|
viewer.statusBar.hideLonLat();
|
|
558
566
|
}
|
|
559
|
-
|
|
560
567
|
if (options.hideEyeAlt) {
|
|
561
568
|
viewer.statusBar.hideEyeAlt();
|
|
562
569
|
}
|
|
563
|
-
|
|
564
570
|
if (options.hideCopyright) {
|
|
565
571
|
viewer.statusBar.hideCopyright();
|
|
566
572
|
}
|
|
567
|
-
|
|
568
573
|
if (options.copyrightText) {
|
|
569
574
|
viewer.statusBar.setCopyrightText(options.copyrightText);
|
|
570
575
|
}
|
|
571
576
|
});
|
|
572
577
|
this._viewer = viewer;
|
|
573
578
|
}
|
|
574
|
-
|
|
575
579
|
changeLanguage(lang) {
|
|
576
580
|
var that = this;
|
|
577
|
-
|
|
578
581
|
if (that._viewer.statusBar._ready) {
|
|
579
582
|
var originLanguage = that._viewer.statusBar._curLanguage;
|
|
580
583
|
var language = new Cesium.Languages({
|
|
@@ -584,7 +587,6 @@ class StatusBarViewModel {
|
|
|
584
587
|
//loaded success
|
|
585
588
|
that._viewer._language = language;
|
|
586
589
|
var langContent = language.content;
|
|
587
|
-
|
|
588
590
|
if (langContent) {
|
|
589
591
|
that._viewer.statusBar._curLanguage = {
|
|
590
592
|
mUnit: langContent.mUnit,
|
|
@@ -603,24 +605,23 @@ class StatusBarViewModel {
|
|
|
603
605
|
copyright: langContent.copyright,
|
|
604
606
|
scale: langContent.scale
|
|
605
607
|
};
|
|
606
|
-
var id = that._viewer.statusBar._id;
|
|
607
|
-
|
|
608
|
+
var id = that._viewer.statusBar._id;
|
|
609
|
+
// 比例尺控件
|
|
608
610
|
var html = document.getElementById(id + '_ScaleBarTxt').innerHTML;
|
|
609
|
-
(0,util_.setInnerHtml)(document.getElementById(id + '_ScaleBarTxt'), html.replace(originLanguage.scale, langContent.scale));
|
|
610
|
-
|
|
611
|
+
(0,util_.setInnerHtml)(document.getElementById(id + '_ScaleBarTxt'), html.replace(originLanguage.scale, langContent.scale));
|
|
612
|
+
// 比例尺
|
|
611
613
|
html = document.getElementById(id + '_ScaleTxt').innerHTML;
|
|
612
|
-
(0,util_.setInnerHtml)(document.getElementById(id + '_ScaleTxt'), html.replace(originLanguage.kmUnit, langContent.kmUnit).replace(originLanguage.mUnit, langContent.mUnit));
|
|
613
|
-
|
|
614
|
+
(0,util_.setInnerHtml)(document.getElementById(id + '_ScaleTxt'), html.replace(originLanguage.kmUnit, langContent.kmUnit).replace(originLanguage.mUnit, langContent.mUnit));
|
|
615
|
+
// 视点高
|
|
614
616
|
html = document.getElementById(id + '_CoordEyeAlt').innerHTML;
|
|
615
|
-
(0,util_.setInnerHtml)(document.getElementById(id + '_CoordEyeAlt'), html.replace(originLanguage.eyeAltitude, langContent.eyeAltitude).replace(originLanguage.kmUnit, langContent.kmUnit).replace(originLanguage.mUnit, langContent.mUnit));
|
|
616
|
-
|
|
617
|
+
(0,util_.setInnerHtml)(document.getElementById(id + '_CoordEyeAlt'), html.replace(originLanguage.eyeAltitude, langContent.eyeAltitude).replace(originLanguage.kmUnit, langContent.kmUnit).replace(originLanguage.mUnit, langContent.mUnit));
|
|
618
|
+
// 高度
|
|
617
619
|
html = document.getElementById(id + '_CoordHeight').innerHTML;
|
|
618
620
|
(0,util_.setInnerHtml)(document.getElementById(id + '_CoordHeight'), html.replace(originLanguage.kmUnit, langContent.kmUnit).replace(originLanguage.mUnit, langContent.mUnit));
|
|
619
621
|
}
|
|
620
622
|
});
|
|
621
623
|
}
|
|
622
624
|
}
|
|
623
|
-
|
|
624
625
|
}
|
|
625
626
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
626
627
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
@@ -660,11 +661,11 @@ const __default__ = {
|
|
|
660
661
|
// 版权信息文字
|
|
661
662
|
copyrightText: String
|
|
662
663
|
},
|
|
663
|
-
|
|
664
664
|
setup(__props) {
|
|
665
665
|
const props = __props;
|
|
666
|
-
let viewModel = null;
|
|
666
|
+
let viewModel = null;
|
|
667
667
|
|
|
668
|
+
// 国际化
|
|
668
669
|
let {
|
|
669
670
|
locale
|
|
670
671
|
} = (0,vue_i18n_cjs_js_.useI18n)();
|
|
@@ -682,7 +683,6 @@ const __default__ = {
|
|
|
682
683
|
return null;
|
|
683
684
|
};
|
|
684
685
|
}
|
|
685
|
-
|
|
686
686
|
}));
|
|
687
687
|
;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBar.vue?vue&type=script&setup=true&lang=js
|
|
688
688
|
|
|
@@ -727,13 +727,11 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
|
727
727
|
|
|
728
728
|
|
|
729
729
|
|
|
730
|
-
|
|
731
730
|
StatusBar.install = (Vue, opts) => {
|
|
732
731
|
init_js_default()(Vue, opts);
|
|
733
732
|
Vue.component(StatusBar.name, StatusBar);
|
|
734
733
|
};
|
|
735
734
|
|
|
736
|
-
|
|
737
735
|
}();
|
|
738
736
|
/******/ return __webpack_exports__;
|
|
739
737
|
/******/ })()
|