@kq_npm/client3d_webgl_vue 3.2.6-beta → 3.2.7-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.
@@ -1763,24 +1763,38 @@ AddData.install = (Vue, opts) => {
1763
1763
 
1764
1764
  /***/ }),
1765
1765
 
1766
- /***/ 8132:
1766
+ /***/ 6776:
1767
1767
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1768
1768
 
1769
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1770
- /* harmony export */ "Z": function() { return /* binding */ AspectAnalysisViewModel; }
1771
- /* harmony export */ });
1772
- /* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
1769
+
1770
+ // EXPORTS
1771
+ __webpack_require__.d(__webpack_exports__, {
1772
+ "default": function() { return /* reexport */ AspectAnalysis; }
1773
+ });
1774
+
1775
+ // UNUSED EXPORTS: AspectAnalysisViewModel
1776
+
1777
+ // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
1778
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
1779
+ // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
1780
+ var gis_utils_ = __webpack_require__(826);
1781
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
1782
+ var defineProperty = __webpack_require__(8270);
1783
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
1784
+ var message = __webpack_require__(909);
1785
+ ;// CONCATENATED MODULE: ./src/webgl/aspectanalysis/AspectAnalysisViewModel.js
1773
1786
 
1774
1787
 
1775
1788
  /**
1776
1789
  * 坡向逻辑类
1777
1790
  **/
1791
+
1778
1792
  class AspectAnalysisViewModel {
1779
1793
  // 坡向三维对象
1780
1794
  constructor(scenceView, aspect) {
1781
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_aspectAnalysis", null);
1795
+ (0,defineProperty/* default */.Z)(this, "_aspectAnalysis", null);
1782
1796
 
1783
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_globaOptions", {
1797
+ (0,defineProperty/* default */.Z)(this, "_globaOptions", {
1784
1798
  //全局参数
1785
1799
  viewer: null,
1786
1800
  _drawManager: null
@@ -1815,15 +1829,25 @@ class AspectAnalysisViewModel {
1815
1829
  start() {
1816
1830
  // 判断是否添加了地形
1817
1831
  if (this._globaOptions.viewer.terrainProvider.availability) {
1818
- if (this._globaOptions._drawManager) {
1819
- this.clear();
1832
+ if (this._globaOptions.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
1833
+ if (this._globaOptions._drawManager) {
1834
+ this.clear();
1820
1835
 
1821
- this._globaOptions._drawManager.startDraw("polygon", {
1822
- clampToGround: true
1836
+ this._globaOptions._drawManager.startDraw("polygon", {
1837
+ clampToGround: true
1838
+ });
1839
+ }
1840
+ } else {
1841
+ (0,message/* default */.Z)({
1842
+ message: "只支持STK类型的地形分析!",
1843
+ type: "warning"
1823
1844
  });
1824
1845
  }
1825
1846
  } else {
1826
- throw "请加载地形后分析!";
1847
+ (0,message/* default */.Z)({
1848
+ message: "请加载地形后分析!",
1849
+ type: "warning"
1850
+ });
1827
1851
  }
1828
1852
  } // 设置采样间隔
1829
1853
 
@@ -1858,26 +1882,6 @@ class AspectAnalysisViewModel {
1858
1882
  }
1859
1883
 
1860
1884
  }
1861
-
1862
- /***/ }),
1863
-
1864
- /***/ 468:
1865
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1866
-
1867
-
1868
- // EXPORTS
1869
- __webpack_require__.d(__webpack_exports__, {
1870
- "default": function() { return /* reexport */ AspectAnalysis; }
1871
- });
1872
-
1873
- // UNUSED EXPORTS: AspectAnalysisViewModel
1874
-
1875
- // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
1876
- var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
1877
- // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
1878
- var gis_utils_ = __webpack_require__(826);
1879
- // EXTERNAL MODULE: ./src/webgl/aspectanalysis/AspectAnalysisViewModel.js
1880
- var AspectAnalysisViewModel = __webpack_require__(8132);
1881
1885
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
1882
1886
  var client_icons_vue_ = __webpack_require__(348);
1883
1887
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
@@ -1988,7 +1992,7 @@ const __default__ = {
1988
1992
  gis_utils_.utils.getWebMap(null, scenceView => {
1989
1993
  if (scenceView) {
1990
1994
  language.value = scenceView._language;
1991
- viewModel = new AspectAnalysisViewModel/* default */.Z(scenceView, {
1995
+ viewModel = new AspectAnalysisViewModel(scenceView, {
1992
1996
  interval: formItem.interval,
1993
1997
  // 采样间隔
1994
1998
  arrowWidth: formItem.arrowWidth,
@@ -2706,15 +2710,29 @@ BaseterrainGallery.install = (Vue, opts) => {
2706
2710
 
2707
2711
  /***/ }),
2708
2712
 
2709
- /***/ 219:
2713
+ /***/ 4510:
2710
2714
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2711
2715
 
2712
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2713
- /* harmony export */ "Z": function() { return /* binding */ BoxClipViewModel; }
2714
- /* harmony export */ });
2715
- /* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
2716
+
2717
+ // EXPORTS
2718
+ __webpack_require__.d(__webpack_exports__, {
2719
+ "default": function() { return /* reexport */ BoxClip; }
2720
+ });
2721
+
2722
+ // UNUSED EXPORTS: BoxClipViewModel
2723
+
2724
+ // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
2725
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
2726
+ // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
2727
+ var gis_utils_ = __webpack_require__(826);
2728
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
2729
+ var defineProperty = __webpack_require__(8270);
2730
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
2731
+ var message = __webpack_require__(909);
2732
+ ;// CONCATENATED MODULE: ./src/webgl/boxclip/BoxClipViewModel.js
2716
2733
 
2717
2734
  //Box裁剪逻辑类
2735
+
2718
2736
  class BoxClipViewModel {
2719
2737
  //三维viewer对象
2720
2738
  //Box裁剪存储参数对象
@@ -2722,11 +2740,11 @@ class BoxClipViewModel {
2722
2740
  //绘制管理对象
2723
2741
  //绘制完成监听事件
2724
2742
  constructor(scenceView, options) {
2725
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
2743
+ (0,defineProperty/* default */.Z)(this, "_viewer", null);
2726
2744
 
2727
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_options", {});
2745
+ (0,defineProperty/* default */.Z)(this, "_options", {});
2728
2746
 
2729
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_defaultOptions", {
2747
+ (0,defineProperty/* default */.Z)(this, "_defaultOptions", {
2730
2748
  //默认参数对象
2731
2749
  clipTyp: 1,
2732
2750
  boxColor: Cesium.Color.fromCssColorString("#316882").withAlpha(0.4),
@@ -2747,11 +2765,11 @@ class BoxClipViewModel {
2747
2765
  paddingStrokeSpace: 5.0
2748
2766
  });
2749
2767
 
2750
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_boxclipAnalysis", null);
2768
+ (0,defineProperty/* default */.Z)(this, "_boxclipAnalysis", null);
2751
2769
 
2752
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_drawManager", null);
2770
+ (0,defineProperty/* default */.Z)(this, "_drawManager", null);
2753
2771
 
2754
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_removeEventListener", null);
2772
+ (0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
2755
2773
 
2756
2774
  this._options = Object.assign({}, options, this._defaultOptions);
2757
2775
  this._viewer = scenceView._viewer; // this._viewer.enabledFXAA = true;
@@ -2813,7 +2831,10 @@ class BoxClipViewModel {
2813
2831
  image: null
2814
2832
  });
2815
2833
  } else {
2816
- throw "请添加模型后裁剪!";
2834
+ (0,message/* default */.Z)({
2835
+ message: "请添加模型后裁剪!",
2836
+ type: "warning"
2837
+ });
2817
2838
  }
2818
2839
  } //清除全部
2819
2840
 
@@ -2905,26 +2926,6 @@ class BoxClipViewModel {
2905
2926
  }
2906
2927
 
2907
2928
  }
2908
-
2909
- /***/ }),
2910
-
2911
- /***/ 9985:
2912
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
2913
-
2914
-
2915
- // EXPORTS
2916
- __webpack_require__.d(__webpack_exports__, {
2917
- "default": function() { return /* reexport */ BoxClip; }
2918
- });
2919
-
2920
- // UNUSED EXPORTS: BoxClipViewModel
2921
-
2922
- // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
2923
- var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
2924
- // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
2925
- var gis_utils_ = __webpack_require__(826);
2926
- // EXTERNAL MODULE: ./src/webgl/boxclip/BoxClipViewModel.js
2927
- var BoxClipViewModel = __webpack_require__(219);
2928
2929
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
2929
2930
  var client_icons_vue_ = __webpack_require__(348);
2930
2931
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
@@ -3052,7 +3053,7 @@ const __default__ = {
3052
3053
  axisZ: formItem.clipHeight,
3053
3054
  angle: formItem.clipRotation
3054
3055
  };
3055
- viewModel = new BoxClipViewModel/* default */.Z(scenceView, options);
3056
+ viewModel = new BoxClipViewModel(scenceView, options);
3056
3057
  }
3057
3058
  });
3058
3059
  setTimeout(() => {
@@ -3841,12 +3842,27 @@ BoxClip.install = (Vue, opts) => {
3841
3842
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3842
3843
  /* harmony export */ "Z": function() { return /* binding */ ClientPrintViewModel; }
3843
3844
  /* harmony export */ });
3845
+ /* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
3846
+
3847
+
3844
3848
  /**
3845
3849
  * @class ClientPrintViewModel
3846
3850
  * @classdesc 客户端打印
3847
3851
  */
3848
3852
  class ClientPrintViewModel {
3849
- constructor() {}
3853
+ constructor(scenceView) {
3854
+ (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
3855
+
3856
+ this._viewer = scenceView._viewer;
3857
+ }
3858
+ /**
3859
+ * 改变状态栏方法
3860
+ */
3861
+
3862
+
3863
+ changStatusBar(val) {
3864
+ this._viewer.statusBar.show = val;
3865
+ }
3850
3866
  /**
3851
3867
  * 销毁执行方法。
3852
3868
  */
@@ -4304,7 +4320,6 @@ const __default__ = {
4304
4320
 
4305
4321
  global_event_default().setDefaultMapInfo("scencePrint", "cesium", null);
4306
4322
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
4307
- viewModel = new ClientPrintViewModel/* default */.Z();
4308
4323
  setTitleDataform.value.data.title = props.printTitle;
4309
4324
  companyName.value = props.companyName;
4310
4325
  sizelist.value = [];
@@ -4320,6 +4335,7 @@ const __default__ = {
4320
4335
  initControl();
4321
4336
  global_event_default().getWebMapByMapTarget("scencePrint", scenceView => {
4322
4337
  if (scenceView && scenceView._viewer) {
4338
+ viewModel = new ClientPrintViewModel/* default */.Z(scenceView);
4323
4339
  cameraToImage = new Cesium.Kq3dCanvasToImage(scenceView._viewer._container, {
4324
4340
  viewer: scenceView._viewer,
4325
4341
  canvas: scenceView._viewer.scene.canvas
@@ -4384,6 +4400,10 @@ const __default__ = {
4384
4400
 
4385
4401
  return yearCNStr + nonthCNStr + dayCNStr;
4386
4402
  }
4403
+
4404
+ function changStatusBar() {
4405
+ viewModel && viewModel.changStatusBar(scalesShow.value);
4406
+ }
4387
4407
  /**
4388
4408
  * 显示切换
4389
4409
  * @param {string} type
@@ -5098,7 +5118,8 @@ const __default__ = {
5098
5118
  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_checkbox, {
5099
5119
  class: "btnStyle",
5100
5120
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(scalesShow),
5101
- "onUpdate:modelValue": _cache[7] || (_cache[7] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(scalesShow) ? scalesShow.value = $event : scalesShow = $event)
5121
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(scalesShow) ? scalesShow.value = $event : scalesShow = $event),
5122
+ onChange: changStatusBar
5102
5123
  }, {
5103
5124
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_9]),
5104
5125
  _: 1
@@ -6629,28 +6650,42 @@ Compass.install = (Vue, opts) => {
6629
6650
 
6630
6651
  /***/ }),
6631
6652
 
6632
- /***/ 5183:
6653
+ /***/ 7739:
6633
6654
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6634
6655
 
6635
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6636
- /* harmony export */ "Z": function() { return /* binding */ ExcavateFillAnalysisViewModel; }
6637
- /* harmony export */ });
6638
- /* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
6656
+
6657
+ // EXPORTS
6658
+ __webpack_require__.d(__webpack_exports__, {
6659
+ "default": function() { return /* reexport */ ExcavateFillAnalysis; }
6660
+ });
6661
+
6662
+ // UNUSED EXPORTS: ExcavateFillAnalysisViewModel
6663
+
6664
+ // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
6665
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
6666
+ // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
6667
+ var gis_utils_ = __webpack_require__(826);
6668
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
6669
+ var defineProperty = __webpack_require__(8270);
6670
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
6671
+ var message = __webpack_require__(909);
6672
+ ;// CONCATENATED MODULE: ./src/webgl/excavatefillanalysis/ExcavateFillAnalysisViewModel.js
6639
6673
 
6640
6674
  //填挖方分析逻辑类
6675
+
6641
6676
  class ExcavateFillAnalysisViewModel {
6642
6677
  //填挖方分析三维对象
6643
6678
  //绘制管理对象
6644
6679
  //填挖方分析存储参数对象
6645
6680
  //绘制完成监听事件
6646
6681
  constructor(scenceView, options, callback) {
6647
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_excavateFillAnalysis", null);
6682
+ (0,defineProperty/* default */.Z)(this, "_excavateFillAnalysis", null);
6648
6683
 
6649
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_drawManager", null);
6684
+ (0,defineProperty/* default */.Z)(this, "_drawManager", null);
6650
6685
 
6651
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_options", null);
6686
+ (0,defineProperty/* default */.Z)(this, "_options", null);
6652
6687
 
6653
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_removeEventListener", null);
6688
+ (0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
6654
6689
 
6655
6690
  options.viewer = scenceView._viewer;
6656
6691
  options.viewer.scene.globe.depthTestAgainstTerrain = true;
@@ -6698,11 +6733,21 @@ class ExcavateFillAnalysisViewModel {
6698
6733
  start() {
6699
6734
  // 判断是否添加了地形
6700
6735
  if (this._options.viewer.terrainProvider.availability) {
6701
- this._drawManager.startDraw("polygon", {
6702
- clampToGround: true
6703
- });
6736
+ if (this._options.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
6737
+ this._drawManager.startDraw("polygon", {
6738
+ clampToGround: true
6739
+ });
6740
+ } else {
6741
+ (0,message/* default */.Z)({
6742
+ message: "只支持STK类型的地形分析!",
6743
+ type: "warning"
6744
+ });
6745
+ }
6704
6746
  } else {
6705
- throw "请加载地形后分析!";
6747
+ (0,message/* default */.Z)({
6748
+ message: "请加载地形后分析!",
6749
+ type: "warning"
6750
+ });
6706
6751
  }
6707
6752
  } //清除全部结果
6708
6753
 
@@ -6751,26 +6796,6 @@ class ExcavateFillAnalysisViewModel {
6751
6796
  }
6752
6797
 
6753
6798
  }
6754
-
6755
- /***/ }),
6756
-
6757
- /***/ 6722:
6758
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6759
-
6760
-
6761
- // EXPORTS
6762
- __webpack_require__.d(__webpack_exports__, {
6763
- "default": function() { return /* reexport */ ExcavateFillAnalysis; }
6764
- });
6765
-
6766
- // UNUSED EXPORTS: ExcavateFillAnalysisViewModel
6767
-
6768
- // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
6769
- var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
6770
- // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
6771
- var gis_utils_ = __webpack_require__(826);
6772
- // EXTERNAL MODULE: ./src/webgl/excavatefillanalysis/ExcavateFillAnalysisViewModel.js
6773
- var ExcavateFillAnalysisViewModel = __webpack_require__(5183);
6774
6799
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
6775
6800
  var client_icons_vue_ = __webpack_require__(348);
6776
6801
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
@@ -6899,7 +6924,7 @@ const __default__ = {
6899
6924
  cutColor: formItem.excavateColor,
6900
6925
  fillColor: formItem.fillColor
6901
6926
  };
6902
- viewModel = new ExcavateFillAnalysisViewModel/* default */.Z(scenceView, options, function () {
6927
+ viewModel = new ExcavateFillAnalysisViewModel(scenceView, options, function () {
6903
6928
  setTimeout(() => {
6904
6929
  showResult.value = true;
6905
6930
  const cutVolumn = viewModel._excavateFillAnalysis.cutVolumn;
@@ -8774,10 +8799,13 @@ var gis_utils_ = __webpack_require__(826);
8774
8799
  var defineProperty = __webpack_require__(8270);
8775
8800
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
8776
8801
  var const_image_ = __webpack_require__(9702);
8802
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
8803
+ var message = __webpack_require__(909);
8777
8804
  ;// CONCATENATED MODULE: ./src/webgl/floodanalysis/FloodAnalysisViewModel.js
8778
8805
 
8779
8806
  //地形淹没分析逻辑类
8780
8807
 
8808
+
8781
8809
  class FloodAnalysisViewModel {
8782
8810
  //地形淹没三维对象
8783
8811
  //模型淹没三维对象
@@ -8880,11 +8908,21 @@ class FloodAnalysisViewModel {
8880
8908
  // 判断是否添加了地形
8881
8909
  if (this._mode === 0) {
8882
8910
  if (this._floodModelAnalysis.viewer.terrainProvider.availability) {
8883
- this.clear();
8911
+ if (this._floodModelAnalysis.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
8912
+ this.clear();
8884
8913
 
8885
- this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
8914
+ this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
8915
+ } else {
8916
+ (0,message/* default */.Z)({
8917
+ message: "只支持STK类型的地形分析!",
8918
+ type: "warning"
8919
+ });
8920
+ }
8886
8921
  } else {
8887
- throw "请加载地形后分析!";
8922
+ (0,message/* default */.Z)({
8923
+ message: "请加载地形后分析!",
8924
+ type: "warning"
8925
+ });
8888
8926
  }
8889
8927
  } else if (this._mode === 1) {
8890
8928
  var modelFlag = false;
@@ -8902,7 +8940,10 @@ class FloodAnalysisViewModel {
8902
8940
 
8903
8941
  this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
8904
8942
  } else {
8905
- throw "请加载模型后分析!";
8943
+ (0,message/* default */.Z)({
8944
+ message: "请添加模型后分析!",
8945
+ type: "warning"
8946
+ });
8906
8947
  }
8907
8948
  }
8908
8949
  } //清除全部结果
@@ -9705,15 +9746,34 @@ FloodAnalysis.install = (Vue, opts) => {
9705
9746
 
9706
9747
  /***/ }),
9707
9748
 
9708
- /***/ 7775:
9749
+ /***/ 7719:
9709
9750
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
9710
9751
 
9711
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9712
- /* harmony export */ "Z": function() { return /* binding */ GPUSpatialQueryViewModel; }
9713
- /* harmony export */ });
9714
- /* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
9752
+
9753
+ // EXPORTS
9754
+ __webpack_require__.d(__webpack_exports__, {
9755
+ "default": function() { return /* reexport */ GPUSpatialQuery; }
9756
+ });
9757
+
9758
+ // UNUSED EXPORTS: GPUSpatialQueryViewModel
9759
+
9760
+ // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
9761
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
9762
+ // EXTERNAL MODULE: external "@element-plus/icons-vue"
9763
+ var icons_vue_ = __webpack_require__(8422);
9764
+ // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
9765
+ var gis_utils_ = __webpack_require__(826);
9766
+ ;// CONCATENATED MODULE: external "xe-utils"
9767
+ var external_xe_utils_namespaceObject = require("xe-utils");
9768
+ var external_xe_utils_default = /*#__PURE__*/__webpack_require__.n(external_xe_utils_namespaceObject);
9769
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
9770
+ var defineProperty = __webpack_require__(8270);
9771
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
9772
+ var message = __webpack_require__(909);
9773
+ ;// CONCATENATED MODULE: ./src/webgl/gpuspatialquery/GPUSpatialQueryViewModel.js
9715
9774
 
9716
9775
  //GPU空间查询逻辑类
9776
+
9717
9777
  class GPUSpatialQueryViewModel {
9718
9778
  //GPU查询三维对象
9719
9779
  //绘制管理对象
@@ -9723,19 +9783,19 @@ class GPUSpatialQueryViewModel {
9723
9783
  //绘制后的查询事件
9724
9784
  //绘制完成监听事件
9725
9785
  constructor(scenceView, options) {
9726
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_gpuSpatialQuery", null);
9786
+ (0,defineProperty/* default */.Z)(this, "_gpuSpatialQuery", null);
9727
9787
 
9728
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_drawManager", null);
9788
+ (0,defineProperty/* default */.Z)(this, "_drawManager", null);
9729
9789
 
9730
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_geometry", null);
9790
+ (0,defineProperty/* default */.Z)(this, "_geometry", null);
9731
9791
 
9732
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_center", null);
9792
+ (0,defineProperty/* default */.Z)(this, "_center", null);
9733
9793
 
9734
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_options", null);
9794
+ (0,defineProperty/* default */.Z)(this, "_options", null);
9735
9795
 
9736
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "finishedQuery", null);
9796
+ (0,defineProperty/* default */.Z)(this, "finishedQuery", null);
9737
9797
 
9738
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_removeEventListener", null);
9798
+ (0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
9739
9799
 
9740
9800
  options.viewer = scenceView._viewer;
9741
9801
  options.viewer.scene.globe.depthTestAgainstTerrain = true;
@@ -9823,7 +9883,10 @@ class GPUSpatialQueryViewModel {
9823
9883
  image: null
9824
9884
  });
9825
9885
  } else {
9826
- throw "请添加模型后分析!";
9886
+ (0,message/* default */.Z)({
9887
+ message: "请添加模型后分析!",
9888
+ type: "warning"
9889
+ });
9827
9890
  }
9828
9891
  } // 开始查询
9829
9892
 
@@ -10003,31 +10066,6 @@ class GPUSpatialQueryViewModel {
10003
10066
  }
10004
10067
 
10005
10068
  }
10006
-
10007
- /***/ }),
10008
-
10009
- /***/ 8380:
10010
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
10011
-
10012
-
10013
- // EXPORTS
10014
- __webpack_require__.d(__webpack_exports__, {
10015
- "default": function() { return /* reexport */ GPUSpatialQuery; }
10016
- });
10017
-
10018
- // UNUSED EXPORTS: GPUSpatialQueryViewModel
10019
-
10020
- // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
10021
- var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
10022
- // EXTERNAL MODULE: external "@element-plus/icons-vue"
10023
- var icons_vue_ = __webpack_require__(8422);
10024
- // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
10025
- var gis_utils_ = __webpack_require__(826);
10026
- ;// CONCATENATED MODULE: external "xe-utils"
10027
- var external_xe_utils_namespaceObject = require("xe-utils");
10028
- var external_xe_utils_default = /*#__PURE__*/__webpack_require__.n(external_xe_utils_namespaceObject);
10029
- // EXTERNAL MODULE: ./src/webgl/gpuspatialquery/GPUSpatialQueryViewModel.js
10030
- var GPUSpatialQueryViewModel = __webpack_require__(7775);
10031
10069
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
10032
10070
  var util_ = __webpack_require__(9519);
10033
10071
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/gpuspatialquery/GPUSpatialQuery.vue?vue&type=script&setup=true&lang=js
@@ -10166,7 +10204,7 @@ const __default__ = {
10166
10204
  gis_utils_.utils.getWebMap(null, scenceView => {
10167
10205
  if (scenceView) {
10168
10206
  language.value = scenceView._language;
10169
- viewModel = new GPUSpatialQueryViewModel/* default */.Z(scenceView, {
10207
+ viewModel = new GPUSpatialQueryViewModel(scenceView, {
10170
10208
  volumeType: formItem.volumeType,
10171
10209
  positionMode: formItem.positionMode,
10172
10210
  scale: formItem.scale,
@@ -10900,10 +10938,13 @@ var gis_utils_ = __webpack_require__(826);
10900
10938
  var defineProperty = __webpack_require__(8270);
10901
10939
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
10902
10940
  var const_image_ = __webpack_require__(9702);
10941
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
10942
+ var message = __webpack_require__(909);
10903
10943
  ;// CONCATENATED MODULE: ./src/webgl/isolineanalysis/IsolineAnalysisViewModel.js
10904
10944
 
10905
10945
  //等值线分析逻辑类
10906
10946
 
10947
+
10907
10948
  class IsolineAnalysisViewModel {
10908
10949
  //等值线分析三维对象
10909
10950
  //等高面高度区间
@@ -11120,7 +11161,10 @@ class IsolineAnalysisViewModel {
11120
11161
  clampToGround: true
11121
11162
  });
11122
11163
  } else {
11123
- throw "请加载地形后分析!";
11164
+ (0,message/* default */.Z)({
11165
+ message: "请添加模型后分析!",
11166
+ type: "warning"
11167
+ });
11124
11168
  }
11125
11169
  } //清除全部结果
11126
11170
 
@@ -14344,15 +14388,29 @@ Measure.install = (Vue, opts) => {
14344
14388
 
14345
14389
  /***/ }),
14346
14390
 
14347
- /***/ 5394:
14391
+ /***/ 9089:
14348
14392
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
14349
14393
 
14350
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
14351
- /* harmony export */ "Z": function() { return /* binding */ ModelSelectViewModel; }
14352
- /* harmony export */ });
14353
- /* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
14394
+
14395
+ // EXPORTS
14396
+ __webpack_require__.d(__webpack_exports__, {
14397
+ "default": function() { return /* reexport */ ModelSelect; }
14398
+ });
14399
+
14400
+ // UNUSED EXPORTS: ModelSelectViewModel
14401
+
14402
+ // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
14403
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
14404
+ // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
14405
+ var gis_utils_ = __webpack_require__(826);
14406
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
14407
+ var defineProperty = __webpack_require__(8270);
14408
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
14409
+ var message = __webpack_require__(909);
14410
+ ;// CONCATENATED MODULE: ./src/webgl/modelselect/ModelSelectViewModel.js
14354
14411
 
14355
14412
  //模型拾取逻辑类
14413
+
14356
14414
  class ModelSelectViewModel {
14357
14415
  //三维viewer对象
14358
14416
  //屏幕空间事件处理程序三维对象
@@ -14360,15 +14418,15 @@ class ModelSelectViewModel {
14360
14418
  //高亮三维对象
14361
14419
  //高亮颜色
14362
14420
  constructor(scenceView, pickCallFunc) {
14363
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
14421
+ (0,defineProperty/* default */.Z)(this, "_viewer", null);
14364
14422
 
14365
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_handler", null);
14423
+ (0,defineProperty/* default */.Z)(this, "_handler", null);
14366
14424
 
14367
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_isPick", false);
14425
+ (0,defineProperty/* default */.Z)(this, "_isPick", false);
14368
14426
 
14369
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_highlight", null);
14427
+ (0,defineProperty/* default */.Z)(this, "_highlight", null);
14370
14428
 
14371
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_highlightColor", "#FF0000");
14429
+ (0,defineProperty/* default */.Z)(this, "_highlightColor", "#FF0000");
14372
14430
 
14373
14431
  this._viewer = scenceView._viewer;
14374
14432
  this._drawManager = scenceView._drawManager;
@@ -14439,7 +14497,10 @@ class ModelSelectViewModel {
14439
14497
  this.setCursor("crosshair");
14440
14498
  this._isPick = true;
14441
14499
  } else {
14442
- throw "请添加模型后拾取!";
14500
+ (0,message/* default */.Z)({
14501
+ message: "请添加模型后拾取!",
14502
+ type: "warning"
14503
+ });
14443
14504
  }
14444
14505
  }
14445
14506
 
@@ -14467,26 +14528,6 @@ class ModelSelectViewModel {
14467
14528
  }
14468
14529
 
14469
14530
  }
14470
-
14471
- /***/ }),
14472
-
14473
- /***/ 1134:
14474
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
14475
-
14476
-
14477
- // EXPORTS
14478
- __webpack_require__.d(__webpack_exports__, {
14479
- "default": function() { return /* reexport */ ModelSelect; }
14480
- });
14481
-
14482
- // UNUSED EXPORTS: ModelSelectViewModel
14483
-
14484
- // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
14485
- var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
14486
- // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
14487
- var gis_utils_ = __webpack_require__(826);
14488
- // EXTERNAL MODULE: ./src/webgl/modelselect/ModelSelectViewModel.js
14489
- var ModelSelectViewModel = __webpack_require__(5394);
14490
14531
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
14491
14532
  var client_icons_vue_ = __webpack_require__(348);
14492
14533
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
@@ -14603,7 +14644,7 @@ const __default__ = {
14603
14644
  gis_utils_.utils.getWebMap(null, scenceView => {
14604
14645
  if (scenceView) {
14605
14646
  language.value = scenceView._language;
14606
- viewModel = new ModelSelectViewModel/* default */.Z(scenceView, pickCallFunc);
14647
+ viewModel = new ModelSelectViewModel(scenceView, pickCallFunc);
14607
14648
  viewModel._highlightColor = props.highlightColor;
14608
14649
  }
14609
14650
  });
@@ -15898,15 +15939,29 @@ ParticleEffect.install = (Vue, opts) => {
15898
15939
 
15899
15940
  /***/ }),
15900
15941
 
15901
- /***/ 5673:
15942
+ /***/ 9736:
15902
15943
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
15903
15944
 
15904
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
15905
- /* harmony export */ "Z": function() { return /* binding */ PlaneClipViewModel; }
15906
- /* harmony export */ });
15907
- /* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
15945
+
15946
+ // EXPORTS
15947
+ __webpack_require__.d(__webpack_exports__, {
15948
+ "default": function() { return /* reexport */ PlaneClip; }
15949
+ });
15950
+
15951
+ // UNUSED EXPORTS: PlaneClipViewModel
15952
+
15953
+ // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
15954
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
15955
+ // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
15956
+ var gis_utils_ = __webpack_require__(826);
15957
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
15958
+ var defineProperty = __webpack_require__(8270);
15959
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
15960
+ var message = __webpack_require__(909);
15961
+ ;// CONCATENATED MODULE: ./src/webgl/planeclip/PlaneClipViewModel.js
15908
15962
 
15909
15963
  //平面裁剪逻辑类
15964
+
15910
15965
  class PlaneClipViewModel {
15911
15966
  //三维viewer对象
15912
15967
  //平面裁剪存储参数对象
@@ -15914,11 +15969,11 @@ class PlaneClipViewModel {
15914
15969
  //绘制管理对象
15915
15970
  //绘制完成事件监听
15916
15971
  constructor(scenceView, options) {
15917
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
15972
+ (0,defineProperty/* default */.Z)(this, "_viewer", null);
15918
15973
 
15919
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_options", {});
15974
+ (0,defineProperty/* default */.Z)(this, "_options", {});
15920
15975
 
15921
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_defaultOptions", {
15976
+ (0,defineProperty/* default */.Z)(this, "_defaultOptions", {
15922
15977
  //默认参数对象
15923
15978
  x: 0,
15924
15979
  y: 0,
@@ -15943,11 +15998,11 @@ class PlaneClipViewModel {
15943
15998
  paddingStrokeSpace: 7.0
15944
15999
  });
15945
16000
 
15946
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_planeclipAnalysis", null);
16001
+ (0,defineProperty/* default */.Z)(this, "_planeclipAnalysis", null);
15947
16002
 
15948
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_drawManager", null);
16003
+ (0,defineProperty/* default */.Z)(this, "_drawManager", null);
15949
16004
 
15950
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_removeEventListener", null);
16005
+ (0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
15951
16006
 
15952
16007
  this._options = Object.assign({}, options, this._defaultOptions);
15953
16008
  this._viewer = scenceView._viewer; // this._viewer.enabledFXAA = true;
@@ -16009,7 +16064,10 @@ class PlaneClipViewModel {
16009
16064
  image: null
16010
16065
  });
16011
16066
  } else {
16012
- throw "请添加模型后裁剪!";
16067
+ (0,message/* default */.Z)({
16068
+ message: "请添加模型后裁剪!",
16069
+ type: "warning"
16070
+ });
16013
16071
  }
16014
16072
  } //清除全部
16015
16073
 
@@ -16080,26 +16138,6 @@ class PlaneClipViewModel {
16080
16138
  }
16081
16139
 
16082
16140
  }
16083
-
16084
- /***/ }),
16085
-
16086
- /***/ 5265:
16087
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
16088
-
16089
-
16090
- // EXPORTS
16091
- __webpack_require__.d(__webpack_exports__, {
16092
- "default": function() { return /* reexport */ PlaneClip; }
16093
- });
16094
-
16095
- // UNUSED EXPORTS: PlaneClipViewModel
16096
-
16097
- // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
16098
- var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
16099
- // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
16100
- var gis_utils_ = __webpack_require__(826);
16101
- // EXTERNAL MODULE: ./src/webgl/planeclip/PlaneClipViewModel.js
16102
- var PlaneClipViewModel = __webpack_require__(5673);
16103
16141
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
16104
16142
  var client_icons_vue_ = __webpack_require__(348);
16105
16143
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
@@ -16220,7 +16258,7 @@ const __default__ = {
16220
16258
  boxEnable: formItem.boxEnable,
16221
16259
  distance: formItem.clipDistance
16222
16260
  };
16223
- viewModel = new PlaneClipViewModel/* default */.Z(scenceView, options);
16261
+ viewModel = new PlaneClipViewModel(scenceView, options);
16224
16262
  }
16225
16263
  });
16226
16264
  setTimeout(() => {
@@ -18871,21 +18909,35 @@ Screenshot.install = (Vue, opts) => {
18871
18909
 
18872
18910
  /***/ }),
18873
18911
 
18874
- /***/ 4167:
18912
+ /***/ 8449:
18875
18913
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
18876
18914
 
18877
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18878
- /* harmony export */ "Z": function() { return /* binding */ ShadowAnalysisViewModel; }
18879
- /* harmony export */ });
18880
- /* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
18915
+
18916
+ // EXPORTS
18917
+ __webpack_require__.d(__webpack_exports__, {
18918
+ "default": function() { return /* reexport */ ShadowAnalysis; }
18919
+ });
18920
+
18921
+ // UNUSED EXPORTS: ShadowAnalysisViewModel
18922
+
18923
+ // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
18924
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
18925
+ // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
18926
+ var gis_utils_ = __webpack_require__(826);
18927
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
18928
+ var defineProperty = __webpack_require__(8270);
18929
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
18930
+ var message = __webpack_require__(909);
18931
+ ;// CONCATENATED MODULE: ./src/webgl/shadowanalysis/ShadowAnalysisViewModel.js
18881
18932
 
18882
18933
  // 分析逻辑类
18934
+
18883
18935
  class ShadowAnalysisViewModel {
18884
18936
  //阴影分析三维对象
18885
18937
  constructor(scenceView, viewModel) {
18886
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_shadowAnalysis", null);
18938
+ (0,defineProperty/* default */.Z)(this, "_shadowAnalysis", null);
18887
18939
 
18888
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_globaOptions", {
18940
+ (0,defineProperty/* default */.Z)(this, "_globaOptions", {
18889
18941
  //全局参数
18890
18942
  viewer: null,
18891
18943
  _drawManager: null
@@ -18962,7 +19014,10 @@ class ShadowAnalysisViewModel {
18962
19014
  clampToGround: true
18963
19015
  });
18964
19016
  } else {
18965
- throw "请添加模型后分析!";
19017
+ (0,message/* default */.Z)({
19018
+ message: "请添加模型后分析!",
19019
+ type: "warning"
19020
+ });
18966
19021
  }
18967
19022
  } // 阴影分析
18968
19023
 
@@ -19106,26 +19161,6 @@ class ShadowAnalysisViewModel {
19106
19161
  }
19107
19162
 
19108
19163
  }
19109
-
19110
- /***/ }),
19111
-
19112
- /***/ 3548:
19113
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
19114
-
19115
-
19116
- // EXPORTS
19117
- __webpack_require__.d(__webpack_exports__, {
19118
- "default": function() { return /* reexport */ ShadowAnalysis; }
19119
- });
19120
-
19121
- // UNUSED EXPORTS: ShadowAnalysisViewModel
19122
-
19123
- // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
19124
- var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
19125
- // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
19126
- var gis_utils_ = __webpack_require__(826);
19127
- // EXTERNAL MODULE: ./src/webgl/shadowanalysis/ShadowAnalysisViewModel.js
19128
- var ShadowAnalysisViewModel = __webpack_require__(4167);
19129
19164
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
19130
19165
  var const_image_ = __webpack_require__(9702);
19131
19166
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
@@ -19316,7 +19351,7 @@ const __default__ = {
19316
19351
  gis_utils_.utils.getWebMap(null, scenceView => {
19317
19352
  if (scenceView) {
19318
19353
  language.value = scenceView._language;
19319
- viewModel = new ShadowAnalysisViewModel/* default */.Z(scenceView, {
19354
+ viewModel = new ShadowAnalysisViewModel(scenceView, {
19320
19355
  showVoxel: formItem.showBuilding,
19321
19356
  // 显示体素
19322
19357
  baseHeight: formItem.baseHeight,
@@ -20696,15 +20731,29 @@ SightlineAnalysis.install = (Vue, opts) => {
20696
20731
 
20697
20732
  /***/ }),
20698
20733
 
20699
- /***/ 3084:
20734
+ /***/ 421:
20700
20735
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
20701
20736
 
20702
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
20703
- /* harmony export */ "Z": function() { return /* binding */ SkylineAnalysisViewModel; }
20704
- /* harmony export */ });
20705
- /* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
20737
+
20738
+ // EXPORTS
20739
+ __webpack_require__.d(__webpack_exports__, {
20740
+ "default": function() { return /* reexport */ SkylineAnalysis; }
20741
+ });
20742
+
20743
+ // UNUSED EXPORTS: SkylineAnalysisViewModel
20744
+
20745
+ // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
20746
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
20747
+ // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
20748
+ var gis_utils_ = __webpack_require__(826);
20749
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
20750
+ var defineProperty = __webpack_require__(8270);
20751
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
20752
+ var message = __webpack_require__(909);
20753
+ ;// CONCATENATED MODULE: ./src/webgl/skylineanalysis/SkylineAnalysisViewModel.js
20706
20754
 
20707
20755
  //天际线分析逻辑类
20756
+
20708
20757
  class SkylineAnalysisViewModel {
20709
20758
  /**
20710
20759
  * 天际线分析逻辑类
@@ -20721,15 +20770,15 @@ class SkylineAnalysisViewModel {
20721
20770
  * @param {*} option 天际线分析参数对象
20722
20771
  */
20723
20772
  constructor(viewer, option) {
20724
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_skylineAnalysis", null);
20773
+ (0,defineProperty/* default */.Z)(this, "_skylineAnalysis", null);
20725
20774
 
20726
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_skylineAnalysisChart", null);
20775
+ (0,defineProperty/* default */.Z)(this, "_skylineAnalysisChart", null);
20727
20776
 
20728
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_skylineAnalysisChartTitle", "");
20777
+ (0,defineProperty/* default */.Z)(this, "_skylineAnalysisChartTitle", "");
20729
20778
 
20730
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_options", null);
20779
+ (0,defineProperty/* default */.Z)(this, "_options", null);
20731
20780
 
20732
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_showLimitHeightBody", null);
20781
+ (0,defineProperty/* default */.Z)(this, "_showLimitHeightBody", null);
20733
20782
 
20734
20783
  viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
20735
20784
 
@@ -20783,7 +20832,10 @@ class SkylineAnalysisViewModel {
20783
20832
 
20784
20833
  this.setSkyline2D();
20785
20834
  } else {
20786
- throw "请添加模型后提取!";
20835
+ (0,message/* default */.Z)({
20836
+ message: "请添加模型后提取!",
20837
+ type: "warning"
20838
+ });
20787
20839
  }
20788
20840
  }
20789
20841
  /**
@@ -20815,7 +20867,10 @@ class SkylineAnalysisViewModel {
20815
20867
 
20816
20868
  this._skylineAnalysis.viewer.camera.moveBackward(1);
20817
20869
  } else {
20818
- throw "请添加模型后绘制!";
20870
+ (0,message/* default */.Z)({
20871
+ message: "请添加模型后提取!",
20872
+ type: "warning"
20873
+ });
20819
20874
  }
20820
20875
  }
20821
20876
  /**
@@ -20971,26 +21026,6 @@ class SkylineAnalysisViewModel {
20971
21026
  }
20972
21027
 
20973
21028
  }
20974
-
20975
- /***/ }),
20976
-
20977
- /***/ 1075:
20978
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
20979
-
20980
-
20981
- // EXPORTS
20982
- __webpack_require__.d(__webpack_exports__, {
20983
- "default": function() { return /* reexport */ SkylineAnalysis; }
20984
- });
20985
-
20986
- // UNUSED EXPORTS: SkylineAnalysisViewModel
20987
-
20988
- // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
20989
- var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
20990
- // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
20991
- var gis_utils_ = __webpack_require__(826);
20992
- // EXTERNAL MODULE: ./src/webgl/skylineanalysis/SkylineAnalysisViewModel.js
20993
- var SkylineAnalysisViewModel = __webpack_require__(3084);
20994
21029
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
20995
21030
  var client_icons_vue_ = __webpack_require__(348);
20996
21031
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
@@ -21114,7 +21149,7 @@ const __default__ = {
21114
21149
  gis_utils_.utils.getWebMap(null, scenceView => {
21115
21150
  if (scenceView) {
21116
21151
  language.value = scenceView._language;
21117
- viewModel = new SkylineAnalysisViewModel/* default */.Z(scenceView._viewer, {
21152
+ viewModel = new SkylineAnalysisViewModel(scenceView._viewer, {
21118
21153
  skylineColor: formItem.skylineColor || "#E6A23C",
21119
21154
  skylineRadius: formItem.skylineRadius || 1000,
21120
21155
  limitHeightBodyColor: formItem.limitHeightBodyColor || "#67C23A",
@@ -21552,10 +21587,13 @@ var gis_utils_ = __webpack_require__(826);
21552
21587
  var defineProperty = __webpack_require__(8270);
21553
21588
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
21554
21589
  var const_image_ = __webpack_require__(9702);
21590
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
21591
+ var message = __webpack_require__(909);
21555
21592
  ;// CONCATENATED MODULE: ./src/webgl/slopeanalysis/SlopeAnalysisViewModel.js
21556
21593
 
21557
21594
  // 分析逻辑类
21558
21595
 
21596
+
21559
21597
  class SlopeAnalysisViewModel {
21560
21598
  // 坡度坡向三维对象
21561
21599
  constructor(scenceView, viewModel) {
@@ -21677,26 +21715,36 @@ class SlopeAnalysisViewModel {
21677
21715
  start() {
21678
21716
  // 判断是否添加了地形
21679
21717
  if (this._globaOptions.viewModel.viewer.terrainProvider.availability) {
21680
- if (this._globaOptions.viewModel.fillStyle === "slopeFilter") {
21681
- // 坡度过滤不需要进行绘制
21682
- this._slopeAnalysis = new Cesium.Kq3dSlope({
21683
- viewer: this._globaOptions.viewer,
21684
- positions: this._defaultPositions,
21685
- isFilter: true,
21686
- minSlope: this._globaOptions.viewModel.minSlope,
21687
- maxSlope: this._globaOptions.viewModel.maxSlope,
21688
- color: Cesium.Color.fromCssColorString(this._globaOptions.viewModel.slopeColorText).withAlpha(Number(this._globaOptions.viewModel.slopeColorAlpha))
21689
- });
21690
- } else {
21691
- // this.clear();
21692
- if (this._globaOptions._drawManager) {
21693
- this._globaOptions._drawManager.startDraw("polygon", {
21694
- clampToGround: true
21718
+ if (this._globaOptions.viewModel.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
21719
+ if (this._globaOptions.viewModel.fillStyle === "slopeFilter") {
21720
+ // 坡度过滤不需要进行绘制
21721
+ this._slopeAnalysis = new Cesium.Kq3dSlope({
21722
+ viewer: this._globaOptions.viewer,
21723
+ positions: this._defaultPositions,
21724
+ isFilter: true,
21725
+ minSlope: this._globaOptions.viewModel.minSlope,
21726
+ maxSlope: this._globaOptions.viewModel.maxSlope,
21727
+ color: Cesium.Color.fromCssColorString(this._globaOptions.viewModel.slopeColorText).withAlpha(Number(this._globaOptions.viewModel.slopeColorAlpha))
21695
21728
  });
21729
+ } else {
21730
+ // this.clear();
21731
+ if (this._globaOptions._drawManager) {
21732
+ this._globaOptions._drawManager.startDraw("polygon", {
21733
+ clampToGround: true
21734
+ });
21735
+ }
21696
21736
  }
21737
+ } else {
21738
+ (0,message/* default */.Z)({
21739
+ message: "只支持STK类型的地形分析!",
21740
+ type: "warning"
21741
+ });
21697
21742
  }
21698
21743
  } else {
21699
- throw "请加载地形后分析!";
21744
+ (0,message/* default */.Z)({
21745
+ message: "请加载地形后分析!",
21746
+ type: "warning"
21747
+ });
21700
21748
  }
21701
21749
  } //修改填充样式
21702
21750
 
@@ -22796,15 +22844,29 @@ StatusBar.install = (Vue, opts) => {
22796
22844
 
22797
22845
  /***/ }),
22798
22846
 
22799
- /***/ 5925:
22847
+ /***/ 2686:
22800
22848
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
22801
22849
 
22802
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22803
- /* harmony export */ "Z": function() { return /* binding */ TerrainOperationViewModel; }
22804
- /* harmony export */ });
22805
- /* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
22850
+
22851
+ // EXPORTS
22852
+ __webpack_require__.d(__webpack_exports__, {
22853
+ "default": function() { return /* reexport */ TerrainOperation; }
22854
+ });
22855
+
22856
+ // UNUSED EXPORTS: TerrainOperationViewModel
22857
+
22858
+ // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
22859
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
22860
+ // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
22861
+ var gis_utils_ = __webpack_require__(826);
22862
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
22863
+ var defineProperty = __webpack_require__(8270);
22864
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
22865
+ var message = __webpack_require__(909);
22866
+ ;// CONCATENATED MODULE: ./src/webgl/terrainoperation/TerrainOperationViewModel.js
22806
22867
 
22807
22868
  //地形淹没分析逻辑类
22869
+
22808
22870
  class TerrainOperationViewModel {
22809
22871
  //地形开挖三维对象
22810
22872
  //地形修改三维对象
@@ -22815,21 +22877,21 @@ class TerrainOperationViewModel {
22815
22877
  //开挖深度
22816
22878
  //绘制完成监听事件
22817
22879
  constructor(scenceView, viewModel) {
22818
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_terrainexcavationext", null);
22880
+ (0,defineProperty/* default */.Z)(this, "_terrainexcavationext", null);
22819
22881
 
22820
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_terrainmodification", null);
22882
+ (0,defineProperty/* default */.Z)(this, "_terrainmodification", null);
22821
22883
 
22822
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_drawManager", null);
22884
+ (0,defineProperty/* default */.Z)(this, "_drawManager", null);
22823
22885
 
22824
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_globaOptions", {});
22886
+ (0,defineProperty/* default */.Z)(this, "_globaOptions", {});
22825
22887
 
22826
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_positions", []);
22888
+ (0,defineProperty/* default */.Z)(this, "_positions", []);
22827
22889
 
22828
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_terrainStyle", null);
22890
+ (0,defineProperty/* default */.Z)(this, "_terrainStyle", null);
22829
22891
 
22830
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_height", 0);
22892
+ (0,defineProperty/* default */.Z)(this, "_height", 0);
22831
22893
 
22832
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_removeEventListener", null);
22894
+ (0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
22833
22895
 
22834
22896
  this._globaOptions.viewer = scenceView._viewer;
22835
22897
  this._globaOptions.viewer.scene.logarithmicDepthBuffer = false;
@@ -22942,13 +23004,23 @@ class TerrainOperationViewModel {
22942
23004
  start() {
22943
23005
  // 判断是否添加了地形
22944
23006
  if (this._globaOptions.viewer.terrainProvider.availability) {
22945
- this.clear();
23007
+ if (this._globaOptions.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
23008
+ this.clear();
22946
23009
 
22947
- this._drawManager.startDraw("polygon", {
22948
- clampToGround: true
22949
- });
23010
+ this._drawManager.startDraw("polygon", {
23011
+ clampToGround: true
23012
+ });
23013
+ } else {
23014
+ (0,message/* default */.Z)({
23015
+ message: "只支持STK类型的地形分析!",
23016
+ type: "warning"
23017
+ });
23018
+ }
22950
23019
  } else {
22951
- throw "请加载地形后分析!";
23020
+ (0,message/* default */.Z)({
23021
+ message: "请加载地形后分析!",
23022
+ type: "warning"
23023
+ });
22952
23024
  }
22953
23025
  } //改变分析类型
22954
23026
 
@@ -23008,26 +23080,6 @@ class TerrainOperationViewModel {
23008
23080
  }
23009
23081
 
23010
23082
  }
23011
-
23012
- /***/ }),
23013
-
23014
- /***/ 9560:
23015
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
23016
-
23017
-
23018
- // EXPORTS
23019
- __webpack_require__.d(__webpack_exports__, {
23020
- "default": function() { return /* reexport */ TerrainOperation; }
23021
- });
23022
-
23023
- // UNUSED EXPORTS: TerrainOperationViewModel
23024
-
23025
- // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
23026
- var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
23027
- // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
23028
- var gis_utils_ = __webpack_require__(826);
23029
- // EXTERNAL MODULE: ./src/webgl/terrainoperation/TerrainOperationViewModel.js
23030
- var TerrainOperationViewModel = __webpack_require__(5925);
23031
23083
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
23032
23084
  var client_icons_vue_ = __webpack_require__(348);
23033
23085
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
@@ -23142,7 +23194,7 @@ const __default__ = {
23142
23194
  }
23143
23195
 
23144
23196
  language.value = scenceView._language;
23145
- viewModel = new TerrainOperationViewModel/* default */.Z(scenceView, {
23197
+ viewModel = new TerrainOperationViewModel(scenceView, {
23146
23198
  terrainStyle: formItem.terrainStyle,
23147
23199
  excavationDepth: formItem.excavationDepth
23148
23200
  });
@@ -25614,36 +25666,36 @@ var baseterraingallery = __webpack_require__(7467);
25614
25666
  var measure = __webpack_require__(919);
25615
25667
  // EXTERNAL MODULE: ./src/webgl/flight/index.js + 3 modules
25616
25668
  var flight = __webpack_require__(224);
25617
- // EXTERNAL MODULE: ./src/webgl/gpuspatialquery/index.js + 4 modules
25618
- var gpuspatialquery = __webpack_require__(8380);
25619
- // EXTERNAL MODULE: ./src/webgl/modelselect/index.js + 3 modules
25620
- var modelselect = __webpack_require__(1134);
25669
+ // EXTERNAL MODULE: ./src/webgl/gpuspatialquery/index.js + 5 modules
25670
+ var gpuspatialquery = __webpack_require__(7719);
25671
+ // EXTERNAL MODULE: ./src/webgl/modelselect/index.js + 4 modules
25672
+ var modelselect = __webpack_require__(9089);
25621
25673
  // EXTERNAL MODULE: ./src/webgl/sightlineanalysis/index.js + 5 modules
25622
25674
  var sightlineanalysis = __webpack_require__(6031);
25623
25675
  // EXTERNAL MODULE: ./src/webgl/viewshedanalysis/index.js + 3 modules
25624
25676
  var viewshedanalysis = __webpack_require__(3063);
25625
- // EXTERNAL MODULE: ./src/webgl/shadowanalysis/index.js + 3 modules
25626
- var shadowanalysis = __webpack_require__(3548);
25677
+ // EXTERNAL MODULE: ./src/webgl/shadowanalysis/index.js + 4 modules
25678
+ var shadowanalysis = __webpack_require__(8449);
25627
25679
  // EXTERNAL MODULE: ./src/webgl/profileanalysis/index.js + 3 modules
25628
25680
  var profileanalysis = __webpack_require__(7501);
25629
- // EXTERNAL MODULE: ./src/webgl/skylineanalysis/index.js + 4 modules
25630
- var skylineanalysis = __webpack_require__(1075);
25631
- // EXTERNAL MODULE: ./src/webgl/terrainoperation/index.js + 3 modules
25632
- var terrainoperation = __webpack_require__(9560);
25633
- // EXTERNAL MODULE: ./src/webgl/excavatefillanalysis/index.js + 3 modules
25634
- var excavatefillanalysis = __webpack_require__(6722);
25681
+ // EXTERNAL MODULE: ./src/webgl/skylineanalysis/index.js + 5 modules
25682
+ var skylineanalysis = __webpack_require__(421);
25683
+ // EXTERNAL MODULE: ./src/webgl/terrainoperation/index.js + 4 modules
25684
+ var terrainoperation = __webpack_require__(2686);
25685
+ // EXTERNAL MODULE: ./src/webgl/excavatefillanalysis/index.js + 4 modules
25686
+ var excavatefillanalysis = __webpack_require__(7739);
25635
25687
  // EXTERNAL MODULE: ./src/webgl/floodanalysis/index.js + 4 modules
25636
25688
  var floodanalysis = __webpack_require__(3527);
25637
25689
  // EXTERNAL MODULE: ./src/webgl/slopeanalysis/index.js + 4 modules
25638
25690
  var slopeanalysis = __webpack_require__(7668);
25639
- // EXTERNAL MODULE: ./src/webgl/aspectanalysis/index.js + 3 modules
25640
- var aspectanalysis = __webpack_require__(468);
25691
+ // EXTERNAL MODULE: ./src/webgl/aspectanalysis/index.js + 4 modules
25692
+ var aspectanalysis = __webpack_require__(6776);
25641
25693
  // EXTERNAL MODULE: ./src/webgl/isolineanalysis/index.js + 4 modules
25642
25694
  var isolineanalysis = __webpack_require__(9783);
25643
- // EXTERNAL MODULE: ./src/webgl/boxclip/index.js + 3 modules
25644
- var boxclip = __webpack_require__(9985);
25645
- // EXTERNAL MODULE: ./src/webgl/planeclip/index.js + 3 modules
25646
- var planeclip = __webpack_require__(5265);
25695
+ // EXTERNAL MODULE: ./src/webgl/boxclip/index.js + 4 modules
25696
+ var boxclip = __webpack_require__(4510);
25697
+ // EXTERNAL MODULE: ./src/webgl/planeclip/index.js + 4 modules
25698
+ var planeclip = __webpack_require__(9736);
25647
25699
  // EXTERNAL MODULE: ./src/webgl/adddata/index.js + 4 modules
25648
25700
  var adddata = __webpack_require__(696);
25649
25701
  // EXTERNAL MODULE: ./src/webgl/particleeffect/index.js + 4 modules