@kq_npm/client3d_webgl_vue 3.2.6-beta → 3.2.8-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(() => {
@@ -3833,29 +3834,6 @@ BoxClip.install = (Vue, opts) => {
3833
3834
 
3834
3835
 
3835
3836
 
3836
- /***/ }),
3837
-
3838
- /***/ 9821:
3839
- /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
3840
-
3841
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3842
- /* harmony export */ "Z": function() { return /* binding */ ClientPrintViewModel; }
3843
- /* harmony export */ });
3844
- /**
3845
- * @class ClientPrintViewModel
3846
- * @classdesc 客户端打印
3847
- */
3848
- class ClientPrintViewModel {
3849
- constructor() {}
3850
- /**
3851
- * 销毁执行方法。
3852
- */
3853
-
3854
-
3855
- destroy() {}
3856
-
3857
- }
3858
-
3859
3837
  /***/ }),
3860
3838
 
3861
3839
  /***/ 2935:
@@ -3867,21 +3845,15 @@ __webpack_require__.d(__webpack_exports__, {
3867
3845
  "default": function() { return /* reexport */ ClientPrint; }
3868
3846
  });
3869
3847
 
3870
- // UNUSED EXPORTS: ClientPrint3dViewModel
3871
-
3872
3848
  // EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
3873
3849
  var es_array_includes_js_ = __webpack_require__(3600);
3874
3850
  // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
3875
3851
  var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
3876
- // EXTERNAL MODULE: ./src/webgl/clientPrint/ClientPrintViewModel.js
3877
- var ClientPrintViewModel = __webpack_require__(9821);
3878
3852
  ;// CONCATENATED MODULE: external "html2canvas"
3879
3853
  var external_html2canvas_namespaceObject = require("html2canvas");
3880
3854
  var external_html2canvas_default = /*#__PURE__*/__webpack_require__.n(external_html2canvas_namespaceObject);
3881
3855
  // EXTERNAL MODULE: external "@element-plus/icons-vue"
3882
3856
  var icons_vue_ = __webpack_require__(8422);
3883
- // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
3884
- var const_image_ = __webpack_require__(9702);
3885
3857
  ;// CONCATENATED MODULE: external "vue3-print-nb"
3886
3858
  var external_vue3_print_nb_namespaceObject = require("vue3-print-nb");
3887
3859
  var external_vue3_print_nb_default = /*#__PURE__*/__webpack_require__.n(external_vue3_print_nb_namespaceObject);
@@ -4026,28 +3998,15 @@ const _hoisted_41 = {
4026
3998
  class: "baseImage"
4027
3999
  };
4028
4000
  const _hoisted_42 = ["src"];
4029
-
4030
- const _hoisted_43 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
4031
- style: {
4032
- "width": "100%",
4033
- "height": "100%",
4034
- "position": "absolute",
4035
- "index": "1000"
4036
- }
4037
- }, null, -1
4038
- /* HOISTED */
4039
- );
4040
-
4041
- const _hoisted_44 = ["src"];
4042
- const _hoisted_45 = ["id"];
4043
- const _hoisted_46 = ["onClick"];
4044
- const _hoisted_47 = {
4001
+ const _hoisted_43 = ["id"];
4002
+ const _hoisted_44 = ["onClick"];
4003
+ const _hoisted_45 = {
4045
4004
  class: "kq3d-client-print-infomationContainer"
4046
4005
  };
4047
- const _hoisted_48 = {
4006
+ const _hoisted_46 = {
4048
4007
  class: "kq3d-client-print-systemTime"
4049
4008
  };
4050
- const _hoisted_49 = {
4009
+ const _hoisted_47 = {
4051
4010
  class: "kq3d-client-print-companyName"
4052
4011
  };
4053
4012
 
@@ -4055,8 +4014,6 @@ const _hoisted_49 = {
4055
4014
 
4056
4015
 
4057
4016
 
4058
-
4059
-
4060
4017
  const __default__ = {
4061
4018
  name: "Kq3dClientPrint"
4062
4019
  };
@@ -4098,6 +4055,10 @@ const __default__ = {
4098
4055
  scenceInfo: Object,
4099
4056
  // 默认显示的图层组名称
4100
4057
  defaultShowLayerNames: Array,
4058
+
4059
+ /**
4060
+ * showToolButtons - 是否显示工具栏按钮
4061
+ */
4101
4062
  showToolButtons: {
4102
4063
  type: Boolean,
4103
4064
  default: true
@@ -4117,8 +4078,7 @@ const __default__ = {
4117
4078
  setup(__props, {
4118
4079
  expose
4119
4080
  }) {
4120
- const props = __props;
4121
- let viewModel = null; // 标题的数据
4081
+ const props = __props; // 标题的数据
4122
4082
 
4123
4083
  let setTitleDataform = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({
4124
4084
  style: {
@@ -4257,9 +4217,7 @@ const __default__ = {
4257
4217
  let papAnchor = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("纵向"); // 默认
4258
4218
  // 图片格式
4259
4219
 
4260
- let imageType = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("png"); //地图对象
4261
-
4262
- let map2_ref = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); //图例对象
4220
+ let imageType = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("png"); //图例对象
4263
4221
 
4264
4222
  let lengend_ref = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 图例窗口显示与隐藏
4265
4223
 
@@ -4281,7 +4239,8 @@ const __default__ = {
4281
4239
  let systemTime = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(""); // 公司名
4282
4240
 
4283
4241
  let companyName = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
4284
- let printState = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false); // 打印对象
4242
+ let printState = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
4243
+ let printViewer = null; // 打印对象
4285
4244
 
4286
4245
  let printObj = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({
4287
4246
  id: "printMap",
@@ -4304,7 +4263,6 @@ const __default__ = {
4304
4263
 
4305
4264
  global_event_default().setDefaultMapInfo("scencePrint", "cesium", null);
4306
4265
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
4307
- viewModel = new ClientPrintViewModel/* default */.Z();
4308
4266
  setTitleDataform.value.data.title = props.printTitle;
4309
4267
  companyName.value = props.companyName;
4310
4268
  sizelist.value = [];
@@ -4320,6 +4278,7 @@ const __default__ = {
4320
4278
  initControl();
4321
4279
  global_event_default().getWebMapByMapTarget("scencePrint", scenceView => {
4322
4280
  if (scenceView && scenceView._viewer) {
4281
+ printViewer = scenceView._viewer;
4323
4282
  cameraToImage = new Cesium.Kq3dCanvasToImage(scenceView._viewer._container, {
4324
4283
  viewer: scenceView._viewer,
4325
4284
  canvas: scenceView._viewer.scene.canvas
@@ -4329,7 +4288,6 @@ const __default__ = {
4329
4288
  });
4330
4289
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
4331
4290
  destroy();
4332
- viewModel = null;
4333
4291
  });
4334
4292
  /**
4335
4293
  * 获取当前时间
@@ -4384,6 +4342,10 @@ const __default__ = {
4384
4342
 
4385
4343
  return yearCNStr + nonthCNStr + dayCNStr;
4386
4344
  }
4345
+
4346
+ function changStatusBar() {
4347
+ if (printViewer) printViewer.statusBar.show = scalesShow.value;
4348
+ }
4387
4349
  /**
4388
4350
  * 显示切换
4389
4351
  * @param {string} type
@@ -4587,7 +4549,6 @@ const __default__ = {
4587
4549
 
4588
4550
  function moveWin(event) {
4589
4551
  event = event || window.event;
4590
- map2_ref.value.getWebMap().map.dragging.disable();
4591
4552
  var x = event.pageX;
4592
4553
  var y = event.pageY;
4593
4554
 
@@ -4919,7 +4880,6 @@ const __default__ = {
4919
4880
  labelValue: ""
4920
4881
  }
4921
4882
  };
4922
- viewModel.destroy();
4923
4883
  } // 抛出方法 外部调用
4924
4884
 
4925
4885
 
@@ -4961,6 +4921,8 @@ const __default__ = {
4961
4921
 
4962
4922
  const _component_kq_legend = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-legend");
4963
4923
 
4924
+ const _component_kq3d_compass = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq3d-compass");
4925
+
4964
4926
  const _component_kq_scence_view = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-scence-view");
4965
4927
 
4966
4928
  const _component_kq_scrollbar = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-scrollbar");
@@ -5098,7 +5060,8 @@ const __default__ = {
5098
5060
  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
5061
  class: "btnStyle",
5100
5062
  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)
5063
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(scalesShow) ? scalesShow.value = $event : scalesShow = $event),
5064
+ onChange: changStatusBar
5102
5065
  }, {
5103
5066
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [_hoisted_9]),
5104
5067
  _: 1
@@ -5893,12 +5856,7 @@ const __default__ = {
5893
5856
  onMouseover: setdragCursor,
5894
5857
  onMousedown: dragTl,
5895
5858
  id: "divcompassDiv"
5896
- }, [_hoisted_43, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("img", {
5897
- class: "kq3d-client-print-compassImgStyle",
5898
- src: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(const_image_.COMMPASS_URL)
5899
- }, null, 8
5900
- /* PROPS */
5901
- , _hoisted_44)], 544
5859
+ }, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq3d_compass)], 544
5902
5860
  /* HYDRATE_EVENTS, NEED_PATCH */
5903
5861
  ), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(compassShow)]]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" 文本标注 "), ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(setLabelData).value, item => {
5904
5862
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)(((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", {
@@ -5934,9 +5892,9 @@ const __default__ = {
5934
5892
 
5935
5893
  })], 8
5936
5894
  /* PROPS */
5937
- , _hoisted_46)], 40
5895
+ , _hoisted_44)], 40
5938
5896
  /* PROPS, HYDRATE_EVENTS */
5939
- , _hoisted_45)), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, item.data.isShow]]);
5897
+ , _hoisted_43)), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, item.data.isShow]]);
5940
5898
  }), 128
5941
5899
  /* KEYED_FRAGMENT */
5942
5900
  ))]),
@@ -5947,9 +5905,9 @@ const __default__ = {
5947
5905
  /* PROPS */
5948
5906
  , ["options", "service", "scenceInfo", "showToolButtons", "defaultShowLayerNames", "toolButtonsPosition", "showLogo"])], 512
5949
5907
  /* NEED_PATCH */
5950
- ), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_47, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_48, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, "日期:" + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(systemTime)), 1
5908
+ ), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_45, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_46, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, "日期:" + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(systemTime)), 1
5951
5909
  /* TEXT */
5952
- )]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_49, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, "公司:" + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(companyName)), 1
5910
+ )]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_47, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", null, "公司:" + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(companyName)), 1
5953
5911
  /* TEXT */
5954
5912
  )])])], 512
5955
5913
  /* NEED_PATCH */
@@ -5982,7 +5940,6 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
5982
5940
 
5983
5941
 
5984
5942
 
5985
-
5986
5943
  ClientPrint.install = (Vue, opts) => {
5987
5944
  init_js_default()(Vue, opts);
5988
5945
  Vue.component(ClientPrint.name, ClientPrint);
@@ -6629,28 +6586,42 @@ Compass.install = (Vue, opts) => {
6629
6586
 
6630
6587
  /***/ }),
6631
6588
 
6632
- /***/ 5183:
6589
+ /***/ 7739:
6633
6590
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6634
6591
 
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);
6592
+
6593
+ // EXPORTS
6594
+ __webpack_require__.d(__webpack_exports__, {
6595
+ "default": function() { return /* reexport */ ExcavateFillAnalysis; }
6596
+ });
6597
+
6598
+ // UNUSED EXPORTS: ExcavateFillAnalysisViewModel
6599
+
6600
+ // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
6601
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
6602
+ // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
6603
+ var gis_utils_ = __webpack_require__(826);
6604
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
6605
+ var defineProperty = __webpack_require__(8270);
6606
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
6607
+ var message = __webpack_require__(909);
6608
+ ;// CONCATENATED MODULE: ./src/webgl/excavatefillanalysis/ExcavateFillAnalysisViewModel.js
6639
6609
 
6640
6610
  //填挖方分析逻辑类
6611
+
6641
6612
  class ExcavateFillAnalysisViewModel {
6642
6613
  //填挖方分析三维对象
6643
6614
  //绘制管理对象
6644
6615
  //填挖方分析存储参数对象
6645
6616
  //绘制完成监听事件
6646
6617
  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);
6618
+ (0,defineProperty/* default */.Z)(this, "_excavateFillAnalysis", null);
6648
6619
 
6649
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_drawManager", null);
6620
+ (0,defineProperty/* default */.Z)(this, "_drawManager", null);
6650
6621
 
6651
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_options", null);
6622
+ (0,defineProperty/* default */.Z)(this, "_options", null);
6652
6623
 
6653
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_removeEventListener", null);
6624
+ (0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
6654
6625
 
6655
6626
  options.viewer = scenceView._viewer;
6656
6627
  options.viewer.scene.globe.depthTestAgainstTerrain = true;
@@ -6698,11 +6669,21 @@ class ExcavateFillAnalysisViewModel {
6698
6669
  start() {
6699
6670
  // 判断是否添加了地形
6700
6671
  if (this._options.viewer.terrainProvider.availability) {
6701
- this._drawManager.startDraw("polygon", {
6702
- clampToGround: true
6703
- });
6672
+ if (this._options.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
6673
+ this._drawManager.startDraw("polygon", {
6674
+ clampToGround: true
6675
+ });
6676
+ } else {
6677
+ (0,message/* default */.Z)({
6678
+ message: "只支持STK类型的地形分析!",
6679
+ type: "warning"
6680
+ });
6681
+ }
6704
6682
  } else {
6705
- throw "请加载地形后分析!";
6683
+ (0,message/* default */.Z)({
6684
+ message: "请加载地形后分析!",
6685
+ type: "warning"
6686
+ });
6706
6687
  }
6707
6688
  } //清除全部结果
6708
6689
 
@@ -6751,26 +6732,6 @@ class ExcavateFillAnalysisViewModel {
6751
6732
  }
6752
6733
 
6753
6734
  }
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
6735
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
6775
6736
  var client_icons_vue_ = __webpack_require__(348);
6776
6737
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
@@ -6899,7 +6860,7 @@ const __default__ = {
6899
6860
  cutColor: formItem.excavateColor,
6900
6861
  fillColor: formItem.fillColor
6901
6862
  };
6902
- viewModel = new ExcavateFillAnalysisViewModel/* default */.Z(scenceView, options, function () {
6863
+ viewModel = new ExcavateFillAnalysisViewModel(scenceView, options, function () {
6903
6864
  setTimeout(() => {
6904
6865
  showResult.value = true;
6905
6866
  const cutVolumn = viewModel._excavateFillAnalysis.cutVolumn;
@@ -8774,10 +8735,13 @@ var gis_utils_ = __webpack_require__(826);
8774
8735
  var defineProperty = __webpack_require__(8270);
8775
8736
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
8776
8737
  var const_image_ = __webpack_require__(9702);
8738
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
8739
+ var message = __webpack_require__(909);
8777
8740
  ;// CONCATENATED MODULE: ./src/webgl/floodanalysis/FloodAnalysisViewModel.js
8778
8741
 
8779
8742
  //地形淹没分析逻辑类
8780
8743
 
8744
+
8781
8745
  class FloodAnalysisViewModel {
8782
8746
  //地形淹没三维对象
8783
8747
  //模型淹没三维对象
@@ -8880,11 +8844,21 @@ class FloodAnalysisViewModel {
8880
8844
  // 判断是否添加了地形
8881
8845
  if (this._mode === 0) {
8882
8846
  if (this._floodModelAnalysis.viewer.terrainProvider.availability) {
8883
- this.clear();
8847
+ if (this._floodModelAnalysis.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
8848
+ this.clear();
8884
8849
 
8885
- this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
8850
+ this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
8851
+ } else {
8852
+ (0,message/* default */.Z)({
8853
+ message: "只支持STK类型的地形分析!",
8854
+ type: "warning"
8855
+ });
8856
+ }
8886
8857
  } else {
8887
- throw "请加载地形后分析!";
8858
+ (0,message/* default */.Z)({
8859
+ message: "请加载地形后分析!",
8860
+ type: "warning"
8861
+ });
8888
8862
  }
8889
8863
  } else if (this._mode === 1) {
8890
8864
  var modelFlag = false;
@@ -8902,7 +8876,10 @@ class FloodAnalysisViewModel {
8902
8876
 
8903
8877
  this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
8904
8878
  } else {
8905
- throw "请加载模型后分析!";
8879
+ (0,message/* default */.Z)({
8880
+ message: "请添加模型后分析!",
8881
+ type: "warning"
8882
+ });
8906
8883
  }
8907
8884
  }
8908
8885
  } //清除全部结果
@@ -9705,15 +9682,34 @@ FloodAnalysis.install = (Vue, opts) => {
9705
9682
 
9706
9683
  /***/ }),
9707
9684
 
9708
- /***/ 7775:
9685
+ /***/ 7719:
9709
9686
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
9710
9687
 
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);
9688
+
9689
+ // EXPORTS
9690
+ __webpack_require__.d(__webpack_exports__, {
9691
+ "default": function() { return /* reexport */ GPUSpatialQuery; }
9692
+ });
9693
+
9694
+ // UNUSED EXPORTS: GPUSpatialQueryViewModel
9695
+
9696
+ // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
9697
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
9698
+ // EXTERNAL MODULE: external "@element-plus/icons-vue"
9699
+ var icons_vue_ = __webpack_require__(8422);
9700
+ // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
9701
+ var gis_utils_ = __webpack_require__(826);
9702
+ ;// CONCATENATED MODULE: external "xe-utils"
9703
+ var external_xe_utils_namespaceObject = require("xe-utils");
9704
+ var external_xe_utils_default = /*#__PURE__*/__webpack_require__.n(external_xe_utils_namespaceObject);
9705
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
9706
+ var defineProperty = __webpack_require__(8270);
9707
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
9708
+ var message = __webpack_require__(909);
9709
+ ;// CONCATENATED MODULE: ./src/webgl/gpuspatialquery/GPUSpatialQueryViewModel.js
9715
9710
 
9716
9711
  //GPU空间查询逻辑类
9712
+
9717
9713
  class GPUSpatialQueryViewModel {
9718
9714
  //GPU查询三维对象
9719
9715
  //绘制管理对象
@@ -9723,19 +9719,19 @@ class GPUSpatialQueryViewModel {
9723
9719
  //绘制后的查询事件
9724
9720
  //绘制完成监听事件
9725
9721
  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);
9722
+ (0,defineProperty/* default */.Z)(this, "_gpuSpatialQuery", null);
9727
9723
 
9728
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_drawManager", null);
9724
+ (0,defineProperty/* default */.Z)(this, "_drawManager", null);
9729
9725
 
9730
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_geometry", null);
9726
+ (0,defineProperty/* default */.Z)(this, "_geometry", null);
9731
9727
 
9732
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_center", null);
9728
+ (0,defineProperty/* default */.Z)(this, "_center", null);
9733
9729
 
9734
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_options", null);
9730
+ (0,defineProperty/* default */.Z)(this, "_options", null);
9735
9731
 
9736
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "finishedQuery", null);
9732
+ (0,defineProperty/* default */.Z)(this, "finishedQuery", null);
9737
9733
 
9738
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_removeEventListener", null);
9734
+ (0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
9739
9735
 
9740
9736
  options.viewer = scenceView._viewer;
9741
9737
  options.viewer.scene.globe.depthTestAgainstTerrain = true;
@@ -9823,7 +9819,10 @@ class GPUSpatialQueryViewModel {
9823
9819
  image: null
9824
9820
  });
9825
9821
  } else {
9826
- throw "请添加模型后分析!";
9822
+ (0,message/* default */.Z)({
9823
+ message: "请添加模型后分析!",
9824
+ type: "warning"
9825
+ });
9827
9826
  }
9828
9827
  } // 开始查询
9829
9828
 
@@ -10003,31 +10002,6 @@ class GPUSpatialQueryViewModel {
10003
10002
  }
10004
10003
 
10005
10004
  }
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
10005
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
10032
10006
  var util_ = __webpack_require__(9519);
10033
10007
  ;// 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 +10140,7 @@ const __default__ = {
10166
10140
  gis_utils_.utils.getWebMap(null, scenceView => {
10167
10141
  if (scenceView) {
10168
10142
  language.value = scenceView._language;
10169
- viewModel = new GPUSpatialQueryViewModel/* default */.Z(scenceView, {
10143
+ viewModel = new GPUSpatialQueryViewModel(scenceView, {
10170
10144
  volumeType: formItem.volumeType,
10171
10145
  positionMode: formItem.positionMode,
10172
10146
  scale: formItem.scale,
@@ -10900,10 +10874,13 @@ var gis_utils_ = __webpack_require__(826);
10900
10874
  var defineProperty = __webpack_require__(8270);
10901
10875
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
10902
10876
  var const_image_ = __webpack_require__(9702);
10877
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
10878
+ var message = __webpack_require__(909);
10903
10879
  ;// CONCATENATED MODULE: ./src/webgl/isolineanalysis/IsolineAnalysisViewModel.js
10904
10880
 
10905
10881
  //等值线分析逻辑类
10906
10882
 
10883
+
10907
10884
  class IsolineAnalysisViewModel {
10908
10885
  //等值线分析三维对象
10909
10886
  //等高面高度区间
@@ -11120,7 +11097,10 @@ class IsolineAnalysisViewModel {
11120
11097
  clampToGround: true
11121
11098
  });
11122
11099
  } else {
11123
- throw "请加载地形后分析!";
11100
+ (0,message/* default */.Z)({
11101
+ message: "请添加模型后分析!",
11102
+ type: "warning"
11103
+ });
11124
11104
  }
11125
11105
  } //清除全部结果
11126
11106
 
@@ -14344,15 +14324,29 @@ Measure.install = (Vue, opts) => {
14344
14324
 
14345
14325
  /***/ }),
14346
14326
 
14347
- /***/ 5394:
14327
+ /***/ 9089:
14348
14328
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
14349
14329
 
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);
14330
+
14331
+ // EXPORTS
14332
+ __webpack_require__.d(__webpack_exports__, {
14333
+ "default": function() { return /* reexport */ ModelSelect; }
14334
+ });
14335
+
14336
+ // UNUSED EXPORTS: ModelSelectViewModel
14337
+
14338
+ // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
14339
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
14340
+ // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
14341
+ var gis_utils_ = __webpack_require__(826);
14342
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
14343
+ var defineProperty = __webpack_require__(8270);
14344
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
14345
+ var message = __webpack_require__(909);
14346
+ ;// CONCATENATED MODULE: ./src/webgl/modelselect/ModelSelectViewModel.js
14354
14347
 
14355
14348
  //模型拾取逻辑类
14349
+
14356
14350
  class ModelSelectViewModel {
14357
14351
  //三维viewer对象
14358
14352
  //屏幕空间事件处理程序三维对象
@@ -14360,15 +14354,15 @@ class ModelSelectViewModel {
14360
14354
  //高亮三维对象
14361
14355
  //高亮颜色
14362
14356
  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);
14357
+ (0,defineProperty/* default */.Z)(this, "_viewer", null);
14364
14358
 
14365
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_handler", null);
14359
+ (0,defineProperty/* default */.Z)(this, "_handler", null);
14366
14360
 
14367
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_isPick", false);
14361
+ (0,defineProperty/* default */.Z)(this, "_isPick", false);
14368
14362
 
14369
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_highlight", null);
14363
+ (0,defineProperty/* default */.Z)(this, "_highlight", null);
14370
14364
 
14371
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_highlightColor", "#FF0000");
14365
+ (0,defineProperty/* default */.Z)(this, "_highlightColor", "#FF0000");
14372
14366
 
14373
14367
  this._viewer = scenceView._viewer;
14374
14368
  this._drawManager = scenceView._drawManager;
@@ -14439,7 +14433,10 @@ class ModelSelectViewModel {
14439
14433
  this.setCursor("crosshair");
14440
14434
  this._isPick = true;
14441
14435
  } else {
14442
- throw "请添加模型后拾取!";
14436
+ (0,message/* default */.Z)({
14437
+ message: "请添加模型后拾取!",
14438
+ type: "warning"
14439
+ });
14443
14440
  }
14444
14441
  }
14445
14442
 
@@ -14467,26 +14464,6 @@ class ModelSelectViewModel {
14467
14464
  }
14468
14465
 
14469
14466
  }
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
14467
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
14491
14468
  var client_icons_vue_ = __webpack_require__(348);
14492
14469
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
@@ -14603,7 +14580,7 @@ const __default__ = {
14603
14580
  gis_utils_.utils.getWebMap(null, scenceView => {
14604
14581
  if (scenceView) {
14605
14582
  language.value = scenceView._language;
14606
- viewModel = new ModelSelectViewModel/* default */.Z(scenceView, pickCallFunc);
14583
+ viewModel = new ModelSelectViewModel(scenceView, pickCallFunc);
14607
14584
  viewModel._highlightColor = props.highlightColor;
14608
14585
  }
14609
14586
  });
@@ -15898,15 +15875,29 @@ ParticleEffect.install = (Vue, opts) => {
15898
15875
 
15899
15876
  /***/ }),
15900
15877
 
15901
- /***/ 5673:
15878
+ /***/ 9736:
15902
15879
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
15903
15880
 
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);
15881
+
15882
+ // EXPORTS
15883
+ __webpack_require__.d(__webpack_exports__, {
15884
+ "default": function() { return /* reexport */ PlaneClip; }
15885
+ });
15886
+
15887
+ // UNUSED EXPORTS: PlaneClipViewModel
15888
+
15889
+ // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
15890
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
15891
+ // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
15892
+ var gis_utils_ = __webpack_require__(826);
15893
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
15894
+ var defineProperty = __webpack_require__(8270);
15895
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
15896
+ var message = __webpack_require__(909);
15897
+ ;// CONCATENATED MODULE: ./src/webgl/planeclip/PlaneClipViewModel.js
15908
15898
 
15909
15899
  //平面裁剪逻辑类
15900
+
15910
15901
  class PlaneClipViewModel {
15911
15902
  //三维viewer对象
15912
15903
  //平面裁剪存储参数对象
@@ -15914,11 +15905,11 @@ class PlaneClipViewModel {
15914
15905
  //绘制管理对象
15915
15906
  //绘制完成事件监听
15916
15907
  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);
15908
+ (0,defineProperty/* default */.Z)(this, "_viewer", null);
15918
15909
 
15919
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_options", {});
15910
+ (0,defineProperty/* default */.Z)(this, "_options", {});
15920
15911
 
15921
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_defaultOptions", {
15912
+ (0,defineProperty/* default */.Z)(this, "_defaultOptions", {
15922
15913
  //默认参数对象
15923
15914
  x: 0,
15924
15915
  y: 0,
@@ -15943,11 +15934,11 @@ class PlaneClipViewModel {
15943
15934
  paddingStrokeSpace: 7.0
15944
15935
  });
15945
15936
 
15946
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_planeclipAnalysis", null);
15937
+ (0,defineProperty/* default */.Z)(this, "_planeclipAnalysis", null);
15947
15938
 
15948
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_drawManager", null);
15939
+ (0,defineProperty/* default */.Z)(this, "_drawManager", null);
15949
15940
 
15950
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_removeEventListener", null);
15941
+ (0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
15951
15942
 
15952
15943
  this._options = Object.assign({}, options, this._defaultOptions);
15953
15944
  this._viewer = scenceView._viewer; // this._viewer.enabledFXAA = true;
@@ -16009,7 +16000,10 @@ class PlaneClipViewModel {
16009
16000
  image: null
16010
16001
  });
16011
16002
  } else {
16012
- throw "请添加模型后裁剪!";
16003
+ (0,message/* default */.Z)({
16004
+ message: "请添加模型后裁剪!",
16005
+ type: "warning"
16006
+ });
16013
16007
  }
16014
16008
  } //清除全部
16015
16009
 
@@ -16080,26 +16074,6 @@ class PlaneClipViewModel {
16080
16074
  }
16081
16075
 
16082
16076
  }
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
16077
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
16104
16078
  var client_icons_vue_ = __webpack_require__(348);
16105
16079
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
@@ -16220,7 +16194,7 @@ const __default__ = {
16220
16194
  boxEnable: formItem.boxEnable,
16221
16195
  distance: formItem.clipDistance
16222
16196
  };
16223
- viewModel = new PlaneClipViewModel/* default */.Z(scenceView, options);
16197
+ viewModel = new PlaneClipViewModel(scenceView, options);
16224
16198
  }
16225
16199
  });
16226
16200
  setTimeout(() => {
@@ -18871,21 +18845,35 @@ Screenshot.install = (Vue, opts) => {
18871
18845
 
18872
18846
  /***/ }),
18873
18847
 
18874
- /***/ 4167:
18848
+ /***/ 8449:
18875
18849
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
18876
18850
 
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);
18851
+
18852
+ // EXPORTS
18853
+ __webpack_require__.d(__webpack_exports__, {
18854
+ "default": function() { return /* reexport */ ShadowAnalysis; }
18855
+ });
18856
+
18857
+ // UNUSED EXPORTS: ShadowAnalysisViewModel
18858
+
18859
+ // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
18860
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
18861
+ // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
18862
+ var gis_utils_ = __webpack_require__(826);
18863
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
18864
+ var defineProperty = __webpack_require__(8270);
18865
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
18866
+ var message = __webpack_require__(909);
18867
+ ;// CONCATENATED MODULE: ./src/webgl/shadowanalysis/ShadowAnalysisViewModel.js
18881
18868
 
18882
18869
  // 分析逻辑类
18870
+
18883
18871
  class ShadowAnalysisViewModel {
18884
18872
  //阴影分析三维对象
18885
18873
  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);
18874
+ (0,defineProperty/* default */.Z)(this, "_shadowAnalysis", null);
18887
18875
 
18888
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_globaOptions", {
18876
+ (0,defineProperty/* default */.Z)(this, "_globaOptions", {
18889
18877
  //全局参数
18890
18878
  viewer: null,
18891
18879
  _drawManager: null
@@ -18962,7 +18950,10 @@ class ShadowAnalysisViewModel {
18962
18950
  clampToGround: true
18963
18951
  });
18964
18952
  } else {
18965
- throw "请添加模型后分析!";
18953
+ (0,message/* default */.Z)({
18954
+ message: "请添加模型后分析!",
18955
+ type: "warning"
18956
+ });
18966
18957
  }
18967
18958
  } // 阴影分析
18968
18959
 
@@ -19106,26 +19097,6 @@ class ShadowAnalysisViewModel {
19106
19097
  }
19107
19098
 
19108
19099
  }
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
19100
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
19130
19101
  var const_image_ = __webpack_require__(9702);
19131
19102
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
@@ -19316,7 +19287,7 @@ const __default__ = {
19316
19287
  gis_utils_.utils.getWebMap(null, scenceView => {
19317
19288
  if (scenceView) {
19318
19289
  language.value = scenceView._language;
19319
- viewModel = new ShadowAnalysisViewModel/* default */.Z(scenceView, {
19290
+ viewModel = new ShadowAnalysisViewModel(scenceView, {
19320
19291
  showVoxel: formItem.showBuilding,
19321
19292
  // 显示体素
19322
19293
  baseHeight: formItem.baseHeight,
@@ -20696,15 +20667,29 @@ SightlineAnalysis.install = (Vue, opts) => {
20696
20667
 
20697
20668
  /***/ }),
20698
20669
 
20699
- /***/ 3084:
20670
+ /***/ 421:
20700
20671
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
20701
20672
 
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);
20673
+
20674
+ // EXPORTS
20675
+ __webpack_require__.d(__webpack_exports__, {
20676
+ "default": function() { return /* reexport */ SkylineAnalysis; }
20677
+ });
20678
+
20679
+ // UNUSED EXPORTS: SkylineAnalysisViewModel
20680
+
20681
+ // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
20682
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
20683
+ // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
20684
+ var gis_utils_ = __webpack_require__(826);
20685
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
20686
+ var defineProperty = __webpack_require__(8270);
20687
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
20688
+ var message = __webpack_require__(909);
20689
+ ;// CONCATENATED MODULE: ./src/webgl/skylineanalysis/SkylineAnalysisViewModel.js
20706
20690
 
20707
20691
  //天际线分析逻辑类
20692
+
20708
20693
  class SkylineAnalysisViewModel {
20709
20694
  /**
20710
20695
  * 天际线分析逻辑类
@@ -20721,15 +20706,15 @@ class SkylineAnalysisViewModel {
20721
20706
  * @param {*} option 天际线分析参数对象
20722
20707
  */
20723
20708
  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);
20709
+ (0,defineProperty/* default */.Z)(this, "_skylineAnalysis", null);
20725
20710
 
20726
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_skylineAnalysisChart", null);
20711
+ (0,defineProperty/* default */.Z)(this, "_skylineAnalysisChart", null);
20727
20712
 
20728
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_skylineAnalysisChartTitle", "");
20713
+ (0,defineProperty/* default */.Z)(this, "_skylineAnalysisChartTitle", "");
20729
20714
 
20730
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_options", null);
20715
+ (0,defineProperty/* default */.Z)(this, "_options", null);
20731
20716
 
20732
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_showLimitHeightBody", null);
20717
+ (0,defineProperty/* default */.Z)(this, "_showLimitHeightBody", null);
20733
20718
 
20734
20719
  viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
20735
20720
 
@@ -20783,7 +20768,10 @@ class SkylineAnalysisViewModel {
20783
20768
 
20784
20769
  this.setSkyline2D();
20785
20770
  } else {
20786
- throw "请添加模型后提取!";
20771
+ (0,message/* default */.Z)({
20772
+ message: "请添加模型后提取!",
20773
+ type: "warning"
20774
+ });
20787
20775
  }
20788
20776
  }
20789
20777
  /**
@@ -20815,7 +20803,10 @@ class SkylineAnalysisViewModel {
20815
20803
 
20816
20804
  this._skylineAnalysis.viewer.camera.moveBackward(1);
20817
20805
  } else {
20818
- throw "请添加模型后绘制!";
20806
+ (0,message/* default */.Z)({
20807
+ message: "请添加模型后提取!",
20808
+ type: "warning"
20809
+ });
20819
20810
  }
20820
20811
  }
20821
20812
  /**
@@ -20971,26 +20962,6 @@ class SkylineAnalysisViewModel {
20971
20962
  }
20972
20963
 
20973
20964
  }
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
20965
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
20995
20966
  var client_icons_vue_ = __webpack_require__(348);
20996
20967
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
@@ -21114,7 +21085,7 @@ const __default__ = {
21114
21085
  gis_utils_.utils.getWebMap(null, scenceView => {
21115
21086
  if (scenceView) {
21116
21087
  language.value = scenceView._language;
21117
- viewModel = new SkylineAnalysisViewModel/* default */.Z(scenceView._viewer, {
21088
+ viewModel = new SkylineAnalysisViewModel(scenceView._viewer, {
21118
21089
  skylineColor: formItem.skylineColor || "#E6A23C",
21119
21090
  skylineRadius: formItem.skylineRadius || 1000,
21120
21091
  limitHeightBodyColor: formItem.limitHeightBodyColor || "#67C23A",
@@ -21552,10 +21523,13 @@ var gis_utils_ = __webpack_require__(826);
21552
21523
  var defineProperty = __webpack_require__(8270);
21553
21524
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
21554
21525
  var const_image_ = __webpack_require__(9702);
21526
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
21527
+ var message = __webpack_require__(909);
21555
21528
  ;// CONCATENATED MODULE: ./src/webgl/slopeanalysis/SlopeAnalysisViewModel.js
21556
21529
 
21557
21530
  // 分析逻辑类
21558
21531
 
21532
+
21559
21533
  class SlopeAnalysisViewModel {
21560
21534
  // 坡度坡向三维对象
21561
21535
  constructor(scenceView, viewModel) {
@@ -21677,26 +21651,36 @@ class SlopeAnalysisViewModel {
21677
21651
  start() {
21678
21652
  // 判断是否添加了地形
21679
21653
  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
21654
+ if (this._globaOptions.viewModel.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
21655
+ if (this._globaOptions.viewModel.fillStyle === "slopeFilter") {
21656
+ // 坡度过滤不需要进行绘制
21657
+ this._slopeAnalysis = new Cesium.Kq3dSlope({
21658
+ viewer: this._globaOptions.viewer,
21659
+ positions: this._defaultPositions,
21660
+ isFilter: true,
21661
+ minSlope: this._globaOptions.viewModel.minSlope,
21662
+ maxSlope: this._globaOptions.viewModel.maxSlope,
21663
+ color: Cesium.Color.fromCssColorString(this._globaOptions.viewModel.slopeColorText).withAlpha(Number(this._globaOptions.viewModel.slopeColorAlpha))
21695
21664
  });
21665
+ } else {
21666
+ // this.clear();
21667
+ if (this._globaOptions._drawManager) {
21668
+ this._globaOptions._drawManager.startDraw("polygon", {
21669
+ clampToGround: true
21670
+ });
21671
+ }
21696
21672
  }
21673
+ } else {
21674
+ (0,message/* default */.Z)({
21675
+ message: "只支持STK类型的地形分析!",
21676
+ type: "warning"
21677
+ });
21697
21678
  }
21698
21679
  } else {
21699
- throw "请加载地形后分析!";
21680
+ (0,message/* default */.Z)({
21681
+ message: "请加载地形后分析!",
21682
+ type: "warning"
21683
+ });
21700
21684
  }
21701
21685
  } //修改填充样式
21702
21686
 
@@ -22796,15 +22780,29 @@ StatusBar.install = (Vue, opts) => {
22796
22780
 
22797
22781
  /***/ }),
22798
22782
 
22799
- /***/ 5925:
22783
+ /***/ 2686:
22800
22784
  /***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
22801
22785
 
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);
22786
+
22787
+ // EXPORTS
22788
+ __webpack_require__.d(__webpack_exports__, {
22789
+ "default": function() { return /* reexport */ TerrainOperation; }
22790
+ });
22791
+
22792
+ // UNUSED EXPORTS: TerrainOperationViewModel
22793
+
22794
+ // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
22795
+ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(637);
22796
+ // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
22797
+ var gis_utils_ = __webpack_require__(826);
22798
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
22799
+ var defineProperty = __webpack_require__(8270);
22800
+ // EXTERNAL MODULE: ./src/common/_ui/message/index.js + 1 modules
22801
+ var message = __webpack_require__(909);
22802
+ ;// CONCATENATED MODULE: ./src/webgl/terrainoperation/TerrainOperationViewModel.js
22806
22803
 
22807
22804
  //地形淹没分析逻辑类
22805
+
22808
22806
  class TerrainOperationViewModel {
22809
22807
  //地形开挖三维对象
22810
22808
  //地形修改三维对象
@@ -22815,21 +22813,21 @@ class TerrainOperationViewModel {
22815
22813
  //开挖深度
22816
22814
  //绘制完成监听事件
22817
22815
  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);
22816
+ (0,defineProperty/* default */.Z)(this, "_terrainexcavationext", null);
22819
22817
 
22820
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_terrainmodification", null);
22818
+ (0,defineProperty/* default */.Z)(this, "_terrainmodification", null);
22821
22819
 
22822
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_drawManager", null);
22820
+ (0,defineProperty/* default */.Z)(this, "_drawManager", null);
22823
22821
 
22824
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_globaOptions", {});
22822
+ (0,defineProperty/* default */.Z)(this, "_globaOptions", {});
22825
22823
 
22826
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_positions", []);
22824
+ (0,defineProperty/* default */.Z)(this, "_positions", []);
22827
22825
 
22828
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_terrainStyle", null);
22826
+ (0,defineProperty/* default */.Z)(this, "_terrainStyle", null);
22829
22827
 
22830
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_height", 0);
22828
+ (0,defineProperty/* default */.Z)(this, "_height", 0);
22831
22829
 
22832
- (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_removeEventListener", null);
22830
+ (0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
22833
22831
 
22834
22832
  this._globaOptions.viewer = scenceView._viewer;
22835
22833
  this._globaOptions.viewer.scene.logarithmicDepthBuffer = false;
@@ -22942,13 +22940,23 @@ class TerrainOperationViewModel {
22942
22940
  start() {
22943
22941
  // 判断是否添加了地形
22944
22942
  if (this._globaOptions.viewer.terrainProvider.availability) {
22945
- this.clear();
22943
+ if (this._globaOptions.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
22944
+ this.clear();
22946
22945
 
22947
- this._drawManager.startDraw("polygon", {
22948
- clampToGround: true
22949
- });
22946
+ this._drawManager.startDraw("polygon", {
22947
+ clampToGround: true
22948
+ });
22949
+ } else {
22950
+ (0,message/* default */.Z)({
22951
+ message: "只支持STK类型的地形分析!",
22952
+ type: "warning"
22953
+ });
22954
+ }
22950
22955
  } else {
22951
- throw "请加载地形后分析!";
22956
+ (0,message/* default */.Z)({
22957
+ message: "请加载地形后分析!",
22958
+ type: "warning"
22959
+ });
22952
22960
  }
22953
22961
  } //改变分析类型
22954
22962
 
@@ -23008,26 +23016,6 @@ class TerrainOperationViewModel {
23008
23016
  }
23009
23017
 
23010
23018
  }
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
23019
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
23032
23020
  var client_icons_vue_ = __webpack_require__(348);
23033
23021
  // EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
@@ -23142,7 +23130,7 @@ const __default__ = {
23142
23130
  }
23143
23131
 
23144
23132
  language.value = scenceView._language;
23145
- viewModel = new TerrainOperationViewModel/* default */.Z(scenceView, {
23133
+ viewModel = new TerrainOperationViewModel(scenceView, {
23146
23134
  terrainStyle: formItem.terrainStyle,
23147
23135
  excavationDepth: formItem.excavationDepth
23148
23136
  });
@@ -25614,36 +25602,36 @@ var baseterraingallery = __webpack_require__(7467);
25614
25602
  var measure = __webpack_require__(919);
25615
25603
  // EXTERNAL MODULE: ./src/webgl/flight/index.js + 3 modules
25616
25604
  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);
25605
+ // EXTERNAL MODULE: ./src/webgl/gpuspatialquery/index.js + 5 modules
25606
+ var gpuspatialquery = __webpack_require__(7719);
25607
+ // EXTERNAL MODULE: ./src/webgl/modelselect/index.js + 4 modules
25608
+ var modelselect = __webpack_require__(9089);
25621
25609
  // EXTERNAL MODULE: ./src/webgl/sightlineanalysis/index.js + 5 modules
25622
25610
  var sightlineanalysis = __webpack_require__(6031);
25623
25611
  // EXTERNAL MODULE: ./src/webgl/viewshedanalysis/index.js + 3 modules
25624
25612
  var viewshedanalysis = __webpack_require__(3063);
25625
- // EXTERNAL MODULE: ./src/webgl/shadowanalysis/index.js + 3 modules
25626
- var shadowanalysis = __webpack_require__(3548);
25613
+ // EXTERNAL MODULE: ./src/webgl/shadowanalysis/index.js + 4 modules
25614
+ var shadowanalysis = __webpack_require__(8449);
25627
25615
  // EXTERNAL MODULE: ./src/webgl/profileanalysis/index.js + 3 modules
25628
25616
  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);
25617
+ // EXTERNAL MODULE: ./src/webgl/skylineanalysis/index.js + 5 modules
25618
+ var skylineanalysis = __webpack_require__(421);
25619
+ // EXTERNAL MODULE: ./src/webgl/terrainoperation/index.js + 4 modules
25620
+ var terrainoperation = __webpack_require__(2686);
25621
+ // EXTERNAL MODULE: ./src/webgl/excavatefillanalysis/index.js + 4 modules
25622
+ var excavatefillanalysis = __webpack_require__(7739);
25635
25623
  // EXTERNAL MODULE: ./src/webgl/floodanalysis/index.js + 4 modules
25636
25624
  var floodanalysis = __webpack_require__(3527);
25637
25625
  // EXTERNAL MODULE: ./src/webgl/slopeanalysis/index.js + 4 modules
25638
25626
  var slopeanalysis = __webpack_require__(7668);
25639
- // EXTERNAL MODULE: ./src/webgl/aspectanalysis/index.js + 3 modules
25640
- var aspectanalysis = __webpack_require__(468);
25627
+ // EXTERNAL MODULE: ./src/webgl/aspectanalysis/index.js + 4 modules
25628
+ var aspectanalysis = __webpack_require__(6776);
25641
25629
  // EXTERNAL MODULE: ./src/webgl/isolineanalysis/index.js + 4 modules
25642
25630
  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);
25631
+ // EXTERNAL MODULE: ./src/webgl/boxclip/index.js + 4 modules
25632
+ var boxclip = __webpack_require__(4510);
25633
+ // EXTERNAL MODULE: ./src/webgl/planeclip/index.js + 4 modules
25634
+ var planeclip = __webpack_require__(9736);
25647
25635
  // EXTERNAL MODULE: ./src/webgl/adddata/index.js + 4 modules
25648
25636
  var adddata = __webpack_require__(696);
25649
25637
  // EXTERNAL MODULE: ./src/webgl/particleeffect/index.js + 4 modules
@@ -25681,7 +25669,6 @@ var statusbar = __webpack_require__(6466);
25681
25669
 
25682
25670
  // 客户端打印
25683
25671
 
25684
-
25685
25672
  // 在线地形
25686
25673
 
25687
25674