@kq_npm/client3d_webgl_vue 0.2.1-beta → 0.2.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/_libs/ol/ol.js +2 -2
- package/adddata/index.js +1 -1
- package/adddata/style/css.js +1 -1
- package/adddata/style/index.js +1 -1
- package/baseterraingallery/index.js +1 -1
- package/baseterraingallery/style/css.js +1 -1
- package/baseterraingallery/style/index.js +1 -1
- package/boxclip/index.js +1 -1
- package/boxclip/style/css.js +1 -1
- package/boxclip/style/index.js +1 -1
- package/comparemap/index.js +2 -2
- package/comparemap/style/css.js +1 -1
- package/comparemap/style/index.js +1 -1
- package/css.js +1 -1
- package/excavatefillanalysis/index.js +28 -7
- package/excavatefillanalysis/style/css.js +1 -1
- package/excavatefillanalysis/style/index.js +1 -1
- package/flight/index.js +17 -7
- package/flight/style/css.js +1 -1
- package/flight/style/index.js +1 -1
- package/floodanalysis/index.js +28 -7
- package/floodanalysis/style/css.js +1 -1
- package/floodanalysis/style/index.js +1 -1
- package/gpuspatialquery/index.js +1 -1
- package/gpuspatialquery/style/css.js +1 -1
- package/gpuspatialquery/style/index.js +1 -1
- package/hawkeye/index.js +1 -1
- package/index.js +111 -69
- package/isolineanalysis/index.js +28 -8
- package/isolineanalysis/style/css.js +1 -1
- package/isolineanalysis/style/index.js +1 -1
- package/measure/index.js +1 -1
- package/measure/style/css.js +1 -1
- package/measure/style/index.js +1 -1
- package/modelselect/index.js +1 -1
- package/modelselect/style/css.js +1 -1
- package/modelselect/style/index.js +1 -1
- package/package.json +1 -1
- package/particleeffect/index.js +1 -1
- package/particleeffect/style/css.js +1 -1
- package/particleeffect/style/index.js +1 -1
- package/planeclip/index.js +1 -1
- package/planeclip/style/css.js +1 -1
- package/planeclip/style/index.js +1 -1
- package/profileanalysis/index.js +1 -1
- package/profileanalysis/style/css.js +1 -1
- package/profileanalysis/style/index.js +1 -1
- package/roller/index.js +1 -1
- package/roller/style/css.js +1 -1
- package/roller/style/index.js +1 -1
- package/scenceview/index.js +1 -1
- package/scenceview/style/css.js +1 -1
- package/scenceview/style/index.js +1 -1
- package/screenshot/index.js +1 -1
- package/screenshot/style/css.js +1 -1
- package/screenshot/style/index.js +1 -1
- package/shadowanalysis/index.js +1 -1
- package/shadowanalysis/style/css.js +1 -1
- package/shadowanalysis/style/index.js +1 -1
- package/sightlineanalysis/index.js +1 -1
- package/sightlineanalysis/style/css.js +1 -1
- package/sightlineanalysis/style/index.js +1 -1
- package/skylineanalysis/index.js +1 -1
- package/skylineanalysis/style/css.js +1 -1
- package/skylineanalysis/style/index.js +1 -1
- package/slopeanalysis/index.js +39 -18
- package/slopeanalysis/style/css.js +1 -1
- package/slopeanalysis/style/index.js +1 -1
- package/terrainoperation/index.js +30 -9
- package/terrainoperation/style/css.js +1 -1
- package/terrainoperation/style/index.js +1 -1
- package/viewshedanalysis/index.js +1 -1
- package/viewshedanalysis/style/css.js +1 -1
- package/viewshedanalysis/style/index.js +1 -1
- package/weathereffect/index.js +1 -1
- package/weathereffect/style/css.js +1 -1
- package/weathereffect/style/index.js +1 -1
package/roller/index.js
CHANGED
|
@@ -256,7 +256,7 @@ class RollerViewModel {
|
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
}
|
|
259
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/roller/Roller.vue?vue&type=script&setup=true&lang=js
|
|
259
|
+
;// CONCATENATED MODULE: ./config/jsLoader.js??clonedRuleSet-1.use[0]!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/roller/Roller.vue?vue&type=script&setup=true&lang=js
|
|
260
260
|
|
|
261
261
|
const _hoisted_1 = {
|
|
262
262
|
class: "kq3d-roller"
|
package/roller/style/css.js
CHANGED
package/roller/style/index.js
CHANGED
package/scenceview/index.js
CHANGED
|
@@ -1649,7 +1649,7 @@ class ScenceViewViewModel extends (mitt_default()) {
|
|
|
1649
1649
|
}
|
|
1650
1650
|
|
|
1651
1651
|
}
|
|
1652
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/scenceview/ScenceView.vue?vue&type=script&setup=true&lang=js
|
|
1652
|
+
;// CONCATENATED MODULE: ./config/jsLoader.js??clonedRuleSet-1.use[0]!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/scenceview/ScenceView.vue?vue&type=script&setup=true&lang=js
|
|
1653
1653
|
|
|
1654
1654
|
const _hoisted_1 = {
|
|
1655
1655
|
class: "kq-scence-view",
|
package/scenceview/style/css.js
CHANGED
package/screenshot/index.js
CHANGED
|
@@ -218,7 +218,7 @@ class ScreenshotViewModel {
|
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
}
|
|
221
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/screenshot/Screenshot.vue?vue&type=script&setup=true&lang=js
|
|
221
|
+
;// CONCATENATED MODULE: ./config/jsLoader.js??clonedRuleSet-1.use[0]!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/screenshot/Screenshot.vue?vue&type=script&setup=true&lang=js
|
|
222
222
|
|
|
223
223
|
const _hoisted_1 = {
|
|
224
224
|
class: "kq3d-screenshot"
|
package/screenshot/style/css.js
CHANGED
package/shadowanalysis/index.js
CHANGED
|
@@ -285,7 +285,7 @@ class ShadowAnalysisViewModel {
|
|
|
285
285
|
}
|
|
286
286
|
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
287
287
|
var const_image_namespaceObject = require("@kq_npm/client_common_vue/_utils/const-image");
|
|
288
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/shadowanalysis/ShadowAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
288
|
+
;// CONCATENATED MODULE: ./config/jsLoader.js??clonedRuleSet-1.use[0]!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/shadowanalysis/ShadowAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
289
289
|
|
|
290
290
|
const _hoisted_1 = {
|
|
291
291
|
class: "kq3d-shadow-analysis"
|
|
@@ -732,7 +732,7 @@ class SightlineAnalysisViewModel {
|
|
|
732
732
|
}
|
|
733
733
|
|
|
734
734
|
}
|
|
735
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/sightlineanalysis/SightlineAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
735
|
+
;// CONCATENATED MODULE: ./config/jsLoader.js??clonedRuleSet-1.use[0]!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/sightlineanalysis/SightlineAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
736
736
|
|
|
737
737
|
const _hoisted_1 = {
|
|
738
738
|
class: "kq3d-sightline-analysis"
|
package/skylineanalysis/index.js
CHANGED
|
@@ -337,7 +337,7 @@ class SkylineAnalysisViewModel {
|
|
|
337
337
|
}
|
|
338
338
|
;// CONCATENATED MODULE: external "echarts"
|
|
339
339
|
var external_echarts_namespaceObject = require("echarts");
|
|
340
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/skylineanalysis/SkylineAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
340
|
+
;// CONCATENATED MODULE: ./config/jsLoader.js??clonedRuleSet-1.use[0]!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/skylineanalysis/SkylineAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
341
341
|
|
|
342
342
|
const _hoisted_1 = {
|
|
343
343
|
class: "kq3d-skyline-analysis"
|
package/slopeanalysis/index.js
CHANGED
|
@@ -76,8 +76,24 @@ function _defineProperty(obj, key, value) {
|
|
|
76
76
|
}
|
|
77
77
|
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
78
78
|
var const_image_namespaceObject = require("@kq_npm/client_common_vue/_utils/const-image");
|
|
79
|
+
;// CONCATENATED MODULE: external "element-plus/es"
|
|
80
|
+
var es_namespaceObject = require("element-plus/es");
|
|
81
|
+
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
82
|
+
var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
|
|
83
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
|
|
84
|
+
;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
es_namespaceObject.ElMessage.install = (Vue, opts) => {
|
|
89
|
+
init_js_default()(Vue, opts);
|
|
90
|
+
Vue.component("KqMessage", es_namespaceObject.ElMessage);
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
/* harmony default export */ var message = (es_namespaceObject.ElMessage);
|
|
79
94
|
;// CONCATENATED MODULE: ./src/webgl/slopeanalysis/SlopeAnalysisViewModel.js
|
|
80
95
|
|
|
96
|
+
|
|
81
97
|
// 分析逻辑类
|
|
82
98
|
|
|
83
99
|
class SlopeAnalysisViewModel {
|
|
@@ -184,22 +200,30 @@ class SlopeAnalysisViewModel {
|
|
|
184
200
|
|
|
185
201
|
|
|
186
202
|
start() {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
this.
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
if (this._globaOptions._drawManager) {
|
|
199
|
-
this._globaOptions._drawManager.startDraw("polygon", {
|
|
200
|
-
clampToGround: true
|
|
203
|
+
// 判断是否添加了地形
|
|
204
|
+
if (this._globaOptions.viewModel.viewer.terrainProvider.availability) {
|
|
205
|
+
if (this._globaOptions.viewModel.fillStyle === "slopeFilter") {
|
|
206
|
+
// 坡度过滤不需要进行绘制
|
|
207
|
+
this._slopeAnalysis = new Cesium.Kq3dSlope({
|
|
208
|
+
viewer: this._globaOptions.viewer,
|
|
209
|
+
positions: this._defaultPositions,
|
|
210
|
+
isFilter: true,
|
|
211
|
+
minSlope: this._globaOptions.viewModel.minSlope,
|
|
212
|
+
maxSlope: this._globaOptions.viewModel.maxSlope,
|
|
213
|
+
color: Cesium.Color.fromCssColorString(this._globaOptions.viewModel.slopeColorText).withAlpha(Number(this._globaOptions.viewModel.slopeColorAlpha))
|
|
201
214
|
});
|
|
215
|
+
} else {
|
|
216
|
+
if (this._globaOptions._drawManager) {
|
|
217
|
+
this._globaOptions._drawManager.startDraw("polygon", {
|
|
218
|
+
clampToGround: true
|
|
219
|
+
});
|
|
220
|
+
}
|
|
202
221
|
}
|
|
222
|
+
} else {
|
|
223
|
+
message({
|
|
224
|
+
message: "请加载地形后分析!",
|
|
225
|
+
type: "warning"
|
|
226
|
+
});
|
|
203
227
|
}
|
|
204
228
|
} //修改填充样式
|
|
205
229
|
|
|
@@ -312,7 +336,7 @@ class SlopeAnalysisViewModel {
|
|
|
312
336
|
}
|
|
313
337
|
|
|
314
338
|
}
|
|
315
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/slopeanalysis/SlopeAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
339
|
+
;// CONCATENATED MODULE: ./config/jsLoader.js??clonedRuleSet-1.use[0]!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/slopeanalysis/SlopeAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
316
340
|
|
|
317
341
|
const _hoisted_1 = {
|
|
318
342
|
class: "kq3d-slope-analysis"
|
|
@@ -1033,9 +1057,6 @@ const __default__ = {
|
|
|
1033
1057
|
const __exports__ = SlopeAnalysisvue_type_script_setup_true_lang_js;
|
|
1034
1058
|
|
|
1035
1059
|
/* harmony default export */ var SlopeAnalysis = (__exports__);
|
|
1036
|
-
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
1037
|
-
var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
|
|
1038
|
-
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
|
|
1039
1060
|
;// CONCATENATED MODULE: ./src/webgl/slopeanalysis/index.js
|
|
1040
1061
|
|
|
1041
1062
|
|
|
@@ -74,9 +74,25 @@ function _defineProperty(obj, key, value) {
|
|
|
74
74
|
|
|
75
75
|
return obj;
|
|
76
76
|
}
|
|
77
|
+
;// CONCATENATED MODULE: external "element-plus/es"
|
|
78
|
+
var es_namespaceObject = require("element-plus/es");
|
|
79
|
+
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
80
|
+
var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
|
|
81
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
|
|
82
|
+
;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
es_namespaceObject.ElMessage.install = (Vue, opts) => {
|
|
87
|
+
init_js_default()(Vue, opts);
|
|
88
|
+
Vue.component("KqMessage", es_namespaceObject.ElMessage);
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
/* harmony default export */ var message = (es_namespaceObject.ElMessage);
|
|
77
92
|
;// CONCATENATED MODULE: ./src/webgl/terrainoperation/TerrainOperationViewModel.js
|
|
78
93
|
|
|
79
|
-
//地形淹没分析逻辑类
|
|
94
|
+
//地形淹没分析逻辑类
|
|
95
|
+
|
|
80
96
|
class TerrainOperationViewModel {
|
|
81
97
|
constructor(scenceView, viewModel) {
|
|
82
98
|
_defineProperty(this, "_terrainexcavationext", null);
|
|
@@ -188,11 +204,19 @@ class TerrainOperationViewModel {
|
|
|
188
204
|
|
|
189
205
|
|
|
190
206
|
start() {
|
|
191
|
-
|
|
207
|
+
// 判断是否添加了地形
|
|
208
|
+
if (this._globaOptions.viewer.terrainProvider.availability) {
|
|
209
|
+
this.clear();
|
|
192
210
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
211
|
+
this._drawManager.startDraw("polygon", {
|
|
212
|
+
clampToGround: true
|
|
213
|
+
});
|
|
214
|
+
} else {
|
|
215
|
+
message({
|
|
216
|
+
message: "请加载地形后分析!",
|
|
217
|
+
type: "warning"
|
|
218
|
+
});
|
|
219
|
+
}
|
|
196
220
|
} //改变分析类型
|
|
197
221
|
|
|
198
222
|
|
|
@@ -251,7 +275,7 @@ class TerrainOperationViewModel {
|
|
|
251
275
|
}
|
|
252
276
|
|
|
253
277
|
}
|
|
254
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/terrainoperation/TerrainOperation.vue?vue&type=script&setup=true&lang=js
|
|
278
|
+
;// CONCATENATED MODULE: ./config/jsLoader.js??clonedRuleSet-1.use[0]!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/terrainoperation/TerrainOperation.vue?vue&type=script&setup=true&lang=js
|
|
255
279
|
|
|
256
280
|
const _hoisted_1 = {
|
|
257
281
|
class: "kq3d-terrain-operation-analysis"
|
|
@@ -489,9 +513,6 @@ const __default__ = {
|
|
|
489
513
|
const __exports__ = TerrainOperationvue_type_script_setup_true_lang_js;
|
|
490
514
|
|
|
491
515
|
/* harmony default export */ var TerrainOperation = (__exports__);
|
|
492
|
-
;// CONCATENATED MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
493
|
-
var init_js_namespaceObject = require("@kq_npm/client_common_vue/init.js");
|
|
494
|
-
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
|
|
495
516
|
;// CONCATENATED MODULE: ./src/webgl/terrainoperation/index.js
|
|
496
517
|
|
|
497
518
|
|
|
@@ -151,7 +151,7 @@ class ViewshedAnalysisViewModel {
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
}
|
|
154
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/viewshedanalysis/ViewshedAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
154
|
+
;// CONCATENATED MODULE: ./config/jsLoader.js??clonedRuleSet-1.use[0]!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/viewshedanalysis/ViewshedAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
155
155
|
|
|
156
156
|
const _hoisted_1 = {
|
|
157
157
|
class: "kq3d-viewshed-analysis"
|
package/weathereffect/index.js
CHANGED
|
@@ -239,7 +239,7 @@ class WeatherEffectViewModel {
|
|
|
239
239
|
}
|
|
240
240
|
|
|
241
241
|
}
|
|
242
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/weathereffect/WeatherEffect.vue?vue&type=script&setup=true&lang=js
|
|
242
|
+
;// CONCATENATED MODULE: ./config/jsLoader.js??clonedRuleSet-1.use[0]!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/weathereffect/WeatherEffect.vue?vue&type=script&setup=true&lang=js
|
|
243
243
|
|
|
244
244
|
const _hoisted_1 = {
|
|
245
245
|
class: "kq3d-weather-effect"
|