@kq_npm/client3d_webgl_vue 4.5.3-beta → 4.5.4-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adddata/index.js +337 -524
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +159 -227
- package/baseterraingallery/index.js +122 -145
- package/boxclip/index.js +288 -470
- package/clientPrint/index.js +333 -897
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +224 -246
- package/compass/index.js +96 -84
- package/excavatefillanalysis/index.js +181 -252
- package/fixedzoomin/index.js +91 -76
- package/fixedzoomout/index.js +91 -76
- package/flight/index.js +297 -401
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +243 -382
- package/geologicalbodyanalysis/index.js +203 -287
- package/gpuspatialquery/index.js +240 -390
- package/hawkeye/index.js +139 -103
- package/headertemp/index.js +23 -33
- package/heatmap3d/index.js +426 -733
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +7913 -16839
- package/isolineanalysis/index.js +554 -1231
- package/light/index.js +351 -488
- package/limitheightanalysis/index.js +249 -312
- package/measure/index.js +339 -493
- package/modelFlat/index.js +202 -223
- package/modelexcavate/index.js +194 -251
- package/modelfilter/index.js +216 -299
- package/modelprofileanalysis/index.js +354 -465
- package/modelselect/index.js +180 -173
- package/package.json +1 -1
- package/particleeffect/index.js +257 -430
- package/planeclip/index.js +237 -328
- package/resetview/index.js +89 -69
- package/roller/index.js +305 -363
- package/scaneffect/index.js +273 -571
- package/sceneadvancedtoimage/index.js +1055 -0
- package/sceneadvancedtoimage/style/index.js +3 -0
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
- package/sceneapp/index.js +818 -2179
- package/sceneset/index.js +391 -885
- package/scenetohdimage/index.js +212 -346
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +9018 -17813
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +273 -312
- package/shadowanalysis/index.js +256 -436
- package/sightlineanalysis/index.js +229 -312
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +200 -339
- package/slopeanalysis/index.js +270 -433
- package/slopeaspectanalysis/index.js +303 -523
- package/statusbar/index.js +113 -84
- package/style.css +1 -1
- package/terrainoperation/index.js +218 -269
- package/terrainprofileanalysis/index.js +162 -171
- package/underground/index.js +96 -82
- package/videofusion/index.js +305 -519
- package/videoproject/index.js +311 -521
- package/viewshedanalysis/index.js +176 -275
- package/weathereffect/index.js +197 -343
- package/wireframesketch/index.js +133 -141
package/screenshot/index.js
CHANGED
|
@@ -7,230 +7,127 @@
|
|
|
7
7
|
var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/init.js")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/_utils/util"], root["@kq_npm/client_common_vue/init.js"]);
|
|
8
8
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
9
|
}
|
|
10
|
-
})(this, function(
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__154__, __WEBPACK_EXTERNAL_MODULE__64__, __WEBPACK_EXTERNAL_MODULE__2975__, __WEBPACK_EXTERNAL_MODULE__455__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
16
|
-
/***/ (function(
|
|
17
|
-
|
|
18
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19
|
-
/* harmony export */ "Z": function() { return /* binding */ ScreenshotViewModel; }
|
|
20
|
-
/* harmony export */ });
|
|
21
|
-
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
22
|
-
|
|
23
|
-
//截图逻辑类
|
|
24
|
-
class ScreenshotViewModel {
|
|
25
|
-
//三维viewer对象
|
|
26
|
-
//截图存储参数对象
|
|
27
|
-
//截图三维对象
|
|
28
|
-
constructor(viewer, options) {
|
|
29
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
30
|
-
|
|
31
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_options", null);
|
|
32
|
-
|
|
33
|
-
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_cameraToImage", null);
|
|
34
|
-
|
|
35
|
-
this._options = {
|
|
36
|
-
width: options.imgWidth,
|
|
37
|
-
height: options.imgHeight,
|
|
38
|
-
imageType: options.imgFormat,
|
|
39
|
-
fixedRatio: options.lockAspectRatio,
|
|
40
|
-
//锁定宽高比
|
|
41
|
-
style: options.tilesetStyle,
|
|
42
|
-
//倾斜样式
|
|
43
|
-
tilesetName: options.tilesetName //倾斜名称
|
|
44
|
-
|
|
45
|
-
};
|
|
46
|
-
this._viewer = viewer;
|
|
47
|
-
this._viewer.enabledFXAA = true; //声明场景出图类
|
|
48
|
-
|
|
49
|
-
this._cameraToImage = new Cesium.Kq3dCanvasToImage(viewer._container, {
|
|
50
|
-
viewer: viewer,
|
|
51
|
-
canvas: viewer.scene.canvas
|
|
52
|
-
});
|
|
53
|
-
let that = this;
|
|
54
|
-
setTimeout(() => {
|
|
55
|
-
let tileset = this.findLayerByName(this._options.tilesetName);
|
|
56
|
-
|
|
57
|
-
if (tileset) {
|
|
58
|
-
if (tileset instanceof Array && tileset.length > 0) {
|
|
59
|
-
tileset[0].readyPromise.then(function (tileset) {
|
|
60
|
-
tileset.style = new Cesium.Cesium3DTileStyle(that._options.style);
|
|
61
|
-
});
|
|
62
|
-
} else if (tileset instanceof Object) {
|
|
63
|
-
tileset.readyPromise.then(function (tileset) {
|
|
64
|
-
tileset.style = new Cesium.Cesium3DTileStyle(that._options.style);
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}, 800);
|
|
69
|
-
} // 查找所有3dtiles模型对象
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
findLayers() {
|
|
73
|
-
let tilesets = [];
|
|
74
|
-
const primitives = this._viewer.scene.primitives._primitives;
|
|
75
|
-
|
|
76
|
-
for (let m = 0; m < primitives.length; m++) {
|
|
77
|
-
if (primitives[m] instanceof Cesium.Cesium3DTileset) {
|
|
78
|
-
tilesets.push({
|
|
79
|
-
guid: primitives[m].guid,
|
|
80
|
-
name: primitives[m].name ? primitives[m].name : primitives[m].guid
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
return tilesets;
|
|
86
|
-
} // 出图
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
sceneFigure() {
|
|
90
|
-
this.saveAsimages();
|
|
91
|
-
} // 返回base64
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
saveAsimages() {
|
|
95
|
-
//设置宽、高、图片类型
|
|
96
|
-
var options = {
|
|
97
|
-
width: this._options.width,
|
|
98
|
-
//图片宽度
|
|
99
|
-
height: this._options.height,
|
|
100
|
-
//图片高度
|
|
101
|
-
type: this._options.imageType //图片类型
|
|
102
|
-
|
|
103
|
-
}; //返回图片
|
|
104
|
-
|
|
105
|
-
var img = this._cameraToImage.saveAsimages(this._viewer.scene.canvas, options);
|
|
106
|
-
|
|
107
|
-
return img;
|
|
108
|
-
} // 返回base64
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
toDataURL() {
|
|
112
|
-
var base64 = this._cameraToImage.toDataURL({
|
|
113
|
-
width: this._options.width,
|
|
114
|
-
height: this._options.height,
|
|
115
|
-
type: Cesium.Kq3dImageFormatter.JPG
|
|
116
|
-
});
|
|
117
|
-
|
|
118
|
-
return base64;
|
|
119
|
-
} //根据id获取tileset对象
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
findLayerByName(name) {
|
|
123
|
-
const primitives = this._viewer.scene.primitives._primitives;
|
|
124
|
-
const tileset = primitives.find(function (item) {
|
|
125
|
-
return item.name === name;
|
|
126
|
-
});
|
|
127
|
-
return tileset;
|
|
128
|
-
} //根据宽度计算高度
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
calcWidthByWindowRatio(width) {
|
|
132
|
-
var r = this._viewer.scene.canvas.width / this._viewer.scene.canvas.height;
|
|
133
|
-
return parseInt(width * r);
|
|
134
|
-
} //根据高度计算宽度
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
calcHeightByWindowRatio(height) {
|
|
138
|
-
var r = this._viewer.scene.canvas.width / this._viewer.scene.canvas.height;
|
|
139
|
-
return parseInt(height / r);
|
|
140
|
-
} // 锁定图片宽高比
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
setImgAspectRatio(val) {
|
|
144
|
-
this._options.fixedRatio = val;
|
|
145
|
-
} // 设置图片宽度
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
setImgWidth(val) {
|
|
149
|
-
this._options.width = val;
|
|
150
|
-
} // 设置图片高度
|
|
15
|
+
/***/ 5698:
|
|
16
|
+
/***/ (function(module) {
|
|
151
17
|
|
|
18
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
152
19
|
|
|
153
|
-
|
|
154
|
-
this._options.height = val;
|
|
155
|
-
} // 设置图片类型
|
|
20
|
+
/***/ }),
|
|
156
21
|
|
|
22
|
+
/***/ 2652:
|
|
23
|
+
/***/ (function(module) {
|
|
157
24
|
|
|
158
|
-
|
|
159
|
-
this._options.imageType = val;
|
|
160
|
-
} // 注销
|
|
25
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
161
26
|
|
|
27
|
+
/***/ }),
|
|
162
28
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
}
|
|
29
|
+
/***/ 3658:
|
|
30
|
+
/***/ (function(module) {
|
|
166
31
|
|
|
167
|
-
|
|
32
|
+
module.exports = require("core-js/modules/esnext.iterator.constructor.js");
|
|
168
33
|
|
|
169
34
|
/***/ }),
|
|
170
35
|
|
|
171
|
-
/***/
|
|
36
|
+
/***/ 7993:
|
|
172
37
|
/***/ (function(module) {
|
|
173
38
|
|
|
174
|
-
module.exports = require("
|
|
39
|
+
module.exports = require("core-js/modules/esnext.iterator.find.js");
|
|
175
40
|
|
|
176
41
|
/***/ }),
|
|
177
42
|
|
|
178
|
-
/***/
|
|
43
|
+
/***/ 3579:
|
|
179
44
|
/***/ (function(module) {
|
|
180
45
|
|
|
181
46
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
182
47
|
|
|
183
48
|
/***/ }),
|
|
184
49
|
|
|
185
|
-
/***/
|
|
50
|
+
/***/ 64:
|
|
186
51
|
/***/ (function(module) {
|
|
187
52
|
|
|
188
|
-
module.exports =
|
|
53
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
|
|
189
54
|
|
|
190
55
|
/***/ }),
|
|
191
56
|
|
|
192
|
-
/***/
|
|
57
|
+
/***/ 2975:
|
|
193
58
|
/***/ (function(module) {
|
|
194
59
|
|
|
195
|
-
module.exports =
|
|
60
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
|
|
196
61
|
|
|
197
62
|
/***/ }),
|
|
198
63
|
|
|
199
|
-
/***/
|
|
64
|
+
/***/ 455:
|
|
200
65
|
/***/ (function(module) {
|
|
201
66
|
|
|
202
|
-
module.exports =
|
|
67
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
|
|
203
68
|
|
|
204
69
|
/***/ }),
|
|
205
70
|
|
|
206
|
-
/***/
|
|
71
|
+
/***/ 154:
|
|
207
72
|
/***/ (function(module) {
|
|
208
73
|
|
|
209
|
-
module.exports =
|
|
74
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
|
|
210
75
|
|
|
211
76
|
/***/ }),
|
|
212
77
|
|
|
213
|
-
/***/
|
|
78
|
+
/***/ 6913:
|
|
214
79
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
215
80
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
function
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
81
|
+
|
|
82
|
+
// EXPORTS
|
|
83
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
84
|
+
A: function() { return /* binding */ _defineProperty; }
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
88
|
+
function _typeof(o) {
|
|
89
|
+
"@babel/helpers - typeof";
|
|
90
|
+
|
|
91
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
92
|
+
return typeof o;
|
|
93
|
+
} : function (o) {
|
|
94
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
95
|
+
}, _typeof(o);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
99
|
+
|
|
100
|
+
function toPrimitive(t, r) {
|
|
101
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
102
|
+
var e = t[Symbol.toPrimitive];
|
|
103
|
+
if (void 0 !== e) {
|
|
104
|
+
var i = e.call(t, r || "default");
|
|
105
|
+
if ("object" != _typeof(i)) return i;
|
|
106
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
229
107
|
}
|
|
108
|
+
return ("string" === r ? String : Number)(t);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
function toPropertyKey(t) {
|
|
115
|
+
var i = toPrimitive(t, "string");
|
|
116
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
230
120
|
|
|
231
|
-
|
|
121
|
+
function _defineProperty(e, r, t) {
|
|
122
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
123
|
+
value: t,
|
|
124
|
+
enumerable: !0,
|
|
125
|
+
configurable: !0,
|
|
126
|
+
writable: !0
|
|
127
|
+
}) : e[r] = t, e;
|
|
232
128
|
}
|
|
233
129
|
|
|
130
|
+
|
|
234
131
|
/***/ })
|
|
235
132
|
|
|
236
133
|
/******/ });
|
|
@@ -302,29 +199,165 @@ function _defineProperty(obj, key, value) {
|
|
|
302
199
|
/******/
|
|
303
200
|
/************************************************************************/
|
|
304
201
|
var __webpack_exports__ = {};
|
|
305
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
306
|
-
!function() {
|
|
307
202
|
// ESM COMPAT FLAG
|
|
308
203
|
__webpack_require__.r(__webpack_exports__);
|
|
309
204
|
|
|
310
205
|
// EXPORTS
|
|
311
206
|
__webpack_require__.d(__webpack_exports__, {
|
|
312
|
-
|
|
207
|
+
ScreenshotViewModel: function() { return /* reexport */ ScreenshotViewModel; },
|
|
313
208
|
"default": function() { return /* reexport */ Screenshot; }
|
|
314
209
|
});
|
|
315
210
|
|
|
316
211
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
317
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
212
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
318
213
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
319
|
-
var client_icons_vue_ = __webpack_require__(
|
|
214
|
+
var client_icons_vue_ = __webpack_require__(5698);
|
|
320
215
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
321
|
-
var gis_utils_ = __webpack_require__(
|
|
322
|
-
// EXTERNAL MODULE: ./
|
|
323
|
-
var
|
|
216
|
+
var gis_utils_ = __webpack_require__(64);
|
|
217
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
218
|
+
var defineProperty = __webpack_require__(6913);
|
|
219
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
220
|
+
var es_array_push_js_ = __webpack_require__(2652);
|
|
221
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
222
|
+
var esnext_iterator_constructor_js_ = __webpack_require__(3658);
|
|
223
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.find.js"
|
|
224
|
+
var esnext_iterator_find_js_ = __webpack_require__(7993);
|
|
225
|
+
;// CONCATENATED MODULE: ./src/webgl/screenshot/ScreenshotViewModel.js
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
/*
|
|
231
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
232
|
+
* All rights reserved.
|
|
233
|
+
*/
|
|
234
|
+
//截图逻辑类
|
|
235
|
+
class ScreenshotViewModel {
|
|
236
|
+
//截图三维对象
|
|
237
|
+
constructor(viewer, options) {
|
|
238
|
+
(0,defineProperty/* default */.A)(this, "_viewer", null);
|
|
239
|
+
//三维viewer对象
|
|
240
|
+
(0,defineProperty/* default */.A)(this, "_options", null);
|
|
241
|
+
//截图存储参数对象
|
|
242
|
+
(0,defineProperty/* default */.A)(this, "_cameraToImage", null);
|
|
243
|
+
this._options = {
|
|
244
|
+
width: options.imgWidth,
|
|
245
|
+
height: options.imgHeight,
|
|
246
|
+
imageType: options.imgFormat,
|
|
247
|
+
fixedRatio: options.lockAspectRatio,
|
|
248
|
+
//锁定宽高比
|
|
249
|
+
style: options.tilesetStyle,
|
|
250
|
+
//倾斜样式
|
|
251
|
+
tilesetName: options.tilesetName //倾斜名称
|
|
252
|
+
};
|
|
253
|
+
this._viewer = viewer;
|
|
254
|
+
this._viewer.enabledFXAA = true;
|
|
255
|
+
//声明场景出图类
|
|
256
|
+
this._cameraToImage = new Cesium.Kq3dCanvasToImage(viewer._container, {
|
|
257
|
+
viewer: viewer,
|
|
258
|
+
canvas: viewer.scene.canvas
|
|
259
|
+
});
|
|
260
|
+
let that = this;
|
|
261
|
+
setTimeout(() => {
|
|
262
|
+
let tileset = this.findLayerByName(this._options.tilesetName);
|
|
263
|
+
if (tileset) {
|
|
264
|
+
if (tileset instanceof Array && tileset.length > 0) {
|
|
265
|
+
tileset[0].readyPromise.then(function (tileset) {
|
|
266
|
+
tileset.style = new Cesium.Cesium3DTileStyle(that._options.style);
|
|
267
|
+
});
|
|
268
|
+
} else if (tileset instanceof Object) {
|
|
269
|
+
tileset.readyPromise.then(function (tileset) {
|
|
270
|
+
tileset.style = new Cesium.Cesium3DTileStyle(that._options.style);
|
|
271
|
+
});
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}, 800);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
// 查找所有3dtiles模型对象
|
|
278
|
+
findLayers() {
|
|
279
|
+
let tilesets = [];
|
|
280
|
+
const primitives = this._viewer.scene.primitives._primitives;
|
|
281
|
+
for (let m = 0; m < primitives.length; m++) {
|
|
282
|
+
if (primitives[m] instanceof Cesium.Cesium3DTileset) {
|
|
283
|
+
tilesets.push({
|
|
284
|
+
guid: primitives[m].guid,
|
|
285
|
+
name: primitives[m].name ? primitives[m].name : primitives[m].guid
|
|
286
|
+
});
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
return tilesets;
|
|
290
|
+
}
|
|
291
|
+
// 出图
|
|
292
|
+
sceneFigure() {
|
|
293
|
+
this.saveAsimages();
|
|
294
|
+
}
|
|
295
|
+
// 返回base64
|
|
296
|
+
saveAsimages() {
|
|
297
|
+
//设置宽、高、图片类型
|
|
298
|
+
var options = {
|
|
299
|
+
width: this._options.width,
|
|
300
|
+
//图片宽度
|
|
301
|
+
height: this._options.height,
|
|
302
|
+
//图片高度
|
|
303
|
+
type: this._options.imageType //图片类型
|
|
304
|
+
};
|
|
305
|
+
//返回图片
|
|
306
|
+
var img = this._cameraToImage.saveAsimages(this._viewer.scene.canvas, options);
|
|
307
|
+
return img;
|
|
308
|
+
}
|
|
309
|
+
// 返回base64
|
|
310
|
+
toDataURL() {
|
|
311
|
+
var base64 = this._cameraToImage.toDataURL({
|
|
312
|
+
width: this._options.width,
|
|
313
|
+
height: this._options.height,
|
|
314
|
+
type: Cesium.Kq3dImageFormatter.JPG
|
|
315
|
+
});
|
|
316
|
+
return base64;
|
|
317
|
+
}
|
|
318
|
+
//根据id获取tileset对象
|
|
319
|
+
findLayerByName(name) {
|
|
320
|
+
const primitives = this._viewer.scene.primitives._primitives;
|
|
321
|
+
const tileset = primitives.find(function (item) {
|
|
322
|
+
return item.name === name;
|
|
323
|
+
});
|
|
324
|
+
return tileset;
|
|
325
|
+
}
|
|
326
|
+
//根据宽度计算高度
|
|
327
|
+
calcWidthByWindowRatio(width) {
|
|
328
|
+
var r = this._viewer.scene.canvas.width / this._viewer.scene.canvas.height;
|
|
329
|
+
return parseInt(width * r);
|
|
330
|
+
}
|
|
331
|
+
//根据高度计算宽度
|
|
332
|
+
calcHeightByWindowRatio(height) {
|
|
333
|
+
var r = this._viewer.scene.canvas.width / this._viewer.scene.canvas.height;
|
|
334
|
+
return parseInt(height / r);
|
|
335
|
+
}
|
|
336
|
+
// 锁定图片宽高比
|
|
337
|
+
setImgAspectRatio(val) {
|
|
338
|
+
this._options.fixedRatio = val;
|
|
339
|
+
}
|
|
340
|
+
// 设置图片宽度
|
|
341
|
+
setImgWidth(val) {
|
|
342
|
+
this._options.width = val;
|
|
343
|
+
}
|
|
344
|
+
// 设置图片高度
|
|
345
|
+
setImgHeight(val) {
|
|
346
|
+
this._options.height = val;
|
|
347
|
+
}
|
|
348
|
+
// 设置图片类型
|
|
349
|
+
setImgType(val) {
|
|
350
|
+
this._options.imageType = val;
|
|
351
|
+
}
|
|
352
|
+
// 注销
|
|
353
|
+
destroy() {
|
|
354
|
+
if (this._cameraToImage) this._cameraToImage = null;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
324
357
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
325
|
-
var util_ = __webpack_require__(
|
|
358
|
+
var util_ = __webpack_require__(2975);
|
|
326
359
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
327
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
360
|
+
var vue_i18n_cjs_js_ = __webpack_require__(3579);
|
|
328
361
|
;// 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
|
|
329
362
|
|
|
330
363
|
const _hoisted_1 = {
|
|
@@ -338,12 +371,14 @@ const _hoisted_2 = {
|
|
|
338
371
|
|
|
339
372
|
|
|
340
373
|
|
|
341
|
-
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
// 场景宽度
|
|
342
377
|
|
|
343
378
|
const __default__ = {
|
|
344
379
|
name: "Kq3dScreenShot"
|
|
345
380
|
};
|
|
346
|
-
/* harmony default export */ var Screenshotvue_type_script_setup_true_lang_js = (
|
|
381
|
+
/* harmony default export */ var Screenshotvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
347
382
|
props: {
|
|
348
383
|
// 设置参数
|
|
349
384
|
settingParams: {
|
|
@@ -353,7 +388,6 @@ const __default__ = {
|
|
|
353
388
|
type: Boolean,
|
|
354
389
|
default: true
|
|
355
390
|
},
|
|
356
|
-
|
|
357
391
|
/**
|
|
358
392
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
359
393
|
*/
|
|
@@ -383,19 +417,18 @@ const __default__ = {
|
|
|
383
417
|
default: true
|
|
384
418
|
}
|
|
385
419
|
},
|
|
386
|
-
|
|
387
420
|
setup(__props, {
|
|
388
421
|
expose: __expose
|
|
389
422
|
}) {
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
423
|
+
let imgWidthMax = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(800);
|
|
424
|
+
// 场景高度
|
|
393
425
|
let imgHeightMax = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(800);
|
|
394
|
-
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
395
|
-
|
|
396
|
-
let viewModel = null;
|
|
426
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
427
|
+
// 分析类
|
|
428
|
+
let viewModel = null;
|
|
429
|
+
// 获取组件传参
|
|
430
|
+
const props = __props;
|
|
397
431
|
//设置样式
|
|
398
|
-
|
|
399
432
|
var style = {
|
|
400
433
|
color: {
|
|
401
434
|
conditions: [["${height} >= 250", "rgb(255, 0, 0)"], ["${height} >= 200", "rgb(255, 255, 0)"], ["${height} >= 150", "rgb(255, 255, 255)"], ["${height} >= 100", "rgb(0, 0, 255)"], ["${height} >= 80", "rgb(0, 255, 255)"], ["${height} >= 50", "rgb(255, 0, 255)"], ["${height} >= 20", "rgb(0, 255, 0)"], ["true", "rgb(125527, 255, 255)"]]
|
|
@@ -413,14 +446,16 @@ const __default__ = {
|
|
|
413
446
|
tilesetName: props.settingParams && props.settingParams.tilesetName || "ShangHai-White",
|
|
414
447
|
//倾斜摄影名称
|
|
415
448
|
tilesetStyle: props.settingParams && props.settingParams.tilesetStyle || style // 倾斜摄影样式
|
|
449
|
+
});
|
|
416
450
|
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
451
|
+
// 组件容器Ref
|
|
452
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
420
453
|
|
|
454
|
+
// 生成组件默认header
|
|
421
455
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
422
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
456
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
423
457
|
|
|
458
|
+
// 国际化
|
|
424
459
|
let {
|
|
425
460
|
locale,
|
|
426
461
|
messages
|
|
@@ -446,85 +481,67 @@ const __default__ = {
|
|
|
446
481
|
imgHeightMax.value = canvas.height;
|
|
447
482
|
formItem.imgWidth = canvas.width;
|
|
448
483
|
formItem.imgHeight = canvas.height;
|
|
449
|
-
viewModel = new ScreenshotViewModel
|
|
484
|
+
viewModel = new ScreenshotViewModel(scenceView._viewer, formItem);
|
|
450
485
|
}
|
|
451
486
|
});
|
|
452
487
|
});
|
|
488
|
+
|
|
453
489
|
/**
|
|
454
490
|
* @description 监听header生成
|
|
455
491
|
*/
|
|
456
|
-
|
|
457
492
|
const watchCreateHeaderTemp = () => {
|
|
458
493
|
if (props.showHeaderTemp) {
|
|
459
494
|
// 生成headerTemp
|
|
460
495
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
461
496
|
}
|
|
462
|
-
};
|
|
463
|
-
|
|
497
|
+
};
|
|
464
498
|
|
|
499
|
+
// 场景出图
|
|
465
500
|
function sceneFigure() {
|
|
466
501
|
viewModel && viewModel.sceneFigure();
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
|
|
502
|
+
}
|
|
503
|
+
// 参数联动
|
|
470
504
|
function paramsChanged(key) {
|
|
471
505
|
if (!viewModel) return;
|
|
472
|
-
|
|
473
506
|
switch (key) {
|
|
474
507
|
case "lockAspectRatio":
|
|
475
508
|
viewModel.setImgAspectRatio(formItem.lockAspectRatio);
|
|
476
509
|
break;
|
|
477
|
-
|
|
478
510
|
case "imgWidth":
|
|
479
511
|
viewModel.setImgWidth(formItem.imgWidth);
|
|
480
512
|
formItem.imgHeight = formItem.lockAspectRatio ? viewModel.calcHeightByWindowRatio(formItem.imgWidth) : Number(formItem.imgWidth);
|
|
481
513
|
viewModel.setImgHeight(formItem.imgHeight);
|
|
482
514
|
break;
|
|
483
|
-
|
|
484
515
|
case "imgHeight":
|
|
485
516
|
viewModel.setImgHeight(formItem.imgHeight);
|
|
486
517
|
formItem.imgWidth = formItem.lockAspectRatio ? viewModel.calcWidthByWindowRatio(formItem.imgHeight) : Number(formItem.imgHeight);
|
|
487
518
|
viewModel.setImgWidth(formItem.imgWidth);
|
|
488
519
|
break;
|
|
489
|
-
|
|
490
520
|
case "imgFormat":
|
|
491
521
|
viewModel.setImgType(formItem.imgFormat);
|
|
492
522
|
break;
|
|
493
|
-
|
|
494
523
|
default:
|
|
495
524
|
break;
|
|
496
525
|
}
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
|
|
526
|
+
}
|
|
527
|
+
// 销毁
|
|
500
528
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
501
529
|
viewModel && viewModel.destroy();
|
|
502
530
|
});
|
|
503
|
-
|
|
504
531
|
__expose({
|
|
505
532
|
paramsChanged,
|
|
506
533
|
sceneFigure
|
|
507
534
|
});
|
|
508
|
-
|
|
509
535
|
return (_ctx, _cache) => {
|
|
510
536
|
const _component_kq_checkbox = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-checkbox");
|
|
511
|
-
|
|
512
537
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
513
|
-
|
|
514
538
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
515
|
-
|
|
516
539
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
517
|
-
|
|
518
540
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
519
|
-
|
|
520
541
|
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
521
|
-
|
|
522
542
|
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
523
|
-
|
|
524
543
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
525
|
-
|
|
526
544
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
527
|
-
|
|
528
545
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
529
546
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-screenshot", {
|
|
530
547
|
'kq-box-shadow': __props.showShadow
|
|
@@ -535,9 +552,7 @@ const __default__ = {
|
|
|
535
552
|
key: 0,
|
|
536
553
|
ref_key: "headerTempRef",
|
|
537
554
|
ref: headerTempRef
|
|
538
|
-
}, null, 512
|
|
539
|
-
/* NEED_PATCH */
|
|
540
|
-
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, {
|
|
555
|
+
}, null, 512 /* NEED_PATCH */)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_form, {
|
|
541
556
|
"label-width": "120px",
|
|
542
557
|
"label-position": "left"
|
|
543
558
|
}, {
|
|
@@ -547,18 +562,10 @@ const __default__ = {
|
|
|
547
562
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).lockAspectRatio = $event),
|
|
548
563
|
onChange: _cache[1] || (_cache[1] = $event => paramsChanged('lockAspectRatio'))
|
|
549
564
|
}, {
|
|
550
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).lockAspectRatio), 1
|
|
551
|
-
/*
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
/* STABLE */
|
|
555
|
-
|
|
556
|
-
}, 8
|
|
557
|
-
/* PROPS */
|
|
558
|
-
, ["modelValue"])]),
|
|
559
|
-
_: 1
|
|
560
|
-
/* STABLE */
|
|
561
|
-
|
|
565
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).lockAspectRatio), 1 /* TEXT */)]),
|
|
566
|
+
_: 1 /* STABLE */
|
|
567
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
568
|
+
_: 1 /* STABLE */
|
|
562
569
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
563
570
|
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_form_item, {
|
|
564
571
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).imgWidth + '(px)'
|
|
@@ -579,26 +586,14 @@ const __default__ = {
|
|
|
579
586
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(imgWidthMax),
|
|
580
587
|
"controls-position": "right",
|
|
581
588
|
onInput: _cache[3] || (_cache[3] = $event => paramsChanged('imgWidth'))
|
|
582
|
-
}, null, 8
|
|
583
|
-
/*
|
|
584
|
-
, ["modelValue", "max"])]),
|
|
585
|
-
_: 1
|
|
586
|
-
/* STABLE */
|
|
587
|
-
|
|
589
|
+
}, null, 8 /* PROPS */, ["modelValue", "max"])]),
|
|
590
|
+
_: 1 /* STABLE */
|
|
588
591
|
})]),
|
|
589
|
-
_: 1
|
|
590
|
-
/* STABLE */
|
|
591
|
-
|
|
592
|
+
_: 1 /* STABLE */
|
|
592
593
|
})]),
|
|
593
|
-
_: 1
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
}, 8
|
|
597
|
-
/* PROPS */
|
|
598
|
-
, ["label"])]),
|
|
599
|
-
_: 1
|
|
600
|
-
/* STABLE */
|
|
601
|
-
|
|
594
|
+
_: 1 /* STABLE */
|
|
595
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
596
|
+
_: 1 /* STABLE */
|
|
602
597
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
603
598
|
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_form_item, {
|
|
604
599
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).imgHeight + '(px)'
|
|
@@ -619,26 +614,14 @@ const __default__ = {
|
|
|
619
614
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(imgHeightMax),
|
|
620
615
|
"controls-position": "right",
|
|
621
616
|
onInput: _cache[5] || (_cache[5] = $event => paramsChanged('imgHeight'))
|
|
622
|
-
}, null, 8
|
|
623
|
-
/*
|
|
624
|
-
, ["modelValue", "max"])]),
|
|
625
|
-
_: 1
|
|
626
|
-
/* STABLE */
|
|
627
|
-
|
|
617
|
+
}, null, 8 /* PROPS */, ["modelValue", "max"])]),
|
|
618
|
+
_: 1 /* STABLE */
|
|
628
619
|
})]),
|
|
629
|
-
_: 1
|
|
630
|
-
/* STABLE */
|
|
631
|
-
|
|
620
|
+
_: 1 /* STABLE */
|
|
632
621
|
})]),
|
|
633
|
-
_: 1
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
}, 8
|
|
637
|
-
/* PROPS */
|
|
638
|
-
, ["label"])]),
|
|
639
|
-
_: 1
|
|
640
|
-
/* STABLE */
|
|
641
|
-
|
|
622
|
+
_: 1 /* STABLE */
|
|
623
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
624
|
+
_: 1 /* STABLE */
|
|
642
625
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
643
626
|
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_form_item, {
|
|
644
627
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).imgFormat
|
|
@@ -669,48 +652,25 @@ const __default__ = {
|
|
|
669
652
|
label: "JPEG",
|
|
670
653
|
value: "jpeg"
|
|
671
654
|
})]),
|
|
672
|
-
_: 1
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
}, 8
|
|
676
|
-
/* PROPS */
|
|
677
|
-
, ["modelValue"])]),
|
|
678
|
-
_: 1
|
|
679
|
-
/* STABLE */
|
|
680
|
-
|
|
655
|
+
_: 1 /* STABLE */
|
|
656
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
657
|
+
_: 1 /* STABLE */
|
|
681
658
|
})]),
|
|
682
|
-
_: 1
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
}, 8
|
|
686
|
-
/* PROPS */
|
|
687
|
-
, ["label"])]),
|
|
688
|
-
_: 1
|
|
689
|
-
/* STABLE */
|
|
690
|
-
|
|
659
|
+
_: 1 /* STABLE */
|
|
660
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
661
|
+
_: 1 /* STABLE */
|
|
691
662
|
})]),
|
|
692
|
-
_: 1
|
|
693
|
-
/* STABLE */
|
|
694
|
-
|
|
663
|
+
_: 1 /* STABLE */
|
|
695
664
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
696
665
|
onClick: _cache[8] || (_cache[8] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => sceneFigure(), ["stop"])),
|
|
697
666
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).screenshotTips,
|
|
698
667
|
type: "primary"
|
|
699
668
|
}, {
|
|
700
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).screenshotTips), 1
|
|
701
|
-
/*
|
|
702
|
-
|
|
703
|
-
_: 1
|
|
704
|
-
/* STABLE */
|
|
705
|
-
|
|
706
|
-
}, 8
|
|
707
|
-
/* PROPS */
|
|
708
|
-
, ["title"])])])], 2
|
|
709
|
-
/* CLASS */
|
|
710
|
-
);
|
|
669
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).screenshotTips), 1 /* TEXT */)]),
|
|
670
|
+
_: 1 /* STABLE */
|
|
671
|
+
}, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
|
|
711
672
|
};
|
|
712
673
|
}
|
|
713
|
-
|
|
714
674
|
}));
|
|
715
675
|
;// CONCATENATED MODULE: ./src/webgl/screenshot/Screenshot.vue?vue&type=script&setup=true&lang=js
|
|
716
676
|
|
|
@@ -722,10 +682,13 @@ const __exports__ = Screenshotvue_type_script_setup_true_lang_js;
|
|
|
722
682
|
|
|
723
683
|
/* harmony default export */ var Screenshot = (__exports__);
|
|
724
684
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
725
|
-
var init_js_ = __webpack_require__(
|
|
685
|
+
var init_js_ = __webpack_require__(455);
|
|
726
686
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
727
687
|
;// CONCATENATED MODULE: ./src/webgl/screenshot/index.js
|
|
728
|
-
|
|
688
|
+
/*
|
|
689
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
690
|
+
* All rights reserved.
|
|
691
|
+
*/
|
|
729
692
|
|
|
730
693
|
|
|
731
694
|
|
|
@@ -734,8 +697,6 @@ Screenshot.install = (Vue, opts) => {
|
|
|
734
697
|
Vue.component(Screenshot.name, Screenshot);
|
|
735
698
|
};
|
|
736
699
|
|
|
737
|
-
|
|
738
|
-
}();
|
|
739
700
|
/******/ return __webpack_exports__;
|
|
740
701
|
/******/ })()
|
|
741
702
|
;
|