@kq_npm/client3d_webgl_vue 4.0.0-beta → 4.0.2-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,10 +1,100 @@
1
1
  /******/ (function() { // webpackBootstrap
2
- /******/ "use strict";
3
2
  /******/ var __webpack_modules__ = ({
4
3
 
4
+ /***/ 283:
5
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
6
+
7
+ __webpack_require__(271);
8
+
9
+ /*global window, global*/
10
+ var util = __webpack_require__(464);
11
+
12
+ var assert = __webpack_require__(84);
13
+
14
+ function now() {
15
+ return new Date().getTime();
16
+ }
17
+
18
+ var slice = Array.prototype.slice;
19
+ var console;
20
+ var times = {};
21
+
22
+ if (typeof __webpack_require__.g !== "undefined" && __webpack_require__.g.console) {
23
+ console = __webpack_require__.g.console;
24
+ } else if (typeof window !== "undefined" && window.console) {
25
+ console = window.console;
26
+ } else {
27
+ console = {};
28
+ }
29
+
30
+ var functions = [[log, "log"], [info, "info"], [warn, "warn"], [error, "error"], [time, "time"], [timeEnd, "timeEnd"], [trace, "trace"], [dir, "dir"], [consoleAssert, "assert"]];
31
+
32
+ for (var i = 0; i < functions.length; i++) {
33
+ var tuple = functions[i];
34
+ var f = tuple[0];
35
+ var name = tuple[1];
36
+
37
+ if (!console[name]) {
38
+ console[name] = f;
39
+ }
40
+ }
41
+
42
+ module.exports = console;
43
+
44
+ function log() {}
45
+
46
+ function info() {
47
+ console.log.apply(console, arguments);
48
+ }
49
+
50
+ function warn() {
51
+ console.log.apply(console, arguments);
52
+ }
53
+
54
+ function error() {
55
+ console.warn.apply(console, arguments);
56
+ }
57
+
58
+ function time(label) {
59
+ times[label] = now();
60
+ }
61
+
62
+ function timeEnd(label) {
63
+ var time = times[label];
64
+
65
+ if (!time) {
66
+ throw new Error("No such label: " + label);
67
+ }
68
+
69
+ delete times[label];
70
+ var duration = now() - time;
71
+ console.log(label + ": " + duration + "ms");
72
+ }
73
+
74
+ function trace() {
75
+ var err = new Error();
76
+ err.name = "Trace";
77
+ err.message = util.format.apply(null, arguments);
78
+ console.error(err.stack);
79
+ }
80
+
81
+ function dir(object) {
82
+ console.log(util.inspect(object) + "\n");
83
+ }
84
+
85
+ function consoleAssert(expression) {
86
+ if (!expression) {
87
+ var arr = slice.call(arguments, 1);
88
+ assert.ok(false, util.format.apply(null, arr));
89
+ }
90
+ }
91
+
92
+ /***/ }),
93
+
5
94
  /***/ 705:
6
95
  /***/ (function(module) {
7
96
 
97
+ "use strict";
8
98
 
9
99
  /*
10
100
  MIT License http://www.opensource.org/licenses/mit-license.php
@@ -77,6 +167,7 @@ module.exports = function (cssWithMappingToString) {
77
167
  /***/ 868:
78
168
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
79
169
 
170
+ "use strict";
80
171
  /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(705);
81
172
  /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
82
173
  // Imports
@@ -93,6 +184,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".coord{background:rgba(42,42,42,.8);bo
93
184
  /***/ 854:
94
185
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
95
186
 
187
+ "use strict";
96
188
  /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(705);
97
189
  /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
98
190
  // Imports
@@ -109,6 +201,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".cesium-viewer-bottom{right:0px !impor
109
201
  /***/ 379:
110
202
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
111
203
 
204
+ "use strict";
112
205
 
113
206
 
114
207
  var isOldIE = function isOldIE() {
@@ -379,6 +472,30 @@ module.exports = function (list, options) {
379
472
  };
380
473
  };
381
474
 
475
+ /***/ }),
476
+
477
+ /***/ 84:
478
+ /***/ (function(module) {
479
+
480
+ "use strict";
481
+ module.exports = require("assert");
482
+
483
+ /***/ }),
484
+
485
+ /***/ 271:
486
+ /***/ (function(module) {
487
+
488
+ "use strict";
489
+ module.exports = require("core-js/modules/es.error.cause.js");
490
+
491
+ /***/ }),
492
+
493
+ /***/ 464:
494
+ /***/ (function(module) {
495
+
496
+ "use strict";
497
+ module.exports = require("util");
498
+
382
499
  /***/ })
383
500
 
384
501
  /******/ });
@@ -432,6 +549,18 @@ module.exports = function (list, options) {
432
549
  /******/ };
433
550
  /******/ }();
434
551
  /******/
552
+ /******/ /* webpack/runtime/global */
553
+ /******/ !function() {
554
+ /******/ __webpack_require__.g = (function() {
555
+ /******/ if (typeof globalThis === 'object') return globalThis;
556
+ /******/ try {
557
+ /******/ return this || new Function('return this')();
558
+ /******/ } catch (e) {
559
+ /******/ if (typeof window === 'object') return window;
560
+ /******/ }
561
+ /******/ })();
562
+ /******/ }();
563
+ /******/
435
564
  /******/ /* webpack/runtime/hasOwnProperty shorthand */
436
565
  /******/ !function() {
437
566
  /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
@@ -455,8 +584,9 @@ module.exports = function (list, options) {
455
584
  /******/
456
585
  /************************************************************************/
457
586
  var __webpack_exports__ = {};
458
- // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
587
+ // This entry need to be wrapped in an IIFE because it need to be in strict mode.
459
588
  !function() {
589
+ "use strict";
460
590
  // ESM COMPAT FLAG
461
591
  __webpack_require__.r(__webpack_exports__);
462
592
 
@@ -561,12 +691,16 @@ var const_image_namespaceObject = require("@kq_npm/client_common_vue/_utils/cons
561
691
 
562
692
 
563
693
 
694
+
695
+
564
696
  //绘制操作类
565
697
 
566
698
  class DrawManager {
567
699
  // 图层分组
568
700
  // 地理编码绘制点图标点击事件
569
701
  // 地理编码绘制点图层分组
702
+ // 鼠标事件句柄集合
703
+ // 记录标记对象, 标记组件使用
570
704
  // 默认绘制样式提供给绘图组件绑定
571
705
  // 默认绘制样式
572
706
  constructor(viewer, language) {
@@ -582,6 +716,10 @@ class DrawManager {
582
716
 
583
717
  _defineProperty(this, "_pointGroup", []);
584
718
 
719
+ _defineProperty(this, "_mouseHandlers", {});
720
+
721
+ _defineProperty(this, "_labels", {});
722
+
585
723
  _defineProperty(this, "_defaultStyle", {
586
724
  color: "#ff0000",
587
725
  fillColor: "#1E90FF",
@@ -684,7 +822,7 @@ class DrawManager {
684
822
  });
685
823
 
686
824
  this._viewer = viewer;
687
- if (language) this._drawStyle.text.text = language.text;
825
+ this._language = language;
688
826
  this._drawHandler = Cesium.Kq3dPlotHandler; // 创建绘制图形图层
689
827
 
690
828
  this._drawLayer = this._drawHandler.createShapeLayer({
@@ -701,7 +839,18 @@ class DrawManager {
701
839
 
702
840
  this.drawFinishedEvent = this._drawHandler.drawHandler.drawFinished; // 编辑拾取事件
703
841
 
704
- this.editSelectedEvent = this._drawHandler.editHandler.editSelected; // 关闭双击旋转交互
842
+ this.editSelectedEvent = this._drawHandler.editHandler.editSelected; // 编辑完成事件
843
+
844
+ let editFinishedEvent = this._drawHandler.editHandler.editFinished;
845
+ this.editSelectedEvent.addEventListener(shape => {
846
+ if (shape) this.addMouseEvent('move', 'label');
847
+ });
848
+ editFinishedEvent.addEventListener(shape => {
849
+ if (shape) {
850
+ this.removeMouseEvent('move', 'label');
851
+ this._labelUpdateData && this._labelUpdateData();
852
+ }
853
+ }); // 关闭双击旋转交互
705
854
 
706
855
  if (this._viewer.roadingHandler) {
707
856
  this._viewer.roadingHandler.cameraRotatePointer.enableMouseAutoStart = false;
@@ -761,7 +910,10 @@ class DrawManager {
761
910
  return material;
762
911
  }
763
912
 
764
- getImageWithColor(imgUrl, color, width = 32, height = 32) {
913
+ getImageWithColor(imgUrl, color) {
914
+ let width = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 32;
915
+ let height = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 32;
916
+
765
917
  if (color) {
766
918
  var svgStr = window.atob(imgUrl.split(',')[1]);
767
919
  var regex = /#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})/g; // 修改svg颜色
@@ -776,8 +928,16 @@ class DrawManager {
776
928
  } //开始绘制
777
929
 
778
930
 
779
- startDraw(type, options, callback, groupName) {
780
- if (!options) options = {};
931
+ startDraw(type, style, callback, groupName) {
932
+ // 开始绘制之前停止编辑和关闭样式设置框
933
+ if (this._drawHandler.editHandler.shapeObject) {
934
+ this._drawHandler.startEdit(null);
935
+
936
+ this.destroyStylePopup();
937
+ }
938
+
939
+ let options = style ? { ...style
940
+ } : {};
781
941
 
782
942
  if (type === "point") {
783
943
  type = "marker";
@@ -796,10 +956,15 @@ class DrawManager {
796
956
  this._viewer.scene.globe.depthTestAgainstTerrain = true;
797
957
  }
798
958
 
799
- var unionOptions = { ...this._drawStyle[type],
800
- ...options
959
+ var unionOptions = { ...this._drawStyle[type]
801
960
  };
802
961
 
962
+ for (const key in unionOptions) {
963
+ if (Object.hasOwnProperty.call(options, key)) {
964
+ unionOptions[key] = options[key];
965
+ }
966
+ }
967
+
803
968
  if (type === "polyline") {
804
969
  //标记组件使用
805
970
  options.opacity = 1;
@@ -809,7 +974,7 @@ class DrawManager {
809
974
  //标记组件使用
810
975
  options.fontSize = this._drawStyle.text.fontSize;
811
976
  options.fontFamily = this._drawStyle.text.fontFamily;
812
- options.content = this._drawStyle.text.text;
977
+ options.content = options.text;
813
978
  options.is3D = true;
814
979
  }
815
980
 
@@ -836,7 +1001,7 @@ class DrawManager {
836
1001
 
837
1002
  if (shape.type === "text") {
838
1003
  setTimeout(() => {
839
- shape._label.disableDepthTestDistance = Number.POSITIVE_INFINITY;
1004
+ if (shape._label) shape._label.disableDepthTestDistance = Number.POSITIVE_INFINITY;
840
1005
  }, 200);
841
1006
  }
842
1007
 
@@ -970,7 +1135,11 @@ class DrawManager {
970
1135
  } //通过geojson进行绘制,支持定位
971
1136
 
972
1137
 
973
- drawFromGeojson(geojsonData, idCustom = "result", callFun, geojsonStyle, isLocation) {
1138
+ drawFromGeojson(geojsonData) {
1139
+ let idCustom = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "result";
1140
+ let callFun = arguments.length > 2 ? arguments[2] : undefined;
1141
+ let geojsonStyle = arguments.length > 3 ? arguments[3] : undefined;
1142
+ let isLocation = arguments.length > 4 ? arguments[4] : undefined;
974
1143
  if (!geojsonStyle) geojsonStyle = {};
975
1144
  let style = JSON.parse(JSON.stringify(this._geojsonStyle));
976
1145
 
@@ -1198,26 +1367,40 @@ class DrawManager {
1198
1367
  let type = primitive._geoType;
1199
1368
 
1200
1369
  if (primitive.type === 'text') {
1370
+ if (primitive.fontSize != style.fontSize) {
1371
+ // 修改样式弹窗的 offset
1372
+ if (this._stylePopup && this._stylePopup.show) {
1373
+ this._stylePopup.anchor = [0, -8 - style.fontSize];
1374
+ }
1375
+ }
1376
+
1201
1377
  primitive.fontSize = style.fontSize;
1202
1378
  primitive.fontFamily = style.fontFamily;
1203
1379
  primitive.text = style.content;
1204
1380
  primitive.fillColor = Cesium.Color.fromCssColorString(style.color);
1205
1381
  } else if (type === 'point') {
1382
+ if (primitive.height != style.iconSize[1]) {
1383
+ // 修改样式弹窗的 offset
1384
+ if (this._stylePopup && this._stylePopup.show) {
1385
+ this._stylePopup.anchor = [0, -8 - style.iconSize[1] * primitive._scaleHeight];
1386
+ }
1387
+ }
1388
+
1206
1389
  primitive.image = this.getImageWithColor(style.iconUrl, style.color, style.iconSize[0], style.iconSize[1]);
1207
1390
  primitive.width = style.iconSize[0];
1208
1391
  primitive.height = style.iconSize[1];
1209
1392
  } else if (type === 'polyline' || type === 'polygon') {
1210
- if (style.weight) primitive.width = style.weight;
1211
- if (style.color) primitive.color = Cesium.Color.fromCssColorString(style.color);
1212
- if (style.dashArray) primitive.dashArray = style.dashArray;
1213
- if (style.opacity) primitive.color = primitive.color.withAlpha(style.opacity);
1393
+ if (style.weight != undefined) primitive.width = style.weight;
1394
+ if (style.color != undefined) primitive.color = Cesium.Color.fromCssColorString(style.color);
1395
+ if (style.dashArray != undefined) primitive.dashArray = style.dashArray;
1396
+ if (style.opacity != undefined) primitive.color = primitive.color.withAlpha(style.opacity);
1214
1397
  }
1215
1398
 
1216
1399
  if (type === 'polygon') {
1217
1400
  primitive.fill = style.fill === undefined ? true : style.fill;
1218
1401
 
1219
1402
  if (primitive.fill) {
1220
- let opacity = style.fillOpacity || this._drawStyle.polygon.fillOpacity;
1403
+ let opacity = style.fillOpacity === undefined ? this._drawStyle.polygon.fillOpacity : style.fillOpacity;
1221
1404
  if (style.fillColor) primitive.fillColor = Cesium.Color.fromCssColorString(style.fillColor).withAlpha(opacity);
1222
1405
  }
1223
1406
  } // 存储绘图样式, 标记组件使用
@@ -1311,7 +1494,7 @@ class DrawManager {
1311
1494
  for (let i = 0; i < layerList.length; i++) {
1312
1495
  const layer = layerList[i];
1313
1496
  const name = layer.name || "";
1314
- const info = this.getShapeInfo(layer.layer);
1497
+ const info = this.getShapeInfo(layer.guid);
1315
1498
  items.push({
1316
1499
  name: name,
1317
1500
  info: info,
@@ -1377,14 +1560,14 @@ class DrawManager {
1377
1560
  color: Cesium.Color.fromCssColorString(info.style.color)
1378
1561
  });
1379
1562
  setTimeout(() => {
1380
- shape._label.disableDepthTestDistance = Number.POSITIVE_INFINITY;
1563
+ if (shape._label) shape._label.disableDepthTestDistance = Number.POSITIVE_INFINITY;
1381
1564
  }, 200);
1382
1565
  }
1383
1566
 
1384
1567
  return shape;
1385
1568
  }
1386
1569
 
1387
- createLayerListByJson(items) {
1570
+ createLayerListByJson(items, updateData) {
1388
1571
  let layerList = [];
1389
1572
 
1390
1573
  for (let i = 0; i < items.length; i++) {
@@ -1400,22 +1583,166 @@ class DrawManager {
1400
1583
  layerList.push({
1401
1584
  name: item.name,
1402
1585
  shape: type,
1403
- layer: shape.id
1586
+ guid: shape.id
1404
1587
  });
1405
1588
  }
1406
- }
1589
+ } // 开启编辑和点击弹窗事件
1407
1590
 
1591
+
1592
+ this.enableEdit(true);
1593
+ this.addMouseEvent('click', 'label'); // 标注坐标修改回调事件
1594
+
1595
+ this._labelUpdateData = updateData;
1408
1596
  return layerList;
1409
1597
  }
1410
1598
 
1411
1599
  removeGeometryById(id) {
1412
- this._drawLayer.removeById(id);
1600
+ this._drawLayer.removeById(id); // 删除图形关联的样式设置框
1601
+
1602
+
1603
+ let div = document.getElementById(id);
1604
+
1605
+ if (div) {
1606
+ this.destroyStylePopup();
1607
+ }
1608
+ } // 获取图形位置
1609
+
1610
+
1611
+ getShapePosition(shape) {
1612
+ let position = null;
1613
+
1614
+ if (shape) {
1615
+ if (shape.controlPoints && shape.controlPoints.length === 0) return position;
1616
+
1617
+ if (shape.type === this._drawHandler.ShapeTypes.MARKER.type || shape.type === this._drawHandler.ShapeTypes.TEXT.type) {
1618
+ position = new window.Cesium.Cartesian3(shape._position.x, shape._position.y, shape._position.z);
1619
+ } else if (shape.type === this._drawHandler.ShapeTypes.CIRCLE.type) {
1620
+ position = shape.center;
1621
+ } else if (shape.type === this._drawHandler.ShapeTypes.POLYLINE.type || shape.type === this._drawHandler.ShapeTypes.POLYGON.type) {
1622
+ position = shape.controlPoints[0];
1623
+ } else if (shape.type === this._drawHandler.ShapeTypes.RECTANGLE.type) {
1624
+ position = shape.controlPoints[0];
1625
+ }
1626
+ }
1627
+
1628
+ return position;
1629
+ } // 弹出样式设置框
1630
+
1631
+
1632
+ openShapeStylePopup(id, vNode, render, clickPosition) {
1633
+ let shape = this._drawLayer.getById(id);
1634
+
1635
+ if (!shape) return;
1636
+ if (!clickPosition) this._drawHandler.startEdit(shape);
1637
+ let position = clickPosition || this.getShapePosition(shape);
1638
+
1639
+ if (position) {
1640
+ let title = this._language.editLabel;
1641
+ let offsetY = -8;
1642
+
1643
+ if (!clickPosition) {
1644
+ if (shape.type == 'marker') offsetY -= shape.height * shape._scaleHeight;
1645
+ if (shape.type == 'text') offsetY -= shape.fontSize;
1646
+ }
1647
+
1648
+ this.destroyStylePopup();
1649
+ this._stylePopup = new Cesium.Kq3dHtmlTag(this._viewer, {
1650
+ html: `<div class='kq-label-popup' style='background-color:var(--kq-bg-color); border-radius: 8px;'>
1651
+ <div class='popup-title'>
1652
+ <span class='popup-title-text'>${title}</span>
1653
+ </div>
1654
+ <div id=${id}></div>
1655
+ <span class='triangle'></span>
1656
+ <a class='close' href="javascript:void(0)" onclick="document.getElementsByClassName('kq-label-popup')[0].style.display='none';"><span>×</span></a>
1657
+ </div>`,
1658
+ position: position,
1659
+ anchor: [0, offsetY],
1660
+ alignmentMode: 7,
1661
+ noEvent: false,
1662
+ show: false
1663
+ });
1664
+ setTimeout(() => {
1665
+ render(vNode, document.getElementById(id));
1666
+ this._stylePopup.show = true;
1667
+ }, 100);
1668
+ }
1669
+ }
1670
+
1671
+ destroyStylePopup() {
1672
+ this._stylePopup && this._stylePopup.destroy();
1673
+ this._stylePopup = null;
1674
+ }
1675
+
1676
+ recordVNode(item, render, updateStyle) {
1677
+ this._render = render;
1678
+ this._updateStyle = updateStyle;
1679
+ this._labels[item.guid] = item;
1680
+ } // 添加鼠标监听事件
1681
+
1682
+
1683
+ addMouseEvent(type, target) {
1684
+ if (!this._mouseHandlers[target]) this._mouseHandlers[target] = new Cesium.ScreenSpaceEventHandler(this._viewer.scene.canvas);
1685
+ let that = this;
1686
+
1687
+ if (type == "click") {
1688
+ that._mouseHandlers[target].setInputAction(function (movement) {
1689
+ if (target == "label" && !that._drawHandler.drawHandler.isDrawing) {
1690
+ let pickedObject = that._viewer.scene.pick(movement.position);
1691
+
1692
+ if (pickedObject && pickedObject.primitive && pickedObject.primitive.id) {
1693
+ let item = that._labels[pickedObject.primitive.id.id];
1694
+
1695
+ if (item) {
1696
+ that._updateStyle(item);
1697
+
1698
+ var ray = that._viewer.camera.getPickRay(movement.position);
1699
+
1700
+ if (ray) {
1701
+ var position = that._viewer.scene.globe.pick(ray, that._viewer.scene);
1702
+
1703
+ that.openShapeStylePopup(item.guid, item.vNode, that._render, position);
1704
+ }
1705
+ }
1706
+ } else {
1707
+ that.destroyStylePopup();
1708
+ }
1709
+ }
1710
+ }, Cesium.ScreenSpaceEventType.LEFT_CLICK);
1711
+ } else if (type == "move") {
1712
+ that._mouseHandlers[target].setInputAction(function (movement) {
1713
+ if (target == "label") {
1714
+ if (that._drawHandler.editHandler._pickedAnchor && that._drawHandler.editHandler._shapeObject) {
1715
+ that.removeMouseEvent('move', 'label');
1716
+ that.destroyStylePopup();
1717
+ }
1718
+ }
1719
+ }, Cesium.ScreenSpaceEventType.MOUSE_MOVE);
1720
+ }
1721
+ } // 移除鼠标监听事件
1722
+
1723
+
1724
+ removeMouseEvent(type, target) {
1725
+ if (this._mouseHandlers[target]) {
1726
+ if (type == "click") {
1727
+ this._mouseHandlers[target].removeInputAction(Cesium.ScreenSpaceEventType.LEFT_CLICK);
1728
+
1729
+ if (target == "label") {
1730
+ this._labels = {};
1731
+ this.destroyStylePopup();
1732
+ this.enableEdit(false);
1733
+ }
1734
+ } else if (type == "move") {
1735
+ this._mouseHandlers[target].removeInputAction(Cesium.ScreenSpaceEventType.MOUSE_MOVE);
1736
+ }
1737
+ }
1413
1738
  }
1414
1739
  /********** 地理编码通用组件使用 start ************/
1415
1740
  // 绘制点图标自带点击弹出气泡, 地理编码通用组件使用
1416
1741
 
1417
1742
 
1418
- drawPointWithPoup(data, idCustom = "geocode") {
1743
+ drawPointWithPoup(data) {
1744
+ let idCustom = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "geocode";
1745
+
1419
1746
  if (!this._handler) {
1420
1747
  // 注册点击事件
1421
1748
  let scene = this._viewer.scene;
@@ -1475,7 +1802,9 @@ class DrawManager {
1475
1802
  } // 通过id打开地理编码图标气泡
1476
1803
 
1477
1804
 
1478
- openPointPoup(id, idCustom = "geocode") {
1805
+ openPointPoup(id) {
1806
+ let idCustom = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "geocode";
1807
+
1479
1808
  if (id) {
1480
1809
  let pointDs = this._viewer.dataSources.getByName(idCustom);
1481
1810
 
@@ -1498,7 +1827,9 @@ class DrawManager {
1498
1827
  } // 清除地理编码指定分组的所有图标
1499
1828
 
1500
1829
 
1501
- clearPointByIdCustom(idCustom = "geocode") {
1830
+ clearPointByIdCustom() {
1831
+ let idCustom = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "geocode";
1832
+
1502
1833
  let pointDs = this._viewer.dataSources.getByName(idCustom);
1503
1834
 
1504
1835
  if (pointDs.length > 0) {
@@ -1550,6 +1881,7 @@ var util_namespaceObject = require("@kq_npm/client_common_vue/_utils/util");
1550
1881
  var global_event_namespaceObject = require("@kq_npm/client_common_vue/_types/global-event");
1551
1882
  var global_event_default = /*#__PURE__*/__webpack_require__.n(global_event_namespaceObject);
1552
1883
  ;// CONCATENATED MODULE: ./src/webgl/scenceview/LayerManager.js
1884
+ /* provided dependency */ var console = __webpack_require__(283);
1553
1885
 
1554
1886
 
1555
1887
 
@@ -1793,7 +2125,8 @@ class LayerManager {
1793
2125
  } //添加图层数据
1794
2126
 
1795
2127
 
1796
- addLayerData(layerData, isAdd = true) {
2128
+ addLayerData(layerData) {
2129
+ let isAdd = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
1797
2130
  var type = layerData.addType;
1798
2131
  let url = layerData.url;
1799
2132
  type = type || "";
@@ -1902,6 +2235,22 @@ class LayerManager {
1902
2235
 
1903
2236
  break;
1904
2237
 
2238
+ case "s3m":
2239
+ layerData.visible = isAdd;
2240
+ layerData.serverType = "s3m";
2241
+
2242
+ if (isAdd) {
2243
+ layer = this._viewer.scene.primitives.add(new Cesium.Kq3dS3MTilesLayer({
2244
+ name: name,
2245
+ url: url,
2246
+ context: this._viewer.scene._context,
2247
+ ...params
2248
+ }));
2249
+ layer._guid = layerData.guid;
2250
+ }
2251
+
2252
+ break;
2253
+
1905
2254
  case "kqgis3dserver":
1906
2255
  var that = this;
1907
2256
  layerData.visible = isAdd;
@@ -1979,7 +2328,6 @@ class LayerManager {
1979
2328
  if (isAdd) {
1980
2329
  var imageryProvider = new Cesium.Kq3dKQGISMapServerImageryProviderExt({
1981
2330
  url: url,
1982
- ua_token: layerData.token,
1983
2331
  layers: layerData.id + "",
1984
2332
  ...params
1985
2333
  });
@@ -2103,7 +2451,10 @@ class LayerManager {
2103
2451
  break;
2104
2452
 
2105
2453
  case "wmts":
2106
- case "kqgistileserver":
2454
+ case "kqgistileserver": // KQGIS瓦片服务
2455
+
2456
+ case "kqgisaggregationserver":
2457
+ //KQGIS聚合服务
2107
2458
  //如果是kqserver类型,记录服务返回的图层信息
2108
2459
  if (layerData.sourceLayers) {
2109
2460
  var layerInfo = layerData.sourceLayers.find(item => {
@@ -2459,7 +2810,8 @@ class LayerManager {
2459
2810
  */
2460
2811
 
2461
2812
 
2462
- setLayerVisibleStateByIds(ids, visible, eventTarget = null) {
2813
+ setLayerVisibleStateByIds(ids, visible) {
2814
+ let eventTarget = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
2463
2815
  if (!(ids && ids.length > 0)) return;
2464
2816
  let layer;
2465
2817
 
@@ -2611,7 +2963,7 @@ class LayerManager {
2611
2963
  });
2612
2964
 
2613
2965
  return layer;
2614
- } else if (type === "3dtiles") {
2966
+ } else if (type === "3dtiles" || type === "s3m") {
2615
2967
  let primitives = this._viewer.scene.primitives._primitives;
2616
2968
  let layer = primitives.find(item => {
2617
2969
  return item.guid === guid;
@@ -2671,7 +3023,7 @@ class LayerManager {
2671
3023
 
2672
3024
 
2673
3025
  getLayerTreeData() {
2674
- return [...this._layerTreeData];
3026
+ return JSON.parse(JSON.stringify(this._layerTreeData));
2675
3027
  } //是否包含值
2676
3028
 
2677
3029
 
@@ -2709,7 +3061,9 @@ class LayerManager {
2709
3061
  } //获取选中图层key集合
2710
3062
 
2711
3063
 
2712
- getLayerCheckedListKey(isCheck = true, serverType) {
3064
+ getLayerCheckedListKey() {
3065
+ let isCheck = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
3066
+ let serverType = arguments.length > 1 ? arguments[1] : undefined;
2713
3067
  let checkedKeys = [];
2714
3068
 
2715
3069
  this._layerListData.forEach(layer => {
@@ -2794,6 +3148,10 @@ class LayerManager {
2794
3148
  });
2795
3149
  } else if (layer instanceof Cesium.Kq3dDataFlowLayer) {
2796
3150
  layer.flyToBounds();
3151
+ } else if (layer instanceof Cesium.Kq3dS3MTilesLayer) {
3152
+ viewer.camera.flyTo({
3153
+ destination: layer.rectangle
3154
+ });
2797
3155
  }
2798
3156
  } //获取底图图层Index
2799
3157
 
@@ -2950,7 +3308,8 @@ class LayerManager {
2950
3308
  } //添加临时图层树节点
2951
3309
 
2952
3310
 
2953
- addTempLayerNode(layer, type = 0) {
3311
+ addTempLayerNode(layer) {
3312
+ let type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
2954
3313
  let tempLayer = null;
2955
3314
 
2956
3315
  for (let i = 0; i < this._layerTreeData.length; i++) {
@@ -3076,6 +3435,7 @@ class LayerManager {
3076
3435
  break;
3077
3436
 
3078
3437
  case "3dtiles":
3438
+ case "s3m":
3079
3439
  this._viewer.scene.primitives.remove(layer);
3080
3440
 
3081
3441
  break;
@@ -3143,7 +3503,9 @@ class LayerManager {
3143
3503
  * @param guid
3144
3504
  */
3145
3505
 
3146
- function getChildrenByGuid(data, guid, guids, addChildren = false) {
3506
+ function getChildrenByGuid(data, guid, guids) {
3507
+ let addChildren = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
3508
+
3147
3509
  for (let i = 0; i < data.length; i++) {
3148
3510
  if (data[i].children) {
3149
3511
  if (data[i].guid === guid || addChildren) {
@@ -3185,8 +3547,8 @@ function delTreeDataByGuid(data, guid) {
3185
3547
  }
3186
3548
  }
3187
3549
  ;// CONCATENATED MODULE: ./src/webgl/scenceview/ScenceViewViewModel.js
3550
+ //ScenceView逻辑类
3188
3551
 
3189
- //ScenceView逻辑类
3190
3552
 
3191
3553
 
3192
3554
 
@@ -3637,7 +3999,7 @@ class ScenceViewViewModel extends (mitt_default()) {
3637
3999
  }
3638
4000
 
3639
4001
  }
3640
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/scenceview/ScenceView.vue?vue&type=script&setup=true&lang=js
4002
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/scenceview/ScenceView.vue?vue&type=script&setup=true&lang=js
3641
4003
 
3642
4004
  const _hoisted_1 = {
3643
4005
  class: "kq-scence-view",
@@ -3699,9 +4061,10 @@ const __default__ = {
3699
4061
  }
3700
4062
  },
3701
4063
 
3702
- setup(__props, {
3703
- expose
3704
- }) {
4064
+ setup(__props, _ref) {
4065
+ let {
4066
+ expose
4067
+ } = _ref;
3705
4068
  const props = __props;
3706
4069
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onBeforeMount)(() => {
3707
4070
  if (!(0,util_namespaceObject.checkAuditTime)()) {
@@ -3834,8 +4197,8 @@ ScenceView.install = (Vue, opts) => {
3834
4197
  ;// CONCATENATED MODULE: external "@element-plus/icons-vue"
3835
4198
  var icons_vue_namespaceObject = require("@element-plus/icons-vue");
3836
4199
  ;// CONCATENATED MODULE: ./src/webgl/fixedzoomout/FixedZoomoutViewModel.js
4200
+ // 三维固定缩放逻辑
3837
4201
 
3838
- // 三维固定缩放逻辑
3839
4202
  class FixedZoomout3dViewModel {
3840
4203
  //三维viewer对象
3841
4204
  constructor(viewer) {
@@ -3904,7 +4267,7 @@ class FixedZoomout3dViewModel {
3904
4267
  var gis_utils_namespaceObject = require("@kq_npm/client_common_vue/_utils/gis-utils");
3905
4268
  ;// CONCATENATED MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
3906
4269
  var vue_i18n_cjs_js_namespaceObject = require("vue-i18n/dist/vue-i18n.cjs.js");
3907
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/fixedzoomout/FixedZoomout.vue?vue&type=script&setup=true&lang=js
4270
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/fixedzoomout/FixedZoomout.vue?vue&type=script&setup=true&lang=js
3908
4271
 
3909
4272
 
3910
4273
 
@@ -4012,8 +4375,8 @@ FixedZoomout.install = (Vue, opts) => {
4012
4375
 
4013
4376
 
4014
4377
  ;// CONCATENATED MODULE: ./src/webgl/fixedzoomin/FixedZoominViewModel.js
4378
+ // 三维固定缩放逻辑
4015
4379
 
4016
- // 三维固定缩放逻辑
4017
4380
  class FixedZoomin3dViewModel {
4018
4381
  //三维viewer对象
4019
4382
  constructor(viewer) {
@@ -4078,7 +4441,7 @@ class FixedZoomin3dViewModel {
4078
4441
  }
4079
4442
 
4080
4443
  }
4081
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/fixedzoomin/FixedZoomin.vue?vue&type=script&setup=true&lang=js
4444
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/fixedzoomin/FixedZoomin.vue?vue&type=script&setup=true&lang=js
4082
4445
 
4083
4446
 
4084
4447
 
@@ -4186,8 +4549,8 @@ FixedZoomin.install = (Vue, opts) => {
4186
4549
 
4187
4550
 
4188
4551
  ;// CONCATENATED MODULE: ./src/webgl/resetview/ResetViewViewModel.js
4552
+ // 重置视图
4189
4553
 
4190
- // 重置视图
4191
4554
  class ResetViewViewModel {
4192
4555
  //三维viewer对象
4193
4556
  constructor(viewer) {
@@ -4202,7 +4565,7 @@ class ResetViewViewModel {
4202
4565
  }
4203
4566
 
4204
4567
  }
4205
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/resetview/ResetView.vue?vue&type=script&setup=true&lang=js
4568
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/resetview/ResetView.vue?vue&type=script&setup=true&lang=js
4206
4569
 
4207
4570
 
4208
4571
 
@@ -4312,8 +4675,8 @@ ResetView.install = (Vue, opts) => {
4312
4675
  ;// CONCATENATED MODULE: external "@kq_npm/client_icons_vue"
4313
4676
  var client_icons_vue_namespaceObject = require("@kq_npm/client_icons_vue");
4314
4677
  ;// CONCATENATED MODULE: ./src/webgl/compass/CompassViewModel.js
4678
+ // 重置视图
4315
4679
 
4316
- // 重置视图
4317
4680
  class CompassViewModel {
4318
4681
  //三维viewer对象
4319
4682
  constructor(viewer) {
@@ -4371,7 +4734,7 @@ class CompassViewModel {
4371
4734
  }
4372
4735
 
4373
4736
  }
4374
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/compass/Compass.vue?vue&type=script&setup=true&lang=js
4737
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/compass/Compass.vue?vue&type=script&setup=true&lang=js
4375
4738
 
4376
4739
 
4377
4740
 
@@ -4493,7 +4856,8 @@ var external_html2canvas_default = /*#__PURE__*/__webpack_require__.n(external_h
4493
4856
  ;// CONCATENATED MODULE: external "vue3-print-nb"
4494
4857
  var external_vue3_print_nb_namespaceObject = require("vue3-print-nb");
4495
4858
  var external_vue3_print_nb_default = /*#__PURE__*/__webpack_require__.n(external_vue3_print_nb_namespaceObject);
4496
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/clientPrint/ClientPrint.vue?vue&type=script&setup=true&lang=js
4859
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/clientPrint/ClientPrint.vue?vue&type=script&setup=true&lang=js
4860
+
4497
4861
 
4498
4862
 
4499
4863
  const ClientPrintvue_type_script_setup_true_lang_js_hoisted_1 = {
@@ -4639,9 +5003,10 @@ const ClientPrintvue_type_script_setup_true_lang_js_default_ = {
4639
5003
  }
4640
5004
  },
4641
5005
 
4642
- setup(__props, {
4643
- expose
4644
- }) {
5006
+ setup(__props, _ref) {
5007
+ let {
5008
+ expose
5009
+ } = _ref;
4645
5010
  const props = __props;
4646
5011
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
4647
5012
  let {
@@ -6572,8 +6937,8 @@ ClientPrint.install = (Vue, opts) => {
6572
6937
 
6573
6938
 
6574
6939
  ;// CONCATENATED MODULE: ./src/webgl/baseterraingallery/BaseterrainGalleryViewModel.js
6940
+ //在线地形逻辑类
6575
6941
 
6576
- //在线地形逻辑类
6577
6942
  class BaseterrainGalleryViewModel {
6578
6943
  //基本地形对象
6579
6944
  constructor(viewer) {
@@ -6642,7 +7007,7 @@ class BaseterrainGalleryViewModel {
6642
7007
  }
6643
7008
 
6644
7009
  }
6645
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/baseterraingallery/BaseterrainGallery.vue?vue&type=script&setup=true&lang=js
7010
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/baseterraingallery/BaseterrainGallery.vue?vue&type=script&setup=true&lang=js
6646
7011
 
6647
7012
  const BaseterrainGalleryvue_type_script_setup_true_lang_js_hoisted_1 = {
6648
7013
  class: "kq3d-baseterrain-gallery-box"
@@ -6721,9 +7086,10 @@ const BaseterrainGalleryvue_type_script_setup_true_lang_js_default_ = {
6721
7086
  }
6722
7087
  },
6723
7088
 
6724
- setup(__props, {
6725
- expose
6726
- }) {
7089
+ setup(__props, _ref) {
7090
+ let {
7091
+ expose
7092
+ } = _ref;
6727
7093
  const props = __props; //语言
6728
7094
 
6729
7095
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({}); //地形选中值
@@ -6936,8 +7302,8 @@ BaseterrainGallery.install = (Vue, opts) => {
6936
7302
 
6937
7303
 
6938
7304
  ;// CONCATENATED MODULE: ./src/webgl/measure/MeasureViewModel.js
7305
+ //测量操作类
6939
7306
 
6940
- //测量操作类
6941
7307
  class MeasureViewModel {
6942
7308
  //测量三维对象
6943
7309
  //测量事件
@@ -6949,9 +7315,9 @@ class MeasureViewModel {
6949
7315
 
6950
7316
  _defineProperty(this, "measureEvent", null);
6951
7317
 
6952
- _defineProperty(this, "activeEvent", null);
7318
+ _defineProperty(this, "activeEvent", null); //开启深度检测
7319
+
6953
7320
 
6954
- //开启深度检测
6955
7321
  viewer.scene.globe.depthTestAgainstTerrain = true;
6956
7322
  this._measureHandler = new Cesium.Kq3dMeasureHandler(viewer);
6957
7323
  this._viewer = viewer;
@@ -7078,7 +7444,7 @@ class MeasureViewModel {
7078
7444
  }
7079
7445
 
7080
7446
  }
7081
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/measure/Measure.vue?vue&type=script&setup=true&lang=js
7447
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/measure/Measure.vue?vue&type=script&setup=true&lang=js
7082
7448
 
7083
7449
  const Measurevue_type_script_setup_true_lang_js_hoisted_1 = {
7084
7450
  class: "kq-measure3d-box"
@@ -7201,6 +7567,8 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
7201
7567
  };
7202
7568
  /* harmony default export */ var Measurevue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(Measurevue_type_script_setup_true_lang_js_default_, {
7203
7569
  props: {
7570
+ //指定组件绑定的viewer对象的div的id
7571
+ target: String,
7204
7572
  // 是否显示阴影效果
7205
7573
  showShadow: {
7206
7574
  type: Boolean,
@@ -7237,9 +7605,10 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
7237
7605
  }
7238
7606
  },
7239
7607
 
7240
- setup(__props, {
7241
- expose
7242
- }) {
7608
+ setup(__props, _ref) {
7609
+ let {
7610
+ expose
7611
+ } = _ref;
7243
7612
  const props = __props;
7244
7613
  let measureType = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(null); // 测量类型
7245
7614
 
@@ -7296,7 +7665,7 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
7296
7665
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
7297
7666
  watchCreateHeaderTemp();
7298
7667
  });
7299
- gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
7668
+ gis_utils_namespaceObject.utils.getWebMap(props.target, scenceView => {
7300
7669
  if (scenceView) {
7301
7670
  viewModel = new MeasureViewModel(scenceView._viewer); //注册测量事件,以获取测量结果
7302
7671
 
@@ -7735,8 +8104,8 @@ Measure.install = (Vue, opts) => {
7735
8104
 
7736
8105
 
7737
8106
  ;// CONCATENATED MODULE: ./src/webgl/flight/FlightViewModel.js
8107
+ //飞行操作类
7738
8108
 
7739
- //飞行操作类
7740
8109
  class FlightViewModel {
7741
8110
  //飞行三维对象
7742
8111
  //停止事件
@@ -7840,7 +8209,7 @@ class FlightViewModel {
7840
8209
  }
7841
8210
 
7842
8211
  }
7843
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/flight/Flight.vue?vue&type=script&setup=true&lang=js
8212
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/flight/Flight.vue?vue&type=script&setup=true&lang=js
7844
8213
 
7845
8214
  const Flightvue_type_script_setup_true_lang_js_hoisted_1 = {
7846
8215
  class: "kq-flight3d-box"
@@ -7932,9 +8301,10 @@ const Flightvue_type_script_setup_true_lang_js_default_ = {
7932
8301
  }
7933
8302
  },
7934
8303
 
7935
- setup(__props, {
7936
- expose
7937
- }) {
8304
+ setup(__props, _ref) {
8305
+ let {
8306
+ expose
8307
+ } = _ref;
7938
8308
  const props = __props;
7939
8309
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
7940
8310
  let isAdd = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(false);
@@ -8790,8 +9160,8 @@ Flight.install = (Vue, opts) => {
8790
9160
  var external_xe_utils_namespaceObject = require("xe-utils");
8791
9161
  var external_xe_utils_default = /*#__PURE__*/__webpack_require__.n(external_xe_utils_namespaceObject);
8792
9162
  ;// CONCATENATED MODULE: ./src/webgl/gpuspatialquery/GPUSpatialQueryViewModel.js
9163
+ //GPU空间查询逻辑类
8793
9164
 
8794
- //GPU空间查询逻辑类
8795
9165
 
8796
9166
  class GPUSpatialQueryViewModel {
8797
9167
  //GPU查询三维对象
@@ -9085,7 +9455,7 @@ class GPUSpatialQueryViewModel {
9085
9455
  }
9086
9456
 
9087
9457
  }
9088
- ;// 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
9458
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./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
9089
9459
 
9090
9460
  const GPUSpatialQueryvue_type_script_setup_true_lang_js_hoisted_1 = {
9091
9461
  class: "kq3d-gpu-spatial-query-box"
@@ -9167,9 +9537,10 @@ const GPUSpatialQueryvue_type_script_setup_true_lang_js_default_ = {
9167
9537
  }
9168
9538
  },
9169
9539
 
9170
- setup(__props, {
9171
- expose
9172
- }) {
9540
+ setup(__props, _ref) {
9541
+ let {
9542
+ expose
9543
+ } = _ref;
9173
9544
  const props = __props;
9174
9545
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
9175
9546
  let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(""); // 获取组件传参
@@ -9751,8 +10122,9 @@ GPUSpatialQuery.install = (Vue, opts) => {
9751
10122
 
9752
10123
 
9753
10124
  ;// CONCATENATED MODULE: ./src/webgl/modelselect/ModelSelectViewModel.js
10125
+ /* provided dependency */ var ModelSelectViewModel_console = __webpack_require__(283);
10126
+ //模型拾取逻辑类
9754
10127
 
9755
- //模型拾取逻辑类
9756
10128
 
9757
10129
  class ModelSelectViewModel {
9758
10130
  //三维viewer对象
@@ -9816,10 +10188,10 @@ class ModelSelectViewModel {
9816
10188
  });
9817
10189
  pickCallFunc && pickCallFunc(pickedObject.tileset.name || "LayerName", attrs);
9818
10190
  } else {
9819
- console.log("Feature has no id attribute!");
10191
+ ModelSelectViewModel_console.log("Feature has no id attribute!");
9820
10192
  }
9821
10193
  } else {
9822
- console.log("no Cesium3DTileFeature!");
10194
+ ModelSelectViewModel_console.log("no Cesium3DTileFeature!");
9823
10195
  }
9824
10196
  }
9825
10197
  }
@@ -9868,7 +10240,7 @@ class ModelSelectViewModel {
9868
10240
  }
9869
10241
 
9870
10242
  }
9871
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/modelselect/ModelSelect.vue?vue&type=script&setup=true&lang=js
10243
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/modelselect/ModelSelect.vue?vue&type=script&setup=true&lang=js
9872
10244
 
9873
10245
  const ModelSelectvue_type_script_setup_true_lang_js_hoisted_1 = {
9874
10246
  class: "title"
@@ -9942,9 +10314,10 @@ const ModelSelectvue_type_script_setup_true_lang_js_default_ = {
9942
10314
  }
9943
10315
  },
9944
10316
 
9945
- setup(__props, {
9946
- expose
9947
- }) {
10317
+ setup(__props, _ref) {
10318
+ let {
10319
+ expose
10320
+ } = _ref;
9948
10321
  const props = __props;
9949
10322
  let layerNameTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(""); // 属性值
9950
10323
 
@@ -10210,6 +10583,7 @@ var update = injectStylesIntoStyleTag_default()(divpoint/* default */.Z, options
10210
10583
 
10211
10584
 
10212
10585
 
10586
+
10213
10587
  //通视分析逻辑类
10214
10588
 
10215
10589
  class SightlineAnalysisViewModel {
@@ -10497,7 +10871,7 @@ class SightlineAnalysisViewModel {
10497
10871
  }
10498
10872
 
10499
10873
  }
10500
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/sightlineanalysis/SightlineAnalysis.vue?vue&type=script&setup=true&lang=js
10874
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/sightlineanalysis/SightlineAnalysis.vue?vue&type=script&setup=true&lang=js
10501
10875
 
10502
10876
  const SightlineAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
10503
10877
  class: "kq3d-sightline-analysis-box"
@@ -10556,9 +10930,10 @@ const SightlineAnalysisvue_type_script_setup_true_lang_js_default_ = {
10556
10930
  }
10557
10931
  },
10558
10932
 
10559
- setup(__props, {
10560
- expose
10561
- }) {
10933
+ setup(__props, _ref) {
10934
+ let {
10935
+ expose
10936
+ } = _ref;
10562
10937
  const props = __props;
10563
10938
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
10564
10939
  let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(""); // 获取组件传参
@@ -11017,7 +11392,7 @@ class ViewshedAnalysisViewModel {
11017
11392
  }
11018
11393
 
11019
11394
  }
11020
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/viewshedanalysis/ViewshedAnalysis.vue?vue&type=script&setup=true&lang=js
11395
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/viewshedanalysis/ViewshedAnalysis.vue?vue&type=script&setup=true&lang=js
11021
11396
 
11022
11397
  const ViewshedAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
11023
11398
  class: "kq3d-viewshed-analysis-box"
@@ -11076,9 +11451,10 @@ const ViewshedAnalysisvue_type_script_setup_true_lang_js_default_ = {
11076
11451
  }
11077
11452
  },
11078
11453
 
11079
- setup(__props, {
11080
- expose
11081
- }) {
11454
+ setup(__props, _ref) {
11455
+ let {
11456
+ expose
11457
+ } = _ref;
11082
11458
  const props = __props;
11083
11459
  const {
11084
11460
  proxy
@@ -11545,8 +11921,8 @@ ViewshedAnalysis.install = (Vue, opts) => {
11545
11921
 
11546
11922
 
11547
11923
  ;// CONCATENATED MODULE: ./src/webgl/shadowanalysis/ShadowAnalysisViewModel.js
11924
+ // 分析逻辑类
11548
11925
 
11549
- // 分析逻辑类
11550
11926
 
11551
11927
  class ShadowAnalysisViewModel {
11552
11928
  //阴影分析三维对象
@@ -11777,7 +12153,8 @@ class ShadowAnalysisViewModel {
11777
12153
  }
11778
12154
 
11779
12155
  }
11780
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/shadowanalysis/ShadowAnalysis.vue?vue&type=script&setup=true&lang=js
12156
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/shadowanalysis/ShadowAnalysis.vue?vue&type=script&setup=true&lang=js
12157
+ /* provided dependency */ var ShadowAnalysisvue_type_script_setup_true_lang_js_console = __webpack_require__(283);
11781
12158
 
11782
12159
  const ShadowAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
11783
12160
  class: "kq3d-shadow-analysis-box"
@@ -11854,9 +12231,10 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
11854
12231
  }
11855
12232
  },
11856
12233
 
11857
- setup(__props, {
11858
- expose
11859
- }) {
12234
+ setup(__props, _ref) {
12235
+ let {
12236
+ expose
12237
+ } = _ref;
11860
12238
  const props = __props;
11861
12239
  const {
11862
12240
  proxy
@@ -12014,13 +12392,13 @@ const ShadowAnalysisvue_type_script_setup_true_lang_js_default_ = {
12014
12392
  var m = dd.getMonth() + 1; //获取当前月份的日期
12015
12393
 
12016
12394
  var d = dd.getDate();
12017
- console.log(y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d));
12395
+ ShadowAnalysisvue_type_script_setup_true_lang_js_console.log(y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d));
12018
12396
  return y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d);
12019
12397
  } // 日期改变
12020
12398
 
12021
12399
 
12022
12400
  function changeDate(val) {
12023
- console.log(formItem.currentDate);
12401
+ ShadowAnalysisvue_type_script_setup_true_lang_js_console.log(formItem.currentDate);
12024
12402
  if (viewModel.setCurrentDate) viewModel.setCurrentDate(formItem.currentDate);
12025
12403
  } // 改变时刻
12026
12404
 
@@ -12672,8 +13050,8 @@ ShadowAnalysis.install = (Vue, opts) => {
12672
13050
 
12673
13051
 
12674
13052
  ;// CONCATENATED MODULE: ./src/webgl/profileanalysis/ProfileAnalysisViewModel.js
13053
+ //分析逻辑类
12675
13054
 
12676
- //分析逻辑类
12677
13055
  let floatingPoint;
12678
13056
  let drawPoints = [];
12679
13057
  let activeShapePoints = [];
@@ -12933,7 +13311,7 @@ class ProfileAnalysisViewModel {
12933
13311
  }
12934
13312
 
12935
13313
  }
12936
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/profileanalysis/ProfileAnalysis.vue?vue&type=script&setup=true&lang=js
13314
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/profileanalysis/ProfileAnalysis.vue?vue&type=script&setup=true&lang=js
12937
13315
 
12938
13316
  const ProfileAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
12939
13317
  class: "kq3d-profile-analysis-box"
@@ -12999,9 +13377,10 @@ const ProfileAnalysisvue_type_script_setup_true_lang_js_default_ = {
12999
13377
  }
13000
13378
  },
13001
13379
 
13002
- setup(__props, {
13003
- expose
13004
- }) {
13380
+ setup(__props, _ref) {
13381
+ let {
13382
+ expose
13383
+ } = _ref;
13005
13384
  const props = __props;
13006
13385
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({}); // 设置
13007
13386
 
@@ -13504,8 +13883,8 @@ ProfileAnalysis.install = (Vue, opts) => {
13504
13883
 
13505
13884
 
13506
13885
  ;// CONCATENATED MODULE: ./src/webgl/skylineanalysis/SkylineAnalysisViewModel.js
13886
+ //天际线分析逻辑类
13507
13887
 
13508
- //天际线分析逻辑类
13509
13888
 
13510
13889
  class SkylineAnalysisViewModel {
13511
13890
  /**
@@ -13826,7 +14205,7 @@ class SkylineAnalysisViewModel {
13826
14205
  }
13827
14206
  ;// CONCATENATED MODULE: external "echarts"
13828
14207
  var external_echarts_namespaceObject = require("echarts");
13829
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/skylineanalysis/SkylineAnalysis.vue?vue&type=script&setup=true&lang=js
14208
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/skylineanalysis/SkylineAnalysis.vue?vue&type=script&setup=true&lang=js
13830
14209
 
13831
14210
  const SkylineAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
13832
14211
  class: "kq3d-skyline-analysis-box"
@@ -13895,9 +14274,10 @@ const SkylineAnalysisvue_type_script_setup_true_lang_js_default_ = {
13895
14274
  }
13896
14275
  },
13897
14276
 
13898
- setup(__props, {
13899
- expose
13900
- }) {
14277
+ setup(__props, _ref) {
14278
+ let {
14279
+ expose
14280
+ } = _ref;
13901
14281
  const props = __props;
13902
14282
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({}); // 设置
13903
14283
 
@@ -14399,8 +14779,9 @@ SkylineAnalysis.install = (Vue, opts) => {
14399
14779
 
14400
14780
 
14401
14781
  ;// CONCATENATED MODULE: ./src/webgl/terrainoperation/TerrainOperationViewModel.js
14782
+ /* provided dependency */ var TerrainOperationViewModel_console = __webpack_require__(283);
14783
+ //地形淹没分析逻辑类
14402
14784
 
14403
- //地形淹没分析逻辑类
14404
14785
 
14405
14786
  class TerrainOperationViewModel {
14406
14787
  //地形开挖三维对象
@@ -14487,7 +14868,7 @@ class TerrainOperationViewModel {
14487
14868
  let positions = [];
14488
14869
 
14489
14870
  that._globaOptions.positions.forEach((item, index) => {
14490
- console.log(index);
14871
+ TerrainOperationViewModel_console.log(index);
14491
14872
  let cag = window.Cesium.Cartographic.fromCartesian(item);
14492
14873
  positions.push(cag);
14493
14874
  heights.push(cag.height);
@@ -14525,7 +14906,7 @@ class TerrainOperationViewModel {
14525
14906
  let positions = [];
14526
14907
 
14527
14908
  this._globaOptions.positions.forEach((item, index) => {
14528
- console.log(index);
14909
+ TerrainOperationViewModel_console.log(index);
14529
14910
  let cag = window.Cesium.Cartographic.fromCartesian(item);
14530
14911
  positions.push(cag);
14531
14912
  heights.push(cag.height);
@@ -14615,7 +14996,7 @@ class TerrainOperationViewModel {
14615
14996
  }
14616
14997
 
14617
14998
  }
14618
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/terrainoperation/TerrainOperation.vue?vue&type=script&setup=true&lang=js
14999
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/terrainoperation/TerrainOperation.vue?vue&type=script&setup=true&lang=js
14619
15000
 
14620
15001
  const TerrainOperationvue_type_script_setup_true_lang_js_hoisted_1 = {
14621
15002
  class: "kq3d-terrain-operation-analysis-box"
@@ -14682,9 +15063,10 @@ const TerrainOperationvue_type_script_setup_true_lang_js_default_ = {
14682
15063
  }
14683
15064
  },
14684
15065
 
14685
- setup(__props, {
14686
- expose
14687
- }) {
15066
+ setup(__props, _ref) {
15067
+ let {
15068
+ expose
15069
+ } = _ref;
14688
15070
  const props = __props;
14689
15071
  const {
14690
15072
  proxy
@@ -14963,8 +15345,8 @@ TerrainOperation.install = (Vue, opts) => {
14963
15345
 
14964
15346
 
14965
15347
  ;// CONCATENATED MODULE: ./src/webgl/excavatefillanalysis/ExcavateFillAnalysisViewModel.js
15348
+ //填挖方分析逻辑类
14966
15349
 
14967
- //填挖方分析逻辑类
14968
15350
 
14969
15351
  class ExcavateFillAnalysisViewModel {
14970
15352
  //填挖方分析三维对象
@@ -15089,7 +15471,7 @@ class ExcavateFillAnalysisViewModel {
15089
15471
  }
15090
15472
 
15091
15473
  }
15092
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/excavatefillanalysis/ExcavateFillAnalysis.vue?vue&type=script&setup=true&lang=js
15474
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/excavatefillanalysis/ExcavateFillAnalysis.vue?vue&type=script&setup=true&lang=js
15093
15475
 
15094
15476
  const ExcavateFillAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
15095
15477
  class: "kq3d-excavate-fill-analysis-box"
@@ -15161,9 +15543,10 @@ const ExcavateFillAnalysisvue_type_script_setup_true_lang_js_default_ = {
15161
15543
  }
15162
15544
  },
15163
15545
 
15164
- setup(__props, {
15165
- expose
15166
- }) {
15546
+ setup(__props, _ref) {
15547
+ let {
15548
+ expose
15549
+ } = _ref;
15167
15550
  const props = __props;
15168
15551
  const {
15169
15552
  proxy
@@ -15826,7 +16209,7 @@ class FloodAnalysisViewModel {
15826
16209
  }
15827
16210
 
15828
16211
  }
15829
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/floodanalysis/FloodAnalysis.vue?vue&type=script&setup=true&lang=js
16212
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/floodanalysis/FloodAnalysis.vue?vue&type=script&setup=true&lang=js
15830
16213
 
15831
16214
  const FloodAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
15832
16215
  class: "kq3d-flood-analysis-box"
@@ -15894,9 +16277,10 @@ const FloodAnalysisvue_type_script_setup_true_lang_js_default_ = {
15894
16277
  }
15895
16278
  },
15896
16279
 
15897
- setup(__props, {
15898
- expose
15899
- }) {
16280
+ setup(__props, _ref) {
16281
+ let {
16282
+ expose
16283
+ } = _ref;
15900
16284
  const props = __props;
15901
16285
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
15902
16286
  let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(""); // 淹没色调图片
@@ -16799,7 +17183,7 @@ class SlopeAnalysisViewModel {
16799
17183
  }
16800
17184
 
16801
17185
  }
16802
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/slopeanalysis/SlopeAnalysis.vue?vue&type=script&setup=true&lang=js
17186
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/slopeanalysis/SlopeAnalysis.vue?vue&type=script&setup=true&lang=js
16803
17187
 
16804
17188
  const SlopeAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
16805
17189
  class: "kq3d-slope-analysis-box"
@@ -16887,9 +17271,10 @@ const SlopeAnalysisvue_type_script_setup_true_lang_js_default_ = {
16887
17271
  }
16888
17272
  },
16889
17273
 
16890
- setup(__props, {
16891
- expose
16892
- }) {
17274
+ setup(__props, _ref) {
17275
+ let {
17276
+ expose
17277
+ } = _ref;
16893
17278
  const props = __props;
16894
17279
  const {
16895
17280
  proxy
@@ -17626,11 +18011,11 @@ SlopeAnalysis.install = (Vue, opts) => {
17626
18011
 
17627
18012
  ;// CONCATENATED MODULE: ./src/webgl/aspectanalysis/AspectAnalysisViewModel.js
17628
18013
 
17629
-
17630
18014
  /**
17631
18015
  * 坡向逻辑类
17632
18016
  **/
17633
18017
 
18018
+
17634
18019
  class AspectAnalysisViewModel {
17635
18020
  // 坡向三维对象
17636
18021
  constructor(scenceView, aspect) {
@@ -17724,7 +18109,7 @@ class AspectAnalysisViewModel {
17724
18109
  }
17725
18110
 
17726
18111
  }
17727
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/aspectanalysis/AspectAnalysis.vue?vue&type=script&setup=true&lang=js
18112
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/aspectanalysis/AspectAnalysis.vue?vue&type=script&setup=true&lang=js
17728
18113
 
17729
18114
  const AspectAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
17730
18115
  class: "kq3d-aspect-analysis-box"
@@ -17783,9 +18168,10 @@ const AspectAnalysisvue_type_script_setup_true_lang_js_default_ = {
17783
18168
  }
17784
18169
  },
17785
18170
 
17786
- setup(__props, {
17787
- expose
17788
- }) {
18171
+ setup(__props, _ref) {
18172
+ let {
18173
+ expose
18174
+ } = _ref;
17789
18175
  const props = __props;
17790
18176
  const {
17791
18177
  proxy
@@ -18501,7 +18887,7 @@ class IsolineAnalysisViewModel {
18501
18887
  }
18502
18888
 
18503
18889
  }
18504
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/isolineanalysis/IsolineAnalysis.vue?vue&type=script&setup=true&lang=js
18890
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/isolineanalysis/IsolineAnalysis.vue?vue&type=script&setup=true&lang=js
18505
18891
 
18506
18892
  const IsolineAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
18507
18893
  class: "kq3d-isoline-analysis-box"
@@ -18622,9 +19008,10 @@ const IsolineAnalysisvue_type_script_setup_true_lang_js_default_ = {
18622
19008
  }
18623
19009
  },
18624
19010
 
18625
- setup(__props, {
18626
- expose
18627
- }) {
19011
+ setup(__props, _ref) {
19012
+ let {
19013
+ expose
19014
+ } = _ref;
18628
19015
  const props = __props;
18629
19016
  const {
18630
19017
  proxy
@@ -20781,8 +21168,8 @@ IsolineAnalysis.install = (Vue, opts) => {
20781
21168
 
20782
21169
 
20783
21170
  ;// CONCATENATED MODULE: ./src/webgl/boxclip/BoxClipViewModel.js
21171
+ //Box裁剪逻辑类
20784
21172
 
20785
- //Box裁剪逻辑类
20786
21173
 
20787
21174
  class BoxClipViewModel {
20788
21175
  //三维viewer对象
@@ -20878,6 +21265,7 @@ class BoxClipViewModel {
20878
21265
  }
20879
21266
 
20880
21267
  if (flag) {
21268
+ this.clear();
20881
21269
  if (this._drawManager) this._drawManager.startDraw("marker", {
20882
21270
  image: null
20883
21271
  });
@@ -20977,7 +21365,7 @@ class BoxClipViewModel {
20977
21365
  }
20978
21366
 
20979
21367
  }
20980
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/boxclip/BoxClip.vue?vue&type=script&setup=true&lang=js
21368
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/boxclip/BoxClip.vue?vue&type=script&setup=true&lang=js
20981
21369
 
20982
21370
  const BoxClipvue_type_script_setup_true_lang_js_hoisted_1 = {
20983
21371
  class: "kq3d-box-clip-box"
@@ -21042,9 +21430,10 @@ const BoxClipvue_type_script_setup_true_lang_js_default_ = {
21042
21430
  }
21043
21431
  },
21044
21432
 
21045
- setup(__props, {
21046
- expose
21047
- }) {
21433
+ setup(__props, _ref) {
21434
+ let {
21435
+ expose
21436
+ } = _ref;
21048
21437
  const props = __props;
21049
21438
  const {
21050
21439
  proxy
@@ -21888,8 +22277,8 @@ BoxClip.install = (Vue, opts) => {
21888
22277
 
21889
22278
 
21890
22279
  ;// CONCATENATED MODULE: ./src/webgl/planeclip/PlaneClipViewModel.js
22280
+ //平面裁剪逻辑类
21891
22281
 
21892
- //平面裁剪逻辑类
21893
22282
 
21894
22283
  class PlaneClipViewModel {
21895
22284
  //三维viewer对象
@@ -22067,7 +22456,7 @@ class PlaneClipViewModel {
22067
22456
  }
22068
22457
 
22069
22458
  }
22070
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/planeclip/PlaneClip.vue?vue&type=script&setup=true&lang=js
22459
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/planeclip/PlaneClip.vue?vue&type=script&setup=true&lang=js
22071
22460
 
22072
22461
  const PlaneClipvue_type_script_setup_true_lang_js_hoisted_1 = {
22073
22462
  class: "kq3d-plane-clip-box"
@@ -22135,9 +22524,10 @@ const PlaneClipvue_type_script_setup_true_lang_js_default_ = {
22135
22524
  }
22136
22525
  },
22137
22526
 
22138
- setup(__props, {
22139
- expose
22140
- }) {
22527
+ setup(__props, _ref) {
22528
+ let {
22529
+ expose
22530
+ } = _ref;
22141
22531
  const props = __props;
22142
22532
  const {
22143
22533
  proxy
@@ -22656,6 +23046,7 @@ PlaneClip.install = (Vue, opts) => {
22656
23046
 
22657
23047
 
22658
23048
  ;// CONCATENATED MODULE: ./src/webgl/adddata/AddDataViewModel.js
23049
+ /* provided dependency */ var AddDataViewModel_console = __webpack_require__(283);
22659
23050
 
22660
23051
 
22661
23052
 
@@ -22991,7 +23382,7 @@ class AddDataViewModel {
22991
23382
  };
22992
23383
 
22993
23384
  reader.onerror = function () {
22994
- console.log(file.name + " read error.");
23385
+ AddDataViewModel_console.log(file.name + " read error.");
22995
23386
  reject(file.name + " read error.");
22996
23387
  };
22997
23388
  }
@@ -23057,6 +23448,7 @@ class AddDataViewModel {
23057
23448
 
23058
23449
 
23059
23450
  parseService(options, cb) {
23451
+ let that = this;
23060
23452
  let url = options.url;
23061
23453
  let type = options.type || "";
23062
23454
  type = type.toLowerCase();
@@ -23073,7 +23465,7 @@ class AddDataViewModel {
23073
23465
  if (["kml", "kmz", "czml", "geojson", "json", "topojson"].indexOf(ext) > -1) {
23074
23466
  name = url.substring(url.lastIndexOf("/") + 1);
23075
23467
  } else {
23076
- if (type !== "wms" && type !== "wmts") {
23468
+ if (type !== "wms" && type !== "wmts" && type !== 'kqgisaggregationserver') {
23077
23469
  name = url.substring(0, url.lastIndexOf("/"));
23078
23470
  name = name.substring(name.lastIndexOf("/") + 1);
23079
23471
  }
@@ -23186,7 +23578,9 @@ class AddDataViewModel {
23186
23578
  break;
23187
23579
 
23188
23580
  case "kqgis3dserver":
23189
- this._viewer.addKq3dServerLayerGroupExt(url).then(group => {
23581
+ this._viewer.addKq3dServerLayerGroupExt(url, {
23582
+ viewer: this._viewer
23583
+ }).then(group => {
23190
23584
  var layers = group._addedLayers || group._layers;
23191
23585
 
23192
23586
  if (layers && layers.length > 0) {
@@ -23224,12 +23618,16 @@ class AddDataViewModel {
23224
23618
  serverType = "datasource";
23225
23619
  addType = "geojson";
23226
23620
  url = layers[i]._baseUri + layers[i]._name;
23621
+ } else if (layers[i] instanceof Cesium.Kq3dS3MTilesLayer) {
23622
+ serverType = "s3m";
23623
+ addType = "s3m";
23624
+ url = layers[i]._url;
23227
23625
  }
23228
23626
 
23229
23627
  if (!layers[i].guid) layers[i].guid = Cesium.createGuid();
23230
23628
  node.children.push({
23231
23629
  guid: layers[i].guid,
23232
- name: layers[i].name,
23630
+ name: layers[i].name || layers[i]._name,
23233
23631
  visible: true,
23234
23632
  serverType: serverType,
23235
23633
  url: url,
@@ -23248,28 +23646,69 @@ class AddDataViewModel {
23248
23646
  break;
23249
23647
 
23250
23648
  case "kqgisimageserver":
23251
- layer = this._viewer.imageryLayers.addImageryProvider(new Cesium.Kq3dKQGISServerImageryProviderExt({
23252
- name: name,
23253
- url: url,
23254
- layerName: name
23255
- }));
23256
- this.flyToLayer(layer);
23649
+ // KQGIS 影像服务
23257
23650
  node = {
23258
- guid: layer.guid,
23651
+ guid: Cesium.createGuid(),
23259
23652
  name: name,
23260
- visible: true,
23261
- serverType: "imagerylayer",
23262
- lsType: "ls",
23263
- url: url,
23264
- addType: type,
23265
- layerName: name,
23266
- type: "Image" // 图层树显示图标使用
23267
-
23653
+ children: [],
23654
+ lsType: "ls"
23268
23655
  };
23656
+ const service = new KqGIS.Map.GetMapImageInfoService(url);
23657
+ service.init(result => {
23658
+ if (result.resultcode === "success") {
23659
+ let list = service.collectionInfoList;
23660
+
23661
+ if (list && list.length > 0) {
23662
+ list.forEach(item => {
23663
+ layer = that._viewer.imageryLayers.addImageryProvider(new Cesium.Kq3dKQGISServerImageryProviderExt({
23664
+ name: item.collectionName,
23665
+ url: url,
23666
+ layerName: item.collectionName
23667
+ }));
23668
+ node.children.push({
23669
+ guid: layer.guid,
23670
+ name: item.collectionName,
23671
+ visible: true,
23672
+ serverType: "imagerylayer",
23673
+ lsType: "ls",
23674
+ url: url,
23675
+ addType: type,
23676
+ layerName: item.collectionName,
23677
+ type: "Image" // 图层树显示图标使用
23269
23678
 
23270
- this._layerManager.addTempLayerNode(node);
23679
+ });
23680
+ });
23681
+ this.flyToLayer(layer);
23682
+
23683
+ this._layerManager.addTempLayerNode(node);
23684
+
23685
+ cb && cb(node);
23686
+ }
23687
+ } else {
23688
+ AddDataViewModel_console.log('解析服务原始信息失败.');
23689
+ }
23690
+ }); // layer = this._viewer.imageryLayers.addImageryProvider(
23691
+ // new Cesium.Kq3dKQGISServerImageryProviderExt({
23692
+ // name: name,
23693
+ // url: url,
23694
+ // layerName: name
23695
+ // })
23696
+ // );
23697
+ // this.flyToLayer(layer);
23698
+ // node = {
23699
+ // guid: layer.guid,
23700
+ // name: name,
23701
+ // visible: true,
23702
+ // serverType: "imagerylayer",
23703
+ // lsType: "ls",
23704
+ // url: url,
23705
+ // addType: type,
23706
+ // layerName: name,
23707
+ // type: "Image" // 图层树显示图标使用
23708
+ // };
23709
+ // this._layerManager.addTempLayerNode(node);
23710
+ // cb && cb(node);
23271
23711
 
23272
- cb && cb(node);
23273
23712
  break;
23274
23713
 
23275
23714
  case "kqgismapserver":
@@ -23307,8 +23746,7 @@ class AddDataViewModel {
23307
23746
  this._layerManager._layerListData = this._layerManager._layerListData.concat(showLayers);
23308
23747
  showLayers.forEach(layer => {
23309
23748
  var imageryProvider = new Cesium.Kq3dKQGISMapServerImageryProviderExt({
23310
- url: layer.url,
23311
- ua_token: layer.accessToken,
23749
+ url: url,
23312
23750
  layers: layer.id + ""
23313
23751
  });
23314
23752
  var imageryLayer = new Cesium.ImageryLayer(imageryProvider, {
@@ -23334,6 +23772,7 @@ class AddDataViewModel {
23334
23772
  setChildrenAddType(mapServerInfo.layerTreeData, type);
23335
23773
  mapServerInfo.layerTreeData.forEach(node => {
23336
23774
  node.lsType = "ls";
23775
+ node.url = url;
23337
23776
 
23338
23777
  this._layerManager.addTempLayerNode(node, 1);
23339
23778
 
@@ -23456,9 +23895,18 @@ class AddDataViewModel {
23456
23895
  case "wmts":
23457
23896
  case "kqgistileserver":
23458
23897
  case "kqgisaggregationserver":
23898
+ if (type === "kqgistileserver") {
23899
+ if (url.indexOf('?') > 0) {
23900
+ url = url.replace('?', '/wmts?');
23901
+ } else {
23902
+ url += '/wmts';
23903
+ }
23904
+ }
23905
+
23906
+ let defaultName = 'wmts';
23907
+
23459
23908
  this._viewer.addWMTSLayerGroup(url).then(group => {
23460
- var defaultName = 'wmts';
23461
- if (type === "kqgistileserver") defaultName = 'tile';
23909
+ // if(type === "kqgistileserver") defaultName = name;
23462
23910
  if (type === "kqgisaggregationserver") defaultName = 'aggregation';
23463
23911
  node = {
23464
23912
  guid: group.guid,
@@ -23504,7 +23952,6 @@ class AddDataViewModel {
23504
23952
  url: url,
23505
23953
  typeName: name
23506
23954
  });
23507
- var that = this;
23508
23955
  wfsProvider.load().then(function (data) {
23509
23956
  var ds = new Cesium.Kq3dGeoJsonDataSource(name);
23510
23957
  ds.load(data, that._geojsonStyle).then(ds => {
@@ -23729,7 +24176,7 @@ function setChildrenAddType(nodeList, addType) {
23729
24176
  }
23730
24177
  }
23731
24178
  }
23732
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/adddata/AddData.vue?vue&type=script&setup=true&lang=js
24179
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/adddata/AddData.vue?vue&type=script&setup=true&lang=js
23733
24180
 
23734
24181
  const AddDatavue_type_script_setup_true_lang_js_hoisted_1 = {
23735
24182
  class: "kq3d-add-data-box"
@@ -23838,9 +24285,10 @@ const AddDatavue_type_script_setup_true_lang_js_default_ = {
23838
24285
  }
23839
24286
  },
23840
24287
 
23841
- setup(__props, {
23842
- expose
23843
- }) {
24288
+ setup(__props, _ref) {
24289
+ let {
24290
+ expose
24291
+ } = _ref;
23844
24292
  const props = __props;
23845
24293
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
23846
24294
  let selectTypeIndex = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(0); //URL服务支持的数据源类型
@@ -23925,7 +24373,7 @@ const AddDatavue_type_script_setup_true_lang_js_default_ = {
23925
24373
  }, {
23926
24374
  type: "kqgisimageserver",
23927
24375
  name: language.value.KQGISImageServer,
23928
- namePlaceholder: language.value.imageCollectionName,
24376
+ namePlaceholder: language.value.unnamedLayer,
23929
24377
  urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/image",
23930
24378
  description: language.value.imagertyImageServerdescription
23931
24379
  }, {
@@ -23938,7 +24386,7 @@ const AddDatavue_type_script_setup_true_lang_js_default_ = {
23938
24386
  type: "kqgistileserver",
23939
24387
  name: language.value.KQGISTileServer,
23940
24388
  namePlaceholder: language.value.unnamedLayer,
23941
- urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/tile/wmts",
24389
+ urlPlaceholder: language.value.format + ":http://<host>:<port>/kqgis/rest/services/<servername>/tile",
23942
24390
  description: language.value.imagertyTileServerdescription
23943
24391
  }, {
23944
24392
  type: "kqgisaggregationserver",
@@ -24468,6 +24916,7 @@ AddData.install = (Vue, opts) => {
24468
24916
 
24469
24917
 
24470
24918
  ;// CONCATENATED MODULE: ./src/webgl/particleeffect/ParticleEffectViewModel.js
24919
+ /* provided dependency */ var ParticleEffectViewModel_console = __webpack_require__(283);
24471
24920
 
24472
24921
 
24473
24922
  let _gravityScratch = null;
@@ -24589,7 +25038,7 @@ class ParticleEffectViewModel {
24589
25038
  let mode = options.mode;
24590
25039
 
24591
25040
  if (mode !== "flame" && mode !== "smoke") {
24592
- console.log("This mode is not supported.");
25041
+ ParticleEffectViewModel_console.log("This mode is not supported.");
24593
25042
  return;
24594
25043
  }
24595
25044
 
@@ -24695,7 +25144,7 @@ class ParticleEffectViewModel {
24695
25144
  }
24696
25145
 
24697
25146
  }
24698
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/particleeffect/ParticleEffect.vue?vue&type=script&setup=true&lang=js
25147
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/particleeffect/ParticleEffect.vue?vue&type=script&setup=true&lang=js
24699
25148
 
24700
25149
  const ParticleEffectvue_type_script_setup_true_lang_js_hoisted_1 = {
24701
25150
  class: "kq3d-particle-effect-box"
@@ -24754,9 +25203,10 @@ const ParticleEffectvue_type_script_setup_true_lang_js_default_ = {
24754
25203
  }
24755
25204
  },
24756
25205
 
24757
- setup(__props, {
24758
- expose
24759
- }) {
25206
+ setup(__props, _ref) {
25207
+ let {
25208
+ expose
25209
+ } = _ref;
24760
25210
  const props = __props;
24761
25211
  const {
24762
25212
  proxy
@@ -25560,6 +26010,7 @@ ParticleEffect.install = (Vue, opts) => {
25560
26010
 
25561
26011
 
25562
26012
  ;// CONCATENATED MODULE: ./src/webgl/weathereffect/WeatherEffectViewModel.js
26013
+ /* provided dependency */ var WeatherEffectViewModel_console = __webpack_require__(283);
25563
26014
 
25564
26015
 
25565
26016
  let WeatherEffectViewModel_gravityScratch = null;
@@ -25644,7 +26095,7 @@ class WeatherEffectViewModel {
25644
26095
  let mode = options.mode;
25645
26096
 
25646
26097
  if (mode !== "rain" && mode !== "snow") {
25647
- console.log("This mode is not supported.");
26098
+ WeatherEffectViewModel_console.log("This mode is not supported.");
25648
26099
  return;
25649
26100
  }
25650
26101
 
@@ -25729,7 +26180,7 @@ class WeatherEffectViewModel {
25729
26180
  }
25730
26181
 
25731
26182
  }
25732
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/weathereffect/WeatherEffect.vue?vue&type=script&setup=true&lang=js
26183
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/weathereffect/WeatherEffect.vue?vue&type=script&setup=true&lang=js
25733
26184
 
25734
26185
  const WeatherEffectvue_type_script_setup_true_lang_js_hoisted_1 = {
25735
26186
  class: "kq3d-weather-effect-box"
@@ -25788,9 +26239,10 @@ const WeatherEffectvue_type_script_setup_true_lang_js_default_ = {
25788
26239
  }
25789
26240
  },
25790
26241
 
25791
- setup(__props, {
25792
- expose
25793
- }) {
26242
+ setup(__props, _ref) {
26243
+ let {
26244
+ expose
26245
+ } = _ref;
25794
26246
  const props = __props;
25795
26247
  const {
25796
26248
  proxy
@@ -26417,8 +26869,8 @@ WeatherEffect.install = (Vue, opts) => {
26417
26869
 
26418
26870
 
26419
26871
  ;// CONCATENATED MODULE: ./src/webgl/comparemap/CompareMapViewModel.js
26872
+ //多窗口逻辑类
26420
26873
 
26421
- //多窗口逻辑类
26422
26874
  class CompareMapViewModel {
26423
26875
  // 三维视图对象
26424
26876
  //三维viewer对象
@@ -26516,7 +26968,8 @@ class CompareMapViewModel {
26516
26968
  }
26517
26969
 
26518
26970
  }
26519
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/comparemap/CompareMapTree.vue?vue&type=script&setup=true&lang=js
26971
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/comparemap/CompareMapTree.vue?vue&type=script&setup=true&lang=js
26972
+
26520
26973
 
26521
26974
 
26522
26975
  const CompareMapTreevue_type_script_setup_true_lang_js_hoisted_1 = {
@@ -26640,7 +27093,7 @@ const CompareMapTreevue_type_script_setup_true_lang_js_default_ = {
26640
27093
  const CompareMapTree_exports_ = CompareMapTreevue_type_script_setup_true_lang_js;
26641
27094
 
26642
27095
  /* harmony default export */ var CompareMapTree = (CompareMapTree_exports_);
26643
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/comparemap/CompareMap.vue?vue&type=script&setup=true&lang=js
27096
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/comparemap/CompareMap.vue?vue&type=script&setup=true&lang=js
26644
27097
 
26645
27098
  const CompareMapvue_type_script_setup_true_lang_js_hoisted_1 = {
26646
27099
  class: "kq3d-compare-map"
@@ -26667,10 +27120,11 @@ const CompareMapvue_type_script_setup_true_lang_js_default_ = {
26667
27120
  },
26668
27121
  emits: ["back"],
26669
27122
 
26670
- setup(__props, {
26671
- expose,
26672
- emit
26673
- }) {
27123
+ setup(__props, _ref) {
27124
+ let {
27125
+ expose,
27126
+ emit
27127
+ } = _ref;
26674
27128
  const props = __props;
26675
27129
  let offsetTop = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)("auto");
26676
27130
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({});
@@ -26848,8 +27302,8 @@ CompareMap.install = (Vue, opts) => {
26848
27302
 
26849
27303
 
26850
27304
  ;// CONCATENATED MODULE: ./src/webgl/screenshot/ScreenshotViewModel.js
27305
+ //截图逻辑类
26851
27306
 
26852
- //截图逻辑类
26853
27307
  class ScreenshotViewModel {
26854
27308
  //三维viewer对象
26855
27309
  //截图存储参数对象
@@ -26994,7 +27448,7 @@ class ScreenshotViewModel {
26994
27448
  }
26995
27449
 
26996
27450
  }
26997
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/screenshot/Screenshot.vue?vue&type=script&setup=true&lang=js
27451
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/screenshot/Screenshot.vue?vue&type=script&setup=true&lang=js
26998
27452
 
26999
27453
  const Screenshotvue_type_script_setup_true_lang_js_hoisted_1 = {
27000
27454
  class: "kq3d-screenshot-box"
@@ -27053,9 +27507,10 @@ const Screenshotvue_type_script_setup_true_lang_js_default_ = {
27053
27507
  }
27054
27508
  },
27055
27509
 
27056
- setup(__props, {
27057
- expose
27058
- }) {
27510
+ setup(__props, _ref) {
27511
+ let {
27512
+ expose
27513
+ } = _ref;
27059
27514
  const props = __props;
27060
27515
  let imgWidthMax = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(800); // 场景高度
27061
27516
 
@@ -27400,8 +27855,8 @@ Screenshot.install = (Vue, opts) => {
27400
27855
 
27401
27856
 
27402
27857
  ;// CONCATENATED MODULE: ./src/webgl/hawkeye/HawkeyeViewModel.js
27858
+ //鹰眼逻辑类
27403
27859
 
27404
- //鹰眼逻辑类
27405
27860
  class HawkeyeViewModel {
27406
27861
  //鹰眼三维对象
27407
27862
  constructor(scenceView, options) {
@@ -27445,7 +27900,7 @@ class HawkeyeViewModel {
27445
27900
  }
27446
27901
 
27447
27902
  }
27448
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/hawkeye/Hawkeye.vue?vue&type=script&setup=true&lang=js
27903
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/hawkeye/Hawkeye.vue?vue&type=script&setup=true&lang=js
27449
27904
 
27450
27905
 
27451
27906
 
@@ -27489,9 +27944,10 @@ const Hawkeyevue_type_script_setup_true_lang_js_default_ = {
27489
27944
  layers: Array
27490
27945
  },
27491
27946
 
27492
- setup(__props, {
27493
- expose
27494
- }) {
27947
+ setup(__props, _ref) {
27948
+ let {
27949
+ expose
27950
+ } = _ref;
27495
27951
  const props = __props;
27496
27952
  let viewModel = null; // 获取组件传参
27497
27953
 
@@ -27558,8 +28014,8 @@ Hawkeye.install = (Vue, opts) => {
27558
28014
 
27559
28015
 
27560
28016
  ;// CONCATENATED MODULE: ./src/webgl/roller/RollerViewModel.js
28017
+ //卷帘逻辑类
27561
28018
 
27562
- //卷帘逻辑类
27563
28019
  class RollerViewModel {
27564
28020
  //三维viewer对象
27565
28021
  //图层管理对象
@@ -27760,7 +28216,7 @@ class RollerViewModel {
27760
28216
  }
27761
28217
 
27762
28218
  }
27763
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/roller/Roller.vue?vue&type=script&setup=true&lang=js
28219
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/roller/Roller.vue?vue&type=script&setup=true&lang=js
27764
28220
 
27765
28221
  const Rollervue_type_script_setup_true_lang_js_hoisted_1 = {
27766
28222
  class: "kq3d-roller-form kq3d-roller-box"
@@ -27814,9 +28270,10 @@ const Rollervue_type_script_setup_true_lang_js_default_ = {
27814
28270
  }
27815
28271
  },
27816
28272
 
27817
- setup(__props, {
27818
- expose
27819
- }) {
28273
+ setup(__props, _ref) {
28274
+ let {
28275
+ expose
28276
+ } = _ref;
27820
28277
  const props = __props;
27821
28278
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({}); //获取组件传参
27822
28279
  // 表格头样式
@@ -28189,7 +28646,7 @@ class UndergroundViewModel {
28189
28646
  }
28190
28647
 
28191
28648
  }
28192
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/underground/Underground.vue?vue&type=script&setup=true&lang=js
28649
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/underground/Underground.vue?vue&type=script&setup=true&lang=js
28193
28650
 
28194
28651
  const Undergroundvue_type_script_setup_true_lang_js_hoisted_1 = {
28195
28652
  class: "kq3d-underground-switch"
@@ -28211,10 +28668,11 @@ const Undergroundvue_type_script_setup_true_lang_js_default_ = {
28211
28668
  },
28212
28669
  emits: ["undergroundChange"],
28213
28670
 
28214
- setup(__props, {
28215
- expose,
28216
- emit
28217
- }) {
28671
+ setup(__props, _ref) {
28672
+ let {
28673
+ expose,
28674
+ emit
28675
+ } = _ref;
28218
28676
  const props = __props;
28219
28677
  const {
28220
28678
  proxy
@@ -28318,8 +28776,8 @@ Underground.install = (Vue, opts) => {
28318
28776
 
28319
28777
 
28320
28778
  ;// CONCATENATED MODULE: ./src/webgl/statusbar/StatusBarViewModel.js
28779
+ // 地图状态栏逻辑类
28321
28780
 
28322
- // 地图状态栏逻辑类
28323
28781
  class StatusBarViewModel {
28324
28782
  constructor(viewer, options) {
28325
28783
  _defineProperty(this, "_viewer", null);
@@ -28406,7 +28864,7 @@ class StatusBarViewModel {
28406
28864
  }
28407
28865
 
28408
28866
  }
28409
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/statusbar/StatusBar.vue?vue&type=script&setup=true&lang=js
28867
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-2.use!./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/statusbar/StatusBar.vue?vue&type=script&setup=true&lang=js
28410
28868
 
28411
28869
 
28412
28870
 
@@ -28620,7 +29078,9 @@ const webglComponents = {
28620
29078
  Kq3dClientPrint: ClientPrint
28621
29079
  }; // 全局引入
28622
29080
 
28623
- const install = function (Vue, opts = {}) {
29081
+ const install = function (Vue) {
29082
+ let opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
29083
+
28624
29084
  for (const comp in webglComponents) {
28625
29085
  const com = webglComponents[comp];
28626
29086
  Vue.use(com, opts);