@kq_npm/client3d_webgl_vue 4.5.2 → 4.5.3-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 +27 -23
- package/aspectanalysis/index.js +22 -21
- package/baseterraingallery/index.js +4 -2
- package/boxclip/index.js +22 -21
- package/clientPrint/index.js +3 -2
- package/comparemap/index.js +4 -2
- package/excavatefillanalysis/index.js +22 -21
- package/flight/index.js +21 -21
- package/floodanalysis/index.js +22 -21
- package/geologicalbodyanalysis/index.js +22 -21
- package/gpuspatialquery/index.js +32 -24
- package/hawkeye/index.js +4 -2
- package/headertemp/index.js +3 -2
- package/heatmap3d/index.js +38 -43
- package/index.js +45210 -33232
- package/isolineanalysis/index.js +21 -21
- package/light/index.js +4 -2
- package/limitheightanalysis/index.js +4 -2
- package/measure/index.js +21 -21
- package/modelFlat/index.js +22 -21
- package/modelexcavate/index.js +22 -21
- package/modelfilter/index.js +22 -18
- package/modelprofileanalysis/index.js +4 -2
- package/modelselect/index.js +22 -21
- package/package.json +1 -1
- package/particleeffect/index.js +4 -2
- package/planeclip/index.js +22 -21
- package/roller/index.js +4 -2
- package/scaneffect/index.js +22 -21
- package/sceneapp/index.js +12510 -0
- package/sceneset/index.js +4 -2
- package/scenetohdimage/index.js +4 -2
- package/sceneview/index.js +33037 -21002
- package/screenshot/index.js +4 -2
- package/shadowanalysis/index.js +23 -22
- package/sightlineanalysis/index.js +4 -2
- package/skylineanalysis/index.js +22 -21
- package/slopeanalysis/index.js +22 -21
- package/slopeaspectanalysis/index.js +22 -21
- package/statusbar/index.js +108 -107
- package/terrainoperation/index.js +22 -21
- package/terrainprofileanalysis/index.js +22 -21
- package/underground/index.js +4 -2
- package/videofusion/index.js +22 -21
- package/videoproject/index.js +22 -21
- package/viewshedanalysis/index.js +4 -2
- package/weathereffect/index.js +4 -2
- package/wireframesketch/index.js +22 -18
|
@@ -12,30 +12,22 @@ return /******/ (function() { // webpackBootstrap
|
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 1349:
|
|
16
16
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
__webpack_require__
|
|
21
|
-
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
;// CONCATENATED MODULE: external "element-plus/dist/index.full.js"
|
|
25
|
-
var index_full_js_namespaceObject = require("element-plus/dist/index.full.js");
|
|
26
|
-
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
27
|
-
var init_js_ = __webpack_require__(7997);
|
|
28
|
-
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
29
|
-
;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
|
|
18
|
+
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9389);
|
|
19
|
+
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
20
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7997);
|
|
21
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
|
|
30
22
|
|
|
31
23
|
|
|
32
24
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
Vue.component("KqMessage",
|
|
25
|
+
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
26
|
+
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
27
|
+
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
36
28
|
};
|
|
37
29
|
|
|
38
|
-
/* harmony default export */
|
|
30
|
+
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
39
31
|
|
|
40
32
|
/***/ }),
|
|
41
33
|
|
|
@@ -46,6 +38,13 @@ module.exports = require("@kq_npm/client_icons_vue");
|
|
|
46
38
|
|
|
47
39
|
/***/ }),
|
|
48
40
|
|
|
41
|
+
/***/ 9389:
|
|
42
|
+
/***/ (function(module) {
|
|
43
|
+
|
|
44
|
+
module.exports = require("element-plus/dist/index.full.js");
|
|
45
|
+
|
|
46
|
+
/***/ }),
|
|
47
|
+
|
|
49
48
|
/***/ 7080:
|
|
50
49
|
/***/ (function(module) {
|
|
51
50
|
|
|
@@ -190,8 +189,8 @@ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
|
190
189
|
var gis_utils_ = __webpack_require__(7135);
|
|
191
190
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
192
191
|
var defineProperty = __webpack_require__(8270);
|
|
193
|
-
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
194
|
-
var message = __webpack_require__(
|
|
192
|
+
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
193
|
+
var message = __webpack_require__(1349);
|
|
195
194
|
;// CONCATENATED MODULE: ./src/webgl/geologicalbodyanalysis/GeologicalBodyAnalysisViewModel.js
|
|
196
195
|
|
|
197
196
|
//地质体分析逻辑类
|
|
@@ -438,7 +437,7 @@ const __default__ = {
|
|
|
438
437
|
},
|
|
439
438
|
|
|
440
439
|
setup(__props, {
|
|
441
|
-
expose
|
|
440
|
+
expose: __expose
|
|
442
441
|
}) {
|
|
443
442
|
const props = __props;
|
|
444
443
|
const {
|
|
@@ -540,11 +539,13 @@ const __default__ = {
|
|
|
540
539
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
541
540
|
viewModel && viewModel.destroy();
|
|
542
541
|
});
|
|
543
|
-
|
|
542
|
+
|
|
543
|
+
__expose({
|
|
544
544
|
paramsChanged,
|
|
545
545
|
startAnalysis,
|
|
546
546
|
clear
|
|
547
547
|
});
|
|
548
|
+
|
|
548
549
|
return (_ctx, _cache) => {
|
|
549
550
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
550
551
|
|
package/gpuspatialquery/index.js
CHANGED
|
@@ -12,30 +12,22 @@ return /******/ (function() { // webpackBootstrap
|
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 1349:
|
|
16
16
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17
17
|
|
|
18
|
+
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9389);
|
|
19
|
+
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
20
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7997);
|
|
21
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
|
|
18
22
|
|
|
19
|
-
// EXPORTS
|
|
20
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
21
|
-
"Z": function() { return /* binding */ message; }
|
|
22
|
-
});
|
|
23
23
|
|
|
24
|
-
;// CONCATENATED MODULE: external "element-plus/dist/index.full.js"
|
|
25
|
-
var index_full_js_namespaceObject = require("element-plus/dist/index.full.js");
|
|
26
|
-
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
27
|
-
var init_js_ = __webpack_require__(7997);
|
|
28
|
-
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
29
|
-
;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
|
|
30
24
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
init_js_default()(Vue, opts);
|
|
35
|
-
Vue.component("KqMessage", index_full_js_namespaceObject.ElMessage);
|
|
25
|
+
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
26
|
+
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
27
|
+
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
36
28
|
};
|
|
37
29
|
|
|
38
|
-
/* harmony default export */
|
|
30
|
+
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
39
31
|
|
|
40
32
|
/***/ }),
|
|
41
33
|
|
|
@@ -46,6 +38,13 @@ module.exports = require("@element-plus/icons-vue");
|
|
|
46
38
|
|
|
47
39
|
/***/ }),
|
|
48
40
|
|
|
41
|
+
/***/ 9389:
|
|
42
|
+
/***/ (function(module) {
|
|
43
|
+
|
|
44
|
+
module.exports = require("element-plus/dist/index.full.js");
|
|
45
|
+
|
|
46
|
+
/***/ }),
|
|
47
|
+
|
|
49
48
|
/***/ 7080:
|
|
50
49
|
/***/ (function(module) {
|
|
51
50
|
|
|
@@ -53,6 +52,13 @@ module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
|
53
52
|
|
|
54
53
|
/***/ }),
|
|
55
54
|
|
|
55
|
+
/***/ 6869:
|
|
56
|
+
/***/ (function(module) {
|
|
57
|
+
|
|
58
|
+
module.exports = require("xe-utils");
|
|
59
|
+
|
|
60
|
+
/***/ }),
|
|
61
|
+
|
|
56
62
|
/***/ 7135:
|
|
57
63
|
/***/ (function(module) {
|
|
58
64
|
|
|
@@ -190,13 +196,13 @@ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
|
190
196
|
var icons_vue_ = __webpack_require__(8422);
|
|
191
197
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
192
198
|
var gis_utils_ = __webpack_require__(7135);
|
|
193
|
-
|
|
194
|
-
var
|
|
195
|
-
var external_xe_utils_default = /*#__PURE__*/__webpack_require__.n(
|
|
199
|
+
// EXTERNAL MODULE: external "xe-utils"
|
|
200
|
+
var external_xe_utils_ = __webpack_require__(6869);
|
|
201
|
+
var external_xe_utils_default = /*#__PURE__*/__webpack_require__.n(external_xe_utils_);
|
|
196
202
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
197
203
|
var defineProperty = __webpack_require__(8270);
|
|
198
|
-
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
199
|
-
var message = __webpack_require__(
|
|
204
|
+
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
205
|
+
var message = __webpack_require__(1349);
|
|
200
206
|
;// CONCATENATED MODULE: ./src/webgl/gpuspatialquery/GPUSpatialQueryViewModel.js
|
|
201
207
|
|
|
202
208
|
//GPU空间查询逻辑类
|
|
@@ -582,7 +588,7 @@ const __default__ = {
|
|
|
582
588
|
},
|
|
583
589
|
|
|
584
590
|
setup(__props, {
|
|
585
|
-
expose
|
|
591
|
+
expose: __expose
|
|
586
592
|
}) {
|
|
587
593
|
const props = __props;
|
|
588
594
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
@@ -713,11 +719,13 @@ const __default__ = {
|
|
|
713
719
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
714
720
|
viewModel && viewModel.destroy();
|
|
715
721
|
});
|
|
716
|
-
|
|
722
|
+
|
|
723
|
+
__expose({
|
|
717
724
|
paramsChanged,
|
|
718
725
|
query,
|
|
719
726
|
reset
|
|
720
727
|
});
|
|
728
|
+
|
|
721
729
|
return (_ctx, _cache) => {
|
|
722
730
|
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
723
731
|
|
package/hawkeye/index.js
CHANGED
|
@@ -252,7 +252,7 @@ const __default__ = {
|
|
|
252
252
|
},
|
|
253
253
|
|
|
254
254
|
setup(__props, {
|
|
255
|
-
expose
|
|
255
|
+
expose: __expose
|
|
256
256
|
}) {
|
|
257
257
|
const props = __props;
|
|
258
258
|
let viewModel = null; // 获取组件传参
|
|
@@ -293,11 +293,13 @@ const __default__ = {
|
|
|
293
293
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
294
294
|
viewModel && viewModel.destroy();
|
|
295
295
|
});
|
|
296
|
-
|
|
296
|
+
|
|
297
|
+
__expose({
|
|
297
298
|
show,
|
|
298
299
|
hide,
|
|
299
300
|
setLayers
|
|
300
301
|
});
|
|
302
|
+
|
|
301
303
|
return (_ctx, _cache) => {
|
|
302
304
|
return null;
|
|
303
305
|
};
|
package/headertemp/index.js
CHANGED
|
@@ -158,7 +158,7 @@ const __default__ = {
|
|
|
158
158
|
},
|
|
159
159
|
|
|
160
160
|
setup(__props, {
|
|
161
|
-
expose
|
|
161
|
+
expose: __expose
|
|
162
162
|
}) {
|
|
163
163
|
const props = __props;
|
|
164
164
|
const proxy = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)(); // 获取组件传参
|
|
@@ -218,9 +218,10 @@ const __default__ = {
|
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
|
|
221
|
+
__expose({
|
|
222
222
|
btnClick
|
|
223
223
|
});
|
|
224
|
+
|
|
224
225
|
return (_ctx, _cache) => {
|
|
225
226
|
const _component_kq_icon = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-icon");
|
|
226
227
|
|
package/heatmap3d/index.js
CHANGED
|
@@ -107,30 +107,22 @@ exports.Z = (sfc, props) => {
|
|
|
107
107
|
|
|
108
108
|
/***/ }),
|
|
109
109
|
|
|
110
|
-
/***/
|
|
110
|
+
/***/ 1349:
|
|
111
111
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
112
112
|
|
|
113
|
+
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9389);
|
|
114
|
+
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
115
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7997);
|
|
116
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
|
|
113
117
|
|
|
114
|
-
// EXPORTS
|
|
115
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
116
|
-
"Z": function() { return /* binding */ message; }
|
|
117
|
-
});
|
|
118
|
-
|
|
119
|
-
;// CONCATENATED MODULE: external "element-plus/dist/index.full.js"
|
|
120
|
-
var index_full_js_namespaceObject = require("element-plus/dist/index.full.js");
|
|
121
|
-
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
122
|
-
var init_js_ = __webpack_require__(7997);
|
|
123
|
-
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
124
|
-
;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
|
|
125
118
|
|
|
126
119
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
Vue.component("KqMessage", index_full_js_namespaceObject.ElMessage);
|
|
120
|
+
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
121
|
+
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
122
|
+
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
131
123
|
};
|
|
132
124
|
|
|
133
|
-
/* harmony default export */
|
|
125
|
+
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
134
126
|
|
|
135
127
|
/***/ }),
|
|
136
128
|
|
|
@@ -462,6 +454,13 @@ module.exports = require("core-js/modules/es.array.includes.js");
|
|
|
462
454
|
|
|
463
455
|
/***/ }),
|
|
464
456
|
|
|
457
|
+
/***/ 9389:
|
|
458
|
+
/***/ (function(module) {
|
|
459
|
+
|
|
460
|
+
module.exports = require("element-plus/dist/index.full.js");
|
|
461
|
+
|
|
462
|
+
/***/ }),
|
|
463
|
+
|
|
465
464
|
/***/ 7080:
|
|
466
465
|
/***/ (function(module) {
|
|
467
466
|
|
|
@@ -615,13 +614,13 @@ var gis_utils_ = __webpack_require__(7135);
|
|
|
615
614
|
var util_ = __webpack_require__(3458);
|
|
616
615
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
617
616
|
var defineProperty = __webpack_require__(8270);
|
|
618
|
-
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
619
|
-
var message = __webpack_require__(
|
|
617
|
+
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
618
|
+
var message = __webpack_require__(1349);
|
|
620
619
|
;// CONCATENATED MODULE: ./src/webgl/heatmap3d/Heatmap3dViewModel.js
|
|
621
620
|
|
|
622
|
-
|
|
623
621
|
//热力图
|
|
624
622
|
|
|
623
|
+
|
|
625
624
|
class Heatmap3dViewModel {
|
|
626
625
|
constructor(scenceView, options) {
|
|
627
626
|
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
@@ -640,6 +639,8 @@ class Heatmap3dViewModel {
|
|
|
640
639
|
|
|
641
640
|
(0,defineProperty/* default */.Z)(this, "heatmapData", null);
|
|
642
641
|
|
|
642
|
+
(0,defineProperty/* default */.Z)(this, "_heatmapHandler", null);
|
|
643
|
+
|
|
643
644
|
this._viewer = scenceView._viewer;
|
|
644
645
|
this._options = options;
|
|
645
646
|
this._viewer.scene.globe.depthTestAgainstTerrain = true; // 地图标注对象
|
|
@@ -662,11 +663,14 @@ class Heatmap3dViewModel {
|
|
|
662
663
|
}); // 地图拾取事件,交互展示
|
|
663
664
|
|
|
664
665
|
let that = this;
|
|
665
|
-
|
|
666
|
-
|
|
666
|
+
this._heatmapHandler = new window.Cesium.ScreenSpaceEventHandler(this._viewer.canvas);
|
|
667
|
+
|
|
668
|
+
this._heatmapHandler.setInputAction(function (movement) {
|
|
667
669
|
var worldPosition = that._viewer.scene.pickPosition(movement.position);
|
|
668
670
|
|
|
669
671
|
if (worldPosition) {
|
|
672
|
+
if (!that._heatmap && !that._heatmap2d) return;
|
|
673
|
+
if (!that._options.isShow) return;
|
|
670
674
|
that._mouseLabel.position = worldPosition;
|
|
671
675
|
var lonlat = Cesium.Cartographic.fromCartesian(worldPosition);
|
|
672
676
|
var lon = Cesium.Math.toDegrees(lonlat.longitude),
|
|
@@ -685,26 +689,13 @@ class Heatmap3dViewModel {
|
|
|
685
689
|
}));
|
|
686
690
|
}
|
|
687
691
|
|
|
688
|
-
document.getElementById('mouse_lonlat')
|
|
692
|
+
(0,util_.setInnerHtml)(document.getElementById('mouse_lonlat'), `<p>${that.language['longitude'] || "经度"}:${lon.toFixed(5)}</p><p>${that.language['latitude'] || "纬度"}:${lat.toFixed(5)}</p><p>${that.language['heatValue'] || "热力值"}:${val}</p>`);
|
|
689
693
|
|
|
690
694
|
that._mouseLabel.setVisible(true);
|
|
691
695
|
} else {
|
|
692
696
|
that._mouseLabel.setVisible(false);
|
|
693
697
|
}
|
|
694
698
|
}, Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
695
|
-
}
|
|
696
|
-
|
|
697
|
-
sanitizeInput(inputHTML) {
|
|
698
|
-
const allowedTags = ['p', 'strong', 'em'];
|
|
699
|
-
const tempDiv = document.createElement('div');
|
|
700
|
-
tempDiv.innerHTML = inputHTML;
|
|
701
|
-
const childNodes = Array.from(tempDiv.childNodes);
|
|
702
|
-
childNodes.forEach(node => {
|
|
703
|
-
if (!allowedTags.includes(node.tagName.toLowerCase())) {
|
|
704
|
-
tempDiv.removeChild(node);
|
|
705
|
-
}
|
|
706
|
-
});
|
|
707
|
-
return tempDiv.innerHTML;
|
|
708
699
|
} // 创建三维热力图对象
|
|
709
700
|
|
|
710
701
|
|
|
@@ -720,7 +711,7 @@ class Heatmap3dViewModel {
|
|
|
720
711
|
alpha: this._options.transparents,
|
|
721
712
|
dynamic: this._options.isFollowingPerspective,
|
|
722
713
|
clampToGround: this._options.isGround,
|
|
723
|
-
show: this._options.heatmapType == "3D" ?
|
|
714
|
+
show: this._options.heatmapType == "3D" ? this._options.isShow : false
|
|
724
715
|
});
|
|
725
716
|
if (this._options.gradient) this._heatmap.gradient = this._options.gradient;
|
|
726
717
|
|
|
@@ -751,7 +742,7 @@ class Heatmap3dViewModel {
|
|
|
751
742
|
});
|
|
752
743
|
this._heatmap2dCountLayer = new Cesium.ImageryLayer(pv, {
|
|
753
744
|
alpha: this._options.transparents,
|
|
754
|
-
show: this._options.heatmapType == "2D" ?
|
|
745
|
+
show: this._options.heatmapType == "2D" ? this._options.isShow : false
|
|
755
746
|
});
|
|
756
747
|
|
|
757
748
|
this._viewer.imageryLayers.add(this._heatmap2dCountLayer);
|
|
@@ -916,6 +907,8 @@ class Heatmap3dViewModel {
|
|
|
916
907
|
this.clear();
|
|
917
908
|
|
|
918
909
|
this._mouseLabel.destroy();
|
|
910
|
+
|
|
911
|
+
this._heatmapHandler && this._heatmapHandler.destroy();
|
|
919
912
|
}
|
|
920
913
|
|
|
921
914
|
}
|
|
@@ -937,6 +930,7 @@ const _hoisted_1 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,external_root
|
|
|
937
930
|
));
|
|
938
931
|
|
|
939
932
|
|
|
933
|
+
const rangeMin = -5;
|
|
940
934
|
/* harmony default export */ var CustomColorPickerSlidervue_type_script_setup_true_lang_js = ({
|
|
941
935
|
__name: 'CustomColorPickerSlider',
|
|
942
936
|
props: ["width", "color", "percentage", "id"],
|
|
@@ -949,7 +943,6 @@ const _hoisted_1 = /*#__PURE__*/_withScopeId(() => /*#__PURE__*/(0,external_root
|
|
|
949
943
|
|
|
950
944
|
const initId = props.id;
|
|
951
945
|
const initColor = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(props.color);
|
|
952
|
-
const rangeMin = -5;
|
|
953
946
|
const rangeMax = props.width - 5;
|
|
954
947
|
const position = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(props.percentage / 100 * props.width + rangeMin);
|
|
955
948
|
const disabled = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); // 为了防止在mouseup事件结束后,弹出颜色框
|
|
@@ -1093,6 +1086,7 @@ const CustomColorPickervue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
|
1093
1086
|
|
|
1094
1087
|
|
|
1095
1088
|
|
|
1089
|
+
const width = 257;
|
|
1096
1090
|
/* harmony default export */ var CustomColorPickervue_type_script_setup_true_lang_js = ({
|
|
1097
1091
|
__name: 'CustomColorPicker',
|
|
1098
1092
|
props: ["data"],
|
|
@@ -1103,7 +1097,6 @@ const CustomColorPickervue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
|
1103
1097
|
}) {
|
|
1104
1098
|
const props = __props; // 宽度
|
|
1105
1099
|
|
|
1106
|
-
const width = 257;
|
|
1107
1100
|
const items = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(props.data);
|
|
1108
1101
|
let backgroundImage = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(updateBackgroundImage()); // 更新色带条
|
|
1109
1102
|
|
|
@@ -1322,7 +1315,7 @@ const __default__ = {
|
|
|
1322
1315
|
},
|
|
1323
1316
|
|
|
1324
1317
|
setup(__props, {
|
|
1325
|
-
expose
|
|
1318
|
+
expose: __expose
|
|
1326
1319
|
}) {
|
|
1327
1320
|
const props = __props;
|
|
1328
1321
|
const {
|
|
@@ -1667,7 +1660,9 @@ const __default__ = {
|
|
|
1667
1660
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
1668
1661
|
viewModel && viewModel.destroy();
|
|
1669
1662
|
});
|
|
1670
|
-
|
|
1663
|
+
|
|
1664
|
+
__expose({});
|
|
1665
|
+
|
|
1671
1666
|
return (_ctx, _cache) => {
|
|
1672
1667
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
1673
1668
|
|
|
@@ -2037,7 +2032,7 @@ const __default__ = {
|
|
|
2037
2032
|
}
|
|
2038
2033
|
}, {
|
|
2039
2034
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(CustomColorPicker, {
|
|
2040
|
-
data:
|
|
2035
|
+
data: customColors.value,
|
|
2041
2036
|
onColorChanged: colorChanged
|
|
2042
2037
|
}, null, 8
|
|
2043
2038
|
/* PROPS */
|